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

Unified Diff: ui/gl/gl_surface.h

Issue 712343003: Infrastructure for temportarily relinquishing GPU resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try trybots again. Maybe now I have access 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
Index: ui/gl/gl_surface.h
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index 19b45e64153c83fdab474fbfc0c75ed6e76089c6..09faeb2cbf69d606d84f69e118b5490b678ebb2b 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -38,6 +38,10 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
// Destroys the surface.
virtual void Destroy() = 0;
+ // Destroys the surface and Terminates its underlying display. This must be
dcheng 2014/11/21 03:06:04 terminates.
GusFernandez 2014/11/21 19:13:56 Done.
+ // the last surface which uses the display.
+ virtual void DestroyAndTerminateDisplay();
+
virtual bool Resize(const gfx::Size& size);
// Recreate the surface without changing the size.

Powered by Google App Engine
This is Rietveld 408576698