Home
last modified time | relevance | path

Searched refs:FontCache (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontCache.cpp57 FontCache::FontCache() in FontCache() function in WebCore::FontCache
67 FontCache* FontCache::fontCache() in fontCache()
69 DEFINE_STATIC_LOCAL(FontCache, globalFontCache, ()); in fontCache()
73 FontPlatformData* FontCache::getFontPlatformData(const FontDescription& fontDescription, in getFontPlatformData()
118 …HashMap<FontCache::FontFileKey, RefPtr<OpenTypeVerticalData>, WTF::IntHash<FontCache::FontFileKey>…
126 PassRefPtr<OpenTypeVerticalData> FontCache::getVerticalData(const FontFileKey& key, const FontPlatf… in getVerticalData()
143 PassRefPtr<SimpleFontData> FontCache::getFontData(const FontDescription& fontDescription, const Ato… in getFontData()
151 PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPlatformData* platform… in fontDataFromFontPlatformData()
164 bool FontCache::isPlatformFontAvailable(const FontDescription& fontDescription, const AtomicString&… in isPlatformFontAvailable()
170 SimpleFontData* FontCache::getNonRetainedLastResortFallbackFont(const FontDescription& fontDescript… in getNonRetainedLastResortFallbackFont()
[all …]
DFontCache.h67 class PLATFORM_EXPORT FontCache {
70 WTF_MAKE_NONCOPYABLE(FontCache); WTF_MAKE_FAST_ALLOCATED;
72 static FontCache* fontCache();
120 FontCache();
121 ~FontCache();
161 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } in FontCachePurgePreventer()
162 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } in ~FontCachePurgePreventer()
DFontFallbackList.cpp46 , m_generation(FontCache::fontCache()->generation()) in FontFallbackList()
64 m_generation = FontCache::fontCache()->generation(); in invalidate()
74FontCache::fontCache()->releaseFontData(static_cast<const SimpleFontData*>(m_fontList[i].get())); in releaseFontData()
149 result = FontCache::fontCache()->getFontData(fontDescription, currFamily->family()); in getFontData()
170 return FontCache::fontCache()->getLastResortFallbackFont(fontDescription); in getFontData()
189 ASSERT(FontCache::fontCache()->generation() == m_generation); in fontDataAt()
202 RefPtr<FontData> fontData = FontCache::fontCache()->fontDataFromFontPlatformData(&platformData); in setPlatformFont()
DFontFastPath.cpp281 …RefPtr<SimpleFontData> characterFontData = FontCache::fontCache()->platformFallbackForCharacter(m_… in glyphDataAndPageForCharacter()
/external/chromium_org/content/common/
Dfont_cache_dispatcher_win.cc19 class FontCache { class
21 static FontCache* GetInstance() { in GetInstance()
22 return Singleton<FontCache>::get(); in GetInstance()
26 typedef std::map<base::string16, FontCache::CacheElement> FontNameToElement; in PreCacheFont()
71 typedef std::map<base::string16, FontCache::CacheElement> FontNameToElement; in ReleaseCachedFonts()
123 friend struct DefaultSingletonTraits<FontCache>;
125 FontCache() { in FontCache() function in content::__anon1dc17d880111::FontCache
132 DISALLOW_COPY_AND_ASSIGN(FontCache);
185 FontCache::GetInstance()->PreCacheFont(font, this); in OnPreCacheFont()
191 FontCache::GetInstance()->ReleaseCachedFonts(this); in OnReleaseCachedFonts()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DFontCacheSkia.cpp47 void FontCache::platformInit() in platformInit()
52 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescr… in platformFallbackForCharacter()
55 FontCache::SimpleFontFamily family; in platformFallbackForCharacter()
56 FontCache::getFontFamilyForCharacter(c, locale.getLanguage(), &family); in platformFallbackForCharacter()
91 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description,… in getLastResortFallbackFont()
108 PassRefPtr<SkTypeface> FontCache::createTypeface(const FontDescription& fontDescription, const Atom… in createTypeface()
135 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A… in createFontPlatformData()
DFontCacheSkiaWin.cpp45 FontCache::FontCache() in FontCache() function in WebCore::FontCache
79 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescr… in platformFallbackForCharacter()
193 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A… in createFontPlatformData()
DFontPlatformDataSkia.cpp61 return FontCache::fontCache()->getVerticalData(typeface()->uniqueID(), *this); in verticalData()
DFontCustomPlatformDataSkia.cpp97 …RefPtr<SkTypeface> typeface = adoptRef(FontCache::fontCache()->fontManager()->createFromStream(str… in create()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSFontSelector.cpp119 FontCache::fontCache()->addClient(this); in CSSFontSelector()
125 FontCache::fontCache()->removeClient(this); in ~CSSFontSelector()
172 return FontCache::getGenericFamilyNameForScript(FontFamilyNames::webkit_standard, script); in familyNameFromSettings()
175 return FontCache::getGenericFamilyNameForScript(genericFamilyName, script); in familyNameFromSettings()
207 return FontCache::fontCache()->getFontData(fontDescription, settingsFamilyName); in getFontData()
DCSSFontFaceSource.cpp138 …RefPtr<SimpleFontData> fontData = FontCache::fontCache()->getFontData(fontDescription, m_string, t… in getFontData()
221 …SimpleFontData* temporaryFont = FontCache::fontCache()->getNonRetainedLastResortFallbackFont(fontD… in getFontData()
262 return FontCache::fontCache()->isPlatformFontAvailable(fontDescription, m_string); in isLocalFontAvailable()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
DFontCacheAndroidTest.cpp23 FontCache* fontCache = FontCache::fontCache(); in TEST()
DFontCacheAndroid.cpp72 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescr… in platformFallbackForCharacter()
81 AtomicString FontCache::getGenericFamilyNameForScript(const AtomicString& familyName, UScriptCode s… in getGenericFamilyNameForScript()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DFontCacheWin.cpp321 PassRefPtr<SimpleFontData> FontCache::fontDataFromDescriptionAndLogFont(const FontDescription& font… in fontDataFromDescriptionAndLogFont()
365 …GetLastResortFallbackFontProcData(FontCache* fontCache, const FontDescription* fontDescription, Fo… in GetLastResortFallbackFontProcData()
374 FontCache* m_fontCache;
376 FontCache::ShouldRetain m_shouldRetain;
388 void FontCache::platformInit() in platformInit()
395 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescr… in platformFallbackForCharacter()
492 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& description,… in getLastResortFallbackFont()
562 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A… in createFontPlatformData()
DFontPlatformDataWin.cpp435 return FontCache::fontCache()->useSubpixelPositioning(); in defaultUseSubpixelPositioning()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/linux/
DFontCacheLinux.cpp37 void FontCache::getFontFamilyForCharacter(UChar32 c, const char* preferredLocale, FontCache::Simple… in getFontFamilyForCharacter()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DFontCacheMac.mm31 #import "platform/fonts/FontCache.h"
57 FontCache::fontCache()->invalidate();
62 ASSERT_UNUSED(observer, observer == FontCache::fontCache());
67 void FontCache::platformInit()
93 PassRefPtr<SimpleFontData> FontCache::platformFallbackForCharacter(const FontDescription& fontDescr…
176 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescript…
194 FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const A…
DComplexTextControllerCoreText.mm30 #include "platform/fonts/FontCache.h"
65 // FontData, so this loop does not hit the FontCache.
278 …runFontData = FontCache::fontCache()->getFontData(m_font.fontDescription(), fontName.get(), false,…
283 …runFontData = FontCache::fontCache()->fontDataFromFontPlatformData(&runFontPlatformData, DoNotReta…
DSimpleFontDataMac.mm36 #import "platform/fonts/FontCache.h"
295 FontCache::fontCache()->releaseFontData(m_derivedFontData->smallCaps.get());
298 FontCache::fontCache()->releaseFontData(m_derivedFontData->emphasisMark.get());
332 return FontCache::fontCache()->fontDataFromFontPlatformData(&scaledFontData);
/external/chromium_org/third_party/WebKit/Source/web/
DWebFontCache.cpp43 FontCache::fontCache()->invalidate(); in clear()
/external/chromium_org/tools/valgrind/drmemory/
Dsuppressions.txt354 *!*FontCache::CacheElement::~CacheElement
360 content.dll!content::*::FontCache::PreCacheFont
/external/chromium_org/third_party/WebKit/Source/platform/
Dblink_platform.gypi305 'fonts/FontCache.cpp',
306 'fonts/FontCache.h',
Dblink_platform.target.linux-mips.mk190 third_party/WebKit/Source/platform/fonts/FontCache.cpp \
Dblink_platform.target.linux-x86.mk190 third_party/WebKit/Source/platform/fonts/FontCache.cpp \
Dblink_platform.target.darwin-mips.mk190 third_party/WebKit/Source/platform/fonts/FontCache.cpp \

12