Home
last modified time | relevance | path

Searched refs:GrGlyph (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/text/
DGrStrikeCache.h33 GrGlyph* getGlyph(const SkGlyph& skGlyph) { in getGlyph()
34 GrGlyph* glyph = fCache.find(skGlyph.getPackedID()); in getGlyph()
45 GrGlyph* getGlyph(SkPackedGlyphID packed, in getGlyph()
47 GrGlyph* glyph = fCache.find(packed); in getGlyph()
64 GrStrikeCache*, GrAtlasManager*, GrGlyph*,
84 SkTDynamicHash<GrGlyph, SkPackedGlyphID> fCache;
95 GrGlyph* generateGlyph(const SkGlyph&);
DGrStrikeCache.cpp96 if (kA565_GrMaskFormat == GrGlyph::FormatFromSkGlyph(glyph) && in get_packed_glyph_image()
119 if (GrGlyph::FormatFromSkGlyph(glyph) != expectedMaskFormat) { in get_packed_glyph_image()
175 GrGlyph* GrTextStrike::generateGlyph(const SkGlyph& skGlyph) { in generateGlyph()
176 GrGlyph* grGlyph = fAlloc.make<GrGlyph>(skGlyph); in generateGlyph()
182 SkTDynamicHash<GrGlyph, SkPackedGlyphID>::Iter iter(&fCache); in removeID()
198 GrGlyph* glyph, in addGlyphToAtlas()
213 bool isSDFGlyph = GrGlyph::kDistance_MaskStyle == glyph->maskStyle(); in addGlyphToAtlas()
DGrAtlasManager.h16 struct GrGlyph;
59 bool hasGlyph(GrGlyph* glyph);
66 void addGlyphToBulkAndSetUseToken(GrDrawOpAtlas::BulkUseTokenUpdater*, GrGlyph*,
DGrAtlasManager.cpp59 bool GrAtlasManager::hasGlyph(GrGlyph* glyph) { in hasGlyph()
77 GrGlyph* glyph, in addGlyphToBulkAndSetUseToken()
DGrTextBlob.h28 struct GrGlyph;
287 void appendGlyph(GrGlyph* glyph, SkRect dstRect);
431 void switchSubRunIfNeededAndAppendGlyph(GrGlyph* glyph,
563 GrGlyph** fGlyphs;
DGrTextBlobVertexRegenerator.cpp44 static void regen_texcoords(char* vertex, size_t vertexStride, const GrGlyph* glyph, in regen_texcoords()
192 GrGlyph* glyph = nullptr; in doRegen()
DGrTextBlob.cpp36 size_t glyphs = sk_align<alignof(GrGlyph*)> (vertex + sizeof(char) * verticesCount); in Make()
37 size_t runs = sk_align<alignof(GrTextBlob::Run)>(glyphs + sizeof(GrGlyph*) * glyphCount); in Make()
51 blob->fGlyphs = SkTAddOffset<GrGlyph*>(blob.get(), glyphs); in Make()
/external/skqp/src/gpu/text/
DGrStrikeCache.h33 GrGlyph* getGlyph(const SkGlyph& skGlyph) { in getGlyph()
34 GrGlyph* glyph = fCache.find(skGlyph.getPackedID()); in getGlyph()
45 GrGlyph* getGlyph(SkPackedGlyphID packed, in getGlyph()
47 GrGlyph* glyph = fCache.find(packed); in getGlyph()
64 GrStrikeCache*, GrAtlasManager*, GrGlyph*,
84 SkTDynamicHash<GrGlyph, SkPackedGlyphID> fCache;
95 GrGlyph* generateGlyph(const SkGlyph&);
DGrStrikeCache.cpp96 if (kA565_GrMaskFormat == GrGlyph::FormatFromSkGlyph(glyph) && in get_packed_glyph_image()
119 if (GrGlyph::FormatFromSkGlyph(glyph) != expectedMaskFormat) { in get_packed_glyph_image()
175 GrGlyph* GrTextStrike::generateGlyph(const SkGlyph& skGlyph) { in generateGlyph()
176 GrGlyph* grGlyph = fAlloc.make<GrGlyph>(skGlyph); in generateGlyph()
182 SkTDynamicHash<GrGlyph, SkPackedGlyphID>::Iter iter(&fCache); in removeID()
198 GrGlyph* glyph, in addGlyphToAtlas()
213 bool isSDFGlyph = GrGlyph::kDistance_MaskStyle == glyph->maskStyle(); in addGlyphToAtlas()
DGrAtlasManager.h16 struct GrGlyph;
59 bool hasGlyph(GrGlyph* glyph);
66 void addGlyphToBulkAndSetUseToken(GrDrawOpAtlas::BulkUseTokenUpdater*, GrGlyph*,
DGrAtlasManager.cpp59 bool GrAtlasManager::hasGlyph(GrGlyph* glyph) { in hasGlyph()
77 GrGlyph* glyph, in addGlyphToBulkAndSetUseToken()
DGrTextBlob.h28 struct GrGlyph;
287 void appendGlyph(GrGlyph* glyph, SkRect dstRect);
431 void switchSubRunIfNeededAndAppendGlyph(GrGlyph* glyph,
535 GrGlyph** fGlyphs;
DGrTextBlobVertexRegenerator.cpp44 static void regen_texcoords(char* vertex, size_t vertexStride, const GrGlyph* glyph, in regen_texcoords()
192 GrGlyph* glyph = nullptr; in doRegen()
DGrTextBlob.cpp33 size_t glyphs = sk_align<alignof(GrGlyph*)> (vertex + sizeof(char) * verticesCount); in Make()
34 size_t runs = sk_align<alignof(GrTextBlob::Run)>(glyphs + sizeof(GrGlyph*) * glyphCount); in Make()
48 blob->fGlyphs = SkTAddOffset<GrGlyph*>(blob.get(), glyphs); in Make()
/external/skqp/src/gpu/
DGrGlyph.h19 struct GrGlyph { struct
54 ? GrGlyph::MaskStyle::kDistance_MaskStyle in MaskStyleFromSkGlyph() argument
55 : GrGlyph::MaskStyle::kCoverage_MaskStyle; in MaskStyleFromSkGlyph()
58 GrGlyph(const SkGlyph& skGlyph) in GrGlyph() function
95 static const SkPackedGlyphID& GetKey(const GrGlyph& glyph) { in GetKey() argument
/external/skia/src/gpu/
DGrGlyph.h19 struct GrGlyph { struct
54 ? GrGlyph::MaskStyle::kDistance_MaskStyle in MaskStyleFromSkGlyph() argument
55 : GrGlyph::MaskStyle::kCoverage_MaskStyle; in MaskStyleFromSkGlyph()
58 GrGlyph(const SkGlyph& skGlyph) in GrGlyph() argument
95 static const SkPackedGlyphID& GetKey(const GrGlyph& glyph) { in GetKey() argument
/external/skia/src/core/
DSkGlyphRunPainter.cpp725 void GrTextBlob::SubRun::appendGlyph(GrGlyph* glyph, SkRect dstRect) { in appendGlyph()
766 void GrTextBlob::Run::switchSubRunIfNeededAndAppendGlyph(GrGlyph* glyph, in switchSubRunIfNeededAndAppendGlyph()
788 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendDeviceSpaceGlyph()
802 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendSourceSpaceGlyph()
/external/skqp/src/core/
DSkGlyphRunPainter.cpp599 void GrTextBlob::SubRun::appendGlyph(GrGlyph* glyph, SkRect dstRect) { in appendGlyph()
640 void GrTextBlob::Run::switchSubRunIfNeededAndAppendGlyph(GrGlyph* glyph, in switchSubRunIfNeededAndAppendGlyph()
662 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendDeviceSpaceGlyph()
676 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendSourceSpaceGlyph()
/external/skia/gn/
Dgpu.gni107 "$_src/gpu/GrGlyph.h",
/external/skqp/gn/
Dgpu.gni105 "$_src/gpu/GrGlyph.h",