Searched refs:GrGlyph (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/gpu/text/ |
D | GrAtlasGlyphCache.h | 34 inline GrGlyph* getGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in getGlyph() 36 GrGlyph* glyph = fCache.find(packed); in getGlyph() 47 inline GrGlyph* getGlyph(GrGlyph::PackedID packed, in getGlyph() 50 GrGlyph* glyph = fCache.find(packed); in getGlyph() 67 bool addGlyphToAtlas(GrDrawOp::Target*, GrGlyph*, SkGlyphCache*, 86 SkTDynamicHash<GrGlyph, GrGlyph::PackedID> fCache; 94 static const SkGlyph& GrToSkGlyph(SkGlyphCache* cache, GrGlyph::PackedID id) { in GrToSkGlyph() 95 return cache->getGlyphIDMetrics(GrGlyph::UnpackID(id), in GrToSkGlyph() 96 GrGlyph::UnpackFixedX(id), in GrToSkGlyph() 97 GrGlyph::UnpackFixedY(id)); in GrToSkGlyph() [all …]
|
D | GrAtlasGlyphCache.cpp | 411 SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); in ~GrAtlasTextStrike() 418 GrGlyph* GrAtlasTextStrike::generateGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in generateGlyph() 421 if (GrGlyph::kDistance_MaskStyle == GrGlyph::UnpackMaskStyle(packed)) { in generateGlyph() 432 GrGlyph* glyph = fPool.make<GrGlyph>(); in generateGlyph() 439 SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); in removeID() 451 GrGlyph* glyph, in addGlyphToAtlas() 464 if (GrGlyph::kDistance_MaskStyle == GrGlyph::UnpackMaskStyle(glyph->fPackedID)) { in addGlyphToAtlas()
|
D | GrTextUtils.cpp | 172 GrGlyph::PackedID id = GrGlyph::Pack(skGlyph.getGlyphID(), in BmpAppendGlyph() 175 GrGlyph::kCoverage_MaskStyle); in BmpAppendGlyph() 176 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, cache); in BmpAppendGlyph() 475 GrGlyph::PackedID id = GrGlyph::Pack(skGlyph.getGlyphID(), in DfAppendGlyph() 478 GrGlyph::kDistance_MaskStyle); in DfAppendGlyph() 479 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, glyphCache); in DfAppendGlyph()
|
D | GrAtlasTextBlob_regenInOp.cpp | 22 inline void regen_vertices(intptr_t vertex, const GrGlyph* glyph, size_t vertexStride, in regen_vertices() 172 GrGlyph* glyph = nullptr; in regenInOp() 180 GrGlyph::PackedID id = fGlyphs[glyphOffset]->fPackedID; in regenInOp()
|
D | GrAtlasTextBlob.cpp | 25 glyphCount * sizeof(GrGlyph**) + in Make() 39 cacheBlob->fGlyphs = reinterpret_cast<GrGlyph**>(cacheBlob->fVertices + verticesCount); in Make() 74 GrGlyph* glyph, in appendGlyph() 161 void GrAtlasTextBlob::appendLargeGlyph(GrGlyph* glyph, SkGlyphCache* cache, const SkGlyph& skGlyph, in appendLargeGlyph()
|
D | GrAtlasTextBlob.h | 167 GrGlyph* glyph, 285 void appendLargeGlyph(GrGlyph* glyph, SkGlyphCache* cache, const SkGlyph& skGlyph, 534 GrGlyph** fGlyphs;
|
/external/skia/src/gpu/ |
D | GrGlyph.h | 27 struct GrGlyph { struct 43 void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) { in init() argument 95 static inline const GrGlyph::PackedID& GetKey(const GrGlyph& glyph) { in GetKey() argument 99 static inline uint32_t Hash(GrGlyph::PackedID key) { in Hash() argument
|
/external/skia/gn/ |
D | gpu.gni | 88 "$_src/gpu/GrGlyph.h",
|