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

Issue 1188363002: Compute the normal flow list on the fly (Closed)

Created:
5 years, 6 months ago by Julien - ping for review
Modified:
5 years, 6 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Compute the normal flow list on the fly Storing the normal flow list in DeprecatedPaintLayerStackingNode is not necessary and there are quite some complexity in the code for invalidating this cache. Ideally we shouldn't need the normal flow at all. It's not a CSS concept but arose from our implementation of stacking contexts and the multiple responsabilities of DeprecatedPaintLayer. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197871

Patch Set 1 #

Patch Set 2 : Fix reverse iterator (OOPS). #

Total comments: 9

Patch Set 3 : Reviewnated patch! #

Total comments: 6

Patch Set 4 : Rebaselined patch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -107 lines) Patch
M Source/core/layout/LayoutTreeAsText.cpp View 2 chunks +14 lines, -4 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerStackingNode.h View 1 2 3 4 chunks +0 lines, -18 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerStackingNode.cpp View 1 2 3 7 chunks +2 lines, -60 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h View 1 2 3 chunks +4 lines, -6 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp View 1 2 4 chunks +29 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
Julien - ping for review
Concept patch: this un-expose the normal flow list, forcing people to use the iterator. It ...
5 years, 6 months ago (2015-06-22 15:35:29 UTC) #2
dsinclair
https://codereview.chromium.org/1188363002/diff/20001/Source/core/paint/DeprecatedPaintLayer.cpp File Source/core/paint/DeprecatedPaintLayer.cpp (right): https://codereview.chromium.org/1188363002/diff/20001/Source/core/paint/DeprecatedPaintLayer.cpp#newcode1143 Source/core/paint/DeprecatedPaintLayer.cpp:1143: if (!child->stackingNode()->isTreatedAsStackingContextForPainting()) { Any reason to not have this ...
5 years, 6 months ago (2015-06-24 15:22:42 UTC) #4
Julien - ping for review
https://codereview.chromium.org/1188363002/diff/20001/Source/core/paint/DeprecatedPaintLayer.cpp File Source/core/paint/DeprecatedPaintLayer.cpp (right): https://codereview.chromium.org/1188363002/diff/20001/Source/core/paint/DeprecatedPaintLayer.cpp#newcode1143 Source/core/paint/DeprecatedPaintLayer.cpp:1143: if (!child->stackingNode()->isTreatedAsStackingContextForPainting()) { On 2015/06/24 at 15:22:41, dsinclair wrote: ...
5 years, 6 months ago (2015-06-24 16:51:57 UTC) #5
dsinclair
lgtm
5 years, 6 months ago (2015-06-24 19:28:01 UTC) #6
Julien - ping for review
+Chris: This was reviewed but I think some extra pair of eyes would help here.
5 years, 6 months ago (2015-06-24 21:43:01 UTC) #8
ojan
lgtm as well. <3 simplification changes like this! I have a very small concern about ...
5 years, 6 months ago (2015-06-24 22:43:10 UTC) #9
chrishtr
https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp File Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp (right): https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp#newcode70 Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp:70: m_currentNormalFlowChild = m_root.layer()->firstChild(); Is this functionality actually used? I ...
5 years, 6 months ago (2015-06-24 23:07:55 UTC) #10
Julien - ping for review
https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp File Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp (right): https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp#newcode70 Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp:70: m_currentNormalFlowChild = m_root.layer()->firstChild(); On 2015/06/24 at 23:07:55, chrishtr wrote: ...
5 years, 6 months ago (2015-06-24 23:13:57 UTC) #11
chrishtr
https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp File Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp (right): https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp#newcode70 Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp:70: m_currentNormalFlowChild = m_root.layer()->firstChild(); On 2015/06/24 at 23:13:57, Julien Chaffraix ...
5 years, 6 months ago (2015-06-24 23:36:30 UTC) #12
Julien - ping for review
https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp File Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp (right): https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp#newcode70 Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp:70: m_currentNormalFlowChild = m_root.layer()->firstChild(); On 2015/06/24 at 23:36:30, chrishtr wrote: ...
5 years, 6 months ago (2015-06-25 17:16:24 UTC) #13
chrishtr
https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp File Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp (right): https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp#newcode70 Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp:70: m_currentNormalFlowChild = m_root.layer()->firstChild(); On 2015/06/25 at 17:16:24, Julien Chaffraix ...
5 years, 6 months ago (2015-06-25 17:20:49 UTC) #14
chrishtr
lgtm
5 years, 6 months ago (2015-06-25 20:37:50 UTC) #15
chrishtr
https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp File Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp (right): https://codereview.chromium.org/1188363002/diff/40001/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp#newcode70 Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.cpp:70: m_currentNormalFlowChild = m_root.layer()->firstChild(); On 2015/06/25 at 17:20:49, chrishtr wrote: ...
5 years, 6 months ago (2015-06-25 20:38:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1188363002/60001
5 years, 6 months ago (2015-06-26 00:29:05 UTC) #19
Julien - ping for review
Thanks for the reviews everyone!
5 years, 6 months ago (2015-06-26 00:29:14 UTC) #20
commit-bot: I haz the power
5 years, 6 months ago (2015-06-26 01:13:19 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197871

Powered by Google App Engine
This is Rietveld 408576698