OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 | 8 |
9 import "compositor_message_to_impl.proto"; | 9 import "compositor_message_to_impl.proto"; |
10 import "compositor_message_to_main.proto"; | 10 import "compositor_message_to_main.proto"; |
11 import "layer_tree_host.proto"; | 11 import "layer_tree_host.proto"; |
12 | 12 |
13 package cc.proto; | 13 package cc.proto; |
14 | 14 |
15 // A top level message for serialized state used by the compositor remote | 15 // A top level message for serialized state used by the compositor remote |
16 // channels. | 16 // channels. |
17 // TODO(khushalsagar): Remove CompositorMessage and stop using | 17 // TODO(khushalsagar): Remove CompositorMessage and stop using |
18 // RemoteProtoChannel to plumb these to/from the browser. See crbug.com/648442 | 18 // RemoteProtoChannel to plumb these to/from the browser. See crbug.com/648442 |
19 message CompositorMessage { | 19 message CompositorMessage { |
20 // Engine -> Client | 20 // Engine -> Client |
21 // Frame Update. | 21 // Frame Update. |
22 optional LayerTreeHost layer_tree_host = 3; | 22 optional LayerTreeHost layer_tree_host = 3; |
23 | 23 |
24 // Client -> Engine | |
25 // Sent from the client to the engine when a frame update was processed | |
26 // successfully on the client. | |
Wez
2016/10/19 22:15:28
nit: This wording implies that there is a possibil
Khushal
2016/10/20 01:29:33
Oh I wanted to specify that this will be in respon
| |
27 optional bool frame_ack = 4; | |
28 | |
24 // One of these is set based on where the message is going to. | 29 // One of these is set based on where the message is going to. |
25 optional CompositorMessageToMain to_main = 1; | 30 optional CompositorMessageToMain to_main = 1; |
26 optional CompositorMessageToImpl to_impl = 2; | 31 optional CompositorMessageToImpl to_impl = 2; |
27 } | 32 } |
OLD | NEW |