| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 std::string machine_model_version; | 83 std::string machine_model_version; |
| 84 std::string gl_version_string; | 84 std::string gl_version_string; |
| 85 std::string gl_vendor; | 85 std::string gl_vendor; |
| 86 std::string gl_renderer; | 86 std::string gl_renderer; |
| 87 std::string gl_extensions; | 87 std::string gl_extensions; |
| 88 std::string gl_ws_vendor; | 88 std::string gl_ws_vendor; |
| 89 std::string gl_ws_version; | 89 std::string gl_ws_version; |
| 90 std::string gl_ws_extensions; | 90 std::string gl_ws_extensions; |
| 91 uint32 gl_reset_notification_strategy; | 91 uint32 gl_reset_notification_strategy; |
| 92 bool can_lose_context; | 92 bool can_lose_context; |
| 93 GpuPerformanceStats performance_stats; | |
| 94 bool software_rendering; | 93 bool software_rendering; |
| 95 bool direct_rendering; | 94 bool direct_rendering; |
| 96 bool sandboxed; | 95 bool sandboxed; |
| 97 int process_crash_count; | 96 int process_crash_count; |
| 98 CollectInfoResult basic_info_state; | 97 CollectInfoResult basic_info_state; |
| 99 CollectInfoResult context_info_state; | 98 CollectInfoResult context_info_state; |
| 100 #if defined(OS_WIN) | 99 #if defined(OS_WIN) |
| 101 CollectInfoResult dx_diagnostics_info_state; | 100 CollectInfoResult dx_diagnostics_info_state; |
| 102 DxDiagNode dx_diagnostics; | 101 DxDiagNode dx_diagnostics; |
| 103 #endif | 102 #endif |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // TODO(kbr): add dx_diagnostics on Windows. | 159 // TODO(kbr): add dx_diagnostics on Windows. |
| 161 for (size_t ii = 0; ii < video_encode_accelerator_supported_profiles.size(); | 160 for (size_t ii = 0; ii < video_encode_accelerator_supported_profiles.size(); |
| 162 ++ii) { | 161 ++ii) { |
| 163 EnumerateVideoEncodeAcceleratorSupportedProfile( | 162 EnumerateVideoEncodeAcceleratorSupportedProfile( |
| 164 enumerator, video_encode_accelerator_supported_profiles[ii]); | 163 enumerator, video_encode_accelerator_supported_profiles[ii]); |
| 165 } | 164 } |
| 166 enumerator->EndAuxAttributes(); | 165 enumerator->EndAuxAttributes(); |
| 167 } | 166 } |
| 168 | 167 |
| 169 } // namespace gpu | 168 } // namespace gpu |
| OLD | NEW |