Lines Matching refs:GrGpuResource
120 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource()
157 void GrResourceCache::removeResource(GrGpuResource* resource) { in removeResource()
190 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in abandonAll()
196 GrGpuResource* top = fPurgeableQueue.peek(); in abandonAll()
214 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in releaseAll()
220 GrGpuResource* top = fPurgeableQueue.peek(); in releaseAll()
238 bool operator()(const GrGpuResource* resource) const { in operator ()()
249 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey, in findAndRefScratchResource()
254 GrGpuResource* resource; in findAndRefScratchResource()
281 void GrResourceCache::willRemoveScratchKey(const GrGpuResource* resource) { in willRemoveScratchKey()
286 void GrResourceCache::removeUniqueKey(GrGpuResource* resource) { in removeUniqueKey()
297 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { in changeUniqueKey()
310 if (GrGpuResource* old = fUniqueHash.find(newKey)) { in changeUniqueKey()
332 void GrResourceCache::refAndMakeResourceMRU(GrGpuResource* resource) { in refAndMakeResourceMRU()
347 void GrResourceCache::notifyCntReachedZero(GrGpuResource* resource, uint32_t flags) { in notifyCntReachedZero()
406 void GrResourceCache::didChangeGpuMemorySize(const GrGpuResource* resource, size_t oldSize) { in didChangeGpuMemorySize()
430 void GrResourceCache::didChangeBudgetStatus(GrGpuResource* resource) { in didChangeBudgetStatus()
472 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded()
480 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded()
500 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAllUnlocked()
511 GrGpuResource* resource = this->findAndRefUniqueResource(msgs[i].key()); in processInvalidUniqueKeys()
519 void GrResourceCache::addToNonpurgeableArray(GrGpuResource* resource) { in addToNonpurgeableArray()
525 void GrResourceCache::removeFromNonpurgeableArray(GrGpuResource* resource) { in removeFromNonpurgeableArray()
529 GrGpuResource* tail = *(fNonpurgeableResources.end() - 1); in removeFromNonpurgeableArray()
546 SkTDArray<GrGpuResource*> sortedPurgeableResources; in getNextTimestamp()
555 bool operator()(GrGpuResource* a, GrGpuResource* b) { in getNextTimestamp()
654 void update(GrGpuResource* resource) { in validate()
727 bool GrResourceCache::isInCache(const GrGpuResource* resource) const { in isInCache()