commit | 487a92caef2eb90a62e8f8d7a6fe6315f1c1d8d8 | [log] [tgz] |
---|---|---|
author | Rob Tsuk <robtsuk@google.com> | Tue Jan 06 13:22:54 2015 -0800 |
committer | Rob Tsuk <robtsuk@google.com> | Wed Jan 14 17:24:58 2015 -0800 |
tree | 6515f9b52f874f5f076a25df83a353de10a3da14 | |
parent | 382d6a9ed2360ceb462ea46a60f0f106fdb52540 [diff] |
Clipping performance improvements Create a ClipArea class to handle tracking clip regions. This class can select the most efficient implementation depending on the types of clipping presented. ClipArea re-used the rectangle and region-based clipping implementations as well as adding a "list of rotated rectangles" approach that is more efficient for rotated views with children. Change-Id: I2133761a2462ebc0852b394220e265974b3086f0