Home
last modified time | relevance | path

Searched refs:fNonpurgeableResources (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp165 while (fNonpurgeableResources.count()) { in abandonAll()
166 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in abandonAll()
189 while(fNonpurgeableResources.count()) { in releaseAll()
190 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in releaseAll()
344 SkASSERT(fNonpurgeableResources[*resource->cacheAccess().accessCacheIndex()] == resource); in notifyCntReachedZero()
538 int index = fNonpurgeableResources.count(); in addToNonpurgeableArray()
539 *fNonpurgeableResources.append() = resource; in addToNonpurgeableArray()
547 GrGpuResource* tail = *(fNonpurgeableResources.end() - 1); in removeFromNonpurgeableArray()
548 SkASSERT(fNonpurgeableResources[*index] == resource); in removeFromNonpurgeableArray()
549 fNonpurgeableResources[*index] = tail; in removeFromNonpurgeableArray()
[all …]
DGrResourceCache.h77 return fPurgeableQueue.count() + fNonpurgeableResources.count(); in getResourceCount()
298 ResourceArray fNonpurgeableResources; variable
/external/skia/tools/gpu/
DGrTest.cpp165 stats->fNumNonPurgeable = fNonpurgeableResources.count(); in getStats()
168 for (int i = 0; i < fNonpurgeableResources.count(); ++i) { in getStats()
169 stats->update(fNonpurgeableResources[i]); in getStats()