Index: src/gpu/GrTextStrike.h |
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h |
index e359e267cf9816877a1db4d52011a4dc5b59efeb..c57cdc6c2da60194ccc5e3695963289c8f2c858b 100644 |
--- a/src/gpu/GrTextStrike.h |
+++ b/src/gpu/GrTextStrike.h |
@@ -37,7 +37,7 @@ public: |
GrMaskFormat getMaskFormat() const { return fMaskFormat; } |
inline GrGlyph* getGlyph(GrGlyph::PackedID, GrFontScaler*); |
- bool getGlyphAtlas(GrGlyph*, GrFontScaler*); |
+ bool getGlyphAtlas(GrGlyph*, GrFontScaler*, uint64_t currentFlushCount); |
// testing |
int countGlyphs() const { return fCache.getArray().count(); } |
@@ -47,7 +47,7 @@ public: |
GrAtlas* getAtlas() const { return fAtlas; } |
// returns true if an atlas was removed |
- bool removeUnusedAtlases(); |
+ bool removeUnusedAtlases(uint64_t currentFlushCount); |
public: |
// for LRU |
@@ -85,7 +85,7 @@ public: |
void purgeExceptFor(GrTextStrike*); |
// remove an unused atlas and its strike (if necessary) |
- void freeAtlasExceptFor(GrTextStrike*); |
+ void freeAtlasExceptFor(GrTextStrike*, uint64_t currentFlushCount); |
// testing |
int countStrikes() const { return fCache.getArray().count(); } |