• Home
  • Raw
  • Download

Lines Matching defs:resource

267         auto resource = fPurgeableQueue.at(i);  in cacheInfoPurgeableQueue()  local
317 auto resource = fNonpurgeableResources[i]; in cacheInfoNoPurgeableQueue() local
355 auto resource = fPurgeableQueue.at(i); in cacheInfoRealAllocSize() local
362 auto resource = fNonpurgeableResources[i]; in cacheInfoRealAllocSize() local
390 auto resource = fNonpurgeableResources[i]; in cacheInfoRealAllocQueue() local
409 auto resource = fPurgeableQueue.at(i); in cacheInfoRealAllocQueue() local
458 void GrResourceCache::updatePurgeableWidMap(GrGpuResource* resource, in updatePurgeableWidMap()
477 void GrResourceCache::updatePurgeablePidMap(GrGpuResource* resource, in updatePurgeablePidMap()
494 void GrResourceCache::updatePurgeableFidMap(GrGpuResource* resource, in updatePurgeableFidMap()
511 void GrResourceCache::updateRealAllocWidMap(GrGpuResource* resource, in updateRealAllocWidMap()
531 void GrResourceCache::updateRealAllocPidMap(GrGpuResource* resource, in updateRealAllocPidMap()
549 void GrResourceCache::updateRealAllocFidMap(GrGpuResource* resource, in updateRealAllocFidMap()
626 void GrResourceCache::insertResource(GrGpuResource* resource) in insertResource()
695 void GrResourceCache::removeResource(GrGpuResource* resource) { in removeResource()
817 GrGpuResource* resource = fNonpurgeableResources[i]; in releaseByTag() local
828 GrGpuResource* resource = fPurgeableQueue.at(i); in releaseByTag() local
838 for (auto resource : recycleVector) { in releaseByTag() local
916 void GrResourceCache::refResource(GrGpuResource* resource) { in refResource()
941 GrGpuResource* resource = fScratchMap.find(scratchKey, AvailableForScratchUse()); in findAndRefScratchResource() local
950 void GrResourceCache::willRemoveScratchKey(const GrGpuResource* resource) { in willRemoveScratchKey()
958 void GrResourceCache::removeUniqueKey(GrGpuResource* resource) { in removeUniqueKey()
978 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey()
1020 void GrResourceCache::refAndMakeResourceMRU(GrGpuResource* resource) { in refAndMakeResourceMRU()
1041 void GrResourceCache::notifyARefCntReachedZero(GrGpuResource* resource, in notifyARefCntReachedZero()
1123 void GrResourceCache::didChangeBudgetStatus(GrGpuResource* resource) { in didChangeBudgetStatus()
1225 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded() local
1236 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded() local
1262 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeUnlockedResources() local
1295 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources() local
1334 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockAndSafeCacheGpuResources() local
1370 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeCacheBetweenFrames() local
1390 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeCacheBetweenFrames() local
1415 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResourcesByPid() local
1453 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResourcesByTag() local
1482 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeToMakeHeadroom() local
1521 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources() local
1586 void GrResourceCache::addToNonpurgeableArray(GrGpuResource* resource) { in addToNonpurgeableArray()
1592 void GrResourceCache::removeFromNonpurgeableArray(GrGpuResource* resource) { in removeFromNonpurgeableArray()
1675 auto resource = resources.getAt(i); in dumpMemoryStatistics() local
1809 fScratchMap.foreach([&](const GrGpuResource& resource) { in validate()
1887 fUniqueHash.foreach([&](const GrGpuResource& resource){ in countUniqueKeysWithTag()