diff options
author | Mike Reed <reed@google.com> | 2017-07-05 15:45:52 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-06 14:32:15 +0000 |
commit | 7c26ca770b08bd75dd8f347350a0f958953d3071 (patch) | |
tree | b1b9213f787ffe5b453478b5bae61ccdbe13334d | |
parent | 514e9d803ce833c403338f10e083f91700ae75ed (diff) |
add --forceRasterPipeline to dm, (already in nanobench)
Bug: skia:
Change-Id: I0e5f7dd2aaa03340687cdfe5578c8697088cd714
Reviewed-on: https://skia-review.googlesource.com/21532
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
-rw-r--r-- | dm/DM.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -54,6 +54,8 @@ extern void SkPDFImageDumpStats(); #include <unistd.h> #endif +extern bool gSkForceRasterPipelineBlitter; + DEFINE_string(src, "tests gm skp image", "Source types to test."); DEFINE_bool(nameByHash, false, "If true, write to FLAGS_writePath[0]/<hash>.png instead of " @@ -79,6 +81,7 @@ DEFINE_int32(shards, 1, "We're splitting source data into this many shards."); DEFINE_int32(shard, 0, "Which shard do I run?"); DEFINE_string(mskps, "", "Directory to read mskps from, or a single mskp file."); +DEFINE_bool(forceRasterPipeline, false, "sets gSkForceRasterPipelineBlitter"); #if SK_SUPPORT_GPU DEFINE_pathrenderer_flag; @@ -1270,6 +1273,9 @@ int main(int argc, char** argv) { if (FLAGS_forceAnalyticAA) { gSkForceAnalyticAA = true; } + if (FLAGS_forceRasterPipeline) { + gSkForceRasterPipelineBlitter = true; + } // The bots like having a verbose.log to upload, so always touch the file even if --verbose. if (!FLAGS_writePath.isEmpty()) { |