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 <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "components/mus/public/interfaces/command_buffer.mojom.h" | 13 #include "components/mus/public/interfaces/command_buffer.mojom.h" |
14 #include "gpu/command_buffer/client/gpu_control.h" | 14 #include "gpu/command_buffer/client/gpu_control.h" |
15 #include "gpu/command_buffer/common/command_buffer.h" | 15 #include "gpu/command_buffer/common/command_buffer.h" |
16 #include "gpu/command_buffer/common/command_buffer_shared.h" | 16 #include "gpu/command_buffer/common/command_buffer_shared.h" |
17 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 17 #include "mojo/public/cpp/bindings/binding.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class RunLoop; | 20 class RunLoop; |
21 } | 21 } |
22 | 22 |
23 namespace gles2 { | 23 namespace gles2 { |
24 class CommandBufferClientImpl; | 24 class CommandBufferClientImpl; |
25 | 25 |
26 class CommandBufferDelegate { | 26 class CommandBufferDelegate { |
27 public: | 27 public: |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 uint64_t next_fence_sync_release_; | 117 uint64_t next_fence_sync_release_; |
118 uint64_t flushed_fence_sync_release_; | 118 uint64_t flushed_fence_sync_release_; |
119 | 119 |
120 const MojoAsyncWaiter* async_waiter_; | 120 const MojoAsyncWaiter* async_waiter_; |
121 }; | 121 }; |
122 | 122 |
123 } // gles2 | 123 } // gles2 |
124 | 124 |
125 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ | 125 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ |
OLD | NEW |