Searched refs:fResourceCache (Results 1 – 8 of 8) sorted by relevance
50 fResourceCache = nullptr; in GrContext()61 delete fResourceCache; in ~GrContext()78 fResourceCache = new GrResourceCache(this->caps(), this->singleOwner(), this->contextID()); in init()79 fResourceProvider = new GrResourceProvider(fGpu.get(), fResourceCache, this->singleOwner()); in init()82 if (fResourceCache) { in init()83 fResourceCache->setProxyProvider(this->proxyProvider()); in init()124 fResourceCache->abandonAll(); in abandonContext()143 fResourceCache->releaseAll(); in releaseResourcesAndAbandonContext()169 fResourceCache->purgeAllUnlocked(); in freeGpuResources()174 fResourceCache->purgeUnlockedResources(scratchResourcesOnly); in purgeUnlockedResources()[all …]
236 fContext->fResourceCache->dumpStats(out); in dumpCacheStats()243 fContext->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs()295 fContext->fResourceCache->purgeAllUnlocked(); in testingOnly_purgeAllUnlockedResources()
212 GrResourceCache* getResourceCache() { return fContext->fResourceCache; } in getResourceCache()
100 if (fResourceCache) { in ~GrDirectContext()101 fResourceCache->releaseAll(); in ~GrDirectContext()141 fResourceCache->abandonAll(); in abandonContext()181 fResourceCache->releaseAll(); in releaseResourcesAndAbandonContext()212 fResourceCache->purgeUnlockedResources(); in freeGpuResources()230 fResourceCache = std::make_unique<GrResourceCache>(this->singleOwner(), in init()233 fResourceCache->setProxyProvider(this->proxyProvider()); in init()234 fResourceCache->setThreadSafeCache(this->threadSafeCache()); in init()240 fResourceProvider = std::make_unique<GrResourceProvider>(fGpu.get(), fResourceCache.get(), in init()278 *resourceCount = fResourceCache->getBudgetedResourceCount(); in getResourceCacheUsage()[all …]
84 this->context()->fResourceCache->dumpStats(out); in dumpCacheStats()91 this->context()->fResourceCache->dumpStatsKeyValuePairs(keys, values); in dumpCacheStatsKeyValuePairs()
85 GrResourceCache* getResourceCache() { return this->context()->fResourceCache.get(); } in getResourceCache()
461 GrResourceCache* fResourceCache; variable
860 std::unique_ptr<GrResourceCache> fResourceCache; variable