Home
last modified time | relevance | path

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

/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() argument
95 static const SkPackedGlyphID& GetKey(const GrGlyph& glyph) { in GetKey() argument
/external/skia/src/gpu/text/
DGrStrikeCache.cpp37 GrGlyph* GrTextStrike::getGlyph(SkPackedGlyphID packedGlyphID) { in getGlyph()
38 GrGlyph* grGlyph = fCache.findOrNull(packedGlyphID); in getGlyph()
40 grGlyph = fAlloc.make<GrGlyph>(packedGlyphID); in getGlyph()
DGrAtlasManager.h16 class GrGlyph; variable
47 bool hasGlyph(GrMaskFormat, GrGlyph*);
52 GrGlyph* grGlyph,
63 void addGlyphToBulkAndSetUseToken(GrDrawOpAtlas::BulkUseTokenUpdater*, GrMaskFormat, GrGlyph*,
DGrStrikeCache.h32 GrGlyph* getGlyph(SkPackedGlyphID);
37 static const SkPackedGlyphID& GetKey(const GrGlyph* glyph) { in GetKey()
45 SkTHashTable<GrGlyph*, SkPackedGlyphID, HashTraits> fCache;
DGrAtlasManager.cpp32 bool GrAtlasManager::hasGlyph(GrMaskFormat format, GrGlyph* glyph) { in hasGlyph()
66 GrMaskFormat grMaskFormat = GrGlyph::FormatFromSkGlyph(glyph.maskFormat()); in get_packed_glyph_image()
142 GrGlyph* grGlyph, in addGlyphToAtlas()
152 GrMaskFormat glyphFormat = GrGlyph::FormatFromSkGlyph(skGlyph.maskFormat()); in addGlyphToAtlas()
200 GrMaskFormat format, GrGlyph* glyph, in addGlyphToBulkAndSetUseToken()
DGrTextBlob.cpp90 void fill_transformed_vertices_2D(SkZip<Quad, const GrGlyph*, const VertexData> quadData, in fill_transformed_vertices_2D() argument
114 void fill_transformed_vertices_3D(SkZip<Quad, const GrGlyph*, const VertexData> quadData, in fill_transformed_vertices_3D() argument
303 GrGlyph* grGlyph;
313 SkSpan<const GrGlyph*> glyphs() const;
353 SkSpan<const GrGlyph*> GlyphVector::glyphs() const { in glyphs()
354 return SkMakeSpan(reinterpret_cast<const GrGlyph**>(fGlyphs.data()), fGlyphs.size()); in glyphs()
392 GrGlyph* grGlyph = variant.grGlyph; in regenerateAtlas()
702 const GrGlyph*, in direct_2D() argument
727 void generalized_direct_2D(SkZip<Quad, const GrGlyph*, const VertexData> quadData, in generalized_direct_2D() argument
1577 GrMaskFormat format = GrGlyph::FormatFromSkGlyph(glyph->maskFormat()); in addMultiMaskFormat()
[all …]
DGrTextBlob.h31 class GrGlyph; variable
/external/skia/src/gpu/
DGrGlyph.h16 class GrGlyph {
36 GrGlyph(SkPackedGlyphID packedGlyphID) : fPackedID(packedGlyphID) {} in GrGlyph() function
/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/skqp/gn/
Dgpu.gni105 "$_src/gpu/GrGlyph.h",
/external/skia/gn/
Dgpu.gni114 "$_src/gpu/GrGlyph.h",