Searched refs:fPurgeableBytes (Results 1 – 4 of 4) sorted by relevance
87 , 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()
96 size_t getPurgeableBytes() const { return fPurgeableBytes; } in getPurgeableBytes()349 size_t fPurgeableBytes; variable
175 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()
99 size_t getPurgeableBytes() const { return fPurgeableBytes; } in getPurgeableBytes()377 size_t fPurgeableBytes = 0; variable