Chromium Code Reviews| Index: src/gpu/GrTextStrike.h |
| diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h |
| index c5a3f656251b7d167f12e7a1922f33d4caae26eb..29532a54d769f5b7a09ed647267cb55a3f189615 100644 |
| --- a/src/gpu/GrTextStrike.h |
| +++ b/src/gpu/GrTextStrike.h |
| @@ -39,6 +39,8 @@ public: |
| inline GrGlyph* getGlyph(GrGlyph::PackedID, GrFontScaler*); |
| bool getGlyphAtlas(GrGlyph*, GrFontScaler*); |
| + SkISize getAtlasSize() { return fAtlas.getSize(); } |
|
bsalomon
2014/02/05 20:19:10
const?
jvanverth1
2014/02/10 18:34:02
Done.
|
| + |
| // testing |
| int countGlyphs() const { return fCache.getArray().count(); } |
| const GrGlyph* glyphAt(int index) const { |