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

Issue 2322073006: Turn off the old compositing path for SPv2. (Closed)

Created:
4 years, 3 months ago by chrishtr
Modified:
4 years, 3 months ago
Reviewers:
pdr., Xianzhu
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Turn off the old compositing path for SPv2. Instead, put a PaintController on the root FrameView and paint into it with the "classic" non-composited path. BUG=646188 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/9ed93e1cc02c566bed3569ab29f1252d6c209727 Cr-Commit-Position: refs/heads/master@{#419354}

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Total comments: 6

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Patch Set 11 : none #

Patch Set 12 : none #

Patch Set 13 : none #

Patch Set 14 : none #

Patch Set 15 : none #

Patch Set 16 : none #

Patch Set 17 : none #

Patch Set 18 : none #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -130 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +75 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/DocumentAnimations.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/DocumentAnimations.cpp View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp View 1 2 3 4 5 6 5 chunks +19 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +6 lines, -0 lines 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 13 14 15 9 chunks +52 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FramePainter.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +7 lines, -2 lines 2 comments Download
M third_party/WebKit/Source/core/paint/PaintControllerPaintTest.h View 1 2 3 4 5 6 7 3 chunks +17 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp View 1 2 3 4 5 6 7 8 9 10 5 chunks +66 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp View 1 2 3 4 5 6 7 4 chunks +124 lines, -48 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 82 (48 generated)
chrishtr
4 years, 3 months ago (2016-09-14 00:17:48 UTC) #5
Xianzhu
Please rebase this and test if it causes any regressions of slimmingPaintInvalidation on SPv1: run-webkit-tests ...
4 years, 3 months ago (2016-09-14 00:35:53 UTC) #10
chrishtr
On 2016/09/14 at 00:35:53, wangxianzhu wrote: > Please rebase this and test if it causes ...
4 years, 3 months ago (2016-09-14 16:34:53 UTC) #11
Xianzhu
lgtm
4 years, 3 months ago (2016-09-14 16:40:22 UTC) #14
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/2322073006/120001
4 years, 3 months ago (2016-09-14 17:00:21 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/278140)
4 years, 3 months ago (2016-09-14 17:44:50 UTC) #21
chrishtr
https://codereview.chromium.org/2322073006/diff/60001/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp File third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp (right): https://codereview.chromium.org/2322073006/diff/60001/third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp#newcode211 third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp:211: DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()); On 2016/09/14 at 00:35:53, Xianzhu wrote: > We ...
4 years, 3 months ago (2016-09-14 19:43:25 UTC) #23
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/2322073006/160001
4 years, 3 months ago (2016-09-14 21:13:19 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/129116) android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-09-14 21:17:29 UTC) #28
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/2322073006/160001
4 years, 3 months ago (2016-09-14 23:17:35 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/128981) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-09-14 23:21:20 UTC) #32
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/2322073006/160001
4 years, 3 months ago (2016-09-15 00:34:21 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/129040) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-09-15 00:39:22 UTC) #36
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/2322073006/180001
4 years, 3 months ago (2016-09-15 17:16:17 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/538)
4 years, 3 months ago (2016-09-15 18:06:57 UTC) #41
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/2322073006/200001
4 years, 3 months ago (2016-09-15 19:13:59 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/129494)
4 years, 3 months ago (2016-09-15 20:25:35 UTC) #46
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/2322073006/220001
4 years, 3 months ago (2016-09-15 20:45:27 UTC) #49
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/294077)
4 years, 3 months ago (2016-09-15 22:10:54 UTC) #51
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/2322073006/220001
4 years, 3 months ago (2016-09-15 22:12:51 UTC) #53
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/31525)
4 years, 3 months ago (2016-09-15 23:15:41 UTC) #55
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/2322073006/260001
4 years, 3 months ago (2016-09-16 00:29:09 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/558)
4 years, 3 months ago (2016-09-16 01:42:06 UTC) #60
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/2322073006/280001
4 years, 3 months ago (2016-09-16 14:02:52 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/31938)
4 years, 3 months ago (2016-09-16 15:28:49 UTC) #65
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/2322073006/280001
4 years, 3 months ago (2016-09-16 15:45:41 UTC) #67
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/31988)
4 years, 3 months ago (2016-09-16 17:11:50 UTC) #69
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/2322073006/300001
4 years, 3 months ago (2016-09-16 20:55:03 UTC) #72
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/143180)
4 years, 3 months ago (2016-09-16 21:54:08 UTC) #74
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/2322073006/340001
4 years, 3 months ago (2016-09-16 23:32:20 UTC) #77
commit-bot: I haz the power
Committed patchset #18 (id:340001)
4 years, 3 months ago (2016-09-17 01:01:34 UTC) #78
commit-bot: I haz the power
Patchset 18 (id:??) landed as https://crrev.com/9ed93e1cc02c566bed3569ab29f1252d6c209727 Cr-Commit-Position: refs/heads/master@{#419354}
4 years, 3 months ago (2016-09-17 01:02:58 UTC) #80
pdr.
https://codereview.chromium.org/2322073006/diff/340001/third_party/WebKit/Source/core/paint/FramePainter.cpp File third_party/WebKit/Source/core/paint/FramePainter.cpp (right): https://codereview.chromium.org/2322073006/diff/340001/third_party/WebKit/Source/core/paint/FramePainter.cpp#newcode53 third_party/WebKit/Source/core/paint/FramePainter.cpp:53: if (frameView().frame().isLocalRoot()) { Why was this needed?
4 years, 3 months ago (2016-09-21 20:56:32 UTC) #81
chrishtr
4 years, 3 months ago (2016-09-21 21:08:50 UTC) #82
Message was sent while issue was closed.
https://codereview.chromium.org/2322073006/diff/340001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/paint/FramePainter.cpp (right):

https://codereview.chromium.org/2322073006/diff/340001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/paint/FramePainter.cpp:53: if
(frameView().frame().isLocalRoot()) {
On 2016/09/21 at 20:56:31, pdr. wrote:
> Why was this needed?

Without this, it could be that painting occurred outside of an effect
(subsequence markers for
the root PaintLayer of the page). I added this to ensure that state.

Powered by Google App Engine
This is Rietveld 408576698