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

Issue 1955633002: Take SkStrokeRec::InitStyle rather than SkPaint::Style in mask filter and DrawMask (Closed)

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

Description

Take SkStrokeRec::InitStyle rather than SkPaint::Style in mask filter and DrawMask GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1955633002 Committed: https://skia.googlesource.com/skia/+/055e192adc0072ae2548ef5431ceee652945f9c2

Patch Set 1 #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : Address comments #

Patch Set 4 : fix dumb typo #

Patch Set 5 : change xps #

Patch Set 6 : fix xps change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -37 lines) Patch
M include/core/SkDraw.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/core/SkMaskFilter.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/core/SkDraw.cpp View 1 2 4 chunks +16 lines, -7 lines 0 comments Download
M src/core/SkMaskFilter.cpp View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M src/core/SkRasterizer.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkLayerRasterizer.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M src/gpu/GrBlurUtils.cpp View 8 chunks +15 lines, -18 lines 0 comments Download
M src/xps/SkXPSDevice.cpp View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 33 (13 generated)
bsalomon
The current callers always pass SkPaint::kFill or SkPaint::kStyle. The implementation puts the passed style on ...
4 years, 7 months ago (2016-05-05 19:09:58 UTC) #3
bsalomon
On 2016/05/05 19:09:58, bsalomon wrote: > The current callers always pass SkPaint::kFill or SkPaint::kStyle. The ...
4 years, 7 months ago (2016-05-05 19:10:18 UTC) #4
robertphillips
https://codereview.chromium.org/1955633002/diff/20001/src/core/SkDraw.cpp File src/core/SkDraw.cpp (right): https://codereview.chromium.org/1955633002/diff/20001/src/core/SkDraw.cpp#newcode2047 src/core/SkDraw.cpp:2047: case SkStrokeRec::kHairline_InitStyle: !paint.getStrokeWidth() ? https://codereview.chromium.org/1955633002/diff/20001/src/core/SkDraw.cpp#newcode2051 src/core/SkDraw.cpp:2051: case SkStrokeRec::kFill_InitStyle: xtra ...
4 years, 7 months ago (2016-05-05 19:52:06 UTC) #5
robertphillips
https://codereview.chromium.org/1955633002/diff/20001/src/core/SkMaskFilter.cpp File src/core/SkMaskFilter.cpp (right): https://codereview.chromium.org/1955633002/diff/20001/src/core/SkMaskFilter.cpp#newcode217 src/core/SkMaskFilter.cpp:217: const SkRasterClip& clip, SkBlitter* blitter, style is unused here ...
4 years, 7 months ago (2016-05-05 19:57:20 UTC) #6
robertphillips
https://codereview.chromium.org/1955633002/diff/20001/src/core/SkMaskFilter.cpp File src/core/SkMaskFilter.cpp (right): https://codereview.chromium.org/1955633002/diff/20001/src/core/SkMaskFilter.cpp#newcode208 src/core/SkMaskFilter.cpp:208: count_nested_fill_rects ?
4 years, 7 months ago (2016-05-05 20:04:14 UTC) #7
robertphillips
lgtm
4 years, 7 months ago (2016-05-05 20:09:37 UTC) #8
reed1
I like making strokerec private. However, SkDraw is public, so we can't have it take ...
4 years, 7 months ago (2016-05-05 20:12:55 UTC) #9
reed1
... unless we can make the function(s) that take the private type.. private? 1. SkDraw ...
4 years, 7 months ago (2016-05-05 20:15:00 UTC) #10
bsalomon
https://codereview.chromium.org/1955633002/diff/20001/src/core/SkDraw.cpp File src/core/SkDraw.cpp (right): https://codereview.chromium.org/1955633002/diff/20001/src/core/SkDraw.cpp#newcode2047 src/core/SkDraw.cpp:2047: case SkStrokeRec::kHairline_InitStyle: On 2016/05/05 19:52:06, robertphillips wrote: > !paint.getStrokeWidth() ...
4 years, 7 months ago (2016-05-05 20:15:17 UTC) #11
bsalomon
On 2016/05/05 20:15:00, reed1 wrote: > ... unless we can make the function(s) that take ...
4 years, 7 months ago (2016-05-05 20:16:33 UTC) #12
reed1
Tom is working on trying to eliminate chrome subclasses...
4 years, 7 months ago (2016-05-05 20:18:04 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955633002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955633002/40001
4 years, 7 months ago (2016-05-05 20:27:03 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/8362) Build-Ubuntu-GCC-x86_64-Release-Trybot on ...
4 years, 7 months ago (2016-05-05 20:29:50 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955633002/60001
4 years, 7 months ago (2016-05-05 21:09:50 UTC) #20
commit-bot: I haz the power
Dry run: 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/8397) Build-Win-MSVC-x86_64-Debug-Trybot on ...
4 years, 7 months ago (2016-05-05 21:12:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955633002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955633002/80001
4 years, 7 months ago (2016-05-06 13:25:02 UTC) #25
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/8411) Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, ...
4 years, 7 months ago (2016-05-06 13:27:54 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955633002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955633002/100001
4 years, 7 months ago (2016-05-06 13:30:53 UTC) #30
bsalomon
On 2016/05/05 20:18:04, reed1 wrote: > Tom is working on trying to eliminate chrome subclasses... ...
4 years, 7 months ago (2016-05-06 13:36:43 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 14:23:01 UTC) #33
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/055e192adc0072ae2548ef5431ceee652945f9c2

Powered by Google App Engine
This is Rietveld 408576698