diff options
| author | Dianne Hackborn <hackbod@google.com> | 2010-06-30 13:56:17 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2010-06-30 15:32:04 -0700 |
| commit | 8b49bd1a2f8117e1c22884f0150e72cbcf838f32 (patch) | |
| tree | ec6e43ed118268b09cbb61c8eed02c757e9602ed /libs/rs/rsContext.cpp | |
| parent | 3c80a4a044865bdf1289c7896baffa1c082d835c (diff) | |
| download | frameworks_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.cpp')
| -rw-r--r-- | libs/rs/rsContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index d8a9a99..596f533 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -473,7 +473,7 @@ Context::~Context() objDestroyOOBDestroy(); } -void Context::setSurface(uint32_t w, uint32_t h, android_native_window_t *sur) +void Context::setSurface(uint32_t w, uint32_t h, ANativeWindow *sur) { rsAssert(mIsGraphicsContext); @@ -888,7 +888,7 @@ void rsi_ContextResume(Context *rsc) rsc->resume(); } -void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, android_native_window_t *sur) +void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, ANativeWindow *sur) { rsc->setSurface(w, h, sur); } |
