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

Issue 2375363002: cc/blimp: Set up the framework for state serialization. (Closed)

Created:
4 years, 2 months ago by Khushal
Modified:
4 years, 2 months ago
Reviewers:
danakj, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc/blimp: Set up the framework for state serialization. 1) Split the inputs and rest of the fields in the protos so we only serialize the inputs for the new serialization code. 2) Add a CompositorStateDeserializer to deserialize compositor protos. BUG=648442 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/0c4d7f1fac75e0d294b10f7ba465d99469b81d55 Cr-Commit-Position: refs/heads/master@{#423001}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : tests #

Total comments: 12

Patch Set 4 : Addressed comments #

Patch Set 5 : Rebase #

Patch Set 6 : comment update #

Patch Set 7 : test update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1157 lines, -161 lines) Patch
M cc/BUILD.gn View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M cc/blimp/compositor_proto_state.h View 2 chunks +8 lines, -3 lines 0 comments Download
M cc/blimp/compositor_proto_state.cc View 1 chunk +1 line, -0 lines 0 comments Download
A cc/blimp/compositor_state_deserializer.h View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
A cc/blimp/compositor_state_deserializer.cc View 1 2 3 1 chunk +277 lines, -0 lines 0 comments Download
A cc/blimp/compositor_state_deserializer_client.h View 1 chunk +34 lines, -0 lines 0 comments Download
A cc/blimp/compositor_state_deserializer_unittest.cc View 1 2 3 4 5 6 1 chunk +421 lines, -0 lines 0 comments Download
A cc/blimp/layer_factory.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M cc/blimp/layer_tree_host_remote.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M cc/blimp/layer_tree_host_remote.cc View 1 2 4 chunks +29 lines, -4 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 4 chunks +9 lines, -3 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 chunks +68 lines, -38 lines 0 comments Download
M cc/layers/layer_proto_converter.h View 1 chunk +0 lines, -5 lines 0 comments Download
M cc/layers/layer_proto_converter.cc View 1 2 3 2 chunks +2 lines, -9 lines 0 comments Download
M cc/layers/layer_proto_converter_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M cc/layers/picture_layer.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/picture_layer.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/solid_color_scrollbar_layer.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/solid_color_scrollbar_layer.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M cc/proto/compositor_message.proto View 1 chunk +7 lines, -0 lines 0 comments Download
M cc/proto/layer.proto View 1 2 2 chunks +51 lines, -35 lines 0 comments Download
M cc/proto/layer_tree.proto View 1 chunk +22 lines, -11 lines 0 comments Download
M cc/proto/layer_tree_host.proto View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
A cc/test/remote_client_layer_factory.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A cc/test/remote_client_layer_factory.cc View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M cc/trees/layer_tree.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree.cc View 1 2 3 4 5 chunks +32 lines, -24 lines 0 comments Download
M cc/trees/layer_tree_host_in_process.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_serialization.cc View 1 2 2 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 31 (11 generated)
Khushal
Hey Ali, I still have to add tests for this but wanted to get a ...
4 years, 2 months ago (2016-09-29 17:21:17 UTC) #3
ajuma
On 2016/09/29 17:21:17, Khushal wrote: > Hey Ali, I still have to add tests for ...
4 years, 2 months ago (2016-09-29 20:55:17 UTC) #4
ajuma
https://codereview.chromium.org/2375363002/diff/1/cc/blimp/layer_tree_host_remote.cc File cc/blimp/layer_tree_host_remote.cc (right): https://codereview.chromium.org/2375363002/diff/1/cc/blimp/layer_tree_host_remote.cc#newcode426 cc/blimp/layer_tree_host_remote.cc:426: layer_tree_->ToProtobuf(layer_tree_host_proto->mutable_layer_tree(), true); Instead of passing |true| here, please create ...
4 years, 2 months ago (2016-09-29 20:55:34 UTC) #5
Khushal
On 2016/09/29 20:55:17, ajuma wrote: > On 2016/09/29 17:21:17, Khushal wrote: > > Hey Ali, ...
4 years, 2 months ago (2016-09-29 21:43:50 UTC) #6
Khushal
On 2016/09/29 20:55:34, ajuma wrote: > https://codereview.chromium.org/2375363002/diff/1/cc/blimp/layer_tree_host_remote.cc > File cc/blimp/layer_tree_host_remote.cc (right): > > https://codereview.chromium.org/2375363002/diff/1/cc/blimp/layer_tree_host_remote.cc#newcode426 > ...
4 years, 2 months ago (2016-09-29 21:44:51 UTC) #7
ajuma
On 2016/09/29 21:43:50, Khushal wrote: > On 2016/09/29 20:55:17, ajuma wrote: > > On 2016/09/29 ...
4 years, 2 months ago (2016-09-29 22:23:43 UTC) #8
danakj
On Thu, Sep 29, 2016 at 3:23 PM, <ajuma@chromium.org> wrote: > On 2016/09/29 21:43:50, Khushal ...
4 years, 2 months ago (2016-09-29 22:28:58 UTC) #9
Khushal
On 2016/09/29 22:28:58, danakj wrote: > On Thu, Sep 29, 2016 at 3:23 PM, <mailto:ajuma@chromium.org> ...
4 years, 2 months ago (2016-09-30 00:12:31 UTC) #10
Khushal
On 2016/09/30 00:12:31, Khushal wrote: > On 2016/09/29 22:28:58, danakj wrote: > > On Thu, ...
4 years, 2 months ago (2016-09-30 20:48:03 UTC) #11
Khushal
As I tried re-structuring the TreeSync tests, it was getting much more intrusive on the ...
4 years, 2 months ago (2016-10-04 09:11:50 UTC) #12
ajuma
https://codereview.chromium.org/2375363002/diff/40001/cc/blimp/compositor_state_deserializer.cc File cc/blimp/compositor_state_deserializer.cc (right): https://codereview.chromium.org/2375363002/diff/40001/cc/blimp/compositor_state_deserializer.cc#newcode83 cc/blimp/compositor_state_deserializer.cc:83: SynchronizeLayerHeirarchyRecursive( Is this happening every frame? Are there plans ...
4 years, 2 months ago (2016-10-04 15:45:10 UTC) #13
Khushal
Thanks Ali. https://codereview.chromium.org/2375363002/diff/40001/cc/blimp/compositor_state_deserializer.cc File cc/blimp/compositor_state_deserializer.cc (right): https://codereview.chromium.org/2375363002/diff/40001/cc/blimp/compositor_state_deserializer.cc#newcode83 cc/blimp/compositor_state_deserializer.cc:83: SynchronizeLayerHeirarchyRecursive( On 2016/10/04 15:45:10, ajuma wrote: > ...
4 years, 2 months ago (2016-10-04 18:34:48 UTC) #14
ajuma
Thanks, lgtm
4 years, 2 months ago (2016-10-04 18:42:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2375363002/80001
4 years, 2 months ago (2016-10-04 20:10:47 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/139984) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 2 months ago (2016-10-04 20:32:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2375363002/100001
4 years, 2 months ago (2016-10-04 20:39:33 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/269746)
4 years, 2 months ago (2016-10-04 21:41:37 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2375363002/120001
4 years, 2 months ago (2016-10-04 22:17:23 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-04 23:41:42 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 23:43:14 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0c4d7f1fac75e0d294b10f7ba465d99469b81d55
Cr-Commit-Position: refs/heads/master@{#423001}

Powered by Google App Engine
This is Rietveld 408576698