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 #include "content/browser/compositor/gpu_process_transport_factory.h" | 5 #include "content/browser/compositor/gpu_process_transport_factory.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/memory/ptr_util.h" |
13 #include "base/metrics/histogram_macros.h" | 14 #include "base/metrics/histogram_macros.h" |
14 #include "base/profiler/scoped_tracker.h" | 15 #include "base/profiler/scoped_tracker.h" |
15 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
16 #include "base/threading/simple_thread.h" | 17 #include "base/threading/simple_thread.h" |
17 #include "base/threading/thread.h" | 18 #include "base/threading/thread.h" |
18 #include "base/threading/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
19 #include "build/build_config.h" | 20 #include "build/build_config.h" |
20 #include "cc/base/histograms.h" | 21 #include "cc/base/histograms.h" |
21 #include "cc/output/texture_mailbox_deleter.h" | 22 #include "cc/output/texture_mailbox_deleter.h" |
22 #include "cc/output/vulkan_in_process_context_provider.h" | 23 #include "cc/output/vulkan_in_process_context_provider.h" |
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 shared_vulkan_context_provider_ = | 906 shared_vulkan_context_provider_ = |
906 cc::VulkanInProcessContextProvider::Create(); | 907 cc::VulkanInProcessContextProvider::Create(); |
907 } | 908 } |
908 | 909 |
909 shared_vulkan_context_provider_initialized_ = true; | 910 shared_vulkan_context_provider_initialized_ = true; |
910 } | 911 } |
911 return shared_vulkan_context_provider_; | 912 return shared_vulkan_context_provider_; |
912 } | 913 } |
913 | 914 |
914 } // namespace content | 915 } // namespace content |
OLD | NEW |