Lines Matching refs:fBytes
84 , fBytes(0) in GrResourceCache()
123 fBytes += size; in insertResource()
126 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in insertResource()
161 fBytes -= size; in removeResource()
203 SkASSERT(!fBytes); in abandonAll()
243 SkASSERT(!fBytes); in releaseAll()
569 const size_t tmpByteBudget = SkTMax((size_t)0, fBytes - bytesToPurge); in purgeUnlockedResources()
570 bool stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources()
585 stillOverbudget = tmpByteBudget < fBytes - scratchByteCount; in purgeUnlockedResources()
594 stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources()
730 size_t fBytes; in validate() member
747 fBytes += resource->gpuMemorySize(); in validate()
821 SkASSERT(fBudgetedBytes <= fBytes); in validate()
822 SkASSERT(stats.fBytes == fBytes); in validate()
829 SkASSERT(fBytes <= fHighWaterBytes); in validate()