Chromium Code Reviews| Index: ui/gl/gl_image.h |
| diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
| index 8df7c71f2fcc999a67ff1ed237edd7d6c90a5b9d..128962f28dcf199f6751d178376b5254f132665d 100644 |
| --- a/ui/gl/gl_image.h |
| +++ b/ui/gl/gl_image.h |
| @@ -8,7 +8,6 @@ |
| #include "base/memory/ref_counted.h" |
| #include "ui/gfx/native_widget_types.h" |
| #include "ui/gfx/size.h" |
| -#include "ui/gl/gl_bindings.h" |
| #include "ui/gl/gl_export.h" |
| namespace gfx { |
| @@ -36,6 +35,10 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
| // Create a GL image for a window. |
| static scoped_refptr<GLImage> CreateGLImage(gfx::PluginWindowHandle window); |
| + // Create a GL image for a zero-copy buffer. |
| + static scoped_refptr<GLImage> CreateGLImageForPixelBuffer( |
| + gfx::PixelBufferHandle window, const gfx::Size& size); |
|
reveman
2013/04/05 00:13:24
"window" is not a very good name for that paramete
|
| + |
| protected: |
| virtual ~GLImage(); |