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

Issue 2043963005: cc : Make LayerImpl destruction independent of tree hierarchy (Closed)

Created:
4 years, 6 months ago by jaydasika
Modified:
4 years, 6 months ago
Reviewers:
ajuma, weiliangc
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 : Make LayerImpl destruction independent of tree hierarchy Instead of deleting all layers when the root is deleted, we delete all layers when the layer tree impl is shutdown. BUG=617791 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e536d2292fa548ee6231ff23ac65203c261e4a14 Cr-Commit-Position: refs/heads/master@{#398606}

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -44 lines) Patch
M cc/layers/layer_impl.h View 1 2 chunks +1 line, -4 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 3 chunks +9 lines, -13 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.cc View 2 chunks +2 lines, -8 lines 0 comments Download
M cc/trees/tree_synchronizer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
jaydasika
PTAL
4 years, 6 months ago (2016-06-07 22:28:23 UTC) #3
ajuma
Generally looks great. https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc#newcode110 cc/layers/layer_impl.cc:110: layer_tree_impl_->RemoveLayer(replica_layer_id_); Since masks and replicas are ...
4 years, 6 months ago (2016-06-07 23:25:36 UTC) #5
jaydasika
https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc#newcode110 cc/layers/layer_impl.cc:110: layer_tree_impl_->RemoveLayer(replica_layer_id_); On 2016/06/07 23:25:36, ajuma wrote: > Since masks ...
4 years, 6 months ago (2016-06-08 00:17:37 UTC) #6
jaydasika
https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc#newcode110 cc/layers/layer_impl.cc:110: layer_tree_impl_->RemoveLayer(replica_layer_id_); On 2016/06/08 00:17:37, jaydasika wrote: > On 2016/06/07 ...
4 years, 6 months ago (2016-06-08 00:49:32 UTC) #7
ajuma
https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc#newcode110 cc/layers/layer_impl.cc:110: layer_tree_impl_->RemoveLayer(replica_layer_id_); On 2016/06/08 00:17:37, jaydasika wrote: > On 2016/06/07 ...
4 years, 6 months ago (2016-06-08 13:48:03 UTC) #8
jaydasika
https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc#newcode110 cc/layers/layer_impl.cc:110: layer_tree_impl_->RemoveLayer(replica_layer_id_); On 2016/06/08 13:48:02, ajuma wrote: > On 2016/06/08 ...
4 years, 6 months ago (2016-06-08 16:29:30 UTC) #9
ajuma
lgtm https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/2043963005/diff/1/cc/layers/layer_impl.cc#newcode110 cc/layers/layer_impl.cc:110: layer_tree_impl_->RemoveLayer(replica_layer_id_); On 2016/06/08 16:29:30, jaydasika wrote: > On ...
4 years, 6 months ago (2016-06-08 16:40:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043963005/20001
4 years, 6 months ago (2016-06-08 16:41:19 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-08 17:22:34 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/e536d2292fa548ee6231ff23ac65203c261e4a14 Cr-Commit-Position: refs/heads/master@{#398606}
4 years, 6 months ago (2016-06-08 17:23:50 UTC) #16
Ken Rockot(use gerrit already)
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2054483002/ by rockot@chromium.org. ...
4 years, 6 months ago (2016-06-08 18:22:52 UTC) #17
Ken Rockot(use gerrit already)
4 years, 6 months ago (2016-06-08 19:06:36 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2044253004/ by rockot@chromium.org.

The reason for reverting is: Didn't fix anything..

Powered by Google App Engine
This is Rietveld 408576698