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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_DestroyTransferBuffer, | 379 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_DestroyTransferBuffer, |
380 int32 /* id */) | 380 int32 /* id */) |
381 | 381 |
382 // Get the shared memory handle for a transfer buffer mapped to the callers | 382 // Get the shared memory handle for a transfer buffer mapped to the callers |
383 // process. | 383 // process. |
384 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, | 384 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, |
385 int32 /* id */, | 385 int32 /* id */, |
386 base::SharedMemoryHandle /* transfer_buffer */, | 386 base::SharedMemoryHandle /* transfer_buffer */, |
387 uint32 /* size */) | 387 uint32 /* size */) |
388 | 388 |
389 // Create and initialize a hardware video decoder. | 389 // Create and initialize a hardware video decoder, returning its new route_id. |
390 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_CreateVideoDecoder, | 390 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_CreateVideoDecoder, |
391 std::vector<int32> /* configs */) | 391 std::vector<int32> /* configs */, |
| 392 int /* route_id */) |
392 | 393 |
393 // Release all resources held by the hardware video decoder associated with this | 394 // Release all resources held by the named hardware video decoder. |
394 // stub. | 395 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_DestroyVideoDecoder, |
395 IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder) | 396 int /* route_id */) |
396 | 397 |
397 // Send from command buffer stub to proxy when window is invalid and must be | 398 // Send from command buffer stub to proxy when window is invalid and must be |
398 // repainted. | 399 // repainted. |
399 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) | 400 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) |
400 | 401 |
401 // Tells the GPU process to resize an offscreen frame buffer. | 402 // Tells the GPU process to resize an offscreen frame buffer. |
402 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ResizeOffscreenFrameBuffer, | 403 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ResizeOffscreenFrameBuffer, |
403 gfx::Size /* size */) | 404 gfx::Size /* size */) |
404 | 405 |
405 #if defined(OS_MACOSX) | 406 #if defined(OS_MACOSX) |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 | 513 |
513 // Confirm decoder has been reset. | 514 // Confirm decoder has been reset. |
514 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 515 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
515 | 516 |
516 // Decoder has faced end of stream marker in the stream. | 517 // Decoder has faced end of stream marker in the stream. |
517 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) | 518 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) |
518 | 519 |
519 // Video decoder has encountered an error. | 520 // Video decoder has encountered an error. |
520 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 521 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
521 uint32) /* Error ID */ | 522 uint32) /* Error ID */ |
OLD | NEW |