summaryrefslogtreecommitdiffstats
path: root/libs/gui/SurfaceTextureClient.cpp
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-05-19 13:33:00 -0700
committerJamie Gennis <jgennis@google.com>2011-05-25 12:27:33 -0700
commita218715a7fca98c868feccee4751c94e38b676ff (patch)
tree3386ef4297d74a48b940e2b9d61fdd6f9c209cd0 /libs/gui/SurfaceTextureClient.cpp
parent4ece6db47ec33ed439ae2177fbc0cc3e7e79cdca (diff)
downloadframeworks_base-a218715a7fca98c868feccee4751c94e38b676ff.zip
frameworks_base-a218715a7fca98c868feccee4751c94e38b676ff.tar.gz
frameworks_base-a218715a7fca98c868feccee4751c94e38b676ff.tar.bz2
SurfaceTexture: clean up some comments, tests, etc.
This change fixes up some stale comments, member variable names, log messages and disables a failing test. Change-Id: Ic1d3344b18066cf710e4a42838b2417c6b1f2f6c
Diffstat (limited to 'libs/gui/SurfaceTextureClient.cpp')
-rw-r--r--libs/gui/SurfaceTextureClient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gui/SurfaceTextureClient.cpp b/libs/gui/SurfaceTextureClient.cpp
index 6f10320..c20fcf2 100644
--- a/libs/gui/SurfaceTextureClient.cpp
+++ b/libs/gui/SurfaceTextureClient.cpp
@@ -117,7 +117,8 @@ int SurfaceTextureClient::dequeueBuffer(android_native_buffer_t** buffer) {
mReqFormat, mReqUsage);
if (result < 0) {
LOGV("dequeueBuffer: ISurfaceTexture::dequeueBuffer(%d, %d, %d, %d)"
- "failed: %d", result, mReqWidth, mReqHeight, mReqFormat, mReqUsage);
+ "failed: %d", mReqWidth, mReqHeight, mReqFormat, mReqUsage,
+ result);
return result;
}
sp<GraphicBuffer>& gbuf(mSlots[buf]);