Turn off pipe playback in GM by default.
Works for me, but not on all platforms.
Review URL: https://codereview.appspot.com/6293043
git-svn-id: http://skia.googlecode.com/svn/trunk@4140 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 760262c..57cea7a 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -697,7 +697,7 @@
static void usage(const char * argv0) {
SkDebugf(
"%s [-w writePath] [-r readPath] [-d diffPath] [-i resourcePath]\n"
- " [--noreplay] [--nopipe] [--serialize] [--forceBWtext] [--nopdf] \n"
+ " [--noreplay] [--pipe] [--serialize] [--forceBWtext] [--nopdf] \n"
" [--nodeferred] [--match substring] [--notexturecache]\n"
, argv0);
SkDebugf(" writePath: directory to write rendered images in.\n");
@@ -707,7 +707,7 @@
SkDebugf(" diffPath: directory to write difference images in.\n");
SkDebugf(" resourcePath: directory that stores image resources.\n");
SkDebugf(" --noreplay: do not exercise SkPicture replay.\n");
- SkDebugf(" --nopipe: Skip SkGPipe replay.\n");
+ SkDebugf(" --pipe: Exercise SkGPipe replay.\n");
SkDebugf(
" --serialize: exercise SkPicture serialization & deserialization.\n");
SkDebugf(" --forceBWtext: disable text anti-aliasing.\n");
@@ -818,7 +818,7 @@
bool doPDF = true;
bool doReplay = true;
- bool doPipe = true;
+ bool doPipe = false;
bool doSerialize = false;
bool useDebugGL = false;
bool doDeferred = true;
@@ -856,8 +856,8 @@
}
} else if (strcmp(*argv, "--forceBWtext") == 0) {
gForceBWtext = true;
- } else if (strcmp(*argv, "--nopipe") == 0) {
- doPipe = false;
+ } else if (strcmp(*argv, "--pipe") == 0) {
+ doPipe = true;
} else if (strcmp(*argv, "--noreplay") == 0) {
doReplay = false;
} else if (strcmp(*argv, "--nopdf") == 0) {