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

Issue 1106973004: Cleanup color space resolution for ReferenceFilterBuilder (Closed)

Created:
5 years, 8 months ago by fs
Modified:
5 years, 7 months ago
Reviewers:
pdr., Stephen White
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, fs, Dominik Röttsches, ed+blinkwatch_opera.com, krit, f(malita), slimming-paint-reviews_chromium.org, jchaffraix+rendering, blink-reviews-paint_chromium.org, dshwang, gyuyoung2, Stephen Chennney, rwlbuis, pdr+svgwatchlist_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Cleanup color space resolution for ReferenceFilterBuilder There's some dodgy-looking code, used by ReferenceFilterBuilder::build to compute a ColorSpace for each filter primitive. Convert it to compute an EColorInterpolation instead, and then resolve the ColorSpace from that similarly to how LayoutSVGResourceFilter::buildPrimitives does it. Also try to make it "cascade" the value in a more proper way, rather than just selecting the value from the filter or the primitive. This moves the two code-paths a bit closer to each other. Also convert ReferenceFilterBuilder::build(...) to take references as arguments where it makes sense. BUG=109224 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194729

Patch Set 1 #

Patch Set 2 : TEs #

Total comments: 4

Patch Set 3 : Touchup comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -54 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/layout/svg/ReferenceFilterBuilder.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/svg/ReferenceFilterBuilder.cpp View 1 2 3 chunks +22 lines, -49 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/paint/FilterEffectBuilder.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
fs
effect-reference-colorspace{,-hw}.html Previously either the <filter>s or the <fe*>s color-interpolation-filters would be picked, but now the ...
5 years, 8 months ago (2015-04-27 18:59:11 UTC) #3
Stephen White
I want to take a look at this, but I may not be able to ...
5 years, 8 months ago (2015-04-27 19:33:04 UTC) #4
Stephen White
LGTM w/nit https://codereview.chromium.org/1106973004/diff/20001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/1106973004/diff/20001/LayoutTests/TestExpectations#newcode48 LayoutTests/TestExpectations:48: crbug.com/109224 css3/filters/effect-reference-colorspace.html [ NeedsRebaseline ] Tangentially, we ...
5 years, 7 months ago (2015-04-29 21:20:41 UTC) #5
fs
https://codereview.chromium.org/1106973004/diff/20001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/1106973004/diff/20001/LayoutTests/TestExpectations#newcode48 LayoutTests/TestExpectations:48: crbug.com/109224 css3/filters/effect-reference-colorspace.html [ NeedsRebaseline ] On 2015/04/29 21:20:41, Stephen ...
5 years, 7 months ago (2015-04-30 08:29:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1106973004/40001
5 years, 7 months ago (2015-04-30 08:30:06 UTC) #9
Stephen White
On 2015/04/30 08:29:23, fs wrote: > https://codereview.chromium.org/1106973004/diff/20001/LayoutTests/TestExpectations > File LayoutTests/TestExpectations (right): > > https://codereview.chromium.org/1106973004/diff/20001/LayoutTests/TestExpectations#newcode48 > ...
5 years, 7 months ago (2015-04-30 11:04:25 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 11:18:34 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194729

Powered by Google App Engine
This is Rietveld 408576698