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 #ifndef CONTENT_PUBLIC_COMMON_GPU_INFO_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_GPU_INFO_H_ |
6 #define CONTENT_PUBLIC_COMMON_GPU_INFO_H_ | 6 #define CONTENT_PUBLIC_COMMON_GPU_INFO_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // Provides access to the GPU information for the system | 9 // Provides access to the GPU information for the system |
10 // on which chrome is currently running. | 10 // on which chrome is currently running. |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // The GL_EXTENSIONS string. "" if we are not using OpenGL. | 72 // The GL_EXTENSIONS string. "" if we are not using OpenGL. |
73 std::string gl_extensions; | 73 std::string gl_extensions; |
74 | 74 |
75 // The device semantics, i.e. whether the Vista and Windows 7 specific | 75 // The device semantics, i.e. whether the Vista and Windows 7 specific |
76 // semantics are available. | 76 // semantics are available. |
77 bool can_lose_context; | 77 bool can_lose_context; |
78 | 78 |
79 // By default all values are 0. | 79 // By default all values are 0. |
80 GpuPerformanceStats performance_stats; | 80 GpuPerformanceStats performance_stats; |
81 | 81 |
| 82 bool software_rendering; |
| 83 |
82 #if defined(OS_WIN) | 84 #if defined(OS_WIN) |
83 // The information returned by the DirectX Diagnostics Tool. | 85 // The information returned by the DirectX Diagnostics Tool. |
84 DxDiagNode dx_diagnostics; | 86 DxDiagNode dx_diagnostics; |
85 #endif | 87 #endif |
86 }; | 88 }; |
87 | 89 |
88 } // namespace content | 90 } // namespace content |
89 | 91 |
90 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ | 92 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ |
OLD | NEW |