summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.cpp
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.cpp
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.cpp')
-rw-r--r--libs/rs/rsContext.cpp4
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);
}