From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/9] runqemu: make gl options gtk+-specific
Date: Sun, 3 Mar 2019 12:27:45 +0100 [thread overview]
Message-ID: <20190303112752.16353-2-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20190303112752.16353-1-alex.kanavin@gmail.com>
If in the future GL is enabled for SDL frontend, or some other
frontend, it would be useful to be able to differentiate.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
scripts/runqemu | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index bbf539a8e67..c0e569c44cb 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -75,8 +75,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
- gl - enable virgl-based GL acceleration
- gl-es - enable virgl-based GL acceleration, using OpenGL ES
+ 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
serial - enable a serial console on /dev/ttyS0
serialstdio - enable a serial console on the console (regardless of graphics mode)
@@ -407,9 +407,9 @@ class BaseConfig(object):
self.kernel_cmdline_script += ' console=ttyS0'
elif arg == 'sdl':
self.qemu_opt_script += ' -display sdl'
- elif arg == 'gl':
+ elif arg == 'gtk-gl':
self.qemu_opt_script += ' -vga virtio -display gtk,gl=on'
- elif arg == 'gl-es':
+ elif arg == 'gtk-gl-es':
self.qemu_opt_script += ' -vga virtio -display gtk,gl=es'
elif arg == 'egl-headless':
self.qemu_opt_script += ' -vga virtio -display egl-headless'
--
2.17.1
next prev parent reply other threads:[~2019-03-03 11:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-03 11:27 [PATCH 1/9] runqemu: add an option to choose the SDL frontend instead of Gtk+ default Alexander Kanavin
2019-03-03 11:27 ` Alexander Kanavin [this message]
2019-03-03 11:27 ` [PATCH 3/9] qemu: enable virglrenderer and glx options for qemu-system-native and nativesdk-qemu Alexander Kanavin
2019-03-03 11:27 ` [PATCH 4/9] qemu: add a gtk+ frontend to target builds Alexander Kanavin
2019-03-03 11:27 ` [PATCH 5/9] qemu: remove sdl option from PACKAGECONFIG default Alexander Kanavin
2019-03-03 11:27 ` [PATCH 6/9] qemu: remove support for building against host sdl Alexander Kanavin
2019-03-03 11:27 ` [PATCH 7/9] selftest: add tests for virgl GL acceleration Alexander Kanavin
2019-03-03 11:27 ` [PATCH 8/9] local.conf.sample: enable gtk+ frontend in addition to sdl Alexander Kanavin
2019-03-03 11:27 ` [PATCH 9/9] local.conf.sample: remove support for building against host libsdl 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=20190303112752.16353-2-alex.kanavin@gmail.com \
--to=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