Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Issue 1557903002: Fixed an assertion error in GrAAConvexTessellator. While adding a new point, it would check that th… (Closed)

Created:
4 years, 11 months ago by ethannicholas
Modified:
4 years, 11 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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 Committed: https://skia.googlesource.com/skia/+/1bcbc8f8c0747691496d779055675bc47ca65c86

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M src/gpu/batches/GrAAConvexTessellator.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557903002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557903002/1
4 years, 11 months ago (2016-01-04 15:41:17 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-04 15:55:51 UTC) #5
ethannicholas
4 years, 11 months ago (2016-01-04 15:58:37 UTC) #8
robertphillips1
lgtm
4 years, 11 months ago (2016-01-04 16:03:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1557903002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1557903002/20001
4 years, 11 months ago (2016-01-08 21:47:49 UTC) #12
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 22:09:21 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/1bcbc8f8c0747691496d779055675bc47ca65c86

Powered by Google App Engine
This is Rietveld 408576698