aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglglobals.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2014-01-23 07:26:10 -0800
committerChad Versace <[email protected]>2014-03-17 15:49:06 -0700
commit468cc866b4b308cee40470f06b31002c6c56da96 (patch)
tree2fef841f8c0bcd9af8aa25d7e144d5bde45a4284 /src/egl/main/eglglobals.c
parent9a40ee16d0be3a08ac2f467311673f4b9333191d (diff)
egl/main: Enable Linux platform extensions
Enable EGL_EXT_platform_base and the Linux platform extensions layered atop it: EGL_EXT_platform_x11, EGL_EXT_platform_wayland, and EGL_MESA_platform_gbm. Tested with Piglit's EGL_EXT_platform_base tests under an X11 session. To enable running the Wayland and GBM tests, windowed Weston was running and the kernel had render nodes enabled. I regression tested my EGL_EXT_platform_base patch set with Piglit on Ivybridge under X11/EGL, standalone Weston, and GBM with rendernodes. No regressions found. Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/egl/main/eglglobals.c')
-rw-r--r--src/egl/main/eglglobals.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c
index 956fa9199f2..cf669cff681 100644
--- a/src/egl/main/eglglobals.c
+++ b/src/egl/main/eglglobals.c
@@ -51,11 +51,19 @@ struct _egl_global _eglGlobal =
/* ClientExtensions */
{
- true /* EGL_EXT_client_extensions */
+ true, /* EGL_EXT_client_extensions */
+ true, /* EGL_EXT_platform_base */
+ true, /* EGL_EXT_platform_x11 */
+ true, /* EGL_EXT_platform_wayland */
+ true /* EGL_MESA_platform_gbm */
},
/* ClientExtensionsString */
"EGL_EXT_client_extensions"
+ " EGL_EXT_platform_base"
+ " EGL_EXT_platform_x11"
+ " EGL_EXT_platform_wayland"
+ " EGL_MESA_platform_gbm"
};