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

Issue 1882413006: cc: Construct the RSLL without using layer hierarchy (Closed)

Created:
4 years, 8 months ago by ajuma
Modified:
4 years, 8 months ago
Reviewers:
weiliangc
CC:
cc-bugs_chromium.org, chromium-reviews, enne (OOO), jaydasika, sunxd, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Construct the RSLL without using layer hierarchy This removes recursion over the layer tree from the construction of the render surface layer list. Instead, we iterate over the layers in stacking order to produce an initial render surface layer list (that might include surfaces that later turn out to have empty content rects), then iterate backwards over the top-level list of surfaces in order to compute their content rects, and then iterate over the top-level list of surfaces to produce the final RSLL that includes only non-empty surfaces. BUG=568799, 603147 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5c8f5db211972b428577a3e268d25dccef61c366 Cr-Commit-Position: refs/heads/master@{#388233}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Rebased #

Patch Set 3 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -246 lines) Patch
M cc/layers/layer_impl.h View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/render_surface_impl.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 7 chunks +217 lines, -223 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 chunk +3 lines, -14 lines 0 comments Download
M cc/trees/property_tree.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/property_tree.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (10 generated)
ajuma
https://codereview.chromium.org/1882413006/diff/40001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/1882413006/diff/40001/cc/trees/layer_tree_host_common.cc#newcode260 cc/trees/layer_tree_host_common.cc:260: int current_render_surface_layer_list_id) { Using a sequence number to track ...
4 years, 8 months ago (2016-04-15 17:32:38 UTC) #8
weiliangc
Overall looks reasonable. Thanks. https://codereview.chromium.org/1882413006/diff/40001/cc/layers/render_surface_impl.h File cc/layers/render_surface_impl.h (right): https://codereview.chromium.org/1882413006/diff/40001/cc/layers/render_surface_impl.h#newcode64 cc/layers/render_surface_impl.h:64: RenderSurfaceImpl* nearest_occlusion_immune_ancestor() { Is this ...
4 years, 8 months ago (2016-04-19 15:05:59 UTC) #9
ajuma
https://codereview.chromium.org/1882413006/diff/40001/cc/layers/render_surface_impl.h File cc/layers/render_surface_impl.h (right): https://codereview.chromium.org/1882413006/diff/40001/cc/layers/render_surface_impl.h#newcode64 cc/layers/render_surface_impl.h:64: RenderSurfaceImpl* nearest_occlusion_immune_ancestor() { On 2016/04/19 15:05:59, weiliangc wrote: > ...
4 years, 8 months ago (2016-04-19 16:35:13 UTC) #10
weiliangc
On 2016/04/19 at 16:35:13, ajuma wrote: > https://codereview.chromium.org/1882413006/diff/40001/cc/layers/render_surface_impl.h > File cc/layers/render_surface_impl.h (right): > > https://codereview.chromium.org/1882413006/diff/40001/cc/layers/render_surface_impl.h#newcode64 ...
4 years, 8 months ago (2016-04-19 17:03:42 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882413006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882413006/80001
4 years, 8 months ago (2016-04-19 17:05:56 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 8 months ago (2016-04-19 17:29:21 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:13:21 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5c8f5db211972b428577a3e268d25dccef61c366
Cr-Commit-Position: refs/heads/master@{#388233}

Powered by Google App Engine
This is Rietveld 408576698