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_UTIL_H_ | 5 #ifndef GPU_CONFIG_GPU_UTIL_H_ |
6 #define GPU_CONFIG_GPU_UTIL_H_ | 6 #define GPU_CONFIG_GPU_UTIL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 GPU_EXPORT void InitializeDualGpusIfSupported( | 40 GPU_EXPORT void InitializeDualGpusIfSupported( |
41 const std::set<int>& driver_bug_workarounds); | 41 const std::set<int>& driver_bug_workarounds); |
42 | 42 |
43 // This function should only be called from the GPU process, or the Browser | 43 // This function should only be called from the GPU process, or the Browser |
44 // process while using in-process GPU. This function is safe to call at any | 44 // process while using in-process GPU. This function is safe to call at any |
45 // point, and is not dependent on sandbox initialization. | 45 // point, and is not dependent on sandbox initialization. |
46 GPU_EXPORT GpuFeatureInfo | 46 GPU_EXPORT GpuFeatureInfo |
47 GetGpuFeatureInfo(const GPUInfo& gpu_info, | 47 GetGpuFeatureInfo(const GPUInfo& gpu_info, |
48 const base::CommandLine& command_line); | 48 const base::CommandLine& command_line); |
49 | 49 |
| 50 GPU_EXPORT void SetKeysForCrashLogging(const GPUInfo& gpu_info); |
| 51 |
50 } // namespace gpu | 52 } // namespace gpu |
51 | 53 |
52 #endif // GPU_CONFIG_GPU_UTIL_H_ | 54 #endif // GPU_CONFIG_GPU_UTIL_H_ |
53 | 55 |
OLD | NEW |