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

Issue 1158803002: Added GrAAFlatteningConvexPathRenderer (Closed)

Created:
5 years, 7 months ago by ethannicholas
Modified:
5 years, 6 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

Added GrAAFlatteningConvexPathRenderer. This is an alternate version of GrAAConvexPathRenderer which handles curves by first flattening them to straight lines. BUG=skia: Committed: https://skia.googlesource.com/skia/+/1a1b3ac0d4feecb0fefa8a07c7abf3471c96f545

Patch Set 1 #

Patch Set 2 : minor cleanups #

Patch Set 3 : merged with master #

Patch Set 4 : hopefully fixed windows build issues #

Total comments: 27

Patch Set 5 : fixed minor formatting issues, renamed Flattening to Linearizing, replaced tessellator with new imp… #

Total comments: 7

Patch Set 6 : minor cleanups, added minCross / maxCross checking back in #

Patch Set 7 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+539 lines, -101 lines) Patch
M gyp/gpu.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/gpu/GrAAConvexTessellator.h View 1 2 3 4 5 4 chunks +20 lines, -1 line 0 comments Download
M src/gpu/GrAAConvexTessellator.cpp View 1 2 3 4 5 9 chunks +192 lines, -95 lines 0 comments Download
A + src/gpu/GrAALinearizingConvexPathRenderer.h View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
A src/gpu/GrAALinearizingConvexPathRenderer.cpp View 1 2 3 4 1 chunk +320 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
ethannicholas
5 years, 7 months ago (2015-05-27 15:10:44 UTC) #2
bsalomon
mostly looking good to me. One naming thing: We often use the term "flattening" WRT ...
5 years, 7 months ago (2015-05-27 17:11:07 UTC) #3
robertphillips
https://codereview.chromium.org/1158803002/diff/60001/src/gpu/GrAAFlatteningConvexPathRenderer.cpp File src/gpu/GrAAFlatteningConvexPathRenderer.cpp (right): https://codereview.chromium.org/1158803002/diff/60001/src/gpu/GrAAFlatteningConvexPathRenderer.cpp#newcode2 src/gpu/GrAAFlatteningConvexPathRenderer.cpp:2: /* Update this ? https://codereview.chromium.org/1158803002/diff/60001/src/gpu/GrAAFlatteningConvexPathRenderer.cpp#newcode38 src/gpu/GrAAFlatteningConvexPathRenderer.cpp:38: bool GrAAFlatteningConvexPathRenderer::canDrawPath(const GrDrawTarget* ...
5 years, 7 months ago (2015-05-27 18:10:54 UTC) #4
bsalomon
I misread the diff as though it was replacing the old renderer/tessellator with the new ...
5 years, 7 months ago (2015-05-27 18:14:23 UTC) #5
ethannicholas
https://codereview.chromium.org/1158803002/diff/60001/src/gpu/GrAAFlatteningConvexPathRenderer.cpp File src/gpu/GrAAFlatteningConvexPathRenderer.cpp (right): https://codereview.chromium.org/1158803002/diff/60001/src/gpu/GrAAFlatteningConvexPathRenderer.cpp#newcode2 src/gpu/GrAAFlatteningConvexPathRenderer.cpp:2: /* On 2015/05/27 18:10:53, robertphillips wrote: > Update this ...
5 years, 7 months ago (2015-05-27 19:22:30 UTC) #6
bsalomon
looking good to me... few small nits. https://codereview.chromium.org/1158803002/diff/80001/src/gpu/GrAAConvexTessellator.cpp File src/gpu/GrAAConvexTessellator.cpp (left): https://codereview.chromium.org/1158803002/diff/80001/src/gpu/GrAAConvexTessellator.cpp#oldcode253 src/gpu/GrAAConvexTessellator.cpp:253: SkScalar minCross ...
5 years, 6 months ago (2015-05-29 15:07:56 UTC) #7
ethannicholas
https://codereview.chromium.org/1158803002/diff/80001/src/gpu/GrAAConvexTessellator.cpp File src/gpu/GrAAConvexTessellator.cpp (left): https://codereview.chromium.org/1158803002/diff/80001/src/gpu/GrAAConvexTessellator.cpp#oldcode253 src/gpu/GrAAConvexTessellator.cpp:253: SkScalar minCross = SK_ScalarMax, maxCross = -SK_ScalarMax; On 2015/05/29 ...
5 years, 6 months ago (2015-06-02 20:20:42 UTC) #8
bsalomon
lgtm
5 years, 6 months ago (2015-06-02 20:52:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1158803002/120001
5 years, 6 months ago (2015-06-10 19:05:47 UTC) #12
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 19:11:22 UTC) #13
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/1a1b3ac0d4feecb0fefa8a07c7abf3471c96f545

Powered by Google App Engine
This is Rietveld 408576698