Lines Matching defs:const
30 static sk_sp<GrGpu> Make(const GrD3DBackendContext& backendContext, const GrContextOptions&,
35 const GrD3DCaps& d3dCaps() const { return static_cast<const GrD3DCaps&>(*this->caps()); }
42 ID3D12Device* device() const { return fDevice.get(); }
43 ID3D12CommandQueue* queue() const { return fQueue.get(); }
45 GrD3DMemoryAllocator* memoryAllocator() const { return fMemoryAllocator.get(); }
47 GrD3DDirectCommandList* currentCommandList() const { return fCurrentDirectCommandList.get(); }
54 bool protectedContext() const { return false; }
58 void deleteBackendTexture(const GrBackendTexture&) override;
60 bool compile(const GrProgramDesc&, const GrProgramInfo&) override;
63 bool isTestingOnlyBackendTexture(const GrBackendTexture&) const override;
69 void deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget&) override;
74 void resetShaderCacheForTesting() const override {
79 sk_sp<GrAttachment> makeStencilAttachment(const GrBackendFormat& /*colorFormat*/,
82 GrBackendFormat getPreferredStencilFormat(const GrBackendFormat&) override {
87 const GrBackendFormat& format,
96 D3D12_RESOURCE_TRANSITION_BARRIER* barriers) const;
100 D3D12_RESOURCE_TRANSITION_BARRIER* barriers) const;
104 void deleteFence(GrFence) const override {}
107 std::unique_ptr<GrSemaphore> wrapBackendSemaphore(const GrBackendSemaphore&,
118 const SkIRect& bounds);
129 GrD3DGpu(GrDirectContext*, const GrContextOptions&, const GrD3DBackendContext&,
135 const GrBackendFormat&,
144 const GrBackendFormat&,
148 const void* data, size_t dataSize) override;
151 const GrBackendFormat&,
158 sk_sp<GrTexture> onWrapBackendTexture(const GrBackendTexture&,
162 sk_sp<GrTexture> onWrapCompressedBackendTexture(const GrBackendTexture&,
166 sk_sp<GrTexture> onWrapRenderableBackendTexture(const GrBackendTexture&,
171 sk_sp<GrRenderTarget> onWrapBackendRenderTarget(const GrBackendRenderTarget&) override;
174 const void*) override;
187 const GrMipLevel[],
206 bool onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
207 const SkIPoint& dstPoint) override;
211 void onResolveRenderTarget(GrRenderTarget* target, const SkIRect&) override;
221 const SkIRect&,
222 const GrOpsRenderPass::LoadAndStoreInfo&,
223 const GrOpsRenderPass::StencilLoadAndStoreInfo&,
224 const SkTArray<GrSurfaceProxy*, true>& sampledProxies,
230 const GrBackendSurfaceMutableState* newState) override;
235 const GrBackendFormat&,
240 bool onClearBackendTexture(const GrBackendTexture&,
245 const GrBackendFormat&,
249 bool onUpdateCompressedBackendTexture(const GrBackendTexture&,
251 const void* data,
260 GrD3DTextureResource* srcResource, const SkIRect& srcRect,
261 const SkIPoint& dstPoint);
263 void copySurfaceAsResolve(GrSurface* dst, GrSurface* src, const SkIRect& srcRect,
264 const SkIPoint& dstPoint);
266 GrD3DRenderTarget* src, const SkIRect& srcRect);
280 const GrMipLevel texels[],
286 const D3D12_PLACED_SUBRESOURCE_FOOTPRINT& placedFootprint);