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/public/interfaces/geometry/geometry.mojom.h" | 13 #include "mojo/services/geometry/public/interfaces/geometry.mojom.h" |
14 #include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h" | 14 #include "mojo/services/public/interfaces/gpu/command_buffer.mojom.h" |
15 #include "mojo/services/public/interfaces/gpu/gpu.mojom.h" | 15 #include "mojo/services/public/interfaces/gpu/gpu.mojom.h" |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class GLShareGroup; | 18 class GLShareGroup; |
19 } | 19 } |
20 | 20 |
21 namespace gpu { | 21 namespace gpu { |
22 class SyncPointManager; | 22 class SyncPointManager; |
23 namespace gles2 { | 23 namespace gles2 { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 private: | 78 private: |
79 mojo::StrongBinding<Gpu> binding_; | 79 mojo::StrongBinding<Gpu> binding_; |
80 scoped_refptr<State> state_; | 80 scoped_refptr<State> state_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(GpuImpl); | 82 DISALLOW_COPY_AND_ASSIGN(GpuImpl); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace gles2 | 85 } // namespace gles2 |
86 | 86 |
87 #endif // SERVICES_GLES2_GPU_IMPL_H_ | 87 #endif // SERVICES_GLES2_GPU_IMPL_H_ |
OLD | NEW |