Lines Matching refs:fResourceCache
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()
83 if (fResourceCache) { in init()
84 fResourceCache->setProxyProvider(this->proxyProvider()); in init()
121 fResourceCache->abandonAll(); in abandonContext()
140 fResourceCache->releaseAll(); in releaseResourcesAndAbandonContext()
166 fResourceCache->purgeAllUnlocked(); in freeGpuResources()
171 fResourceCache->purgeUnlockedResources(scratchResourcesOnly); in purgeUnlockedResources()
172 fResourceCache->purgeAsNeeded(); in purgeUnlockedResources()
184 fResourceCache->purgeAsNeeded(); in performDeferredCleanup()
185 fResourceCache->purgeResourcesNotUsedSince(purgeTime); in performDeferredCleanup()
198 fResourceCache->purgeUnlockedResources(bytesToPurge, preferScratchResources); in purgeUnlockedResources()
205 *resourceCount = fResourceCache->getBudgetedResourceCount(); in getResourceCacheUsage()
208 *resourceBytes = fResourceCache->getBudgetedResourceBytes(); in getResourceCacheUsage()
214 return fResourceCache->getPurgeableBytes(); in getResourceCachePurgeableBytes()
326 *maxResources = fResourceCache->getMaxResourceCount(); in getResourceCacheLimits()
329 *maxResourceBytes = fResourceCache->getMaxResourceBytes(); in getResourceCacheLimits()
335 fResourceCache->setLimits(maxResources, maxResourceBytes); in setResourceCacheLimits()
341 fResourceCache->dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()