Searched refs:purgeTime (Results 1 – 10 of 10) sorted by relevance
568 void GrResourceCache::purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime, in purgeUnlockedResources() argument572 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()
167 void purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime,169 this->purgeUnlockedResources(&purgeTime, scratchResourcesOnly);279 void purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime,
78 void GrThreadSafeCache::dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) { in dropUniqueRefsOlderThan() argument86 if (cur->fLastAccess >= purgeTime) { in dropUniqueRefsOlderThan()
83 void dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) SK_EXCLUDES(fSpinLock);
344 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup() local347 fResourceCache->purgeResourcesNotUsedSince(purgeTime, scratchResourcesOnly); in performDeferredCleanup()
187 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup() local190 fResourceCache->purgeResourcesNotUsedSince(purgeTime); in performDeferredCleanup()193 ccpr->purgeCacheEntriesOlderThan(this->proxyProvider(), purgeTime); in performDeferredCleanup()
603 void GrResourceCache::purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime) { in purgeResourcesNotUsedSince() argument607 if (resourceTime >= purgeTime) { in purgeResourcesNotUsedSince()
338 GrProxyProvider* proxyProvider, const GrStdSteadyClock::time_point& purgeTime) { in purgeCacheEntriesOlderThan() argument340 fPathCache->purgeEntriesOlderThan(proxyProvider, purgeTime); in purgeCacheEntriesOlderThan()
273 const GrStdSteadyClock::time_point& purgeTime) { in purgeEntriesOlderThan() argument283 while (!fLRU.isEmpty() && fLRU.tail()->fTimestamp < purgeTime) { in purgeEntriesOlderThan()
114 void purgeEntriesOlderThan(GrProxyProvider*, const GrStdSteadyClock::time_point& purgeTime);