OSDN Git Service

give the proper orientation to the h/w composer HAL
authorMathias Agopian <mathias@google.com>
Fri, 19 Aug 2011 01:31:00 +0000 (18:31 -0700)
committerMathias Agopian <mathias@google.com>
Fri, 19 Aug 2011 01:33:44 +0000 (18:33 -0700)
commitd992db3827016388e8069f5793b031153d423501
treed3500a1e394f13589343589f1c0d6111a381f68c
parent9509b9ce60d1919a3cf1bd7e66dd39183cb488a0
give the proper orientation to the h/w composer HAL

we were using the "orientation" value instead of the
real transform, which may contain arbitrary rotations for
instance, and in some case ended up with a final "orientation"
that looked valid, but wasn't.

this fixes a problem on devices with a h/w composer hal where
the rotation animation looked weird.

Change-Id: I4be8a2a1bde49c33456fcf5c8d87ab515c216763
services/surfaceflinger/Layer.cpp
services/surfaceflinger/LayerBase.cpp
services/surfaceflinger/LayerBase.h