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

Issue 1392833005: Alternate version of SkLocalMatrixImageFilter using an input. (Closed)

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

Implement SkLocalMatrixImageFilter. At draw time, this filter simply concatenates the given matrix to the CTM, and recurses on its input. The matrix is thus applied to any upstream filter parameters and crop rects. BUG=skia: Committed: https://skia.googlesource.com/skia/+/20311d4843f25e6a3d9416456b18780ad5d9c1fa

Patch Set 1 #

Patch Set 2 : Fix serialization #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : Fixes #

Patch Set 5 : onFilterBounds -> filterBounds, and remove now-unnecessary friendship #

Patch Set 6 : RRevert unnecessary change #

Patch Set 7 : Fix 100-col issue #

Patch Set 8 : Update to ToT #

Patch Set 9 : Add missing file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -0 lines) Patch
A gm/localmatriximagefilter.cpp View 1 2 3 4 5 6 1 chunk +103 lines, -0 lines 0 comments Download
M gyp/core.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkImageFilter.h View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M src/core/SkImageFilter.cpp View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
A src/core/SkLocalMatrixImageFilter.h View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A src/core/SkLocalMatrixImageFilter.cpp View 1 2 3 4 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
reed1
cool -- I was starting to write a GM to exercise the LMIF. I will, ...
5 years, 2 months ago (2015-10-13 18:57:16 UTC) #2
reed1
I've uploaded a GM to exercise this here https://codereview.chromium.org/1388823002 If you can add that to ...
5 years, 2 months ago (2015-10-13 19:31:48 UTC) #4
reed1
BTW -- (perhaps later) I bet we could query the base filter to see if ...
5 years, 2 months ago (2015-10-13 19:32:49 UTC) #5
robertphillips
Can we add Mike's GM to this CL ? https://codereview.chromium.org/1392833005/diff/40001/gyp/core.gypi File gyp/core.gypi (right): https://codereview.chromium.org/1392833005/diff/40001/gyp/core.gypi#newcode144 gyp/core.gypi:144: ...
5 years, 2 months ago (2015-10-13 19:42:39 UTC) #6
Stephen White
On 2015/10/13 19:32:49, reed1 wrote: > BTW -- (perhaps later) I bet we could query ...
5 years, 2 months ago (2015-10-13 20:10:46 UTC) #7
Stephen White
I've massaged this to look more like SkImageFilter::CreateMatrixFilter(). https://codereview.chromium.org/1392833005/diff/40001/gyp/core.gypi File gyp/core.gypi (right): https://codereview.chromium.org/1392833005/diff/40001/gyp/core.gypi#newcode144 gyp/core.gypi:144: '<(skia_src_path)/core/SkLineClipper.cpp', ...
5 years, 2 months ago (2015-10-13 20:12:40 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/1392833005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1392833005/140001
5 years, 2 months ago (2015-10-13 20:28:08 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/3595) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
5 years, 2 months ago (2015-10-13 20:28:59 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1392833005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1392833005/160001
5 years, 2 months ago (2015-10-13 20:29:50 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-13 20:37:04 UTC) #17
reed2
I think I prefer not creating the separate header-file when its not needed, but I'm ...
5 years, 2 months ago (2015-10-14 00:45:36 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1392833005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1392833005/160001
5 years, 2 months ago (2015-10-14 11:52:39 UTC) #22
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 11:53:36 UTC) #23
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://skia.googlesource.com/skia/+/20311d4843f25e6a3d9416456b18780ad5d9c1fa

Powered by Google App Engine
This is Rietveld 408576698