Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: chrome/browser/chrome_gpu_util.h

Issue 11026015: Add calls to inform gpu of browser window count (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable on Android Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_gpu_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_gpu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698