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

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

Issue 332843003: Use the updated AMD switchable info collection code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | gpu/config/gpu_info_collector_win.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 GPU_CONFIG_GPU_INFO_COLLECTOR_H_ 5 #ifndef GPU_CONFIG_GPU_INFO_COLLECTOR_H_
6 #define GPU_CONFIG_GPU_INFO_COLLECTOR_H_ 6 #define GPU_CONFIG_GPU_INFO_COLLECTOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "gpu/config/gpu_info.h" 10 #include "gpu/config/gpu_info.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // stage. 59 // stage.
60 GPU_EXPORT void MergeGPUInfo(GPUInfo* basic_gpu_info, 60 GPU_EXPORT void MergeGPUInfo(GPUInfo* basic_gpu_info,
61 const GPUInfo& context_gpu_info); 61 const GPUInfo& context_gpu_info);
62 62
63 // MergeGPUInfo() when GL driver is used. 63 // MergeGPUInfo() when GL driver is used.
64 GPU_EXPORT void MergeGPUInfoGL(GPUInfo* basic_gpu_info, 64 GPU_EXPORT void MergeGPUInfoGL(GPUInfo* basic_gpu_info,
65 const GPUInfo& context_gpu_info); 65 const GPUInfo& context_gpu_info);
66 66
67 // Advanced Micro Devices has interesting configurations on laptops were 67 // Advanced Micro Devices has interesting configurations on laptops were
68 // there are two videocards that can alternatively a given process output. 68 // there are two videocards that can alternatively a given process output.
69 // TODO(zmo): remove them when we remove the GetAMDVideocardType() in the
70 // internal src/third_party/amd.
69 enum AMDVideoCardType { 71 enum AMDVideoCardType {
70 UNKNOWN, 72 UNKNOWN,
71 STANDALONE, 73 STANDALONE,
72 INTEGRATED, 74 INTEGRATED,
73 SWITCHABLE 75 SWITCHABLE
74 }; 76 };
75 77
76 } // namespace gpu 78 } // namespace gpu
77 79
78 #endif // GPU_CONFIG_GPU_INFO_COLLECTOR_H_ 80 #endif // GPU_CONFIG_GPU_INFO_COLLECTOR_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/config/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698