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

Side by Side Diff: chrome/common/gpu_info.h

Issue 6272025: Part 2 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2011 Created 9 years, 10 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 | « chrome/chrome_browser.gypi ('k') | chrome/common/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) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_COMMON_GPU_INFO_H__ 5 #ifndef CHROME_COMMON_GPU_INFO_H__
6 #define CHROME_COMMON_GPU_INFO_H__ 6 #define CHROME_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.
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "chrome/common/dx_diag_node.h" 18 #include "chrome/common/dx_diag_node.h"
19 19
20 class GPUInfo { 20 class GPUInfo {
21 public: 21 public:
22 GPUInfo(); 22 GPUInfo();
23 ~GPUInfo() {} 23 ~GPUInfo();
24 24
25 enum Level { 25 enum Level {
26 kUninitialized, 26 kUninitialized,
27 kPartial, 27 kPartial,
28 kCompleting, 28 kCompleting,
29 kComplete, 29 kComplete,
30 }; 30 };
31 31
32 // Returns whether this GPUInfo has been partially or fully initialized with 32 // Returns whether this GPUInfo has been partially or fully initialized with
33 // information. 33 // information.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 std::string gl_renderer_; 134 std::string gl_renderer_;
135 std::string gl_extensions_; 135 std::string gl_extensions_;
136 bool can_lose_context_; 136 bool can_lose_context_;
137 137
138 #if defined(OS_WIN) 138 #if defined(OS_WIN)
139 DxDiagNode dx_diagnostics_; 139 DxDiagNode dx_diagnostics_;
140 #endif 140 #endif
141 }; 141 };
142 142
143 #endif // CHROME_COMMON_GPU_INFO_H__ 143 #endif // CHROME_COMMON_GPU_INFO_H__
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698