diff options
author | joshualitt <joshualitt@chromium.org> | 2015-11-10 08:27:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-10 08:27:22 -0800 |
commit | 43f610f693d6d5db115d68ecde8e3fd52e725c6a (patch) | |
tree | 6ff186ec4664c2250f96e7a071cbdec0e2b6292a /tools/VisualBench | |
parent | 01f4a9e7bf106fb7cc5b7e08a5154aefb326b0c7 (diff) |
Parse command line arguments for sdl + android
TBR=
BUG=skia:
Review URL: https://codereview.chromium.org/1432983002
Diffstat (limited to 'tools/VisualBench')
-rw-r--r-- | tools/VisualBench/VisualBench.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp index 10fdbfe4b1..5a86c94aec 100644 --- a/tools/VisualBench/VisualBench.cpp +++ b/tools/VisualBench/VisualBench.cpp @@ -30,6 +30,11 @@ VisualBench::VisualBench(void* hwnd, int argc, char** argv) : INHERITED(hwnd) { SkCommandLineFlags::Parse(argc, argv); + SkDebugf("Command line arguments:"); + for (int i = 0; i < argc; ++i) { + SkDebugf("%s\n", argv[i]); + } + // these have to happen after commandline parsing if (FLAGS_dif) { const SkSurfaceProps& props(INHERITED::getSurfaceProps()); |