OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_VIEW_MANAGER_GLES2_COMMAND_BUFFER_LOCAL_H_ | 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ |
6 #define COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_LOCAL_H_ | 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_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/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "components/view_manager/gles2/gpu_state.h" | 12 #include "components/mus/gles2/gpu_state.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 "ui/gfx/geometry/size.h" | 15 #include "ui/gfx/geometry/size.h" |
16 #include "ui/gfx/gpu_memory_buffer.h" | 16 #include "ui/gfx/gpu_memory_buffer.h" |
17 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
18 | 18 |
19 namespace gpu { | 19 namespace gpu { |
20 class CommandBuffer; | 20 class CommandBuffer; |
21 class CommandBufferService; | 21 class CommandBufferService; |
22 class GpuScheduler; | 22 class GpuScheduler; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 scoped_refptr<gfx::GLSurface> surface_; | 91 scoped_refptr<gfx::GLSurface> surface_; |
92 CommandBufferLocalClient* client_; | 92 CommandBufferLocalClient* client_; |
93 | 93 |
94 base::WeakPtrFactory<CommandBufferLocal> weak_factory_; | 94 base::WeakPtrFactory<CommandBufferLocal> weak_factory_; |
95 | 95 |
96 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal); | 96 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal); |
97 }; | 97 }; |
98 | 98 |
99 } // namespace gles2 | 99 } // namespace gles2 |
100 | 100 |
101 #endif // COMPONENTS_VIEW_MANAGER_GLES2_COMMAND_BUFFER_LOCAL_H_ | 101 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ |
OLD | NEW |