Index: mojo/services/gles2/command_buffer_impl.h |
diff --git a/mojo/services/gles2/command_buffer_impl.h b/mojo/services/gles2/command_buffer_impl.h |
index 5d1c7bdd2051de72915440421436a59246a0870d..f010388a83c4e240e6410e488fc319815849cfc9 100644 |
--- a/mojo/services/gles2/command_buffer_impl.h |
+++ b/mojo/services/gles2/command_buffer_impl.h |
@@ -21,6 +21,10 @@ class GLES2Decoder; |
} |
} |
+namespace gfx { |
+class GLSurface; |
+} |
+ |
namespace mojo { |
namespace services { |
@@ -49,6 +53,8 @@ class CommandBufferImpl : public InterfaceImpl<CommandBuffer> { |
private: |
bool DoInitialize(mojo::ScopedSharedBufferHandle shared_state); |
+ void OnResize(gfx::Size size, float scale_factor); |
+ |
void OnParseError(); |
void DrawAnimationFrame(); |
@@ -61,6 +67,7 @@ class CommandBufferImpl : public InterfaceImpl<CommandBuffer> { |
scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; |
scoped_ptr<gpu::GpuScheduler> scheduler_; |
scoped_ptr<gpu::GpuControlService> gpu_control_; |
+ scoped_refptr<gfx::GLSurface> surface_; |
base::RepeatingTimer<CommandBufferImpl> timer_; |
DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); |