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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 gpu::MemoryAllocation::CUTOFF_LAST) | 54 gpu::MemoryAllocation::CUTOFF_LAST) |
55 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason, | 55 IPC_ENUM_TRAITS_MAX_VALUE(gpu::error::ContextLostReason, |
56 gpu::error::kContextLostReasonLast) | 56 gpu::error::kContextLostReasonLast) |
57 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoEncodeAccelerator::Error, | 57 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoEncodeAccelerator::Error, |
58 media::VideoEncodeAccelerator::kErrorMax) | 58 media::VideoEncodeAccelerator::kErrorMax) |
59 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoFrame::Format, | 59 IPC_ENUM_TRAITS_MAX_VALUE(media::VideoFrame::Format, |
60 media::VideoFrame::FORMAT_MAX) | 60 media::VideoFrame::FORMAT_MAX) |
61 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::VideoCodecProfile, | 61 IPC_ENUM_TRAITS_MIN_MAX_VALUE(media::VideoCodecProfile, |
62 media::VIDEO_CODEC_PROFILE_MIN, | 62 media::VIDEO_CODEC_PROFILE_MIN, |
63 media::VIDEO_CODEC_PROFILE_MAX) | 63 media::VIDEO_CODEC_PROFILE_MAX) |
| 64 IPC_ENUM_TRAITS_MIN_MAX_VALUE(gpu::CollectInfoResult, |
| 65 gpu::kCollectInfoNone, |
| 66 gpu::kCollectInfoFatalFailure) |
64 | 67 |
65 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 68 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
66 IPC_STRUCT_MEMBER(int32, share_group_id) | 69 IPC_STRUCT_MEMBER(int32, share_group_id) |
67 IPC_STRUCT_MEMBER(std::vector<int>, attribs) | 70 IPC_STRUCT_MEMBER(std::vector<int>, attribs) |
68 IPC_STRUCT_MEMBER(GURL, active_url) | 71 IPC_STRUCT_MEMBER(GURL, active_url) |
69 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) | 72 IPC_STRUCT_MEMBER(gfx::GpuPreference, gpu_preference) |
70 IPC_STRUCT_END() | 73 IPC_STRUCT_END() |
71 | 74 |
72 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) | 75 IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
73 IPC_STRUCT_MEMBER(int32, surface_id) | 76 IPC_STRUCT_MEMBER(int32, surface_id) |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 151 |
149 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice) | 152 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice) |
150 IPC_STRUCT_TRAITS_MEMBER(vendor_id) | 153 IPC_STRUCT_TRAITS_MEMBER(vendor_id) |
151 IPC_STRUCT_TRAITS_MEMBER(device_id) | 154 IPC_STRUCT_TRAITS_MEMBER(device_id) |
152 IPC_STRUCT_TRAITS_MEMBER(active) | 155 IPC_STRUCT_TRAITS_MEMBER(active) |
153 IPC_STRUCT_TRAITS_MEMBER(vendor_string) | 156 IPC_STRUCT_TRAITS_MEMBER(vendor_string) |
154 IPC_STRUCT_TRAITS_MEMBER(device_string) | 157 IPC_STRUCT_TRAITS_MEMBER(device_string) |
155 IPC_STRUCT_TRAITS_END() | 158 IPC_STRUCT_TRAITS_END() |
156 | 159 |
157 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo) | 160 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo) |
158 IPC_STRUCT_TRAITS_MEMBER(finalized) | |
159 IPC_STRUCT_TRAITS_MEMBER(initialization_time) | 161 IPC_STRUCT_TRAITS_MEMBER(initialization_time) |
160 IPC_STRUCT_TRAITS_MEMBER(optimus) | 162 IPC_STRUCT_TRAITS_MEMBER(optimus) |
161 IPC_STRUCT_TRAITS_MEMBER(amd_switchable) | 163 IPC_STRUCT_TRAITS_MEMBER(amd_switchable) |
162 IPC_STRUCT_TRAITS_MEMBER(lenovo_dcute) | 164 IPC_STRUCT_TRAITS_MEMBER(lenovo_dcute) |
163 IPC_STRUCT_TRAITS_MEMBER(gpu) | 165 IPC_STRUCT_TRAITS_MEMBER(gpu) |
164 IPC_STRUCT_TRAITS_MEMBER(secondary_gpus) | 166 IPC_STRUCT_TRAITS_MEMBER(secondary_gpus) |
165 IPC_STRUCT_TRAITS_MEMBER(adapter_luid) | 167 IPC_STRUCT_TRAITS_MEMBER(adapter_luid) |
166 IPC_STRUCT_TRAITS_MEMBER(driver_vendor) | 168 IPC_STRUCT_TRAITS_MEMBER(driver_vendor) |
167 IPC_STRUCT_TRAITS_MEMBER(driver_version) | 169 IPC_STRUCT_TRAITS_MEMBER(driver_version) |
168 IPC_STRUCT_TRAITS_MEMBER(driver_date) | 170 IPC_STRUCT_TRAITS_MEMBER(driver_date) |
169 IPC_STRUCT_TRAITS_MEMBER(pixel_shader_version) | 171 IPC_STRUCT_TRAITS_MEMBER(pixel_shader_version) |
170 IPC_STRUCT_TRAITS_MEMBER(vertex_shader_version) | 172 IPC_STRUCT_TRAITS_MEMBER(vertex_shader_version) |
171 IPC_STRUCT_TRAITS_MEMBER(machine_model_name) | 173 IPC_STRUCT_TRAITS_MEMBER(machine_model_name) |
172 IPC_STRUCT_TRAITS_MEMBER(machine_model_version) | 174 IPC_STRUCT_TRAITS_MEMBER(machine_model_version) |
173 IPC_STRUCT_TRAITS_MEMBER(gl_version) | 175 IPC_STRUCT_TRAITS_MEMBER(gl_version) |
174 IPC_STRUCT_TRAITS_MEMBER(gl_vendor) | 176 IPC_STRUCT_TRAITS_MEMBER(gl_vendor) |
175 IPC_STRUCT_TRAITS_MEMBER(gl_renderer) | 177 IPC_STRUCT_TRAITS_MEMBER(gl_renderer) |
176 IPC_STRUCT_TRAITS_MEMBER(gl_extensions) | 178 IPC_STRUCT_TRAITS_MEMBER(gl_extensions) |
177 IPC_STRUCT_TRAITS_MEMBER(gl_ws_vendor) | 179 IPC_STRUCT_TRAITS_MEMBER(gl_ws_vendor) |
178 IPC_STRUCT_TRAITS_MEMBER(gl_ws_version) | 180 IPC_STRUCT_TRAITS_MEMBER(gl_ws_version) |
179 IPC_STRUCT_TRAITS_MEMBER(gl_ws_extensions) | 181 IPC_STRUCT_TRAITS_MEMBER(gl_ws_extensions) |
180 IPC_STRUCT_TRAITS_MEMBER(gl_reset_notification_strategy) | 182 IPC_STRUCT_TRAITS_MEMBER(gl_reset_notification_strategy) |
181 IPC_STRUCT_TRAITS_MEMBER(can_lose_context) | 183 IPC_STRUCT_TRAITS_MEMBER(can_lose_context) |
182 IPC_STRUCT_TRAITS_MEMBER(performance_stats) | 184 IPC_STRUCT_TRAITS_MEMBER(performance_stats) |
183 IPC_STRUCT_TRAITS_MEMBER(software_rendering) | 185 IPC_STRUCT_TRAITS_MEMBER(software_rendering) |
184 IPC_STRUCT_TRAITS_MEMBER(direct_rendering) | 186 IPC_STRUCT_TRAITS_MEMBER(direct_rendering) |
185 IPC_STRUCT_TRAITS_MEMBER(sandboxed) | 187 IPC_STRUCT_TRAITS_MEMBER(sandboxed) |
186 IPC_STRUCT_TRAITS_MEMBER(process_crash_count) | 188 IPC_STRUCT_TRAITS_MEMBER(process_crash_count) |
| 189 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) |
| 190 IPC_STRUCT_TRAITS_MEMBER(context_info_state) |
187 #if defined(OS_WIN) | 191 #if defined(OS_WIN) |
| 192 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) |
188 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) | 193 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) |
189 #endif | 194 #endif |
190 IPC_STRUCT_TRAITS_END() | 195 IPC_STRUCT_TRAITS_END() |
191 | 196 |
192 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities) | 197 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities) |
193 IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer) | 198 IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer) |
194 IPC_STRUCT_TRAITS_MEMBER(egl_image_external) | 199 IPC_STRUCT_TRAITS_MEMBER(egl_image_external) |
195 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888) | 200 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888) |
196 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1) | 201 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1) |
197 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot) | 202 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot) |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 int32 /* bitstream_buffer_id */, | 763 int32 /* bitstream_buffer_id */, |
759 uint32 /* payload_size */, | 764 uint32 /* payload_size */, |
760 bool /* key_frame */) | 765 bool /* key_frame */) |
761 | 766 |
762 // Report error condition. | 767 // Report error condition. |
763 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, | 768 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, |
764 media::VideoEncodeAccelerator::Error /* error */) | 769 media::VideoEncodeAccelerator::Error /* error */) |
765 | 770 |
766 // Send destroy request to the encoder. | 771 // Send destroy request to the encoder. |
767 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) | 772 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) |
OLD | NEW |