diff options
author | Mathias Agopian <mathias@google.com> | 2011-07-18 16:15:08 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-07-19 13:05:12 -0700 |
commit | 933389f75814bb62e8153528f9cff2cb329b77df (patch) | |
tree | 355a83e45a91cf145e434280ad27cf0aaf7cdadf /libs/gui/SurfaceTextureClient.cpp | |
parent | 7734ebfe47f42f980c1b44c1f284a91d8ad1d6c7 (diff) | |
download | frameworks_native-933389f75814bb62e8153528f9cff2cb329b77df.zip frameworks_native-933389f75814bb62e8153528f9cff2cb329b77df.tar.gz frameworks_native-933389f75814bb62e8153528f9cff2cb329b77df.tar.bz2 |
use SurfaceTexture new scaling mode in SF
SF now obeys SurfaceTexture's scaling mode instead
of inferring it from the buffer's size
Change-Id: I4d50e9851abedd7e64bfcfc8af9eefb9fb668529
Diffstat (limited to 'libs/gui/SurfaceTextureClient.cpp')
-rw-r--r-- | libs/gui/SurfaceTextureClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/SurfaceTextureClient.cpp b/libs/gui/SurfaceTextureClient.cpp index fec80ef..68475e9 100644 --- a/libs/gui/SurfaceTextureClient.cpp +++ b/libs/gui/SurfaceTextureClient.cpp @@ -466,7 +466,7 @@ int SurfaceTextureClient::setBuffersFormat(int format) int SurfaceTextureClient::setScalingMode(int mode) { - LOGV("SurfaceTextureClient::setScalingMode"); + LOGV("SurfaceTextureClient::setScalingMode(%d)", mode); Mutex::Autolock lock(mMutex); // mode is validated on the server status_t err = mSurfaceTexture->setScalingMode(mode); |