summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_gpu_util.h
blob: e7da93065fed62e41f152197a142df6030a06666 (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
25
26
27
// 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 Stage3D on XP field trial
void InitializeStage3DFieldTrial();

// Sets up force-compositing-mode and threaded compositing field trials.
void InitializeCompositingFieldTrial();

}  // namespace gpu_util

#endif  // CHROME_BROWSER_CHROME_GPU_UTIL_H_