Searched refs:fMaxBytes (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/src/core/ |
D | SkImageFilterCache.cpp | 33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl() 86 while (fCurrentBytes > fMaxBytes) { in set() 147 size_t fMaxBytes; member in __anon21e46db60311::CacheImpl
|
/third_party/flutter/skia/src/core/ |
D | SkImageFilterCache.cpp | 33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl() 88 while (fCurrentBytes > fMaxBytes) { in set() 150 size_t fMaxBytes; member in __anon21c47fcb0311::CacheImpl
|
/third_party/flutter/skia/src/gpu/ |
D | GrResourceCache.h | 112 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes() 180 bool overBudget() const { return fBudgetedBytes > fMaxBytes || fBudgetedCount > fMaxCount; } in overBudget() 277 return fBudgetedBytes+bytes <= fMaxBytes && fBudgetedCount+1 <= fMaxCount; in wouldFit() 357 size_t fMaxBytes = kDefaultMaxSize; variable
|
D | GrResourceCache.cpp | 128 fMaxBytes = bytes; in setLimits() 156 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource() 190 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource() 493 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero() 539 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeBudgetStatus() 655 const size_t cachedByteCount = fMaxBytes; in purgeUnlockedResources() 656 fMaxBytes = tmpByteBudget; in purgeUnlockedResources() 658 fMaxBytes = cachedByteCount; in purgeUnlockedResources() 811 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats() 813 out->appendf("Budget: %d items %d bytes\n", fMaxCount, (int)fMaxBytes); in dumpStats()
|
/third_party/skia/src/gpu/ |
D | GrResourceCache.h | 109 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes() 177 bool overBudget() const { return fBudgetedBytes > fMaxBytes; } in overBudget() 275 bool wouldFit(size_t bytes) const { return fBudgetedBytes+bytes <= fMaxBytes; } in wouldFit() 360 size_t fMaxBytes = kDefaultMaxSize; variable
|
D | GrResourceCache.cpp | 129 fMaxBytes = bytes; in setLimit() 157 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource() 186 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource() 519 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeBudgetStatus() 637 if (desiredHeadroomBytes > fMaxBytes) { in purgeToMakeHeadroom() 652 if (projectedBudget + desiredHeadroomBytes <= fMaxBytes) { in purgeToMakeHeadroom() 708 const size_t cachedByteCount = fMaxBytes; in purgeUnlockedResources() 709 fMaxBytes = tmpByteBudget; in purgeUnlockedResources() 711 fMaxBytes = cachedByteCount; in purgeUnlockedResources() 865 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats() [all …]
|