• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/platform/graphics/

Lines Matching defs:FontCache

31 #include "FontCache.h"
88 FontCache& fontCache()
90 static NeverDestroyed<FontCache> globalFontCache;
94 FontCache::FontCache()
219 FontPlatformData* FontCache::getCachedFontPlatformData(const FontDescription& fontDescription,
270 static unsigned hash(const FontCache::FontFileKey& fontFileKey)
272 return PtrHash<const FontCache::FontFileKey*>::hash(&fontFileKey);
275 static bool equal(const FontCache::FontFileKey& a, const FontCache::FontFileKey& b)
283 struct FontVerticalDataCacheKeyTraits : WTF::GenericHashTraits<FontCache::FontFileKey> {
286 static const FontCache::FontFileKey& emptyValue()
288 static NeverDestroyed<FontCache::FontFileKey> key = nullAtom;
291 static void constructDeletedValue(FontCache::FontFileKey& slot)
293 new (NotNull, &slot) FontCache::FontFileKey(HashTableDeletedValue);
295 static bool isDeletedValue(const FontCache::FontFileKey& value)
301 typedef HashMap<FontCache::FontFileKey, RefPtr<OpenTypeVerticalData>, FontVerticalDataCacheKeyHash, FontVerticalDataCacheKeyTraits> FontVerticalDataCache;
309 PassRefPtr<OpenTypeVerticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatformData& platformData)
373 PassRefPtr<SimpleFontData> FontCache::getCachedFontData(const FontDescription& fontDescription, const AtomicString& family, bool checkingAlternateName, ShouldRetain shouldRetain)
382 PassRefPtr<SimpleFontData> FontCache::getCachedFontData(const FontPlatformData* platformData, ShouldRetain shouldRetain)
426 SimpleFontData* FontCache::getNonRetainedLastResortFallbackFont(const FontDescription& fontDescription)
431 void FontCache::releaseFontData(const SimpleFontData* fontData)
450 void FontCache::purgeInactiveFontDataIfNeeded()
460 void FontCache::purgeInactiveFontData(int count)
540 size_t FontCache::fontDataCount()
547 size_t FontCache::inactiveFontDataCount()
554 PassRefPtr<FontData> FontCache::getFontData(const FontDescription& description, int& familyIndex, FontSelector* fontSelector)
598 void FontCache::addClient(FontSelector* client)
607 void FontCache::removeClient(FontSelector* client)
617 unsigned short FontCache::generation()
622 void FontCache::invalidate()