blob: 3245e259b25b43d1de043a90d0aed6d77d936fe2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROME_GPU_UTIL_H_
#define CHROME_BROWSER_CHROME_GPU_UTIL_H_
namespace gpu_util {
// Sets up a monitor for browser windows, to be used to determine gpu
// managed memory allocation.
// Not supported on Android.
#if !defined(OS_ANDROID)
void InstallBrowserMonitor();
void UninstallBrowserMonitor();
#endif // !defined(OS_ANDROID)
// Sets up force-compositing-mode and threaded compositing field trials.
void InitializeCompositingFieldTrial();
} // namespace gpu_util
#endif // CHROME_BROWSER_CHROME_GPU_UTIL_H_
|