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; |