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

Issue 1415143005: Preparation for enabling slimming paint synchronized painting (Closed)

Created:
5 years, 1 month ago by Xianzhu
Modified:
5 years, 1 month ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Preparation for enabling slimming paint synchronized painting Fix incomplete GraphicsLayer tree traversal in FrameView::synchronizedPaint(). Also traverse frame scrollbar layers, mask layers and replica layers. Make unit tests ready. BUG=536999 Committed: https://crrev.com/3f4d76a9c6735a47c77b973f452c88ef3ab467df Cr-Commit-Position: refs/heads/master@{#357212}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 15

Patch Set 5 : Rebase and fix webkit_unit_tests #

Total comments: 23

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Fix spv2 failures #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : Slimming CL #

Total comments: 2

Patch Set 12 : #

Total comments: 2

Patch Set 13 : Add comments for the loop finding real root GraphicsLayer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -136 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +47 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp View 1 4 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp View 1 2 3 4 5 4 chunks +71 lines, -97 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 26 (7 generated)
Xianzhu
Ptal. https://codereview.chromium.org/1415143005/diff/60001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/1415143005/diff/60001/third_party/WebKit/LayoutTests/TestExpectations#newcode1012 third_party/WebKit/LayoutTests/TestExpectations:1012: crbug.com/548705 fast/css/first-line-hover-001.html [ Failure ] These bugs are ...
5 years, 1 month ago (2015-10-28 18:10:23 UTC) #2
chrishtr
https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (left): https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp#oldcode2633 third_party/WebKit/Source/core/frame/FrameView.cpp:2633: if (childFrameView->lifecycle().state() < DocumentLifecycle::PaintInvalidationClean) Why these changes? What was ...
5 years, 1 month ago (2015-10-28 21:12:58 UTC) #3
pdr.
https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode227 third_party/WebKit/Source/core/frame/FrameView.cpp:227: void FrameView::forAllNonThrottlingFrameViews(Function function) supernit: forAllNonThrottledFrameViews https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp (right): ...
5 years, 1 month ago (2015-10-29 04:06:10 UTC) #4
Xianzhu
https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (left): https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp#oldcode2633 third_party/WebKit/Source/core/frame/FrameView.cpp:2633: if (childFrameView->lifecycle().state() < DocumentLifecycle::PaintInvalidationClean) On 2015/10/28 21:12:58, chrishtr wrote: ...
5 years, 1 month ago (2015-10-29 04:22:01 UTC) #5
chrishtr
https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (left): https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp#oldcode2633 third_party/WebKit/Source/core/frame/FrameView.cpp:2633: if (childFrameView->lifecycle().state() < DocumentLifecycle::PaintInvalidationClean) On 2015/10/29 at 04:22:01, Xianzhu ...
5 years, 1 month ago (2015-10-29 20:22:46 UTC) #7
Xianzhu
With several CLs separated out, this CL becomes much smaller. https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (left): https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp#oldcode2633 ...
5 years, 1 month ago (2015-10-30 00:03:58 UTC) #8
Xianzhu
https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp File third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp (right): https://codereview.chromium.org/1415143005/diff/80001/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp#newcode127 third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp:127: // Slimming paint v1 CompositedLayerMapping may invalidate client on ...
5 years, 1 month ago (2015-10-30 18:05:51 UTC) #10
chrishtr
Looking good modulo dependent CLs that I think are still in flight. https://codereview.chromium.org/1415143005/diff/200001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp ...
5 years, 1 month ago (2015-10-30 19:01:13 UTC) #11
Xianzhu
This CL doesn't actually enable sync painting (description updated), so it's safe to land, not ...
5 years, 1 month ago (2015-10-30 19:28:57 UTC) #12
chrishtr
On 2015/10/30 at 19:28:57, wangxianzhu wrote: > This CL doesn't actually enable sync painting (description ...
5 years, 1 month ago (2015-10-30 20:48:48 UTC) #13
Xianzhu
On 2015/10/30 20:48:48, chrishtr wrote: > On 2015/10/30 at 19:28:57, wangxianzhu wrote: > > This ...
5 years, 1 month ago (2015-10-30 20:56:52 UTC) #14
Xianzhu
On 2015/10/30 20:56:52, Xianzhu wrote: > On 2015/10/30 20:48:48, chrishtr wrote: > > On 2015/10/30 ...
5 years, 1 month ago (2015-10-30 21:06:55 UTC) #15
chrishtr
lgtm https://codereview.chromium.org/1415143005/diff/220001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1415143005/diff/220001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2507 third_party/WebKit/Source/core/frame/FrameView.cpp:2507: while (GraphicsLayer* parent = rootGraphicsLayer->parent()) Ok can you ...
5 years, 1 month ago (2015-10-30 21:12:57 UTC) #16
Xianzhu
https://codereview.chromium.org/1415143005/diff/220001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1415143005/diff/220001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode2507 third_party/WebKit/Source/core/frame/FrameView.cpp:2507: while (GraphicsLayer* parent = rootGraphicsLayer->parent()) On 2015/10/30 21:12:57, chrishtr ...
5 years, 1 month ago (2015-10-30 21:46:26 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415143005/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415143005/240001
5 years, 1 month ago (2015-10-30 21:48:04 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/72600)
5 years, 1 month ago (2015-10-30 22:19:51 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415143005/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415143005/240001
5 years, 1 month ago (2015-10-30 22:21:32 UTC) #24
commit-bot: I haz the power
Committed patchset #13 (id:240001)
5 years, 1 month ago (2015-10-30 23:07:00 UTC) #25
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 23:07:38 UTC) #26
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/3f4d76a9c6735a47c77b973f452c88ef3ab467df
Cr-Commit-Position: refs/heads/master@{#357212}

Powered by Google App Engine
This is Rietveld 408576698