- struct _egl_client_extensions {
- bool EXT_client_extensions;
- bool EXT_platform_base;
- bool EXT_platform_x11;
- bool EXT_platform_wayland;
- bool MESA_platform_gbm;
- bool KHR_get_all_proc_addresses;
- } ClientExtensions;
-
- const char *ClientExtensionString;
+ /*
+ * Under libglvnd, the client extension string has to be split into two
+ * strings, one for platform extensions, and one for everything else. So,
+ * define separate strings for them. _eglGetClientExtensionString will
+ * concatenate them together for a non-libglvnd build.
+ */
+ const char *ClientOnlyExtensionString;
+ const char *PlatformExtensionString;
+ char *ClientExtensionString;
+
+ EGLDEBUGPROCKHR debugCallback;
+ unsigned int debugTypesEnabled;