summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/LayerBase.cpp
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2011-09-26 15:09:15 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-09-26 15:09:15 -0700
commit3780d38010f50ccce508871058d54c1921936e0c (patch)
treec145da39534846d2dfa7b6bc8472072261465c83 /services/surfaceflinger/LayerBase.cpp
parent622abb73a9fa8253679de1ac22bca66ab055eef8 (diff)
parentfd2429d440413e3d6540bc3e7d9cc591e1d681e1 (diff)
Merge "SurfaceFlinger: fix the transform hint" into ics-factoryrom
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);
}