mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
runqemu: add options that enable virgl with the SDL frontend
(From OE-Core rev: c2564c7554a664ed26e010c67080fc784cff682a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e18bb3f56b
commit
221e94e6d3
|
@ -67,9 +67,9 @@ of the following environment variables (in any order):
|
|||
nographic - disable video console
|
||||
sdl - choose the SDL UI frontend
|
||||
gtk - choose the Gtk UI frontend
|
||||
gl - enable virgl-based GL acceleration (also needs gtk option)
|
||||
gl-es - enable virgl-based GL acceleration, using OpenGL ES (also needs gtk option)
|
||||
egl-headless - enable headless EGL output; use vnc or spice to see it
|
||||
gl - enable virgl-based GL acceleration (also needs gtk or sdl options)
|
||||
gl-es - enable virgl-based GL acceleration, using OpenGL ES (also needs gtk or sdl options)
|
||||
egl-headless - enable headless EGL output; use vnc (via publicvnc option) or spice to see it
|
||||
serial - enable a serial console on /dev/ttyS0
|
||||
serialstdio - enable a serial console on the console (regardless of graphics mode)
|
||||
slirp - enable user networking, no root privileges is required
|
||||
|
@ -437,7 +437,12 @@ class BaseConfig(object):
|
|||
self.qemu_opt_script += ' -nographic'
|
||||
self.kernel_cmdline_script += ' console=ttyS0'
|
||||
elif arg == 'sdl':
|
||||
self.qemu_opt_script += ' -display sdl'
|
||||
if 'gl' in sys.argv[1:]:
|
||||
self.qemu_opt_script += ' -vga virtio -display sdl,gl=on'
|
||||
elif 'gl-es' in sys.argv[1:]:
|
||||
self.qemu_opt_script += ' -vga virtio -display sdl,gl=es'
|
||||
else:
|
||||
self.qemu_opt_script += ' -display sdl'
|
||||
elif arg == 'gtk':
|
||||
if 'gl' in sys.argv[1:]:
|
||||
self.qemu_opt_script += ' -vga virtio -display gtk,gl=on'
|
||||
|
|
Loading…
Reference in New Issue
Block a user