commit | f68d0dfdbf0e065e46ef9e36dbb5b607e1a6e71d | [log] [tgz] |
---|---|---|
author | Sushil Chauhan <sushilchauhan@codeaurora.org> | Wed Apr 09 09:15:37 2014 -0700 |
committer | Sushil Chauhan <sushilchauhan@codeaurora.org> | Wed Apr 09 10:17:18 2014 -0700 |
tree | ae23861ffe8c10009756b238074230ac84272a97 | |
parent | 867f16b54b8f609268e10f1a16e91eae27dc7d3d [diff] |
hwc: Display view frame needs to be set before using it. The display view frame needs to be set before calling trimLayer api because it uses view frame to find the scissor for display, which is used to clip crop for out-of-bounds display frame sent by framework. If mViewFrame is not set, scissor will be empty rect, which leads to wrong source crop calculation. Change-Id: I52ad4eb9037d34aff24c30fe65e3793684445264