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 CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 PerCompositorDataMap; | 121 PerCompositorDataMap; |
122 PerCompositorDataMap per_compositor_data_; | 122 PerCompositorDataMap per_compositor_data_; |
123 | 123 |
124 scoped_refptr<ui::ContextProviderCommandBuffer> shared_main_thread_contexts_; | 124 scoped_refptr<ui::ContextProviderCommandBuffer> shared_main_thread_contexts_; |
125 std::unique_ptr<display_compositor::GLHelper> gl_helper_; | 125 std::unique_ptr<display_compositor::GLHelper> gl_helper_; |
126 base::ObserverList<ui::ContextFactoryObserver> observer_list_; | 126 base::ObserverList<ui::ContextFactoryObserver> observer_list_; |
127 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; | 127 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; |
128 scoped_refptr<ui::ContextProviderCommandBuffer> | 128 scoped_refptr<ui::ContextProviderCommandBuffer> |
129 shared_worker_context_provider_; | 129 shared_worker_context_provider_; |
130 | 130 |
| 131 bool disable_display_vsync_ = false; |
131 bool shared_vulkan_context_provider_initialized_ = false; | 132 bool shared_vulkan_context_provider_initialized_ = false; |
132 scoped_refptr<cc::VulkanInProcessContextProvider> | 133 scoped_refptr<cc::VulkanInProcessContextProvider> |
133 shared_vulkan_context_provider_; | 134 shared_vulkan_context_provider_; |
134 | 135 |
135 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; | 136 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; |
136 | 137 |
137 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; | 138 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; |
138 | 139 |
139 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); | 140 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); |
140 }; | 141 }; |
141 | 142 |
142 } // namespace content | 143 } // namespace content |
143 | 144 |
144 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 145 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
OLD | NEW |