Home
last modified time | relevance | path

Searched refs:platformData (Results 1 – 25 of 49) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/
DFontCache.cpp221 static unsigned hash(const FontPlatformData& platformData) in hash()
223 return platformData.hash(); in hash()
260 SimpleFontData* FontCache::getCachedFontData(const FontPlatformData* platformData) in getCachedFontData() argument
262 if (!platformData) in getCachedFontData()
270 FontDataCache::iterator result = gFontDataCache->find(*platformData); in getCachedFontData()
272 pair<SimpleFontData*, unsigned> newValue(new SimpleFontData(*platformData), 1); in getCachedFontData()
273 gFontDataCache->set(*platformData, newValue); in getCachedFontData()
289 FontDataCache::iterator it = gFontDataCache->find(fontData->platformData()); in releaseFontData()
315 gFontDataCache->remove(fontData->platformData()); in purgeInactiveFontData()
335 …tPlatformDataCache::iterator platformData = gFontPlatformDataCache->begin(); platformData != platf… in purgeInactiveFontData() local
[all …]
DFontFallbackList.cpp131 void FontFallbackList::setPlatformFont(const FontPlatformData& platformData) in setPlatformFont() argument
135 const FontData* fontData = fontCache()->getCachedFontData(&platformData); in setPlatformFont()
/external/webkit/WebCore/platform/graphics/qt/
DFontCacheQt.cpp186 FontPlatformData* platformData = gFontPlatformDataCache->get(key); in getCachedFontPlatformData() local
187 if (!platformData) { in getCachedFontPlatformData()
188 platformData = new FontPlatformData(description); in getCachedFontPlatformData()
189 gFontPlatformDataCache->add(key, platformData); in getCachedFontPlatformData()
191 return platformData; in getCachedFontPlatformData()
234 FontPlatformDataCacheKey key(fontData->platformData()); in releaseFontData()
255 FontPlatformDataCacheKey key = (*it)->platformData(); in purgeInactiveFontData()
261 FontPlatformData* platformData = gFontPlatformDataCache->take(key); in purgeInactiveFontData() local
262 if (platformData) in purgeInactiveFontData()
263 delete platformData; in purgeInactiveFontData()
/external/webkit/WebCore/platform/graphics/chromium/
DUniscribeHelperTextRun.cpp43 font.primaryFont()->platformData().hfont(), in UniscribeHelperTextRun()
44 font.primaryFont()->platformData().scriptCache(), in UniscribeHelperTextRun()
45 font.primaryFont()->platformData().scriptFontProperties()) in UniscribeHelperTextRun()
120 m_hfonts.append(simpleFontData->platformData().hfont()); in nextWinFontData()
121 m_scriptCaches.append(simpleFontData->platformData().scriptCache()); in nextWinFontData()
122 m_fontProperties.append(simpleFontData->platformData().scriptFontProperties()); in nextWinFontData()
DGlyphPageTreeNodeChromiumWin.cpp75 HGDIOBJ oldFont = SelectObject(dc, fontData->platformData().hfont()); in fillBMPGlyphs()
83 if (ChromiumBridge::ensureFontLoaded(fontData->platformData().hfont())) in fillBMPGlyphs()
193 fontData->platformData().hfont(), in fillNonBMPGlyphs()
194 fontData->platformData().scriptCache(), in fillNonBMPGlyphs()
195 fontData->platformData().scriptFontProperties()); in fillNonBMPGlyphs()
DFontLinux.cpp87 font->platformData().setupPaint(&paint); in drawGlyphs()
99 font->platformData().setupPaint(&paint); in drawGlyphs()
291 const FontPlatformData& platformData = fontData->fontDataForCharacter(' ')->platformData(); in setupFontForScriptRun() local
292 m_item.face = platformData.harfbuzzFace(); in setupFontForScriptRun()
293 void* opaquePlatformData = const_cast<FontPlatformData*>(&platformData); in setupFontForScriptRun()
DGlyphPageTreeNodeLinux.cpp51 fontData->platformData().setupPaint(&paint); in fill()
DFontChromiumWin.cpp218 m_oldFont = ::SelectObject(m_hdc, m_font->platformData().hfont()); in TransparencyAwareGlyphPainter()
251 return paintSkiaText(m_graphicsContext, m_font->platformData().hfont(), in drawGlyphs()
412 ChromiumBridge::ensureFontLoaded(font->platformData().hfont()); in drawGlyphs()
/external/webkit/WebCore/platform/graphics/mac/
DFontMac.mm60 const FontPlatformData& platformData = font->platformData();
63 drawFont = [platformData.font() screenFont];
64 if (drawFont != platformData.font())
67 … [[[platformData.font() fontDescriptor] fontAttributes] objectForKey:NSFontNameAttribute]);
69 drawFont = [platformData.font() printerFont];
70 if (drawFont != platformData.font())
72 … [[[platformData.font() fontDescriptor] fontAttributes] objectForKey:NSFontNameAttribute]);
75 CGContextSetFont(cgContext, platformData.cgFont());
82 if (platformData.m_syntheticOblique)
90 CGContextSetFontSize(cgContext, platformData.m_size);
DFontCacheMac.mm96 …const FontPlatformData& platformData = font.fontDataAt(0)->fontDataForCharacter(characters[0])->pl…
97 NSFont *nsFont = platformData.font();
122 if (platformData.m_syntheticBold)
124 if (platformData.m_syntheticOblique)
154 FontPlatformData* platformData = 0;
156 while (currFamily && !platformData) {
160 for (int j = 0; j < 3 && !platformData; ++j)
162 platformData = getCachedFontPlatformData(font.fontDescription(), geezaStr);
167 return platformData;
DGlyphPageTreeNodeMac.cpp44 … wkGetGlyphsForCharacters(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength); in fill()
/external/webkit/WebCore/platform/graphics/gtk/
DGlyphPageTreeNodePango.cpp81 …if (!fontData->platformData().m_font || fontData->platformData().m_font == reinterpret_cast<PangoF… in fill()
86 …Glyph glyph = pango_font_get_glyph(fontData->platformData().m_font, fontData->platformData().m_con… in fill()
DGlyphPageTreeNodeGtk.cpp45 FT_Face face = cairo_ft_scaled_font_lock_face(fontData->platformData().m_scaledFont); in fill()
60 cairo_ft_scaled_font_unlock_face(fontData->platformData().m_scaledFont); in fill()
DFontGtk.cpp141 if (font->primaryFont()->platformData().m_pattern) { in setPangoAttributes()
142 …n* desc = pango_fc_font_description_from_pattern(font->primaryFont()->platformData().m_pattern, FA… in setPangoAttributes()
147 if (font->primaryFont()->platformData().m_font) { in setPangoAttributes()
148 … PangoFontDescription* desc = pango_font_describe(font->primaryFont()->platformData().m_font); in setPangoAttributes()
DFontCacheGtk.cpp40 FontPlatformData* prim = const_cast<FontPlatformData*>(&font.primaryFont()->platformData()); in getFontDataForCharacters()
/external/webkit/WebCore/platform/graphics/win/
DFontCGWin.cpp184 SelectObject(hdc, font->platformData().hfont()); in drawGDIGlyphs()
212 …xform.eM21 = font->platformData().syntheticOblique() ? -tanf(syntheticObliqueAngle * piFloat / 180… in drawGDIGlyphs()
230 if (font->platformData().syntheticOblique()) in drawGDIGlyphs()
300 if (font->platformData().useGDI()) { in drawGlyphs()
309 const FontPlatformData& platformData = font->platformData(); in drawGlyphs() local
311 CGContextSetFont(cgContext, platformData.cgFont()); in drawGlyphs()
317 if (platformData.syntheticOblique()) { in drawGlyphs()
327 CGContextSetFontSize(cgContext, platformData.size()); in drawGlyphs()
328 …wkSetCGContextFontRenderingStyle(cgContext, font->isSystemFont(), false, font->platformData().useG… in drawGlyphs()
DGlyphPageTreeNodeCGWin.cpp46 wkGetGlyphs(fontData->platformData().cgFont(), buffer, localGlyphBuffer, bufferLength); in fill()
DGlyphPageTreeNodeCairoWin.cpp47 SelectObject(dc, fontData->platformData().hfont()); in fill()
DUniscribeController.cpp247 HFONT hfont = fontData->platformData().hfont(); in shapeAndPlaceItem()
268 const float cLogicalScale = fontData->platformData().useGDI() ? 1.0f : 32.0f; in shapeAndPlaceItem()
418 HFONT hfont = fontData->platformData().hfont(); in shape()
/external/webkit/WebCore/platform/network/win/
DResourceHandleWin.cpp247 PlatformDataStruct platformData; in onRequestComplete() local
248 platformData.errorString = 0; in onRequestComplete()
249 platformData.error = 0; in onRequestComplete()
250 platformData.loaded = ok; in onRequestComplete()
257 if (!InternetGetLastResponseInfo(&platformData.error, 0, &errorStringChars)) { in onRequestComplete()
259 platformData.errorString = new TCHAR[errorStringChars]; in onRequestComplete()
260 … InternetGetLastResponseInfo(&platformData.error, platformData.errorString, &errorStringChars); in onRequestComplete()
/external/webkit/WebCore/platform/graphics/android/
DFontAndroid.cpp49 font->platformData().setupPaint(paint); in updateForFont()
185 primaryFont()->platformData().setupPaint(&paint); in selectionRectForComplexText()
218 primaryFont()->platformData().setupPaint(&paint); in floatWidthForComplexText()
234 primaryFont()->platformData().setupPaint(&paint); in offsetForPositionForComplexText()
DGlyphMapAndroid.cpp53 fontData->platformData().setupPaint(&paint); in fill()
/external/webkit/WebCore/platform/graphics/wince/
DGlyphPageTreeNodeWince.cpp41 if (fontData->platformData().hfont()) { in fill()
42 DWORD fontCodePages = fontData->platformData().codePages(); in fill()
/external/webkit/WebCore/platform/
DSharedBuffer.cpp80 return platformData(); in data()
131 inline const char* SharedBuffer::platformData() const in platformData() function in WebCore::SharedBuffer
/external/webkit/WebCore/platform/cf/
DSharedBufferCF.cpp64 const char* SharedBuffer::platformData() const in platformData() function in WebCore::SharedBuffer

12