commit | 27c1d65113aaac5c577523132b5b990552284ba9 | [log] [tgz] |
---|---|---|
author | Saurabh Shah <saurshah@codeaurora.org> | Tue Aug 14 19:30:28 2012 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Wed Oct 10 23:04:28 2012 -0700 |
tree | 3cd79edb43c46902e98f8b080ae9697314375bad | |
parent | c23b380f5c97906717e3f71e20133e88bb5d8e77 [diff] |
hwc: utils: Include orientation while screen-fitting. MDP doesn't like out-of-screen-bounds parameters. So based on the position of the layer, we adjust the portion of layer the MDP should pick. However, this did not factor in orientation, so far. This patch does that and allows panning to work in other orientations, without having to use GPU. Bug: 7313955 Change-Id: Ice17ad144abcd60279c2ef9ad87fc617a1bd3621 Signed-off-by: Iliyan Malchev <malchev@google.com>