Searched refs:fMaxBytes (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/core/ |
D | SkImageFilterCache.cpp | 29 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/ |
D | GrResourceCache.h | 103 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
|
D | GrResourceCache.cpp | 65 , 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/ |
D | GrTest.cpp | 184 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats() 186 out->appendf("Budget: %d items %d bytes\n", fMaxCount, (int)fMaxBytes); in dumpStats()
|