Lines Matching defs:resource
133 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource()
167 void GrResourceCache::removeResource(GrGpuResource* resource) { in removeResource()
271 void GrResourceCache::refResource(GrGpuResource* resource) { in refResource()
296 GrGpuResource* resource = fScratchMap.find(scratchKey, AvailableForScratchUse()); in findAndRefScratchResource() local
305 void GrResourceCache::willRemoveScratchKey(const GrGpuResource* resource) { in willRemoveScratchKey()
313 void GrResourceCache::removeUniqueKey(GrGpuResource* resource) { in removeUniqueKey()
333 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey()
375 void GrResourceCache::refAndMakeResourceMRU(GrGpuResource* resource) { in refAndMakeResourceMRU()
396 void GrResourceCache::notifyARefCntReachedZero(GrGpuResource* resource, in notifyARefCntReachedZero()
478 void GrResourceCache::didChangeBudgetStatus(GrGpuResource* resource) { in didChangeBudgetStatus()
547 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded() local
557 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded() local
580 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeUnlockedResources() local
610 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources() local
647 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeToMakeHeadroom() local
686 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources() local
751 void GrResourceCache::addToNonpurgeableArray(GrGpuResource* resource) { in addToNonpurgeableArray()
757 void GrResourceCache::removeFromNonpurgeableArray(GrGpuResource* resource) { in removeFromNonpurgeableArray()
954 fScratchMap.foreach([&](const GrGpuResource& resource) { in validate()