Home
last modified time | relevance | path

Searched refs:fMaxBytes (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.h107 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes()
261 bool overBudget() const { return fBudgetedBytes > fMaxBytes || fBudgetedCount > fMaxCount; } in overBudget()
264 return fBudgetedBytes+bytes <= fMaxBytes && fBudgetedCount+1 <= fMaxCount; in wouldFit()
322 size_t fMaxBytes; variable
DGrResourceCache.cpp64 , fMaxBytes(kDefaultMaxSize) in GrResourceCache()
92 fMaxBytes = bytes; in setLimits()
143 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource()
174 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource()
384 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero()
420 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeGpuMemorySize()
449 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeBudgetStatus()
DGrTest.cpp222 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats()
224 out->appendf("Budget: %d items %d bytes\n", fMaxCount, (int)fMaxBytes); in dumpStats()
/external/skia/src/core/
DSkImageFilter.cpp517 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl()
582 while (fCurrentBytes > fMaxBytes) { in set()
601 while (fCurrentBytes > fMaxBytes) { in set()
643 size_t fMaxBytes; member in __anon77ed5dcf0311::CacheImpl