| 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_FEATURE_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ | 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ |
| 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ | 6 #define BLIMP_CLIENT_FEATURE_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/command_buffer/client/gl_in_process_context.h" |
| 17 #include "skia/ext/refptr.h" | |
| 18 #include "ui/gl/gl_surface.h" | 17 #include "ui/gl/gl_surface.h" |
| 19 | 18 |
| 20 namespace skia_bindings { | 19 namespace skia_bindings { |
| 21 class GrContextForGLES2Interface; | 20 class GrContextForGLES2Interface; |
| 22 } // namespace skia_bindings | 21 } // namespace skia_bindings |
| 23 | 22 |
| 24 namespace blimp { | 23 namespace blimp { |
| 25 namespace client { | 24 namespace client { |
| 26 | 25 |
| 27 // Helper class to provide a graphics context for the compositor. | 26 // Helper class to provide a graphics context for the compositor. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 60 |
| 62 LostContextCallback lost_context_callback_; | 61 LostContextCallback lost_context_callback_; |
| 63 | 62 |
| 64 DISALLOW_COPY_AND_ASSIGN(BlimpContextProvider); | 63 DISALLOW_COPY_AND_ASSIGN(BlimpContextProvider); |
| 65 }; | 64 }; |
| 66 | 65 |
| 67 } // namespace client | 66 } // namespace client |
| 68 } // namespace blimp | 67 } // namespace blimp |
| 69 | 68 |
| 70 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ | 69 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ |
| OLD | NEW |