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

Issue 1978363002: Image filters: fix filtering of transparent black in CFIF. (Closed)

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

Image filters: fix filtering of transparent black in CFIF. SkColorFilterImageFilter has a codepath to filter transparent black regions outside of the input image. However, it was treating the exterior as opaque black, rather than trasparent black. Note: the results of imagefiltercropexpand GM will change, as it was tweaked a bit to show this bug. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1978363002 NOTREECHECKS=true NOTRY=true NOPRESUBMIT=true Committed: https://skia.googlesource.com/skia/+/3949971e8d29345ee89461aec1ef25734ffc03f5

Patch Set 1 #

Patch Set 2 : Add GM #

Total comments: 1

Patch Set 3 : Add comment per review #

Patch Set 4 : Fix upstream for rietveld #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
gm/imagefilterscropexpand.cpp View 1 chunk +5 lines, -3 lines 0 comments Download
M src/effects/SkColorFilterImageFilter.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
Stephen White
Rob: PTAL. Thanks!
4 years, 7 months ago (2016-05-16 18:54:16 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978363002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978363002/20001
4 years, 7 months ago (2016-05-16 18:55:02 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-16 19:16:03 UTC) #8
Stephen White
Friendly ping. :)
4 years, 7 months ago (2016-05-17 19:32:51 UTC) #9
robertphillips
lgtm https://codereview.chromium.org/1978363002/diff/20001/gm/imagefilterscropexpand.cpp File gm/imagefilterscropexpand.cpp (right): https://codereview.chromium.org/1978363002/diff/20001/gm/imagefilterscropexpand.cpp#newcode52 gm/imagefilterscropexpand.cpp:52: sk_sp<SkImageFilter> noopCropped(SkOffsetImageFilter::Make(0, 0, nullptr, &cropRect)); // This color ...
4 years, 7 months ago (2016-05-18 12:36:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978363002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978363002/40001
4 years, 7 months ago (2016-05-18 13:58:03 UTC) #14
commit-bot: I haz the power
CLs for remote refs other than refs/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
4 years, 7 months ago (2016-05-18 13:58:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1978363002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1978363002/60001
4 years, 7 months ago (2016-05-18 14:00:03 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/3949971e8d29345ee89461aec1ef25734ffc03f5
4 years, 7 months ago (2016-05-18 14:00:10 UTC) #22
Stephen White
4 years, 7 months ago (2016-05-18 14:02:08 UTC) #23
Message was sent while issue was closed.
Hmm. Looks like the CQ added NOTRY=true and friends in the previous run with the
bad upstream. Will watch the bots.

Powered by Google App Engine
This is Rietveld 408576698