From 8b49bd1a2f8117e1c22884f0150e72cbcf838f32 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Wed, 30 Jun 2010 13:56:17 -0700 Subject: 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 --- libs/rs/rsContext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/rs/rsContext.h') diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h index 82c3687..709730e 100644 --- a/libs/rs/rsContext.h +++ b/libs/rs/rsContext.h @@ -98,7 +98,7 @@ public: void pause(); void resume(); - void setSurface(uint32_t w, uint32_t h, android_native_window_t *sur); + void setSurface(uint32_t w, uint32_t h, ANativeWindow *sur); void setPriority(int32_t p); void assignName(ObjectBase *obj, const char *name, uint32_t len); @@ -246,7 +246,7 @@ private: static void * threadProc(void *); - android_native_window_t *mWndSurface; + ANativeWindow *mWndSurface; Vector mNames; -- cgit v1.1