summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglglobals.h
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.h
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.h')
-rw-r--r--src/egl/main/eglglobals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/egl/main/eglglobals.h b/src/egl/main/eglglobals.h
index 5ec6769a8e1..9046ea25c3c 100644
--- a/src/egl/main/eglglobals.h
+++ b/src/egl/main/eglglobals.h
@@ -52,6 +52,10 @@ struct _egl_global
struct _egl_client_extensions {
bool EXT_client_extensions;
+ bool EXT_platform_base;
+ bool EXT_platform_x11;
+ bool EXT_platform_wayland;
+ bool MESA_platform_gbm;
} ClientExtensions;
const char *ClientExtensionString;