Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: tools/VisualBench/VisualBench.cpp

Issue 1432983002: Parse command line arguments for sdl + android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform_tools/android/apps/visualbenchsdl/src/main/java/com/skia/VisualBenchActivity.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/VisualBench/VisualBench.cpp
diff --git a/tools/VisualBench/VisualBench.cpp b/tools/VisualBench/VisualBench.cpp
index 10fdbfe4b145f86e8feffc8dbfa377facf31e569..5a86c94aecab4f01137dcc1fdaa1ccb66c98b068 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());
« no previous file with comments | « platform_tools/android/apps/visualbenchsdl/src/main/java/com/skia/VisualBenchActivity.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698