Index: ui/ozone/demo/surfaceless_gl_renderer.h |
diff --git a/ui/ozone/demo/surfaceless_gl_renderer.h b/ui/ozone/demo/surfaceless_gl_renderer.h |
index b073c64530251eafe55b9e151fa4788ab02ef082..1563a856124a1361b9e4a54b5c7aaeb556596bdd 100644 |
--- a/ui/ozone/demo/surfaceless_gl_renderer.h |
+++ b/ui/ozone/demo/surfaceless_gl_renderer.h |
@@ -13,14 +13,9 @@ class GLImage; |
namespace ui { |
-class GpuMemoryBufferFactoryOzoneNativePixmap; |
- |
class SurfacelessGlRenderer : public GlRenderer { |
public: |
- SurfacelessGlRenderer( |
- gfx::AcceleratedWidget widget, |
- const gfx::Size& size, |
- GpuMemoryBufferFactoryOzoneNativePixmap* buffer_factory); |
+ SurfacelessGlRenderer(gfx::AcceleratedWidget widget, const gfx::Size& size); |
~SurfacelessGlRenderer() override; |
// Renderer: |
@@ -36,9 +31,7 @@ class SurfacelessGlRenderer : public GlRenderer { |
BufferWrapper(); |
~BufferWrapper(); |
- bool Initialize(GpuMemoryBufferFactoryOzoneNativePixmap* buffer_factory, |
- gfx::AcceleratedWidget widget, |
- const gfx::Size& size); |
+ bool Initialize(gfx::AcceleratedWidget widget, const gfx::Size& size); |
void BindFramebuffer(); |
void SchedulePlane(); |
@@ -51,8 +44,6 @@ class SurfacelessGlRenderer : public GlRenderer { |
unsigned int gl_tex_ = 0; |
}; |
- GpuMemoryBufferFactoryOzoneNativePixmap* buffer_factory_; |
- |
BufferWrapper buffers_[2]; |
int back_buffer_ = 0; |