Index: src/gpu/GrBatchFontCache.h |
diff --git a/src/gpu/GrBatchFontCache.h b/src/gpu/GrBatchFontCache.h |
index 6300fbe212f1260308a8203fb5fbca9497eb7ea2..14e6404b35c8953657e9b78ef78fa57371f5a972 100644 |
--- a/src/gpu/GrBatchFontCache.h |
+++ b/src/gpu/GrBatchFontCache.h |
@@ -97,8 +97,10 @@ public: |
bool hasGlyph(GrGlyph* glyph); |
// To ensure the GrBatchAtlas does not evict the Glyph Mask from its texture backing store, |
- // the client must pass in the currentToken from the GrBatchTarget along with the GrGlyph |
- void setGlyphRefToken(GrGlyph*, GrBatchAtlas::BatchToken); |
+ // the client must pass in the currentToken from the GrBatchTarget along with the GrGlyph. |
+ // A BulkTokenReffer is used to manage bulk last ref token updating in the Atlas. |
+ void setGlyphRefToken(GrBatchAtlas::BulkTokenReffer*, GrGlyph*, GrBatchAtlas::BatchToken); |
+ void setRefTokenBulk(const GrBatchAtlas::BulkTokenReffer& reffer, GrMaskFormat format); |
// add to texture atlas that matches this format |
bool addToAtlas(GrBatchTextStrike*, GrBatchAtlas::AtlasID*, GrBatchTarget*, |