egl: drop unused _EGLDriver from CreateWaylandBufferFromImageWL()
[mesa.git] / src / egl / main / eglglobals.h
index c6ef59d4820614fd510fcdf5a760576185c0a502..fc3b6bd62a775a3ed735cd15bae98aea3e5ec39f 100644 (file)
@@ -54,18 +54,22 @@ struct _egl_global
    /* the list of all displays */
    _EGLDisplay *DisplayList;
 
+   _EGLDevice *DeviceList;
+
    EGLint NumAtExitCalls;
    void (*AtExitCalls[10])(void);
 
    /*
     * 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.
+    * strings, one for platform extensions, and one for everything else.
+    * For a non-glvnd build create a concatenated one.
     */
+#if USE_LIBGLVND
    const char *ClientOnlyExtensionString;
    const char *PlatformExtensionString;
-   char *ClientExtensionString;
+#else
+   const char *ClientExtensionString;
+#endif
 
    EGLDEBUGPROCKHR debugCallback;
    unsigned int debugTypesEnabled;
@@ -84,7 +88,10 @@ static inline unsigned int DebugBitFromType(EGLenum type)
    return (1 << (type - EGL_DEBUG_MSG_CRITICAL_KHR));
 }
 
-extern const char *
-_eglGetClientExtensionString(void);
+/**
+ * Perform validity checks on a generic pointer.
+ */
+extern EGLBoolean
+_eglPointerIsDereferencable(void *p);
 
 #endif /* EGLGLOBALS_INCLUDED */