Lines Matching refs:fBudgetedBytes
74 , fBudgetedBytes(0) in GrResourceCache()
141 fBudgetedBytes += size; in insertResource()
143 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource()
146 fBudgetedHighWaterBytes = SkTMax(fBudgetedBytes, fBudgetedHighWaterBytes); in insertResource()
172 fBudgetedBytes -= size; in removeResource()
174 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource()
207 SkASSERT(!fBudgetedBytes); in abandonAll()
231 SkASSERT(!fBudgetedBytes); in releaseAll()
384 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero()
418 fBudgetedBytes += delta; in didChangeGpuMemorySize()
420 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeGpuMemorySize()
422 fBudgetedHighWaterBytes = SkTMax(fBudgetedBytes, fBudgetedHighWaterBytes); in didChangeGpuMemorySize()
438 fBudgetedBytes += size; in didChangeBudgetStatus()
440 fBudgetedHighWaterBytes = SkTMax(fBudgetedBytes, fBudgetedHighWaterBytes); in didChangeBudgetStatus()
446 fBudgetedBytes -= size; in didChangeBudgetStatus()
449 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeBudgetStatus()
640 size_t fBudgetedBytes; in validate() member
683 fBudgetedBytes += resource->gpuMemorySize(); in validate()
706 SkASSERT(fBudgetedBytes <= fBytes); in validate()
708 SkASSERT(stats.fBudgetedBytes == fBudgetedBytes); in validate()
715 SkASSERT(fBudgetedBytes <= fBudgetedHighWaterBytes); in validate()