diff options
author | yunchao.he <yunchao.he@intel.com> | 2014-07-28 19:18:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-07-28 19:18:49 -0700 |
commit | 2bff230d835fbc84f0ce8b2e7a399fe8416ec7c8 (patch) | |
tree | 6a096046193a0c0696340581026f50f649702fb2 /src/utils | |
parent | 15ab26d94242a790230aee6f2c4889bca910c8f7 (diff) |
round 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:
R=robertphillips@google.com
Author: yunchao.he@intel.com
Review URL: https://codereview.chromium.org/417113002
Diffstat (limited to 'src/utils')
0 files changed, 0 insertions, 0 deletions