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 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
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 #include "mojo/public/bindings/error_handler.h" | 16 #include "mojo/public/cpp/bindings/error_handler.h" |
17 #include "mojo/public/bindings/remote_ptr.h" | 17 #include "mojo/public/cpp/bindings/remote_ptr.h" |
18 #include "mojo/services/gles2/command_buffer.mojom.h" | 18 #include "mojo/services/gles2/command_buffer.mojom.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class RunLoop; | 21 class RunLoop; |
22 } | 22 } |
23 | 23 |
24 namespace mojo { | 24 namespace mojo { |
25 template <typename S> | 25 template <typename S> |
26 class SyncDispatcher; | 26 class SyncDispatcher; |
27 | 27 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 int32 last_put_offset_; | 119 int32 last_put_offset_; |
120 int32 next_transfer_buffer_id_; | 120 int32 next_transfer_buffer_id_; |
121 | 121 |
122 bool initialize_result_; | 122 bool initialize_result_; |
123 }; | 123 }; |
124 | 124 |
125 } // gles2 | 125 } // gles2 |
126 } // mojo | 126 } // mojo |
127 | 127 |
128 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 128 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
OLD | NEW |