diff options
author | Jamie Gennis <jgennis@google.com> | 2012-12-12 12:16:21 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-12-12 12:16:21 -0800 |
commit | 3c1ada982202d97ecd0a9a542b5373e2d78658fb (patch) | |
tree | 76d392d418919474f36d97f86c3a089011b3103a | |
parent | c6f04666c205a72add3c856455bf212f0c84d6fc (diff) | |
parent | 4def8600305bc2b7f947c9fc0811095b7c17c8e2 (diff) | |
download | frameworks_native-3c1ada982202d97ecd0a9a542b5373e2d78658fb.zip frameworks_native-3c1ada982202d97ecd0a9a542b5373e2d78658fb.tar.gz frameworks_native-3c1ada982202d97ecd0a9a542b5373e2d78658fb.tar.bz2 |
Merge "SurfaceTextureClient: remove a deprecated ctor"
-rw-r--r-- | include/gui/SurfaceTextureClient.h | 6 | ||||
-rw-r--r-- | libs/gui/SurfaceTextureClient.cpp | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h index 50fd1ba..56d861a 100644 --- a/include/gui/SurfaceTextureClient.h +++ b/include/gui/SurfaceTextureClient.h @@ -41,12 +41,6 @@ public: SurfaceTextureClient(const sp<ISurfaceTexture>& surfaceTexture); - // SurfaceTextureClient is overloaded to assist in refactoring ST and BQ. - // SurfaceTexture is no longer an ISurfaceTexture, so client code - // calling the original constructor will fail. Thus this convenience method - // passes in the surfaceTexture's bufferQueue to the init method. - SurfaceTextureClient(const sp<SurfaceTexture>& surfaceTexture); - sp<ISurfaceTexture> getISurfaceTexture() const; protected: diff --git a/libs/gui/SurfaceTextureClient.cpp b/libs/gui/SurfaceTextureClient.cpp index afdbf04..7588b9e 100644 --- a/libs/gui/SurfaceTextureClient.cpp +++ b/libs/gui/SurfaceTextureClient.cpp @@ -41,14 +41,6 @@ SurfaceTextureClient::SurfaceTextureClient( SurfaceTextureClient::setISurfaceTexture(surfaceTexture); } -// see SurfaceTextureClient.h -SurfaceTextureClient::SurfaceTextureClient(const - sp<SurfaceTexture>& surfaceTexture) -{ - SurfaceTextureClient::init(); - SurfaceTextureClient::setISurfaceTexture(surfaceTexture->getBufferQueue()); -} - SurfaceTextureClient::SurfaceTextureClient() { SurfaceTextureClient::init(); } |