Home
last modified time | relevance | path

Searched refs:fBudgetedBytes (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp74 , 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()
[all …]
DGrResourceCache.h97 size_t getBudgetedResourceBytes() const { return fBudgetedBytes; } in getBudgetedResourceBytes()
261 bool overBudget() const { return fBudgetedBytes > fMaxBytes || fBudgetedCount > fMaxCount; } in overBudget()
264 return fBudgetedBytes+bytes <= fMaxBytes && fBudgetedCount+1 <= fMaxCount; in wouldFit()
338 size_t fBudgetedBytes; variable
DGrTest.cpp222 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats()
231 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()