Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkTypeface.cpp101 SkVarFontCache() : fLRUCache(MAX_VARFONT_CACHE_SIZE) {} in SkVarFontCache()
126 auto cached = fLRUCache.find(hash); in GetVarFont()
133 fLRUCache.insert(hash, varTypeface); in GetVarFont()
142 SkLRUCache<uint32_t, sk_sp<SkTypeface>> fLRUCache; member in __anon0e8127d50111::SkVarFontCache
/third_party/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp1469 : fLRUCache(lruCache), fMutex(mutex)
1484 return fLRUCache.find(fontId);
1487 return fLRUCache.insert(fontId, std::move(hbFont));
1490 fLRUCache.reset();
1493 SkLRUCache<uint32_t, HBFont>& fLRUCache; member in __anon1e1a26b20111::HBLockedFaceCache