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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same | 605 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same |
606 // signal_id. | 606 // signal_id. |
607 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalSyncPoint, | 607 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalSyncPoint, |
608 uint32 /* sync_point */, | 608 uint32 /* sync_point */, |
609 uint32 /* signal_id */) | 609 uint32 /* signal_id */) |
610 | 610 |
611 // Response to GpuCommandBufferMsg_SignalSyncPoint. | 611 // Response to GpuCommandBufferMsg_SignalSyncPoint. |
612 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SignalSyncPointAck, | 612 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SignalSyncPointAck, |
613 uint32 /* signal_id */) | 613 uint32 /* signal_id */) |
614 | 614 |
| 615 // Makes this command buffer signal when a query is reached, by sending |
| 616 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same |
| 617 // signal_id. |
| 618 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalQuery, |
| 619 uint32 /* query */, |
| 620 uint32 /* signal_id */) |
| 621 |
615 //------------------------------------------------------------------------------ | 622 //------------------------------------------------------------------------------ |
616 // Accelerated Video Decoder Messages | 623 // Accelerated Video Decoder Messages |
617 // These messages are sent from Renderer process to GPU process. | 624 // These messages are sent from Renderer process to GPU process. |
618 | 625 |
619 // Send input buffer for decoding. | 626 // Send input buffer for decoding. |
620 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, | 627 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, |
621 base::SharedMemoryHandle, /* input_buffer_handle */ | 628 base::SharedMemoryHandle, /* input_buffer_handle */ |
622 int32, /* bitstream_buffer_id */ | 629 int32, /* bitstream_buffer_id */ |
623 uint32) /* size */ | 630 uint32) /* size */ |
624 | 631 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 | 679 |
673 // Confirm decoder has been flushed. | 680 // Confirm decoder has been flushed. |
674 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 681 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
675 | 682 |
676 // Confirm decoder has been reset. | 683 // Confirm decoder has been reset. |
677 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 684 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
678 | 685 |
679 // Video decoder has encountered an error. | 686 // Video decoder has encountered an error. |
680 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 687 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
681 uint32) /* Error ID */ | 688 uint32) /* Error ID */ |
OLD | NEW |