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

Issue 2350063002: Replace FilterData::filter with lastEffect (Closed)

Created:
4 years, 3 months ago by fs
Modified:
4 years, 3 months ago
Reviewers:
pdr., Stephen Chennney
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, krit, eae+blinkwatch, f(malita), gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+svgwatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace FilterData::filter with lastEffect This brings the FilterData+SVGFilterPainter (etc) "complex" closer to the PaintLayer+PaintLayerFilterInfo structure by keep the last effect in the chain and accessing the Filter through that when needed. In general we want these two "complexes" to closely resemble each other as possible - because they are supposed to implement the same thing, with only a difference in the parametrization (like which bounding-box to use.) This also brings one tiny (tiny tiny) step closer to being able to get shorthand filters working in the SVG code-path. Also try to reduce dependencies a bit in the surrounding code. BUG=439970, 109224 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/28dabf9ae1ddd829b228ca519f38f317aff7fc97 Cr-Commit-Position: refs/heads/master@{#419700}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -17 lines) Patch
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.h View 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceFilter.cpp View 2 chunks +14 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp View 5 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
fs
4 years, 3 months ago (2016-09-19 15:21:43 UTC) #5
Stephen Chennney
The code change is LGTM. Could you modify the change description to indicate why we ...
4 years, 3 months ago (2016-09-19 15:33:55 UTC) #8
fs
On 2016/09/19 at 15:33:55, schenney wrote: > The code change is LGTM. Could you modify ...
4 years, 3 months ago (2016-09-19 16:03:11 UTC) #10
pdr.
On 2016/09/19 at 16:03:11, fs wrote: > On 2016/09/19 at 15:33:55, schenney wrote: > > ...
4 years, 3 months ago (2016-09-19 20:45:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2350063002/1
4 years, 3 months ago (2016-09-20 08:25:51 UTC) #13
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 3 months ago (2016-09-20 08:33:30 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 08:34:52 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/28dabf9ae1ddd829b228ca519f38f317aff7fc97
Cr-Commit-Position: refs/heads/master@{#419700}

Powered by Google App Engine
This is Rietveld 408576698