From 098b29b17284dc1f72641c2e9712ebd343635c53 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 1 Oct 2013 11:44:56 -0500 Subject: [PATCH] clutter-1.0: Add support for Vivante GPU Add support for Vivante GPU for use with X11 and Wayland backends. In case 'x11' and 'wayland' distro features are both enabled, it defaults for X11 support. Change-Id: I437e9803214c8d1ea3febed3ed318a29bc667eed Signed-off-by: Lauren Post Signed-off-by: Otavio Salvador --- .../recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-fsl-arm/recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend diff --git a/meta-fsl-arm/recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend b/meta-fsl-arm/recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend new file mode 100644 index 00000000..a4e6f46d --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend @@ -0,0 +1,9 @@ +# Provide the need flags and backend settings to work with Vivante GPU +CFLAGS_append_mx6 = " -DLINUX \ + ${@base_contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \ + base_contains('DISTRO_FEATURES', 'wayland', \ + '-DEGL_API_WL', '', d), d)}" + +PACKAGECONFIG_mx6 ??= "${base_contains('DISTRO_FEATURES', 'x11', 'glx x11', \ + base_contains('DISTRO_FEATURES', 'wayland', \ + 'wayland egl', '', d), d)}" -- 2.40.1