diff options
| author | Neena Busireddy <neena.busireddy@freescale.com> | 2014-08-18 15:10:47 -0500 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-08-20 17:38:57 -0300 |
| commit | 9cd5c03b3448b2763ef1f4331be2643aaa08f5d4 (patch) | |
| tree | 0773775fdf87b25aaad103fc1761a5c92c0f5476 | |
| parent | f95d8c1850c43cc04a38659b1845ff872c8daca9 (diff) | |
| download | meta-freescale-9cd5c03b3448b2763ef1f4331be2643aaa08f5d4.tar.gz | |
mesa: Update mesa and mesa-demos to support Sololite.
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@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend | 1 | ||||
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/mesa/mesa_%.bbappend | 14 |
2 files changed, 13 insertions, 2 deletions
diff --git a/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend index 989577d44..221a3c08f 100644 --- a/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
| @@ -2,3 +2,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | |||
| 2 | 2 | ||
| 3 | SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch" | 3 | SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch" |
| 4 | 4 | ||
| 5 | PACKAGECONFIG_remove_mx6sl = "gles1 gles2" | ||
diff --git a/meta-fsl-arm/recipes-graphics/mesa/mesa_%.bbappend b/meta-fsl-arm/recipes-graphics/mesa/mesa_%.bbappend index 8e0a36b73..adcf20184 100644 --- a/meta-fsl-arm/recipes-graphics/mesa/mesa_%.bbappend +++ b/meta-fsl-arm/recipes-graphics/mesa/mesa_%.bbappend | |||
| @@ -2,9 +2,19 @@ PACKAGECONFIG_remove_mx5 = "egl gles" | |||
| 2 | PROVIDES_remove_mx5 = "virtual/libgles1 virtual/libgles2 virtual/egl" | 2 | PROVIDES_remove_mx5 = "virtual/libgles1 virtual/libgles2 virtual/egl" |
| 3 | 3 | ||
| 4 | PACKAGECONFIG_remove_mx6 = "egl gles" | 4 | PACKAGECONFIG_remove_mx6 = "egl gles" |
| 5 | PROVIDES_remove_mx6 = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" | 5 | |
| 6 | # i.MX6SL uses mesa software rendering | ||
| 7 | |||
| 8 | PROVIDES_remove_mx6 = "virtual/libgles1 virtual/libgles2 virtual/egl" | ||
| 9 | PROVIDES_remove_mx6q = "virtual/libgl" | ||
| 10 | PROVIDES_remove_mx6dl = "virtual/libgl" | ||
| 11 | |||
| 12 | USE_VIV_LIBGL = "yes" | ||
| 13 | USE_VIV_LIBGL_mx6sl = "no" | ||
| 6 | 14 | ||
| 7 | # FIXME: Dirty hack to allow use of Vivante GPU libGL binary | 15 | # FIXME: Dirty hack to allow use of Vivante GPU libGL binary |
| 8 | do_install_append_mx6 () { | 16 | do_install_append_mx6 () { |
| 9 | rm -f ${D}${libdir}/libGL.* | 17 | if [ "${USE_VIV_LIBGL}" = "yes" ]; then |
| 18 | rm -f ${D}${libdir}/libGL.* | ||
| 19 | fi | ||
| 10 | } | 20 | } |
