aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-bsp/recipes-graphics/mesa/mesa/revert-363b53f00069af718f64cf047f19ad5681a8bf6d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ivi-bsp/recipes-graphics/mesa/mesa/revert-363b53f00069af718f64cf047f19ad5681a8bf6d.patch')
-rw-r--r--meta-ivi-bsp/recipes-graphics/mesa/mesa/revert-363b53f00069af718f64cf047f19ad5681a8bf6d.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-ivi-bsp/recipes-graphics/mesa/mesa/revert-363b53f00069af718f64cf047f19ad5681a8bf6d.patch b/meta-ivi-bsp/recipes-graphics/mesa/mesa/revert-363b53f00069af718f64cf047f19ad5681a8bf6d.patch
new file mode 100644
index 0000000..3c91cc5
--- /dev/null
+++ b/meta-ivi-bsp/recipes-graphics/mesa/mesa/revert-363b53f00069af718f64cf047f19ad5681a8bf6d.patch
@@ -0,0 +1,31 @@
+diff -urN Mesa-10.4.4.orig/src/egl/main/egldriver.c Mesa-10.4.4/src/egl/main/egldriver.c
+--- Mesa-10.4.4.orig/src/egl/main/egldriver.c 2015-02-07 09:09:51.000000000 +0900
++++ Mesa-10.4.4/src/egl/main/egldriver.c 2015-09-26 11:36:43.938445294 +0900
+@@ -518,6 +518,19 @@
+
+
+ /**
++ * Add egl_gallium to the module array.
++ */
++static void
++_eglAddGalliumDriver(void)
++{
++#ifndef _EGL_BUILT_IN_DRIVER_GALLIUM
++ void *external = (void *) "egl_gallium";
++ _eglPreloadForEach(_eglGetSearchPath(), _eglLoaderFile, external);
++#endif
++}
++
++
++/**
+ * Add built-in drivers to the module array.
+ */
+ static void
+@@ -549,6 +562,7 @@
+ * Add other drivers only when EGL_DRIVER is not set. The order here
+ * decides the priorities.
+ */
++ _eglAddGalliumDriver();
+ _eglAddBuiltInDrivers();
+ }
+