Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceCache.cpp77 , fBudgetedBytes(0) in GrResourceCache()
119 fBudgetedBytes += size; in insertResource()
121 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource()
124 fBudgetedHighWaterBytes = SkTMax(fBudgetedBytes, fBudgetedHighWaterBytes); in insertResource()
152 fBudgetedBytes -= size; in removeResource()
154 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource()
188 SkASSERT(!fBudgetedBytes); in abandonAll()
215 SkASSERT(!fBudgetedBytes); in releaseAll()
387 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero()
421 fBudgetedBytes += delta; in didChangeGpuMemorySize()
[all …]
DGrResourceCache.h103 size_t getBudgetedResourceBytes() const { return fBudgetedBytes; } in getBudgetedResourceBytes()
271 bool overBudget() const { return fBudgetedBytes > fMaxBytes || fBudgetedCount > fMaxCount; } in overBudget()
274 return fBudgetedBytes+bytes <= fMaxBytes && fBudgetedCount+1 <= fMaxCount; in wouldFit()
349 size_t fBudgetedBytes; variable
/external/skia/tools/gpu/
DGrTest.cpp201 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats()
209 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()