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

Unified Diff: sky/tools/skydb

Issue 697943002: Add --use-osmesa flag to skydb (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/skydb
diff --git a/sky/tools/skydb b/sky/tools/skydb
index d0340cdd089b05b24fcaed8867c74d1c8c6194f6..98e8c54f5e5f5719bdcb1e130544f5d1c00aa08b 100755
--- a/sky/tools/skydb
+++ b/sky/tools/skydb
@@ -65,6 +65,7 @@ class SkyDebugger(object):
parser = argparse.ArgumentParser(description='Sky launcher/debugger')
parser.add_argument('--gdb', action='store_true')
+ parser.add_argument('--use-osmesa', action='store_true')
parser.add_argument('url', nargs='?', type=str)
args = parser.parse_args()
@@ -84,6 +85,8 @@ class SkyDebugger(object):
prompt_args = '--args-for=mojo://sky_debugger_prompt/ %s' % url
shell_command.append(prompt_args)
+ if args.use_osmesa:
+ shell_command.append('--args-for=mojo://native_viewport_service/ --use-osmesa')
if args.gdb:
shell_command = ['gdb', '--args'] + shell_command
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698