| 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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 | 501 |
| 502 // Sets the shared memory buffer used for commands. | 502 // Sets the shared memory buffer used for commands. |
| 503 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_SetGetBuffer, | 503 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_SetGetBuffer, |
| 504 int32 /* shm_id */) | 504 int32 /* shm_id */) |
| 505 | 505 |
| 506 // Produces the front buffer into a mailbox. This allows another context to draw | 506 // Produces the front buffer into a mailbox. This allows another context to draw |
| 507 // the output of this context. | 507 // the output of this context. |
| 508 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ProduceFrontBuffer, | 508 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ProduceFrontBuffer, |
| 509 gpu::Mailbox /* mailbox */) | 509 gpu::Mailbox /* mailbox */) |
| 510 | 510 |
| 511 // Get the current state of the command buffer. | |
| 512 IPC_SYNC_MESSAGE_ROUTED0_1(GpuCommandBufferMsg_GetState, | |
| 513 gpu::CommandBuffer::State /* state */) | |
| 514 | |
| 515 // Wait until the token is in a specific range, inclusive. | 511 // Wait until the token is in a specific range, inclusive. |
| 516 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_WaitForTokenInRange, | 512 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_WaitForTokenInRange, |
| 517 int32 /* start */, | 513 int32 /* start */, |
| 518 int32 /* end */, | 514 int32 /* end */, |
| 519 gpu::CommandBuffer::State /* state */) | 515 gpu::CommandBuffer::State /* state */) |
| 520 | 516 |
| 521 // Wait until the get offset is in a specific range, inclusive. | 517 // Wait until the get offset is in a specific range, inclusive. |
| 522 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_WaitForGetOffsetInRange, | 518 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_WaitForGetOffsetInRange, |
| 523 int32 /* start */, | 519 int32 /* start */, |
| 524 int32 /* end */, | 520 int32 /* end */, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 int32 /* bitstream_buffer_id */, | 764 int32 /* bitstream_buffer_id */, |
| 769 uint32 /* payload_size */, | 765 uint32 /* payload_size */, |
| 770 bool /* key_frame */) | 766 bool /* key_frame */) |
| 771 | 767 |
| 772 // Report error condition. | 768 // Report error condition. |
| 773 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 769 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
| 774 media::VideoEncodeAccelerator::Error /* error */) | 770 media::VideoEncodeAccelerator::Error /* error */) |
| 775 | 771 |
| 776 // Send destroy request to the encoder. | 772 // Send destroy request to the encoder. |
| 777 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 773 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
| OLD | NEW |