xserver-xf86-config: add glamoregl
PATCH v2 1/2 xserver-xf86-config: add glamoregl
When using the modesetting with glamor and MUSL, the glamoregl library needs to be pre-loaded, so add it to the list here.
Signed-off-by Saul Wold <[email protected]>
--- .../xorg-xserver/xserver-xf86-config/10-preload-modules.conf | 1 + 1 file changed, 1 insertion(+)
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/10-preload-modules.conf +1 -0
@@ -6,4 +6,5 @@ Section "Module" Load "int10" Load "vbe" Load "vgahw" + Load "glamoregl" EndSection
Signature · 1 line
2.7.4
PATCH v2 2/2 xserver-xorg: Enable glamor by default
To enable glamor, we need to also enable both dri3 and xshmfence as dependencies.
Signed-off-by Saul Wold <[email protected]>
--- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +2 -1
@@ -121,8 +121,9 @@ EXTRA_OECONF += "--with-fop=no \ " EXTRA_OECONF[vardepsexclude] = "MACHINE" +OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence" PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \ ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \ "
Signature · 1 line
2.7.4