Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkStrikeCache.cpp211 int countNeeded = 0; in internalPurge() local
213 countNeeded = fCacheCount - fCacheCountLimit; in internalPurge()
215 countNeeded = std::max(countNeeded, fCacheCount >> 2); in internalPurge()
219 if (!countNeeded && !bytesNeeded) { in internalPurge()
229 while (strike != nullptr && (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()