| Index: ui/gl/gl_surface_egl.h
|
| diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
|
| index 720c7dd9decb49e6ffc7dd6744a00023992f56af..767ed7b5e9490b66c550ab38cfbae5fe6d4dd823 100644
|
| --- a/ui/gl/gl_surface_egl.h
|
| +++ b/ui/gl/gl_surface_egl.h
|
| @@ -83,6 +83,8 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
|
|
|
| EGLNativeWindowType window_;
|
|
|
| + void OnSetSwapInterval(int interval) override;
|
| +
|
| private:
|
| EGLSurface surface_;
|
| bool supports_post_sub_buffer_;
|
| @@ -91,6 +93,17 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
|
|
|
| scoped_ptr<VSyncProvider> vsync_provider_;
|
|
|
| + int swap_interval_;
|
| +
|
| +#if defined(OS_WIN)
|
| + bool vsync_override_;
|
| +
|
| + unsigned int swap_generation_;
|
| + static unsigned int current_swap_generation_;
|
| + static unsigned int swaps_this_generation_;
|
| + static unsigned int last_multiswap_generation_;
|
| +#endif
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NativeViewGLSurfaceEGL);
|
| };
|
|
|
|
|