Lines Matching refs:fResourceCache
96 fResourceCache = nullptr; in GrContext()
118 fResourceCache = new GrResourceCache(fCaps, fUniqueID); in init()
119 fResourceProvider = new GrResourceProvider(fGpu, fResourceCache, &fSingleOwner); in init()
153 delete fResourceCache; in ~GrContext()
178 fResourceCache->abandonAll(); in abandonContext()
196 fResourceCache->releaseAll(); in releaseResourcesAndAbandonContext()
218 fResourceCache->purgeAllUnlocked(); in freeGpuResources()
223 fResourceCache->purgeResourcesNotUsedSince(GrStdSteadyClock::now() - ms); in purgeResourcesNotUsedInMs()
228 fResourceCache->purgeUnlockedResources(bytesToPurge, preferScratchResources); in purgeUnlockedResources()
235 *resourceCount = fResourceCache->getBudgetedResourceCount(); in getResourceCacheUsage()
238 *resourceBytes = fResourceCache->getBudgetedResourceBytes(); in getResourceCacheUsage()
244 return fResourceCache->getPurgeableBytes(); in getResourceCachePurgeableBytes()
902 *maxTextures = fResourceCache->getMaxResourceCount(); in getResourceCacheLimits()
905 *maxTextureBytes = fResourceCache->getMaxResourceBytes(); in getResourceCacheLimits()
911 fResourceCache->setLimits(maxTextures, maxTextureBytes); in setResourceCacheLimits()
918 fResourceCache->dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()