Home
last modified time | relevance | path

Searched refs:purgeTime (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/src/gpu/
DGrResourceCache.cpp568 void GrResourceCache::purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime, in purgeUnlockedResources() argument
572 if (purgeTime) { in purgeUnlockedResources()
573 fThreadSafeCache->dropUniqueRefsOlderThan(*purgeTime); in purgeUnlockedResources()
585 if (purgeTime && resourceTime >= *purgeTime) { in purgeUnlockedResources()
600 if (purgeTime && fPurgeableQueue.count() && in purgeUnlockedResources()
601 fPurgeableQueue.peek()->cacheAccess().timeWhenResourceBecamePurgeable() >= *purgeTime) { in purgeUnlockedResources()
615 if (purgeTime && resourceTime >= *purgeTime) { in purgeUnlockedResources()
DGrResourceCache.h167 void purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime,
169 this->purgeUnlockedResources(&purgeTime, scratchResourcesOnly);
279 void purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime,
DGrThreadSafeCache.cpp78 void GrThreadSafeCache::dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) { in dropUniqueRefsOlderThan() argument
86 if (cur->fLastAccess >= purgeTime) { in dropUniqueRefsOlderThan()
DGrThreadSafeCache.h83 void dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) SK_EXCLUDES(fSpinLock);
DGrDirectContext.cpp344 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup() local
347 fResourceCache->purgeResourcesNotUsedSince(purgeTime, scratchResourcesOnly); in performDeferredCleanup()
/third_party/flutter/skia/src/gpu/
DGrContext.cpp187 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup() local
190 fResourceCache->purgeResourcesNotUsedSince(purgeTime); in performDeferredCleanup()
193 ccpr->purgeCacheEntriesOlderThan(this->proxyProvider(), purgeTime); in performDeferredCleanup()
DGrResourceCache.cpp603 void GrResourceCache::purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime) { in purgeResourcesNotUsedSince() argument
607 if (resourceTime >= purgeTime) { in purgeResourcesNotUsedSince()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCoverageCountingPathRenderer.cpp338 GrProxyProvider* proxyProvider, const GrStdSteadyClock::time_point& purgeTime) { in purgeCacheEntriesOlderThan() argument
340 fPathCache->purgeEntriesOlderThan(proxyProvider, purgeTime); in purgeCacheEntriesOlderThan()
DGrCCPathCache.cpp273 const GrStdSteadyClock::time_point& purgeTime) { in purgeEntriesOlderThan() argument
283 while (!fLRU.isEmpty() && fLRU.tail()->fTimestamp < purgeTime) { in purgeEntriesOlderThan()
DGrCCPathCache.h114 void purgeEntriesOlderThan(GrProxyProvider*, const GrStdSteadyClock::time_point& purgeTime);