aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SKPBench.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-10-29 14:15:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-29 14:15:10 -0700
commit6838d854a87e79f1fbb7b89b9f395155ad44dc0a (patch)
tree6c539b237606beca31239ef7441000f55b4d6384 /bench/SKPBench.cpp
parent2c8371aea7d1313efc4e224f962a9f38570981c8 (diff)
Try out SkTree in nanobench.
Looks like a fairly large recording speed win with no playback cost. BUG=skia: Review URL: https://codereview.chromium.org/653023003
Diffstat (limited to 'bench/SKPBench.cpp')
-rw-r--r--bench/SKPBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/SKPBench.cpp b/bench/SKPBench.cpp
index 9c96ef6f53..5844d8a588 100644
--- a/bench/SKPBench.cpp
+++ b/bench/SKPBench.cpp
@@ -8,7 +8,7 @@
#include "SKPBench.h"
#include "SkCommandLineFlags.h"
-DECLARE_int32(benchTile);
+DEFINE_int32(benchTile, 256, "Tile dimension used for SKP playback.");
SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale)
: fPic(SkRef(pic))