default-providers.inc: set mesa as the provider for native virtual/libgl
PATCH 1/2 default-providers.inc: set mesa as the provider for native virtual/libgl
native libepoxy and libsdl2 require this to be set, when they have the respective opengl features enabled.
Signed-off-by Alexander Kanavin <[email protected]>
--- meta/conf/distro/include/default-providers.inc | 1 + 1 file changed, 1 insertion(+)
meta/conf/distro/include/default-providers.inc +1 -0
@@ -5,6 +5,7 @@ PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg" PREFERRED_PROVIDER_virtual/egl ?= "mesa" PREFERRED_PROVIDER_virtual/libgl ?= "mesa" +PREFERRED_PROVIDER_virtual/libgl-native ?= "mesa-native" PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" PREFERRED_PROVIDER_virtual/mesa ?= "mesa"
Signature · 1 line
2.17.1
PATCH 2/2 libepoxy: enable x11 PACKAGECONFIG for native/nativesdk
This is needed to enable virgl support in qemu with SDL frontend
Signed-off-by Alexander Kanavin <[email protected]>
--- meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb +2 -2
@@ -23,8 +23,8 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" EXTRA_OEMESON += "-Dtests=false" -PACKAGECONFIG_class-native = "egl" -PACKAGECONFIG_class-nativesdk = "egl" +PACKAGECONFIG_class-native = "egl x11" +PACKAGECONFIG_class-nativesdk = "egl x11" BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
Quoted 3 lines · Alexander Kanavin
native libepoxy and libsdl2 require this to be set, when they have the respective opengl features enabled.
nativesdk needs the same fix, will resend.
Alex