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

Issue 244193002: Enable universal accelerated overflow scroll (Closed)

Created:
6 years, 8 months ago by Ian Vollick
Modified:
6 years, 8 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., ojan, rune+blink
Visibility:
Public.

Description

Enable universal accelerated overflow scroll Now that we've enabled layer squashing, we can enable universal overflow scrolling. Note: This is just an updated version of the patch abarth@ kindly started here: https://codereview.chromium.org/243713002/ I've removed some now meaningless layout tests (which cover the old, opt-in path), and updated the TestExpectaions for the remaining, affected tests. R=abarth@chromium.org BUG=249354 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172041

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Patch Set 3 : Update test expectations for crashing test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -9431 lines) Patch
M LayoutTests/TestExpectations View 1 2 2 chunks +21 lines, -1 line 0 comments Download
M LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html View 1 1 chunk +1 line, -4 lines 0 comments Download
M LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-scrolled.html View 1 2 chunks +1 line, -4 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-display-change.html View 1 chunk +0 lines, -87 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-display-change-expected.txt View 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change.html View 1 chunk +0 lines, -88 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-z-index-change-expected.txt View 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html View 1 chunk +0 lines, -224 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change-expected.txt View 1 chunk +0 lines, -39 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-1.html View 1 chunk +0 lines, -32 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-1-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-2.html View 1 chunk +0 lines, -32 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-2-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-3.html View 1 chunk +0 lines, -32 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-3-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-4.html View 1 chunk +0 lines, -32 lines 0 comments Download
D LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-4-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html View 1 1 chunk +0 lines, -192 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-lists-part-1.html View 1 1 chunk +0 lines, -34 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-lists-part-1-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-lists-part-2.html View 1 1 chunk +0 lines, -34 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-lists-part-2-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-lists-part-3.html View 1 1 chunk +0 lines, -34 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-lists-part-3-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-lists-part-4.html View 1 1 chunk +0 lines, -34 lines 0 comments Download
D LayoutTests/compositing/overflow/build-paint-order-lists-part-4-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/compositing/overflow/composited-scrolling-creates-a-stacking-container.html View 1 chunk +0 lines, -76 lines 0 comments Download
D LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html View 1 chunk +0 lines, -135 lines 0 comments Download
D LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant-expected.txt View 1 chunk +0 lines, -15 lines 0 comments Download
D LayoutTests/compositing/overflow/invisible-descendants-should-not-affect-opt-in.html View 1 chunk +0 lines, -121 lines 0 comments Download
D LayoutTests/compositing/overflow/invisible-descendants-should-not-affect-opt-in-expected.txt View 1 chunk +0 lines, -7 lines 0 comments Download
D LayoutTests/compositing/overflow/opt-into-composited-scrolling-positioned-ancestor.html View 1 1 chunk +0 lines, -91 lines 0 comments Download
D LayoutTests/compositing/overflow/opt-into-composited-scrolling-positioned-ancestor-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors.html View 1 chunk +0 lines, -104 lines 0 comments Download
D LayoutTests/compositing/overflow/resources/automatically-opt-into-composited-scrolling.css View 1 chunk +0 lines, -47 lines 0 comments Download
D LayoutTests/compositing/overflow/resources/automatically-opt-into-composited-scrolling.js View 1 chunk +0 lines, -245 lines 0 comments Download
D LayoutTests/compositing/overflow/resources/build-paint-order-lists.css View 1 1 chunk +0 lines, -41 lines 0 comments Download
D LayoutTests/compositing/overflow/resources/build-paint-order-lists.js View 1 1 chunk +0 lines, -118 lines 0 comments Download
D LayoutTests/platform/android/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/platform/android/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -525 lines 0 comments Download
D LayoutTests/platform/android/virtual/gpu/compositedscrolling/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/platform/android/virtual/gpu/compositedscrolling/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -525 lines 0 comments Download
D LayoutTests/platform/android/virtual/softwarecompositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -56 lines 0 comments Download
D LayoutTests/platform/android/virtual/softwarecompositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -525 lines 0 comments Download
D LayoutTests/platform/mac-snowleopard/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -59 lines 0 comments Download
D LayoutTests/platform/mac-snowleopard/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -539 lines 0 comments Download
D LayoutTests/platform/mac-snowleopard/virtual/gpu/compositedscrolling/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -59 lines 0 comments Download
D LayoutTests/platform/mac-snowleopard/virtual/gpu/compositedscrolling/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -539 lines 0 comments Download
D LayoutTests/platform/mac-snowleopard/virtual/softwarecompositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -59 lines 0 comments Download
D LayoutTests/platform/mac-snowleopard/virtual/softwarecompositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -539 lines 0 comments Download
D LayoutTests/platform/mac/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -57 lines 0 comments Download
D LayoutTests/platform/mac/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -511 lines 0 comments Download
D LayoutTests/platform/mac/virtual/gpu/compositedscrolling/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -57 lines 0 comments Download
D LayoutTests/platform/mac/virtual/gpu/compositedscrolling/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -511 lines 0 comments Download
D LayoutTests/platform/mac/virtual/softwarecompositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -57 lines 0 comments Download
D LayoutTests/platform/mac/virtual/softwarecompositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -511 lines 0 comments Download
D LayoutTests/platform/win/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -59 lines 0 comments Download
D LayoutTests/platform/win/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -539 lines 0 comments Download
D LayoutTests/platform/win/virtual/gpu/compositedscrolling/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -59 lines 0 comments Download
D LayoutTests/platform/win/virtual/gpu/compositedscrolling/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -539 lines 0 comments Download
D LayoutTests/platform/win/virtual/softwarecompositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt View 1 chunk +0 lines, -59 lines 0 comments Download
D LayoutTests/platform/win/virtual/softwarecompositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 chunk +0 lines, -539 lines 0 comments Download
D LayoutTests/virtual/gpu/compositedscrolling/overflow/automatically-opt-into-composited-scrolling-part-1-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/virtual/gpu/compositedscrolling/overflow/automatically-opt-into-composited-scrolling-part-2-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/virtual/gpu/compositedscrolling/overflow/automatically-opt-into-composited-scrolling-part-3-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/virtual/gpu/compositedscrolling/overflow/automatically-opt-into-composited-scrolling-part-4-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/virtual/gpu/compositedscrolling/overflow/opt-into-composited-scrolling-positioned-ancestor-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
D LayoutTests/virtual/softwarecompositing/overflow/automatically-opt-into-composited-scrolling-part-1-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/virtual/softwarecompositing/overflow/automatically-opt-into-composited-scrolling-part-2-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/virtual/softwarecompositing/overflow/automatically-opt-into-composited-scrolling-part-3-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/virtual/softwarecompositing/overflow/automatically-opt-into-composited-scrolling-part-4-expected.txt View 1 chunk +0 lines, -29 lines 0 comments Download
D LayoutTests/virtual/softwarecompositing/overflow/opt-into-composited-scrolling-positioned-ancestor-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/compositing/CompositingReasonFinder.cpp View 1 chunk +5 lines, -20 lines 0 comments Download
M Source/core/rendering/compositing/CompositingTriggers.h View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 chunks +0 lines, -60 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 1 chunk +0 lines, -4 lines 0 comments Download
M Source/web/tests/ScrollingCoordinatorChromiumTest.cpp View 1 chunk +0 lines, -13 lines 0 comments Download
D Source/web/tests/data/non-fast-scrollable.html View 1 chunk +0 lines, -27 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
abarth-chromium
LGTM https://codereview.chromium.org/244193002/diff/1/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/244193002/diff/1/LayoutTests/TestExpectations#newcode1139 LayoutTests/TestExpectations:1139: crbug.com/364991 [ Debug ] virtual/gpu/compositedscrolling/overflow/iframe-scroll-children.html [ Pass Crash ...
6 years, 8 months ago (2014-04-19 21:53:48 UTC) #1
Ian Vollick
On 2014/04/19 21:53:48, abarth wrote: > LGTM > > https://codereview.chromium.org/244193002/diff/1/LayoutTests/TestExpectations > File LayoutTests/TestExpectations (right): > ...
6 years, 8 months ago (2014-04-19 23:30:43 UTC) #2
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 8 months ago (2014-04-20 02:24:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/244193002/30079
6 years, 8 months ago (2014-04-20 02:24:44 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-20 03:02:54 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 8 months ago (2014-04-20 03:02:54 UTC) #6
abarth-chromium
Looks like you've got one more test: virtual/softwarecompositing/overflow/universal-accelerated-overflow-scroll.html
6 years, 8 months ago (2014-04-20 14:16:39 UTC) #7
Ian Vollick
On 2014/04/20 14:16:39, abarth wrote: > Looks like you've got one more test: > > ...
6 years, 8 months ago (2014-04-21 02:09:12 UTC) #8
Ian Vollick
On 2014/04/21 02:09:12, Ian Vollick wrote: > On 2014/04/20 14:16:39, abarth wrote: > > Looks ...
6 years, 8 months ago (2014-04-21 15:00:02 UTC) #9
abarth-chromium
Ok... Do you think this issue can occur in the real world?
6 years, 8 months ago (2014-04-21 16:23:35 UTC) #10
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 8 months ago (2014-04-21 16:23:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/244193002/90001
6 years, 8 months ago (2014-04-21 16:23:54 UTC) #12
commit-bot: I haz the power
Change committed as 172041
6 years, 8 months ago (2014-04-21 16:34:23 UTC) #13
Ian Vollick
6 years, 8 months ago (2014-04-21 17:09:46 UTC) #14
Message was sent while issue was closed.
On 2014/04/21 16:23:35, abarth wrote:
> Ok...  Do you think this issue can occur in the real world?

I think so, yeah. There's a good chance I'm misunderstanding the issue, but it
looks like on mac + software compositing, any situation that could create a
largish number of layers (and shared bitmaps) will cause us to exceed the file
descriptor limit.

Powered by Google App Engine
This is Rietveld 408576698