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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 // Wait until the get offset is in a specific range, inclusive. | 495 // Wait until the get offset is in a specific range, inclusive. |
496 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_WaitForGetOffsetInRange, | 496 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_WaitForGetOffsetInRange, |
497 int32 /* start */, | 497 int32 /* start */, |
498 int32 /* end */, | 498 int32 /* end */, |
499 gpu::CommandBuffer::State /* state */) | 499 gpu::CommandBuffer::State /* state */) |
500 | 500 |
501 // Asynchronously synchronize the put and get offsets of both processes. | 501 // Asynchronously synchronize the put and get offsets of both processes. |
502 // Caller passes its current put offset. Current state (including get offset) | 502 // Caller passes its current put offset. Current state (including get offset) |
503 // is returned in shared memory. The input latency info for the current | 503 // is returned in shared memory. The input latency info for the current |
504 // frame is also sent to the GPU process. | 504 // frame is also sent to the GPU process. |
505 IPC_MESSAGE_ROUTED3(GpuCommandBufferMsg_AsyncFlush, | 505 IPC_MESSAGE_ROUTED4(GpuCommandBufferMsg_AsyncFlush, |
506 int32 /* put_offset */, | 506 int32 /* put_offset */, |
507 uint32 /* flush_count */, | 507 uint32 /* flush_count */, |
| 508 std::vector<uint32> /* sync_points_waited_on */, |
508 std::vector<ui::LatencyInfo> /* latency_info */) | 509 std::vector<ui::LatencyInfo> /* latency_info */) |
509 | 510 |
510 // Asynchronously process any commands known to the GPU process. This is only | 511 // Asynchronously process any commands known to the GPU process. This is only |
511 // used in the event that a channel is unscheduled and needs to be flushed | 512 // used in the event that a channel is unscheduled and needs to be flushed |
512 // again to process any commands issued subsequent to unscheduling. The GPU | 513 // again to process any commands issued subsequent to unscheduling. The GPU |
513 // process actually sends it (deferred) to itself. | 514 // process actually sends it (deferred) to itself. |
514 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_Rescheduled) | 515 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_Rescheduled) |
515 | 516 |
516 // Sent by the GPU process to display messages in the console. | 517 // Sent by the GPU process to display messages in the console. |
517 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ConsoleMsg, | 518 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ConsoleMsg, |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 int32 /* bitstream_buffer_id */, | 733 int32 /* bitstream_buffer_id */, |
733 uint32 /* payload_size */, | 734 uint32 /* payload_size */, |
734 bool /* key_frame */) | 735 bool /* key_frame */) |
735 | 736 |
736 // Report error condition. | 737 // Report error condition. |
737 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 738 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
738 media::VideoEncodeAccelerator::Error /* error */) | 739 media::VideoEncodeAccelerator::Error /* error */) |
739 | 740 |
740 // Send destroy request to the encoder. | 741 // Send destroy request to the encoder. |
741 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 742 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |