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

Unified Diff: bench/DrawBitmapAABench.cpp

Issue 1222713007: Use kLow_SkFilterQuality in DrawBitmapAABench (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/DrawBitmapAABench.cpp
diff --git a/bench/DrawBitmapAABench.cpp b/bench/DrawBitmapAABench.cpp
index 1738ce71d57d8e41866d790852136ed78c44f544..e4e0296860d47d95d22d6f78154caf8440681017 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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698