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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same | 565 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same |
566 // signal_id. | 566 // signal_id. |
567 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalSyncPoint, | 567 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalSyncPoint, |
568 uint32 /* sync_point */, | 568 uint32 /* sync_point */, |
569 uint32 /* signal_id */) | 569 uint32 /* signal_id */) |
570 | 570 |
571 // Response to GpuCommandBufferMsg_SignalSyncPoint. | 571 // Response to GpuCommandBufferMsg_SignalSyncPoint. |
572 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SignalSyncPointAck, | 572 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SignalSyncPointAck, |
573 uint32 /* signal_id */) | 573 uint32 /* signal_id */) |
574 | 574 |
| 575 // Tells the browser the time of the most recent screen refresh. |
| 576 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_UpdateVSyncTime, |
| 577 int64 /* time */) |
| 578 |
575 //------------------------------------------------------------------------------ | 579 //------------------------------------------------------------------------------ |
576 // Accelerated Video Decoder Messages | 580 // Accelerated Video Decoder Messages |
577 // These messages are sent from Renderer process to GPU process. | 581 // These messages are sent from Renderer process to GPU process. |
578 | 582 |
579 // Send input buffer for decoding. | 583 // Send input buffer for decoding. |
580 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, | 584 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, |
581 base::SharedMemoryHandle, /* input_buffer_handle */ | 585 base::SharedMemoryHandle, /* input_buffer_handle */ |
582 int32, /* bitstream_buffer_id */ | 586 int32, /* bitstream_buffer_id */ |
583 int32) /* size */ | 587 int32) /* size */ |
584 | 588 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 | 636 |
633 // Confirm decoder has been flushed. | 637 // Confirm decoder has been flushed. |
634 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 638 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
635 | 639 |
636 // Confirm decoder has been reset. | 640 // Confirm decoder has been reset. |
637 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 641 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
638 | 642 |
639 // Video decoder has encountered an error. | 643 // Video decoder has encountered an error. |
640 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 644 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
641 uint32) /* Error ID */ | 645 uint32) /* Error ID */ |
OLD | NEW |