Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp205 while (fNonpurgeableResources.count()) { in abandonAll()
206 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in abandonAll()
248 while (fNonpurgeableResources.count()) { in releaseAll()
249 GrGpuResource* back = *(fNonpurgeableResources.end() - 1); in releaseAll()
404 SkASSERT(fNonpurgeableResources[*resource->cacheAccess().accessCacheIndex()] == resource); in notifyARefCntReachedZero()
752 int index = fNonpurgeableResources.count(); in addToNonpurgeableArray()
753 *fNonpurgeableResources.append() = resource; in addToNonpurgeableArray()
761 GrGpuResource* tail = *(fNonpurgeableResources.end() - 1); in removeFromNonpurgeableArray()
762 SkASSERT(fNonpurgeableResources[*index] == resource); in removeFromNonpurgeableArray()
763 fNonpurgeableResources[*index] = tail; in removeFromNonpurgeableArray()
[all …]
DGrResourceCache.h83 return fPurgeableQueue.count() + fNonpurgeableResources.count(); in getResourceCount()
353 ResourceArray fNonpurgeableResources; variable
/external/skqp/src/gpu/
DGrResourceCache.cpp187 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()
[all …]
DGrResourceCache.h80 return fPurgeableQueue.count() + fNonpurgeableResources.count(); in getResourceCount()
324 ResourceArray fNonpurgeableResources; variable
/external/skqp/tools/gpu/
DGrTest.cpp143 stats->fNumNonPurgeable = fNonpurgeableResources.count(); in getStats()
146 for (int i = 0; i < fNonpurgeableResources.count(); ++i) { in getStats()
147 stats->update(fNonpurgeableResources[i]); in getStats()