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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 gpu::VIDEO_CODEC_PROFILE_MAX) | 71 gpu::VIDEO_CODEC_PROFILE_MAX) |
72 | 72 |
73 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 73 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
74 IPC_STRUCT_MEMBER(int32, share_group_id) | 74 IPC_STRUCT_MEMBER(int32, share_group_id) |
75 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 75 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
76 IPC_STRUCT_MEMBER(GURL, active_url) | 76 IPC_STRUCT_MEMBER(GURL, active_url) |
77 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 77 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
78 IPC_STRUCT_END() | 78 IPC_STRUCT_END() |
79 | 79 |
80 IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBuffer_Params) | 80 IPC_STRUCT_BEGIN(GpuMsg_CreateGpuMemoryBuffer_Params) |
81 IPC_STRUCT_MEMBER(int32, id) | 81 IPC_STRUCT_MEMBER(int32, id) |
82 IPC_STRUCT_MEMBER(gfx::Size, size) | 82 IPC_STRUCT_MEMBER(gfx::Size, size) |
83 IPC_STRUCT_MEMBER(gfx::GpuMemoryBuffer::Format, format) | 83 IPC_STRUCT_MEMBER(gfx::GpuMemoryBuffer::Format, format) |
84 IPC_STRUCT_MEMBER(gfx::GpuMemoryBuffer::Usage, usage) | 84 IPC_STRUCT_MEMBER(gfx::GpuMemoryBuffer::Usage, usage) |
85 IPC_STRUCT_MEMBER(int32, client_id) | 85 IPC_STRUCT_MEMBER(int32, client_id) |
86 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, surface_handle) | 86 IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, surface_handle) |
87 IPC_STRUCT_END() | 87 IPC_STRUCT_END() |
88 | 88 |
89 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 89 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
90 IPC_STRUCT_MEMBER(int32, surface_id) | 90 IPC_STRUCT_MEMBER(int32, surface_id) |
91 IPC_STRUCT_MEMBER(uint64, surface_handle) | 91 IPC_STRUCT_MEMBER(uint64, surface_handle) |
92 IPC_STRUCT_MEMBER(int32, route_id) | 92 IPC_STRUCT_MEMBER(int32, route_id) |
93 IPC_STRUCT_MEMBER(gfx::Size, size) | 93 IPC_STRUCT_MEMBER(gfx::Size, size) |
94 IPC_STRUCT_MEMBER(float, scale_factor) | 94 IPC_STRUCT_MEMBER(float, scale_factor) |
95 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) | 95 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) |
96 IPC_STRUCT_END() | 96 IPC_STRUCT_END() |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 IPC_STRUCT_TRAITS_END() | 145 IPC_STRUCT_TRAITS_END() |
146 | 146 |
147 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice) | 147 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice) |
148 IPC_STRUCT_TRAITS_MEMBER(vendor_id) | 148 IPC_STRUCT_TRAITS_MEMBER(vendor_id) |
149 IPC_STRUCT_TRAITS_MEMBER(device_id) | 149 IPC_STRUCT_TRAITS_MEMBER(device_id) |
150 IPC_STRUCT_TRAITS_MEMBER(active) | 150 IPC_STRUCT_TRAITS_MEMBER(active) |
151 IPC_STRUCT_TRAITS_MEMBER(vendor_string) | 151 IPC_STRUCT_TRAITS_MEMBER(vendor_string) |
152 IPC_STRUCT_TRAITS_MEMBER(device_string) | 152 IPC_STRUCT_TRAITS_MEMBER(device_string) |
153 IPC_STRUCT_TRAITS_END() | 153 IPC_STRUCT_TRAITS_END() |
154 | 154 |
| 155 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile) |
| 156 IPC_STRUCT_TRAITS_MEMBER(profile) |
| 157 IPC_STRUCT_TRAITS_MEMBER(max_resolution) |
| 158 IPC_STRUCT_TRAITS_MEMBER(min_resolution) |
| 159 IPC_STRUCT_TRAITS_END() |
| 160 |
155 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) | 161 IPC_STRUCT_TRAITS_BEGIN(gpu::VideoEncodeAcceleratorSupportedProfile) |
156 IPC_STRUCT_TRAITS_MEMBER(profile) | 162 IPC_STRUCT_TRAITS_MEMBER(profile) |
157 IPC_STRUCT_TRAITS_MEMBER(max_resolution) | 163 IPC_STRUCT_TRAITS_MEMBER(max_resolution) |
158 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) | 164 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) |
159 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator) | 165 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator) |
160 IPC_STRUCT_TRAITS_END() | 166 IPC_STRUCT_TRAITS_END() |
161 | 167 |
162 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo) | 168 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo) |
163 IPC_STRUCT_TRAITS_MEMBER(initialization_time) | 169 IPC_STRUCT_TRAITS_MEMBER(initialization_time) |
164 IPC_STRUCT_TRAITS_MEMBER(optimus) | 170 IPC_STRUCT_TRAITS_MEMBER(optimus) |
(...skipping 22 matching lines...) Expand all Loading... |
187 IPC_STRUCT_TRAITS_MEMBER(software_rendering) | 193 IPC_STRUCT_TRAITS_MEMBER(software_rendering) |
188 IPC_STRUCT_TRAITS_MEMBER(direct_rendering) | 194 IPC_STRUCT_TRAITS_MEMBER(direct_rendering) |
189 IPC_STRUCT_TRAITS_MEMBER(sandboxed) | 195 IPC_STRUCT_TRAITS_MEMBER(sandboxed) |
190 IPC_STRUCT_TRAITS_MEMBER(process_crash_count) | 196 IPC_STRUCT_TRAITS_MEMBER(process_crash_count) |
191 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) | 197 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) |
192 IPC_STRUCT_TRAITS_MEMBER(context_info_state) | 198 IPC_STRUCT_TRAITS_MEMBER(context_info_state) |
193 #if defined(OS_WIN) | 199 #if defined(OS_WIN) |
194 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) | 200 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) |
195 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) | 201 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) |
196 #endif | 202 #endif |
| 203 IPC_STRUCT_TRAITS_MEMBER(video_decode_accelerator_supported_profiles) |
197 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) | 204 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles) |
198 IPC_STRUCT_TRAITS_END() | 205 IPC_STRUCT_TRAITS_END() |
199 | 206 |
200 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) | 207 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats::ProcessStats) |
201 IPC_STRUCT_TRAITS_MEMBER(video_memory) | 208 IPC_STRUCT_TRAITS_MEMBER(video_memory) |
202 IPC_STRUCT_TRAITS_MEMBER(has_duplicates) | 209 IPC_STRUCT_TRAITS_MEMBER(has_duplicates) |
203 IPC_STRUCT_TRAITS_END() | 210 IPC_STRUCT_TRAITS_END() |
204 | 211 |
205 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) | 212 IPC_STRUCT_TRAITS_BEGIN(content::GPUVideoMemoryUsageStats) |
206 IPC_STRUCT_TRAITS_MEMBER(process_map) | 213 IPC_STRUCT_TRAITS_MEMBER(process_map) |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 int32 /* bitstream_buffer_id */, | 748 int32 /* bitstream_buffer_id */, |
742 uint32 /* payload_size */, | 749 uint32 /* payload_size */, |
743 bool /* key_frame */) | 750 bool /* key_frame */) |
744 | 751 |
745 // Report error condition. | 752 // Report error condition. |
746 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 753 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
747 media::VideoEncodeAccelerator::Error /* error */) | 754 media::VideoEncodeAccelerator::Error /* error */) |
748 | 755 |
749 // Send destroy request to the encoder. | 756 // Send destroy request to the encoder. |
750 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 757 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |