| 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..668ca15d57131f13e4c40ef92bb1f1c2313a3573 100644
|
| --- a/ui/gl/gl_surface_egl.h
|
| +++ b/ui/gl/gl_surface_egl.h
|
| @@ -40,6 +40,7 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface {
|
| static const char* GetEGLExtensions();
|
| static bool HasEGLExtension(const char* name);
|
| static bool IsCreateContextRobustnessSupported();
|
| + static bool IsSyncControlSupported();
|
|
|
| protected:
|
| virtual ~GLSurfaceEGL();
|
| @@ -58,6 +59,7 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
|
| // Implement GLSurface.
|
| virtual EGLConfig GetConfig() OVERRIDE;
|
| virtual bool Initialize() OVERRIDE;
|
| + virtual bool Initialize(VSyncProvider* syncProvider) OVERRIDE;
|
| virtual void Destroy() OVERRIDE;
|
| virtual bool Resize(const gfx::Size& size) OVERRIDE;
|
| virtual bool Recreate() OVERRIDE;
|
| @@ -69,6 +71,7 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
|
| virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE;
|
| virtual VSyncProvider* GetVSyncProvider() OVERRIDE;
|
|
|
| +
|
| protected:
|
| virtual ~NativeViewGLSurfaceEGL();
|
| void SetHandle(EGLSurface surface);
|
|
|