| OLD | NEW |
| 1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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 CHROME_GPU_GPU_INFO_COLLECTOR_H__ | 5 #ifndef CHROME_GPU_GPU_INFO_COLLECTOR_H__ |
| 6 #define CHROME_GPU_GPU_INFO_COLLECTOR_H__ | 6 #define CHROME_GPU_GPU_INFO_COLLECTOR_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "chrome/common/dx_diag_node.h" | 11 #include "content/common/gpu_info.h" |
| 12 #include "chrome/common/gpu_info.h" | |
| 13 | 12 |
| 14 struct IDirect3D9; | 13 struct IDirect3D9; |
| 15 | 14 |
| 16 namespace gpu_info_collector { | 15 namespace gpu_info_collector { |
| 17 | 16 |
| 18 // Populate variables with necessary graphics card information. | 17 // Populate variables with necessary graphics card information. |
| 19 // Returns true on success. | 18 // Returns true on success. |
| 20 bool CollectGraphicsInfo(GPUInfo* gpu_info); | 19 bool CollectGraphicsInfo(GPUInfo* gpu_info); |
| 21 | 20 |
| 22 // Similar to CollectGraphicsInfo, only this collects a subset of variables | 21 // Similar to CollectGraphicsInfo, only this collects a subset of variables |
| (...skipping 26 matching lines...) Expand all Loading... |
| 49 | 48 |
| 50 // Platform specific method for collecting vendor and device ids | 49 // Platform specific method for collecting vendor and device ids |
| 51 bool CollectVideoCardInfo(GPUInfo* gpu_info); | 50 bool CollectVideoCardInfo(GPUInfo* gpu_info); |
| 52 | 51 |
| 53 // Each platform stores the driver version on the GL_VERSION string differently | 52 // Each platform stores the driver version on the GL_VERSION string differently |
| 54 bool CollectDriverInfoGL(GPUInfo* gpu_info); | 53 bool CollectDriverInfoGL(GPUInfo* gpu_info); |
| 55 | 54 |
| 56 } // namespace gpu_info_collector | 55 } // namespace gpu_info_collector |
| 57 | 56 |
| 58 #endif // CHROME_GPU_GPU_INFO_COLLECTOR_H__ | 57 #endif // CHROME_GPU_GPU_INFO_COLLECTOR_H__ |
| OLD | NEW |