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

Issue 265883013: cc: Add a flag to layers that returns true if the layer is in RSLL. (Closed)

Created:
6 years, 7 months ago by vmpstr
Modified:
6 years, 7 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Add a flag to layers that returns true if the layer is in RSLL. This patch adds a flag that says whether the layer is currently in RSLL. Used to remove layers that previously were in RSLL and are no longer there. R=enne, danakj Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269353

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 9

Patch Set 4 : update #

Patch Set 5 : #

Total comments: 29

Patch Set 6 : update #

Patch Set 7 : #

Patch Set 8 : unittest #

Patch Set 9 : update #

Patch Set 10 : #

Total comments: 12

Patch Set 11 : update #

Total comments: 12

Patch Set 12 : update #

Patch Set 13 : #

Total comments: 2

Patch Set 14 : renames #

Patch Set 15 : #

Total comments: 4

Patch Set 16 : update #

Patch Set 17 : #

Patch Set 18 : #

Patch Set 19 : +unittest #

Total comments: 8

Patch Set 20 : update #

Patch Set 21 : perftest fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -33 lines) Patch
M cc/layers/draw_properties.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +11 lines, -1 line 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +6 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_common.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +10 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 7 chunks +78 lines, -21 lines 0 comments Download
M cc/trees/layer_tree_host_common_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +4 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +307 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +6 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
vmpstr
Please take a look. Honestly, I'm not too sure about the place where I update ...
6 years, 7 months ago (2014-05-02 23:06:27 UTC) #1
danakj
https://codereview.chromium.org/265883013/diff/20001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/265883013/diff/20001/cc/trees/layer_tree_impl.cc#newcode498 cc/trees/layer_tree_impl.cc:498: layer->draw_properties().last_render_surface_list_membership_index = On 2014/05/02 23:06:27, vmpstr wrote: > I ...
6 years, 7 months ago (2014-05-02 23:09:24 UTC) #2
vmpstr
https://codereview.chromium.org/265883013/diff/40001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/40001/cc/trees/layer_tree_host_common.cc#newcode2268 cc/trees/layer_tree_host_common.cc:2268: // If the layer passed all of the early ...
6 years, 7 months ago (2014-05-02 23:41:22 UTC) #3
danakj
https://codereview.chromium.org/265883013/diff/40001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/40001/cc/trees/layer_tree_host_common.cc#newcode2015 cc/trees/layer_tree_host_common.cc:2015: descendants.push_back(layer); Here we might not have added the layer ...
6 years, 7 months ago (2014-05-02 23:45:26 UTC) #4
enne (OOO)
https://codereview.chromium.org/265883013/diff/40001/cc/layers/draw_properties.h File cc/layers/draw_properties.h (right): https://codereview.chromium.org/265883013/diff/40001/cc/layers/draw_properties.h#newcode122 cc/layers/draw_properties.h:122: size_t last_render_surface_list_membership_index; Bikeshed hammer: this isn't really an index, ...
6 years, 7 months ago (2014-05-02 23:47:53 UTC) #5
vmpstr
PTAL https://codereview.chromium.org/265883013/diff/40001/cc/layers/draw_properties.h File cc/layers/draw_properties.h (right): https://codereview.chromium.org/265883013/diff/40001/cc/layers/draw_properties.h#newcode122 cc/layers/draw_properties.h:122: size_t last_render_surface_list_membership_index; On 2014/05/02 23:47:53, enne wrote: > ...
6 years, 7 months ago (2014-05-05 18:46:42 UTC) #6
danakj
I'd like we didn't call the RSLL id number a "count" as I think that ...
6 years, 7 months ago (2014-05-05 19:25:40 UTC) #7
enne (OOO)
A separate count seems reasonable. https://codereview.chromium.org/265883013/diff/80001/cc/trees/layer_tree_impl.h File cc/trees/layer_tree_impl.h (right): https://codereview.chromium.org/265883013/diff/80001/cc/trees/layer_tree_impl.h#newcode246 cc/trees/layer_tree_impl.h:246: int CurrentDrawPropertiesCount() const { ...
6 years, 7 months ago (2014-05-05 20:13:33 UTC) #8
vmpstr
I've updated based on comments (PTAL). I'll work on adding tests now, but I have ...
6 years, 7 months ago (2014-05-05 20:50:33 UTC) #9
danakj
https://codereview.chromium.org/265883013/diff/80001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/80001/cc/trees/layer_tree_host_common.cc#newcode1984 cc/trees/layer_tree_host_common.cc:1984: render_surface_layer_list->push_back(layer); On 2014/05/05 20:50:34, vmpstr wrote: > On 2014/05/05 ...
6 years, 7 months ago (2014-05-05 21:25:21 UTC) #10
vmpstr
PTAL. I've added some unittests, but please let me know if you'd like more cases ...
6 years, 7 months ago (2014-05-06 18:17:36 UTC) #11
danakj
A couple more naming quibbles but LGTM https://codereview.chromium.org/265883013/diff/180001/cc/layers/draw_properties.h File cc/layers/draw_properties.h (right): https://codereview.chromium.org/265883013/diff/180001/cc/layers/draw_properties.h#newcode123 cc/layers/draw_properties.h:123: // Each ...
6 years, 7 months ago (2014-05-06 19:21:30 UTC) #12
vmpstr
enne, did you want to give this another look? https://codereview.chromium.org/265883013/diff/180001/cc/layers/draw_properties.h File cc/layers/draw_properties.h (right): https://codereview.chromium.org/265883013/diff/180001/cc/layers/draw_properties.h#newcode123 cc/layers/draw_properties.h:123: ...
6 years, 7 months ago (2014-05-06 20:52:14 UTC) #13
danakj
https://codereview.chromium.org/265883013/diff/200001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/200001/cc/trees/layer_tree_host_common.cc#newcode1983 cc/trees/layer_tree_host_common.cc:1983: MarkLayerWithRenderSurfaceLayerListId(layer, We were discussing this and enne@ pointed out ...
6 years, 7 months ago (2014-05-06 21:02:36 UTC) #14
enne (OOO)
https://codereview.chromium.org/265883013/diff/200001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/200001/cc/trees/layer_tree_host_common.cc#newcode1184 cc/trees/layer_tree_host_common.cc:1184: MarkLayerListWithRenderSurfaceLayerListId( This doesn't do anything. You're calling this after ...
6 years, 7 months ago (2014-05-06 21:10:27 UTC) #15
vmpstr
PTAL o_o; https://codereview.chromium.org/265883013/diff/200001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/200001/cc/trees/layer_tree_host_common.cc#newcode1184 cc/trees/layer_tree_host_common.cc:1184: MarkLayerListWithRenderSurfaceLayerListId( On 2014/05/06 21:10:27, enne wrote: > ...
6 years, 7 months ago (2014-05-06 22:38:52 UTC) #16
danakj
LG % names Do we need to add mask/replicamask to the test or is this ...
6 years, 7 months ago (2014-05-06 22:48:01 UTC) #17
danakj
On Tue, May 6, 2014 at 6:48 PM, <danakj@chromium.org> wrote: > LG % names > ...
6 years, 7 months ago (2014-05-06 22:49:04 UTC) #18
vmpstr
https://codereview.chromium.org/265883013/diff/240001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (left): https://codereview.chromium.org/265883013/diff/240001/cc/trees/layer_tree_host_common.cc#oldcode1937 cc/trees/layer_tree_host_common.cc:1937: On 2014/05/06 22:48:02, danakj wrote: > nit: keep this ...
6 years, 7 months ago (2014-05-06 23:24:46 UTC) #19
enne (OOO)
https://codereview.chromium.org/265883013/diff/200001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/200001/cc/trees/layer_tree_host_common.cc#newcode1186 cc/trees/layer_tree_host_common.cc:1186: MarkLayerWithRenderSurfaceLayerListId(render_surface_layer_list->back(), 0); On 2014/05/06 22:38:53, vmpstr wrote: > On ...
6 years, 7 months ago (2014-05-07 00:12:11 UTC) #20
vmpstr
https://codereview.chromium.org/265883013/diff/280001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/280001/cc/trees/layer_tree_host_common.cc#newcode2055 cc/trees/layer_tree_host_common.cc:2055: MarkLayerWithRenderSurfaceLayerListId(layer, On 2014/05/07 00:12:11, enne wrote: > This is ...
6 years, 7 months ago (2014-05-07 17:35:57 UTC) #21
enne (OOO)
https://codereview.chromium.org/265883013/diff/280001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/280001/cc/trees/layer_tree_host_common.cc#newcode2055 cc/trees/layer_tree_host_common.cc:2055: MarkLayerWithRenderSurfaceLayerListId(layer, On 2014/05/07 17:35:58, vmpstr wrote: > On 2014/05/07 ...
6 years, 7 months ago (2014-05-07 17:41:16 UTC) #22
danakj
https://codereview.chromium.org/265883013/diff/280001/cc/trees/layer_tree_host_common.cc File cc/trees/layer_tree_host_common.cc (right): https://codereview.chromium.org/265883013/diff/280001/cc/trees/layer_tree_host_common.cc#newcode2055 cc/trees/layer_tree_host_common.cc:2055: MarkLayerWithRenderSurfaceLayerListId(layer, On 2014/05/07 17:41:17, enne wrote: > On 2014/05/07 ...
6 years, 7 months ago (2014-05-07 17:43:05 UTC) #23
vmpstr
PTAL, I've separated layer and mask marking into separate helpers.
6 years, 7 months ago (2014-05-07 18:26:04 UTC) #24
Ian Vollick
On 2014/05/07 18:26:04, vmpstr wrote: > PTAL, I've separated layer and mask marking into separate ...
6 years, 7 months ago (2014-05-08 00:37:35 UTC) #25
enne (OOO)
lgtm https://codereview.chromium.org/265883013/diff/350001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/265883013/diff/350001/cc/resources/tile_manager.cc#newcode688 cc/resources/tile_manager.cc:688: void TileManager::CleanUpLayers() { Could you maybe split this ...
6 years, 7 months ago (2014-05-08 00:40:57 UTC) #26
Ian Vollick
Drive-by nitting! https://codereview.chromium.org/265883013/diff/350001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/265883013/diff/350001/cc/trees/layer_tree_impl.cc#newcode7 cc/trees/layer_tree_impl.cc:7: #include <limits> nit: this looks unused.
6 years, 7 months ago (2014-05-08 00:41:53 UTC) #27
vmpstr
https://codereview.chromium.org/265883013/diff/350001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/265883013/diff/350001/cc/resources/tile_manager.cc#newcode688 cc/resources/tile_manager.cc:688: void TileManager::CleanUpLayers() { On 2014/05/08 00:40:57, enne wrote: > ...
6 years, 7 months ago (2014-05-08 17:02:57 UTC) #28
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 7 months ago (2014-05-08 17:03:04 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/265883013/370001
6 years, 7 months ago (2014-05-08 17:06:04 UTC) #30
vmpstr
The CQ bit was unchecked by vmpstr@chromium.org
6 years, 7 months ago (2014-05-08 17:47:08 UTC) #31
vmpstr
The CQ bit was checked by vmpstr@chromium.org
6 years, 7 months ago (2014-05-08 17:47:53 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/265883013/390001
6 years, 7 months ago (2014-05-08 17:52:08 UTC) #33
commit-bot: I haz the power
6 years, 7 months ago (2014-05-09 17:14:42 UTC) #34
Message was sent while issue was closed.
Change committed as 269353

Powered by Google App Engine
This is Rietveld 408576698