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 "components/view_manager/public/interfaces/command_buffer.mojom.h" | 12 #include "components/view_manager/public/interfaces/command_buffer.mojom.h" |
13 #include "gpu/command_buffer/client/gpu_control.h" | 13 #include "gpu/command_buffer/client/gpu_control.h" |
14 #include "gpu/command_buffer/common/command_buffer.h" | 14 #include "gpu/command_buffer/common/command_buffer.h" |
15 #include "gpu/command_buffer/common/command_buffer_shared.h" | 15 #include "gpu/command_buffer/common/command_buffer_shared.h" |
16 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | |
17 | 16 |
18 namespace base { | 17 namespace base { |
19 class RunLoop; | 18 class RunLoop; |
20 } | 19 } |
21 | 20 |
22 namespace gles2 { | 21 namespace gles2 { |
23 class CommandBufferClientImpl; | 22 class CommandBufferClientImpl; |
24 | 23 |
25 class CommandBufferDelegate { | 24 class CommandBufferDelegate { |
26 public: | 25 public: |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 99 |
101 // Image IDs are allocated in sequence. | 100 // Image IDs are allocated in sequence. |
102 int next_image_id_; | 101 int next_image_id_; |
103 | 102 |
104 const MojoAsyncWaiter* async_waiter_; | 103 const MojoAsyncWaiter* async_waiter_; |
105 }; | 104 }; |
106 | 105 |
107 } // gles2 | 106 } // gles2 |
108 | 107 |
109 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 108 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
OLD | NEW |