Home
last modified time | relevance | path

Searched refs:packedGlyphID (Results 1 – 4 of 4) sorted by relevance

/external/skqp/src/core/
DSkStrike.cpp58 SkPackedGlyphID packedGlyphID{glyphID, x, y}; in isGlyphCached() local
59 return fGlyphMap.find(packedGlyphID) != nullptr; in isGlyphCached()
68 SkPackedGlyphID packedGlyphID(glyphID); in getGlyphIDAdvance() local
69 return *this->lookupByPackedGlyphID(packedGlyphID, kJustAdvance_MetricsType); in getGlyphIDAdvance()
74 SkPackedGlyphID packedGlyphID(glyphID); in getGlyphIDMetrics() local
75 return *this->lookupByPackedGlyphID(packedGlyphID, kFull_MetricsType); in getGlyphIDMetrics()
80 SkPackedGlyphID packedGlyphID(glyphID, x, y); in getGlyphIDMetrics() local
81 return *this->lookupByPackedGlyphID(packedGlyphID, kFull_MetricsType); in getGlyphIDMetrics()
91 SkGlyph* SkStrike::lookupByPackedGlyphID(SkPackedGlyphID packedGlyphID, MetricsType type) { in lookupByPackedGlyphID() argument
92 SkGlyph* glyphPtr = fGlyphMap.findOrNull(packedGlyphID); in lookupByPackedGlyphID()
[all …]
DSkStrike.h183 SkGlyph* lookupByPackedGlyphID(SkPackedGlyphID packedGlyphID, MetricsType type);
187 SkGlyph* allocateNewGlyph(SkPackedGlyphID packedGlyphID, MetricsType type);
DSkRemoteGlyphCache.cpp538 SkPackedGlyphID packedGlyphID = fIsSubpixel ? SkPackedGlyphID{glyphID, lookupPoint} in getGlyphMetrics()
541 return this->findGlyph(packedGlyphID); in getGlyphMetrics()
/external/skia/src/core/
DSkScalerCache.cpp40 std::tuple<SkGlyph*, size_t> SkScalerCache::makeGlyph(SkPackedGlyphID packedGlyphID) { in makeGlyph() argument
41 SkGlyph* glyph = fAlloc.make<SkGlyph>(packedGlyphID); in makeGlyph()
46 std::tuple<SkGlyph*, size_t> SkScalerCache::glyph(SkPackedGlyphID packedGlyphID) { in glyph() argument
47 SkGlyph* glyph = fGlyphMap.findOrNull(packedGlyphID); in glyph()
50 std::tie(glyph, bytes) = this->makeGlyph(packedGlyphID); in glyph()