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

Issue 2736523002: Defer ChromeClient::attachRootGraphicsLayer until after compositing update. (Closed)

Created:
3 years, 9 months ago by skobes
Modified:
3 years, 9 months ago
Reviewers:
bokan, szager1
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, blink-reviews-layout_chromium.org, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Defer ChromeClient::attachRootGraphicsLayer until after compositing update. This paves the way for PLC::rootGraphicsLayer to read from the LayoutView's CompositedLayerMapping in root layer scrolling mode. BUG=698464 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2736523002 Cr-Commit-Position: refs/heads/master@{#455325} Committed: https://chromium.googlesource.com/chromium/src/+/115e9610c49a6cc1970918a17bba42ba392de0d6

Patch Set 1 #

Total comments: 2

Patch Set 2 : use updateLifecycleToCompositingCleanPlusScrolling #

Total comments: 4

Patch Set 3 : fold m_pendingChromeClientAttachment into m_rootLayerAttachment #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -58 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h View 1 2 3 3 chunks +7 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 2 3 10 chunks +25 lines, -46 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 32 (22 generated)
skobes
3 years, 9 months ago (2017-03-04 23:38:34 UTC) #9
bokan
https://codereview.chromium.org/2736523002/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/2736523002/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2002 third_party/WebKit/Source/web/WebViewImpl.cpp:2002: updatePageOverlays(); I think there's ways for compositing to be ...
3 years, 9 months ago (2017-03-06 16:17:18 UTC) #10
szager1
https://codereview.chromium.org/2736523002/diff/20001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp File third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp (right): https://codereview.chromium.org/2736523002/diff/20001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp#newcode1241 third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp:1241: m_pendingChromeClientAttachment = true; Is this new variable necessary? Can't ...
3 years, 9 months ago (2017-03-06 22:23:34 UTC) #13
skobes
https://codereview.chromium.org/2736523002/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/2736523002/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2002 third_party/WebKit/Source/web/WebViewImpl.cpp:2002: updatePageOverlays(); On 2017/03/06 16:17:18, bokan wrote: > I think ...
3 years, 9 months ago (2017-03-06 22:44:24 UTC) #14
szager1
https://codereview.chromium.org/2736523002/diff/20001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp File third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp (right): https://codereview.chromium.org/2736523002/diff/20001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp#newcode1241 third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp:1241: m_pendingChromeClientAttachment = true; On 2017/03/06 22:44:23, skobes wrote: > ...
3 years, 9 months ago (2017-03-06 22:57:58 UTC) #17
bokan
lgtm
3 years, 9 months ago (2017-03-06 23:07:50 UTC) #18
skobes
https://codereview.chromium.org/2736523002/diff/20001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp File third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp (right): https://codereview.chromium.org/2736523002/diff/20001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp#newcode1241 third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp:1241: m_pendingChromeClientAttachment = true; On 2017/03/06 22:57:58, szager1 wrote: > ...
3 years, 9 months ago (2017-03-07 23:05:46 UTC) #23
szager1
On 2017/03/07 23:05:46, skobes wrote: > https://codereview.chromium.org/2736523002/diff/20001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp > File third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp > (right): > > https://codereview.chromium.org/2736523002/diff/20001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp#newcode1241 ...
3 years, 9 months ago (2017-03-08 01:13:50 UTC) #26
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/2736523002/60001
3 years, 9 months ago (2017-03-08 01:18:15 UTC) #29
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 01:31:10 UTC) #32
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/115e9610c49a6cc1970918a17bba...

Powered by Google App Engine
This is Rietveld 408576698