summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/LayerBase.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-08-18 21:05:51 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-08-18 21:05:51 -0700
commit8da5bf710939dad6362904a1029bb3346b596334 (patch)
tree1f9c839acdbe023b67d3465305624b6da9ccdd0a /services/surfaceflinger/LayerBase.cpp
parent7052ca4ab6d8d1eb3ae98597b3670c16d133f73f (diff)
parentd992db3827016388e8069f5793b031153d423501 (diff)
Merge "give the proper orientation to the h/w composer HAL"
Diffstat (limited to 'services/surfaceflinger/LayerBase.cpp')
-rw-r--r--services/surfaceflinger/LayerBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/LayerBase.cpp b/services/surfaceflinger/LayerBase.cpp
index 7bf73d9aee..4cc245a110 100644
--- a/services/surfaceflinger/LayerBase.cpp
+++ b/services/surfaceflinger/LayerBase.cpp
@@ -257,6 +257,7 @@ void LayerBase::validateVisibility(const Transform& planeTransform)
// cache a few things...
mOrientation = tr.getOrientation();
+ mTransform = tr;
mTransformedBounds = tr.makeBounds(w, h);
mLeft = tr.tx();
mTop = tr.ty();