Patchwork [meta-fsl-arm,1/2] cairo: add OpenGL ES2 support for i.MX6

login
register
mail settings
Submitter Otavio Salvador
Date March 27, 2014, 1:34 a.m.
Message ID <1395884097-30205-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/69347/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - March 27, 2014, 1:34 a.m.
From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>

Change-Id: I7778227884069b718ca72e4dbb212782843682b6
Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/cairo/cairo_%.bbappend | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 recipes-graphics/cairo/cairo_%.bbappend

Patch

diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend
new file mode 100644
index 0000000..eca1fe4
--- /dev/null
+++ b/recipes-graphics/cairo/cairo_%.bbappend
@@ -0,0 +1,9 @@ 
+CFLAGS_append_mx6 = " -DLINUX \
+                      ${@base_contains('DISTRO_FEATURES', 'x11', '', \
+                                        base_contains('DISTRO_FEATURES', 'wayland', \
+                                                      '-DEGL_API_FB -DEGL_API_WL',  \
+                                         base_contains('DISTRO_FEATURES', 'directfb', \
+                                                       '-DEGL_API_DFB', '-DEGL_API_FB', d),d),d)}"
+
+
+PACKAGECONFIG_mx6 ??= "egl glesv2"