Chris Craik
05f3d6e511
Tessellate on worker threads
...
Tessellate and cache (where possible) shadow and round rect
tessellation tasks.
Change-Id: I2cfda8e11d83d51ea74af871235cf26e8f831d40
2014-06-10 01:53:17 +00:00
ztenghui
7940dc57e3
Shoot the rays to the vertices of the incoming polygon.
...
bug:13553955
Change-Id: I4825a49e8eaab969c40f2ee4086f7669c9c6fd29
2014-04-24 09:53:20 -07:00
ztenghui
50ecf849cb
Create one hole inside the umbra area to avoid overdraw.
...
bug:13439450
Change-Id: I859575196bd5a3029f447883025a6ec3a1f1face
2014-03-17 10:10:02 -07:00
ztenghui
63d41abb40
Use pre-computed index to draw the shadow.
...
Also draw the umbra part as triangle fans instead of zig zag fashion.
b/12840179
Change-Id: Iaa5d15e77351acdd71f076bd8f9bb2d4d2b92faf
2014-02-25 14:18:25 -08:00
ztenghui
55bfb4e728
Calculate and show Ambient shadow.
...
Basically we compute the shadow as a strip of triangles, whose alpha value
is the strength of the shadow.
We use the normal to extend the geometry.
And we use static function and try to avoid new/malloc in the computation.
Change-Id: I382286f1cad351bd5ff983f76f446c075819dcaf
2013-12-13 17:25:47 -08:00