Index: src/gpu/GrBatchFontCache.h |
diff --git a/src/gpu/GrBatchFontCache.h b/src/gpu/GrBatchFontCache.h |
index f315a3eb7773b50cc612c2502065c06cbeb16399..fc2f3b7a29f413259a4792a4796384e6b2feb4ed 100644 |
--- a/src/gpu/GrBatchFontCache.h |
+++ b/src/gpu/GrBatchFontCache.h |
@@ -166,8 +166,12 @@ public: |
return this->getAtlas(format)->atlasGeneration(); |
} |
+ /////////////////////////////////////////////////////////////////////////// |
+ // Functions intended debug only |
void dump() const; |
+ void setAtlasSizes_ForTesting(const GrBatchAtlasConfig configs[3]); |
+ |
private: |
static GrPixelConfig MaskFormatToPixelConfig(GrMaskFormat format) { |
static const GrPixelConfig kPixelConfigs[] = { |
@@ -213,6 +217,7 @@ private: |
SkTDynamicHash<GrBatchTextStrike, GrFontDescKey> fCache; |
GrBatchAtlas* fAtlases[kMaskFormatCount]; |
GrBatchTextStrike* fPreserveStrike; |
+ GrBatchAtlasConfig fAtlasConfigs[kMaskFormatCount]; |
}; |
#endif |