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

Issue 2032303004: cc : Add layer_list to LayerTreeImpl and build it for tests (Closed)

Created:
4 years, 6 months ago by jaydasika
Modified:
4 years, 6 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc : Add layer_list to LayerTreeImpl and build it for tests Right now, we do a layer tree walk for iteration over all layers on impl-side (LayerListIterator). Once we start pushing layer list instead of layer tree during commit/activation, we will use layer_list instead(layers will be added to layer_list in stacking order during commit/activation). A lot of tests build layer tree on the impl-side and don't go through commit/activation. So, we need to explicitly build the layer_list for these tests. BUG=617366 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/4340ea0bedd552170d50ca6ff91fe094c5b16b35 Cr-Commit-Position: refs/heads/master@{#398100}

Patch Set 1 #

Patch Set 2 : s/BuildPropertyTreesForTesting/BuildLayerListAndPropertyTreesForTesting #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -86 lines) Patch
M cc/input/scrollbar_animation_controller_linear_fade_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/input/scrollbar_animation_controller_thinning_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/heads_up_display_layer_impl_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 10 chunks +11 lines, -11 lines 0 comments Download
M cc/layers/layer_utils_unittest.cc View 1 13 chunks +13 lines, -13 lines 0 comments Download
M cc/layers/picture_image_layer_impl_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/render_surface_impl_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/render_surface_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/scrollbar_layer_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M cc/layers/video_layer_impl_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/test/test_layer_tree_host_base.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/tile_manager_perftest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 7 chunks +7 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 20 chunks +23 lines, -21 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 chunks +10 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/occlusion_tracker_perftest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
jaydasika
Reviewing Patch 1 will be easier. Patch 2 is just renaming.
4 years, 6 months ago (2016-06-04 01:18:48 UTC) #7
ajuma
lgtm https://codereview.chromium.org/2032303004/diff/20001/cc/trees/layer_tree_impl.h File cc/trees/layer_tree_impl.h (right): https://codereview.chromium.org/2032303004/diff/20001/cc/trees/layer_tree_impl.h#newcode138 cc/trees/layer_tree_impl.h:138: void BuildLayerListForTesting(); Should this be private instead of ...
4 years, 6 months ago (2016-06-06 14:22:32 UTC) #8
jaydasika
https://codereview.chromium.org/2032303004/diff/20001/cc/trees/layer_tree_impl.h File cc/trees/layer_tree_impl.h (right): https://codereview.chromium.org/2032303004/diff/20001/cc/trees/layer_tree_impl.h#newcode138 cc/trees/layer_tree_impl.h:138: void BuildLayerListForTesting(); On 2016/06/06 14:22:32, ajuma wrote: > Should ...
4 years, 6 months ago (2016-06-06 18:11:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032303004/40001
4 years, 6 months ago (2016-06-06 18:12:29 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-06 19:44:42 UTC) #14
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 19:47:11 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4340ea0bedd552170d50ca6ff91fe094c5b16b35
Cr-Commit-Position: refs/heads/master@{#398100}

Powered by Google App Engine
This is Rietveld 408576698