| 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_VIEW_MANAGER_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
| 6 #define COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 6 #define COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
| 10 #include "base/threading/non_thread_safe.h" | 10 #include "base/threading/non_thread_safe.h" |
| 11 #include "cc/output/context_provider.h" | 11 #include "cc/output/context_provider.h" |
| 12 #include "components/view_manager/gles2/command_buffer_local_client.h" | 12 #include "components/mus/gles2/command_buffer_local_client.h" |
| 13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 14 | 14 |
| 15 namespace gpu { | 15 namespace gpu { |
| 16 | 16 |
| 17 class TransferBuffer; | 17 class TransferBuffer; |
| 18 | 18 |
| 19 namespace gles2 { | 19 namespace gles2 { |
| 20 class GLES2CmdHelper; | 20 class GLES2CmdHelper; |
| 21 class GLES2Implementation; | 21 class GLES2Implementation; |
| 22 } | 22 } |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 scoped_ptr<gles2::CommandBufferLocal> command_buffer_local_; | 84 scoped_ptr<gles2::CommandBufferLocal> command_buffer_local_; |
| 85 | 85 |
| 86 base::Lock context_lock_; | 86 base::Lock context_lock_; |
| 87 | 87 |
| 88 DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider); | 88 DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider); |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 } // namespace surfaces | 91 } // namespace surfaces |
| 92 | 92 |
| 93 #endif // COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 93 #endif // COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
| OLD | NEW |