Chromium Code Reviews| Index: ui/gl/gl_image.h |
| diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
| index 859966c6a7f00d804c9bd1d7def8632a27c3d689..027abe504ab7a4b89259e2ee962e960b9cb63901 100644 |
| --- a/ui/gl/gl_image.h |
| +++ b/ui/gl/gl_image.h |
| @@ -39,6 +39,10 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
| // Called after the texture has been used for drawing. |
| virtual void DidUseTexImage(); |
| + // Indicate that the DidUse should release image in DidUse. |
|
reveman
2013/11/12 20:56:54
Please rephrase this comment. Maybe "Indicate that
boliu
2013/11/12 21:06:50
Done.
|
| + // (For an Android work-around only). |
| + virtual void SetReleaseAfterUse(); |
| + |
| // Create a GL image for a window. |
| static scoped_refptr<GLImage> CreateGLImage(gfx::PluginWindowHandle window); |