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

Issue 1844593002: Fix failed filter followed by an affects-transparent-black filter. (Closed)

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

Description

Fix failed filter followed by an affects-transparent-black filter. When an upstream filter returns null, either through failure or clipping, a downstream affects-transparent-black filter should still produce non-transparent pixels. This patch fixes SkColorFilterImageFilter. Note: this will affect the results of the imagefilterscropexpand GM. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1844593002 Committed: https://skia.googlesource.com/skia/+/6a93fa1a4526ba14782f7f17a73479ca5a4a8e3a

Patch Set 1 #

Patch Set 2 : Implement fix for SkColorFilterImagefilter; revert changes to imageblurtiled GM #

Patch Set 3 : Change test to use a FailImageFilter #

Patch Set 4 : Fix formatting #

Total comments: 11

Patch Set 5 : Update to ToT #

Patch Set 6 : Update to ToT #

Patch Set 7 : Fixes per review comments #

Patch Set 8 : More nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -10 lines) Patch
M src/effects/SkColorFilterImageFilter.cpp View 1 2 3 4 5 6 7 2 chunks +25 lines, -10 lines 0 comments Download
M tests/ImageFilterTest.cpp View 1 2 3 4 5 6 2 chunks +64 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
Stephen White
Rob: PTAL. Thanks!
4 years, 8 months ago (2016-03-29 21:50:30 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1844593002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1844593002/60001
4 years, 8 months ago (2016-03-29 21:52:29 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 22:04:46 UTC) #9
robertphillips
lgtm + nits & dox requests https://codereview.chromium.org/1844593002/diff/60001/src/effects/SkColorFilterImageFilter.cpp File src/effects/SkColorFilterImageFilter.cpp (right): https://codereview.chromium.org/1844593002/diff/60001/src/effects/SkColorFilterImageFilter.cpp#newcode63 src/effects/SkColorFilterImageFilter.cpp:63: if (fColorFilter->affectsTransparentBlack()) { ...
4 years, 8 months ago (2016-03-30 17:12:28 UTC) #10
Stephen White
Thanks for your comments. Sadly, I can't land this, due to some Blink changes which ...
4 years, 8 months ago (2016-03-30 19:16:01 UTC) #11
Stephen White
https://codereview.chromium.org/1844593002/diff/60001/src/effects/SkColorFilterImageFilter.cpp File src/effects/SkColorFilterImageFilter.cpp (right): https://codereview.chromium.org/1844593002/diff/60001/src/effects/SkColorFilterImageFilter.cpp#newcode93 src/effects/SkColorFilterImageFilter.cpp:93: } else { On 2016/03/30 17:12:28, robertphillips wrote: > ...
4 years, 8 months ago (2016-03-30 19:16:09 UTC) #12
Stephen White
https://codereview.chromium.org/1844593002/diff/60001/src/effects/SkColorFilterImageFilter.cpp File src/effects/SkColorFilterImageFilter.cpp (right): https://codereview.chromium.org/1844593002/diff/60001/src/effects/SkColorFilterImageFilter.cpp#newcode63 src/effects/SkColorFilterImageFilter.cpp:63: if (fColorFilter->affectsTransparentBlack()) { On 2016/03/30 17:12:28, robertphillips wrote: > ...
4 years, 8 months ago (2016-04-04 21:50:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1844593002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1844593002/140001
4 years, 8 months ago (2016-04-04 21:52:39 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 11:43:50 UTC) #18
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/skia/+/6a93fa1a4526ba14782f7f17a73479ca5a4a8e3a

Powered by Google App Engine
This is Rietveld 408576698