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

Issue 14741004: NOT FOR REVIEW - Update comp-scrolling state at a well defined point in the pipeline. (Closed)

Created:
7 years, 7 months ago by Ian Vollick
Modified:
7 years, 6 months ago
Reviewers:
hartmanng
Visibility:
Public.

Description

Update comp-scrolling state at a well defined point in the pipeline. NOTE - this is an aggregate patch. It will hopefully be landed in pieces. BUG=

Patch Set 1 #

Total comments: 5

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : Added annotations describing how this patch will be split. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1134 lines, -313 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html View 1 2 3 chunks +13 lines, -4 lines 0 comments Download
M LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M LayoutTests/compositing/overflow/build-paint-order-lists.html View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
A LayoutTests/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors.html View 1 2 1 chunk +97 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors-expected.txt View 1 1 chunk +555 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow/resources/automatically-opt-into-composited-scrolling.js View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M Source/core/page/FrameView.cpp View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 6 chunks +25 lines, -8 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 21 chunks +301 lines, -272 lines 1 comment Download
M Source/core/rendering/RenderLayerCompositor.h View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 2 2 chunks +42 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.h View 1 2 1 chunk +12 lines, -2 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 2 chunks +40 lines, -13 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
hartmanng
-CCs (blink-reviews@chromium.org, jchaffraix+rendering@chromium.org) to avoid spamming them with a not-for-review patch. In general, looks great, ...
7 years, 7 months ago (2013-05-01 20:25:06 UTC) #1
Ian Vollick
Thanks for the review. All tests pass now. I've brought back the can-be-promoted-to-stacking-container dirty bit. ...
7 years, 7 months ago (2013-05-02 03:24:50 UTC) #2
hartmanng
7 years, 7 months ago (2013-05-02 14:04:01 UTC) #3
I think the plan for the split into 3 patches looks good

https://codereview.chromium.org/14741004/diff/1/Source/core/rendering/RenderL...
File Source/core/rendering/RenderLayer.cpp (right):

https://codereview.chromium.org/14741004/diff/1/Source/core/rendering/RenderL...
Source/core/rendering/RenderLayer.cpp:2128: TRACE_EVENT0("blink-rendering",
"RenderLayer::updateNeedsCompositedScrolling\n");
Might not be a bad idea to leave these trace events in?

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
File
LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html
(right):

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html:93:
window.internals.FORCE_COMPOSITED_SCROLLING_ON);
This doesn't match the .idl file, shouldn't it be "ForceCompositedScrollingOff"?

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html:99:
window.internals.settings.DO_NOT_FORCE_COMPOSITED_SCROLLING);
same as above

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
File
LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html
(right):

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html:118:
window.internals.FORCE_COMPOSITED_SCROLLING_OFF);
here and below too

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
File LayoutTests/compositing/overflow/build-paint-order-lists.html (right):

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
LayoutTests/compositing/overflow/build-paint-order-lists.html:100:
window.internals.FORCE_COMPOSITED_SCROLLING_OFF);
and here, am I missing something or is this just a rebase error?

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
File
LayoutTests/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors.html
(right):

https://codereview.chromium.org/14741004/diff/10001/LayoutTests/compositing/o...
LayoutTests/compositing/overflow/out-of-flow-pos-descendants-should-affect-all-ancestors.html:68:
<div style="width: 450px; height: 450px">
I know this was me, but we should probably clean up the style and move it into
<head>

https://codereview.chromium.org/14741004/diff/10001/Source/core/rendering/Ren...
File Source/core/rendering/RenderLayer.cpp (right):

https://codereview.chromium.org/14741004/diff/10001/Source/core/rendering/Ren...
Source/core/rendering/RenderLayer.cpp:633: TRACE_EVENT0("blink",
"RenderLayer::updateCanBeStackingContainer");
should this be "blink" or "blink-rendering"?

https://codereview.chromium.org/14741004/diff/10001/Source/core/rendering/Ren...
Source/core/rendering/RenderLayer.cpp:1198:
childContainingBlocks.remove(renderer());
this might deserve a comment

https://codereview.chromium.org/14741004/diff/10001/Source/core/rendering/Ren...
Source/core/rendering/RenderLayer.cpp:2122: #if
ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
is this macro required anymore?

https://codereview.chromium.org/14741004/diff/21001/Source/core/rendering/Ren...
File Source/core/rendering/RenderLayer.cpp (right):

https://codereview.chromium.org/14741004/diff/21001/Source/core/rendering/Ren...
Source/core/rendering/RenderLayer.cpp:1099: // PATCH 3
There should be an assert in here, right?

Powered by Google App Engine
This is Rietveld 408576698