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 #include "gpu/config/gpu_info.h" | 5 #include "gpu/config/gpu_info.h" |
6 | 6 |
7 namespace { | 7 namespace { |
8 | 8 |
9 void EnumerateGPUDevice(gpu::GPUInfo::Enumerator* enumerator, | 9 void EnumerateGPUDevice(gpu::GPUInfo::Enumerator* enumerator, |
10 const gpu::GPUInfo::GPUDevice& device) { | 10 const gpu::GPUInfo::GPUDevice& device) { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
72 bool lenovo_dcute; | 72 bool lenovo_dcute; |
73 Version display_link_version; | 73 Version display_link_version; |
74 GPUDevice gpu; | 74 GPUDevice gpu; |
75 std::vector<GPUDevice> secondary_gpus; | 75 std::vector<GPUDevice> secondary_gpus; |
76 uint64 adapter_luid; | 76 uint64 adapter_luid; |
77 std::string driver_vendor; | 77 std::string driver_vendor; |
78 std::string driver_version; | 78 std::string driver_version; |
79 std::string driver_date; | 79 std::string driver_date; |
80 std::string pixel_shader_version; | 80 std::string pixel_shader_version; |
81 std::string vertex_shader_version; | 81 std::string vertex_shader_version; |
82 std::string max_msaa_samples; | |
Ken Russell (switch to Gerrit)
2015/04/07 22:13:27
Please enumerate this new field further down in GP
Stephen White
2015/04/08 12:19:35
Done.
| |
82 std::string machine_model_name; | 83 std::string machine_model_name; |
83 std::string machine_model_version; | 84 std::string machine_model_version; |
84 std::string gl_version_string; | 85 std::string gl_version_string; |
85 std::string gl_vendor; | 86 std::string gl_vendor; |
86 std::string gl_renderer; | 87 std::string gl_renderer; |
87 std::string gl_extensions; | 88 std::string gl_extensions; |
88 std::string gl_ws_vendor; | 89 std::string gl_ws_vendor; |
89 std::string gl_ws_version; | 90 std::string gl_ws_version; |
90 std::string gl_ws_extensions; | 91 std::string gl_ws_extensions; |
91 uint32 gl_reset_notification_strategy; | 92 uint32 gl_reset_notification_strategy; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
159 // TODO(kbr): add dx_diagnostics on Windows. | 160 // TODO(kbr): add dx_diagnostics on Windows. |
160 for (size_t ii = 0; ii < video_encode_accelerator_supported_profiles.size(); | 161 for (size_t ii = 0; ii < video_encode_accelerator_supported_profiles.size(); |
161 ++ii) { | 162 ++ii) { |
162 EnumerateVideoEncodeAcceleratorSupportedProfile( | 163 EnumerateVideoEncodeAcceleratorSupportedProfile( |
163 enumerator, video_encode_accelerator_supported_profiles[ii]); | 164 enumerator, video_encode_accelerator_supported_profiles[ii]); |
164 } | 165 } |
165 enumerator->EndAuxAttributes(); | 166 enumerator->EndAuxAttributes(); |
166 } | 167 } |
167 | 168 |
168 } // namespace gpu | 169 } // namespace gpu |
OLD | NEW |