Index: src/gpu/GrTextStrike.h |
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h |
index a5bb6ae5db0e54514d75e50119a9db80071a72a2..401bd7325909aa39be8a2e0ee655e1a08cf3f3e9 100644 |
--- a/src/gpu/GrTextStrike.h |
+++ b/src/gpu/GrTextStrike.h |
@@ -37,6 +37,10 @@ public: |
GrTexture* getTexture() const { return fAtlas->getTexture(); } |
inline GrGlyph* getGlyph(GrGlyph::PackedID, GrFontScaler*); |
+ // returns true if glyph (or glyph+padding for distance field) |
+ // is too large to ever fit in texture atlas subregions (GrPlots) |
+ bool glyphTooLargeForAtlas(GrGlyph*); |
+ // returns true if glyph successfully added to texture atlas, false otherwise |
bool addGlyphToAtlas(GrGlyph*, GrFontScaler*); |
// testing |