aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-04 17:45:54 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-04 17:45:54 +0000
commitd13bdfb70f93a62fbc29362be90cd3776e1eeddf (patch)
tree57e32b5cbcef1050b5ae3bd4905fbb3dd7ad31d7
parent5af9b2032b552516c9223d9fb22185b022b13c62 (diff)
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
-rw-r--r--gm/gmmain.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index 760262cb40..57cea7a7bd 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -697,7 +697,7 @@ static void write_picture_serialization(GM* gm, const ConfigData& rec,
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 @@ static void usage(const char * argv0) {
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 @@ int main(int argc, char * const argv[]) {
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 @@ int main(int argc, char * const argv[]) {
}
} 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) {