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..a98dda48ef753565b74358eab7ef0d58af1c9095 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 tex image in DidUse. |
|
kaanb
2013/11/12 18:49:57
s/tex image/image/ here and elsewhere
boliu
2013/11/12 19:07:20
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); |