[meta-freescale] [meta-fsl-arm][PATCH 02/10] mesa: Update mesa and mesa-demos to support Sololite.

Otavio Salvador otavio at ossystems.com.br
Fri Aug 1 12:15:05 PDT 2014


Hello Neena,

On Wed, Jul 30, 2014 at 6:26 PM, Neena Busireddy
<neena.busireddy at freescale.com> wrote:
> SoloLite should use mesa software rendering GL since GPU
> for this machine does not have hardware accelerated GL.
>
> Signed-off-by: Neena Busireddy <neena.busireddy at freescale.com>

I think this patch is not completely right. I think mesa needs to
provide GLES for SoloLite so I did follow changes, on top of your
patch:

diff --git a/recipes-graphics/mesa/mesa_%.bbappend
b/recipes-graphics/mesa/mesa_%.bbappend
index adcf201..27cdb99 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -1,13 +1,15 @@
 PACKAGECONFIG_remove_mx5 = "egl gles"
 PROVIDES_remove_mx5 = "virtual/libgles1 virtual/libgles2 virtual/egl"

-PACKAGECONFIG_remove_mx6 = "egl gles"
+PACKAGECONFIG_remove_mx6 = "egl"
+PACKAGECONFIG_remove_mx6q = "gles"
+PACKAGECONFIG_remove_mx6dl = "gles"

 # i.MX6SL uses mesa software rendering

-PROVIDES_remove_mx6 = "virtual/libgles1 virtual/libgles2 virtual/egl"
-PROVIDES_remove_mx6q = "virtual/libgl"
-PROVIDES_remove_mx6dl = "virtual/libgl"
+PROVIDES_remove_mx6 = "virtual/egl"
+PROVIDES_remove_mx6q = "virtual/libgles1 virtual/libgles2 virtual/libgl"
+PROVIDES_remove_mx6dl = "virtual/libgles1 virtual/libgles2 virtual/libgl"

 USE_VIV_LIBGL = "yes"
 USE_VIV_LIBGL_mx6sl = "no"

Please confirm if it looks right.

-- 
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


More information about the meta-freescale mailing list