| 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 CHROME_BROWSER_CHROME_GPU_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROME_GPU_UTIL_H_ |
| 6 #define CHROME_BROWSER_CHROME_GPU_UTIL_H_ | 6 #define CHROME_BROWSER_CHROME_GPU_UTIL_H_ |
| 7 | 7 |
| 8 class CommandLine; | 8 class CommandLine; |
| 9 | 9 |
| 10 namespace gpu_util { | 10 namespace gpu_util { |
| 11 | 11 |
| 12 // Sets up force-compositing-mode and threaded compositing field trials. | 12 // Sets up force-compositing-mode and threaded compositing field trials. |
| 13 void InitializeCompositingFieldTrial(); | 13 void InitializeCompositingFieldTrial(); |
| 14 | 14 |
| 15 // Sets up Stage3D on XP field trial |
| 16 void InitializeStage3DFieldTrial(); |
| 17 |
| 15 // Load GPU Blacklist, collect preliminary gpu info, and compute preliminary | 18 // Load GPU Blacklist, collect preliminary gpu info, and compute preliminary |
| 16 // gpu feature flags. | 19 // gpu feature flags. |
| 17 void InitializeGpuDataManager(const CommandLine& command_line); | 20 void InitializeGpuDataManager(const CommandLine& command_line); |
| 18 | 21 |
| 19 } // namespace gpu_util | 22 } // namespace gpu_util |
| 20 | 23 |
| 21 #endif // CHROME_BROWSER_CHROME_GPU_UTIL_H_ | 24 #endif // CHROME_BROWSER_CHROME_GPU_UTIL_H_ |
| 22 | 25 |
| OLD | NEW |