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 SERVICES_GLES2_GPU_IMPL_H_ | 5 #ifndef SERVICES_GLES2_GPU_IMPL_H_ |
6 #define SERVICES_GLES2_GPU_IMPL_H_ | 6 #define SERVICES_GLES2_GPU_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
11 #include "mojo/public/cpp/bindings/interface_request.h" | 11 #include "mojo/public/cpp/bindings/interface_request.h" |
12 #include "mojo/public/cpp/bindings/strong_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_binding.h" |
13 #include "mojo/services/geometry/public/interfaces/geometry.mojom.h" | 13 #include "mojo/services/geometry/interfaces/geometry.mojom.h" |
14 #include "mojo/services/gpu/public/interfaces/command_buffer.mojom.h" | 14 #include "mojo/services/gpu/interfaces/command_buffer.mojom.h" |
15 #include "mojo/services/gpu/public/interfaces/gpu.mojom.h" | 15 #include "mojo/services/gpu/interfaces/gpu.mojom.h" |
16 #include "services/gles2/gpu_state.h" | 16 #include "services/gles2/gpu_state.h" |
17 | 17 |
18 namespace gfx { | 18 namespace gfx { |
19 class GLShareGroup; | 19 class GLShareGroup; |
20 } | 20 } |
21 | 21 |
22 namespace gpu { | 22 namespace gpu { |
23 class SyncPointManager; | 23 class SyncPointManager; |
24 namespace gles2 { | 24 namespace gles2 { |
25 class MailboxManager; | 25 class MailboxManager; |
(...skipping 14 matching lines...) Expand all Loading... |
40 | 40 |
41 mojo::StrongBinding<Gpu> binding_; | 41 mojo::StrongBinding<Gpu> binding_; |
42 scoped_refptr<GpuState> state_; | 42 scoped_refptr<GpuState> state_; |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(GpuImpl); | 44 DISALLOW_COPY_AND_ASSIGN(GpuImpl); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace gles2 | 47 } // namespace gles2 |
48 | 48 |
49 #endif // SERVICES_GLES2_GPU_IMPL_H_ | 49 #endif // SERVICES_GLES2_GPU_IMPL_H_ |
OLD | NEW |