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

Issue 2397963003: GrTessellator: refactor Line out of Edge. (Closed)

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

Description

GrTessellator: refactor Line out of Edge. There are cases where we need only a line equation, and not a full Edge. Create a Line struct for this, and refactor Edge to use it. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2397963003 Committed: https://skia.googlesource.com/skia/+/49df8d17c56ee08ecf860289d501913d356f67dc

Patch Set 1 #

Patch Set 2 : Fix typo. #

Patch Set 3 : Refactor Line::magSq(). #

Total comments: 2

Patch Set 4 : Move intersect() into Line. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -42 lines) Patch
M src/gpu/GrTessellator.cpp View 1 2 3 8 chunks +53 lines, -42 lines 0 comments Download

Messages

Total messages: 15 (10 generated)
Stephen White
[Not sure if Rietveld still works for Skia; let me know if I need to ...
4 years, 2 months ago (2016-10-06 21:24:43 UTC) #4
robertphillips
lgtm https://codereview.chromium.org/2397963003/diff/40001/src/gpu/GrTessellator.cpp File src/gpu/GrTessellator.cpp (right): https://codereview.chromium.org/2397963003/diff/40001/src/gpu/GrTessellator.cpp#newcode1438 src/gpu/GrTessellator.cpp:1438: // This is different from Edge::intersect, in that ...
4 years, 2 months ago (2016-10-07 13:30:58 UTC) #5
Stephen White
https://codereview.chromium.org/2397963003/diff/40001/src/gpu/GrTessellator.cpp File src/gpu/GrTessellator.cpp (right): https://codereview.chromium.org/2397963003/diff/40001/src/gpu/GrTessellator.cpp#newcode1438 src/gpu/GrTessellator.cpp:1438: // This is different from Edge::intersect, in that it ...
4 years, 2 months ago (2016-10-07 15:03:20 UTC) #6
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/2397963003/60001
4 years, 2 months ago (2016-10-07 15:25:42 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 15:36:58 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/49df8d17c56ee08ecf860289d501913d356f67dc

Powered by Google App Engine
This is Rietveld 408576698