Home
last modified time | relevance | path

Searched refs:fPurgeableBytes (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/gpu/
DGrResourceCache.cpp87 , fPurgeableBytes(0) in GrResourceCache()
155 fPurgeableBytes -= size; in removeResource()
206 SkASSERT(!fPurgeableBytes); in abandonAll()
246 SkASSERT(!fPurgeableBytes); in releaseAll()
375 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU()
421 fPurgeableBytes += resource->gpuMemorySize(); in notifyCntReachedZero()
572 if (preferScratchResources && bytesToPurge < fPurgeableBytes) { in purgeUnlockedResources()
825 SkASSERT(purgeableBytes == fPurgeableBytes); in validate()
DGrResourceCache.h96 size_t getPurgeableBytes() const { return fPurgeableBytes; } in getPurgeableBytes()
349 size_t fPurgeableBytes; variable
/external/skia/src/gpu/
DGrResourceCache.cpp175 fPurgeableBytes -= size; in removeResource()
226 SkASSERT(!fPurgeableBytes); in abandonAll()
267 SkASSERT(!fPurgeableBytes); in releaseAll()
382 fPurgeableBytes -= resource->gpuMemorySize(); in refAndMakeResourceMRU()
441 fPurgeableBytes += resource->gpuMemorySize(); in notifyARefCntReachedZero()
678 if (preferScratchResources && bytesToPurge < fPurgeableBytes) { in purgeUnlockedResources()
993 SkASSERT(purgeableBytes == fPurgeableBytes); in validate()
DGrResourceCache.h99 size_t getPurgeableBytes() const { return fPurgeableBytes; } in getPurgeableBytes()
377 size_t fPurgeableBytes = 0; variable