From b4022965a280dd1ed64d6103dd29e2189abe6e00 Mon Sep 17 00:00:00 2001 From: cdalton Date: Thu, 25 Jun 2015 10:51:56 -0700 Subject: Add loopSKP flag to nanobench Adds a loopSKP flag that forces SKPBenches to draw with only 1 loop. BUG=skia: Review URL: https://codereview.chromium.org/1203193002 --- bench/SKPAnimationBench.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/SKPAnimationBench.h') diff --git a/bench/SKPAnimationBench.h b/bench/SKPAnimationBench.h index f6e9fa4ede..65708f7639 100644 --- a/bench/SKPAnimationBench.h +++ b/bench/SKPAnimationBench.h @@ -17,7 +17,7 @@ class SKPAnimationBench : public SKPBench { public: SKPAnimationBench(const char* name, const SkPicture*, const SkIRect& devClip, - SkMatrix viewMatrix, int steps); + SkMatrix viewMatrix, int steps, bool doLooping); protected: const char* onGetName() override; -- cgit v1.2.3