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

Issue 148883011: Make SkImageFilter methods const. (Closed)

Created:
6 years, 10 months ago by Dominik Grewe
Modified:
6 years, 10 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Make SkImageFilter methods const. SkImageFilter had some non-const methods that could all be made const. This is a first step towards making SkImageFilter immutable. BUG=skia:2097 Committed: http://code.google.com/p/skia/source/detail?r=13330

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Update SimpleOffsetFilter in gm/ #

Patch Set 4 : More fixes to gm/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -109 lines) Patch
M gm/imagefiltersbase.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M gm/imagefiltersgraph.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkBitmapDevice.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M include/core/SkDevice.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M include/core/SkImageFilter.h View 1 4 chunks +5 lines, -5 lines 0 comments Download
M include/core/SkImageFilterUtils.h View 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkBicubicImageFilter.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M include/effects/SkBitmapSource.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkBlurImageFilter.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M include/effects/SkColorFilterImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkComposeImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkDisplacementMapEffect.h View 1 3 chunks +2 lines, -4 lines 0 comments Download
M include/effects/SkDropShadowImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkMagnifierImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkMatrixConvolutionImageFilter.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
M include/effects/SkMergeImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkMorphologyImageFilter.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
M include/effects/SkOffsetImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkPictureImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkRectShaderImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkResizeImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkTestImageFilters.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkTileImageFilter.h View 1 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkXfermodeImageFilter.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M include/gpu/SkGpuDevice.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M include/pdf/SkPDFDevice.h View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkBitmapDevice.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/core/SkDeviceImageFilterProxy.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkImageFilter.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/core/SkImageFilterUtils.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkAlphaThresholdFilter.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkBicubicImageFilter.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkBitmapSource.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkBlurImageFilter.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkColorFilterImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkComposeImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/effects/SkDropShadowImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/effects/SkMagnifierImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMatrixConvolutionImageFilter.cpp View 1 4 chunks +5 lines, -5 lines 0 comments Download
M src/effects/SkMergeImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkMorphologyImageFilter.cpp View 1 5 chunks +6 lines, -6 lines 0 comments Download
M src/effects/SkOffsetImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkPictureImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkRectShaderImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkResizeImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkTestImageFilters.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkTileImageFilter.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/effects/SkXfermodeImageFilter.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/utils/SkGatherPixelRefsAndRects.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/utils/SkPictureUtils.cpp View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Dominik Grewe
Thought I'd upload that as a first baby step towards making SkImageFilter immutable. Not that ...
6 years, 10 months ago (2014-01-29 22:35:41 UTC) #1
mtklein
On 2014/01/29 22:35:41, Dominik Grewe wrote: > Thought I'd upload that as a first baby ...
6 years, 10 months ago (2014-01-30 02:48:15 UTC) #2
mtklein
On 2014/01/30 02:48:15, mtklein wrote: > On 2014/01/29 22:35:41, Dominik Grewe wrote: > > Thought ...
6 years, 10 months ago (2014-01-30 02:48:55 UTC) #3
Dominik Grewe
Thanks!
6 years, 10 months ago (2014-01-30 13:46:32 UTC) #4
Dominik Grewe
Thanks!
6 years, 10 months ago (2014-01-30 13:46:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dominikg@chromium.org/148883011/1
6 years, 10 months ago (2014-01-30 13:46:57 UTC) #6
commit-bot: I haz the power
Presubmit check for 148883011-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 10 months ago (2014-01-30 13:47:15 UTC) #7
Dominik Grewe
+reed for reviewing changes to public API.
6 years, 10 months ago (2014-01-30 13:52:22 UTC) #8
Dominik Grewe
On 2014/01/30 13:52:22, Dominik Grewe wrote: > +reed for reviewing changes to public API. Any ...
6 years, 10 months ago (2014-02-05 17:40:35 UTC) #9
reed1
Had I known what you wanted to try, I would have asked to stage this: ...
6 years, 10 months ago (2014-02-05 18:01:09 UTC) #10
reed1
BTW -- there are subclasses of canvas/device in Chrome, that must be modified as well. ...
6 years, 10 months ago (2014-02-05 18:02:46 UTC) #11
Dominik Grewe
Unfortunately there are some dependencies between changing the methods and the parameters. For example, to ...
6 years, 10 months ago (2014-02-05 18:56:23 UTC) #12
reed1
On 2014/02/05 18:56:23, Dominik Grewe wrote: > Unfortunately there are some dependencies between changing the ...
6 years, 10 months ago (2014-02-05 18:57:45 UTC) #13
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 10 months ago (2014-02-05 19:21:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dominikg@chromium.org/148883011/70001
6 years, 10 months ago (2014-02-05 19:21:51 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-05 19:35:19 UTC) #16
commit-bot: I haz the power
Retried try job too often on Build-Mac10.7-Clang-x86-Release-Trybot for step(s) BuildGm http://108.170.219.164:10117/buildstatus?builder=Build-Mac10.7-Clang-x86-Release-Trybot&number=1442
6 years, 10 months ago (2014-02-05 19:35:19 UTC) #17
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 10 months ago (2014-02-05 20:34:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dominikg@chromium.org/148883011/40002
6 years, 10 months ago (2014-02-05 20:34:49 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-05 21:36:28 UTC) #20
commit-bot: I haz the power
Retried try job too often on Build-Mac10.7-Clang-x86-Release-Trybot for step(s) BuildEverything http://108.170.219.164:10117/buildstatus?builder=Build-Mac10.7-Clang-x86-Release-Trybot&number=1447
6 years, 10 months ago (2014-02-05 21:36:29 UTC) #21
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 10 months ago (2014-02-05 22:15:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dominikg@chromium.org/148883011/260001
6 years, 10 months ago (2014-02-05 22:15:28 UTC) #23
commit-bot: I haz the power
6 years, 10 months ago (2014-02-05 22:32:17 UTC) #24
Message was sent while issue was closed.
Change committed as 13330

Powered by Google App Engine
This is Rietveld 408576698