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/bindings/remote_ptr.h" | 10 #include "mojo/public/bindings/remote_ptr.h" |
11 #include "mojo/public/system/core_cpp.h" | 11 #include "mojo/public/system/core_cpp.h" |
12 #include "mojom/command_buffer.h" | 12 #include "mojo/services/gles2/command_buffer.mojom.h" |
13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
15 | 15 |
16 namespace gpu { | 16 namespace gpu { |
17 class CommandBufferService; | 17 class CommandBufferService; |
18 class GpuScheduler; | 18 class GpuScheduler; |
19 class GpuControlService; | 19 class GpuControlService; |
20 namespace gles2 { | 20 namespace gles2 { |
21 class GLES2Decoder; | 21 class GLES2Decoder; |
22 } | 22 } |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 scoped_ptr<gpu::GpuControlService> gpu_control_; | 64 scoped_ptr<gpu::GpuControlService> gpu_control_; |
65 base::RepeatingTimer<CommandBufferImpl> timer_; | 65 base::RepeatingTimer<CommandBufferImpl> timer_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); | 67 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace services | 70 } // namespace services |
71 } // namespace mojo | 71 } // namespace mojo |
72 | 72 |
73 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ | 73 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ |
OLD | NEW |