Chromium Code Reviews| Index: gpu/ipc/common/gpu_info.mojom |
| diff --git a/gpu/ipc/common/gpu_info.mojom b/gpu/ipc/common/gpu_info.mojom |
| index db7babde5b2e53e103fc7e341465374f9edd8ad5..44faa380842d2115348a18f8c0778a0df4d325a5 100644 |
| --- a/gpu/ipc/common/gpu_info.mojom |
| +++ b/gpu/ipc/common/gpu_info.mojom |
| @@ -5,6 +5,8 @@ |
| // gpu/config/gpu_info.h |
| module gpu.mojom; |
| +import "gpu/ipc/common/dx_diag_node.mojom"; |
| +import "mojo/common/common_custom_types.mojom"; |
| import "ui/gfx/geometry/mojo/geometry.mojom"; |
| // gpu::GPUInfo::GPUDevice |
| @@ -68,3 +70,44 @@ struct VideoEncodeAcceleratorSupportedProfile { |
| uint32 max_framerate_numerator; |
| uint32 max_framerate_denominator; |
| }; |
| + |
| +struct GpuInfo { |
|
Fady Samuel
2016/08/08 19:06:20
reference to where this C++ type is located?
Alex Z.
2016/08/10 19:27:53
Done.
|
| + mojo.common.mojom.TimeDelta initialization_time; |
| + bool optimus; |
| + bool amd_switchable; |
| + bool lenovo_dcute; |
| + mojo.common.mojom.Version display_link_version; |
| + GpuDevice gpu; |
| + array<GpuDevice> secondary_gpus; |
| + uint64 adapter_luid; |
| + string driver_vendor; |
| + string driver_version; |
| + string driver_date; |
| + string pixel_shader_version; |
| + string vertex_shader_version; |
| + string max_msaa_samples; |
| + string machine_model_name; |
| + string machine_model_version; |
| + string gl_version; |
| + string gl_vendor; |
| + string gl_renderer; |
| + string gl_extensions; |
| + string gl_ws_vendor; |
| + string gl_ws_version; |
| + string gl_ws_extensions; |
| + uint32 gl_reset_notification_strategy; |
| + bool can_lose_context; |
| + bool software_rendering; |
| + bool direct_rendering; |
| + bool sandboxed; |
| + int32 process_crash_count; |
| + bool in_process_gpu; |
| + CollectInfoResult basic_info_state; |
| + CollectInfoResult context_info_state; |
| + CollectInfoResult dx_diagnostics_info_state; |
| + DxDiagNode dx_diagnostics; |
| + VideoDecodeAcceleratorCapabilities video_decode_accelerator_capabilities; |
| + array<VideoEncodeAcceleratorSupportedProfile> |
| + video_encode_accelerator_supported_profiles; |
| + bool jpeg_decode_accelerator_supported; |
| +}; |