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

Issue 1852113003: switch maskfilters to sk_sp (Closed)

Created:
4 years, 8 months ago by reed1
Modified:
4 years, 8 months ago
Reviewers:
f(malita), tomhudson
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -207 lines) Patch
M bench/BlurBench.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M bench/BlurRectsBench.cpp View 1 chunk +1 line, -1 line 0 comments Download
M bench/BlurRoundRectBench.cpp View 1 chunk +3 lines, -5 lines 0 comments Download
M bench/RectoriBench.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M gm/bigblurs.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M gm/bleed.cpp View 2 chunks +4 lines, -6 lines 0 comments Download
M gm/blurcircles.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M gm/blurquickreject.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/blurrect.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M gm/blurredclippedcircle.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M gm/blurroundrect.cpp View 2 chunks +5 lines, -8 lines 0 comments Download
M gm/blurs.cpp View 4 chunks +6 lines, -10 lines 0 comments Download
M gm/circles.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/drawbitmaprect.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/drawfilter.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M gm/drawlooper.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/emboss.cpp View 1 chunk +1 line, -1 line 0 comments Download
M gm/largeglyphblur.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M gm/megalooper.cpp View 1 2 4 chunks +6 lines, -6 lines 0 comments Download
M gm/rects.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/samplerstress.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M gm/skbug1719.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/textbloblooper.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/textblobmixedsizes.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M gm/texteffects.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M gyp/skia_for_android_framework_defines.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkPaint.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkBlurDrawLooper.h View 2 chunks +1 line, -3 lines 0 comments Download
M include/effects/SkBlurMaskFilter.h View 2 chunks +13 lines, -3 lines 0 comments Download
M include/effects/SkEmbossMaskFilter.h View 1 chunk +7 lines, -1 line 0 comments Download
M public.bzl View 1 1 chunk +1 line, -0 lines 0 comments Download
M samplecode/SampleAll.cpp View 1 2 4 chunks +7 lines, -8 lines 0 comments Download
M samplecode/SampleAnimBlur.cpp View 1 chunk +3 lines, -5 lines 0 comments Download
M samplecode/SampleBigBlur.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M samplecode/SampleBlur.cpp View 2 chunks +5 lines, -7 lines 0 comments Download
M samplecode/SampleEffects.cpp View 1 chunk +3 lines, -6 lines 0 comments Download
M samplecode/SampleEmboss.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M samplecode/SampleFilterFuzz.cpp View 1 2 chunks +5 lines, -8 lines 0 comments Download
M samplecode/SampleFuzz.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M samplecode/SampleSlides.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M samplecode/SampleStrokePath.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M samplecode/SampleTextAlpha.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M samplecode/SampleTextureDomain.cpp View 2 chunks +5 lines, -7 lines 0 comments Download
M samplecode/SampleXfermodesBlur.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M src/animator/SkDrawBlur.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/animator/SkDrawEmboss.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/animator/SkDrawPaint.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/c/sk_paint.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M src/c/sk_surface.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPaint.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M src/effects/SkBlurDrawLooper.cpp View 2 chunks +1 line, -5 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M src/effects/SkEmbossMaskFilter.cpp View 3 chunks +8 lines, -6 lines 0 comments Download
M src/effects/SkLayerDrawLooper.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tests/BlurTest.cpp View 1 2 7 chunks +13 lines, -18 lines 0 comments Download
M tests/PaintTest.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M tools/debugger/SkDrawCommand.cpp View 1 2 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1852113003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1852113003/20001
4 years, 8 months ago (2016-04-04 13:27:29 UTC) #3
reed1
4 years, 8 months ago (2016-04-04 13:28:14 UTC) #5
f(malita)
https://codereview.chromium.org/1852113003/diff/20001/gm/megalooper.cpp File gm/megalooper.cpp (right): https://codereview.chromium.org/1852113003/diff/20001/gm/megalooper.cpp#newcode113 gm/megalooper.cpp:113: sk_sp<SkMaskFilter> createBlur() { nit: should be static? https://codereview.chromium.org/1852113003/diff/20001/samplecode/SampleAll.cpp File ...
4 years, 8 months ago (2016-04-04 13:46:57 UTC) #7
f(malita)
https://codereview.chromium.org/1852113003/diff/20001/tools/debugger/SkDrawCommand.cpp File tools/debugger/SkDrawCommand.cpp (right): https://codereview.chromium.org/1852113003/diff/20001/tools/debugger/SkDrawCommand.cpp#newcode1150 tools/debugger/SkDrawCommand.cpp:1150: target->setMaskFilter(sk_ref_sp(maskFilter)); On 2016/04/04 13:46:57, f(malita) wrote: > I think ...
4 years, 8 months ago (2016-04-04 13:50:15 UTC) #8
tomhudson
LGTM modulo Florin's notes. https://codereview.chromium.org/1852113003/diff/20001/samplecode/SampleAll.cpp File samplecode/SampleAll.cpp (right): https://codereview.chromium.org/1852113003/diff/20001/samplecode/SampleAll.cpp#newcode423 samplecode/SampleAll.cpp:423: paint.setMaskFilter(embossFilter); On 2016/04/04 13:46:57, f(malita) ...
4 years, 8 months ago (2016-04-04 14:18:59 UTC) #9
reed1
https://codereview.chromium.org/1852113003/diff/20001/gm/megalooper.cpp File gm/megalooper.cpp (right): https://codereview.chromium.org/1852113003/diff/20001/gm/megalooper.cpp#newcode113 gm/megalooper.cpp:113: sk_sp<SkMaskFilter> createBlur() { On 2016/04/04 13:46:57, f(malita) wrote: > ...
4 years, 8 months ago (2016-04-04 16:34:48 UTC) #10
f(malita)
lgtm
4 years, 8 months ago (2016-04-04 16:41:43 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1852113003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1852113003/40001
4 years, 8 months ago (2016-04-04 16:43:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1852113003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1852113003/40001
4 years, 8 months ago (2016-04-04 17:01:53 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 17:03:02 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/efdfd51b68a300d5c6e28743fe0344ca05d1cec9

Powered by Google App Engine
This is Rietveld 408576698