Home
last modified time | relevance | path

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

12

/external/skia/tests/
DResourceCacheTest.cpp191 GrGpu* gpu = context->getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
359 TestResource* a = new TestResource(context->getGpu()); in test_no_key()
360 TestResource* b = new TestResource(context->getGpu()); in test_no_key()
361 TestResource* c = new TestResource(context->getGpu()); in test_no_key()
362 TestResource* d = new TestResource(context->getGpu()); in test_no_key()
419 TestResource::CreateScratch(context->getGpu(), TestResource::kB_SimulatedProperty); in test_budgeting()
421 TestResource* unique = new TestResource(context->getGpu()); in test_budgeting()
424 TestResource* wrapped = new TestResource(context->getGpu(), GrGpuResource::kBorrowed_LifeCycle); in test_budgeting()
427 new TestResource(context->getGpu(), GrGpuResource::kUncached_LifeCycle); in test_budgeting()
462 wrapped = new TestResource(context->getGpu(), GrGpuResource::kBorrowed_LifeCycle); in test_budgeting()
[all …]
DGrSurfaceTest.cpp46 GrBackendObject backendTex = context->getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_NULL_CONTEXT()
70 context->getGpu()->deleteTestingOnlyBackendTexture(backendTex); in DEF_GPUTEST_FOR_NULL_CONTEXT()
DEGLImageTest.cpp22 GrGLGpu* gpu1 = static_cast<GrGLGpu*>(grctx1->getGpu()); in cleanup()
89 GrGLGpu* gpu0 = static_cast<GrGLGpu*>(context0->getGpu()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
119 GrGpu* gpu1 = context1->getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DVkClearTests.cpp50 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in basic_clear_test()
104 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in sub_clear_test()
DSurfaceTest.cpp86 GrGpu* gpu = context->getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
430 GrBackendObject textureObject = context->getGpu()->createTestingOnlyBackendTexture(nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
448 context->getGpu()->deleteTestingOnlyBackendTexture(textureObject); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
896 context->getGpu()->createTestingOnlyBackendTexture(pixels.get(), kWidth, kHeight, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
908 context->getGpu()->deleteTestingOnlyBackendTexture(textureObject); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DVkUploadPixelsTests.cpp54 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in basic_texture_test()
/external/skia/src/gpu/gl/
DGrGLPathRange.cpp54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); in onInitPath()
103 SkASSERT(this->getGpu()); in onRelease()
106 static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID, in onRelease()
DGrGLRenderTarget.cpp15 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
148 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
DGrGLTransferBuffer.h40 return (GrGLGpu*)(this->getGpu()); in getGpuGL()
DGrGLVertexBuffer.h40 return (GrGLGpu*)(this->getGpu()); in getGpuGL()
DGrGLIndexBuffer.h40 return (GrGLGpu*)(this->getGpu()); in getGpuGL()
DGrGLStencilAttachment.cpp23 GrGLGpu* gpuGL = (GrGLGpu*) this->getGpu(); in onRelease()
DGrGLTexture.cpp12 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
/external/skia/bench/
DGrResourceCacheBench.cpp86 GrGpu* gpu = context->getGpu(); in onDraw()
132 GrGpu* gpu = fContext->getGpu(); in onDelayedSetup()
DGLBench.cpp20 GrGpu* gpu = context->getGpu(); in getGLContext()
/external/skia/gm/
Dimagefromyuvtextures.cpp97 GrGpu* gpu = context->getGpu(); in createYUVTextures()
114 GrGpu* gpu = context->getGpu(); in deleteYUVTextures()
/external/skia/include/gpu/
DGrContext.h316 GrGpu* getGpu() { return fGpu; } in getGpu() function
317 const GrGpu* getGpu() const { return fGpu; } in getGpu() function
DGrGpuResource.h271 GrGpu* getGpu() const { return fGpu; } in getGpu() function
/external/skia/src/gpu/vk/
DGrVkTransferBuffer.h48 return reinterpret_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkIndexBuffer.cpp74 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkVertexBuffer.cpp73 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkStencilAttachment.cpp104 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
DGrVkTexture.cpp122 return static_cast<GrVkGpu*>(this->getGpu()); in getVkGpu()
/external/skia/src/gpu/
DGrDrawingManager.h58 , fFlushState(context->getGpu(), context->resourceProvider()) in GrDrawingManager()
DGrDrawingManager.cpp127 GrDrawTarget* dt = new GrDrawTarget(rt, fContext->getGpu(), fContext->resourceProvider(), in newDrawTarget()

12