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
commit8b49bd1a2f8117e1c22884f0150e72cbcf838f32 (patch)
treeec6e43ed118268b09cbb61c8eed02c757e9602ed /opengl/include
parent3c80a4a044865bdf1289c7896baffa1c082d835c (diff)
downloadframeworks_base-8b49bd1a2f8117e1c22884f0150e72cbcf838f32.zip
frameworks_base-8b49bd1a2f8117e1c22884f0150e72cbcf838f32.tar.gz
frameworks_base-8b49bd1a2f8117e1c22884f0150e72cbcf838f32.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;