Home
last modified time | relevance | path

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

/external/skqp/src/gpu/text/
DGrAtlasGlyphCache.h29 class GrAtlasTextStrike : public SkNVRefCnt<GrAtlasTextStrike> {
32 GrAtlasTextStrike(GrAtlasGlyphCache* owner, const SkDescriptor& fontScalerKey);
33 ~GrAtlasTextStrike();
80 static const SkDescriptor& GetKey(const GrAtlasTextStrike& ts) { in GetKey()
120 inline GrAtlasTextStrike* getStrike(const SkGlyphCache* cache) { in getStrike()
121 GrAtlasTextStrike* strike = fCache.find(cache->getDescriptor()); in getStrike()
173 bool addToAtlas(GrAtlasTextStrike* strike, GrDrawOpAtlas::AtlasID* id, in addToAtlas()
245 GrAtlasTextStrike* generateStrike(const SkGlyphCache* cache) { in generateStrike()
246 GrAtlasTextStrike* strike = new GrAtlasTextStrike(this, cache->getDescriptor()); in generateStrike()
259 using StrikeHash = SkTDynamicHash<GrAtlasTextStrike, SkDescriptor>;
[all …]
DGrAtlasGlyphCache.cpp106 GrAtlasTextStrike* strike = &*iter; in HandleEviction()
112 fontCache->fCache.remove(GrAtlasTextStrike::GetKey(*strike)); in HandleEviction()
402 GrAtlasTextStrike::GrAtlasTextStrike(GrAtlasGlyphCache* owner, const SkDescriptor& key) in GrAtlasTextStrike() function in GrAtlasTextStrike
409 GrAtlasTextStrike::~GrAtlasTextStrike() { in ~GrAtlasTextStrike()
417 GrGlyph* GrAtlasTextStrike::generateGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in generateGlyph()
437 void GrAtlasTextStrike::removeID(GrDrawOpAtlas::AtlasID id) { in removeID()
449 bool GrAtlasTextStrike::addGlyphToAtlas(GrDeferredUploadTarget* target, in addGlyphToAtlas()
DGrAtlasTextContext.h135 GrAtlasTextStrike**, const SkGlyph&, SkScalar sx, SkScalar sy,
139 GrAtlasTextStrike**, const SkGlyph&, SkScalar sx, SkScalar sy,
DGrAtlasTextBlob.h175 GrAtlasTextStrike* strike,
388 void setStrike(GrAtlasTextStrike* strike) { fStrike.reset(SkRef(strike)); } in setStrike()
389 GrAtlasTextStrike* strike() const { return fStrike.get(); } in strike()
461 sk_sp<GrAtlasTextStrike> fStrike;
DGrAtlasTextContext.cpp399 GrAtlasTextStrike* currStrike = nullptr; in DrawBmpText()
435 GrAtlasTextStrike* currStrike = nullptr; in DrawBmpPosText()
454 GrAtlasGlyphCache* fontCache, GrAtlasTextStrike** strike, in BmpAppendGlyph()
695 GrAtlasTextStrike* currStrike = nullptr; in drawDFPosText()
781 GrAtlasGlyphCache* cache, GrAtlasTextStrike** strike, in DfAppendGlyph()
DGrTextUtils.h21 class GrAtlasTextStrike; variable
DGrAtlasTextBlob.cpp73 GrAtlasTextStrike* strike, in appendGlyph()
521 SkASSERT_RELEASE(GrAtlasTextStrike::GetKey(*lSubRun.strike()) == in AssertEqual()
522 GrAtlasTextStrike::GetKey(*rSubRun.strike())); in AssertEqual()
DGrAtlasTextBlobVertexRegenerator.cpp231 GrAtlasTextStrike* strike = nullptr; in doRegen()