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

Side by Side Diff: content/public/common/gpu_info.h

Issue 9999002: Revert 130299 - Revert 130298 - Revert 130258 - Make it possible to blacklist gpu's based on the Wi… (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 years, 8 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/gpu/gpu_info_collector_win.cc ('k') | content/public/common/gpu_performance_stats.h » ('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 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 #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/time.h" 15 #include "base/time.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
18 #include "content/public/common/dx_diag_node.h" 18 #include "content/public/common/dx_diag_node.h"
19 #include "content/public/common/gpu_performance_stats.h"
20 19
21 namespace content { 20 namespace content {
22 21
23 struct CONTENT_EXPORT GPUInfo { 22 struct CONTENT_EXPORT GPUInfo {
24 GPUInfo(); 23 GPUInfo();
25 ~GPUInfo(); 24 ~GPUInfo();
26 25
27 // Whether more GPUInfo fields might be collected in the future. 26 // Whether more GPUInfo fields might be collected in the future.
28 bool finalized; 27 bool finalized;
29 28
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // The GL_RENDERER string. "" if we are not using OpenGL. 68 // The GL_RENDERER string. "" if we are not using OpenGL.
70 std::string gl_renderer; 69 std::string gl_renderer;
71 70
72 // The GL_EXTENSIONS string. "" if we are not using OpenGL. 71 // The GL_EXTENSIONS string. "" if we are not using OpenGL.
73 std::string gl_extensions; 72 std::string gl_extensions;
74 73
75 // The device semantics, i.e. whether the Vista and Windows 7 specific 74 // The device semantics, i.e. whether the Vista and Windows 7 specific
76 // semantics are available. 75 // semantics are available.
77 bool can_lose_context; 76 bool can_lose_context;
78 77
79 // By default all values are 0.
80 GpuPerformanceStats performance_stats;
81
82 #if defined(OS_WIN) 78 #if defined(OS_WIN)
83 // The information returned by the DirectX Diagnostics Tool. 79 // The information returned by the DirectX Diagnostics Tool.
84 DxDiagNode dx_diagnostics; 80 DxDiagNode dx_diagnostics;
85 #endif 81 #endif
86 }; 82 };
87 83
88 } // namespace content 84 } // namespace content
89 85
90 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ 86 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_info_collector_win.cc ('k') | content/public/common/gpu_performance_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698