Home
last modified time | relevance | path

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

/third_party/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.cpp1206 dContext->purgeUnlockedResources(false); in test_10()
1227 dContext->purgeUnlockedResources(amountToPurge, true); in test_10()
1273 dContext->purgeUnlockedResources(/* scratchResourcesOnly */ true); in test_11()
1277 dContext->purgeUnlockedResources(/* scratchResourcesOnly */ false); in test_11()
1416 ctxInfo.directContext()->purgeUnlockedResources(/* scratchResourcesOnly */ false); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1445 dContext->purgeUnlockedResources(/* scratchResourcesOnly */ true); in test_15()
DGrSurfaceTest.cpp284 dContext->priv().getResourceCache()->purgeUnlockedResources(); in DEF_GPUTEST()
313 dContext->priv().getResourceCache()->purgeUnlockedResources(); in DEF_GPUTEST()
/third_party/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);
279 void purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime,
DGrDirectContext.cpp212 fResourceCache->purgeUnlockedResources(); in freeGpuResources()
315 void GrDirectContext::purgeUnlockedResources(bool scratchResourcesOnly) { in purgeUnlockedResources() function in GrDirectContext
322 fResourceCache->purgeUnlockedResources(scratchResourcesOnly); in purgeUnlockedResources()
354 void GrDirectContext::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources() function in GrDirectContext
361 fResourceCache->purgeUnlockedResources(bytesToPurge, preferScratchResources); in purgeUnlockedResources()
DGrResourceCache.cpp568 void GrResourceCache::purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime, in purgeUnlockedResources() function in GrResourceCache
674 void GrResourceCache::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources() function in GrResourceCache
/third_party/flutter/skia/src/gpu/
DGrContext.cpp172 void GrContext::purgeUnlockedResources(bool scratchResourcesOnly) { in purgeUnlockedResources() function in GrContext
174 fResourceCache->purgeUnlockedResources(scratchResourcesOnly); in purgeUnlockedResources()
201 void GrContext::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources() function in GrContext
203 fResourceCache->purgeUnlockedResources(bytesToPurge, preferScratchResources); in purgeUnlockedResources()
DGrResourceCache.h170 void purgeAllUnlocked() { this->purgeUnlockedResources(false); } in purgeAllUnlocked()
175 void purgeUnlockedResources(bool scratchResourcesOnly);
192 void purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources);
DGrResourceCache.cpp570 void GrResourceCache::purgeUnlockedResources(bool scratchResourcesOnly) { in purgeUnlockedResources() function in GrResourceCache
621 void GrResourceCache::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) { in purgeUnlockedResources() function in GrResourceCache
/third_party/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()
/third_party/flutter/skia/include/gpu/
DGrContext.h201 void purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources);
216 void purgeUnlockedResources(bool scratchResourcesOnly);
/third_party/flutter/skia/tests/
DResourceCacheTest.cpp458 cache->purgeUnlockedResources(false); in test_purge_unlocked()
473 cache->purgeUnlockedResources(true); in test_purge_unlocked()
481 cache->purgeUnlockedResources(false); in test_purge_unlocked()
1347 context->purgeUnlockedResources(14, true); in test_partial_purge()
1353 context->purgeUnlockedResources(3, true); in test_partial_purge()
1359 context->purgeUnlockedResources(50, true); in test_partial_purge()
1365 context->purgeUnlockedResources(13, false); in test_partial_purge()
1371 context->purgeUnlockedResources(50, false); in test_partial_purge()
1377 context->purgeUnlockedResources(0, true); in test_partial_purge()
1378 context->purgeUnlockedResources(0, false); in test_partial_purge()
/third_party/skia/include/gpu/
DGrDirectContext.h284 void purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources);
299 void purgeUnlockedResources(bool scratchResourcesOnly);