Searched refs:getGpu (Results 1 - 25 of 43) sorted by relevance

12

/external/skia/tests/
H A DPrimitiveProcessorTest.cpp125 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numDraws() == 0);
126 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numFailedDraws() == 0);
133 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numDraws() == 1);
134 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numFailedDraws() == 0);
140 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numDraws() == 0);
141 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numFailedDraws() == 1);
H A DResourceCacheTest.cpp210 GrGpu* gpu = context->getGpu();
385 TestResource* a = new TestResource(context->getGpu());
386 TestResource* b = new TestResource(context->getGpu());
387 TestResource* c = new TestResource(context->getGpu());
388 TestResource* d = new TestResource(context->getGpu());
446 TestResource::CreateScratch(context->getGpu(), SkBudgeted::kYes, TestResource::kB_SimulatedProperty);
448 TestResource* unique = new TestResource(context->getGpu());
451 TestResource* wrapped = TestResource::CreateWrapped(context->getGpu());
454 new TestResource(context->getGpu(), SkBudgeted::kNo);
496 wrapped = TestResource::CreateWrapped(context->getGpu());
[all...]
H A DTransferPixelsTest.cpp107 result = context->getGpu()->transferPixels(tex.get(), 0, 0, kTextureWidth, kTextureHeight,
112 result = context->getGpu()->readPixels(tex.get(), 0, 0, kTextureWidth, kTextureHeight, config,
139 result = context->getGpu()->transferPixels(tex.get(), kLeft, kTop, kWidth, kHeight, config,
144 result = context->getGpu()->readPixels(tex.get(), 0, 0, kTextureWidth, kTextureHeight, config,
H A DEGLImageTest.cpp29 GrGLGpu* gpu1 = static_cast<GrGLGpu*>(grctx1->getGpu());
56 GrGLGpu* gpu0 = static_cast<GrGLGpu*>(context0->getGpu());
86 GrGpu* gpu1 = context1->getGpu();
H A DVkWrapTests.cpp32 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
94 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
126 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
H A DVkClearTests.cpp52 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
107 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
H A DSurfaceTest.cpp592 GrBackendObject backendHandle = context->getGpu()->createTestingOnlyBackendTexture(
605 context->getGpu()->deleteTestingOnlyBackendTexture(backendHandle);
619 GrBackendObject backendHandle = context->getGpu()->createTestingOnlyBackendTexture(
631 context->getGpu()->deleteTestingOnlyBackendTexture(backendHandle);
709 context->getGpu()->deleteTestingOnlyBackendTexture(textureObject);
757 GrGpu* gpu = ctxInfo.grContext()->getGpu();
780 GrGpu* gpu = ctxInfo.grContext()->getGpu();
895 GrBackendObject backendHandle = context->getGpu()->createTestingOnlyBackendTexture(
920 context->getGpu()->deleteTestingOnlyBackendTexture(textureHandle);
H A DVkHeapTests.cpp22 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
119 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
179 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu());
/external/skia/src/gpu/gl/
H A DGrGLStencilAttachment.cpp23 GrGLGpu* gpuGL = (GrGLGpu*) this->getGpu();
H A DGrGLPathRange.cpp54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu());
95 SkASSERT(this->getGpu());
98 static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID,
H A DGrGLTextureRenderTarget.cpp70 return !this->getGpu()->getContext()->caps()->avoidStencilBuffers();
H A DGrGLRenderTarget.cpp17 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
171 return static_cast<GrGLGpu*>(this->getGpu());
175 if (this->getGpu()->getContext()->caps()->avoidStencilBuffers()) {
/external/skia/src/gpu/vk/
H A DGrVkTransferBuffer.h50 return reinterpret_cast<GrVkGpu*>(this->getGpu());
H A DGrVkIndexBuffer.cpp73 return static_cast<GrVkGpu*>(this->getGpu());
H A DGrVkTexelBuffer.cpp72 return static_cast<GrVkGpu*>(this->getGpu());
H A DGrVkVertexBuffer.cpp72 return static_cast<GrVkGpu*>(this->getGpu());
H A DGrVkStencilAttachment.cpp98 return static_cast<GrVkGpu*>(this->getGpu());
/external/skia/src/gpu/
H A DGrDrawingManager.cpp81 fInstancingAllocator = fContext->getGpu()->createInstancedRenderingAllocator();
193 fContext->getGpu()->finishFlush();
222 if (fContext->getGpu() && surface->asRenderTarget()) {
223 fContext->getGpu()->resolveRenderTarget(surface->asRenderTarget());
243 fContext->getGpu(),
H A DGrTextureMaker.cpp32 if (!fContext->getGpu()->isACopyNeededForTextureParams(original.get(), params, &copyParams,
37 if (!fContext->getGpu()->isACopyNeededForTextureParams(this->width(), this->height(),
H A DGrRenderTarget.cpp95 GrGpu* gpu = fRenderTarget->getGpu();
H A DGrDrawingManager.h89 , fFlushState(context->getGpu(), context->resourceProvider())
/external/skia/bench/
H A DGrResourceCacheBench.cpp85 GrGpu* gpu = context->getGpu();
131 GrGpu* gpu = fContext->getGpu();
/external/skia/gm/
H A Dimagefromyuvtextures.cpp97 GrGpu* gpu = context->getGpu();
114 GrGpu* gpu = context->getGpu();
/external/skia/include/gpu/
H A DGrContext.h252 GrGpu* getGpu() { return fGpu; } function in class:GrContext
253 const GrGpu* getGpu() const { return fGpu; } function in class:GrContext
H A DGrGpuResource.h266 GrGpu* getGpu() const { return fGpu; } function in class:GrGpuResource
313 friend class GrGpu; // for assert in GrGpu to access getGpu

Completed in 378 milliseconds

12