commit | b0a9f9d7d27163534c1c334bf72f2f3c9edc32c9 | [log] [tgz] |
---|---|---|
author | Tatenda Chipeperekwa <tatendac@codeaurora.org> | Mon Jan 20 09:23:21 2014 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Jan 22 11:49:03 2014 -0800 |
tree | ceab047ccb24bd48b9dfca1f9c947bbdaf04d8f3 | |
parent | f19f84dd054af49d2fc27ebcc343156ea8f3df30 [diff] |
hwc: virtual display: Use outbuf handle width to configure xres Use outbuf handle width to configure display xres, since that would have the necessary alignment. The outbuf is guaranteed to be valid by the framework during hwc_prepare. We use the framebuffer layer's display frame to obtain the actual width. For example, the actual width could be 720 but the aligned width would be 736. Change-Id: I5afe38001be8116e1ad6a9f46c7ecaa50b5f25a2