Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyphCache_Globals.h30 fTotalMemoryUsed = 0; in SkGlyphCache_Globals()
50 size_t getTotalMemoryUsed() const { return fTotalMemoryUsed; } in getTotalMemoryUsed()
69 fTotalMemoryUsed > fCacheSizeLimit; in isOverBudget()
83 size_t fTotalMemoryUsed; variable
DSkGlyphCache.cpp501 this->internalPurge(fTotalMemoryUsed); in purgeAll()
672 if (fTotalMemoryUsed > fCacheSizeLimit) { in internalPurge()
673 bytesNeeded = fTotalMemoryUsed - fCacheSizeLimit; in internalPurge()
678 bytesNeeded = SkTMax(bytesNeeded, fTotalMemoryUsed >> 2); in internalPurge()
731 fTotalMemoryUsed += cache->fMemoryUsed; in internalAttachCacheToHead()
737 fTotalMemoryUsed -= cache->fMemoryUsed; in internalDetachCache()
780 SkASSERTF(fTotalMemoryUsed == computedBytes, "fTotalMemoryUsed: %d, computedBytes: %d", in validate()
781 fTotalMemoryUsed, computedBytes); in validate()