diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-03-14 12:14:59 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-03-17 16:35:46 -0300 |
commit | a2edbd4fee7b68b25b2a0458f9019333206d0018 (patch) | |
tree | 876d4e71b7c388142ebd59c323d3e498c0a18039 | |
parent | 382e41821d49701649d60aea31e02312f19aab72 (diff) | |
download | meta-fsl-arm-a2edbd4fee7b68b25b2a0458f9019333206d0018.tar.gz |
clutter-1.0, cogl-1.0: Use Framebuffer API for Wayland
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>
-rw-r--r-- | recipes-graphics/clutter/clutter-1.0_%.bbappend | 2 | ||||
-rw-r--r-- | recipes-graphics/cogl/cogl-1.0_%.bbappend | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ | |||
2 | CFLAGS_append_mx6 = " -DLINUX \ | 2 | CFLAGS_append_mx6 = " -DLINUX \ |
3 | ${@base_contains('DISTRO_FEATURES', 'x11', '', \ | 3 | ${@base_contains('DISTRO_FEATURES', 'x11', '', \ |
4 | base_contains('DISTRO_FEATURES', 'wayland', \ | 4 | base_contains('DISTRO_FEATURES', 'wayland', \ |
5 | '-DEGL_API_WL', '', d), d)}" | 5 | '-DEGL_API_WL -DEGL_API_FB', '', d), d)}" |
6 | 6 | ||
7 | PACKAGECONFIG_mx6 ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'glx x11', \ | 7 | PACKAGECONFIG_mx6 ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'glx x11', \ |
8 | base_contains('DISTRO_FEATURES', 'wayland', \ | 8 | 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 @@ | |||
2 | CFLAGS_append_mx6 = " -DLINUX \ | 2 | CFLAGS_append_mx6 = " -DLINUX \ |
3 | ${@base_contains('DISTRO_FEATURES', 'x11', '', \ | 3 | ${@base_contains('DISTRO_FEATURES', 'x11', '', \ |
4 | base_contains('DISTRO_FEATURES', 'wayland', \ | 4 | base_contains('DISTRO_FEATURES', 'wayland', \ |
5 | '-DEGL_API_WL', '', d), d)}" | 5 | '-DEGL_API_WL -DEGL_API_FB', '', d), d)}" |
6 | 6 | ||
7 | PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ | 7 | PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ |
8 | ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ | 8 | ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ |