Home
last modified time | relevance | path

Searched refs:fLRUCache (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/modules/skparagraph/src/
H A DFontCollection.cpp367 :fLRUCache(lruCache), fMutex(mutex)
381 auto face = fLRUCache.find(fontId);
386 auto face = fLRUCache.insert(fontId, std::move(hbFont));
391 fLRUCache.reset();
395 SkLRUCache<uint32_t, std::shared_ptr<RSTypeface>>& fLRUCache; member in skia::textlayout::SkLRUCacheMgr
/third_party/skia/src/core/
H A 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 __anon18732::SkVarFontCache
/third_party/skia/modules/skshaper/src/
H A DSkShaper_harfbuzz.cpp1472 : fLRUCache(lruCache), fMutex(mutex)
1487 return fLRUCache.find(fontId);
1490 return fLRUCache.insert(fontId, std::move(hbFont));
1493 fLRUCache.reset();
1496 SkLRUCache<uint32_t, HBFont>& fLRUCache; member in __anon18616::HBLockedFaceCache

Completed in 6 milliseconds