summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.h
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 /libs/rs/rsContext.h
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 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h4
1 files changed, 2 insertions, 2 deletions
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<ObjectBase *> mNames;