| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 IPC_STRUCT_MEMBER(float, m21) | 125 IPC_STRUCT_MEMBER(float, m21) |
| 126 IPC_STRUCT_MEMBER(float, m22) | 126 IPC_STRUCT_MEMBER(float, m22) |
| 127 IPC_STRUCT_MEMBER(float, m23) | 127 IPC_STRUCT_MEMBER(float, m23) |
| 128 IPC_STRUCT_MEMBER(float, m30) | 128 IPC_STRUCT_MEMBER(float, m30) |
| 129 IPC_STRUCT_MEMBER(float, m31) | 129 IPC_STRUCT_MEMBER(float, m31) |
| 130 IPC_STRUCT_MEMBER(float, m32) | 130 IPC_STRUCT_MEMBER(float, m32) |
| 131 IPC_STRUCT_MEMBER(float, m33) | 131 IPC_STRUCT_MEMBER(float, m33) |
| 132 IPC_STRUCT_END() | 132 IPC_STRUCT_END() |
| 133 #endif | 133 #endif |
| 134 | 134 |
| 135 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_RegisterGpuMemoryBuffer_Params) |
| 136 IPC_STRUCT_MEMBER(int32, id) |
| 137 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer) |
| 138 IPC_STRUCT_MEMBER(uint32, width) |
| 139 IPC_STRUCT_MEMBER(uint32, height) |
| 140 IPC_STRUCT_MEMBER(uint32, internalformat) |
| 141 IPC_STRUCT_MEMBER(uint32, usage) |
| 142 IPC_STRUCT_END() |
| 143 |
| 135 IPC_STRUCT_TRAITS_BEGIN(gpu::DxDiagNode) | 144 IPC_STRUCT_TRAITS_BEGIN(gpu::DxDiagNode) |
| 136 IPC_STRUCT_TRAITS_MEMBER(values) | 145 IPC_STRUCT_TRAITS_MEMBER(values) |
| 137 IPC_STRUCT_TRAITS_MEMBER(children) | 146 IPC_STRUCT_TRAITS_MEMBER(children) |
| 138 IPC_STRUCT_TRAITS_END() | 147 IPC_STRUCT_TRAITS_END() |
| 139 | 148 |
| 140 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuPerformanceStats) | 149 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuPerformanceStats) |
| 141 IPC_STRUCT_TRAITS_MEMBER(graphics) | 150 IPC_STRUCT_TRAITS_MEMBER(graphics) |
| 142 IPC_STRUCT_TRAITS_MEMBER(gaming) | 151 IPC_STRUCT_TRAITS_MEMBER(gaming) |
| 143 IPC_STRUCT_TRAITS_MEMBER(overall) | 152 IPC_STRUCT_TRAITS_MEMBER(overall) |
| 144 IPC_STRUCT_TRAITS_END() | 153 IPC_STRUCT_TRAITS_END() |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 | 640 |
| 632 // Makes this command buffer signal when a query is reached, by sending | 641 // Makes this command buffer signal when a query is reached, by sending |
| 633 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same | 642 // back a GpuCommandBufferMsg_SignalSyncPointAck message with the same |
| 634 // signal_id. | 643 // signal_id. |
| 635 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalQuery, | 644 IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalQuery, |
| 636 uint32 /* query */, | 645 uint32 /* query */, |
| 637 uint32 /* signal_id */) | 646 uint32 /* signal_id */) |
| 638 | 647 |
| 639 // Register an existing gpu memory buffer. The id that can be | 648 // Register an existing gpu memory buffer. The id that can be |
| 640 // used to identify the gpu memory buffer from a command buffer. | 649 // used to identify the gpu memory buffer from a command buffer. |
| 641 IPC_MESSAGE_ROUTED5(GpuCommandBufferMsg_RegisterGpuMemoryBuffer, | 650 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RegisterGpuMemoryBuffer, |
| 642 int32 /* id */, | 651 GpuCommandBufferMsg_RegisterGpuMemoryBuffer_Params) |
| 643 gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */, | |
| 644 uint32 /* width */, | |
| 645 uint32 /* height */, | |
| 646 uint32 /* internalformat */) | |
| 647 | 652 |
| 648 // Destroy a previously created gpu memory buffer. | 653 // Destroy a previously created gpu memory buffer. |
| 649 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyGpuMemoryBuffer, | 654 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyGpuMemoryBuffer, |
| 650 int32 /* id */) | 655 int32 /* id */) |
| 651 | 656 |
| 652 // Attaches an external image stream to the client texture. | 657 // Attaches an external image stream to the client texture. |
| 653 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 658 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
| 654 uint32, /* client_texture_id */ | 659 uint32, /* client_texture_id */ |
| 655 int32, /* stream_id */ | 660 int32, /* stream_id */ |
| 656 bool /* succeeded */) | 661 bool /* succeeded */) |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 int32 /* bitstream_buffer_id */, | 773 int32 /* bitstream_buffer_id */, |
| 769 uint32 /* payload_size */, | 774 uint32 /* payload_size */, |
| 770 bool /* key_frame */) | 775 bool /* key_frame */) |
| 771 | 776 |
| 772 // Report error condition. | 777 // Report error condition. |
| 773 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 778 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
| 774 media::VideoEncodeAccelerator::Error /* error */) | 779 media::VideoEncodeAccelerator::Error /* error */) |
| 775 | 780 |
| 776 // Send destroy request to the encoder. | 781 // Send destroy request to the encoder. |
| 777 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 782 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
| OLD | NEW |