| Index: gpu/command_buffer/service/gles2_cmd_decoder.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| index 297b9cfae811d73fe5deb35bc359013e9f041438..43e34926cb048e2559236f43fe85edaee8b23b67 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
|
| @@ -159,6 +159,10 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>,
|
| // Set the surface associated with the default FBO.
|
| virtual void SetSurface(const scoped_refptr<gfx::GLSurface>& surface) = 0;
|
|
|
| + // Releases the surface associated with the GL context.
|
| + // The decoder should not be used until a new surface is set.
|
| + virtual void ReleaseSurface() = 0;
|
| +
|
| virtual void ProduceFrontBuffer(const Mailbox& mailbox) = 0;
|
|
|
| // Resize an offscreen frame buffer.
|
|
|