DescriptionShader optimization for ovals.
Previously we were setting a center point as an attribute
across all vertices, then using that with the interpolated
position to compute an offset. However, because the offset
computation is linear, we can just set the appropriate offset
at the vertices and let the rasterizer interpolate it for us.
Committed: http://code.google.com/p/skia/source/detail?r=8613
Patch Set 1 #Patch Set 2 : Add bounds to drawNonIndexed, some cleanup #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|