OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ |
6 #define MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ | 6 #define MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/timer/timer.h" | 9 #include "base/timer/timer.h" |
10 #include "mojo/public/cpp/system/core.h" | 10 #include "mojo/public/cpp/system/core.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 void DrawAnimationFrame(); | 60 void DrawAnimationFrame(); |
61 | 61 |
62 CommandBufferSyncClientPtr sync_client_; | 62 CommandBufferSyncClientPtr sync_client_; |
63 | 63 |
64 gfx::AcceleratedWidget widget_; | 64 gfx::AcceleratedWidget widget_; |
65 gfx::Size size_; | 65 gfx::Size size_; |
66 scoped_ptr<gpu::CommandBufferService> command_buffer_; | 66 scoped_ptr<gpu::CommandBufferService> command_buffer_; |
67 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; | 67 scoped_ptr<gpu::gles2::GLES2Decoder> decoder_; |
68 scoped_ptr<gpu::GpuScheduler> scheduler_; | 68 scoped_ptr<gpu::GpuScheduler> scheduler_; |
69 scoped_ptr<gpu::GpuControlService> gpu_control_; | |
70 scoped_refptr<gfx::GLSurface> surface_; | 69 scoped_refptr<gfx::GLSurface> surface_; |
71 base::RepeatingTimer<CommandBufferImpl> timer_; | 70 base::RepeatingTimer<CommandBufferImpl> timer_; |
72 | 71 |
73 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); | 72 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); |
74 }; | 73 }; |
75 | 74 |
76 } // namespace services | 75 } // namespace services |
77 } // namespace mojo | 76 } // namespace mojo |
78 | 77 |
79 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ | 78 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ |
OLD | NEW |