commit | 8618589908e6df711c75dc91b9e2bfeeb87f3d00 | [log] [tgz] |
---|---|---|
author | Charlie Tsai <chartsai@google.com> | Fri May 05 11:51:47 2017 +0100 |
committer | Charlie Tsai <chartsai@google.com> | Sat May 06 19:10:14 2017 +0100 |
tree | abdee26392e18e6cc0451402602ac5eef9a405e3 | |
parent | 47e090c391ab5b21ec8d55f0798914413dd0ff02 [diff] |
Draw rectangle shadow fast in low elevation cases When the elevation is not high, the shadow is similar to just add some dark lines on the edges and corners of rectangle views. Using simple algorithm can also improve the performance and save more memory. Test: The render result of unit test is updated. Bug: 37906145 Change-Id: I28758f868ee6e24e4552368bddfb7ac10fe0a205