| 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 BLIMP_CLIENT_SUPPORT_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ | 5 #ifndef BLIMP_CLIENT_SUPPORT_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ |
| 6 #define BLIMP_CLIENT_SUPPORT_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ | 6 #define BLIMP_CLIENT_SUPPORT_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
| 15 #include "cc/output/context_provider.h" | 15 #include "cc/output/context_provider.h" |
| 16 #include "gpu/command_buffer/client/gl_in_process_context.h" | 16 #include "gpu/ipc/gl_in_process_context.h" |
| 17 #include "ui/gl/gl_surface.h" | 17 #include "ui/gl/gl_surface.h" |
| 18 | 18 |
| 19 namespace skia_bindings { | 19 namespace skia_bindings { |
| 20 class GrContextForGLES2Interface; | 20 class GrContextForGLES2Interface; |
| 21 } // namespace skia_bindings | 21 } // namespace skia_bindings |
| 22 | 22 |
| 23 namespace blimp { | 23 namespace blimp { |
| 24 namespace client { | 24 namespace client { |
| 25 | 25 |
| 26 // Helper class to provide a graphics context for the compositor. | 26 // Helper class to provide a graphics context for the compositor. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 base::Lock context_lock_; | 63 base::Lock context_lock_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(BlimpContextProvider); | 65 DISALLOW_COPY_AND_ASSIGN(BlimpContextProvider); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace client | 68 } // namespace client |
| 69 } // namespace blimp | 69 } // namespace blimp |
| 70 | 70 |
| 71 #endif // BLIMP_CLIENT_SUPPORT_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ | 71 #endif // BLIMP_CLIENT_SUPPORT_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ |
| OLD | NEW |