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

Unified Diff: ui/gl/gl_surface_egl.h

Issue 712343003: Infrastructure for temportarily relinquishing GPU resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make callback optional. Other changes suggested by jbauman and spang 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_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index b832ef6955dda8e3218d1bee4e8fc826ecc06eda..00c03712d5a8108f50f8ec0648dce3b8d9676c58 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -45,6 +45,7 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface {
protected:
~GLSurfaceEGL() override;
+ static void Deinitialize();
private:
#if defined(OS_WIN)
@@ -82,7 +83,7 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
EGLNativeWindowType window_;
- virtual void SetSwapInterval(int interval) override;
+ void SetSwapInterval(int interval) override;
private:
EGLSurface surface_;

Powered by Google App Engine
This is Rietveld 408576698