diff options
author | ethannicholas <ethannicholas@google.com> | 2016-01-08 14:09:18 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-08 14:09:18 -0800 |
commit | 1bcbc8f8c0747691496d779055675bc47ca65c86 (patch) | |
tree | 1def629c0b1fe7804c154b4add0cfdf5cddc3187 /bench/CodecBench.cpp | |
parent | b10fe4941b08172378d3d1928959122f106ced37 (diff) |
Fixed an assertion error in GrAAConvexTessellator. While adding a new point, it would check that the new point was not a duplicate of the previous point. It would then drop the previous point if it was in the middle of a straight line, and proceed to add the new point.
Unfortunately, floating point precision issues mean that sometimes, after dropping the previous point, we'd end up with the newly-added point as a duplicate of the new previous point, tripping an assertion failure.
BUG=skia:4732
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1557903002
Review URL: https://codereview.chromium.org/1557903002
Diffstat (limited to 'bench/CodecBench.cpp')
0 files changed, 0 insertions, 0 deletions