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 namespace gpu_util { | 8 namespace gpu_util { |
9 | 9 |
| 10 // Sets up a monitor for browser windows, to be used to determine gpu |
| 11 // managed memory allocation. |
| 12 // Not supported on Android. |
| 13 #if !defined(OS_ANDROID) |
| 14 void InstallBrowserMonitor(); |
| 15 void UninstallBrowserMonitor(); |
| 16 #endif // !defined(OS_ANDROID) |
| 17 |
10 // Sets up Stage3D on XP field trial | 18 // Sets up Stage3D on XP field trial |
11 void InitializeStage3DFieldTrial(); | 19 void InitializeStage3DFieldTrial(); |
12 | 20 |
13 // Sets up force-compositing-mode and threaded compositing field trials. | 21 // Sets up force-compositing-mode and threaded compositing field trials. |
14 void InitializeCompositingFieldTrial(); | 22 void InitializeCompositingFieldTrial(); |
15 | 23 |
16 } // namespace gpu_util | 24 } // namespace gpu_util |
17 | 25 |
18 #endif // CHROME_BROWSER_CHROME_GPU_UTIL_H_ | 26 #endif // CHROME_BROWSER_CHROME_GPU_UTIL_H_ |
19 | 27 |
OLD | NEW |