Index: ui/gl/gl_image.h |
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
index c3a9b9271015d6b76620d4ea81893b23b4e887a3..45fac2abcdc37f4e5ec8822f7a457842d6febfd8 100644 |
--- a/ui/gl/gl_image.h |
+++ b/ui/gl/gl_image.h |
@@ -33,6 +33,9 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
// Release image from texture currently bound to |target|. |
virtual void ReleaseTexImage(unsigned target) = 0; |
+ // Copy image to texture currently bound to |target|. |
+ virtual bool CopyTexImage(unsigned target) = 0; |
+ |
// Called before the texture is used for drawing. |
virtual void WillUseTexImage() = 0; |