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

Issue 1442853005: Add IPC messages to transfer compositor protos (Closed)

Created:
5 years, 1 month ago by David Trainor- moved to gerrit
Modified:
5 years, 1 month ago
CC:
cc-bugs_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dtrainor+watch-blimp_chromium.org, jam, kmarshall+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nyquist+watch-blimp_chromium.org, piman+watch_chromium.org, sriramsr+watch-blimp_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add IPC messages to transfer compositor protos - Be able to send and receive compositor protos to/from the render process and the browser process. Messages are piped through the browser process to/from the network and renderer. A separate client (go/blimp) will render the compositor protos. This is part of the compositor refactor around splitting ThreadProxy into two components. - Hook the proto sending into the BlimpEngineSession class. - Set up a RemoteProtoChannel interface on the CC side to be used by the ChannelMain class once we start building that from the LayerTreeHost. BUG=552055 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/5ef644e199b927c4fadb80e87ac68fd397686f63 Cr-Commit-Position: refs/heads/master@{#360452}

Patch Set 1 #

Patch Set 2 : Added comments #

Patch Set 3 : More cleanup #

Total comments: 10

Patch Set 4 : Changed around method names. #

Patch Set 5 : Rebase #

Total comments: 6

Patch Set 6 : Updated method names. Added DCHECK. #

Total comments: 4

Patch Set 7 : Swapped char to uint8_t, added checked_cast, updated description #

Total comments: 4

Patch Set 8 : More signed stuff #

Patch Set 9 : Fix gyp build issue #

Patch Set 10 : Fix other platform build breaks #

Patch Set 11 : Must... fix... #

Patch Set 12 : The final battle! #

Patch Set 13 : More windows compile issues #

Patch Set 14 : Trying to remove CC_EXPORT... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -2 lines) Patch
M blimp/engine/browser/blimp_engine_session.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M blimp/engine/browser/blimp_engine_session.cc View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M cc/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M cc/proto/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A cc/proto/compositor_message.proto View 2 1 chunk +25 lines, -0 lines 0 comments Download
A cc/trees/remote_proto_channel.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +40 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 3 chunks +14 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 5 6 6 chunks +15 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 5 chunks +32 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (7 generated)
David Trainor- moved to gerrit
ptal thanks. This is a much slimmer version of https://chromiumcodereview.appspot.com/1416443004/... enne@: cc/ sievers@: content/ haibinlu@: ...
5 years, 1 month ago (2015-11-14 00:01:13 UTC) #2
no sievers
https://codereview.chromium.org/1442853005/diff/40001/cc/trees/remote_proto_channel.h File cc/trees/remote_proto_channel.h (right): https://codereview.chromium.org/1442853005/diff/40001/cc/trees/remote_proto_channel.h#newcode1 cc/trees/remote_proto_channel.h:1: // Copyright (c) 2015 The Chromium Authors. All rights ...
5 years, 1 month ago (2015-11-14 00:13:43 UTC) #3
David Trainor- moved to gerrit
changed method names. thanks! https://chromiumcodereview.appspot.com/1442853005/diff/40001/cc/trees/remote_proto_channel.h File cc/trees/remote_proto_channel.h (right): https://chromiumcodereview.appspot.com/1442853005/diff/40001/cc/trees/remote_proto_channel.h#newcode1 cc/trees/remote_proto_channel.h:1: // Copyright (c) 2015 The ...
5 years, 1 month ago (2015-11-16 04:33:58 UTC) #4
David Trainor- moved to gerrit
palmer@: ptal at view_messages.h. Thanks! :)
5 years, 1 month ago (2015-11-16 04:34:20 UTC) #6
haibinlu
lgtm lgtm for blimp/
5 years, 1 month ago (2015-11-16 18:36:56 UTC) #7
enne (OOO)
https://codereview.chromium.org/1442853005/diff/80001/cc/trees/remote_proto_channel.h File cc/trees/remote_proto_channel.h (right): https://codereview.chromium.org/1442853005/diff/80001/cc/trees/remote_proto_channel.h#newcode23 cc/trees/remote_proto_channel.h:23: class Receiver { Can you call this something more ...
5 years, 1 month ago (2015-11-16 19:00:29 UTC) #8
David Trainor- moved to gerrit
https://codereview.chromium.org/1442853005/diff/80001/cc/trees/remote_proto_channel.h File cc/trees/remote_proto_channel.h (right): https://codereview.chromium.org/1442853005/diff/80001/cc/trees/remote_proto_channel.h#newcode23 cc/trees/remote_proto_channel.h:23: class Receiver { On 2015/11/16 19:00:28, enne wrote: > ...
5 years, 1 month ago (2015-11-16 19:48:07 UTC) #9
enne (OOO)
Thanks. lgtm
5 years, 1 month ago (2015-11-16 22:05:30 UTC) #10
no sievers
lgtm
5 years, 1 month ago (2015-11-16 22:24:56 UTC) #11
palmer
The CL description and the bug don't say much about why we're doing this. Can ...
5 years, 1 month ago (2015-11-16 23:00:29 UTC) #12
David Trainor- moved to gerrit
Updated the description. Let me know if that makes it more clear. Thanks! :) https://codereview.chromium.org/1442853005/diff/100001/content/renderer/gpu/render_widget_compositor.cc ...
5 years, 1 month ago (2015-11-17 00:55:27 UTC) #13
David Trainor- moved to gerrit
https://codereview.chromium.org/1442853005/diff/120001/cc/trees/remote_proto_channel.h File cc/trees/remote_proto_channel.h (right): https://codereview.chromium.org/1442853005/diff/120001/cc/trees/remote_proto_channel.h#newcode26 cc/trees/remote_proto_channel.h:26: scoped_ptr<proto::CompositorMessage> proto) = 0; Had to make this a ...
5 years, 1 month ago (2015-11-17 00:58:34 UTC) #14
palmer
So, just to be clear: the browser will never interpret or use the compositors, just ...
5 years, 1 month ago (2015-11-17 01:25:32 UTC) #15
David Trainor- moved to gerrit
Yeah. The browser process just passes the protobuf through as a block of data to ...
5 years, 1 month ago (2015-11-17 04:52:26 UTC) #16
David Trainor- moved to gerrit
palmer@: Does this look okay? :)
5 years, 1 month ago (2015-11-17 21:10:32 UTC) #17
palmer
This LGTM. But, who is working on securing the Blimp app itself?
5 years, 1 month ago (2015-11-17 21:23:25 UTC) #18
David Trainor- moved to gerrit
On 2015/11/17 21:23:25, palmer wrote: > This LGTM. > > But, who is working on ...
5 years, 1 month ago (2015-11-17 22:11:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1442853005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1442853005/140001
5 years, 1 month ago (2015-11-17 22:30:28 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/79299) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-11-17 22:40:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1442853005/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1442853005/260001
5 years, 1 month ago (2015-11-18 22:13:03 UTC) #27
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 1 month ago (2015-11-19 00:12:55 UTC) #28
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 00:14:22 UTC) #29
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/5ef644e199b927c4fadb80e87ac68fd397686f63
Cr-Commit-Position: refs/heads/master@{#360452}

Powered by Google App Engine
This is Rietveld 408576698