• Home
  • Raw
  • Download

Lines Matching refs:fPurgeableQueue

154         fPurgeableQueue.remove(resource);  in removeResource()
193 while (fPurgeableQueue.count()) { in abandonAll()
194 GrGpuResource* top = fPurgeableQueue.peek(); in abandonAll()
233 while (fPurgeableQueue.count()) { in releaseAll()
234 GrGpuResource* top = fPurgeableQueue.peek(); in releaseAll()
376 fPurgeableQueue.remove(resource); in refAndMakeResourceMRU()
419 fPurgeableQueue.insert(resource); in notifyCntReachedZero()
506 while (stillOverbudget && fPurgeableQueue.count()) { in purgeAsNeeded()
507 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeAsNeeded()
520 while (fPurgeableQueue.count()) { in purgeUnlockedResources()
521 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeUnlockedResources()
527 fPurgeableQueue.sort(); in purgeUnlockedResources()
531 for (int i = 0; i < fPurgeableQueue.count(); i++) { in purgeUnlockedResources()
532 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources()
550 while (fPurgeableQueue.count()) { in purgeResourcesNotUsedSince()
552 fPurgeableQueue.peek()->cacheAccess().timeWhenResourceBecamePurgeable(); in purgeResourcesNotUsedSince()
561 GrGpuResource* resource = fPurgeableQueue.peek(); in purgeResourcesNotUsedSince()
574 fPurgeableQueue.sort(); in purgeUnlockedResources()
579 for (int i = 0; i < fPurgeableQueue.count() && stillOverbudget; i++) { in purgeUnlockedResources()
580 GrGpuResource* resource = fPurgeableQueue.at(i); in purgeUnlockedResources()
659 sortedPurgeableResources.setReserve(fPurgeableQueue.count()); in getNextTimestamp()
661 while (fPurgeableQueue.count()) { in getNextTimestamp()
662 *sortedPurgeableResources.append() = fPurgeableQueue.peek(); in getNextTimestamp()
663 fPurgeableQueue.pop(); in getNextTimestamp()
698 fPurgeableQueue.insert(sortedPurgeableResources[i]); in getNextTimestamp()
715 for (int i = 0; i < fPurgeableQueue.count(); ++i) { in dumpMemoryStatistics()
716 fPurgeableQueue.at(i)->dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
811 for (int i = 0; i < fPurgeableQueue.count(); ++i) { in validate()
812 SkASSERT(fPurgeableQueue.at(i)->resourcePriv().isPurgeable()); in validate()
813 SkASSERT(*fPurgeableQueue.at(i)->cacheAccess().accessCacheIndex() == i); in validate()
814 SkASSERT(!fPurgeableQueue.at(i)->wasDestroyed()); in validate()
815 stats.update(fPurgeableQueue.at(i)); in validate()
816 purgeableBytes += fPurgeableQueue.at(i)->gpuMemorySize(); in validate()
848 if (index < fPurgeableQueue.count() && fPurgeableQueue.at(index) == resource) { in isInCache()