Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkImageFilterCache.cpp29 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl()
77 while (fCurrentBytes > fMaxBytes) { in set()
117 size_t fMaxBytes; member in __anon083d30030311::CacheImpl
/external/skia/src/gpu/
DGrResourceCache.h103 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes()
246 bool overBudget() const { return fBudgetedBytes > fMaxBytes || fBudgetedCount > fMaxCount; } in overBudget()
249 return fBudgetedBytes+bytes <= fMaxBytes && fBudgetedCount+1 <= fMaxCount; in wouldFit()
307 size_t fMaxBytes; variable
DGrResourceCache.cpp65 , fMaxBytes(kDefaultMaxSize) in GrResourceCache()
89 fMaxBytes = bytes; in setLimits()
117 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource()
149 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource()
376 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero()
412 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeGpuMemorySize()
441 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeBudgetStatus()
/external/skia/tools/gpu/
DGrTest.cpp184 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats()
186 out->appendf("Budget: %d items %d bytes\n", fMaxCount, (int)fMaxBytes); in dumpStats()