[OE-core] [PATCH 7/8] runqemu: add an option to choose the SDL frontend instead of Gtk+ default
Martin Jansa
martin.jansa at gmail.com
Thu Feb 28 14:14:47 UTC 2019
On Thu, Feb 28, 2019 at 02:15:09PM +0100, Alexander Kanavin wrote:
> When Gtk+ and SDL are both enabled, qemu defaults to Gtk+.
> This option allows to revert to the 'classic' frontend.
>
> Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
> ---
> scripts/runqemu | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/runqemu b/scripts/runqemu
> index ec6188ba4a2..bbf539a8e67 100755
> --- a/scripts/runqemu
> +++ b/scripts/runqemu
> @@ -74,6 +74,7 @@ of the following environment variables (in any order):
> MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)
> Simplified QEMU command-line options can be passed with:
> nographic - disable video console
> + sdl - choose the SDL frontend instead of the Gtk+ default
> gl - enable virgl-based GL acceleration
can we call this gtk-gl
> gl-es - enable virgl-based GL acceleration, using OpenGL ES
and gtk-gl-es
to make it easier to add sdl-gl?
> egl-headless - enable headless EGL output; use vnc or spice to see it
> @@ -404,6 +405,8 @@ class BaseConfig(object):
> elif arg == 'nographic':
> self.qemu_opt_script += ' -nographic'
> self.kernel_cmdline_script += ' console=ttyS0'
> + elif arg == 'sdl':
> + self.qemu_opt_script += ' -display sdl'
> elif arg == 'gl':
> self.qemu_opt_script += ' -vga virtio -display gtk,gl=on'
> elif arg == 'gl-es':
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190228/97062dbc/attachment.sig>
More information about the Openembedded-core
mailing list