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

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

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
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
11 #include <set>
11 #include <string> 12 #include <string>
12 #include <vector> 13 #include <vector>
13 14
14 #include "base/basictypes.h" 15 #include "base/basictypes.h"
15 #include "base/time/time.h" 16 #include "base/time/time.h"
16 #include "base/version.h" 17 #include "base/version.h"
17 #include "build/build_config.h" 18 #include "build/build_config.h"
18 #include "gpu/config/dx_diag_node.h" 19 #include "gpu/config/dx_diag_node.h"
19 #include "gpu/gpu_export.h" 20 #include "gpu/gpu_export.h"
20 #include "ui/gfx/geometry/size.h" 21 #include "ui/gfx/geometry/size.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 203
203 // Whether the gpu process is running in a sandbox. 204 // Whether the gpu process is running in a sandbox.
204 bool sandboxed; 205 bool sandboxed;
205 206
206 // Number of GPU process crashes recorded. 207 // Number of GPU process crashes recorded.
207 int process_crash_count; 208 int process_crash_count;
208 209
209 // True if the GPU is running in the browser process instead of its own. 210 // True if the GPU is running in the browser process instead of its own.
210 bool in_process_gpu; 211 bool in_process_gpu;
211 212
213 // Activated gpu driver bug workarounds.
214 std::set<int> driver_bugs_workarounds;
215
212 // The state of whether the basic/context/DxDiagnostics info is collected and 216 // The state of whether the basic/context/DxDiagnostics info is collected and
213 // if the collection fails or not. 217 // if the collection fails or not.
214 CollectInfoResult basic_info_state; 218 CollectInfoResult basic_info_state;
215 CollectInfoResult context_info_state; 219 CollectInfoResult context_info_state;
216 #if defined(OS_WIN) 220 #if defined(OS_WIN)
217 CollectInfoResult dx_diagnostics_info_state; 221 CollectInfoResult dx_diagnostics_info_state;
218 222
219 // The information returned by the DirectX Diagnostics Tool. 223 // The information returned by the DirectX Diagnostics Tool.
220 DxDiagNode dx_diagnostics; 224 DxDiagNode dx_diagnostics;
221 #endif 225 #endif
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 virtual ~Enumerator() {} 273 virtual ~Enumerator() {}
270 }; 274 };
271 275
272 // Outputs the fields in this structure to the provided enumerator. 276 // Outputs the fields in this structure to the provided enumerator.
273 void EnumerateFields(Enumerator* enumerator) const; 277 void EnumerateFields(Enumerator* enumerator) const;
274 }; 278 };
275 279
276 } // namespace gpu 280 } // namespace gpu
277 281
278 #endif // GPU_CONFIG_GPU_INFO_H_ 282 #endif // GPU_CONFIG_GPU_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698