[meta-freescale] [meta-fsl-arm][PATCH] gstreamer1.0-plugins-bad: Remove gles2 for sololite(mx6sl)
Neena Busireddy
neena.busireddy at freescale.com
Thu Oct 16 13:44:17 PDT 2014
Sololite(mx6sl) does not support 3D GPU hardware acceleration. Sololite
X11 backend only supports mesa software rendering GL and non-x11
backends does not support both GL and GLES.
This patch defines PACKAGECONFIG_GL for each imx6 machine as sololite(mx6sl)
is different from other SOC's.
This patch is intended for master-next branch.
Signed-off-by: Neena Busireddy <neena.busireddy at freescale.com>
---
.../gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 8be11a2..a3f1f19 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -5,3 +5,10 @@ CFLAGS_append_mx6 = " -DLINUX \
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_GL_mx6q = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
+PACKAGECONFIG_GL_mx6dl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
+PACKAGECONFIG_GL_mx6sx = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
+PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
+ base_contains('DISTRO_FEATURES', 'x11', \
+ 'opengl', '', d), '', d)}"
--
1.7.9.5
More information about the meta-freescale
mailing list