Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrGpuResourceCacheAccess.h76 fResource->fTimeWhenBecamePurgeable = GrStdSteadyClock::now(); in setTimeWhenResourceBecomePurgeable()
82 GrStdSteadyClock::time_point timeWhenResourceBecamePurgeable() { in timeWhenResourceBecamePurgeable()
DGrThreadSafeCache.cpp78 void GrThreadSafeCache::dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) { in dropUniqueRefsOlderThan()
105 entry->fLastAccess = GrStdSteadyClock::now(); in makeExistingEntryMRU()
163 entry->fLastAccess = GrStdSteadyClock::now(); in makeNewEntryMRU()
DGrThreadSafeCache.h83 void dropUniqueRefsOlderThan(GrStdSteadyClock::time_point purgeTime) SK_EXCLUDES(fSpinLock);
269 GrStdSteadyClock::time_point fLastAccess;
DGrResourceCache.h200 void purgeResourcesNotUsedSince(GrStdSteadyClock::time_point purgeTime,
315 void purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime,
DGrGpuResource.h399 GrStdSteadyClock::time_point fTimeWhenBecamePurgeable;
DGrResourceCache.cpp668 void GrResourceCache::purgeUnlockedResources(const GrStdSteadyClock::time_point* purgeTime, in purgeUnlockedResources()
683 const GrStdSteadyClock::time_point resourceTime = in purgeUnlockedResources()
713 const GrStdSteadyClock::time_point resourceTime = in purgeUnlockedResources()
DGrDirectContext.cpp381 auto purgeTime = GrStdSteadyClock::now() - msNotUsed; in performDeferredCleanup()
/third_party/skia/tests/
DResourceCacheTest.cpp1234 std::this_thread::sleep_for(GrStdSteadyClock::duration(5)); in test_time_purge()
1235 auto result = GrStdSteadyClock::now(); in test_time_purge()
1237 std::this_thread::sleep_for(GrStdSteadyClock::duration(5)); in test_time_purge()
1242 std::unique_ptr<GrStdSteadyClock::time_point[]> timeStamps( in test_time_purge()
1243 new GrStdSteadyClock::time_point[cnt]); in test_time_purge()
DGrThreadSafeCacheTest.cpp1353 auto firstTime = GrStdSteadyClock::now(); in test_13()
1367 auto secondTime = GrStdSteadyClock::now(); in test_13()
/third_party/skia/include/private/
DGrTypesPriv.h28 using GrStdSteadyClock = std::chrono::monotonic_clock; variable
30 using GrStdSteadyClock = std::chrono::steady_clock; variable