DescriptionAdd GPU support for roundrects
This uses the OvalRenderer to render roundrects as "stretched ovals." It adds an
additional shader that handles the straight edges of ellipsoid roundrects better,
and uses the circle shader for roundrects where the two radii are the same. Only
axis-aligned, simple roundrects are supported. Handles fill, stroke and hairline.
Committed: http://code.google.com/p/skia/source/detail?r=8859
Patch Set 1 #Patch Set 2 : Add new roundrect shader to clean up edges; other edge fixes #Patch Set 3 : Use circle edge renderer for some rrects; don't draw centers of stroked rrects #Patch Set 4 : Change to new static creation method #Patch Set 5 : Remove some unnecessary checks #
Total comments: 29
Patch Set 6 : Changed to use long-lived index buffer; nits #Patch Set 7 : Initialize index buffer pointer to NULL #
Total comments: 3
Patch Set 8 : Add oval check to SkCanvas #
Messages
Total messages: 11 (0 generated)
|