Index: ui/gl/gl_context_egl.h |
=================================================================== |
--- ui/gl/gl_context_egl.h (revision 195901) |
+++ ui/gl/gl_context_egl.h (working copy) |
@@ -35,7 +35,10 @@ |
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 @@ |
EGLContext context_; |
EGLDisplay display_; |
EGLConfig config_; |
+ bool recreate_surface_on_makecurrent_; |
DISALLOW_COPY_AND_ASSIGN(GLContextEGL); |
}; |