Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index 50d101cf32f7227885499a06b35015278fdc3270..cb5eb761ed97545de92c79581b66863dcc23184a 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -18,6 +18,7 @@ |
#include "SkPathEffect.h" |
#include "SkTypes.h" |
+struct GrBatchAtlasConfig; |
class GrBatchFontCache; |
class GrCaps; |
struct GrContextOptions; |
@@ -356,6 +357,10 @@ public: |
this is for testing only */ |
void setTextBlobCacheLimit_ForTesting(size_t bytes); |
+ /** Specify the sizes of the GrAtlasTextContext atlases. The configs pointer below should be |
+ to an array of 3 entries */ |
+ void setTextContextAtlasSizes_ForTesting(const GrBatchAtlasConfig* configs); |
+ |
private: |
GrGpu* fGpu; |
const GrCaps* fCaps; |