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

Issue 2321973005: Rewriting path writer (Closed)

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

Description

Rewriting path writer The path writer takes constructs the output path out of curves that satisfy the pathop operation. Curves contain lists of t/point pairs that may not be comparable to each other. To match up curve ends in the output path, look for adjacent curves to have a shared membership rather than comparing point values. Use path utilities to connect partial curve lists into closed contours. Share the angle code that determines if a curve has become a degenerate line with the path writer. Clean up some code on the way, and delete some unused functions. TBR=reed@google.com BUG=5188 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2321973005 Committed: https://skia.googlesource.com/skia/+/eed356d281adbf93ecbd89cb23913a7861cd8578

Patch Set 1 #

Patch Set 2 : wip; rewrite path writer #

Patch Set 3 : wip; broke a skp #

Patch Set 4 : checkpoint: all !under-development tests pass #

Patch Set 5 : fix merge conflicts #

Patch Set 6 : clean up cl #

Patch Set 7 : revert tool changes #

Patch Set 8 : another merge attempt #

Patch Set 9 : revert unneeded test changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -587 lines) Patch
M src/pathops/SkOpAngle.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/pathops/SkOpAngle.cpp View 18 chunks +51 lines, -106 lines 0 comments Download
M src/pathops/SkOpBuilder.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/pathops/SkOpContour.h View 1 2 3 4 5 4 chunks +45 lines, -28 lines 0 comments Download
M src/pathops/SkOpContour.cpp View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download
M src/pathops/SkOpEdgeBuilder.h View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M src/pathops/SkOpEdgeBuilder.cpp View 1 2 3 4 5 1 chunk +0 lines, -10 lines 0 comments Download
M src/pathops/SkOpSegment.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/pathops/SkOpSegment.cpp View 1 2 3 4 5 1 chunk +22 lines, -49 lines 0 comments Download
M src/pathops/SkPathOpsCommon.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/pathops/SkPathOpsCommon.cpp View 1 2 3 4 1 chunk +0 lines, -209 lines 0 comments Download
M src/pathops/SkPathOpsCurve.h View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M src/pathops/SkPathOpsCurve.cpp View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
M src/pathops/SkPathOpsDebug.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M src/pathops/SkPathOpsDebug.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M src/pathops/SkPathOpsOp.cpp View 1 2 3 4 5 4 chunks +6 lines, -11 lines 0 comments Download
M src/pathops/SkPathOpsSimplify.cpp View 1 2 3 4 5 7 chunks +9 lines, -22 lines 0 comments Download
M src/pathops/SkPathOpsTightBounds.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/pathops/SkPathWriter.h View 1 2 3 4 5 1 chunk +31 lines, -22 lines 0 comments Download
M src/pathops/SkPathWriter.cpp View 1 2 3 4 5 1 chunk +281 lines, -106 lines 0 comments Download
M tests/PathOpsDebug.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (17 generated)
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/2321973005/180001
4 years, 3 months ago (2016-09-14 14:17:05 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-14 14:18:26 UTC) #19
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://skia.googlesource.com/skia/+/eed356d281adbf93ecbd89cb23913a7861cd8578

Powered by Google App Engine
This is Rietveld 408576698