Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrResourceCache.h111 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes()
179 bool overBudget() const { return fBudgetedBytes > fMaxBytes || fBudgetedCount > fMaxCount; } in overBudget()
272 return fBudgetedBytes+bytes <= fMaxBytes && fBudgetedCount+1 <= fMaxCount; in wouldFit()
333 size_t fMaxBytes; variable
DGrResourceCache.cpp77 , fMaxBytes(kDefaultMaxSize) in GrResourceCache()
104 fMaxBytes = bytes; in setLimits()
132 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in insertResource()
166 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in removeResource()
445 fBudgetedBytes + resource->gpuMemorySize() <= fMaxBytes) { in notifyCntReachedZero()
485 fBudgetedBytes, "free", fMaxBytes - fBudgetedBytes); in didChangeBudgetStatus()
601 const size_t cachedByteCount = fMaxBytes; in purgeUnlockedResources()
602 fMaxBytes = tmpByteBudget; in purgeUnlockedResources()
604 fMaxBytes = cachedByteCount; in purgeUnlockedResources()
/external/skia/src/core/
DSkImageFilterCache.cpp33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl()
86 while (fCurrentBytes > fMaxBytes) { in set()
147 size_t fMaxBytes; member in __anon4e71404a0311::CacheImpl
/external/skqp/src/core/
DSkImageFilterCache.cpp33 CacheImpl(size_t maxBytes) : fMaxBytes(maxBytes), fCurrentBytes(0) { } in CacheImpl()
88 while (fCurrentBytes > fMaxBytes) { in set()
150 size_t fMaxBytes; member in __anon1237dd610311::CacheImpl
/external/skia/src/gpu/
DGrResourceCache.cpp129 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()
636 if (desiredHeadroomBytes > fMaxBytes) { in purgeToMakeHeadroom()
651 if (projectedBudget + desiredHeadroomBytes <= fMaxBytes) { in purgeToMakeHeadroom()
707 const size_t cachedByteCount = fMaxBytes; in purgeUnlockedResources()
708 fMaxBytes = tmpByteBudget; in purgeUnlockedResources()
710 fMaxBytes = cachedByteCount; in purgeUnlockedResources()
864 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats()
[all …]
DGrResourceCache.h109 size_t getMaxResourceBytes() const { return fMaxBytes; } in getMaxResourceBytes()
177 bool overBudget() const { return fBudgetedBytes > fMaxBytes; } in overBudget()
276 bool wouldFit(size_t bytes) const { return fBudgetedBytes+bytes <= fMaxBytes; } in wouldFit()
361 size_t fMaxBytes = kDefaultMaxSize; variable
/external/skqp/tools/gpu/
DGrTest.cpp162 float byteUtilization = (100.f * fBudgetedBytes) / fMaxBytes; in dumpStats()
164 out->appendf("Budget: %d items %d bytes\n", fMaxCount, (int)fMaxBytes); in dumpStats()