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

Issue 1915943002: simplify handle-affine: subclass overrides just describe their leaf behavior (Closed)

Created:
4 years, 8 months ago by reed1
Modified:
4 years, 8 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

simplify handle-affine: subclass overrides just describe their leaf behavior added new test case (that would have failed before) of blur with a colorfilter input BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1915943002 Committed: https://skia.googlesource.com/skia/+/96a04f329926099f0002f97883242793ff04f61c

Patch Set 1 #

Patch Set 2 : update dox #

Patch Set 3 : compose is like merge, so opt in #

Total comments: 4

Patch Set 4 : rename affine to complexCTM #

Patch Set 5 : early out if onCanHandleComplexCTM returns false #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -26 lines) Patch
M include/core/SkImageFilter.h View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M include/effects/SkColorFilterImageFilter.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M include/effects/SkComposeImageFilter.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M include/effects/SkMergeImageFilter.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkImageFilter.cpp View 1 2 3 4 1 chunk +7 lines, -11 lines 0 comments Download
M src/effects/SkColorFilterImageFilter.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M tests/ImageFilterTest.cpp View 1 2 3 2 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
reed1
4 years, 8 months ago (2016-04-25 13:20:41 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915943002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915943002/1
4 years, 8 months ago (2016-04-25 13:21:16 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915943002/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915943002/30001
4 years, 8 months ago (2016-04-25 13:38:29 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-25 13:51:59 UTC) #10
reed1
ptal
4 years, 8 months ago (2016-04-25 14:00:56 UTC) #11
robertphillips
lgtm https://codereview.chromium.org/1915943002/diff/30001/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/1915943002/diff/30001/src/core/SkImageFilter.cpp#newcode340 src/core/SkImageFilter.cpp:340: } Move this first to short-circuit DAG traversal?
4 years, 8 months ago (2016-04-25 14:20:11 UTC) #12
reed1
https://codereview.chromium.org/1915943002/diff/30001/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/1915943002/diff/30001/src/core/SkImageFilter.cpp#newcode340 src/core/SkImageFilter.cpp:340: } On 2016/04/25 14:20:11, robertphillips wrote: > Move this ...
4 years, 8 months ago (2016-04-25 14:22:15 UTC) #13
reed1
I expect there may be other subclasses that can opt-in (e.g. paintimagefilter?) but I think ...
4 years, 8 months ago (2016-04-25 14:24:19 UTC) #14
Stephen White
https://codereview.chromium.org/1915943002/diff/30001/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/1915943002/diff/30001/src/core/SkImageFilter.cpp#newcode340 src/core/SkImageFilter.cpp:340: } On 2016/04/25 14:22:15, reed1 wrote: > On 2016/04/25 ...
4 years, 8 months ago (2016-04-25 14:27:03 UTC) #15
reed1
https://codereview.chromium.org/1915943002/diff/30001/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/1915943002/diff/30001/src/core/SkImageFilter.cpp#newcode340 src/core/SkImageFilter.cpp:340: } On 2016/04/25 14:27:03, Stephen White wrote: > On ...
4 years, 8 months ago (2016-04-25 14:32:36 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915943002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915943002/70001
4 years, 8 months ago (2016-04-25 14:32:57 UTC) #18
Stephen White
LGTM
4 years, 8 months ago (2016-04-25 14:34:15 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915943002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915943002/70001
4 years, 8 months ago (2016-04-25 14:34:56 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot/builds/3107)
4 years, 8 months ago (2016-04-25 14:39:57 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915943002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915943002/70001
4 years, 8 months ago (2016-04-25 14:46:15 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/2160)
4 years, 8 months ago (2016-04-25 14:50:20 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1915943002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1915943002/70001
4 years, 8 months ago (2016-04-25 16:06:40 UTC) #31
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 16:25:18 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://skia.googlesource.com/skia/+/96a04f329926099f0002f97883242793ff04f61c

Powered by Google App Engine
This is Rietveld 408576698