From 82e00750af48747ed5da8315b524ca0f8f9283ba Mon Sep 17 00:00:00 2001 From: Neena Busireddy Date: Thu, 16 Oct 2014 15:45:05 -0500 Subject: gstreamer1.0-plugins-bad: Remove gles2 for i.MX6 SoloLite i.MX6 SoloLite (mx6sl) does not support 3D GPU hardware acceleration. The 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 i.MX6 SoC family as i.MX6 SoloLite is different from other SoC's. Signed-off-by: Neena Busireddy Signed-off-by: Otavio Salvador --- recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'recipes-multimedia') diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend index 8be11a2..da90235 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend @@ -5,3 +5,9 @@ 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_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \ + base_contains('DISTRO_FEATURES', 'x11', \ + 'opengl', '', d), '', d)}" -- cgit v1.2.3-54-g00ecf