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_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 5 #ifndef COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
6 #define COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 6 #define COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
10 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
11 #include "cc/output/context_provider.h" | 13 #include "cc/output/context_provider.h" |
12 #include "components/mus/gles2/command_buffer_local_client.h" | 14 #include "components/mus/gles2/command_buffer_local_client.h" |
13 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
14 | 16 |
15 namespace gpu { | 17 namespace gpu { |
16 | 18 |
17 class TransferBuffer; | 19 class TransferBuffer; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 scoped_ptr<CommandBufferLocal> command_buffer_local_; | 77 scoped_ptr<CommandBufferLocal> command_buffer_local_; |
76 | 78 |
77 base::Lock context_lock_; | 79 base::Lock context_lock_; |
78 | 80 |
79 DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider); | 81 DISALLOW_COPY_AND_ASSIGN(SurfacesContextProvider); |
80 }; | 82 }; |
81 | 83 |
82 } // namespace mus | 84 } // namespace mus |
83 | 85 |
84 #endif // COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ | 86 #endif // COMPONENTS_MUS_SURFACES_SURFACES_CONTEXT_PROVIDER_H_ |
OLD | NEW |