Lines Matching defs:memoryCache
1646 sk_gpu_test::MemoryCache memoryCache;
1648 contextOptions.fPersistentCache = &memoryCache;
1661 memoryCache.resetCacheStats();
1666 SkASSERT(!memoryCache.numCacheMisses());
1667 SkASSERT(!memoryCache.numCacheStores());
1685 sk_gpu_test::MemoryCache memoryCache;
1687 contextOptions.fPersistentCache = &memoryCache;
1695 auto precompileShaders = [&memoryCache](GrDirectContext* dContext) {
1696 memoryCache.foreach([dContext](sk_sp<const SkData> key,
1707 replayOptions.fRuntimeProgramCacheSize = memoryCache.numCacheMisses();