Hello Neena,
On Fri, Jun 13, 2014 at 5:31 PM, Neena Busireddy
<[email protected]> wrote:
> Since imx6slevk does not support full GPU, for sololite only
> disable the full GPU enablement in mesa and mesa-demos.
> SoloLite should use GL from mesa since its GPU does not have
> hardware accelerated GL.
>
> Signed-off-by: Neena Busireddy <[email protected]>
Please check the attached alternative patch.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 8e0a36b..12f9c5d 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -2,9 +2,19 @@ PACKAGECONFIG_remove_mx5 = "egl gles"
PROVIDES_remove_mx5 = "virtual/libgles1 virtual/libgles2 virtual/egl"
PACKAGECONFIG_remove_mx6 = "egl gles"
-PROVIDES_remove_mx6 = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
+
+# i.MX6SL uses mesa software rendering
+
+PROVIDES_remove_mx6q = "virtual/libgl"
+PROVIDES_remove_mx6dl = "virtual/libgl"
+PROVIDES_remove_mx6 = "virtual/libgles1 virtual/libgles2 virtual/egl"
+
+USE_VIV_LIBGL = "yes"
+USE_VIV_LIBGL_mx6sl = "no"
# FIXME: Dirty hack to allow use of Vivante GPU libGL binary
do_install_append_mx6 () {
- rm -f ${D}${libdir}/libGL.*
+ if [ "${USE_VIV_LIBGL}" = "yes" ]; then
+ rm -f ${D}${libdir}/libGL.*
+ fi
}
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale