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

Unified Diff: ui/ozone/public/ozone_platform.cc

Issue 712343003: Infrastructure for temportarily relinquishing GPU resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean-up based on feedback from spang and jbauman Created 6 years, 1 month 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
« ui/gl/gl_surface_egl.cc ('K') | « ui/ozone/public/ozone_platform.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/ozone_platform.cc
diff --git a/ui/ozone/public/ozone_platform.cc b/ui/ozone/public/ozone_platform.cc
index 654026f2d49a4671de54ec07de5a72fde73ed290..21614f4ec04c61bc8d71cd61dbcba150e07e6c50 100644
--- a/ui/ozone/public/ozone_platform.cc
+++ b/ui/ozone/public/ozone_platform.cc
@@ -32,6 +32,10 @@ OzonePlatform::~OzonePlatform() {
instance_ = NULL;
}
+void OzonePlatform::RelinquishGpuResources(base::Closure callback) {
+ callback.Run();
+}
+
// static
void OzonePlatform::InitializeForUI() {
CreateInstance();
« ui/gl/gl_surface_egl.cc ('K') | « ui/ozone/public/ozone_platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698