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_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/shared_memory.h" | 12 #include "base/memory/shared_memory.h" |
13 #include "gpu/command_buffer/common/command_buffer.h" | 13 #include "gpu/command_buffer/common/command_buffer.h" |
14 #include "gpu/command_buffer/common/command_buffer_shared.h" | 14 #include "gpu/command_buffer/common/command_buffer_shared.h" |
15 #include "gpu/command_buffer/common/gpu_control.h" | 15 #include "gpu/command_buffer/common/gpu_control.h" |
16 | |
17 #include "mojo/public/bindings/error_handler.h" | 16 #include "mojo/public/bindings/error_handler.h" |
18 #include "mojo/public/bindings/remote_ptr.h" | 17 #include "mojo/public/bindings/remote_ptr.h" |
19 #include "mojom/command_buffer.h" | 18 #include "mojo/services/gles2/command_buffer.mojom.h" |
20 | 19 |
21 namespace base { | 20 namespace base { |
22 class RunLoop; | 21 class RunLoop; |
23 } | 22 } |
24 | 23 |
25 namespace mojo { | 24 namespace mojo { |
26 template <typename S> | 25 template <typename S> |
27 class SyncDispatcher; | 26 class SyncDispatcher; |
28 | 27 |
29 namespace gles2 { | 28 namespace gles2 { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 int32 next_transfer_buffer_id_; | 119 int32 next_transfer_buffer_id_; |
121 std::queue<base::Closure> echo_closures_; | 120 std::queue<base::Closure> echo_closures_; |
122 | 121 |
123 bool initialize_result_; | 122 bool initialize_result_; |
124 }; | 123 }; |
125 | 124 |
126 } // gles2 | 125 } // gles2 |
127 } // mojo | 126 } // mojo |
128 | 127 |
129 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 128 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
OLD | NEW |