Lines Matching defs:GrMockGpu
8 #include "src/gpu/mock/GrMockGpu.h"
19 int GrMockGpu::NextInternalTextureID() {
28 int GrMockGpu::NextExternalTextureID() {
35 int GrMockGpu::NextInternalRenderTargetID() {
42 int GrMockGpu::NextExternalRenderTargetID() {
49 sk_sp<GrGpu> GrMockGpu::Make(const GrMockOptions* mockOptions,
55 return sk_sp<GrGpu>(new GrMockGpu(direct, *mockOptions, contextOptions));
58 GrOpsRenderPass* GrMockGpu::onGetOpsRenderPass(GrRenderTarget* rt,
70 void GrMockGpu::submit(GrOpsRenderPass* renderPass) {
77 GrMockGpu::GrMockGpu(GrDirectContext* direct, const GrMockOptions& options,
84 GrMockGpu::~GrMockGpu() {}
86 GrThreadSafePipelineBuilder* GrMockGpu::pipelineBuilder() {
90 sk_sp<GrThreadSafePipelineBuilder> GrMockGpu::refPipelineBuilder() {
94 sk_sp<GrTexture> GrMockGpu::onCreateTexture(SkISize dimensions,
126 sk_sp<GrTexture> GrMockGpu::onCreateCompressedTexture(SkISize dimensions,
153 sk_sp<GrTexture> GrMockGpu::onCreateCompressedTexture(SkISize dimensions,
164 sk_sp<GrTexture> GrMockGpu::onWrapBackendTexture(const GrBackendTexture& tex,
183 sk_sp<GrTexture> GrMockGpu::onWrapCompressedBackendTexture(const GrBackendTexture& tex,
189 sk_sp<GrTexture> GrMockGpu::onWrapRenderableBackendTexture(const GrBackendTexture& tex,
209 sk_sp<GrRenderTarget> GrMockGpu::onWrapBackendRenderTarget(const GrBackendRenderTarget& rt) {
219 sk_sp<GrGpuBuffer> GrMockGpu::onCreateBuffer(size_t sizeInBytes, GrGpuBufferType type,
224 sk_sp<GrAttachment> GrMockGpu::makeStencilAttachment(const GrBackendFormat& /*colorFormat*/,
232 GrBackendTexture GrMockGpu::onCreateBackendTexture(SkISize dimensions,
253 GrBackendTexture GrMockGpu::onCreateCompressedBackendTexture(
271 void GrMockGpu::deleteBackendTexture(const GrBackendTexture& tex) {
281 bool GrMockGpu::isTestingOnlyBackendTexture(const GrBackendTexture& tex) const {
292 GrBackendRenderTarget GrMockGpu::createTestingOnlyBackendRenderTarget(SkISize dimensions,
302 void GrMockGpu::deleteTestingOnlyBackendRenderTarget(const GrBackendRenderTarget&) {}