summaryrefslogtreecommitdiffstats
path: root/include/EGL/eglplatform.h
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-05-26 15:09:39 +0200
committerBenjamin Franzke <[email protected]>2011-06-23 21:07:17 +0200
commiteddcecbf74da26716509c047b95e85b00c12bab4 (patch)
treeec11550c8f3cc42b2b71aa35475353a52b8843d9 /include/EGL/eglplatform.h
parent15d7f1c1c73735eb108710a01806712b11ce5e8a (diff)
Add gbm (generic/graphics buffer manager)
Diffstat (limited to 'include/EGL/eglplatform.h')
-rw-r--r--include/EGL/eglplatform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index e4aa0994be9..fbfdce32ef4 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -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