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

Issue 1808373002: cc : Make tree synchronization independent of layer tree hierarchy (2) (Closed)

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

Description

cc : Make tree synchronization independent of layer tree hierarchy (2) This CL : * Stores layers that need to push properties in LayerTreeHost(layer_set) * Deletes bools needs_push_properties and dependants_needs_push_properties from Layer. * Iterate the layer_set tp push properties during commit. * Changes what layers are serialized (Both dirty layers and their ancestors are serialized currently. With this CL, only dirty layers serialize). BUG=568874 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/9234e405c7089c47ca9d30b34846f54b1fd9b8fd Cr-Commit-Position: refs/heads/master@{#382379}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Rebase #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -784 lines) Patch
M cc/layers/layer.h View 1 2 3 chunks +7 lines, -36 lines 0 comments Download
M cc/layers/layer.cc View 1 2 6 chunks +9 lines, -61 lines 0 comments Download
M cc/layers/layer_proto_converter.h View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M cc/layers/layer_proto_converter.cc View 1 2 3 chunks +5 lines, -19 lines 0 comments Download
M cc/layers/layer_proto_converter_unittest.cc View 1 3 chunks +91 lines, -180 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 5 chunks +33 lines, -175 lines 0 comments Download
M cc/proto/layer.proto View 1 1 chunk +0 lines, -4 lines 0 comments Download
M cc/proto/layer_tree_host.proto View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 3 chunks +9 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 6 chunks +29 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 1 chunk +1 line, -7 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 14 chunks +205 lines, -198 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_serialization.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M cc/trees/tree_synchronizer.h View 1 2 3 4 2 chunks +5 lines, -11 lines 0 comments Download
M cc/trees/tree_synchronizer.cc View 1 2 3 4 3 chunks +27 lines, -55 lines 0 comments Download
M cc/trees/tree_synchronizer_unittest.cc View 1 2 3 4 5 13 chunks +26 lines, -24 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
jaydasika
4 years, 9 months ago (2016-03-17 23:29:20 UTC) #3
jaydasika
https://codereview.chromium.org/1808373002/diff/1/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/1808373002/diff/1/cc/layers/layer.cc#newcode151 cc/layers/layer.cc:151: layer_tree_host_ = host; This is to ensure that layer ...
4 years, 9 months ago (2016-03-17 23:38:37 UTC) #4
jaydasika
+dtrainor : This CL changes what layers get serialized.
4 years, 9 months ago (2016-03-17 23:39:33 UTC) #5
ajuma
https://codereview.chromium.org/1808373002/diff/1/cc/layers/layer_proto_converter.h File cc/layers/layer_proto_converter.h (right): https://codereview.chromium.org/1808373002/diff/1/cc/layers/layer_proto_converter.h#newcode40 cc/layers/layer_proto_converter.h:40: // that are dirty will contain the list of ...
4 years, 9 months ago (2016-03-18 14:33:16 UTC) #6
jaydasika
https://codereview.chromium.org/1808373002/diff/1/cc/layers/layer_proto_converter.h File cc/layers/layer_proto_converter.h (right): https://codereview.chromium.org/1808373002/diff/1/cc/layers/layer_proto_converter.h#newcode40 cc/layers/layer_proto_converter.h:40: // that are dirty will contain the list of ...
4 years, 9 months ago (2016-03-19 02:17:58 UTC) #11
ajuma
Just a couple more things. https://codereview.chromium.org/1808373002/diff/160001/cc/trees/layer_tree_host_unittest_serialization.cc File cc/trees/layer_tree_host_unittest_serialization.cc (right): https://codereview.chromium.org/1808373002/diff/160001/cc/trees/layer_tree_host_unittest_serialization.cc#newcode53 cc/trees/layer_tree_host_unittest_serialization.cc:53: std::unordered_set<Layer*> layers_that_should_push_properties_src_ = Nit: ...
4 years, 9 months ago (2016-03-21 13:41:20 UTC) #12
jaydasika
https://codereview.chromium.org/1808373002/diff/160001/cc/trees/layer_tree_host_unittest_serialization.cc File cc/trees/layer_tree_host_unittest_serialization.cc (right): https://codereview.chromium.org/1808373002/diff/160001/cc/trees/layer_tree_host_unittest_serialization.cc#newcode53 cc/trees/layer_tree_host_unittest_serialization.cc:53: std::unordered_set<Layer*> layers_that_should_push_properties_src_ = On 2016/03/21 13:41:20, ajuma wrote: > ...
4 years, 9 months ago (2016-03-21 17:32:03 UTC) #13
ajuma
Thanks, lgtm.
4 years, 9 months ago (2016-03-21 17:35:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808373002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808373002/180001
4 years, 9 months ago (2016-03-21 17:57:12 UTC) #16
enne (OOO)
lgtm % ajuma Exciting!
4 years, 9 months ago (2016-03-21 18:10:16 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/199719)
4 years, 9 months ago (2016-03-21 19:40:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1808373002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1808373002/180001
4 years, 9 months ago (2016-03-21 20:38:15 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 9 months ago (2016-03-21 20:44:30 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 20:45:30 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/9234e405c7089c47ca9d30b34846f54b1fd9b8fd
Cr-Commit-Position: refs/heads/master@{#382379}

Powered by Google App Engine
This is Rietveld 408576698