commit | b1925963658825d6e134dd4aacd9d5dd3c2623cf | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Mon Apr 01 16:37:10 2019 -0700 |
committer | Peiyong Lin <lpy@google.com> | Tue Apr 02 12:45:19 2019 -0700 |
tree | b9a377f53a736a4ae7d205dab6731367ee508c32 | |
parent | 945a7006f905b5f460668923b9875cd6637931a6 [diff] |
[Rounded Corners] Take display rotation into account. Previously when we applied glScissor on the layer, we always assume after the transformation, the layer already had the aligned coordinates. However, we still need to take rotation into account such that the (left, top) and (right, bottom) coordinates align with the display coordination space. BUG: 129619488 Test: Build, flash and boot. Verify with different rotation. Change-Id: I6db6d5465af3e1961477960d9cba5c7331fa1ba1