Home
last modified time | relevance | path

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

123456

/external/skia/tests/
DSkSLDSLTest.cpp89 Start(ctxInfo.directContext()->priv().getGpu()->shaderCompiler()); in StartDSL()
93 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
140 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu(), kOptimize_Flag); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
148 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu(), kNo_Flag); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
154 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu(), kMangle_Flag); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
161 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
221 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
273 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
310 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
347 AutoDSLContext context(ctxInfo.directContext()->priv().getGpu()); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
[all …]
DTraceMemoryDumpTest.cpp81 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
91 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
108 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
128 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
147 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
167 GrGLGpu* gpu = static_cast<GrGLGpu*>(dContext->priv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkWrapTests.cpp35 GrGpu* gpu = dContext->priv().getGpu(); in wrap_tex_test()
96 GrGpu* gpu = dContext->priv().getGpu(); in wrap_rt_test()
141 GrGpu* gpu = dContext->priv().getGpu(); in wrap_trt_test()
DSurfaceSemaphoreTest.cpp139 GrVkGpu* gpu = static_cast<GrVkGpu*>(mainCtx->priv().getGpu()); in surface_semaphore_test()
257 GrGLGpu* gpu = static_cast<GrGLGpu*>(ctx->priv().getGpu()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
269 GrVkGpu* gpu = static_cast<GrVkGpu*>(ctx->priv().getGpu()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DTraceMemoryDumpTest.cpp76 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
86 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
112 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
138 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
160 GrGLGpu* gpu = static_cast<GrGLGpu*>(context->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGrSurfaceTest.cpp28 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
279 auto backendTex = context->contextPriv().getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
303 auto gpuWriteResult = context->contextPriv().getGpu()->writePixels( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
317 auto gpuCopyResult = context->contextPriv().getGpu()->copySurface( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
324 backendTex = context->contextPriv().getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
332 context->contextPriv().getGpu()->regenerateMipMapLevels(proxy->peekTexture()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
352 if (auto gpu = releaseContext->fContext->contextPriv().getGpu()) { in DEF_GPUTEST()
364 auto backendTexture = context->contextPriv().getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST()
373 auto backendTexture = context->contextPriv().getGpu()->createTestingOnlyBackendTexture( in DEF_GPUTEST()
483 context->contextPriv().getGpu()->testingOnly_flushGpuAndSync(); in DEF_GPUTEST()
[all …]
DEGLImageTest.cpp33 GrGLGpu* gpu1 = static_cast<GrGLGpu*>(grctx1->contextPriv().getGpu()); in cleanup()
58 GrGLGpu* gpu0 = static_cast<GrGLGpu*>(context0->contextPriv().getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
88 GrGpu* gpu1 = context1->contextPriv().getGpu(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkWrapTests.cpp37 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->contextPriv().getGpu()); in wrap_tex_test()
90 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->contextPriv().getGpu()); in wrap_rt_test()
132 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->contextPriv().getGpu()); in wrap_trt_test()
DResourceCacheTest.cpp201 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
376 GrGpu* gpu = context->contextPriv().getGpu(); in test_no_key()
430 GrGpu* gpu = context->contextPriv().getGpu(); in test_purge_unlocked()
494 GrGpu* gpu = context->contextPriv().getGpu(); in test_budgeting()
621 GrGpu* gpu = context->contextPriv().getGpu(); in test_unbudgeted()
694 GrGpu* gpu = context->contextPriv().getGpu(); in test_unbudgeted_to_scratch()
761 GrGpu* gpu = context->contextPriv().getGpu(); in test_duplicate_scratch_key()
807 GrGpu* gpu = context->contextPriv().getGpu(); in test_remove_scratch_key()
867 GrGpu* gpu = context->contextPriv().getGpu(); in test_scratch_key_consistency()
927 GrGpu* gpu = context->contextPriv().getGpu(); in test_duplicate_unique_key()
[all …]
DGrMipMappedTest.cpp37 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
106 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
230 GrGpu* gpu = context->contextPriv().getGpu(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceSemaphoreTest.cpp130 GrVkGpu* gpu = static_cast<GrVkGpu*>(mainCtx->contextPriv().getGpu()); in surface_semaphore_test()
234 GrGLGpu* gpu = static_cast<GrGLGpu*>(ctx->contextPriv().getGpu()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
245 GrVkGpu* gpu = static_cast<GrVkGpu*>(ctx->contextPriv().getGpu()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/gl/
DGrGLRenderTarget.cpp18 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
186 const GrCaps& caps = *this->getGpu()->caps(); in ensureDynamicMSAAAttachment()
251 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
256 SkASSERT(!this->getGpu()->getContext()->priv().caps()->avoidStencilBuffers()); in canAttemptStencilAttachment()
DGrGLAttachment.cpp15 GrGLGpu* gpuGL = (GrGLGpu*)this->getGpu(); in onRelease()
/external/skqp/tools/gpu/
DProxyUtils.cpp28 auto backendTex = context->contextPriv().getGpu()->createTestingOnlyBackendTexture( in MakeTextureProxyFromData()
43 context->contextPriv().getGpu()->deleteTestingOnlyBackendTexture(backendTex); in MakeTextureProxyFromData()
/external/skqp/gm/
Dimagefromyuvtextures.cpp101 GrGpu* gpu = context->contextPriv().getGpu(); in createYUVTextures()
123 GrGpu* gpu = context->contextPriv().getGpu(); in createResultTexture()
139 GrGpu* gpu = context->contextPriv().getGpu(); in deleteBackendTextures()
/external/skqp/src/gpu/gl/
DGrGLRenderTarget.cpp17 #define GPUGL static_cast<GrGLGpu*>(this->getGpu())
194 return static_cast<GrGLGpu*>(this->getGpu()); in getGLGpu()
198 if (this->getGpu()->getContext()->contextPriv().caps()->avoidStencilBuffers()) { in canAttemptStencilAttachment()
DGrGLSemaphore.cpp20 static_cast<const GrGLGpu*>(this->getGpu())->deleteSync(fSync); in onRelease()
/external/skia/tools/gpu/
DBackendSurfaceFactory.cpp78 auto bert = dContext->priv().getGpu()->createTestingOnlyBackendRenderTarget( in MakeBackendRenderTargetSurface()
85 if (auto gpu = rc->fContext->priv().getGpu(); gpu && rc->fRenderTarget.isValid()) { in MakeBackendRenderTargetSurface()
/external/skia/src/gpu/
DGrTexture.cpp89 if (!this->getGpu()->caps()->isFormatCompressed(this->backendFormat())) { in computeScratchKey()
97 ComputeScratchKey(*this->getGpu()->caps(), this->backendFormat(), this->dimensions(), in computeScratchKey()
DGrDirectContextPriv.h120 GrGpu* getGpu() { return fContext->fGpu.get(); } in getGpu() function
121 const GrGpu* getGpu() const { return fContext->fGpu.get(); } in getGpu() function
/external/skia/src/gpu/mock/
DGrMockOpTarget.h21 fStaticVertexBuffer = fMockContext->priv().getGpu()->createBuffer( in GrMockOpTarget()
23 fStaticIndirectBuffer = fMockContext->priv().getGpu()->createBuffer( in GrMockOpTarget()
/external/skqp/tools/
DDDLPromiseImageHelper.cpp26 GrGpu* gpu = fContext->contextPriv().getGpu(); in ~PromiseImageCallbackContext()
35 GrGpu* gpu = fContext->contextPriv().getGpu(); in setBackendTexture()
110 GrGpu* gpu = context->contextPriv().getGpu(); in uploadAllToGPU()
154 GrGpu* gpu = context->contextPriv().getGpu(); in replaceEveryOtherPromiseTexture()
/external/skqp/bench/
DGrResourceCacheBench.cpp85 GrGpu* gpu = context->contextPriv().getGpu(); in onDraw()
131 GrGpu* gpu = fContext->contextPriv().getGpu(); in onDelayedSetup()
/external/skia/bench/
DGrResourceCacheBench.cpp85 GrGpu* gpu = context->priv().getGpu(); in onDraw()
131 GrGpu* gpu = fContext->priv().getGpu(); in onDelayedSetup()
/external/skqp/src/gpu/mock/
DGrMockBuffer.h25 if (GrCaps::kNone_MapFlags != this->getGpu()->caps()->mapBufferFlags()) { in onMap()

123456