OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 // used to identify the transfer buffer from a command buffer. | 553 // used to identify the transfer buffer from a command buffer. |
554 IPC_MESSAGE_ROUTED3(GpuCommandBufferMsg_RegisterTransferBuffer, | 554 IPC_MESSAGE_ROUTED3(GpuCommandBufferMsg_RegisterTransferBuffer, |
555 int32 /* id */, | 555 int32 /* id */, |
556 base::SharedMemoryHandle /* transfer_buffer */, | 556 base::SharedMemoryHandle /* transfer_buffer */, |
557 uint32 /* size */) | 557 uint32 /* size */) |
558 | 558 |
559 // Destroy a previously created transfer buffer. | 559 // Destroy a previously created transfer buffer. |
560 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyTransferBuffer, | 560 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyTransferBuffer, |
561 int32 /* id */) | 561 int32 /* id */) |
562 | 562 |
563 // Get the shared memory handle for a transfer buffer mapped to the callers | |
564 // process. | |
565 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, | |
566 int32 /* id */, | |
567 base::SharedMemoryHandle /* transfer_buffer */, | |
568 uint32 /* size */) | |
569 | |
570 // Create and initialize a hardware video decoder, returning its new route_id. | 563 // Create and initialize a hardware video decoder, returning its new route_id. |
571 // Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when | 564 // Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when |
572 // no longer needed. | 565 // no longer needed. |
573 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_CreateVideoDecoder, | 566 IPC_SYNC_MESSAGE_ROUTED1_1(GpuCommandBufferMsg_CreateVideoDecoder, |
574 media::VideoCodecProfile /* profile */, | 567 media::VideoCodecProfile /* profile */, |
575 int /* route_id */) | 568 int /* route_id */) |
576 | 569 |
577 // Tells the proxy that there was an error and the command buffer had to be | 570 // Tells the proxy that there was an error and the command buffer had to be |
578 // destroyed for some reason. | 571 // destroyed for some reason. |
579 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, | 572 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_Destroyed, |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 | 765 |
773 // Notify the renderer that an output buffer has been filled with encoded data. | 766 // Notify the renderer that an output buffer has been filled with encoded data. |
774 IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderHostMsg_BitstreamBufferReady, | 767 IPC_MESSAGE_ROUTED3(AcceleratedVideoEncoderHostMsg_BitstreamBufferReady, |
775 int32 /* bitstream_buffer_id */, | 768 int32 /* bitstream_buffer_id */, |
776 uint32 /* payload_size */, | 769 uint32 /* payload_size */, |
777 bool /* key_frame */) | 770 bool /* key_frame */) |
778 | 771 |
779 // Report error condition. | 772 // Report error condition. |
780 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 773 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
781 media::VideoEncodeAccelerator::Error /* error */) | 774 media::VideoEncodeAccelerator::Error /* error */) |
OLD | NEW |