| Index: ui/gfx/gl/gl_surface.h
|
| ===================================================================
|
| --- ui/gfx/gl/gl_surface.h (revision 83213)
|
| +++ ui/gfx/gl/gl_surface.h (working copy)
|
| @@ -19,6 +19,12 @@
|
| GLSurface() {}
|
| virtual ~GLSurface() {}
|
|
|
| + // (Re)create the surface. TODO(apatrick): This is an ugly hack to allow the
|
| + // EGL surface associated to be recreated without destroying the associated
|
| + // context. The implementation of this function for other GLSurface derived
|
| + // classes is in a pending changelist.
|
| + virtual bool Initialize() { return true; }
|
| +
|
| // Destroys the surface.
|
| virtual void Destroy() = 0;
|
|
|
|
|