/external/skia/tests/ |
D | PrimitiveProcessorTest.cpp | 125 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numDraws() == 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 126 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numFailedDraws() == 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 133 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numDraws() == 1); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 134 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numFailedDraws() == 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 140 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numDraws() == 0); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 141 REPORTER_ASSERT(reporter, context->getGpu()->stats()->numFailedDraws() == 1); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | ResourceCacheTest.cpp | 210 GrGpu* gpu = context->getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 385 TestResource* a = new TestResource(context->getGpu()); in test_no_key() 386 TestResource* b = new TestResource(context->getGpu()); in test_no_key() 387 TestResource* c = new TestResource(context->getGpu()); in test_no_key() 388 TestResource* d = new TestResource(context->getGpu()); in test_no_key() 446 …TestResource::CreateScratch(context->getGpu(), SkBudgeted::kYes, TestResource::kB_SimulatedPropert… in test_budgeting() 448 TestResource* unique = new TestResource(context->getGpu()); in test_budgeting() 451 TestResource* wrapped = TestResource::CreateWrapped(context->getGpu()); in test_budgeting() 454 new TestResource(context->getGpu(), SkBudgeted::kNo); in test_budgeting() 496 wrapped = TestResource::CreateWrapped(context->getGpu()); in test_budgeting() [all …]
|
D | TransferPixelsTest.cpp | 107 result = context->getGpu()->transferPixels(tex.get(), 0, 0, kTextureWidth, kTextureHeight, in basic_transfer_test() 112 result = context->getGpu()->readPixels(tex.get(), 0, 0, kTextureWidth, kTextureHeight, config, in basic_transfer_test() 139 result = context->getGpu()->transferPixels(tex.get(), kLeft, kTop, kWidth, kHeight, config, in basic_transfer_test() 144 result = context->getGpu()->readPixels(tex.get(), 0, 0, kTextureWidth, kTextureHeight, config, in basic_transfer_test()
|
D | EGLImageTest.cpp | 29 GrGLGpu* gpu1 = static_cast<GrGLGpu*>(grctx1->getGpu()); in cleanup() 56 GrGLGpu* gpu0 = static_cast<GrGLGpu*>(context0->getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 86 GrGpu* gpu1 = context1->getGpu(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
D | VkWrapTests.cpp | 32 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in wrap_tex_test() 94 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in wrap_rt_test() 126 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in wrap_trt_test()
|
D | SurfaceTest.cpp | 592 GrBackendObject backendHandle = context->getGpu()->createTestingOnlyBackendTexture( in create_gpu_surface_backend_texture() 605 context->getGpu()->deleteTestingOnlyBackendTexture(backendHandle); in create_gpu_surface_backend_texture() 619 GrBackendObject backendHandle = context->getGpu()->createTestingOnlyBackendTexture( in create_gpu_surface_backend_texture_as_render_target() 631 context->getGpu()->deleteTestingOnlyBackendTexture(backendHandle); in create_gpu_surface_backend_texture_as_render_target() 709 context->getGpu()->deleteTestingOnlyBackendTexture(textureObject); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 757 GrGpu* gpu = ctxInfo.grContext()->getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 780 GrGpu* gpu = ctxInfo.grContext()->getGpu(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 895 GrBackendObject backendHandle = context->getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 920 context->getGpu()->deleteTestingOnlyBackendTexture(textureHandle); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | VkClearTests.cpp | 52 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in basic_clear_test() 107 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in sub_clear_test()
|
D | VkHeapTests.cpp | 22 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in subheap_test() 119 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in suballoc_test() 179 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in singlealloc_test()
|
D | WritePixelsTest.cpp | 439 desc.fTextureHandle = context->getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 444 context->getGpu()->deleteTestingOnlyBackendTexture(desc.fTextureHandle); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 451 context->getGpu()->deleteTestingOnlyBackendTexture(desc.fTextureHandle); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrSurfaceTest.cpp | 49 GrBackendObject backendTexHandle = context->getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 70 context->getGpu()->deleteTestingOnlyBackendTexture(backendTexHandle); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
|
/external/skia/src/gpu/gl/ |
D | GrGLPathRange.cpp | 54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); in onInitPath() 95 SkASSERT(this->getGpu()); in onRelease() 98 static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID, in onRelease()
|
D | GrGLRenderTarget.cpp | 17 #define GPUGL static_cast<GrGLGpu*>(this->getGpu()) 171 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu() 175 if (this->getGpu()->getContext()->caps()->avoidStencilBuffers()) { in canAttemptStencilAttachment()
|
D | GrGLStencilAttachment.cpp | 23 GrGLGpu* gpuGL = (GrGLGpu*) this->getGpu(); in onRelease()
|
D | GrGLTextureRenderTarget.cpp | 70 return !this->getGpu()->getContext()->caps()->avoidStencilBuffers(); in canAttemptStencilAttachment()
|
/external/skia/src/gpu/ |
D | GrDrawingManager.cpp | 81 fInstancingAllocator = fContext->getGpu()->createInstancedRenderingAllocator(); in instancingAllocator() 193 fContext->getGpu()->finishFlush(); in internalFlush() 222 if (fContext->getGpu() && surface->asRenderTarget()) { in prepareSurfaceForExternalIO() 223 fContext->getGpu()->resolveRenderTarget(surface->asRenderTarget()); in prepareSurfaceForExternalIO() 243 fContext->getGpu(), in newRTOpList()
|
D | GrTextureMaker.cpp | 32 if (!fContext->getGpu()->isACopyNeededForTextureParams(original.get(), params, ©Params, in refTextureProxyForParams() 37 if (!fContext->getGpu()->isACopyNeededForTextureParams(this->width(), this->height(), in refTextureProxyForParams()
|
D | GrRenderTarget.cpp | 95 GrGpu* gpu = fRenderTarget->getGpu(); in getMultisampleSpecs()
|
/external/skia/bench/ |
D | GrResourceCacheBench.cpp | 85 GrGpu* gpu = context->getGpu(); in onDraw() 131 GrGpu* gpu = fContext->getGpu(); in onDelayedSetup()
|
/external/skia/gm/ |
D | imagefromyuvtextures.cpp | 97 GrGpu* gpu = context->getGpu(); in createYUVTextures() 114 GrGpu* gpu = context->getGpu(); in deleteYUVTextures()
|
/external/skia/include/gpu/ |
D | GrContext.h | 252 GrGpu* getGpu() { return fGpu; } in getGpu() function 253 const GrGpu* getGpu() const { return fGpu; } in getGpu() function
|
/external/skia/src/gpu/vk/ |
D | GrVkTransferBuffer.h | 50 return reinterpret_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
|
D | GrVkIndexBuffer.cpp | 73 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
|
D | GrVkTexelBuffer.cpp | 72 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
|
D | GrVkVertexBuffer.cpp | 72 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
|
D | GrVkStencilAttachment.cpp | 98 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
|