Lines Matching defs:resource
74 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource()
108 void GrResourceCache::removeResource(GrGpuResource* resource) { in removeResource()
202 void GrResourceCache::refResource(GrGpuResource* resource) { in refResource()
216 GrGpuResource* resource = fScratchMap.find(scratchKey); in findAndRefScratchResource() local
225 void GrResourceCache::willRemoveScratchKey(const GrGpuResource* resource) { in willRemoveScratchKey()
233 void GrResourceCache::removeUniqueKey(GrGpuResource* resource) { in removeUniqueKey()
253 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const skgpu::UniqueKey& newKey) { in changeUniqueKey()
295 void GrResourceCache::refAndMakeResourceMRU(GrGpuResource* resource) { in refAndMakeResourceMRU()
316 void GrResourceCache::notifyARefCntReachedZero(GrGpuResource* resource, in notifyARefCntReachedZero()
398 void GrResourceCache::didChangeBudgetStatus(GrGpuResource* resource) { in didChangeBudgetStatus()
467 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded() local
478 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded() local
500 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeUnlockedResources() local
531 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources() local
568 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeToMakeHeadroom() local
607 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources() local
646 void GrResourceCache::addToNonpurgeableArray(GrGpuResource* resource) { in addToNonpurgeableArray()
652 void GrResourceCache::removeFromNonpurgeableArray(GrGpuResource* resource) { in removeFromNonpurgeableArray()
848 fScratchMap.foreach([&](const GrGpuResource& resource) { in validate()
926 fUniqueHash.foreach([&](const GrGpuResource& resource){ in countUniqueKeysWithTag()