<div dir="ltr"><div>I forgot to mention that this is all entirely opt-in (via non-default options to &#39;runqemu&#39;). By default qemu behaves exactly as before, and does not use virgl.</div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 23 Jan 2020 at 16:38, Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com">alex.kanavin@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">virgl is a virtualized accelerated 3D graphics support for the qemu<br>
guests. This patchset enables virgl in qemu, when &#39;opengl&#39; is in<br>
DISTRO_FEATURES.<br>
<br>
This adds a few native dependencies to qemu-system-native<br>
(particularly, libdrm, virglrenderer and a special minimal configuration<br>
of mesa-native). I tested the impact on build times: it is about 30<br>
seconds on a 16 core machine. &#39;bitbake core-image-minimal&#39; goes from<br>
25m26s to 25m57s.<br>
<br>
The following changes since commit ca3993cc4b13d4e661228cee6fb9448adfd0a4ba:<br>
<br>
  bitbake: tests/fetch: Allow wget upgrade tests to run against a local server (2020-01-22 15:56:39 +0000)<br>
<br>
are available in the Git repository at:<br>
<br>
  git://<a href="http://git.yoctoproject.org/poky-contrib" rel="noreferrer" target="_blank">git.yoctoproject.org/poky-contrib</a> akanavin/qemu-split-virgl-gtk<br>
  <a href="http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/qemu-split-virgl-gtk" rel="noreferrer" target="_blank">http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akanavin/qemu-split-virgl-gtk</a><br>
<br>
Alexander Kanavin (3):<br>
  bitbake.conf: propagate &#39;opengl&#39; DISTRO_FEATURE to native/nativesdk<br>
    from target<br>
  libsdl2: enable opengl option for native/nativesdk, subject to<br>
    &#39;opengl&#39; in DISTRO_FEATURES<br>
  qemu: enable virglrenderer and glx options subject to &#39;opengl&#39;<br>
    DISTRO_FEATURE<br>
<br>
 meta/conf/bitbake.conf                         |  4 ++--<br>
 meta/lib/oeqa/selftest/cases/runtime_test.py   | 18 ++++++------------<br>
 .../qemu/<a href="http://qemu-system-native_4.1.0.bb" rel="noreferrer" target="_blank">qemu-system-native_4.1.0.bb</a>           |  4 +++-<br>
 meta/recipes-devtools/qemu/<a href="http://qemu_4.1.0.bb" rel="noreferrer" target="_blank">qemu_4.1.0.bb</a>       |  5 ++++-<br>
 meta/recipes-gnome/gtk+/gtk+3.inc              |  2 ++<br>
 meta/recipes-graphics/cairo/<a href="http://cairo_1.16.0.bb" rel="noreferrer" target="_blank">cairo_1.16.0.bb</a>    |  2 ++<br>
 .../libepoxy/<a href="http://libepoxy_1.5.4.bb" rel="noreferrer" target="_blank">libepoxy_1.5.4.bb</a>                 |  2 --<br>
 .../recipes-graphics/libsdl2/<a href="http://libsdl2_2.0.10.bb" rel="noreferrer" target="_blank">libsdl2_2.0.10.bb</a> |  4 ++--<br>
 .../virglrenderer/<a href="http://virglrenderer_0.8.1.bb" rel="noreferrer" target="_blank">virglrenderer_0.8.1.bb</a>       |  2 --<br>
 9 files changed, 21 insertions(+), 22 deletions(-)<br>
<br>
-- <br>
2.17.1<br>
<br>
</blockquote></div>