Searched refs:fMaxBytes (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ |
D | GrResourceCache.h | 105 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes() 207 bool overBudget() const { return fBudgetedBytes > fMaxBytes || fBudgetedCount > fMaxCount; } in overBudget() 264 size_t fMaxBytes; variable
|
D | GrResourceCache.cpp | 64 , fMaxBytes(kDefaultMaxSize) in GrResourceCache() 91 fMaxBytes = bytes; in setLimits() 142 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource() 173 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()
|
D | GrTest.cpp | 112 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats() 114 out->appendf("Budget: %d items %d bytes\n", fMaxCount, (int)fMaxBytes); in dumpStats()
|
/external/skia/src/core/ |
D | SkImageFilter.cpp | 421 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { in CacheImpl() 468 while (fCurrentBytes > fMaxBytes) { in set() 487 size_t fMaxBytes; member in __anon23d7576f0311::CacheImpl
|