commit | b661d66013b9803c50dc78ca0247ac39caef443a | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Thu Aug 19 17:01:19 2010 -0700 |
committer | Mathias Agopian <mathias@google.com> | Tue Aug 24 15:40:50 2010 -0700 |
tree | 8844bd39ddf6611d60803a015b1861fb8faf0e2b | |
parent | af2ac558a47d2f69c69755e0ac95b792bd0f1f3b [diff] [blame] |
fix [2931513] Add support for setting the orientation of an ANativeWindow Also implement support for cropping. Change-Id: Iba5888dd242bf2feaac9e9ce26e404c1f404c280
diff --git a/services/surfaceflinger/LayerBuffer.cpp b/services/surfaceflinger/LayerBuffer.cpp index 5f83636..0240748 100644 --- a/services/surfaceflinger/LayerBuffer.cpp +++ b/services/surfaceflinger/LayerBuffer.cpp
@@ -485,7 +485,7 @@ mTextureManager.loadTexture(&mTexture, dirty, t); } - mTexture.transform = mBufferHeap.transform; + mLayer.setBufferTransform(mBufferHeap.transform); mLayer.drawWithOpenGL(clip, mTexture); }