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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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(GpuCommandBufferMsg_CreateImage, |
612 int32 /* id */, | 612 int32 /* id */, |
613 gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */, | 613 gfx::GpuMemoryBufferHandle* /* gpu_memory_buffer */, |
reveman
2015/03/04 05:56:00
You can't pass pointers with IPC messages. You nee
emircan
2015/03/04 23:31:50
Changed it to std::vector<gfx::GpuMemoryBufferHand
| |
614 gfx::Size /* size */, | 614 gfx::Size /* size */, |
615 gfx::GpuMemoryBuffer::Format /* format */, | 615 gfx::GpuMemoryBuffer::Format* /* format */, |
reveman
2015/03/04 05:56:00
ditto.
emircan
2015/03/04 23:31:50
Changed it to std::vector<GpuMemoryBuffer::Format>
| |
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 */ |
(...skipping 115 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 |