OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. It is included by backing_store_messages_internal.h | 6 // header guard. It is included by backing_store_messages_internal.h |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 // This file needs to be included again, even though we're actually included | 9 // This file needs to be included again, even though we're actually included |
10 // from it via utility_messages.h. | 10 // from it via utility_messages.h. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 gfx::Size /* size */) | 67 gfx::Size /* size */) |
68 | 68 |
69 // Creates a new video layer. | 69 // Creates a new video layer. |
70 IPC_MESSAGE_ROUTED2(GpuMsg_NewVideoLayer, | 70 IPC_MESSAGE_ROUTED2(GpuMsg_NewVideoLayer, |
71 int32, /* video_layer_routing_id */ | 71 int32, /* video_layer_routing_id */ |
72 gfx::Size /* size */) | 72 gfx::Size /* size */) |
73 | 73 |
74 // Updates the backing store with the given bitmap. The GPU process will send | 74 // Updates the backing store with the given bitmap. The GPU process will send |
75 // back a GpuHostMsg_PaintToBackingStore_ACK after the paint is complete to | 75 // back a GpuHostMsg_PaintToBackingStore_ACK after the paint is complete to |
76 // let the caller know the TransportDIB can be freed or reused. | 76 // let the caller know the TransportDIB can be freed or reused. |
77 IPC_MESSAGE_ROUTED4(GpuMsg_PaintToBackingStore, | 77 IPC_MESSAGE_ROUTED3(GpuMsg_PaintToBackingStore, |
78 base::ProcessId, /* process */ | 78 TransportDIB::Handle, /* bitmap_handle */ |
79 TransportDIB::Id, /* bitmap */ | |
80 gfx::Rect, /* bitmap_rect */ | 79 gfx::Rect, /* bitmap_rect */ |
81 std::vector<gfx::Rect>) /* copy_rects */ | 80 std::vector<gfx::Rect>) /* copy_rects */ |
82 | 81 |
83 | |
84 IPC_MESSAGE_ROUTED4(GpuMsg_ScrollBackingStore, | 82 IPC_MESSAGE_ROUTED4(GpuMsg_ScrollBackingStore, |
85 int, /* dx */ | 83 int, /* dx */ |
86 int, /* dy */ | 84 int, /* dy */ |
87 gfx::Rect, /* clip_rect */ | 85 gfx::Rect, /* clip_rect */ |
88 gfx::Size) /* view_size */ | 86 gfx::Size) /* view_size */ |
89 | 87 |
90 // Tells the GPU process that the RenderWidgetHost has painted the window. | 88 // Tells the GPU process that the RenderWidgetHost has painted the window. |
91 // Depending on the platform, the accelerated content may need to be painted | 89 // Depending on the platform, the accelerated content may need to be painted |
92 // over the top. | 90 // over the top. |
93 IPC_MESSAGE_ROUTED0(GpuMsg_WindowPainted) | 91 IPC_MESSAGE_ROUTED0(GpuMsg_WindowPainted) |
94 | 92 |
95 // Updates the video layer with the given YUV data. The GPU process will send | 93 // Updates the video layer with the given YUV data. The GPU process will send |
96 // back a GpuHostMsg_PaintToVideoLayer_ACK after the paint is complete to | 94 // back a GpuHostMsg_PaintToVideoLayer_ACK after the paint is complete to |
97 // let the caller know the TransportDIB can be freed or reused. | 95 // let the caller know the TransportDIB can be freed or reused. |
98 IPC_MESSAGE_ROUTED3(GpuMsg_PaintToVideoLayer, | 96 IPC_MESSAGE_ROUTED2(GpuMsg_PaintToVideoLayer, |
99 base::ProcessId, /* process */ | 97 TransportDIB::Handle, /* bitmap_handle */ |
100 TransportDIB::Id, /* bitmap */ | |
101 gfx::Rect) /* bitmap_rect */ | 98 gfx::Rect) /* bitmap_rect */ |
102 | 99 |
103 IPC_END_MESSAGES(Gpu) | 100 IPC_END_MESSAGES(Gpu) |
104 | 101 |
105 //------------------------------------------------------------------------------ | 102 //------------------------------------------------------------------------------ |
106 // GPU Host Messages | 103 // GPU Host Messages |
107 // These are messages from the GPU process to the browser. | 104 // These are messages from the GPU process to the browser. |
108 IPC_BEGIN_MESSAGES(GpuHost) | 105 IPC_BEGIN_MESSAGES(GpuHost) |
109 | 106 |
110 // Sent in response to GpuMsg_PaintToBackingStore, see that for more. | 107 // Sent in response to GpuMsg_PaintToBackingStore, see that for more. |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 | 364 |
368 // GpuVideoDecoder report output format change. | 365 // GpuVideoDecoder report output format change. |
369 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, | 366 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_MediaFormatChange, |
370 GpuVideoDecoderFormatChangeParam) | 367 GpuVideoDecoderFormatChangeParam) |
371 | 368 |
372 // GpuVideoDecoder report error. | 369 // GpuVideoDecoder report error. |
373 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, | 370 IPC_MESSAGE_ROUTED1(GpuVideoDecoderHostMsg_ErrorNotification, |
374 GpuVideoDecoderErrorInfoParam) | 371 GpuVideoDecoderErrorInfoParam) |
375 | 372 |
376 IPC_END_MESSAGES(GpuVideoDecoderHost) | 373 IPC_END_MESSAGES(GpuVideoDecoderHost) |
OLD | NEW |