Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: blimp/client/support/compositor/blimp_context_provider.h

Issue 2297933002: blimp: Set up the CompositorDependencies for blimp in Chrome. (Closed)
Patch Set: retry gpu process failures after crbug.com/643282 Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 base::ThreadChecker main_thread_checker_; 54 base::ThreadChecker main_thread_checker_;
55 base::ThreadChecker context_thread_checker_; 55 base::ThreadChecker context_thread_checker_;
56 56
57 std::unique_ptr<gpu::GLInProcessContext> context_; 57 std::unique_ptr<gpu::GLInProcessContext> context_;
58 std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_; 58 std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_;
59 std::unique_ptr<cc::ContextCacheController> cache_controller_; 59 std::unique_ptr<cc::ContextCacheController> cache_controller_;
60 60
61 LostContextCallback lost_context_callback_; 61 LostContextCallback lost_context_callback_;
62 62
63 base::Lock context_lock_;
64
63 DISALLOW_COPY_AND_ASSIGN(BlimpContextProvider); 65 DISALLOW_COPY_AND_ASSIGN(BlimpContextProvider);
64 }; 66 };
65 67
66 } // namespace client 68 } // namespace client
67 } // namespace blimp 69 } // namespace blimp
68 70
69 #endif // BLIMP_CLIENT_SUPPORT_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_ 71 #endif // BLIMP_CLIENT_SUPPORT_COMPOSITOR_BLIMP_CONTEXT_PROVIDER_H_
OLDNEW
« no previous file with comments | « blimp/client/public/compositor/compositor_dependencies.h ('k') | blimp/client/support/compositor/blimp_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698