commit | 8f1c93c4d5c2feb515cde2a6ecc2309188002cbe | [log] [tgz] |
---|---|---|
author | Saurabh Shah <saurshah@codeaurora.org> | Tue Nov 05 14:39:51 2013 -0800 |
committer | Vineeta Srivastava <vsrivastava@google.com> | Wed Nov 06 15:23:11 2013 -0800 |
tree | da4ba11144dd29cd832e22ffcfda2cf87edb6668 | |
parent | 103c736926cace1ff5a6d154715b375ff1018f8e [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. Bug: 11430248 Change-Id: Ide221b0c7ada5eaedc7b0355c37e536e64c39f65