| 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 | 7 |
| 8 // Provides access to the GPU information for the system | 8 // Provides access to the GPU information for the system |
| 9 // on which chrome is currently running. | 9 // on which chrome is currently running. |
| 10 | 10 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 bool can_lose_context; | 97 bool can_lose_context; |
| 98 | 98 |
| 99 // Whether gpu or driver is accessible. | 99 // Whether gpu or driver is accessible. |
| 100 bool gpu_accessible; | 100 bool gpu_accessible; |
| 101 | 101 |
| 102 // By default all values are 0. | 102 // By default all values are 0. |
| 103 GpuPerformanceStats performance_stats; | 103 GpuPerformanceStats performance_stats; |
| 104 | 104 |
| 105 bool software_rendering; | 105 bool software_rendering; |
| 106 | 106 |
| 107 // Whether the gpu process is running in a sandbox. |
| 108 bool sandboxed; |
| 109 |
| 107 #if defined(OS_WIN) | 110 #if defined(OS_WIN) |
| 108 // The information returned by the DirectX Diagnostics Tool. | 111 // The information returned by the DirectX Diagnostics Tool. |
| 109 DxDiagNode dx_diagnostics; | 112 DxDiagNode dx_diagnostics; |
| 110 #endif | 113 #endif |
| 111 }; | 114 }; |
| 112 | 115 |
| 113 } // namespace content | 116 } // namespace content |
| 114 | 117 |
| 115 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ | 118 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ |
| OLD | NEW |