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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 gpu::CommandBuffer::State /* state */) | 517 gpu::CommandBuffer::State /* state */) |
518 | 518 |
519 // Wait until the get offset is in a specific range, inclusive. | 519 // Wait until the get offset is in a specific range, inclusive. |
520 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_WaitForGetOffsetInRange, | 520 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_WaitForGetOffsetInRange, |
521 int32 /* start */, | 521 int32 /* start */, |
522 int32 /* end */, | 522 int32 /* end */, |
523 gpu::CommandBuffer::State /* state */) | 523 gpu::CommandBuffer::State /* state */) |
524 | 524 |
525 // Asynchronously synchronize the put and get offsets of both processes. | 525 // Asynchronously synchronize the put and get offsets of both processes. |
526 // Caller passes its current put offset. Current state (including get offset) | 526 // Caller passes its current put offset. Current state (including get offset) |
527 // is returned in shared memory. | 527 // is returned in shared memory. The input latency info for the current |
528 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_AsyncFlush, | 528 // frame is also sent to the GPU process. |
| 529 IPC_MESSAGE_ROUTED3(GpuCommandBufferMsg_AsyncFlush, |
529 int32 /* put_offset */, | 530 int32 /* put_offset */, |
530 uint32 /* flush_count */) | 531 uint32 /* flush_count */, |
531 | |
532 // Sends information about the latency of the current frame to the GPU | |
533 // process. | |
534 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetLatencyInfo, | |
535 std::vector<ui::LatencyInfo> /* latency_info */) | 532 std::vector<ui::LatencyInfo> /* latency_info */) |
536 | 533 |
537 // Asynchronously process any commands known to the GPU process. This is only | 534 // Asynchronously process any commands known to the GPU process. This is only |
538 // used in the event that a channel is unscheduled and needs to be flushed | 535 // used in the event that a channel is unscheduled and needs to be flushed |
539 // again to process any commands issued subsequent to unscheduling. The GPU | 536 // again to process any commands issued subsequent to unscheduling. The GPU |
540 // process actually sends it (deferred) to itself. | 537 // process actually sends it (deferred) to itself. |
541 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_Rescheduled) | 538 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_Rescheduled) |
542 | 539 |
543 // Sent by the GPU process to display messages in the console. | 540 // Sent by the GPU process to display messages in the console. |
544 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ConsoleMsg, | 541 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ConsoleMsg, |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 int32 /* bitstream_buffer_id */, | 760 int32 /* bitstream_buffer_id */, |
764 uint32 /* payload_size */, | 761 uint32 /* payload_size */, |
765 bool /* key_frame */) | 762 bool /* key_frame */) |
766 | 763 |
767 // Report error condition. | 764 // Report error condition. |
768 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 765 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
769 media::VideoEncodeAccelerator::Error /* error */) | 766 media::VideoEncodeAccelerator::Error /* error */) |
770 | 767 |
771 // Send destroy request to the encoder. | 768 // Send destroy request to the encoder. |
772 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 769 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |