aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2015-07-06 08:20:15 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-06 08:20:15 -0700
commitd390110a39f11cd9f5b07621df1f3e1d3064c277 (patch)
tree686aaaae8e59cfb51953937ab0230ae99222a506 /bench
parentd312dcade1e54a687b18755b5b8efbc0d01ec69e (diff)
Use kLow_SkFilterQuality in DrawBitmapAABench
BUG=skia:4001 R=reed@google.com Review URL: https://codereview.chromium.org/1222713007
Diffstat (limited to 'bench')
-rw-r--r--bench/DrawBitmapAABench.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/DrawBitmapAABench.cpp b/bench/DrawBitmapAABench.cpp
index 1738ce71d5..e4e0296860 100644
--- a/bench/DrawBitmapAABench.cpp
+++ b/bench/DrawBitmapAABench.cpp
@@ -22,6 +22,8 @@ public:
, fName("draw_bitmap_") {
fPaint.setAntiAlias(doAA);
+ // Most clients use filtering, so let's focus on this for now.
+ fPaint.setFilterQuality(kLow_SkFilterQuality);
fName.appendf("%s_%s", doAA ? "aa" : "noaa", name);
}