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

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

Issue 1252293002: Revert of Allow WebGL on Android if the GPU has it's own process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « gpu/config/gpu_control_list_unittest.cc ('k') | gpu/config/gpu_info.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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // Whether the driver uses direct rendering. True on most platforms, false on 199 // Whether the driver uses direct rendering. True on most platforms, false on
200 // X11 when using remote X. 200 // X11 when using remote X.
201 bool direct_rendering; 201 bool direct_rendering;
202 202
203 // Whether the gpu process is running in a sandbox. 203 // Whether the gpu process is running in a sandbox.
204 bool sandboxed; 204 bool sandboxed;
205 205
206 // Number of GPU process crashes recorded. 206 // Number of GPU process crashes recorded.
207 int process_crash_count; 207 int process_crash_count;
208 208
209 // True if the GPU is running in the browser process instead of its own.
210 bool in_process_gpu;
211
212 // The state of whether the basic/context/DxDiagnostics info is collected and 209 // The state of whether the basic/context/DxDiagnostics info is collected and
213 // if the collection fails or not. 210 // if the collection fails or not.
214 CollectInfoResult basic_info_state; 211 CollectInfoResult basic_info_state;
215 CollectInfoResult context_info_state; 212 CollectInfoResult context_info_state;
216 #if defined(OS_WIN) 213 #if defined(OS_WIN)
217 CollectInfoResult dx_diagnostics_info_state; 214 CollectInfoResult dx_diagnostics_info_state;
218 215
219 // The information returned by the DirectX Diagnostics Tool. 216 // The information returned by the DirectX Diagnostics Tool.
220 DxDiagNode dx_diagnostics; 217 DxDiagNode dx_diagnostics;
221 #endif 218 #endif
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 virtual ~Enumerator() {} 264 virtual ~Enumerator() {}
268 }; 265 };
269 266
270 // Outputs the fields in this structure to the provided enumerator. 267 // Outputs the fields in this structure to the provided enumerator.
271 void EnumerateFields(Enumerator* enumerator) const; 268 void EnumerateFields(Enumerator* enumerator) const;
272 }; 269 };
273 270
274 } // namespace gpu 271 } // namespace gpu
275 272
276 #endif // GPU_CONFIG_GPU_INFO_H_ 273 #endif // GPU_CONFIG_GPU_INFO_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_control_list_unittest.cc ('k') | gpu/config/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698