Skip to contentSkip to conversation

glmark2: Don't include OpenGL ES 2.0 support for Wayland backend on i.MX 6SoloLite

PATCH New Tom Hochstein 1 participant 2 messages Jul 27, 2016

lore
Share & tools
lore
#1 lore raw

PATCH 2/2 glmark2: Add XWayland support

In reply to Tom Hochstein

If DISTRO_FEATURES contains x11 and wayland, configure the package for a Wayland backend.

---
 openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend +3 -2
index 0cfc39f..69106a7 100644
@@ -1,3 +1,4 @@
-PACKAGECONFIG_mx6 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', \
-                         bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', '', d), d)}"
+PACKAGECONFIG_mx6 = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', \
+                        bb.utils.contains('DISTRO_FEATURES', 'x11 opengl',     'x11-gl x11-gles2', \
+                                                                               '', d), d)}"
 PACKAGECONFIG_remove_mx6sl = "wayland-gles2 x11-gles2"
Signature · 1 line
1.9.1
#0 lore raw

PATCH 1/2 glmark2: Don't include OpenGL ES 2.0 support for Wayland backend on i.MX 6SoloLite

The i.MX 6SoloLite has no 3D support, so don't build glmark2 with OpenGL ES 2.0 support.

---
 openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend +1 -1
index 0e04a65..0cfc39f 100644
@@ -1,3 +1,3 @@
 PACKAGECONFIG_mx6 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11-gl x11-gles2', \
                          bb.utils.contains('DISTRO_FEATURES', 'wayland opengl', 'wayland-gles2', '', d), d)}"
-PACKAGECONFIG_remove_mx6sl = "x11-gles2"
+PACKAGECONFIG_remove_mx6sl = "wayland-gles2 x11-gles2"
Signature · 1 line
1.9.1