Searched refs:memoryCache (Results 1 – 2 of 2) sorted by relevance
402 sk_gpu_test::MemoryCache memoryCache; in main() local404 baseOptions.fPersistentCache = &memoryCache; in main()690 memoryCache.writeShadersToDisk(FLAGS_writeShaders[0], api); in main()
1646 sk_gpu_test::MemoryCache memoryCache; in draw() local1648 contextOptions.fPersistentCache = &memoryCache; in draw()1661 memoryCache.resetCacheStats(); in draw()1666 SkASSERT(!memoryCache.numCacheMisses()); in draw()1667 SkASSERT(!memoryCache.numCacheStores()); in draw()1685 sk_gpu_test::MemoryCache memoryCache; in draw() local1687 contextOptions.fPersistentCache = &memoryCache; in draw()1695 auto precompileShaders = [&memoryCache](GrDirectContext* dContext) { in draw()1696 memoryCache.foreach([dContext](sk_sp<const SkData> key, in draw()1707 replayOptions.fRuntimeProgramCacheSize = memoryCache.numCacheMisses(); in draw()