Lines Matching refs:GrMockGpu

16 int GrMockGpu::NextInternalTextureID() {  in NextInternalTextureID()
25 int GrMockGpu::NextExternalTextureID() { in NextExternalTextureID()
32 int GrMockGpu::NextInternalRenderTargetID() { in NextInternalRenderTargetID()
39 int GrMockGpu::NextExternalRenderTargetID() { in NextExternalRenderTargetID()
46 sk_sp<GrGpu> GrMockGpu::Make(const GrMockOptions* mockOptions, in Make()
52 return sk_sp<GrGpu>(new GrMockGpu(context, *mockOptions, contextOptions)); in Make()
55 GrGpuRTCommandBuffer* GrMockGpu::getCommandBuffer( in getCommandBuffer()
62 GrGpuTextureCommandBuffer* GrMockGpu::getCommandBuffer(GrTexture* texture, GrSurfaceOrigin origin) { in getCommandBuffer()
66 void GrMockGpu::submit(GrGpuCommandBuffer* buffer) { in submit()
75 void GrMockGpu::submitCommandBuffer(const GrMockGpuRTCommandBuffer* cmdBuffer) { in submitCommandBuffer()
81 GrMockGpu::GrMockGpu(GrContext* context, const GrMockOptions& options, in GrMockGpu() function in GrMockGpu
88 sk_sp<GrTexture> GrMockGpu::onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in onCreateTexture()
109 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex, in onWrapBackendTexture()
126 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex, in onWrapRenderableBackendTexture()
151 sk_sp<GrRenderTarget> GrMockGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& rt) { in onWrapBackendRenderTarget()
165 sk_sp<GrRenderTarget> GrMockGpu::onWrapBackendTextureAsRenderTarget(const GrBackendTexture& tex, in onWrapBackendTextureAsRenderTarget()
186 sk_sp<GrBuffer> GrMockGpu::onCreateBuffer(size_t sizeInBytes, GrBufferType type, in onCreateBuffer()
191 GrStencilAttachment* GrMockGpu::createStencilAttachmentForRenderTarget(const GrRenderTarget* rt, in createStencilAttachmentForRenderTarget()
200 GrBackendTexture GrMockGpu::createTestingOnlyBackendTexture(const void* pixels, int w, int h, in createTestingOnlyBackendTexture()
217 bool GrMockGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const { in isTestingOnlyBackendTexture()
228 void GrMockGpu::deleteTestingOnlyBackendTexture(const GrBackendTexture& tex) { in deleteTestingOnlyBackendTexture()
237 GrBackendRenderTarget GrMockGpu::createTestingOnlyBackendRenderTarget(int w, int h, in createTestingOnlyBackendRenderTarget()
249 void GrMockGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget&) {} in deleteTestingOnlyBackendRenderTarget()