Home
last modified time | relevance | path

Searched refs:GrAtlasTextStrike (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/text/
DGrAtlasGlyphCache.h28 class GrAtlasTextStrike : public SkNVRefCnt<GrAtlasTextStrike> {
31 GrAtlasTextStrike(GrAtlasGlyphCache* owner, const SkDescriptor& fontScalerKey);
32 ~GrAtlasTextStrike();
79 static const SkDescriptor& GetKey(const GrAtlasTextStrike& ts) { in GetKey()
119 inline GrAtlasTextStrike* getStrike(const SkGlyphCache* cache) { in getStrike()
120 GrAtlasTextStrike* strike = fCache.find(cache->getDescriptor()); in getStrike()
163 bool addToAtlas(GrAtlasTextStrike* strike, GrDrawOpAtlas::AtlasID* id, GrDrawOp::Target* target, in addToAtlas()
220 GrAtlasTextStrike* generateStrike(const SkGlyphCache* cache) { in generateStrike()
221 GrAtlasTextStrike* strike = new GrAtlasTextStrike(this, cache->getDescriptor()); in generateStrike()
234 using StrikeHash = SkTDynamicHash<GrAtlasTextStrike, SkDescriptor>;
[all …]
DGrAtlasGlyphCache.cpp109 GrAtlasTextStrike* strike = &*iter; in HandleEviction()
115 fontCache->fCache.remove(GrAtlasTextStrike::GetKey(*strike)); in HandleEviction()
403 GrAtlasTextStrike::GrAtlasTextStrike(GrAtlasGlyphCache* owner, const SkDescriptor& key) in GrAtlasTextStrike() function in GrAtlasTextStrike
410 GrAtlasTextStrike::~GrAtlasTextStrike() { in ~GrAtlasTextStrike()
418 GrGlyph* GrAtlasTextStrike::generateGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in generateGlyph()
438 void GrAtlasTextStrike::removeID(GrDrawOpAtlas::AtlasID id) { in removeID()
450 bool GrAtlasTextStrike::addGlyphToAtlas(GrDrawOp::Target* target, in addGlyphToAtlas()
DGrTextUtils.h20 class GrAtlasTextStrike; variable
163 GrAtlasTextStrike**, const SkGlyph&, int left, int top,
167 GrAtlasTextStrike**, const SkGlyph&,
DGrTextUtils.cpp109 GrAtlasTextStrike* currStrike = nullptr; in DrawBmpText()
144 GrAtlasTextStrike* currStrike = nullptr; in DrawBmpPosText()
166 GrAtlasTextStrike** strike, const SkGlyph& skGlyph, in BmpAppendGlyph()
393 GrAtlasTextStrike* currStrike = nullptr; in DrawDFPosText()
467 GrAtlasTextStrike** strike, const SkGlyph& skGlyph, in DfAppendGlyph()
DGrAtlasTextBlob.h166 GrAtlasTextStrike* strike,
385 void setStrike(GrAtlasTextStrike* strike) { fStrike.reset(SkRef(strike)); } in setStrike()
386 GrAtlasTextStrike* strike() const { return fStrike.get(); } in strike()
453 sk_sp<GrAtlasTextStrike> fStrike;
DGrAtlasTextBlob.cpp73 GrAtlasTextStrike* strike, in appendGlyph()
506 SkASSERT_RELEASE(GrAtlasTextStrike::GetKey(*lSubRun.strike()) == in AssertEqual()
507 GrAtlasTextStrike::GetKey(*rSubRun.strike())); in AssertEqual()
DGrAtlasTextBlob_regenInOp.cpp147 GrAtlasTextStrike* strike = nullptr; in regenInOp()