Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // gpu/config/gpu_info.h | 5 // gpu/config/gpu_info.h |
| 6 module gpu.mojom; | 6 module gpu.mojom; |
| 7 | 7 |
| 8 import "gpu/ipc/common/dx_diag_node.mojom"; | |
| 9 import "mojo/common/common_custom_types.mojom"; | |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; | 10 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 9 | 11 |
| 10 // gpu::GPUInfo::GPUDevice | 12 // gpu::GPUInfo::GPUDevice |
| 11 struct GpuDevice { | 13 struct GpuDevice { |
| 12 uint32 vendor_id; | 14 uint32 vendor_id; |
| 13 uint32 device_id; | 15 uint32 device_id; |
| 14 bool active; | 16 bool active; |
| 15 string vendor_string; | 17 string vendor_string; |
| 16 string device_string; | 18 string device_string; |
| 17 }; | 19 }; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 61 uint32 flags; | 63 uint32 flags; |
| 62 }; | 64 }; |
| 63 | 65 |
| 64 // gpu::VideoEncodeAcceleratorSupportedProfile | 66 // gpu::VideoEncodeAcceleratorSupportedProfile |
| 65 struct VideoEncodeAcceleratorSupportedProfile { | 67 struct VideoEncodeAcceleratorSupportedProfile { |
| 66 VideoCodecProfile profile; | 68 VideoCodecProfile profile; |
| 67 gfx.mojom.Size max_resolution; | 69 gfx.mojom.Size max_resolution; |
| 68 uint32 max_framerate_numerator; | 70 uint32 max_framerate_numerator; |
| 69 uint32 max_framerate_denominator; | 71 uint32 max_framerate_denominator; |
| 70 }; | 72 }; |
| 73 | |
| 74 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.
| |
| 75 mojo.common.mojom.TimeDelta initialization_time; | |
| 76 bool optimus; | |
| 77 bool amd_switchable; | |
| 78 bool lenovo_dcute; | |
| 79 mojo.common.mojom.Version display_link_version; | |
| 80 GpuDevice gpu; | |
| 81 array<GpuDevice> secondary_gpus; | |
| 82 uint64 adapter_luid; | |
| 83 string driver_vendor; | |
| 84 string driver_version; | |
| 85 string driver_date; | |
| 86 string pixel_shader_version; | |
| 87 string vertex_shader_version; | |
| 88 string max_msaa_samples; | |
| 89 string machine_model_name; | |
| 90 string machine_model_version; | |
| 91 string gl_version; | |
| 92 string gl_vendor; | |
| 93 string gl_renderer; | |
| 94 string gl_extensions; | |
| 95 string gl_ws_vendor; | |
| 96 string gl_ws_version; | |
| 97 string gl_ws_extensions; | |
| 98 uint32 gl_reset_notification_strategy; | |
| 99 bool can_lose_context; | |
| 100 bool software_rendering; | |
| 101 bool direct_rendering; | |
| 102 bool sandboxed; | |
| 103 int32 process_crash_count; | |
| 104 bool in_process_gpu; | |
| 105 CollectInfoResult basic_info_state; | |
| 106 CollectInfoResult context_info_state; | |
| 107 CollectInfoResult dx_diagnostics_info_state; | |
| 108 DxDiagNode dx_diagnostics; | |
| 109 VideoDecodeAcceleratorCapabilities video_decode_accelerator_capabilities; | |
| 110 array<VideoEncodeAcceleratorSupportedProfile> | |
| 111 video_encode_accelerator_supported_profiles; | |
| 112 bool jpeg_decode_accelerator_supported; | |
| 113 }; | |
| OLD | NEW |