Add gbm (generic/graphics buffer manager)
[mesa.git] / include / EGL / eglplatform.h
index e4aa0994be9e55ea3837d333cc91fe35ef5a5fbd..fbfdce32ef45cb28656afa45e5d5eee0812cc2b8 100644 (file)
@@ -84,6 +84,12 @@ typedef struct wl_display     *EGLNativeDisplayType;
 typedef struct wl_egl_pixmap  *EGLNativePixmapType;
 typedef struct wl_egl_window  *EGLNativeWindowType;
 
+#elif defined(__GBM__)
+
+typedef struct gbm_device  *EGLNativeDisplayType;
+typedef struct gbm_bo      *EGLNativePixmapType;
+typedef void               *EGLNativeWindowType;
+
 #elif defined(__unix__) || defined(__unix)
 
 #ifdef MESA_EGL_NO_X11_HEADERS