summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/NativeWindowWrapper.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-02-14 17:11:27 -0800
committerMathias Agopian <mathias@google.com>2013-02-15 12:47:35 -0800
commit1a2952aee048ca7b1765e2bc09ebe9aeddaeafa3 (patch)
tree8e63f996a20f020e0af736eab89d632204c2c631 /include/media/stagefright/NativeWindowWrapper.h
parent05f625c46b992ab66b8d1527a366fe2746b4e3c7 (diff)
downloadframeworks_av-1a2952aee048ca7b1765e2bc09ebe9aeddaeafa3.zip
frameworks_av-1a2952aee048ca7b1765e2bc09ebe9aeddaeafa3.tar.gz
frameworks_av-1a2952aee048ca7b1765e2bc09ebe9aeddaeafa3.tar.bz2
Refactoring: Rename SurfaceTextureClient to Surface
Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
Diffstat (limited to 'include/media/stagefright/NativeWindowWrapper.h')
-rw-r--r--include/media/stagefright/NativeWindowWrapper.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/media/stagefright/NativeWindowWrapper.h b/include/media/stagefright/NativeWindowWrapper.h
index 97cc0ce..cfeec22 100644
--- a/include/media/stagefright/NativeWindowWrapper.h
+++ b/include/media/stagefright/NativeWindowWrapper.h
@@ -18,29 +18,29 @@
#define NATIVE_WINDOW_WRAPPER_H_
-#include <gui/SurfaceTextureClient.h>
+#include <gui/Surface.h>
namespace android {
-// SurfaceTextureClient derives from ANativeWindow which derives from multiple
+// Surface derives from ANativeWindow which derives from multiple
// base classes, in order to carry it in AMessages, we'll temporarily wrap it
// into a NativeWindowWrapper.
struct NativeWindowWrapper : RefBase {
NativeWindowWrapper(
- const sp<SurfaceTextureClient> &surfaceTextureClient) :
+ const sp<Surface> &surfaceTextureClient) :
mSurfaceTextureClient(surfaceTextureClient) { }
sp<ANativeWindow> getNativeWindow() const {
return mSurfaceTextureClient;
}
- sp<SurfaceTextureClient> getSurfaceTextureClient() const {
+ sp<Surface> getSurfaceTextureClient() const {
return mSurfaceTextureClient;
}
private:
- const sp<SurfaceTextureClient> mSurfaceTextureClient;
+ const sp<Surface> mSurfaceTextureClient;
DISALLOW_EVIL_CONSTRUCTORS(NativeWindowWrapper);
};