OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <vector> | 5 #include <vector> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 | 8 |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // process. The browser will create the GPU process if necessary, and will | 157 // process. The browser will create the GPU process if necessary, and will |
158 // return a handle to the channel via a GpuChannelEstablished message. | 158 // return a handle to the channel via a GpuChannelEstablished message. |
159 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, | 159 IPC_SYNC_MESSAGE_CONTROL1_3(GpuHostMsg_EstablishGpuChannel, |
160 content::CauseForGpuLaunch, | 160 content::CauseForGpuLaunch, |
161 IPC::ChannelHandle /* handle to channel */, | 161 IPC::ChannelHandle /* handle to channel */, |
162 base::ProcessHandle /* renderer_process_for_gpu */, | 162 base::ProcessHandle /* renderer_process_for_gpu */, |
163 GPUInfo /* stats about GPU process*/) | 163 GPUInfo /* stats about GPU process*/) |
164 | 164 |
165 // A renderer sends this to the browser process when it wants to | 165 // A renderer sends this to the browser process when it wants to |
166 // create a GL context associated with the given view_id. | 166 // create a GL context associated with the given view_id. |
167 IPC_SYNC_MESSAGE_CONTROL3_1(GpuHostMsg_CreateViewCommandBuffer, | 167 IPC_SYNC_MESSAGE_CONTROL2_1(GpuHostMsg_CreateViewCommandBuffer, |
168 gfx::PluginWindowHandle, /* view */ | |
169 int32, /* render_view_id */ | 168 int32, /* render_view_id */ |
170 GPUCreateCommandBufferConfig, /* init_params */ | 169 GPUCreateCommandBufferConfig, /* init_params */ |
171 int32 /* route_id */) | 170 int32 /* route_id */) |
172 | 171 |
173 // Response from GPU to a GpuHostMsg_EstablishChannel message. | 172 // Response from GPU to a GpuHostMsg_EstablishChannel message. |
174 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, | 173 IPC_MESSAGE_CONTROL1(GpuHostMsg_ChannelEstablished, |
175 IPC::ChannelHandle /* channel_handle */) | 174 IPC::ChannelHandle /* channel_handle */) |
176 | 175 |
177 // Respond from GPU to a GpuMsg_CreateViewCommandBuffer message. | 176 // Respond from GPU to a GpuMsg_CreateViewCommandBuffer message. |
178 IPC_MESSAGE_CONTROL1(GpuHostMsg_CommandBufferCreated, | 177 IPC_MESSAGE_CONTROL1(GpuHostMsg_CommandBufferCreated, |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 | 488 |
490 // Confirm decoder has been aborted. | 489 // Confirm decoder has been aborted. |
491 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) | 490 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) |
492 | 491 |
493 // Decoder has faced end of stream marker in the stream. | 492 // Decoder has faced end of stream marker in the stream. |
494 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 493 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
495 | 494 |
496 // Video decoder has encountered an error. | 495 // Video decoder has encountered an error. |
497 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 496 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
498 uint32) /* Error ID */ | 497 uint32) /* Error ID */ |
OLD | NEW |