aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ChartBench.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-12-15 14:25:11 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-18 15:56:02 +0000
commit7035a8e797eba8ccccff057525d01cf02c1f2a02 (patch)
tree3311536e10049ee5754f6509f7c4b2dde6dff2fd /bench/ChartBench.cpp
parent46845d1c3af511ca3d2c561941b35ce0e56fba0b (diff)
Fix benches that aren't really timing what we want
Remove full clears from benches Fix unbounded canvas modification in GM benches Bug: skia: Change-Id: Ie3d67282714a7b4e980aec399056c0e9df330993 Reviewed-on: https://skia-review.googlesource.com/86040 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'bench/ChartBench.cpp')
-rw-r--r--bench/ChartBench.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/bench/ChartBench.cpp b/bench/ChartBench.cpp
index 71e311c2b3..944f6104b7 100644
--- a/bench/ChartBench.cpp
+++ b/bench/ChartBench.cpp
@@ -132,9 +132,6 @@ protected:
}
for (int frame = 0; frame < loops; ++frame) {
-
- canvas->clear(0xFFE0F0E0);
-
SkPath plotPath;
SkPath fillPath;