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 CONTENT_GPU_GPU_INFO_COLLECTOR_H_ | 5 #ifndef CONTENT_GPU_GPU_INFO_COLLECTOR_H_ |
6 #define CONTENT_GPU_GPU_INFO_COLLECTOR_H_ | 6 #define CONTENT_GPU_GPU_INFO_COLLECTOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "build/build_config.h" | 9 #include "build/build_config.h" |
11 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
12 #include "content/public/common/gpu_info.h" | 11 #include "content/public/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 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 51 |
53 // Platform specific method for collecting vendor and device ids | 52 // Platform specific method for collecting vendor and device ids |
54 bool CollectVideoCardInfo(content::GPUInfo* gpu_info); | 53 bool CollectVideoCardInfo(content::GPUInfo* gpu_info); |
55 | 54 |
56 // Each platform stores the driver version on the GL_VERSION string differently | 55 // Each platform stores the driver version on the GL_VERSION string differently |
57 bool CollectDriverInfoGL(content::GPUInfo* gpu_info); | 56 bool CollectDriverInfoGL(content::GPUInfo* gpu_info); |
58 | 57 |
59 } // namespace gpu_info_collector | 58 } // namespace gpu_info_collector |
60 | 59 |
61 #endif // CONTENT_GPU_GPU_INFO_COLLECTOR_H_ | 60 #endif // CONTENT_GPU_GPU_INFO_COLLECTOR_H_ |
OLD | NEW |