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

Issue 1504983003: Loosen check for zero vectors in GrPathUtils::convert_noninflect_cubic_to_quads (Closed)

Created:
5 years ago by robertphillips
Modified:
5 years ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Loosen check for zero vectors in GrPathUtils::convert_noninflect_cubic_to_quads In the repro case the conic in question has a replicated control point at the end. These points end up being slightly different by the time they get to convert_noninflect_cubic_to_quads so the initial checks for a zero vector don't fire. The following checks, in the constrainWithinTangents path, do fire however leading to a premature termination of conversion to quads. BUG=skia:4611 Committed: https://skia.googlesource.com/skia/+/f08ce6cd53c5607ed068f755036b062a8693a8dc

Patch Set 1 #

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

Messages

Total messages: 14 (8 generated)
robertphillips
5 years ago (2015-12-07 22:14:02 UTC) #3
bsalomon
lgtm
5 years ago (2015-12-07 22:24:46 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1504983003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1504983003/1
5 years ago (2015-12-07 22:32:22 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-07 22:48:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1504983003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1504983003/1
5 years ago (2015-12-08 13:18:36 UTC) #12
commit-bot: I haz the power
5 years ago (2015-12-08 13:19:14 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/f08ce6cd53c5607ed068f755036b062a8693a8dc

Powered by Google App Engine
This is Rietveld 408576698