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

Unified Diff: ui/gl/gl_surface.h

Issue 13886018: Add a factory and defines for native Linux surfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: vsync provider, better transport_dib, etc. 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.h
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index a8825a58c5a4a1af229047342862c6f746b9fe7a..52e1f2af108b8c33ddebc17690cca7f62191e801 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -30,6 +30,10 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
// classes is in a pending changelist.
virtual bool Initialize();
+ // Identical to Initialize but using the provided VSyncProvider if the surface
+ // type (EGL only at present) supports an injected VSyncProvider instance.
+ virtual bool Initialize(VSyncProvider* syncProvider);
piman 2013/05/18 01:47:19 Could we move this to the NativeViewGLSurfaceEGL c
rjkroege 2013/05/21 17:36:28 Done.
+
// Destroys the surface.
virtual void Destroy() = 0;

Powered by Google App Engine
This is Rietveld 408576698