Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1327)

Side by Side Diff: gpu/config/gpu_info.h

Issue 15890002: Display GL window system binding information in about:gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo in unit test. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | gpu/config/gpu_info_collector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 GPU_CONFIG_GPU_INFO_H_ 5 #ifndef GPU_CONFIG_GPU_INFO_H_
6 #define GPU_CONFIG_GPU_INFO_H_ 6 #define GPU_CONFIG_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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // The GL_VENDOR string. "" if we are not using OpenGL. 105 // The GL_VENDOR string. "" if we are not using OpenGL.
106 std::string gl_vendor; 106 std::string gl_vendor;
107 107
108 // The GL_RENDERER string. "" if we are not using OpenGL. 108 // The GL_RENDERER string. "" if we are not using OpenGL.
109 std::string gl_renderer; 109 std::string gl_renderer;
110 110
111 // The GL_EXTENSIONS string. "" if we are not using OpenGL. 111 // The GL_EXTENSIONS string. "" if we are not using OpenGL.
112 std::string gl_extensions; 112 std::string gl_extensions;
113 113
114 // GL window system binding vendor. "" if not available.
115 std::string gl_ws_vendor;
116
117 // GL window system binding version. "" if not available.
118 std::string gl_ws_version;
119
120 // GL window system binding extensions. "" if not available.
121 std::string gl_ws_extensions;
122
114 // The device semantics, i.e. whether the Vista and Windows 7 specific 123 // The device semantics, i.e. whether the Vista and Windows 7 specific
115 // semantics are available. 124 // semantics are available.
116 bool can_lose_context; 125 bool can_lose_context;
117 126
118 // Whether gpu or driver is accessible. 127 // Whether gpu or driver is accessible.
119 bool gpu_accessible; 128 bool gpu_accessible;
120 129
121 // By default all values are 0. 130 // By default all values are 0.
122 GpuPerformanceStats performance_stats; 131 GpuPerformanceStats performance_stats;
123 132
124 bool software_rendering; 133 bool software_rendering;
125 134
126 // Whether the gpu process is running in a sandbox. 135 // Whether the gpu process is running in a sandbox.
127 bool sandboxed; 136 bool sandboxed;
128 137
129 #if defined(OS_WIN) 138 #if defined(OS_WIN)
130 // The information returned by the DirectX Diagnostics Tool. 139 // The information returned by the DirectX Diagnostics Tool.
131 DxDiagNode dx_diagnostics; 140 DxDiagNode dx_diagnostics;
132 #endif 141 #endif
133 }; 142 };
134 143
135 } // namespace gpu 144 } // namespace gpu
136 145
137 #endif // GPU_CONFIG_GPU_INFO_H_ 146 #endif // GPU_CONFIG_GPU_INFO_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | gpu/config/gpu_info_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698