summaryrefslogtreecommitdiffstats
path: root/opengl/include
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-06-30 13:56:17 -0700
committerDianne Hackborn <hackbod@google.com>2010-06-30 15:32:04 -0700
commit4b5e91e4820f03dba7dcc36e4b148331bc964b4b (patch)
treecdefe6b56dbe50804f00c965a11ea83370dc08b9 /opengl/include
parent189ed23c1002054fdc06893e99d34a3617f24108 (diff)
downloadframeworks_native-4b5e91e4820f03dba7dcc36e4b148331bc964b4b.zip
frameworks_native-4b5e91e4820f03dba7dcc36e4b148331bc964b4b.tar.gz
frameworks_native-4b5e91e4820f03dba7dcc36e4b148331bc964b4b.tar.bz2
Introduce official public NativeWindow type.
Not yet hooked up to anything in the NDK, but requires renaming the existing android_native_window_t type everywhere. Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e
Diffstat (limited to 'opengl/include')
-rw-r--r--opengl/include/EGL/eglplatform.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/opengl/include/EGL/eglplatform.h b/opengl/include/EGL/eglplatform.h
index a2c6a7d..25d7697 100644
--- a/opengl/include/EGL/eglplatform.h
+++ b/opengl/include/EGL/eglplatform.h
@@ -91,10 +91,11 @@ typedef Window EGLNativeWindowType;
#elif defined(ANDROID)
-struct android_native_window_t;
+#include <android/native_window.h>
+
struct egl_native_pixmap_t;
-typedef struct android_native_window_t* EGLNativeWindowType;
+typedef struct ANativeWindow* EGLNativeWindowType;
typedef struct egl_native_pixmap_t* EGLNativePixmapType;
typedef void* EGLNativeDisplayType;