Lines Matching refs:fResourceCache

64     fResourceCache = nullptr;  in GrContext()
77 fResourceCache = new GrResourceCache(fCaps.get(), &fSingleOwner, this->contextID()); in initCommon()
78 fResourceProvider = new GrResourceProvider(fGpu.get(), fResourceCache, &fSingleOwner, in initCommon()
81 new GrProxyProvider(fResourceProvider, fResourceCache, fCaps, &fSingleOwner); in initCommon()
86 if (fResourceCache) { in initCommon()
87 fResourceCache->setProxyProvider(fProxyProvider); in initCommon()
106 if (!fResourceCache) { in initCommon()
154 delete fResourceCache; in ~GrContext()
177 fResourceCache->abandonAll(); in abandonContext()
205 fResourceCache->releaseAll(); in releaseResourcesAndAbandonContext()
225 fResourceCache->purgeAllUnlocked(); in freeGpuResources()
230 fResourceCache->purgeUnlockedResources(scratchResourcesOnly); in purgeUnlockedResources()
231 fResourceCache->purgeAsNeeded(); in purgeUnlockedResources()
240 fResourceCache->purgeAsNeeded(); in performDeferredCleanup()
241 fResourceCache->purgeResourcesNotUsedSince(purgeTime); in performDeferredCleanup()
252 fResourceCache->purgeUnlockedResources(bytesToPurge, preferScratchResources); in purgeUnlockedResources()
259 *resourceCount = fResourceCache->getBudgetedResourceCount(); in getResourceCacheUsage()
262 *resourceBytes = fResourceCache->getBudgetedResourceBytes(); in getResourceCacheUsage()
268 return fResourceCache->getPurgeableBytes(); in getResourceCachePurgeableBytes()
1111 *maxResources = fResourceCache->getMaxResourceCount(); in getResourceCacheLimits()
1114 *maxResourceBytes = fResourceCache->getMaxResourceBytes(); in getResourceCacheLimits()
1120 fResourceCache->setLimits(maxResources, maxResourceBytes); in setResourceCacheLimits()
1126 fResourceCache->dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()