Lines Matching refs:fBytes
148 fBytes += size; in insertResource()
151 fHighWaterBytes = std::max(fBytes, fHighWaterBytes); in insertResource()
181 fBytes -= size; in removeResource()
223 SkASSERT(!fBytes); in abandonAll()
264 SkASSERT(!fBytes); in releaseAll()
675 const size_t tmpByteBudget = std::max((size_t)0, fBytes - bytesToPurge); in purgeUnlockedResources()
676 bool stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources()
691 stillOverbudget = tmpByteBudget < fBytes - scratchByteCount; in purgeUnlockedResources()
700 stillOverbudget = tmpByteBudget < fBytes; in purgeUnlockedResources()
872 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()
899 size_t fBytes; in validate() member
916 fBytes += resource->gpuMemorySize(); in validate()
987 SkASSERT(fBudgetedBytes <= fBytes); in validate()
988 SkASSERT(stats.fBytes == fBytes); in validate()
997 SkASSERT(fBytes <= fHighWaterBytes); in validate()