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

Issue 871983003: [Slimming Paint] Implement deferred SVG filters (Closed)

Created:
5 years, 11 months ago by pdr.
Modified:
5 years, 10 months ago
Reviewers:
chrishtr, fs
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, Rik, danakj, Dominik Röttsches, dshwang, krit, eae+blinkwatch, ed+blinkwatch_opera.com, f(malita), fs, gyuyoung.kim_webkit.org, jbroman, jchaffraix+rendering, Justin Novosad, kouhei+svg_chromium.org, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[Slimming Paint] Implement deferred SVG filters This patch implements filters in slimming paint. The general approach is to create a new graphics context in the filter and use that for painting the contents of the filter. This solves the issue of nested drawing recorders. With this patch we pass 64 additional tests in svg/filters and the remaining 30 failures have been skipped in the new virtual test suite (these failures are primarily feImage). BUG=451606 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189079

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Implement SVG filters #

Patch Set 4 : Cleanup #

Total comments: 8

Patch Set 5 : Address reviewer comments #

Total comments: 1

Patch Set 6 : Let the filter manage its own context #

Patch Set 7 : Minor cleanup #

Patch Set 8 : Rebase #

Patch Set 9 : Cleanup, and update expectation #

Total comments: 2

Patch Set 10 : Add note #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -19 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 2 chunks +33 lines, -0 lines 0 comments Download
M LayoutTests/VirtualTestSuites View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
A + LayoutTests/virtual/slimmingpaint/svg/filters/README.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilter.h View 1 2 3 4 5 6 4 chunks +7 lines, -3 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilter.cpp View 1 2 3 4 5 6 7 8 7 chunks +37 lines, -12 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderingContext.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/SVGRenderingContext.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -2 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItem.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/graphics/paint/DisplayItem.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
pdr.
It lives!
5 years, 11 months ago (2015-01-23 23:51:26 UTC) #2
chrishtr
fs should look at this CL also, I'm not 100% familiar with all of its ...
5 years, 11 months ago (2015-01-24 00:02:02 UTC) #3
pdr.
TY PTAL https://codereview.chromium.org/871983003/diff/60001/Source/core/rendering/svg/RenderSVGResourceFilter.cpp File Source/core/rendering/svg/RenderSVGResourceFilter.cpp (right): https://codereview.chromium.org/871983003/diff/60001/Source/core/rendering/svg/RenderSVGResourceFilter.cpp#newcode126 Source/core/rendering/svg/RenderSVGResourceFilter.cpp:126: if (context->displayItemList()) On 2015/01/24 at 00:02:02, chrishtr ...
5 years, 11 months ago (2015-01-24 01:13:36 UTC) #4
chrishtr
https://codereview.chromium.org/871983003/diff/30007/Source/core/rendering/svg/RenderSVGResourceFilter.h File Source/core/rendering/svg/RenderSVGResourceFilter.h (right): https://codereview.chromium.org/871983003/diff/30007/Source/core/rendering/svg/RenderSVGResourceFilter.h#newcode77 Source/core/rendering/svg/RenderSVGResourceFilter.h:77: void finishEffect(RenderObject*, GraphicsContext* /* primaryContext */, GraphicsContext* /* contentContext ...
5 years, 11 months ago (2015-01-24 01:20:22 UTC) #5
chrishtr
lgtm
5 years, 11 months ago (2015-01-24 01:20:25 UTC) #6
pdr.
On 2015/01/24 at 01:20:22, chrishtr wrote: > https://codereview.chromium.org/871983003/diff/30007/Source/core/rendering/svg/RenderSVGResourceFilter.h > File Source/core/rendering/svg/RenderSVGResourceFilter.h (right): > > https://codereview.chromium.org/871983003/diff/30007/Source/core/rendering/svg/RenderSVGResourceFilter.h#newcode77 ...
5 years, 11 months ago (2015-01-24 04:22:22 UTC) #7
fs
lgtm https://codereview.chromium.org/871983003/diff/150001/Source/core/rendering/svg/SVGRenderingContext.cpp File Source/core/rendering/svg/SVGRenderingContext.cpp (right): https://codereview.chromium.org/871983003/diff/150001/Source/core/rendering/svg/SVGRenderingContext.cpp#newcode52 Source/core/rendering/svg/SVGRenderingContext.cpp:52: m_paintInfo.rect = m_originalPaintInfo->rect; m_paintInfo.rect is "dead" at this ...
5 years, 11 months ago (2015-01-26 09:47:11 UTC) #8
pdr.
https://codereview.chromium.org/871983003/diff/150001/Source/core/rendering/svg/SVGRenderingContext.cpp File Source/core/rendering/svg/SVGRenderingContext.cpp (right): https://codereview.chromium.org/871983003/diff/150001/Source/core/rendering/svg/SVGRenderingContext.cpp#newcode52 Source/core/rendering/svg/SVGRenderingContext.cpp:52: m_paintInfo.rect = m_originalPaintInfo->rect; On 2015/01/26 at 09:47:11, fs wrote: ...
5 years, 10 months ago (2015-01-28 01:04:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871983003/170001
5 years, 10 months ago (2015-01-28 01:30:03 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 02:48:40 UTC) #12
Message was sent while issue was closed.
Committed patchset #10 (id:170001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189079

Powered by Google App Engine
This is Rietveld 408576698