Descriptionround and bevel hairline rects show the same as miter hairline rects
So round and bevel hairline rects can generate the vertices and indices the same as miter rects do. The original code behaves the same as bevel rects for round and bevel hairline rects.
This small CL can save (vertices and indices) buffer memory as well as improve performance (draw less triangles).
gm cases show no difference after this CL is applied.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/2bff230d835fbc84f0ce8b2e7a399fe8416ec7c8
Patch Set 1 : #
Total comments: 1
Patch Set 2 : update comment #Messages
Total messages: 5 (0 generated)
|