| 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_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ | 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ |
| 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ | 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "gpu/command_buffer/common/command_buffer_id.h" | 22 #include "gpu/command_buffer/common/command_buffer_id.h" |
| 23 #include "gpu/command_buffer/common/command_buffer_shared.h" | 23 #include "gpu/command_buffer/common/command_buffer_shared.h" |
| 24 #include "ui/gfx/geometry/size.h" | 24 #include "ui/gfx/geometry/size.h" |
| 25 #include "ui/gfx/gpu_memory_buffer.h" | 25 #include "ui/gfx/gpu_memory_buffer.h" |
| 26 #include "ui/gfx/native_widget_types.h" | 26 #include "ui/gfx/native_widget_types.h" |
| 27 | 27 |
| 28 namespace { | 28 namespace { |
| 29 class WaitableEvent; | 29 class WaitableEvent; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace gfx { | 32 namespace gl { |
| 33 class GLContext; | 33 class GLContext; |
| 34 class GLSurface; | 34 class GLSurface; |
| 35 } | 35 } |
| 36 | 36 |
| 37 namespace gpu { | 37 namespace gpu { |
| 38 class GpuControlClient; | 38 class GpuControlClient; |
| 39 class SyncPointClient; | 39 class SyncPointClient; |
| 40 } | 40 } |
| 41 | 41 |
| 42 namespace mus { | 42 namespace mus { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 // This weak factory will be invalidated in the client thread, so all weak | 171 // This weak factory will be invalidated in the client thread, so all weak |
| 172 // pointers have to be dereferenced in the client thread too. | 172 // pointers have to be dereferenced in the client thread too. |
| 173 base::WeakPtrFactory<CommandBufferLocal> weak_factory_; | 173 base::WeakPtrFactory<CommandBufferLocal> weak_factory_; |
| 174 | 174 |
| 175 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal); | 175 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal); |
| 176 }; | 176 }; |
| 177 | 177 |
| 178 } // namespace mus | 178 } // namespace mus |
| 179 | 179 |
| 180 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ | 180 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ |
| OLD | NEW |