aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/VisualBench/VisualStreamTimingModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/VisualBench/VisualStreamTimingModule.h')
-rw-r--r--tools/VisualBench/VisualStreamTimingModule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/VisualBench/VisualStreamTimingModule.h b/tools/VisualBench/VisualStreamTimingModule.h
index b84f04f4bb..ac06ed4307 100644
--- a/tools/VisualBench/VisualStreamTimingModule.h
+++ b/tools/VisualBench/VisualStreamTimingModule.h
@@ -31,8 +31,11 @@ private:
// subclasses should return true to advance the stream
virtual bool timingFinished(Benchmark*, int loops, double measurement)=0;
+ bool nextBenchmarkIfNecessary(SkCanvas*);
+
TimingStateMachine fTSM;
SkAutoTDelete<VisualBenchmarkStream> fBenchmarkStream;
+ SkAutoTUnref<Benchmark> fBenchmark;
bool fReinitializeBenchmark;
bool fPreWarmBeforeSample;