diff options
| author | 2011-07-21 14:50:29 -0700 | |
|---|---|---|
| committer | 2011-07-21 14:50:29 -0700 | |
| commit | bb66c9b5a9c16dee93559eb738746a2d0a9b2db3 (patch) | |
| tree | b823d8438f697ac04ca8859627bd00bd7e3c9e30 /libs/gui/SurfaceTextureClient.cpp | |
| parent | bbb29412b7244a57feaab6cdbb5e2ee26a63dacf (diff) | |
Fix a few issues with NATIVE_WINDOW_TRANSFORM_HINT
- fixed uninitialized variable
- set hint to indentity when transform is too complex
- make sure FrameBufferNativeWindow doesn't fail on needed perform commands
Bug: 4487161
Change-Id: I7cb2b0869b72404732eca7cb2d145ff669e2ed9b
Diffstat (limited to 'libs/gui/SurfaceTextureClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceTextureClient.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/gui/SurfaceTextureClient.cpp b/libs/gui/SurfaceTextureClient.cpp index 1dc6cd2cf7..986fc7e371 100644 --- a/libs/gui/SurfaceTextureClient.cpp +++ b/libs/gui/SurfaceTextureClient.cpp @@ -55,6 +55,9 @@ void SurfaceTextureClient::init() { mQueryWidth = 0; mQueryHeight = 0; mQueryFormat = 0; + mDefaultWidth = 0; + mDefaultHeight = 0; + mTransformHint = 0; mConnectedToCpu = false; } |