| 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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 | 601 |
| 602 // Makes this command buffer signal when a query is reached, by sending | 602 // Makes this command buffer signal when a query is reached, by sending |
| 603 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same | 603 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same |
| 604 // signal_id. | 604 // signal_id. |
| 605 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalQuery, | 605 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalQuery, |
| 606 uint32 /* query */, | 606 uint32 /* query */, |
| 607 uint32 /* signal_id */) | 607 uint32 /* signal_id */) |
| 608 | 608 |
| 609 // Create an image from an existing gpu memory buffer. The id that can be | 609 // Create an image from an existing gpu memory buffer. The id that can be |
| 610 // used to identify the image from a command buffer. | 610 // used to identify the image from a command buffer. |
| 611 IPC_MESSAGE_ROUTED5(GpuCommandBufferMsg_CreateImage, | 611 IPC_MESSAGE_ROUTED5( |
| 612 int32 /* id */, | 612 GpuCommandBufferMsg_CreateImage, int32 /* id */, |
| 613 gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */, | 613 std::vector<gfx::GpuMemoryBufferHandle> /* gpu_memory_buffers */, |
| 614 gfx::Size /* size */, | 614 gfx::Size /* size */, |
| 615 gfx::GpuMemoryBuffer::Format /* format */, | 615 std::vector<gfx::GpuMemoryBuffer::Format> /* formats */, |
| 616 uint32 /* internalformat */) | 616 uint32 /* internalformat */) |
| 617 | 617 |
| 618 // Destroy a previously created image. | 618 // Destroy a previously created image. |
| 619 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, | 619 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, |
| 620 int32 /* id */) | 620 int32 /* id */) |
| 621 | 621 |
| 622 // Attaches an external image stream to the client texture. | 622 // Attaches an external image stream to the client texture. |
| 623 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 623 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
| 624 uint32, /* client_texture_id */ | 624 uint32, /* client_texture_id */ |
| 625 int32, /* stream_id */ | 625 int32, /* stream_id */ |
| 626 bool /* succeeded */) | 626 bool /* succeeded */) |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 int32 /* bitstream_buffer_id */, | 741 int32 /* bitstream_buffer_id */, |
| 742 uint32 /* payload_size */, | 742 uint32 /* payload_size */, |
| 743 bool /* key_frame */) | 743 bool /* key_frame */) |
| 744 | 744 |
| 745 // Report error condition. | 745 // Report error condition. |
| 746 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 746 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
| 747 media::VideoEncodeAccelerator::Error /* error */) | 747 media::VideoEncodeAccelerator::Error /* error */) |
| 748 | 748 |
| 749 // Send destroy request to the encoder. | 749 // Send destroy request to the encoder. |
| 750 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 750 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
| OLD | NEW |