Index: src/gpu/GrTextStrike.h |
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h |
index 26a36320fa1e099e159b28792a12f79b7ccbadb0..1fe42c2673f0a1d5ad221f6d49c81bf040fae666 100644 |
--- a/src/gpu/GrTextStrike.h |
+++ b/src/gpu/GrTextStrike.h |
@@ -61,9 +61,12 @@ private: |
GrFontCache* fFontCache; |
GrAtlasMgr* fAtlasMgr; |
- GrAtlas fAtlas; |
- |
GrMaskFormat fMaskFormat; |
+#if GR_DISTANCEFIELD_FONTS |
+ bool fUseDistanceField; |
+#endif |
+ |
+ GrAtlas fAtlas; |
GrGlyph* generateGlyph(GrGlyph::PackedID packed, GrFontScaler* scaler); |
@@ -75,7 +78,7 @@ public: |
GrFontCache(GrGpu*); |
~GrFontCache(); |
- inline GrTextStrike* getStrike(GrFontScaler*); |
+ inline GrTextStrike* getStrike(GrFontScaler*, bool useDistanceField); |
void freeAll(); |