Home
last modified time | relevance | path

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

12

/external/skia/tests/
DPrimitiveProcessorTest.cpp125 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()
DResourceCacheTest.cpp210 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 …]
DTransferPixelsTest.cpp107 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()
DEGLImageTest.cpp29 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()
DVkWrapTests.cpp32 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()
DSurfaceTest.cpp592 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()
DVkClearTests.cpp52 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in basic_clear_test()
107 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in sub_clear_test()
DVkHeapTests.cpp22 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()
DWritePixelsTest.cpp439 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()
DGrSurfaceTest.cpp49 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/
DGrGLPathRange.cpp54 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()
DGrGLRenderTarget.cpp17 #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()
DGrGLStencilAttachment.cpp23 GrGLGpu* gpuGL = (GrGLGpu*) this->getGpu(); in onRelease()
DGrGLTextureRenderTarget.cpp70 return !this->getGpu()->getContext()->caps()->avoidStencilBuffers(); in canAttemptStencilAttachment()
/external/skia/src/gpu/
DGrDrawingManager.cpp81 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()
DGrTextureMaker.cpp32 if (!fContext->getGpu()->isACopyNeededForTextureParams(original.get(), params, &copyParams, in refTextureProxyForParams()
37 if (!fContext->getGpu()->isACopyNeededForTextureParams(this->width(), this->height(), in refTextureProxyForParams()
DGrRenderTarget.cpp95 GrGpu* gpu = fRenderTarget->getGpu(); in getMultisampleSpecs()
/external/skia/bench/
DGrResourceCacheBench.cpp85 GrGpu* gpu = context->getGpu(); in onDraw()
131 GrGpu* gpu = fContext->getGpu(); in onDelayedSetup()
/external/skia/gm/
Dimagefromyuvtextures.cpp97 GrGpu* gpu = context->getGpu(); in createYUVTextures()
114 GrGpu* gpu = context->getGpu(); in deleteYUVTextures()
/external/skia/include/gpu/
DGrContext.h252 GrGpu* getGpu() { return fGpu; } in getGpu() function
253 const GrGpu* getGpu() const { return fGpu; } in getGpu() function
/external/skia/src/gpu/vk/
DGrVkTransferBuffer.h50 return reinterpret_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkIndexBuffer.cpp73 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkTexelBuffer.cpp72 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkVertexBuffer.cpp72 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkStencilAttachment.cpp98 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()

12