OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ |
6 #define MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ | 6 #define 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/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "mojo/public/cpp/bindings/strong_binding.h" | 11 #include "mojo/public/cpp/bindings/strong_binding.h" |
12 #include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h" | 12 #include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h" |
13 #include "mojo/services/public/interfaces/gpu/viewport_parameter_listener.mojom.
h" | 13 #include "mojo/services/public/interfaces/gpu/viewport_parameter_listener.mojom.
h" |
14 | 14 |
15 namespace gpu { | 15 namespace gpu { |
16 class SyncPointManager; | 16 class SyncPointManager; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 CommandBufferSyncPointClientPtr sync_point_client_; | 60 CommandBufferSyncPointClientPtr sync_point_client_; |
61 ViewportParameterListenerPtr viewport_parameter_listener_; | 61 ViewportParameterListenerPtr viewport_parameter_listener_; |
62 StrongBinding<CommandBuffer> binding_; | 62 StrongBinding<CommandBuffer> binding_; |
63 | 63 |
64 base::WeakPtrFactory<CommandBufferImpl> weak_factory_; | 64 base::WeakPtrFactory<CommandBufferImpl> weak_factory_; |
65 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); | 65 DISALLOW_COPY_AND_ASSIGN(CommandBufferImpl); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace mojo | 68 } // namespace mojo |
69 | 69 |
70 #endif // MOJO_SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ | 70 #endif // SERVICES_GLES2_COMMAND_BUFFER_IMPL_H_ |
OLD | NEW |