summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-10-11 16:09:52 +0800
committerChia-I Wu <[email protected]>2011-03-16 20:18:39 +0800
commitf9172081caa67d1894af91220c776648f88ddbd2 (patch)
tree08abff7679f08ca5dd36ecf78898e4ec3c6d9828 /include
parentcb4afed922c68edc80300ef24f5a08ad4ffe108d (diff)
android: Add _EGL_PLATFORM_ANDROID.
Diffstat (limited to 'include')
-rw-r--r--include/EGL/eglplatform.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 005b2944404..1c416c6edd5 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -84,6 +84,15 @@ typedef struct wl_egl_display *EGLNativeDisplayType;
typedef struct wl_egl_pixmap *EGLNativePixmapType;
typedef struct wl_egl_window *EGLNativeWindowType;
+#elif defined(ANDROID) /* Android */
+
+struct android_native_window_t;
+struct egl_native_pixmap_t;
+
+typedef struct android_native_window_t* EGLNativeWindowType;
+typedef struct egl_native_pixmap_t* EGLNativePixmapType;
+typedef void* EGLNativeDisplayType;
+
#elif defined(__unix__) || defined(__unix)
#ifdef MESA_EGL_NO_X11_HEADERS