Searched refs:skGlyph (Results 1 – 9 of 9) sorted by relevance
/external/skqp/src/gpu/ |
D | GrGlyph.h | 52 static MaskStyle MaskStyleFromSkGlyph(const SkGlyph& skGlyph) { in MaskStyleFromSkGlyph() 53 return (SkMask::Format)skGlyph.fMaskFormat == SkMask::kSDF_Format in MaskStyleFromSkGlyph() 58 GrGlyph(const SkGlyph& skGlyph) in GrGlyph() 59 : fPackedID{skGlyph.getPackedID()} in GrGlyph() 60 , fMaskFormat{FormatFromSkGlyph(skGlyph)} 61 , fMaskStyle{MaskStyleFromSkGlyph(skGlyph)} 62 , fBounds{BoundsFromSkGlyph(skGlyph)} {}
|
/external/skqp/src/gpu/text/ |
D | GrStrikeCache.h | 33 GrGlyph* getGlyph(const SkGlyph& skGlyph) { in getGlyph() argument 34 GrGlyph* glyph = fCache.find(skGlyph.getPackedID()); in getGlyph() 36 glyph = this->generateGlyph(skGlyph); in getGlyph() 52 const SkGlyph& skGlyph = GrToSkGlyph(cache, packed); in getGlyph() local 53 glyph = this->generateGlyph(skGlyph); in getGlyph()
|
D | GrStrikeCache.cpp | 175 GrGlyph* GrTextStrike::generateGlyph(const SkGlyph& skGlyph) { in generateGlyph() argument 176 GrGlyph* grGlyph = fAlloc.make<GrGlyph>(skGlyph); in generateGlyph() 224 const SkGlyph& skGlyph = GrToSkGlyph(cache, glyph->fPackedID); in addGlyphToAtlas() local 230 if (!get_packed_glyph_image(cache, skGlyph, glyph->width(), glyph->height(), in addGlyphToAtlas()
|
D | GrTextBlob.h | 439 const SkGlyph& skGlyph, 444 const SkGlyph& skGlyph,
|
/external/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 141 GrDrawOpAtlas::ErrorCode GrAtlasManager::addGlyphToAtlas(const SkGlyph& skGlyph, in addGlyphToAtlas() argument 147 if (skGlyph.image() == nullptr) { in addGlyphToAtlas() 152 GrMaskFormat glyphFormat = GrGlyph::FormatFromSkGlyph(skGlyph.maskFormat()); in addGlyphToAtlas() 158 const int width = skGlyph.width() + 2*padding; in addGlyphToAtlas() 159 const int height = skGlyph.height() + 2*padding; in addGlyphToAtlas() 172 get_packed_glyph_image(skGlyph, rowBytes, expectedMaskFormat, dataPtr); in addGlyphToAtlas()
|
D | GrTextBlob.cpp | 396 const SkGlyph& skGlyph = *metricsAndImages.glyph(grGlyph->fPackedID); in regenerateAtlas() local 398 skGlyph, grGlyph, srcPadding, target->resourceProvider(), in regenerateAtlas() 530 const SkGlyph* const skGlyph = variant; in Make() local 532 skGlyph->glyphRect().offset(SkScalarRoundToInt(x), SkScalarRoundToInt(y)); in Make() 535 glyphIDs[goodPosCount].packedGlyphID = skGlyph->getPackedID(); in Make() 911 SkGlyph* skGlyph = variant; in Make() local 912 int16_t l = skGlyph->left(), in Make() 913 t = skGlyph->top(), in Make() 914 r = l + skGlyph->width(), in Make() 915 b = t + skGlyph->height(); in Make() [all …]
|
D | GrAtlasManager.h | 51 GrDrawOpAtlas::ErrorCode addGlyphToAtlas(const SkGlyph& skGlyph,
|
/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 661 const SkGlyph& skGlyph, SkPoint origin) { in appendDeviceSpaceGlyph() argument 662 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendDeviceSpaceGlyph() 673 const SkGlyph& skGlyph, in appendSourceSpaceGlyph() argument 676 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendSourceSpaceGlyph()
|
/external/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 131 SkGlyphID skGlyph = SkTo<SkGlyphID>(hbGlyph); in skhb_glyph_h_advance() local 133 font.getWidths(&skGlyph, 1, &advance); in skhb_glyph_h_advance() 188 SkGlyphID skGlyph = SkTo<SkGlyphID>(hbGlyph); in skhb_glyph_extents() local 190 font.getWidths(&skGlyph, 1, nullptr, &sk_bounds); in skhb_glyph_extents()
|