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

Issue 2851753002: Refactor FilterData::state_ handling in SVGFilterPainter (Closed)

Created:
3 years, 7 months ago by fs
Modified:
3 years, 7 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor FilterData::state_ handling in SVGFilterPainter Make FilterData::state_ only be checked and updated within SVGFilterPainter, and not by SVGFilterRecordingContext or the local painting helper. Instead SVGFilterRecordingContext only manages the recording state, and gets passed bounds while returning a paint record. This simplifies some of the corner-cases with regards to how "aborted" filters are handled, getting rid of some "FilterData is null" in many cases. BUG=713024 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2851753002 Cr-Commit-Position: refs/heads/master@{#468085} Committed: https://chromium.googlesource.com/chromium/src/+/aa5f200c624aeb429e0d8084a11670feccf4f540

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -57 lines) Patch
M third_party/WebKit/Source/core/paint/SVGFilterPainter.h View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp View 3 chunks +46 lines, -54 lines 3 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (9 generated)
fs
3 years, 7 months ago (2017-04-28 15:11:40 UTC) #5
Stephen Chennney
lgtm number 1
3 years, 7 months ago (2017-04-28 16:02:42 UTC) #6
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/2851753002/1
3 years, 7 months ago (2017-04-28 17:57:47 UTC) #10
chrishtr
https://codereview.chromium.org/2851753002/diff/1/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp File third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp (left): https://codereview.chromium.org/2851753002/diff/1/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp#oldcode156 third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp:156: PaintFilteredContent(recording_context.PaintingContext(), object, The old code would have executed this ...
3 years, 7 months ago (2017-04-28 18:20:56 UTC) #11
fs
https://codereview.chromium.org/2851753002/diff/1/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp File third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp (left): https://codereview.chromium.org/2851753002/diff/1/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp#oldcode156 third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp:156: PaintFilteredContent(recording_context.PaintingContext(), object, On 2017/04/28 at 18:20:56, chrishtr wrote: > ...
3 years, 7 months ago (2017-04-28 18:40:52 UTC) #12
chrishtr
lgtm https://codereview.chromium.org/2851753002/diff/1/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp File third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp (left): https://codereview.chromium.org/2851753002/diff/1/third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp#oldcode156 third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp:156: PaintFilteredContent(recording_context.PaintingContext(), object, On 2017/04/28 at 18:40:52, fs wrote: ...
3 years, 7 months ago (2017-04-28 18:45:49 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 19:10:28 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/aa5f200c624aeb429e0d8084a116...

Powered by Google App Engine
This is Rietveld 408576698