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

Issue 2350263003: fix for conic fuzz (Closed)

Created:
4 years, 3 months ago by caryclark
Modified:
4 years, 3 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

fix for conic fuzz A fuzzer generates a conic that hangs when drawn. The quads that approximate the conics move up and down in y, confusing the renderer. This fix ensures that the split conic maintains the same y direction as the original conic. R=reed@google.com BUG=647922 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2350263003 Committed: https://skia.googlesource.com/skia/+/ac78863acdef4b428aaf66985b80c76d1be0fdea

Patch Set 1 #

Total comments: 6

Patch Set 2 : address comments #

Patch Set 3 : move middle to closer end #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -0 lines) Patch
M src/core/SkGeometry.cpp View 1 2 2 chunks +32 lines, -0 lines 0 comments Download
M tests/PathTest.cpp View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
caryclark
Have these conics already been split so they're monotonically increasing?
4 years, 3 months ago (2016-09-20 14:37:56 UTC) #4
reed1
https://codereview.chromium.org/2350263003/diff/1/src/core/SkGeometry.cpp File src/core/SkGeometry.cpp (right): https://codereview.chromium.org/2350263003/diff/1/src/core/SkGeometry.cpp#newcode1157 src/core/SkGeometry.cpp:1157: static bool between(SkScalar a, SkScalar b, SkScalar c) { ...
4 years, 3 months ago (2016-09-20 17:33:26 UTC) #7
caryclark
https://codereview.chromium.org/2350263003/diff/1/src/core/SkGeometry.cpp File src/core/SkGeometry.cpp (right): https://codereview.chromium.org/2350263003/diff/1/src/core/SkGeometry.cpp#newcode1157 src/core/SkGeometry.cpp:1157: static bool between(SkScalar a, SkScalar b, SkScalar c) { ...
4 years, 3 months ago (2016-09-21 14:37:48 UTC) #8
caryclark
This changes more GMs than I expect, though the changes are small. Maybe it would ...
4 years, 3 months ago (2016-09-21 19:18:16 UTC) #14
caryclark
With Patch Set 3, there are no GM changes. Sound good?
4 years, 3 months ago (2016-09-21 20:35:48 UTC) #15
reed1
lgtm
4 years, 3 months ago (2016-09-21 20:37:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2350263003/40001
4 years, 3 months ago (2016-09-21 20:38:27 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/ac78863acdef4b428aaf66985b80c76d1be0fdea
4 years, 3 months ago (2016-09-22 12:15:17 UTC) #20
caryclark
4 years, 3 months ago (2016-09-22 14:42:19 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2361473004/ by caryclark@google.com.

The reason for reverting is: See if this fixes the layout tests..

Powered by Google App Engine
This is Rietveld 408576698