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

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

Issue 15745014: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 7 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 | « gpu/config/gpu_feature_type.h ('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 CONTENT_PUBLIC_COMMON_GPU_INFO_H_ 5 #ifndef GPU_CONFIG_GPU_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_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 <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/time.h" 15 #include "base/time.h"
16 #include "base/version.h" 16 #include "base/version.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "content/common/content_export.h" 18 #include "gpu/config/dx_diag_node.h"
19 #include "content/public/common/dx_diag_node.h" 19 #include "gpu/config/gpu_performance_stats.h"
20 #include "content/public/common/gpu_performance_stats.h" 20 #include "gpu/gpu_export.h"
21 21
22 namespace content { 22 namespace gpu {
23 23
24 struct CONTENT_EXPORT GPUInfo { 24 struct GPU_EXPORT GPUInfo {
25 struct CONTENT_EXPORT GPUDevice { 25 struct GPU_EXPORT GPUDevice {
26 GPUDevice(); 26 GPUDevice();
27 ~GPUDevice(); 27 ~GPUDevice();
28 28
29 // The DWORD (uint32) representing the graphics card vendor id. 29 // The DWORD (uint32) representing the graphics card vendor id.
30 uint32 vendor_id; 30 uint32 vendor_id;
31 31
32 // The DWORD (uint32) representing the graphics card device id. 32 // The DWORD (uint32) representing the graphics card device id.
33 // Device ids are unique to vendor, not to one another. 33 // Device ids are unique to vendor, not to one another.
34 uint32 device_id; 34 uint32 device_id;
35 35
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 // Whether the gpu process is running in a sandbox. 119 // Whether the gpu process is running in a sandbox.
120 bool sandboxed; 120 bool sandboxed;
121 121
122 #if defined(OS_WIN) 122 #if defined(OS_WIN)
123 // The information returned by the DirectX Diagnostics Tool. 123 // The information returned by the DirectX Diagnostics Tool.
124 DxDiagNode dx_diagnostics; 124 DxDiagNode dx_diagnostics;
125 #endif 125 #endif
126 }; 126 };
127 127
128 } // namespace content 128 } // namespace gpu
129 129
130 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ 130 #endif // GPU_CONFIG_GPU_INFO_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_feature_type.h ('k') | gpu/config/gpu_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698