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

Issue 1011273003: Move SkMatrixImageFilter into core, and add a factory fn for it. (Closed)

Created:
5 years, 9 months ago by Stephen White
Modified:
5 years, 9 months ago
Reviewers:
robertphillips, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Move SkMatrixImageFilter into core, and add a factory fn for it. BUG=skia: Committed: https://skia.googlesource.com/skia/+/8c874eee943bdea0fab5b4d2707083c863e37c55

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename SKIF::CreateMatrix() -> SKIF::CreateMatrixFilter() #

Patch Set 3 : Move SkImageFilter.h to src/core, and leave a copy in include/effects for now. #

Patch Set 4 : Revert to PS2: header back in include/core. #

Patch Set 5 : Changed all callers to use SkImageFilter::CreateMatrixFilter() instead of SKMIF::Create() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -235 lines) Patch
M gm/filterfastbounds.cpp View 1 2 3 4 3 chunks +4 lines, -5 lines 0 comments Download
M gm/imagefiltersclipped.cpp View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M gm/imagefiltersscaled.cpp View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M gm/imageresizetiled.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M gm/matriximagefilter.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M gm/resizeimagefilter.cpp View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M gyp/core.gypi View 3 2 chunks +2 lines, -0 lines 0 comments Download
M gyp/effects.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M include/core/SkImageFilter.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
A + include/core/SkMatrixImageFilter.h View 3 0 chunks +-1 lines, --1 lines 0 comments Download
D include/effects/SkMatrixImageFilter.h View 3 1 chunk +0 lines, -65 lines 0 comments Download
M samplecode/SampleFilterFuzz.cpp View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M src/core/SkImageFilter.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download
A + src/core/SkMatrixImageFilter.cpp View 0 chunks +-1 lines, --1 lines 0 comments Download
D src/effects/SkMatrixImageFilter.cpp View 1 chunk +0 lines, -148 lines 0 comments Download
M tests/ImageFilterTest.cpp View 1 2 3 4 4 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
Stephen White
PTAL. Thanks!
5 years, 9 months ago (2015-03-19 18:46:08 UTC) #2
Stephen White
https://codereview.chromium.org/1011273003/diff/1/include/core/SkImageFilter.h File include/core/SkImageFilter.h (right): https://codereview.chromium.org/1011273003/diff/1/include/core/SkImageFilter.h#newcode199 include/core/SkImageFilter.h:199: static SkImageFilter* CreateMatrix(const SkMatrix& matrix, BTW, I was thinking ...
5 years, 9 months ago (2015-03-19 18:47:42 UTC) #3
reed1
In the end, I think we want to move SkMatrixImageFilter.h into src/core (i.e. private). If ...
5 years, 9 months ago (2015-03-19 20:50:01 UTC) #4
Stephen White
On 2015/03/19 20:50:01, reed1 wrote: > In the end, I think we want to move ...
5 years, 9 months ago (2015-03-19 21:08:30 UTC) #5
reed1
1. I am nervous having two copies of the same named file, since some clients ...
5 years, 9 months ago (2015-03-19 21:19:29 UTC) #6
Stephen White
On 2015/03/19 21:19:29, reed1 wrote: > 1. I am nervous having two copies of the ...
5 years, 9 months ago (2015-03-19 21:21:46 UTC) #7
reed1
Ah, if the current includers are not scoped, then I say we don't need to ...
5 years, 9 months ago (2015-03-20 12:50:56 UTC) #8
robertphillips
I don't like having two copies of the same header lying around. How about we: ...
5 years, 9 months ago (2015-03-20 12:52:13 UTC) #9
Stephen White
On 2015/03/20 12:50:56, reed1 wrote: > Ah, if the current includers are not scoped, then ...
5 years, 9 months ago (2015-03-20 13:13:24 UTC) #10
reed1
add skbug.com/3568 to track the cleanup. lgtm
5 years, 9 months ago (2015-03-20 13:21:44 UTC) #11
reed1
have we already updated all of our internal callers to just use the factory (and ...
5 years, 9 months ago (2015-03-20 13:22:45 UTC) #12
Stephen White
On 2015/03/20 13:22:45, reed1 wrote: > have we already updated all of our internal callers ...
5 years, 9 months ago (2015-03-20 13:29:11 UTC) #13
robertphillips
lgtm
5 years, 9 months ago (2015-03-20 13:31:17 UTC) #14
reed1
yum
5 years, 9 months ago (2015-03-20 13:31:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011273003/80001
5 years, 9 months ago (2015-03-20 13:32:17 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-20 13:38:25 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/8c874eee943bdea0fab5b4d2707083c863e37c55

Powered by Google App Engine
This is Rietveld 408576698