aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SKPAnimationBench.h
diff options
context:
space:
mode:
authorGravatar cdalton <cdalton@nvidia.com>2015-06-25 10:51:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-25 10:51:56 -0700
commitb4022965a280dd1ed64d6103dd29e2189abe6e00 (patch)
treef7bea91cb929485d20f35c1edf19e9b0f3f57c64 /bench/SKPAnimationBench.h
parentb0c5071a376ecfb608c49886f2c86b1ce40b1389 (diff)
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
Diffstat (limited to 'bench/SKPAnimationBench.h')
-rw-r--r--bench/SKPAnimationBench.h2
1 files changed, 1 insertions, 1 deletions
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;