| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 scoped_refptr<cc::VulkanInProcessContextProvider> | 97 scoped_refptr<cc::VulkanInProcessContextProvider> |
| 98 SharedVulkanContextProvider(); | 98 SharedVulkanContextProvider(); |
| 99 | 99 |
| 100 typedef std::map<ui::Compositor*, PerCompositorData*> PerCompositorDataMap; | 100 typedef std::map<ui::Compositor*, PerCompositorData*> PerCompositorDataMap; |
| 101 PerCompositorDataMap per_compositor_data_; | 101 PerCompositorDataMap per_compositor_data_; |
| 102 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_; | 102 scoped_refptr<ContextProviderCommandBuffer> shared_main_thread_contexts_; |
| 103 std::unique_ptr<display_compositor::GLHelper> gl_helper_; | 103 std::unique_ptr<display_compositor::GLHelper> gl_helper_; |
| 104 base::ObserverList<ui::ContextFactoryObserver> observer_list_; | 104 base::ObserverList<ui::ContextFactoryObserver> observer_list_; |
| 105 std::unique_ptr<cc::SurfaceManager> surface_manager_; | 105 std::unique_ptr<cc::SurfaceManager> surface_manager_; |
| 106 uint32_t next_surface_id_namespace_; | 106 uint32_t next_surface_client_id_; |
| 107 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; | 107 std::unique_ptr<cc::SingleThreadTaskGraphRunner> task_graph_runner_; |
| 108 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; | 108 scoped_refptr<ContextProviderCommandBuffer> shared_worker_context_provider_; |
| 109 | 109 |
| 110 bool shared_vulkan_context_provider_initialized_ = false; | 110 bool shared_vulkan_context_provider_initialized_ = false; |
| 111 scoped_refptr<cc::VulkanInProcessContextProvider> | 111 scoped_refptr<cc::VulkanInProcessContextProvider> |
| 112 shared_vulkan_context_provider_; | 112 shared_vulkan_context_provider_; |
| 113 | 113 |
| 114 #if defined(OS_WIN) | 114 #if defined(OS_WIN) |
| 115 std::unique_ptr<OutputDeviceBacking> software_backing_; | 115 std::unique_ptr<OutputDeviceBacking> software_backing_; |
| 116 #endif | 116 #endif |
| 117 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; | 117 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; |
| 118 | 118 |
| 119 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); | 119 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace content | 122 } // namespace content |
| 123 | 123 |
| 124 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ | 124 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ |
| OLD | NEW |