meta-raspberrypi/recipes-graphics/mesa
Khem Raj 6c1c9ff4ee mesa-gl: Enable swrast dri backend for rpi/userland
After mesa switched build system to meson, the logic to generate dri
related artifacts changed too, which means when no dri backend is
enabled then dri drivers and corresponding headers dont get generated
and hence we end up with missing pkgconfig files e.g. dri.pc which
usually will come from full mesa3d package, but in rpi when userland is
used we only build GL pieces of mesa.

This patch therefore enables swrast dri backend when using userland,
which gives us the needed header and .pc files to build packages like
Xorg server, since EGL driver will come from userland, the dri backend
would be unused and hence should not be effective at runtime.

Addresses issue report with https://github.com/agherzan/meta-raspberrypi/pull/773

there is no need to check for graphics stack since mesa-gl is only used
with userland graphics

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Woerner <twoerner@gmail.com>
2020-12-02 22:10:03 +00:00
..
mesa_%.bbappend Revert "mesa: querying dma_buf modifiers for specific formats" 2020-09-17 15:25:39 +01:00
mesa-demos_%.bbappend mesa-demos,piglit,packagegroup-core-tools-testapps: Remove dependency on mesa-demos 2018-07-16 16:57:38 +01:00
mesa-gl_%.bbappend mesa-gl: Enable swrast dri backend for rpi/userland 2020-12-02 22:10:03 +00:00