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

Issue 2738493002: Remove begin/end methods on CompositingRecorder. (Closed)

Created:
3 years, 9 months ago by danakj
Modified:
3 years, 9 months ago
Reviewers:
pdr.
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, enne (OOO), fmalita+watch_chromium.org, jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove begin/end methods on CompositingRecorder. These methods complicate the API of the recorder and are really an implementation detail of how the recorder is being used. So move that detail out to using Optional<CompositingRecorder>s to end the recorder independently from the stack frame. R=pdr@chromium.org BUG=671439 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2738493002 Cr-Commit-Position: refs/heads/master@{#455145} Committed: https://chromium.googlesource.com/chromium/src/+/c3d234f50f3d487796c1c859ca7d5636e2932d91

Patch Set 1 #

Patch Set 2 : rm-compositingrecorder-methods: todo #

Patch Set 3 : rm-compositingrecorder-methods: collapse-svg-clip-painter #

Total comments: 4

Patch Set 4 : rm-compositingrecorder-methods: remove-finish #

Patch Set 5 : rm-compositingrecorder-methods: replace-default #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -269 lines) Patch
M third_party/WebKit/Source/core/paint/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ClipPathClipper.h View 1 2 2 chunks +17 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/ClipPathClipper.cpp View 1 2 3 4 2 chunks +162 lines, -11 lines 1 comment Download
M third_party/WebKit/Source/core/paint/SVGClipPainter.h View 1 2 1 chunk +0 lines, -49 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGClipPainter.cpp View 1 2 1 chunk +0 lines, -171 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/CompositingRecorder.h View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/CompositingRecorder.cpp View 4 chunks +10 lines, -25 lines 0 comments Download

Messages

Total messages: 33 (17 generated)
danakj
3 years, 9 months ago (2017-03-06 19:31:03 UTC) #2
danakj
added a TODO(pdr) on the defns
3 years, 9 months ago (2017-03-06 19:33:17 UTC) #4
pdr.
LGTM
3 years, 9 months ago (2017-03-06 19:52:16 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/2738493002/20001
3 years, 9 months ago (2017-03-06 19:54:13 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/394906)
3 years, 9 months ago (2017-03-06 21:14:18 UTC) #11
danakj
Huh cool, bunch of SVG tests broke somehow.
3 years, 9 months ago (2017-03-06 22:52:51 UTC) #13
danakj
It looks like SVGClipPainter does not live long enough to keep the CompositingRecorder alive. A ...
3 years, 9 months ago (2017-03-06 23:09:54 UTC) #14
danakj
On 2017/03/06 23:09:54, danakj wrote: > It looks like SVGClipPainter does not live long enough ...
3 years, 9 months ago (2017-03-06 23:13:39 UTC) #15
danakj
PTAL. I've collapsed the SVGClipPainter into ClipPathClipper. There is one behaviour change here, and one ...
3 years, 9 months ago (2017-03-07 00:05:05 UTC) #18
pdr.
LGTM https://codereview.chromium.org/2738493002/diff/40001/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp File third_party/WebKit/Source/core/paint/ClipPathClipper.cpp (right): https://codereview.chromium.org/2738493002/diff/40001/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp#newcode120 third_party/WebKit/Source/core/paint/ClipPathClipper.cpp:120: SVGClipExpansionCycleHelper inClipExpansionChange(*m_resourceClipper); On 2017/03/07 at 00:05:05, danakj wrote: ...
3 years, 9 months ago (2017-03-07 02:29:03 UTC) #21
danakj
https://codereview.chromium.org/2738493002/diff/40001/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp File third_party/WebKit/Source/core/paint/ClipPathClipper.cpp (right): https://codereview.chromium.org/2738493002/diff/40001/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp#newcode120 third_party/WebKit/Source/core/paint/ClipPathClipper.cpp:120: SVGClipExpansionCycleHelper inClipExpansionChange(*m_resourceClipper); On 2017/03/07 02:29:03, pdr. wrote: > On ...
3 years, 9 months ago (2017-03-07 15:42:26 UTC) #22
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/2738493002/60001
3 years, 9 months ago (2017-03-07 15:43:34 UTC) #25
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/2738493002/80001
3 years, 9 months ago (2017-03-07 15:46:18 UTC) #28
danakj
https://codereview.chromium.org/2738493002/diff/80001/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp File third_party/WebKit/Source/core/paint/ClipPathClipper.cpp (right): https://codereview.chromium.org/2738493002/diff/80001/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp#newcode234 third_party/WebKit/Source/core/paint/ClipPathClipper.cpp:234: case ClipperState::NotApplied: I made one little change here since ...
3 years, 9 months ago (2017-03-07 15:46:57 UTC) #29
pdr.
On 2017/03/07 at 15:46:57, danakj wrote: > https://codereview.chromium.org/2738493002/diff/80001/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp > File third_party/WebKit/Source/core/paint/ClipPathClipper.cpp (right): > > https://codereview.chromium.org/2738493002/diff/80001/third_party/WebKit/Source/core/paint/ClipPathClipper.cpp#newcode234 ...
3 years, 9 months ago (2017-03-07 17:34:37 UTC) #30
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 18:28:02 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/c3d234f50f3d487796c1c859ca7d...

Powered by Google App Engine
This is Rietveld 408576698