Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(492)

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 568413002: Add VEA supported profiles to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo and update gpu_info_unittest Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 IPC_STRUCT_TRAITS_END() 150 IPC_STRUCT_TRAITS_END()
151 151
152 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice) 152 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo::GPUDevice)
153 IPC_STRUCT_TRAITS_MEMBER(vendor_id) 153 IPC_STRUCT_TRAITS_MEMBER(vendor_id)
154 IPC_STRUCT_TRAITS_MEMBER(device_id) 154 IPC_STRUCT_TRAITS_MEMBER(device_id)
155 IPC_STRUCT_TRAITS_MEMBER(active) 155 IPC_STRUCT_TRAITS_MEMBER(active)
156 IPC_STRUCT_TRAITS_MEMBER(vendor_string) 156 IPC_STRUCT_TRAITS_MEMBER(vendor_string)
157 IPC_STRUCT_TRAITS_MEMBER(device_string) 157 IPC_STRUCT_TRAITS_MEMBER(device_string)
158 IPC_STRUCT_TRAITS_END() 158 IPC_STRUCT_TRAITS_END()
159 159
160 IPC_STRUCT_TRAITS_BEGIN(media::VideoEncodeAccelerator::SupportedProfile)
161 IPC_STRUCT_TRAITS_MEMBER(profile)
162 IPC_STRUCT_TRAITS_MEMBER(max_resolution)
163 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator)
164 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator)
165 IPC_STRUCT_TRAITS_END()
166
160 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo) 167 IPC_STRUCT_TRAITS_BEGIN(gpu::GPUInfo)
161 IPC_STRUCT_TRAITS_MEMBER(initialization_time) 168 IPC_STRUCT_TRAITS_MEMBER(initialization_time)
162 IPC_STRUCT_TRAITS_MEMBER(optimus) 169 IPC_STRUCT_TRAITS_MEMBER(optimus)
163 IPC_STRUCT_TRAITS_MEMBER(amd_switchable) 170 IPC_STRUCT_TRAITS_MEMBER(amd_switchable)
164 IPC_STRUCT_TRAITS_MEMBER(lenovo_dcute) 171 IPC_STRUCT_TRAITS_MEMBER(lenovo_dcute)
165 IPC_STRUCT_TRAITS_MEMBER(gpu) 172 IPC_STRUCT_TRAITS_MEMBER(gpu)
166 IPC_STRUCT_TRAITS_MEMBER(secondary_gpus) 173 IPC_STRUCT_TRAITS_MEMBER(secondary_gpus)
167 IPC_STRUCT_TRAITS_MEMBER(adapter_luid) 174 IPC_STRUCT_TRAITS_MEMBER(adapter_luid)
168 IPC_STRUCT_TRAITS_MEMBER(driver_vendor) 175 IPC_STRUCT_TRAITS_MEMBER(driver_vendor)
169 IPC_STRUCT_TRAITS_MEMBER(driver_version) 176 IPC_STRUCT_TRAITS_MEMBER(driver_version)
(...skipping 15 matching lines...) Expand all
185 IPC_STRUCT_TRAITS_MEMBER(software_rendering) 192 IPC_STRUCT_TRAITS_MEMBER(software_rendering)
186 IPC_STRUCT_TRAITS_MEMBER(direct_rendering) 193 IPC_STRUCT_TRAITS_MEMBER(direct_rendering)
187 IPC_STRUCT_TRAITS_MEMBER(sandboxed) 194 IPC_STRUCT_TRAITS_MEMBER(sandboxed)
188 IPC_STRUCT_TRAITS_MEMBER(process_crash_count) 195 IPC_STRUCT_TRAITS_MEMBER(process_crash_count)
189 IPC_STRUCT_TRAITS_MEMBER(basic_info_state) 196 IPC_STRUCT_TRAITS_MEMBER(basic_info_state)
190 IPC_STRUCT_TRAITS_MEMBER(context_info_state) 197 IPC_STRUCT_TRAITS_MEMBER(context_info_state)
191 #if defined(OS_WIN) 198 #if defined(OS_WIN)
192 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state) 199 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics_info_state)
193 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) 200 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics)
194 #endif 201 #endif
202 IPC_STRUCT_TRAITS_MEMBER(video_encode_accelerator_supported_profiles)
195 IPC_STRUCT_TRAITS_END() 203 IPC_STRUCT_TRAITS_END()
196 204
197 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities) 205 IPC_STRUCT_TRAITS_BEGIN(gpu::Capabilities)
198 IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer) 206 IPC_STRUCT_TRAITS_MEMBER(post_sub_buffer)
199 IPC_STRUCT_TRAITS_MEMBER(egl_image_external) 207 IPC_STRUCT_TRAITS_MEMBER(egl_image_external)
200 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888) 208 IPC_STRUCT_TRAITS_MEMBER(texture_format_bgra8888)
201 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1) 209 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1)
202 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot) 210 IPC_STRUCT_TRAITS_MEMBER(texture_format_etc1_npot)
203 IPC_STRUCT_TRAITS_MEMBER(texture_rectangle) 211 IPC_STRUCT_TRAITS_MEMBER(texture_rectangle)
204 IPC_STRUCT_TRAITS_MEMBER(iosurface) 212 IPC_STRUCT_TRAITS_MEMBER(iosurface)
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 int32 /* bitstream_buffer_id */, 768 int32 /* bitstream_buffer_id */,
761 uint32 /* payload_size */, 769 uint32 /* payload_size */,
762 bool /* key_frame */) 770 bool /* key_frame */)
763 771
764 // Report error condition. 772 // Report error condition.
765 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 773 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
766 media::VideoEncodeAccelerator::Error /* error */) 774 media::VideoEncodeAccelerator::Error /* error */)
767 775
768 // Send destroy request to the encoder. 776 // Send destroy request to the encoder.
769 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 777 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698