Home
last modified time | relevance | path

Searched refs:packedGlyphID (Results 1 – 8 of 8) 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/gpu/text/
DGrStrikeCache.cpp37 GrGlyph* GrTextStrike::getGlyph(SkPackedGlyphID packedGlyphID) { in getGlyph() argument
38 GrGlyph* grGlyph = fCache.findOrNull(packedGlyphID); in getGlyph()
40 grGlyph = fAlloc.make<GrGlyph>(packedGlyphID); in getGlyph()
DGrTextBlob.cpp302 SkPackedGlyphID packedGlyphID; member
306 Variant(SkPackedGlyphID id) : packedGlyphID{id} {} in Variant()
362 variant.grGlyph = fStrike->getGlyph(variant.packedGlyphID); in packedGlyphIDToGrGlyph()
535 glyphIDs[goodPosCount].packedGlyphID = skGlyph->getPackedID(); in Make()
1721 glyphIDs[goodPosCount].packedGlyphID = skGlyph->getPackedID(); in Make()
/external/skia/src/core/
DSkGlyphBuffer.cpp91 for (auto [packedGlyphID, glyphID, pos] in startGPUDevice()
93 packedGlyphID = SkPackedGlyphID{glyphID, pos, roundingSpec.ignorePositionFieldMask}; in startGPUDevice()
105 for (auto [packedGlyphID, pos] in dumpInput()
107 msg.appendf("0x%x:(%a,%a), ", packedGlyphID.packedID().value(), pos.x(), pos.y()); in dumpInput()
DSkScalerCache.cpp39 std::tuple<SkGlyph*, size_t> SkScalerCache::glyph(SkPackedGlyphID packedGlyphID) { in glyph() argument
40 auto [digest, size] = this->digest(packedGlyphID); in glyph()
44 std::tuple<SkGlyphDigest, size_t> SkScalerCache::digest(SkPackedGlyphID packedGlyphID) { in digest() argument
45 SkGlyphDigest* digest = fDigestForPackedGlyphID.find(packedGlyphID); in digest()
51 SkGlyph* glyph = fAlloc.make<SkGlyph>(fScalerContext->makeGlyph(packedGlyphID)); in digest()
/external/skia/src/gpu/
DGrGlyph.h36 GrGlyph(SkPackedGlyphID packedGlyphID) : fPackedID(packedGlyphID) {} in GrGlyph() argument