| Index: ui/gl/gl_context_egl.h
|
| diff --git a/ui/gl/gl_context_egl.h b/ui/gl/gl_context_egl.h
|
| index e45cc251890145fcca9279814843edfa61d44a3e..a4f0cbfa34ce041b4da85de7f4811e55a1906a55 100644
|
| --- a/ui/gl/gl_context_egl.h
|
| +++ b/ui/gl/gl_context_egl.h
|
| @@ -35,6 +35,9 @@ class GLContextEGL : public GLContext {
|
| virtual std::string GetExtensions() OVERRIDE;
|
| virtual bool WasAllocatedUsingRobustnessExtension() OVERRIDE;
|
| virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE;
|
| + virtual void SetRecreateSurfaceOnMakeCurrent() OVERRIDE;
|
| +
|
| + bool RecreateSurfaceIfNeeded(GLSurface* surface);
|
|
|
| protected:
|
| virtual ~GLContextEGL();
|
| @@ -43,6 +46,7 @@ class GLContextEGL : public GLContext {
|
| EGLContext context_;
|
| EGLDisplay display_;
|
| EGLConfig config_;
|
| + bool recreate_surface_on_makecurrent_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GLContextEGL);
|
| };
|
|
|