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_GPU_CHROME_GPU_UTIL_H_ | 5 #ifndef CHROME_BROWSER_GPU_CHROME_GPU_UTIL_H_ |
6 #define CHROME_BROWSER_GPU_CHROME_GPU_UTIL_H_ | 6 #define CHROME_BROWSER_GPU_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 | |
18 // Sets up force-compositing-mode and threaded compositing field trials. | 10 // Sets up force-compositing-mode and threaded compositing field trials. |
19 void InitializeCompositingFieldTrial(); | 11 void InitializeCompositingFieldTrial(); |
20 | 12 |
21 } // namespace gpu_util | 13 } // namespace gpu_util |
22 | 14 |
23 #endif // CHROME_BROWSER_GPU_CHROME_GPU_UTIL_H_ | 15 #endif // CHROME_BROWSER_GPU_CHROME_GPU_UTIL_H_ |
24 | 16 |
OLD | NEW |