diff options
author | Mathias Agopian <mathias@google.com> | 2012-04-23 13:59:36 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-04-23 20:06:02 -0700 |
commit | a0db308c3d62301ae41b2e2bcf295c4ee4c7b08e (patch) | |
tree | 1a4822c37b80fc383a837679e8a8da775cd460e3 /libs/gui/SurfaceTexture.cpp | |
parent | bce2d744b7dae4b242e0c79e95efd6ea717653d6 (diff) | |
download | frameworks_native-a0db308c3d62301ae41b2e2bcf295c4ee4c7b08e.zip frameworks_native-a0db308c3d62301ae41b2e2bcf295c4ee4c7b08e.tar.gz frameworks_native-a0db308c3d62301ae41b2e2bcf295c4ee4c7b08e.tar.bz2 |
remove SurfaceTexture::connect()
use BufferQueue::connect() instead
Change-Id: I04aab7cf11304bf962cde38470747f3b19ddba42
Diffstat (limited to 'libs/gui/SurfaceTexture.cpp')
-rw-r--r-- | libs/gui/SurfaceTexture.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libs/gui/SurfaceTexture.cpp b/libs/gui/SurfaceTexture.cpp index a6e8dbf..6562a94 100644 --- a/libs/gui/SurfaceTexture.cpp +++ b/libs/gui/SurfaceTexture.cpp @@ -743,13 +743,6 @@ sp<BufferQueue> SurfaceTexture::getBufferQueue() const { return mBufferQueue; } -// Used for refactoring, should not be in final interface -status_t SurfaceTexture::connect(int api, - uint32_t* outWidth, uint32_t* outHeight, uint32_t* outTransform) { - Mutex::Autolock lock(mMutex); - return mBufferQueue->connect(api, outWidth, outHeight, outTransform); -} - void SurfaceTexture::onFrameAvailable() { ST_LOGV("onFrameAvailable"); |