Lines Matching refs:fNonpurgeableResources
187 while (fNonpurgeableResources.count()) { in abandonAll()
188 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in abandonAll()
227 while (fNonpurgeableResources.count()) { in releaseAll()
228 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in releaseAll()
393 SkASSERT(fNonpurgeableResources[*resource->cacheAccess().accessCacheIndex()] == resource); in notifyCntReachedZero()
632 int index = fNonpurgeableResources.count(); in addToNonpurgeableArray()
633 *fNonpurgeableResources.append() = resource; in addToNonpurgeableArray()
641 GrGpuResource* tail = *(fNonpurgeableResources.end() - 1); in removeFromNonpurgeableArray()
642 SkASSERT(fNonpurgeableResources[*index] == resource); in removeFromNonpurgeableArray()
643 fNonpurgeableResources[*index] = tail; in removeFromNonpurgeableArray()
645 fNonpurgeableResources.pop(); in removeFromNonpurgeableArray()
666 SkTQSort(fNonpurgeableResources.begin(), fNonpurgeableResources.end() - 1, in getNextTimestamp()
674 currNP < fNonpurgeableResources.count()) { in getNextTimestamp()
676 uint32_t tsNP = fNonpurgeableResources[currNP]->cacheAccess().timestamp(); in getNextTimestamp()
682 *fNonpurgeableResources[currNP]->cacheAccess().accessCacheIndex() = currNP; in getNextTimestamp()
683 fNonpurgeableResources[currNP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
691 while (currNP < fNonpurgeableResources.count()) { in getNextTimestamp()
692 *fNonpurgeableResources[currNP]->cacheAccess().accessCacheIndex() = currNP; in getNextTimestamp()
693 fNonpurgeableResources[currNP++]->cacheAccess().setTimestamp(fTimestamp++); in getNextTimestamp()
712 for (int i = 0; i < fNonpurgeableResources.count(); ++i) { in dumpMemoryStatistics()
713 fNonpurgeableResources[i]->dumpMemoryStatistics(traceMemoryDump); in dumpMemoryStatistics()
804 for (int i = 0; i < fNonpurgeableResources.count(); ++i) { in validate()
805 SkASSERT(!fNonpurgeableResources[i]->resourcePriv().isPurgeable() || in validate()
806 fNewlyPurgeableResourceForValidation == fNonpurgeableResources[i]); in validate()
807 SkASSERT(*fNonpurgeableResources[i]->cacheAccess().accessCacheIndex() == i); in validate()
808 SkASSERT(!fNonpurgeableResources[i]->wasDestroyed()); in validate()
809 stats.update(fNonpurgeableResources[i]); in validate()
851 if (index < fNonpurgeableResources.count() && fNonpurgeableResources[index] == resource) { in isInCache()