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

Issue 20103002: Make composited scrolling codepaths co-operate. (Closed)

Created:
7 years, 5 months ago by hartmanng
Modified:
7 years, 2 months ago
Reviewers:
Ian Vollick, tkent
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Visibility:
Public.

Description

Make composited scrolling codepaths co-operate. Since we don’t have a functional layer-squashing solution yet, it makes sense to leave in the logic for the stacking container concept for the short term, and use it whenever possible. If a layer cannot become a stacking container, then we fall back to using the new codepath that’s being set up in all the above patches. This is blink-side patch 6 of https://docs.google.com/a/chromium.org/document/d/1Ln57_v6_4RmuuvtWnpsfBOUeDFrPsYNFW13dwuQ8UD8. BUG=254111 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159168

Patch Set 1 #

Patch Set 2 : fix tests #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : rebase #

Patch Set 8 : fix upload #

Patch Set 9 : rebase #

Patch Set 10 : fix needsCompositedScrolling state #

Total comments: 6

Patch Set 11 : rebase #

Patch Set 12 : review #

Patch Set 13 : rebase #

Patch Set 14 : UMA + bug #

Total comments: 6

Patch Set 15 : review #

Patch Set 16 : rebase master #

Patch Set 17 : rebase https://codereview.chromium.org/23903012/ #

Patch Set 18 : rebase for landing #

Patch Set 19 : fix unit test #

Patch Set 20 : #

Patch Set 21 : rebase before https://codereview.chromium.org/25737009 #

Patch Set 22 : rebase after https://codereview.chromium.org/25737009 #

Patch Set 23 : rebase #

Patch Set 24 : rebase #

Patch Set 25 : rebaseline TestExpectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -90 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +10 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-display-change.html View 1 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change.html View 1 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-1.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-2.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-3.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-4.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/build-paint-order-lists-part-1.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/build-paint-order-lists-part-2.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/build-paint-order-lists-part-3.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/build-paint-order-lists-part-4.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/invisible-descendants-should-not-affect-opt-in.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M LayoutTests/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors.html View 1 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/page/Settings.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +10 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 17 chunks +72 lines, -57 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +6 lines, -10 lines 0 comments Download
M Source/web/tests/ScrollingCoordinatorChromiumTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
hartmanng
[- blink-reviews@chromium.org, dglazkov+blink@chromium.org, eae+blinkwatch@chromium.org, leviw+renderwatch@chromium.org, jchaffraix+rendering@chromium.org to avoid spam] all the layout test failures are ...
7 years, 4 months ago (2013-07-25 20:22:40 UTC) #1
hartmanng
Last two layout tests are fixed (problem was that I was trying to treat unclipped ...
7 years, 4 months ago (2013-07-26 15:32:13 UTC) #2
Ian Vollick
I like it. Just one small question. https://codereview.chromium.org/20103002/diff/34001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/20103002/diff/34001/Source/core/rendering/RenderLayer.cpp#newcode509 Source/core/rendering/RenderLayer.cpp:509: if (scrollingLayer->m_canBePromotedToStackingContainerDirty) ...
7 years, 4 months ago (2013-08-08 03:30:10 UTC) #3
hartmanng
https://codereview.chromium.org/20103002/diff/34001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/20103002/diff/34001/Source/core/rendering/RenderLayer.cpp#newcode509 Source/core/rendering/RenderLayer.cpp:509: if (scrollingLayer->m_canBePromotedToStackingContainerDirty) { On 2013/08/08 03:30:10, vollick wrote: > ...
7 years, 4 months ago (2013-08-08 13:41:37 UTC) #4
hartmanng
Ian, please take a look.
7 years, 4 months ago (2013-08-09 13:28:13 UTC) #5
hartmanng
Ian, this should fix the issue we were seeing in the layout test from https://codereview.chromium.org/22620002/. ...
7 years, 3 months ago (2013-08-28 21:37:09 UTC) #6
Ian Vollick
https://codereview.chromium.org/20103002/diff/94001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/20103002/diff/94001/Source/core/rendering/RenderLayer.cpp#newcode483 Source/core/rendering/RenderLayer.cpp:483: TRACE_EVENT0("comp-scroll", "RenderLayer::useCompositorDrivenAcceleratedScrolling"); Can you ditch the printf-y trace events ...
7 years, 3 months ago (2013-08-29 03:05:00 UTC) #7
hartmanng
Fixed your review comments from last time, and moved the UMA stats (from https://codereview.chromium.org/23455031) around ...
7 years, 3 months ago (2013-09-05 20:43:58 UTC) #8
Ian Vollick
This is looking pretty good! I find the members m_canBeStackingContainer and m_needsToBeStackingContainer a bit confusing, ...
7 years, 3 months ago (2013-09-06 02:01:05 UTC) #9
hartmanng
On 2013/09/06 02:01:05, Ian Vollick wrote: > This is looking pretty good! I find the ...
7 years, 3 months ago (2013-09-06 20:18:35 UTC) #10
Ian Vollick
This lgtm, but I think it may need to be rebased on the latest version ...
7 years, 3 months ago (2013-09-06 23:23:41 UTC) #11
hartmanng
On 2013/09/06 23:23:41, Ian Vollick wrote: > This lgtm, but I think it may need ...
7 years, 3 months ago (2013-09-09 14:22:56 UTC) #12
Ian Vollick
On 2013/09/09 14:22:56, hartmanng wrote: > On 2013/09/06 23:23:41, Ian Vollick wrote: > > This ...
7 years, 3 months ago (2013-09-09 14:24:53 UTC) #13
shawnsingh
I was asked to check this just as another pair of eyes - no obvious ...
7 years, 3 months ago (2013-09-12 20:26:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/20103002/145001
7 years, 3 months ago (2013-09-13 00:12:07 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests, webkit_unit_tests, weborigin_unittests, wtf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=5441
7 years, 3 months ago (2013-09-13 01:29:42 UTC) #16
tkent
rubber-stamping lgtm for Source/web/
7 years, 3 months ago (2013-09-13 02:30:02 UTC) #17
hartmanng
thanks!
7 years, 3 months ago (2013-09-13 02:31:32 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/20103002/164001
7 years, 3 months ago (2013-09-13 02:32:02 UTC) #19
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=6929
7 years, 3 months ago (2013-09-13 02:35:17 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/20103002/170001
7 years, 3 months ago (2013-09-13 03:22:33 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=4808
7 years, 3 months ago (2013-09-13 05:00:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/20103002/194001
7 years, 2 months ago (2013-10-08 17:17:57 UTC) #23
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=7208
7 years, 2 months ago (2013-10-08 18:24:34 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/20103002/214001
7 years, 2 months ago (2013-10-08 19:48:48 UTC) #25
commit-bot: I haz the power
7 years, 2 months ago (2013-10-08 23:46:33 UTC) #26
Message was sent while issue was closed.
Change committed as 159168

Powered by Google App Engine
This is Rietveld 408576698