Home
last modified time | relevance | path

Searched refs:purgeUnlockedResources (Results 1 – 16 of 16) sorted by relevance

/external/skia/tests/
DResourceCacheTest.cpp334 cache->purgeUnlockedResources(); in Mock()
367 cache->purgeUnlockedResources(); in test_no_key()
436 cache->purgeUnlockedResources(false); in test_purge_unlocked()
451 cache->purgeUnlockedResources(true); in test_purge_unlocked()
459 cache->purgeUnlockedResources(false); in test_purge_unlocked()
483 cache->purgeUnlockedResources(true); in test_purge_command_buffer_usage()
492 cache->purgeUnlockedResources(true); in test_purge_command_buffer_usage()
503 cache->purgeUnlockedResources(true); in test_purge_command_buffer_usage()
515 cache->purgeUnlockedResources(true); in test_purge_command_buffer_usage()
527 cache->purgeUnlockedResources(false); in test_purge_command_buffer_usage()
[all …]
DTextureProxyTest.cpp191 cache->purgeUnlockedResources(); in basic_test()
279 dContext->priv().getResourceCache()->purgeUnlockedResources(); in invalidation_test()
322 dContext->priv().getResourceCache()->purgeUnlockedResources(); in invalidation_and_instantiation_test()
355 cache->purgeUnlockedResources(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DPathRendererCacheTests.cpp127 cache->purgeUnlockedResources(); in test_path()
DGrThreadSafeCacheTest.cpp1198 dContext->purgeUnlockedResources(false); in test_10()
1219 dContext->purgeUnlockedResources(amountToPurge, true); in test_10()
1265 dContext->purgeUnlockedResources(/* scratchResourcesOnly */ true); in test_11()
1269 dContext->purgeUnlockedResources(/* scratchResourcesOnly */ false); in test_11()
1408 ctxInfo.directContext()->purgeUnlockedResources(/* scratchResourcesOnly */ false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1437 dContext->purgeUnlockedResources(/* scratchResourcesOnly */ true); in test_15()
DGrSurfaceTest.cpp284 dContext->priv().getResourceCache()->purgeUnlockedResources(); in DEF_GPUTEST()
314 dContext->priv().getResourceCache()->purgeUnlockedResources(); in DEF_GPUTEST()
/external/skia/src/gpu/
DGrResourceCache.h160 void purgeUnlockedResources(bool scratchResourcesOnly=false) {
161 this->purgeUnlockedResources(/*purgeTime=*/nullptr, scratchResourcesOnly);
169 this->purgeUnlockedResources(&purgeTime, scratchResourcesOnly);
189 void purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources);
280 void purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime,
DGrDirectContext.cpp196 fResourceCache->purgeUnlockedResources(); in freeGpuResources()
303 void GrDirectContext::purgeUnlockedResources(bool scratchResourcesOnly) { in purgeUnlockedResources() function in GrDirectContext
310 fResourceCache->purgeUnlockedResources(scratchResourcesOnly); in purgeUnlockedResources()
342 void GrDirectContext::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources() function in GrDirectContext
349 fResourceCache->purgeUnlockedResources(bytesToPurge, preferScratchResources); in purgeUnlockedResources()
DGrResourceCache.cpp567 void GrResourceCache::purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime, in purgeUnlockedResources() function in GrResourceCache
673 void GrResourceCache::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources() function in GrResourceCache
/external/skqp/src/gpu/
DGrResourceCache.h169 void purgeAllUnlocked() { this->purgeUnlockedResources(false); } in purgeAllUnlocked()
174 void purgeUnlockedResources(bool scratchResourcesOnly);
191 void purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources);
DGrContext.cpp228 void GrContext::purgeUnlockedResources(bool scratchResourcesOnly) { in purgeUnlockedResources() function in GrContext
230 fResourceCache->purgeUnlockedResources(scratchResourcesOnly); in purgeUnlockedResources()
250 void GrContext::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources() function in GrContext
252 fResourceCache->purgeUnlockedResources(bytesToPurge, preferScratchResources); in purgeUnlockedResources()
DGrResourceCache.cpp516 void GrResourceCache::purgeUnlockedResources(bool scratchResourcesOnly) { in purgeUnlockedResources() function in GrResourceCache
567 void GrResourceCache::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources() function in GrResourceCache
/external/skqp/include/gpu/
DGrContext.h191 void purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources);
206 void purgeUnlockedResources(bool scratchResourcesOnly);
/external/skia/bench/
DGrResourceCacheBench.cpp82 cache->purgeUnlockedResources(); in onDraw()
128 cache->purgeUnlockedResources(); in onDelayedSetup()
DImageCacheBudgetBench.cpp49 context->priv().getResourceCache()->purgeUnlockedResources(); in set_cache_budget()
58 context->priv().getResourceCache()->purgeUnlockedResources(); in set_cache_budget()
/external/skqp/tests/
DResourceCacheTest.cpp460 cache->purgeUnlockedResources(false); in test_purge_unlocked()
475 cache->purgeUnlockedResources(true); in test_purge_unlocked()
483 cache->purgeUnlockedResources(false); in test_purge_unlocked()
1349 context->purgeUnlockedResources(14, true); in test_partial_purge()
1355 context->purgeUnlockedResources(3, true); in test_partial_purge()
1361 context->purgeUnlockedResources(50, true); in test_partial_purge()
1367 context->purgeUnlockedResources(13, false); in test_partial_purge()
1373 context->purgeUnlockedResources(50, false); in test_partial_purge()
1379 context->purgeUnlockedResources(0, true); in test_partial_purge()
1380 context->purgeUnlockedResources(0, false); in test_partial_purge()
/external/skia/include/gpu/
DGrDirectContext.h284 void purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources);
299 void purgeUnlockedResources(bool scratchResourcesOnly);