Patchwork [meta-fsl-arm,v2,3/5] 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.

login
register
mail settings
Submitter Otavio Salvador
Date Jan. 6, 2014, 3:54 p.m.
Message ID <1389023651-27371-3-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/64167/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Jan. 6, 2014, 3:54 p.m.
Change-Id: I437e9803214c8d1ea3febed3ed318a29bc667eed
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend
Fabio Estevam - Jan. 6, 2014, 3:57 p.m.
On Mon, Jan 6, 2014 at 1:54 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> Change-Id: I437e9803214c8d1ea3febed3ed318a29bc667eed
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Looks like that in this version the commit log ended up in the Subject.

Regards,

Fabio Estevam
Otavio Salvador - Jan. 6, 2014, 4:13 p.m.
On Mon, Jan 6, 2014 at 1:57 PM, Fabio Estevam <festevam@gmail.com> wrote:
> On Mon, Jan 6, 2014 at 1:54 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> Change-Id: I437e9803214c8d1ea3febed3ed318a29bc667eed
>> Signed-off-by: Lauren Post <lauren.post@freescale.com>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Looks like that in this version the commit log ended up in the Subject.

My fault. I dropped the empty line and git send-email squashed it.

The log looks like:

    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 <lauren.post@freescale.com>
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Patch

diff --git a/recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend b/recipes-graphics/clutter/clutter-1.0_1.16.2.bbappend
new file mode 100644
index 0000000..a4e6f46
--- /dev/null
+++ b/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)}"