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

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

Issue 9969135: Disable image transport surface on AMD GPUs (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_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 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.
(...skipping 16 matching lines...) Expand all
27 // Whether more GPUInfo fields might be collected in the future. 27 // Whether more GPUInfo fields might be collected in the future.
28 bool finalized; 28 bool finalized;
29 29
30 // The amount of time taken to get from the process starting to the message 30 // The amount of time taken to get from the process starting to the message
31 // loop being pumped. 31 // loop being pumped.
32 base::TimeDelta initialization_time; 32 base::TimeDelta initialization_time;
33 33
34 // Computer has NVIDIA Optimus 34 // Computer has NVIDIA Optimus
35 bool optimus; 35 bool optimus;
36 36
37 // Computer has AMD Dynamic Switchable Graphics
38 bool amd_switchable;
39
37 // The DWORD (uint32) representing the graphics card vendor id. 40 // The DWORD (uint32) representing the graphics card vendor id.
38 uint32 vendor_id; 41 uint32 vendor_id;
39 42
40 // The DWORD (uint32) representing the graphics card device id. Device ids 43 // The DWORD (uint32) representing the graphics card device id. Device ids
41 // are unique to vendor, not to one another. 44 // are unique to vendor, not to one another.
42 uint32 device_id; 45 uint32 device_id;
43 46
44 // The vendor of the graphics driver currently installed. 47 // The vendor of the graphics driver currently installed.
45 std::string driver_vendor; 48 std::string driver_vendor;
46 49
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 84
82 #if defined(OS_WIN) 85 #if defined(OS_WIN)
83 // The information returned by the DirectX Diagnostics Tool. 86 // The information returned by the DirectX Diagnostics Tool.
84 DxDiagNode dx_diagnostics; 87 DxDiagNode dx_diagnostics;
85 #endif 88 #endif
86 }; 89 };
87 90
88 } // namespace content 91 } // namespace content
89 92
90 #endif // CONTENT_PUBLIC_COMMON_GPU_INFO_H_ 93 #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_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698