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 COMPONENTS_GLES2_GPU_IMPL_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_GLES2_GPU_IMPL_H_ |
6 #define COMPONENTS_GLES2_GPU_IMPL_H_ | 6 #define COMPONENTS_VIEW_MANAGER_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 "components/gles2/gpu_state.h" | 11 #include "components/view_manager/gles2/gpu_state.h" |
12 #include "components/gpu/public/interfaces/command_buffer.mojom.h" | 12 #include "components/view_manager/public/interfaces/command_buffer.mojom.h" |
13 #include "components/gpu/public/interfaces/gpu.mojom.h" | 13 #include "components/view_manager/public/interfaces/gpu.mojom.h" |
14 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" | 14 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" |
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
16 #include "ui/mojo/geometry/geometry.mojom.h" | 16 #include "ui/mojo/geometry/geometry.mojom.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; |
(...skipping 15 matching lines...) Expand all Loading... |
39 command_buffer_request) override; | 39 command_buffer_request) override; |
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 // COMPONENTS_GLES2_GPU_IMPL_H_ | 49 #endif // COMPONENTS_VIEW_MANAGER_GLES2_GPU_IMPL_H_ |
OLD | NEW |