commit | 99f942e5505a663b0d355ad187484f15e3a9a83a | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Wed Jul 13 10:40:42 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 13 10:40:43 2016 -0700 |
tree | d80943a502fa24a574f3f1edfc6c5e57a7aa10c5 | |
parent | 485a12003ab48b54965d6f7172f3183358919d8e [diff] |
Fix vertex count estimate in GrTessellator. When we start a new MonotonePoly due to a handedness change, we don't need to increase the vertex count, since that edge (and vertex) has already been accounted for in the previous MonotonePoly. This was not a correctness issue, but was causing us to allocate extra vertices which would go unused. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2146063002 Review-Url: https://codereview.chromium.org/2146063002