egl: Add EGL_WL_bind_wayland_display
[mesa.git] / src / egl / drivers / dri2 / egl_dri2.h
index 235e30df3d87b353df836ac0050c2cf09ab48464..5afd3d3c9c8601b0f04f39204439ba7f9d522715 100644 (file)
@@ -35,6 +35,7 @@
 
 #ifdef HAVE_WAYLAND_PLATFORM
 #include <wayland-client.h>
+#include "wayland-drm.h"
 #include "wayland-egl-priv.h"
 #endif
 
@@ -85,7 +86,10 @@ struct dri2_egl_display
    const __DRIextension     *extensions[3];
 #ifdef HAVE_WAYLAND_PLATFORM
    struct wl_egl_display    *wl_dpy;
+   struct wl_drm            *wl_server_drm;
 #endif
+
+   int (*authenticate) (struct dri2_egl_display *dri_dpy, uint32_t id);
 };
 
 struct dri2_egl_context