Patchwork [meta-fsl-arm,v2,2/5] clutter-1.0, cogl-1.0: Use Framebuffer API for Wayland

login
register
mail settings
Submitter Otavio Salvador
Date March 17, 2014, 8:29 p.m.
Message ID <1395088180-7198-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/68779/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - March 17, 2014, 8:29 p.m.
The Vivante default backend is X11 so we must ensure we use the
Framebuffer API when building for Wayland otherwise it fails badly.

Change-Id: I64940b5f9dbf28e5e52e5e297cba4e7daa6a7a43
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/clutter/clutter-1.0_%.bbappend | 2 +-
 recipes-graphics/cogl/cogl-1.0_%.bbappend       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes-graphics/clutter/clutter-1.0_%.bbappend b/recipes-graphics/clutter/clutter-1.0_%.bbappend
index b4eb92d..cdeac1f 100644
--- a/recipes-graphics/clutter/clutter-1.0_%.bbappend
+++ b/recipes-graphics/clutter/clutter-1.0_%.bbappend
@@ -2,7 +2,7 @@ 
 CFLAGS_append_mx6 = " -DLINUX \
                       ${@base_contains('DISTRO_FEATURES', 'x11', '', \
                                        base_contains('DISTRO_FEATURES', 'wayland', \
-                                                     '-DEGL_API_WL', '', d), d)}"
+                                                     '-DEGL_API_WL -DEGL_API_FB', '', d), d)}"
 
 PACKAGECONFIG_mx6 ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'glx x11', \
                                         base_contains('DISTRO_FEATURES', 'wayland', \
diff --git a/recipes-graphics/cogl/cogl-1.0_%.bbappend b/recipes-graphics/cogl/cogl-1.0_%.bbappend
index 40633c4..f77581d 100644
--- a/recipes-graphics/cogl/cogl-1.0_%.bbappend
+++ b/recipes-graphics/cogl/cogl-1.0_%.bbappend
@@ -2,7 +2,7 @@ 
 CFLAGS_append_mx6 = " -DLINUX \
                       ${@base_contains('DISTRO_FEATURES', 'x11', '', \
                                         base_contains('DISTRO_FEATURES', 'wayland', \
-                                                      '-DEGL_API_WL', '', d), d)}"
+                                                      '-DEGL_API_WL -DEGL_API_FB', '', d), d)}"
 
 PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \
                        ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', \