Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp189 while (fNonpurgeableResources.count()) { in abandonAll()
190 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in abandonAll()
213 while(fNonpurgeableResources.count()) { in releaseAll()
214 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in releaseAll()
354 SkASSERT(fNonpurgeableResources[*resource->cacheAccess().accessCacheIndex()] == resource); in notifyCntReachedZero()
520 int index = fNonpurgeableResources.count(); in addToNonpurgeableArray()
521 *fNonpurgeableResources.append() = resource; in addToNonpurgeableArray()
529 GrGpuResource* tail = *(fNonpurgeableResources.end() - 1); in removeFromNonpurgeableArray()
530 SkASSERT(fNonpurgeableResources[*index] == resource); in removeFromNonpurgeableArray()
531 fNonpurgeableResources[*index] = tail; in removeFromNonpurgeableArray()
[all …]
DGrResourceCache.h81 return fPurgeableQueue.count() + fNonpurgeableResources.count(); in getResourceCount()
313 ResourceArray fNonpurgeableResources; variable
DGrTest.cpp203 stats->fNumNonPurgeable = fNonpurgeableResources.count(); in getStats()
206 for (int i = 0; i < fNonpurgeableResources.count(); ++i) { in getStats()
207 stats->update(fNonpurgeableResources[i]); in getStats()