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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_gpu_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_gpu_util.h
diff --git a/chrome/browser/chrome_gpu_util.h b/chrome/browser/chrome_gpu_util.h
index a4f9efc800c335a33f526bf95fd7e88b3f69e2ce..e7da93065fed62e41f152197a142df6030a06666 100644
--- a/chrome/browser/chrome_gpu_util.h
+++ b/chrome/browser/chrome_gpu_util.h
@@ -7,6 +7,14 @@
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();
« 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