Add low blur and AAClip options to picture bench.
Copy the settings instead of pointing to the
original set on the stack.
Review URL: https://codereview.appspot.com/6818103
git-svn-id: http://skia.googlecode.com/svn/trunk@6330 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp
index 569a0a5..acbe747 100644
--- a/tools/bench_pictures_main.cpp
+++ b/tools/bench_pictures_main.cpp
@@ -49,8 +49,10 @@
"verticalText",
"genA8FromLCD",
"blur",
+ "lowBlur",
"hinting",
"slightHinting",
+ "AAClip",
};
static const size_t kFilterFlagsCount = sizeof(gFilterFlags) / sizeof(gFilterFlags[0]);
@@ -194,10 +196,11 @@
"Set the number of times to repeat each test."
" Default is %i.\n", DEFAULT_REPEATS);
SkDebugf(
-" --filter type:flag : ");
- SkDebugf(
-"Enable canvas filtering to disable a paint flag,\n"
-" disable blur, or use less hinting.\n");
+" --filter type:flag : Enable canvas filtering to disable a paint flag,\n"
+" use no blur or low quality blur, or use no hinting or\n"
+" slight hinting. For all flags except AAClip, specify the\n"
+" type of primitive to effect, or choose all. for AAClip\n"
+" alone, the filter affects all clips independent of type.\n");
}
SkBenchLogger gLogger;