• Home
  • Raw
  • Download

Lines Matching defs:resource

70 void GrResourceCache::insertResource(GrGpuResource* resource) {  in insertResource()
104 void GrResourceCache::removeResource(GrGpuResource* resource) { in removeResource()
198 void GrResourceCache::refResource(GrGpuResource* resource) { in refResource()
212 GrGpuResource* resource = fScratchMap.find(scratchKey); in findAndRefScratchResource() local
221 void GrResourceCache::willRemoveScratchKey(const GrGpuResource* resource) { in willRemoveScratchKey()
229 void GrResourceCache::removeUniqueKey(GrGpuResource* resource) { in removeUniqueKey()
249 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const skgpu::UniqueKey& newKey) { in changeUniqueKey()
291 void GrResourceCache::refAndMakeResourceMRU(GrGpuResource* resource) { in refAndMakeResourceMRU()
312 void GrResourceCache::notifyARefCntReachedZero(GrGpuResource* resource, in notifyARefCntReachedZero()
394 void GrResourceCache::didChangeBudgetStatus(GrGpuResource* resource) { in didChangeBudgetStatus()
463 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded() local
474 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded() local
497 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeUnlockedResources() local
527 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources() local
564 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeToMakeHeadroom() local
603 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources() local
642 void GrResourceCache::addToNonpurgeableArray(GrGpuResource* resource) { in addToNonpurgeableArray()
648 void GrResourceCache::removeFromNonpurgeableArray(GrGpuResource* resource) { in removeFromNonpurgeableArray()
844 fScratchMap.foreach([&](const GrGpuResource& resource) { in validate()
922 fUniqueHash.foreach([&](const GrGpuResource& resource){ in countUniqueKeysWithTag()