Searched refs:getResourceCache (Results 1 – 25 of 33) sorted by relevance
12
130 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()
28 GrResourceCache* cache = dContext->priv().getResourceCache(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
84 GrResourceCache* cache = dContext->priv().getResourceCache(); in test_path()
284 dContext->priv().getResourceCache()->purgeUnlockedResources(); in DEF_GPUTEST()314 dContext->priv().getResourceCache()->purgeUnlockedResources(); in DEF_GPUTEST()
333 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()
79 GrResourceCache* cache = context->contextPriv().getResourceCache(); in onDraw()125 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in onDelayedSetup()140 GrResourceCache* cache = fContext->contextPriv().getResourceCache(); in onDraw()
79 GrResourceCache* cache = context->priv().getResourceCache(); in onDraw()125 GrResourceCache* cache = fContext->priv().getResourceCache(); in onDelayedSetup()140 GrResourceCache* cache = fContext->priv().getResourceCache(); in onDraw()
49 context->priv().getResourceCache()->purgeUnlockedResources(); in set_cache_budget()58 context->priv().getResourceCache()->purgeUnlockedResources(); in set_cache_budget()
20 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()
69 GrResourceCache* cache = texture->getContext()->priv().getResourceCache(); in StealBackendTexture()
118 GrResourceCache* getResourceCache() { return fContext->fResourceCache.get(); } in getResourceCache() function
53 dContext->priv().getResourceCache()->insertDelayedTextureUnref(texture.get()); in Make()
131 auto resourceCache = dContext->priv().getResourceCache(); in flush()945 auto resourceCache = direct->priv().getResourceCache(); in flushIfNecessary()
64 GrResourceCache* resourceCache = direct->priv().getResourceCache(); in assignUniqueKeyToProxy()221 GrResourceCache* resourceCache = direct->priv().getResourceCache(); in findOrCreateProxyByUniqueKey()
387 return fDContext->priv().getResourceCache()->purgeToMakeHeadroom(additionalBytesNeeded); in makeBudgetHeadroom()
130 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()
512 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()
80 GrResourceCache* cache = ctx->contextPriv().getResourceCache(); in test_path()
131 GrResourceCache* resourceCache = ctxInfo.grContext()->getResourceCache();
20 SkASSERT(gpu->getContext()->contextPriv().getResourceCache()); in get_resource_cache()21 return gpu->getContext()->contextPriv().getResourceCache(); in get_resource_cache()
60 GrResourceCache* cache = texture->getContext()->contextPriv().getResourceCache(); in StealBackendTexture()
201 GrResourceCache* getResourceCache() { return fContext->fResourceCache; } in getResourceCache() function
43 context->contextPriv().getResourceCache()->insertCrossContextGpuResource(texture.get()); in Make()
341 fContext->contextPriv().getResourceCache()->purgeAsNeeded(); in flush()694 GrResourceCache* resourceCache = fContext->contextPriv().getResourceCache(); in flushIfNecessary()
314 dContext->priv().getResourceCache()->insertDelayedTextureUnref(fTexture); in MakePromiseImageLazyProxy()