virgl is a virtualized accelerated 3D graphics support for the qemu guests. This patchset enables virgl in qemu, when 'opengl' is in DISTRO_FEATURES. Virgl is entirely opt-in (via non-default options to 'runqemu'). By default qemu behaves exactly as before, and does not use virgl.
This adds a few native dependencies to qemu-system-native (particularly, libdrm, virglrenderer and a special minimal configuration of mesa-native). I tested the impact on build times: it is about 20 seconds on a 32 core machine. 'bitbake core-image-minimal' goes from 22m23s to 22m44s. The following changes since commit f9e11276432f1903047f483a68ca4b5a0d6c6111: Updated patch for publishing (2020-04-24 15:21:14 +0100) are available in the Git repository at: git://git.yoctoproject.org/poky-contrib akanavin/qemu-split-virgl-gtk http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/qemu-split-virgl-gtk Alexander Kanavin (3): bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from target libsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEATURES qemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATURE meta/conf/bitbake.conf | 4 ++-- meta/lib/oeqa/selftest/cases/runtime_test.py | 18 ++++++------------ .../qemu/qemu-system-native_4.2.0.bb | 4 +++- meta/recipes-devtools/qemu/qemu_4.2.0.bb | 5 ++++- meta/recipes-gnome/gtk+/gtk+3.inc | 2 ++ meta/recipes-graphics/cairo/cairo_1.16.0.bb | 2 ++ .../libepoxy/libepoxy_1.5.4.bb | 2 -- .../recipes-graphics/libsdl2/libsdl2_2.0.12.bb | 4 ++-- .../virglrenderer/virglrenderer_0.8.2.bb | 2 -- 9 files changed, 21 insertions(+), 22 deletions(-) -- 2.26.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137481): https://lists.openembedded.org/g/openembedded-core/message/137481 Mute This Topic: https://lists.openembedded.org/mt/73268608/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
