| OLD | NEW |
| 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 Loading... |
| 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. | |
| 71 enum AMDVideoCardType { | 69 enum AMDVideoCardType { |
| 72 UNKNOWN, | 70 UNKNOWN, |
| 73 STANDALONE, | 71 STANDALONE, |
| 74 INTEGRATED, | 72 INTEGRATED, |
| 75 SWITCHABLE | 73 SWITCHABLE |
| 76 }; | 74 }; |
| 77 | 75 |
| 78 } // namespace gpu | 76 } // namespace gpu |
| 79 | 77 |
| 80 #endif // GPU_CONFIG_GPU_INFO_COLLECTOR_H_ | 78 #endif // GPU_CONFIG_GPU_INFO_COLLECTOR_H_ |
| OLD | NEW |