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 "gpu/command_buffer/client/gpu_control.h" |
12 #include "gpu/command_buffer/common/command_buffer.h" | 13 #include "gpu/command_buffer/common/command_buffer.h" |
13 #include "gpu/command_buffer/common/command_buffer_shared.h" | 14 #include "gpu/command_buffer/common/command_buffer_shared.h" |
14 #include "gpu/command_buffer/common/gpu_control.h" | |
15 #include "mojo/public/cpp/bindings/error_handler.h" | 15 #include "mojo/public/cpp/bindings/error_handler.h" |
16 #include "mojo/public/cpp/bindings/remote_ptr.h" | 16 #include "mojo/public/cpp/bindings/remote_ptr.h" |
17 #include "mojo/services/gles2/command_buffer.mojom.h" | 17 #include "mojo/services/gles2/command_buffer.mojom.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class RunLoop; | 20 class RunLoop; |
21 } | 21 } |
22 | 22 |
23 namespace mojo { | 23 namespace mojo { |
24 template <typename S> | 24 template <typename S> |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 int32 last_put_offset_; | 106 int32 last_put_offset_; |
107 int32 next_transfer_buffer_id_; | 107 int32 next_transfer_buffer_id_; |
108 | 108 |
109 bool initialize_result_; | 109 bool initialize_result_; |
110 }; | 110 }; |
111 | 111 |
112 } // gles2 | 112 } // gles2 |
113 } // mojo | 113 } // mojo |
114 | 114 |
115 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 115 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
OLD | NEW |