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

Issue 185293002: Factor GraphicsLayerUpdater out of RenderLayerCompositor (Closed)

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

Description

Factor GraphicsLayerUpdater out of RenderLayerCompositor This CL moves some code relating to walking the RenderLayer tree and updating GraphicsLayers out of RenderLayerCompositor. This code didn't interact with any of the state in RenderLayerCompositor, so it's easy to untangle. I've also taken the opportunity to remove a pretty gross hack using static variables to communicate data across the recursive tree walk. Now we just use normal member variables in the stack object that manages the tree walk. This CL shouldn't change any behavior. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168244

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -163 lines) Patch
M Source/core/core.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
A + Source/core/rendering/compositing/GraphicsLayerUpdater.h View 1 2 chunks +24 lines, -23 lines 0 comments Download
A Source/core/rendering/compositing/GraphicsLayerUpdater.cpp View 1 1 chunk +174 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 6 chunks +8 lines, -140 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
abarth-chromium
6 years, 9 months ago (2014-03-01 09:31:50 UTC) #1
esprehn
lgtm, couple random nits, The only important one is what is parentFrameContentLayers? The name doesn't ...
6 years, 9 months ago (2014-03-01 09:37:06 UTC) #2
abarth-chromium
On 2014/03/01 09:37:06, esprehn wrote: > lgtm, couple random nits, The only important one is ...
6 years, 9 months ago (2014-03-01 09:38:30 UTC) #3
abarth-chromium
https://codereview.chromium.org/185293002/diff/1/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp File Source/core/rendering/compositing/GraphicsLayerUpdater.cpp (right): https://codereview.chromium.org/185293002/diff/1/Source/core/rendering/compositing/GraphicsLayerUpdater.cpp#newcode51 Source/core/rendering/compositing/GraphicsLayerUpdater.cpp:51: void GraphicsLayerUpdater::rebuildTree(RenderLayer* layer, Vector<GraphicsLayer*>& childLayersOfEnclosingLayer, int depth) On 2014/03/01 ...
6 years, 9 months ago (2014-03-01 09:40:38 UTC) #4
esprehn
Let's leave that function with the crazy name, we can leave it in the new ...
6 years, 9 months ago (2014-03-01 09:45:37 UTC) #5
abarth-chromium
I put the function back where it came from. Let's keep the crazy all together. ...
6 years, 9 months ago (2014-03-01 09:52:24 UTC) #6
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 9 months ago (2014-03-01 09:52:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/185293002/20001
6 years, 9 months ago (2014-03-01 09:52:37 UTC) #8
commit-bot: I haz the power
6 years, 9 months ago (2014-03-01 13:47:49 UTC) #9
Message was sent while issue was closed.
Change committed as 168244

Powered by Google App Engine
This is Rietveld 408576698