Index: tools/VisualBench/VisualBench.h |
diff --git a/tools/VisualBench/VisualBench.h b/tools/VisualBench/VisualBench.h |
index 1920a52b2bebb832486e03bb1d7543551703eefc..9d8e4b975c8c2ebfa3f136eed3f9c2565e5e1b52 100644 |
--- a/tools/VisualBench/VisualBench.h |
+++ b/tools/VisualBench/VisualBench.h |
@@ -35,6 +35,9 @@ public: |
void clear(SkCanvas* canvas, SkColor color, int frames); |
+ const Configs::Config& currentConfig() const { return fConfigs.current(); } |
+ bool nextConfig() { return fConfigs.next(); } |
+ |
protected: |
SkSurface* createSurface() override; |
@@ -51,7 +54,7 @@ private: |
void tearDownContext(); |
void setupContext(); |
- // support framework |
+ Configs fConfigs; |
SkAutoTDelete<VisualModule> fModule; |
SkAutoTUnref<SkSurface> fSurface; |
SkAutoTUnref<GrContext> fContext; |