commit | e96aa3e859cb747e241dfa2999fcd142a688ed57 | [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 | 8b725f12dd84b37345eebaa40951bc401b2e0a3f | |
parent | 0c76c7c5eedf90b5fa1a95b6a9944b4e58747007 [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 5f836366..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); }