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

Issue 2042813002: Make GrShape track the winding direction and starting point for rrect types. (Closed)

Created:
4 years, 6 months ago by bsalomon
Modified:
4 years, 6 months ago
Reviewers:
egdaniel
CC:
reviews_skia.org
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Make GrShape track the winding direction and starting point for rrect types. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2042813002 Committed: https://skia.googlesource.com/skia/+/ee295645bd91fcbe1714847c5fe5341759037cc5

Patch Set 1 #

Patch Set 2 : minor #

Total comments: 6

Patch Set 3 : Address comments, default all rrect subtypes to start index 0 #

Total comments: 6

Patch Set 4 : address comments #

Total comments: 4

Patch Set 5 : Fix nits #

Patch Set 6 : Fix MSVS warnings #

Patch Set 7 : Fix more MSVS warnings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -91 lines) Patch
M include/core/SkRRect.h View 1 chunk +7 lines, -1 line 0 comments Download
M src/gpu/GrShape.h View 1 2 3 4 5 11 chunks +80 lines, -28 lines 0 comments Download
M src/gpu/GrShape.cpp View 1 2 3 5 chunks +70 lines, -4 lines 0 comments Download
M src/gpu/GrStyle.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M tests/GrShapeTest.cpp View 1 2 3 4 5 6 10 chunks +126 lines, -58 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (10 generated)
bsalomon
4 years, 6 months ago (2016-06-06 15:03:00 UTC) #3
egdaniel
https://codereview.chromium.org/2042813002/diff/20001/src/gpu/GrShape.h File src/gpu/GrShape.h (right): https://codereview.chromium.org/2042813002/diff/20001/src/gpu/GrShape.h#newcode266 src/gpu/GrShape.h:266: *dir = SkPath::kCW_Direction; This line is repeated above https://codereview.chromium.org/2042813002/diff/20001/src/gpu/GrShape.h#newcode273 ...
4 years, 6 months ago (2016-06-06 15:50:30 UTC) #4
bsalomon
I made the default starting index always be 0 when there is no path effect. ...
4 years, 6 months ago (2016-06-06 16:28:05 UTC) #5
egdaniel
https://codereview.chromium.org/2042813002/diff/40001/src/gpu/GrShape.cpp File src/gpu/GrShape.cpp (right): https://codereview.chromium.org/2042813002/diff/40001/src/gpu/GrShape.cpp#newcode102 src/gpu/GrShape.cpp:102: *key++ |= fRRectStart; So obviously fRRectStart will be less ...
4 years, 6 months ago (2016-06-06 18:34:37 UTC) #6
bsalomon
https://codereview.chromium.org/2042813002/diff/40001/src/gpu/GrShape.cpp File src/gpu/GrShape.cpp (right): https://codereview.chromium.org/2042813002/diff/40001/src/gpu/GrShape.cpp#newcode102 src/gpu/GrShape.cpp:102: *key++ |= fRRectStart; On 2016/06/06 18:34:36, egdaniel wrote: > ...
4 years, 6 months ago (2016-06-06 19:41:29 UTC) #7
egdaniel
lgtm + nits https://codereview.chromium.org/2042813002/diff/60001/tests/GrShapeTest.cpp File tests/GrShapeTest.cpp (right): https://codereview.chromium.org/2042813002/diff/60001/tests/GrShapeTest.cpp#newcode249 tests/GrShapeTest.cpp:249: // GrShape only respects that input ...
4 years, 6 months ago (2016-06-06 19:47:13 UTC) #8
bsalomon
https://codereview.chromium.org/2042813002/diff/60001/tests/GrShapeTest.cpp File tests/GrShapeTest.cpp (right): https://codereview.chromium.org/2042813002/diff/60001/tests/GrShapeTest.cpp#newcode249 tests/GrShapeTest.cpp:249: // GrShape only respects that input winding direction and ...
4 years, 6 months ago (2016-06-06 19:50:41 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042813002/80001
4 years, 6 months ago (2016-06-06 19:50:53 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/9019)
4 years, 6 months ago (2016-06-06 19:56:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042813002/100001
4 years, 6 months ago (2016-06-06 20:04:22 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/8990)
4 years, 6 months ago (2016-06-06 20:12:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2042813002/120001
4 years, 6 months ago (2016-06-06 20:46:04 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 21:01:32 UTC) #23
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/ee295645bd91fcbe1714847c5fe5341759037cc5

Powered by Google App Engine
This is Rietveld 408576698