Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkStrikeCache.cpp523 int countNeeded = 0; in internalPurge() local
525 countNeeded = fCacheCount - fCacheCountLimit; in internalPurge()
527 countNeeded = SkMax32(countNeeded, fCacheCount >> 2); in internalPurge()
531 if (!countNeeded && !bytesNeeded) { in internalPurge()
541 while (node != nullptr && (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()
/external/skia/src/core/
DSkStrikeCache.cpp548 int countNeeded = 0; in internalPurge() local
550 countNeeded = fCacheCount - fCacheCountLimit; in internalPurge()
552 countNeeded = SkMax32(countNeeded, fCacheCount >> 2); in internalPurge()
556 if (!countNeeded && !bytesNeeded) { in internalPurge()
566 while (node != nullptr && (bytesFreed < bytesNeeded || countFreed < countNeeded)) { in internalPurge()