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

Issue 2834123002: cc: Replace render surface layer list with a render surface list (Closed)

Created:
3 years, 8 months ago by ajuma
Modified:
3 years, 7 months ago
Reviewers:
jaydasika, weiliangc
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Replace render surface layer list with a render surface list The render surface layer list structure consisted of a top level list of layers representing render surfaces, along with a list of layers at each surface representing contributing layers or surfaces. This CL replaces the render surface layer list with a top level list of surfaces. Individual surfaces no longer store a list of contributors. BUG=611883 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2834123002 Cr-Commit-Position: refs/heads/master@{#468168} Committed: https://chromium.googlesource.com/chromium/src/+/b784ef49f2e1609ccec5007fe9229186d34a432d

Patch Set 1 #

Patch Set 2 : WIP #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Total comments: 7

Patch Set 8 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -540 lines) Patch
M cc/layers/effect_tree_layer_list_iterator_unittest.cc View 1 4 chunks +8 lines, -8 lines 0 comments Download
M cc/layers/layer_collections.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M cc/layers/render_surface_impl.h View 1 2 3 4 5 6 7 4 chunks +17 lines, -4 lines 0 comments Download
M cc/layers/render_surface_impl.cc View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M cc/layers/render_surface_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/surface_layer_impl_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/output/bsp_tree_perftest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_test_common.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/damage_tracker.h View 1 chunk +3 lines, -2 lines 0 comments Download
M cc/trees/damage_tracker.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 2 3 4 5 14 chunks +32 lines, -31 lines 0 comments Download
M cc/trees/debug_rect_history.h View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M cc/trees/debug_rect_history.cc View 1 2 3 4 chunks +23 lines, -44 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 3 4 5 6 7 10 chunks +134 lines, -119 lines 0 comments Download
M cc/trees/layer_tree_host_common_perftest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 56 chunks +164 lines, -192 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 7 chunks +19 lines, -22 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 1 chunk +5 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 chunks +8 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 2 3 4 5 27 chunks +70 lines, -65 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (28 generated)
ajuma
https://codereview.chromium.org/2834123002/diff/120001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/2834123002/diff/120001/cc/trees/layer_tree_host_common.cc#newcode348 cc/trees/layer_tree_host_common.cc:348: layer->set_is_drawn_render_surface_layer_list_member(false); LayerImpl::is_drawn_render_surface_layer_list_member needs a new name now (e.g. contributes_to_drawn_render_surface) ...
3 years, 7 months ago (2017-04-27 23:35:23 UTC) #16
jaydasika
https://codereview.chromium.org/2834123002/diff/120001/cc/layers/render_surface_impl.h File cc/layers/render_surface_impl.h (right): https://codereview.chromium.org/2834123002/diff/120001/cc/layers/render_surface_impl.h#newcode130 cc/layers/render_surface_impl.h:130: void decrement_num_contributors() { num_contributors_--; } Add a DCHECK here ...
3 years, 7 months ago (2017-04-28 18:27:18 UTC) #23
ajuma
https://codereview.chromium.org/2834123002/diff/120001/cc/layers/render_surface_impl.h File cc/layers/render_surface_impl.h (right): https://codereview.chromium.org/2834123002/diff/120001/cc/layers/render_surface_impl.h#newcode130 cc/layers/render_surface_impl.h:130: void decrement_num_contributors() { num_contributors_--; } On 2017/04/28 18:27:18, jaydasika ...
3 years, 7 months ago (2017-04-28 21:11:21 UTC) #26
jaydasika
lgtm
3 years, 7 months ago (2017-04-28 21:23:47 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2834123002/140001
3 years, 7 months ago (2017-04-28 22:54:14 UTC) #31
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 23:04:34 UTC) #34
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/b784ef49f2e1609ccec5007fe922...

Powered by Google App Engine
This is Rietveld 408576698