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

Issue 1527863002: Serialize PictureLayer properties. (Closed)

Created:
5 years ago by David Trainor- moved to gerrit
Modified:
4 years, 11 months ago
Reviewers:
danakj, nyquist, vmpstr
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

Serialize PictureLayer properties. Serialize the properties specific to the PictureLayer subclass. This required a few slight changes: - Don't query LayerImpl::bounds() in PictureLayer::PushPropertiesTo(). Instead rely on either Layer::bounds() or Layer::paint_properties().bounds depending on the source_frame_number. Since LayerImpl's bounds are set by Layer::PushPropertiesTo() right before this check, this should result in the same behavior. - Create an EmptyContentLayerClient to be used by all PictureLayer instances created by LayerProtoConverter::FindOrAllocateAndConstruct(). BUG=538710 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/8e9da48fa5086b27e076b21f729254cc8451c923 Cr-Commit-Position: refs/heads/master@{#367300}

Patch Set 1 #

Patch Set 2 : Fixed tests #

Total comments: 17

Patch Set 3 : Addressed comments #

Total comments: 4

Patch Set 4 : Rebased and added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -54 lines) Patch
M blimp/common/proto/blimp_message.proto View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M blimp/common/proto/input.proto View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M blimp/common/proto/tab_control.proto View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A cc/layers/empty_content_layer_client.h View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
A cc/layers/empty_content_layer_client.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer_proto_converter.cc View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M cc/layers/layer_proto_converter_unittest.cc View 1 2 3 4 chunks +43 lines, -8 lines 0 comments Download
M cc/layers/picture_layer.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 chunks +66 lines, -19 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 2 3 5 chunks +138 lines, -15 lines 0 comments Download
M cc/playback/display_list_recording_source.cc View 1 2 3 2 chunks +11 lines, -3 lines 0 comments Download
M cc/playback/display_list_recording_source_unittest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M cc/proto/layer.proto View 1 2 3 4 chunks +19 lines, -1 line 0 comments Download
M cc/test/fake_display_list_recording_source.cc View 1 2 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
David Trainor- moved to gerrit
ptal thanks! danakj@: It still says you're behind on reviews, so feel free to just ...
5 years ago (2015-12-15 17:54:30 UTC) #4
vmpstr
https://codereview.chromium.org/1527863002/diff/20001/cc/layers/empty_content_layer_client.cc File cc/layers/empty_content_layer_client.cc (right): https://codereview.chromium.org/1527863002/diff/20001/cc/layers/empty_content_layer_client.cc#newcode42 cc/layers/empty_content_layer_client.cc:42: return 0U; nit: 0u (lower case) https://codereview.chromium.org/1527863002/diff/20001/cc/layers/layer_proto_converter.cc File cc/layers/layer_proto_converter.cc ...
5 years ago (2015-12-16 04:21:08 UTC) #5
David Trainor- moved to gerrit
https://codereview.chromium.org/1527863002/diff/20001/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/1527863002/diff/20001/cc/layers/picture_layer.cc#newcode238 cc/layers/picture_layer.cc:238: if (update_source_frame_number_ != source_frame_number && On 2015/12/16 04:21:08, vmpstr ...
5 years ago (2015-12-16 06:51:52 UTC) #6
vmpstr
https://codereview.chromium.org/1527863002/diff/20001/cc/layers/picture_layer.cc File cc/layers/picture_layer.cc (right): https://codereview.chromium.org/1527863002/diff/20001/cc/layers/picture_layer.cc#newcode238 cc/layers/picture_layer.cc:238: if (update_source_frame_number_ != source_frame_number && On 2015/12/16 06:51:52, David ...
5 years ago (2015-12-16 18:55:39 UTC) #7
David Trainor- moved to gerrit
ptal thanks! https://chromiumcodereview.appspot.com/1527863002/diff/20001/cc/layers/empty_content_layer_client.cc File cc/layers/empty_content_layer_client.cc (right): https://chromiumcodereview.appspot.com/1527863002/diff/20001/cc/layers/empty_content_layer_client.cc#newcode42 cc/layers/empty_content_layer_client.cc:42: return 0U; On 2015/12/16 04:21:08, vmpstr wrote: ...
5 years ago (2015-12-16 19:10:59 UTC) #8
vmpstr
lgtm https://codereview.chromium.org/1527863002/diff/40001/cc/layers/empty_content_layer_client.h File cc/layers/empty_content_layer_client.h (right): https://codereview.chromium.org/1527863002/diff/40001/cc/layers/empty_content_layer_client.h#newcode19 cc/layers/empty_content_layer_client.h:19: class CC_EXPORT EmptyContentLayerClient : public ContentLayerClient { Can ...
5 years ago (2015-12-18 07:42:34 UTC) #9
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/1527863002/diff/40001/cc/layers/empty_content_layer_client.h File cc/layers/empty_content_layer_client.h (right): https://chromiumcodereview.appspot.com/1527863002/diff/40001/cc/layers/empty_content_layer_client.h#newcode19 cc/layers/empty_content_layer_client.h:19: class CC_EXPORT EmptyContentLayerClient : public ContentLayerClient { On 2015/12/18 ...
4 years, 11 months ago (2016-01-04 06:50:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1527863002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1527863002/60001
4 years, 11 months ago (2016-01-04 06:50:29 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-04 09:53:14 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-04 09:54:33 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8e9da48fa5086b27e076b21f729254cc8451c923
Cr-Commit-Position: refs/heads/master@{#367300}

Powered by Google App Engine
This is Rietveld 408576698