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

Unified Diff: ui/gl/gl_surface_egl.h

Issue 13886018: Add a factory and defines for native Linux surfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed clang build issue Created 7 years, 7 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
Index: ui/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index 6440504846c9f55924b2dd4040af8bf68cdaaf89..04db3a9691438eb5bffadcea74a895191d5f9e1e 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -69,6 +69,9 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE;
virtual VSyncProvider* GetVSyncProvider() OVERRIDE;
+ // Create a NativeViewGLSurfaceEGL with an externally provided VSyncProvider.
+ virtual bool Initialize(VSyncProvider* sync_provider);
+
protected:
virtual ~NativeViewGLSurfaceEGL();
void SetHandle(EGLSurface surface);

Powered by Google App Engine
This is Rietveld 408576698