25e5a02d1cbbaa8352be314c45f9cf3599a8f30e |
|
11-Sep-2014 |
ztenghui <ztenghui@google.com> |
Finer tessellation can draw better looking shadows for circles. b/14976551 Change-Id: I4b9e320b025dbee37cd1893881ddbaad62e3a6e2
/frameworks/base/libs/hwui/TessellationCache.cpp
|
c50a03d78aaedd0003377e98710e7038bda330e9 |
|
21-Aug-2014 |
ztenghui <ztenghui@google.com> |
Improve the spot shadow computation. Get rid of compuation of the intersection for penumbra and convex hull for umbra. Use simple circle / normal to compute the penumbra and simple intersection for umbra. The new way could be 2x to 4x faster from rectangle to round shape. And this part is roughly half of the shadow computation, or 2/3 of spot shadow computation. This improve the spot shadow spikeness too. b/16712006 b/14976551 Change-Id: I02911784868731369efa73f76fc915bc08248600
/frameworks/base/libs/hwui/TessellationCache.cpp
|
69e5adffb19135d51bde8e458f4907d7265f3e23 |
|
14-Aug-2014 |
Chris Craik <ccraik@google.com> |
Define shadow casting behavior within layers bug:15860114 Savelayers and HW layers both now support shadow casting. For save layers, the light source should always be correct, for HW layers, the light source position is set when the layer is created, and updated when it is resized. Change-Id: Ie85567dd43c2bb0a0b08fd0bd4db41efa793ac2b
/frameworks/base/libs/hwui/TessellationCache.cpp
|
1aa5d2d7068147ff781cfe911a93f01593a68c79 |
|
24-Jul-2014 |
John Reck <jreck@google.com> |
Fix ALL compile warnings All warnings/errors fixed for GCC & Clang Change-Id: I2ece3a136a5ae97a9acc3069537ed986238b5fd3
/frameworks/base/libs/hwui/TessellationCache.cpp
|
c93e45cf045f41aea95f856173e4043d988a5a5c |
|
16-Jul-2014 |
Chris Craik <ccraik@google.com> |
Build layer damage bounds for shadows bug:15538815 Change-Id: I703afeb7e31c28002bd1aff9ce448ec8cdc4e70d
/frameworks/base/libs/hwui/TessellationCache.cpp
|
6ac174b97246ed40fe780b29561603b61770fa17 |
|
17-Jun-2014 |
Chris Craik <ccraik@google.com> |
Clean up tessellation cache in prep for other tesselation types bug:15536396 Also fixes compilation warning, avoids SkPaint deep copy Change-Id: I74334f08b1d34c6789aabf968ff62db5bacbed1b
/frameworks/base/libs/hwui/TessellationCache.cpp
|
bd2d97f2b7212a74c11ee09f3badaea70ba9fe0b |
|
13-Jun-2014 |
Chris Craik <ccraik@google.com> |
am 9de2a8f4: Merge "Add AA flag to TessellationCache key" into lmp-preview-dev * commit '9de2a8f42d88e50146947a7bf21b212ea134ee83': Add AA flag to TessellationCache key
|
ed4ef0bc17c33ecd7e689e3c40244a7c1c6063d0 |
|
12-Jun-2014 |
Chris Craik <ccraik@google.com> |
Add AA flag to TessellationCache key bug:15539571 Change-Id: I7cf470ca962041ab3c00c740e87c6ae9a95f06a8
/frameworks/base/libs/hwui/TessellationCache.cpp
|
1b3be0877a07dac81fd21c898ba917e6ee5354b2 |
|
11-Jun-2014 |
Chris Craik <ccraik@google.com> |
Fix race in shadow tessellation by deep copying task params bug:15369119 Change-Id: Ica1445f06693b1cfd038cf3494afe1210d5507c1
/frameworks/base/libs/hwui/TessellationCache.cpp
|
6ef8e0178d6ad9fee5b410da8fd28f97205c23eb |
|
12-Jun-2014 |
Chris Craik <ccraik@google.com> |
Workaround to avoid polygon flashing DO NOT MERGE b/15539571 Temporarily disables caching of tessellation. Change-Id: If014b8c40664711aef761eec606d28aff1859b14
/frameworks/base/libs/hwui/TessellationCache.cpp
|
05f3d6e5111fd08df5cd9aae2c3d28399dc0e7f5 |
|
03-Jun-2014 |
Chris Craik <ccraik@google.com> |
Tessellate on worker threads Tessellate and cache (where possible) shadow and round rect tessellation tasks. Change-Id: I2cfda8e11d83d51ea74af871235cf26e8f831d40
/frameworks/base/libs/hwui/TessellationCache.cpp
|