[oe-commits] [openembedded-core] 09/09: runqemu: make gl options gtk+-specific
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 2 22:59:39 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 51d648ef252e34a2152010ae9ce8ba579e1d70c4
Author: Alexander Kanavin <alex.kanavin at gmail.com>
AuthorDate: Thu Feb 28 15:25:37 2019 +0100
runqemu: make gl options gtk+-specific
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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/selftest/cases/runtime_test.py | 2 +-
scripts/runqemu | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 3cecdc8..d164d3d 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -186,7 +186,7 @@ class TestImage(OESelftestTestCase):
features += 'TEST_SUITES = "ping ssh virgl"\n'
features += 'IMAGE_FEATURES_append = " ssh-server-dropbear"\n'
features += 'IMAGE_INSTALL_append = " kmscube"\n'
- features += 'TEST_RUNQEMUPARAMS = "gl"\n'
+ features += 'TEST_RUNQEMUPARAMS = "gtk-gl"\n'
self.write_config(features)
bitbake('core-image-minimal')
bitbake('-c testimage core-image-minimal')
diff --git a/scripts/runqemu b/scripts/runqemu
index bbf539a..c0e569c 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'
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list