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 Stage3D on XP field trial | 10 // Sets up Stage3D on XP field trial |
11 void InitializeStage3DFieldTrial(); | 11 void InitializeStage3DFieldTrial(); |
12 | 12 |
13 // Sets up force-compositing-mode and threaded compositing field trials. | 13 // Sets up force-compositing-mode and threaded compositing field trials. |
14 void InitializeCompositingFieldTrial(); | 14 void InitializeCompositingFieldTrial(); |
15 | 15 |
| 16 // Sets up a monitor for browser windows, to be used to determine gpu |
| 17 // managed memory allocation. |
| 18 void InitializeBrowserMonitor(); |
| 19 |
16 } // namespace gpu_util | 20 } // namespace gpu_util |
17 | 21 |
18 #endif // CHROME_BROWSER_CHROME_GPU_UTIL_H_ | 22 #endif // CHROME_BROWSER_CHROME_GPU_UTIL_H_ |
19 | 23 |
OLD | NEW |