summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-03-03 12:27:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-04 14:27:06 +0000
commit258123faa06027046445ba13a3f12b0a0e33dfd8 (patch)
tree3db3ca4c73944b716f5ae5b846f7b9355c28b1bf /scripts
parentd66c25c39cc1b4fbc193b4f059e9f1a5d46f929d (diff)
downloadpoky-258123faa06027046445ba13a3f12b0a0e33dfd8.tar.gz
runqemu: make gl options gtk+-specific
If in the future GL is enabled for SDL frontend, or some other frontend, it would be useful to be able to differentiate. (From OE-Core rev: 36fd0a334cd6ed309cf96e445af83447070412a3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index bbf539a8e6..c0e569c44c 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -75,8 +75,8 @@ of the following environment variables (in any order):
75 Simplified QEMU command-line options can be passed with: 75 Simplified QEMU command-line options can be passed with:
76 nographic - disable video console 76 nographic - disable video console
77 sdl - choose the SDL frontend instead of the Gtk+ default 77 sdl - choose the SDL frontend instead of the Gtk+ default
78 gl - enable virgl-based GL acceleration 78 gtk-gl - enable virgl-based GL acceleration using Gtk+ frontend
79 gl-es - enable virgl-based GL acceleration, using OpenGL ES 79 gtk-gl-es - enable virgl-based GL acceleration, using OpenGL ES and Gtk+ frontend
80 egl-headless - enable headless EGL output; use vnc or spice to see it 80 egl-headless - enable headless EGL output; use vnc or spice to see it
81 serial - enable a serial console on /dev/ttyS0 81 serial - enable a serial console on /dev/ttyS0
82 serialstdio - enable a serial console on the console (regardless of graphics mode) 82 serialstdio - enable a serial console on the console (regardless of graphics mode)
@@ -407,9 +407,9 @@ class BaseConfig(object):
407 self.kernel_cmdline_script += ' console=ttyS0' 407 self.kernel_cmdline_script += ' console=ttyS0'
408 elif arg == 'sdl': 408 elif arg == 'sdl':
409 self.qemu_opt_script += ' -display sdl' 409 self.qemu_opt_script += ' -display sdl'
410 elif arg == 'gl': 410 elif arg == 'gtk-gl':
411 self.qemu_opt_script += ' -vga virtio -display gtk,gl=on' 411 self.qemu_opt_script += ' -vga virtio -display gtk,gl=on'
412 elif arg == 'gl-es': 412 elif arg == 'gtk-gl-es':
413 self.qemu_opt_script += ' -vga virtio -display gtk,gl=es' 413 self.qemu_opt_script += ' -vga virtio -display gtk,gl=es'
414 elif arg == 'egl-headless': 414 elif arg == 'egl-headless':
415 self.qemu_opt_script += ' -vga virtio -display egl-headless' 415 self.qemu_opt_script += ' -vga virtio -display egl-headless'