Index: ui/gl/gl_image.h |
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
index 214241396becbf60949ed713278eb9ee3323c782..cb92d66707054f7f1ce4ecdca5d1b52eb0e76456 100644 |
--- a/ui/gl/gl_image.h |
+++ b/ui/gl/gl_image.h |
@@ -27,6 +27,9 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
// Get the size of the image. |
virtual gfx::Size GetSize() = 0; |
+ // Get the internal format of the image. |
+ virtual unsigned GetInternalFormat() = 0; |
+ |
// Bind image to texture currently bound to |target|. |
virtual bool BindTexImage(unsigned target) = 0; |