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

Issue 2397843003: cc/blimp: Add (de)-serialization for PictureLayer and ScrollbarLayer. (Closed)

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

Description

cc/blimp: Add (de)-serialization for PictureLayer and ScrollbarLayer. This adds support for serializing these layers from the new code path and brings us in parity with what the data the existing code serializes. BUG=648442 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/c45674e6ea22517379009bf8fcf3fc44288c11a5 Cr-Commit-Position: refs/heads/master@{#424271}

Patch Set 1 #

Total comments: 15

Patch Set 2 : Addressed comments #

Patch Set 3 : Fix test #

Total comments: 10

Patch Set 4 : Addressed comments #

Patch Set 5 : Rebase #

Total comments: 8

Patch Set 6 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+593 lines, -115 lines) Patch
M cc/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cc/blimp/compositor_state_deserializer.h View 1 3 chunks +43 lines, -10 lines 0 comments Download
M cc/blimp/compositor_state_deserializer.cc View 1 2 3 4 5 8 chunks +167 lines, -24 lines 0 comments Download
M cc/blimp/compositor_state_deserializer_unittest.cc View 1 2 6 chunks +150 lines, -1 line 0 comments Download
A cc/blimp/deserialized_content_layer_client.h View 1 chunk +42 lines, -0 lines 0 comments Download
A cc/blimp/deserialized_content_layer_client.cc View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
M cc/blimp/layer_factory.h View 2 chunks +16 lines, -0 lines 0 comments Download
M cc/blimp/layer_tree_host_remote.h View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
M cc/blimp/layer_tree_host_remote.cc View 4 chunks +8 lines, -1 line 0 comments Download
M cc/blimp/layer_tree_host_remote_unittest.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
M cc/layers/layer_unittest.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M cc/layers/solid_color_scrollbar_layer.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/solid_color_scrollbar_layer.cc View 1 2 3 2 chunks +35 lines, -35 lines 0 comments Download
M cc/proto/layer.proto View 1 2 3 4 5 3 chunks +11 lines, -6 lines 0 comments Download
M cc/test/remote_client_layer_factory.h View 1 chunk +10 lines, -0 lines 0 comments Download
M cc/test/remote_client_layer_factory.cc View 1 2 3 2 chunks +30 lines, -10 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
Khushal
4 years, 2 months ago (2016-10-06 03:32:15 UTC) #3
vmpstr
Can we move as much as possible to be member objects instead of unique_ptrs? We ...
4 years, 2 months ago (2016-10-06 18:34:21 UTC) #8
Khushal
Thanks Vlad! https://codereview.chromium.org/2397843003/diff/1/cc/blimp/compositor_state_deserializer.cc File cc/blimp/compositor_state_deserializer.cc (right): https://codereview.chromium.org/2397843003/diff/1/cc/blimp/compositor_state_deserializer.cc#newcode138 cc/blimp/compositor_state_deserializer.cc:138: scrollbar_layer->SetScrollLayer(GetClientIdFromEngineId(scrollbar.second)); On 2016/10/06 18:34:21, vmpstr wrote: > ...
4 years, 2 months ago (2016-10-06 20:05:40 UTC) #9
Khushal
friendly ping. :)
4 years, 2 months ago (2016-10-07 17:40:59 UTC) #10
vmpstr
https://codereview.chromium.org/2397843003/diff/40001/cc/blimp/deserialized_content_layer_client.cc File cc/blimp/deserialized_content_layer_client.cc (right): https://codereview.chromium.org/2397843003/diff/40001/cc/blimp/deserialized_content_layer_client.cc#newcode16 cc/blimp/deserialized_content_layer_client.cc:16: display_list_ = display_list; move https://codereview.chromium.org/2397843003/diff/40001/cc/layers/layer.h File cc/layers/layer.h (right): https://codereview.chromium.org/2397843003/diff/40001/cc/layers/layer.h#newcode499 ...
4 years, 2 months ago (2016-10-07 23:50:05 UTC) #11
Khushal
https://codereview.chromium.org/2397843003/diff/40001/cc/blimp/deserialized_content_layer_client.cc File cc/blimp/deserialized_content_layer_client.cc (right): https://codereview.chromium.org/2397843003/diff/40001/cc/blimp/deserialized_content_layer_client.cc#newcode16 cc/blimp/deserialized_content_layer_client.cc:16: display_list_ = display_list; On 2016/10/07 23:50:05, vmpstr wrote: > ...
4 years, 2 months ago (2016-10-08 00:41:33 UTC) #12
Khushal
pingy. :)
4 years, 2 months ago (2016-10-10 21:02:46 UTC) #17
vmpstr
https://codereview.chromium.org/2397843003/diff/80001/cc/blimp/compositor_state_deserializer.cc File cc/blimp/compositor_state_deserializer.cc (right): https://codereview.chromium.org/2397843003/diff/80001/cc/blimp/compositor_state_deserializer.cc#newcode63 cc/blimp/compositor_state_deserializer.cc:63: CompositorStateDeserializer::LayerData::~LayerData() = default; nit: move dtors to be next ...
4 years, 2 months ago (2016-10-10 21:28:26 UTC) #18
Khushal
https://codereview.chromium.org/2397843003/diff/80001/cc/blimp/compositor_state_deserializer.cc File cc/blimp/compositor_state_deserializer.cc (right): https://codereview.chromium.org/2397843003/diff/80001/cc/blimp/compositor_state_deserializer.cc#newcode63 cc/blimp/compositor_state_deserializer.cc:63: CompositorStateDeserializer::LayerData::~LayerData() = default; On 2016/10/10 21:28:25, vmpstr wrote: > ...
4 years, 2 months ago (2016-10-10 21:39:25 UTC) #19
vmpstr
lgtm
4 years, 2 months ago (2016-10-10 21:41:56 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/2397843003/100001
4 years, 2 months ago (2016-10-10 21:46:08 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-10 22:55:48 UTC) #23
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 22:58:00 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c45674e6ea22517379009bf8fcf3fc44288c11a5
Cr-Commit-Position: refs/heads/master@{#424271}

Powered by Google App Engine
This is Rietveld 408576698