Home
last modified time | relevance | path

Searched refs:getResourceCache (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/tests/
DTextureProxyTest.cpp130 GrResourceCache* cache = dContext->priv().getResourceCache(); in basic_test()
224 GrResourceCache* cache = dContext->priv().getResourceCache(); in invalidation_test()
279 dContext->priv().getResourceCache()->purgeUnlockedResources(); in invalidation_test()
291 GrResourceCache* cache = dContext->priv().getResourceCache(); in invalidation_and_instantiation_test()
322 dContext->priv().getResourceCache()->purgeUnlockedResources(); in invalidation_and_instantiation_test()
331 GrResourceCache* cache = direct->priv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DRepeatedClippedBlurTest.cpp28 GrResourceCache* cache = dContext->priv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DPathRendererCacheTests.cpp84 GrResourceCache* cache = dContext->priv().getResourceCache(); in test_path()
DGrSurfaceTest.cpp284 dContext->priv().getResourceCache()->purgeUnlockedResources(); in DEF_GPUTEST()
314 dContext->priv().getResourceCache()->purgeUnlockedResources(); in DEF_GPUTEST()
DResourceCacheTest.cpp333 GrResourceCache* cache = fDContext->priv().getResourceCache(); in Mock()
338 GrResourceCache* cache() { return fDContext->priv().getResourceCache(); } in cache()
1454 dContext->priv().getResourceCache()->purgeUnlockedResources(); in test_partial_purge()
1641 GrResourceCache* cache = dContext->priv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1772 auto resourceCache = dContext->priv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/bench/
DGrResourceCacheBench.cpp79 GrResourceCache* cache = context->contextPriv().getResourceCache(); in onDraw()
125 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in onDelayedSetup()
140 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in onDraw()
/external/skia/bench/
DGrResourceCacheBench.cpp79 GrResourceCache* cache = context->priv().getResourceCache(); in onDraw()
125 GrResourceCache* cache = fContext->priv().getResourceCache(); in onDelayedSetup()
140 GrResourceCache* cache = fContext->priv().getResourceCache(); in onDraw()
DImageCacheBudgetBench.cpp49 context->priv().getResourceCache()->purgeUnlockedResources(); in set_cache_budget()
58 context->priv().getResourceCache()->purgeUnlockedResources(); in set_cache_budget()
/external/skia/src/gpu/
DGrGpuResource.cpp20 SkASSERT(gpu->getContext()->priv().getResourceCache()); in get_resource_cache()
21 return gpu->getContext()->priv().getResourceCache(); in get_resource_cache()
217 SkASSERT(cache == fResource->getContext()->priv().getResourceCache()); in ref()
DGrTexture.cpp69 GrResourceCache* cache = texture->getContext()->priv().getResourceCache(); in StealBackendTexture()
DGrDirectContextPriv.h118 GrResourceCache* getResourceCache() { return fContext->fResourceCache.get(); } in getResourceCache() function
DGrBackendTextureImageGenerator.cpp53 dContext->priv().getResourceCache()->insertDelayedTextureUnref(texture.get()); in Make()
DGrDrawingManager.cpp131 auto resourceCache = dContext->priv().getResourceCache(); in flush()
945 auto resourceCache = direct->priv().getResourceCache(); in flushIfNecessary()
DGrProxyProvider.cpp64 GrResourceCache* resourceCache = direct->priv().getResourceCache(); in assignUniqueKeyToProxy()
221 GrResourceCache* resourceCache = direct->priv().getResourceCache(); in findOrCreateProxyByUniqueKey()
DGrResourceAllocator.cpp387 return fDContext->priv().getResourceCache()->purgeToMakeHeadroom(additionalBytesNeeded); in makeBudgetHeadroom()
/external/skqp/tests/
DTextureProxyTest.cpp130 GrResourceCache* cache = context->contextPriv().getResourceCache(); in basic_test()
223 GrResourceCache* cache = context->contextPriv().getResourceCache(); in invalidation_test()
265 GrResourceCache* cache = context->contextPriv().getResourceCache(); in invalidation_and_instantiation_test()
305 GrResourceCache* cache = context->contextPriv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DPromiseImageTest.cpp512 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
566 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
589 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
618 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
657 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
664 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
759 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
775 ctx->contextPriv().getResourceCache()->purgeAsNeeded(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DPathRendererCacheTests.cpp80 GrResourceCache* cache = ctx->contextPriv().getResourceCache(); in test_path()
DGpuLayerCacheTest.cpp131 GrResourceCache* resourceCache = ctxInfo.grContext()->getResourceCache();
/external/skqp/src/gpu/
DGrGpuResource.cpp20 SkASSERT(gpu->getContext()->contextPriv().getResourceCache()); in get_resource_cache()
21 return gpu->getContext()->contextPriv().getResourceCache(); in get_resource_cache()
DGrTexture.cpp60 GrResourceCache* cache = texture->getContext()->contextPriv().getResourceCache(); in StealBackendTexture()
DGrContextPriv.h201 GrResourceCache* getResourceCache() { return fContext->fResourceCache; } in getResourceCache() function
DGrBackendTextureImageGenerator.cpp43 context->contextPriv().getResourceCache()->insertCrossContextGpuResource(texture.get()); in Make()
DGrDrawingManager.cpp341 fContext->contextPriv().getResourceCache()->purgeAsNeeded(); in flush()
694 GrResourceCache* resourceCache = fContext->contextPriv().getResourceCache(); in flushIfNecessary()
/external/skia/src/image/
DSkImage_GpuBase.cpp314 dContext->priv().getResourceCache()->insertDelayedTextureUnref(fTexture); in MakePromiseImageLazyProxy()

12