diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2019-02-28 14:35:59 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2020-09-16 15:25:19 +0200 |
commit | 08bfe76f0b0c3dad82e539f700c75e1d1a728b2a (patch) | |
tree | 645ebd3cd288c80837bd13d4b54964448fbd13fd | |
parent | 70de900e56d084044d0f0e673e7f340fa31cdf39 (diff) | |
download | openembedded-core-contrib-08bfe76f0b0c3dad82e539f700c75e1d1a728b2a.tar.gz |
runqemu: add options for sdl-gl, sdl-gl-es
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rwxr-xr-x | scripts/runqemu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index af90c010da..8f31fc822c 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -65,6 +65,8 @@ of the following environment variables (in any order): Simplified QEMU command-line options can be passed with: nographic - disable video console sdl - choose the SDL frontend instead of the Gtk+ default + sdl-gl - enable virgl-based GL acceleration using SDL frontend + sdl-gl-es - enable virgl-based GL acceleration, using OpenGL ES and SDL frontend gtk-gl - enable virgl-based GL acceleration using Gtk+ frontend gtk-gl-es - enable virgl-based GL acceleration, using OpenGL ES and Gtk+ frontend egl-headless - enable headless EGL output; use vnc or spice to see it @@ -397,6 +399,10 @@ class BaseConfig(object): self.kernel_cmdline_script += ' console=ttyS0' elif arg == 'sdl': self.qemu_opt_script += ' -display sdl' + elif arg == 'sdl-gl': + self.qemu_opt_script += ' -vga virtio -display sdl,gl=on' + elif arg == 'sdl-gl-es': + self.qemu_opt_script += ' -vga virtio -display sdl,gl=es' elif arg == 'gtk-gl': self.qemu_opt_script += ' -vga virtio -display gtk,gl=on' elif arg == 'gtk-gl-es': |