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

Unified Diff: bench/benchmain.cpp

Issue 375863006: Remove useless options from bench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixed build. Dunno why it didn't show up with "make tools" Created 6 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 | « bench/Benchmark.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/benchmain.cpp
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp
index c1c1e3fb0cbfda59471407f573dddfe7b6e7391e..f3fdb9f8da6cfd51c30381e0e40cc9862e06675e 100644
--- a/bench/benchmain.cpp
+++ b/bench/benchmain.cpp
@@ -225,8 +225,6 @@ DEFINE_bool(rotate, false, "Rotate canvas before bench run?");
DEFINE_bool(scale, false, "Scale canvas before bench run?");
DEFINE_bool(clip, false, "Clip canvas before bench run?");
-DEFINE_bool(forceAA, true, "Force anti-aliasing?");
-DEFINE_bool(forceFilter, false, "Force bitmap filtering?");
DEFINE_string(forceDither, "default", "Force dithering: true, false, or default?");
DEFINE_bool(forceBlend, false, "Force alpha blending?");
@@ -415,8 +413,6 @@ int tool_main(int argc, char** argv) {
}
writer.option("mode", FLAGS_mode[0]);
writer.option("alpha", SkStringPrintf("0x%02X", alpha).c_str());
- writer.option("antialias", SkStringPrintf("%d", FLAGS_forceAA).c_str());
- writer.option("filter", SkStringPrintf("%d", FLAGS_forceFilter).c_str());
writer.option("dither", SkTriState::Name[dither]);
writer.option("rotate", SkStringPrintf("%d", FLAGS_rotate).c_str());
@@ -476,8 +472,6 @@ int tool_main(int argc, char** argv) {
}
bench->setForceAlpha(alpha);
- bench->setForceAA(FLAGS_forceAA);
- bench->setForceFilter(FLAGS_forceFilter);
bench->setDither(dither);
bench->preDraw();
« no previous file with comments | « bench/Benchmark.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698