Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Unified Diff: bench/SKPAnimationBench.cpp

Issue 1203193002: Add loopSKP flag to nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/SKPAnimationBench.h ('k') | bench/SKPBench.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/SKPAnimationBench.cpp
diff --git a/bench/SKPAnimationBench.cpp b/bench/SKPAnimationBench.cpp
index 24506d814f4fd67c53ca6cbc59d187a351f98a72..55a85966a4c2e0226ca8ea5a63865919671b889d 100644
--- a/bench/SKPAnimationBench.cpp
+++ b/bench/SKPAnimationBench.cpp
@@ -10,9 +10,9 @@
#include "SkMultiPictureDraw.h"
#include "SkSurface.h"
-SKPAnimationBench::SKPAnimationBench(const char* name, const SkPicture* pic,
- const SkIRect& clip, SkMatrix animationMatrix, int steps)
- : INHERITED(name, pic, clip, 1.0, false)
+SKPAnimationBench::SKPAnimationBench(const char* name, const SkPicture* pic, const SkIRect& clip,
+ SkMatrix animationMatrix, int steps, bool doLooping)
+ : INHERITED(name, pic, clip, 1.0, false, doLooping)
, fSteps(steps)
, fAnimationMatrix(animationMatrix)
, fName(name) {
« no previous file with comments | « bench/SKPAnimationBench.h ('k') | bench/SKPBench.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698