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

Issue 13913013: Only update composited scrolling state when necessary (Closed)

Created:
7 years, 8 months ago by Ian Vollick
Modified:
7 years, 8 months ago
CC:
blink-reviews, jchaffraix+rendering, shawnsingh, hartmanng, jamesr
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Only update composited scrolling state when necessary Here we introduce a dirty bit for m_descendantsAreContiguousInStackingOrder in order to avoid recomputing fresh values. R=jchaffraix BUG=177714 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148916

Patch Set 1 : . #

Total comments: 25

Patch Set 2 : Address Julien's comments. #

Patch Set 3 : Adding more tests. #

Total comments: 15

Patch Set 4 : . #

Patch Set 5 : rebase. #

Patch Set 6 : Added an 'early out' in ::updateVisibilityAfterStyleChange #

Patch Set 7 : Rebase. #

Patch Set 8 : . #

Patch Set 9 : rebase #

Patch Set 10 : Another rebase. #

Patch Set 11 : Updating test expectations. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -86 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html View 1 1 chunk +221 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change-expected.txt View 1 chunk +39 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html View 1 2 3 1 chunk +130 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant-expected.txt View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html View 1 chunk +2 lines, -1 line 0 comments Download
A LayoutTests/compositing/overflow/invisible-descendants-should-not-affect-opt-in.html View 1 2 1 chunk +115 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/invisible-descendants-should-not-affect-opt-in-expected.txt View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 7 32 chunks +159 lines, -80 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Ian Vollick
On 2013/04/03 20:33:06, jchaffraix wrote: > https://codereview.appspot.com/8166047/diff/7001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html > File > LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html > (right): > > ...
7 years, 8 months ago (2013-04-09 16:32:00 UTC) #1
eseidel
7 years, 8 months ago (2013-04-09 20:14:09 UTC) #2
Julien - ping for review
Better! https://codereview.chromium.org/13913013/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html File LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html (right): https://codereview.chromium.org/13913013/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html#newcode47 LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html:47: <script type="text/javascript" charset="utf-8"> Let's remove these unneeded attribute, ...
7 years, 8 months ago (2013-04-09 21:06:43 UTC) #3
jamesr
This seems like a hack around the fact that we compute compositing requirements at the ...
7 years, 8 months ago (2013-04-09 21:09:13 UTC) #4
jamesr
https://codereview.chromium.org/13913013/diff/2001/Source/WebCore/rendering/RenderView.h File Source/WebCore/rendering/RenderView.h (right): https://codereview.chromium.org/13913013/diff/2001/Source/WebCore/rendering/RenderView.h#newcode52 Source/WebCore/rendering/RenderView.h:52: struct ScopedCompositedScrollingUpdater { in particular this class seems very ...
7 years, 8 months ago (2013-04-09 21:10:00 UTC) #5
Ian Vollick
On 2013/04/09 21:10:00, jamesr wrote: > https://codereview.chromium.org/13913013/diff/2001/Source/WebCore/rendering/RenderView.h > File Source/WebCore/rendering/RenderView.h (right): > > https://codereview.chromium.org/13913013/diff/2001/Source/WebCore/rendering/RenderView.h#newcode52 > ...
7 years, 8 months ago (2013-04-12 03:31:11 UTC) #6
Ian Vollick
Julien, I believe this latest patch addresses the comments from your last review. https://codereview.chromium.org/13913013/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-style-change.html File ...
7 years, 8 months ago (2013-04-12 03:53:14 UTC) #7
Julien - ping for review
LGTM with comments. https://codereview.chromium.org/13913013/diff/20001/LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html File LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html (right): https://codereview.chromium.org/13913013/diff/20001/LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html#newcode69 LayoutTests/compositing/overflow/do-not-opt-in-with-out-of-flow-descendant.html:69: write(layerTree); The FAILED output could be ...
7 years, 8 months ago (2013-04-18 00:42:34 UTC) #8
Ian Vollick
Thanks for the review! I think I've addressed all your comments, but the change is ...
7 years, 8 months ago (2013-04-18 20:55:52 UTC) #9
Julien - ping for review
Updated change, lgtm!
7 years, 8 months ago (2013-04-19 17:11:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/13913013/49001
7 years, 8 months ago (2013-04-20 02:52:36 UTC) #11
commit-bot: I haz the power
Retried try job too often on mac_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout_rel&number=2706
7 years, 8 months ago (2013-04-20 03:36:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/13913013/53002
7 years, 8 months ago (2013-04-20 04:35:39 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) test_shell_tests, webkit_lint, webkit_tests, webkit_unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=4628
7 years, 8 months ago (2013-04-20 04:49:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/13913013/60001
7 years, 8 months ago (2013-04-23 16:41:41 UTC) #15
commit-bot: I haz the power
7 years, 8 months ago (2013-04-23 19:15:02 UTC) #16
Message was sent while issue was closed.
Change committed as 148916

Powered by Google App Engine
This is Rietveld 408576698