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

Issue 13285002: cc: Consolidate LayerList types. (Closed)

Created:
7 years, 8 months ago by danakj
Modified:
7 years, 8 months ago
Reviewers:
jamesr
CC:
chromium-reviews, cc-bugs_chromium.org, piman, backer
Visibility:
Public.

Description

cc: Consolidate LayerList types. We currently have Layer::LayerList, LayerImpl::LayerList, LayerTreeHost::LayerList and LayerTreeHostImpl::LayerList, as well as LayerTreeImpl::LayerList, LayerSorter::LayerList, and I think some more. This patch consolidates the list typedefs into three types: LayerList, LayerImplList, and OwnedLayerImplList. LayerList and LayerImplList are the output of CalculateDrawProperties. While OwnedLayerImplList is a list that owns the layer pointers in it, ie ScopedPtrVector. R=jamesr Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191442

Patch Set 1 : #

Patch Set 2 : layer_lists.h #

Patch Set 3 : #

Patch Set 4 : fix includes #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -155 lines) Patch
M cc/cc.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/debug/debug_rect_history.h View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M cc/debug/debug_rect_history.cc View 6 chunks +6 lines, -5 lines 0 comments Download
M cc/layers/contents_scaling_layer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/delegated_renderer_layer_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 5 chunks +5 lines, -6 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M cc/layers/layer_iterator.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/layer_iterator.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/layers/layer_iterator_unittest.cc View 1 2 3 4 5 7 chunks +9 lines, -9 lines 0 comments Download
A cc/layers/layer_lists.h View 1 1 chunk +24 lines, -0 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/render_surface.h View 1 2 2 chunks +1 line, -1 line 0 comments Download
M cc/layers/render_surface_impl.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/tiled_layer_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_test.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/damage_tracker.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M cc/trees/damage_tracker.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_sorter.h View 2 chunks +3 lines, -4 lines 0 comments Download
M cc/trees/layer_sorter.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M cc/trees/layer_sorter_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_common.h View 1 2 3 4 chunks +7 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 7 chunks +14 lines, -14 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 44 chunks +45 lines, -43 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 chunks +5 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_video.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 3 chunks +2 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download
M cc/trees/occlusion_tracker.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/quad_culler_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M cc/trees/tree_synchronizer.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
danakj
7 years, 8 months ago (2013-03-29 03:07:45 UTC) #1
danakj
I redid this with class types outside of the Layer/LayerImpl class so they can be ...
7 years, 8 months ago (2013-03-29 04:06:42 UTC) #2
jamesr
Hmm, subclassing std::vector seems a bit too subtle. How many files forward declare Layer* and ...
7 years, 8 months ago (2013-03-29 04:11:04 UTC) #3
danakj
On Fri, Mar 29, 2013 at 12:11 AM, <jamesr@chromium.org> wrote: > Hmm, subclassing std::vector seems ...
7 years, 8 months ago (2013-03-29 04:14:55 UTC) #4
danakj
On 2013/03/29 04:14:55, danakj wrote: > On Fri, Mar 29, 2013 at 12:11 AM, <mailto:jamesr@chromium.org> ...
7 years, 8 months ago (2013-03-29 04:18:30 UTC) #5
jamesr
On 2013/03/29 04:18:30, danakj wrote: > On 2013/03/29 04:14:55, danakj wrote: > > On Fri, ...
7 years, 8 months ago (2013-03-29 04:19:35 UTC) #6
danakj
On 2013/03/29 04:19:35, jamesr wrote: > On 2013/03/29 04:18:30, danakj wrote: > > On 2013/03/29 ...
7 years, 8 months ago (2013-03-29 04:25:44 UTC) #7
enne (OOO)
Ooh, this is a really nice cleanup. Drive-by lgtm. :)
7 years, 8 months ago (2013-03-29 06:12:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/13285002/16001
7 years, 8 months ago (2013-03-29 16:22:59 UTC) #9
commit-bot: I haz the power
Failed to apply patch for cc/layers/layer.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-03-29 16:23:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/13285002/23001
7 years, 8 months ago (2013-03-29 16:51:39 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-03-29 17:17:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/13285002/32001
7 years, 8 months ago (2013-03-29 17:28:09 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-03-29 17:58:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/13285002/32001
7 years, 8 months ago (2013-03-29 18:02:47 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-03-29 18:33:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/13285002/32001
7 years, 8 months ago (2013-03-29 18:50:34 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-03-29 19:01:49 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/13285002/32001
7 years, 8 months ago (2013-03-29 19:44:54 UTC) #19
danakj
7 years, 8 months ago (2013-03-29 20:51:34 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 manually as r191442 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698