Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkStrike.cpp92 SkGlyph* glyphPtr = fGlyphMap.findOrNull(packedGlyphID); in lookupByPackedGlyphID() local
94 if (nullptr == glyphPtr) { in lookupByPackedGlyphID()
95 glyphPtr = this->allocateNewGlyph(packedGlyphID, type); in lookupByPackedGlyphID()
96 fGlyphMap.set(glyphPtr); in lookupByPackedGlyphID()
98 if (type == kFull_MetricsType && glyphPtr->isJustAdvance()) { in lookupByPackedGlyphID()
99 fScalerContext->getMetrics(glyphPtr); in lookupByPackedGlyphID()
102 return glyphPtr; in lookupByPackedGlyphID()
108 SkGlyph* glyphPtr = fAlloc.make<SkGlyph>(packedGlyphID); in allocateNewGlyph() local
109 fGlyphMap.set(glyphPtr); in allocateNewGlyph()
112 return glyphPtr; in allocateNewGlyph()
[all …]
DSkRemoteGlyphCache.cpp502 SkGlyph* glyphPtr = fGlyphMap.findOrNull(glyphID); in findGlyph() local
503 if (glyphPtr == nullptr) { in findGlyph()
504 glyphPtr = fAlloc.make<SkGlyph>(glyphID); in findGlyph()
505 fGlyphMap.set(glyphPtr); in findGlyph()
507 fContext->getMetrics(glyphPtr); in findGlyph()
510 return *glyphPtr; in findGlyph()