summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/LayerBase.cpp
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2011-09-26 19:44:41 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-09-26 19:44:41 -0700
commitf3292716b758b51d3849b3eb021eb176e78ea720 (patch)
tree4b45f6efe4b5937a57bbb0380bf371bd9341680a /services/surfaceflinger/LayerBase.cpp
parenta7717750227ddd5829161a3e4476c1fb0de3d2ad (diff)
parent3780d38010f50ccce508871058d54c1921936e0c (diff)
am 3780d380: Merge "SurfaceFlinger: fix the transform hint" into ics-factoryrom
* commit '3780d38010f50ccce508871058d54c1921936e0c': SurfaceFlinger: fix the transform hint
Diffstat (limited to 'services/surfaceflinger/LayerBase.cpp')
-rw-r--r--services/surfaceflinger/LayerBase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp
index e5ce814bda33..7a47f620f392 100644
--- a/services/surfaceflinger/LayerBase.cpp
+++ b/services/surfaceflinger/LayerBase.cpp
@@ -45,6 +45,7 @@ LayerBase::LayerBase(SurfaceFlinger* flinger, DisplayID display)
mFlinger(flinger), mFiltering(false),
mNeedsFiltering(false), mInOverlay(false),
mOrientation(0),
+ mPlaneOrientation(0),
mTransactionFlags(0),
mPremultipliedAlpha(true), mName("unnamed"), mDebug(false),
mInvalidate(0)
@@ -256,6 +257,7 @@ void LayerBase::validateVisibility(const Transform& planeTransform)
// cache a few things...
mOrientation = tr.getOrientation();
+ mPlaneOrientation = planeTransform.getOrientation();
mTransform = tr;
mTransformedBounds = tr.makeBounds(w, h);
}