Index: ui/gl/gl_image.h |
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
index 7798423da12ed6ff683689d4ad7861ffdd03c863..45303fd64602321259973a4090478e645390ca37 100644 |
--- a/ui/gl/gl_image.h |
+++ b/ui/gl/gl_image.h |
@@ -6,15 +6,11 @@ |
#define UI_GL_GL_IMAGE_H_ |
#include "base/memory/ref_counted.h" |
-#include "ui/gfx/gpu_memory_buffer.h" |
-#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/size.h" |
#include "ui/gl/gl_export.h" |
namespace gfx { |
-class GLSurface; |
- |
// Encapsulates an image that can be bound to a texture, hiding platform |
// specific management. |
class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
@@ -49,15 +45,6 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
// (For an Android work-around only). |
virtual void SetReleaseAfterUse(); |
- // Create a GL image for a window. |
- static scoped_refptr<GLImage> CreateGLImage(gfx::PluginWindowHandle window); |
- |
- // Create a GL image for a GPU Memory buffer. |
- static scoped_refptr<GLImage> CreateGLImageForGpuMemoryBuffer( |
- gfx::GpuMemoryBufferHandle buffer, |
- gfx::Size size, |
- unsigned internalformat); |
- |
protected: |
virtual ~GLImage(); |