Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 7/8] runqemu: add an option to choose the SDL frontend instead of Gtk+ default
Date: Thu, 28 Feb 2019 15:14:47 +0100	[thread overview]
Message-ID: <20190228141447.GB1503@jama> (raw)
In-Reply-To: <20190228131510.43557-7-alex.kanavin@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  reply	other threads:[~2019-02-28 14:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28 13:15 [PATCH 1/8] qemu: remove glx/virgl/gtk options from darwin/mingw targets Alexander Kanavin
2019-02-28 13:15 ` [PATCH 2/8] qemu: enable virglrenderer and glx options for qemu-system-native and nativesdk-qemu Alexander Kanavin
2019-02-28 13:15 ` [PATCH 3/8] qemu: add a gtk+ frontend to target builds Alexander Kanavin
2019-02-28 13:15 ` [PATCH 4/8] qemu: remove sdl option from PACKAGECONFIG default Alexander Kanavin
2019-02-28 13:15 ` [PATCH 5/8] qemu: remove support for building against host sdl Alexander Kanavin
2019-02-28 13:15 ` [PATCH 6/8] selftest: add tests for virgl GL acceleration Alexander Kanavin
2019-02-28 13:15 ` [PATCH 7/8] runqemu: add an option to choose the SDL frontend instead of Gtk+ default Alexander Kanavin
2019-02-28 14:14   ` Martin Jansa [this message]
2019-02-28 14:16     ` Alexander Kanavin
2019-02-28 13:15 ` [PATCH 8/8] local.conf.sample: enable gtk+ frontend in addition to sdl Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190228141447.GB1503@jama \
    --to=martin.jansa@gmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox