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 // Multiply-included message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 // Tells the GPU process to create a new command buffer that renders to an | 291 // Tells the GPU process to create a new command buffer that renders to an |
292 // offscreen frame buffer. | 292 // offscreen frame buffer. |
293 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, | 293 IPC_SYNC_MESSAGE_CONTROL2_1(GpuChannelMsg_CreateOffscreenCommandBuffer, |
294 gfx::Size, /* size */ | 294 gfx::Size, /* size */ |
295 GPUCreateCommandBufferConfig, /* init_params */ | 295 GPUCreateCommandBufferConfig, /* init_params */ |
296 int32 /* route_id */) | 296 int32 /* route_id */) |
297 | 297 |
298 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its | 298 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its |
299 // destructor, so that the stub deletes the actual CommandBufferService | 299 // destructor, so that the stub deletes the actual CommandBufferService |
300 // object that it's hosting. | 300 // object that it's hosting. |
301 // TODO(apatrick): Implement this. | |
302 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, | 301 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, |
303 int32 /* instance_id */) | 302 int32 /* instance_id */) |
304 | 303 |
305 // Create a surface for offscreen rendering. | 304 // Create a surface for offscreen rendering. |
306 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_CreateOffscreenSurface, | 305 IPC_SYNC_MESSAGE_CONTROL1_1(GpuChannelMsg_CreateOffscreenSurface, |
307 gfx::Size, /* size */ | 306 gfx::Size, /* size */ |
308 int /* route_id */) | 307 int /* route_id */) |
309 | 308 |
310 // Destroy a surface by routing id. | 309 // Destroy a surface by routing id. |
311 IPC_MESSAGE_CONTROL1(GpuChannelMsg_DestroySurface, | 310 IPC_MESSAGE_CONTROL1(GpuChannelMsg_DestroySurface, |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 | 550 |
552 // Confirm decoder has been aborted. | 551 // Confirm decoder has been aborted. |
553 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) | 552 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_AbortDone) |
554 | 553 |
555 // Decoder has faced end of stream marker in the stream. | 554 // Decoder has faced end of stream marker in the stream. |
556 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 555 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
557 | 556 |
558 // Video decoder has encountered an error. | 557 // Video decoder has encountered an error. |
559 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 558 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
560 uint32) /* Error ID */ | 559 uint32) /* Error ID */ |
OLD | NEW |