OSDN Git Service

take the state transform into account with h/w composer hal
authorMathias Agopian <mathias@google.com>
Tue, 12 Jul 2011 21:51:45 +0000 (14:51 -0700)
committerMathias Agopian <mathias@google.com>
Tue, 12 Jul 2011 21:51:45 +0000 (14:51 -0700)
commit29a367bb7c14c916e991a6a0028727bd06c1e16e
tree5ad214eecce158394dd89951ccd0ddcf72ed777b
parenta58d703cae2c71ed0f4ad042f324419579e4393b
take the state transform into account with h/w composer hal

if the state transform didn't preserve rectangles, we
would still try to use h/w composer hal using the bounds
of the transformed rect, which isn't correct.

now we correctly fall back to composition.

Change-Id: Iff78f4339ece415d4987e95a5717b04934d370ab
services/surfaceflinger/Layer.cpp
services/surfaceflinger/Transform.cpp