OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "services/ui/gpu/gpu_main.h" | 5 #include "services/ui/gpu/gpu_main.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/power_monitor/power_monitor_device_source.h" | 10 #include "base/power_monitor/power_monitor_device_source.h" |
| 11 #include "base/single_thread_task_runner.h" |
11 #include "components/viz/frame_sinks/mojo_frame_sink_manager.h" | 12 #include "components/viz/frame_sinks/mojo_frame_sink_manager.h" |
12 #include "gpu/command_buffer/common/activity_flags.h" | 13 #include "gpu/command_buffer/common/activity_flags.h" |
13 #include "gpu/ipc/common/gpu_memory_buffer_support.h" | 14 #include "gpu/ipc/common/gpu_memory_buffer_support.h" |
14 #include "gpu/ipc/gpu_in_process_thread_service.h" | 15 #include "gpu/ipc/gpu_in_process_thread_service.h" |
15 #include "gpu/ipc/service/gpu_memory_buffer_factory.h" | 16 #include "gpu/ipc/service/gpu_memory_buffer_factory.h" |
16 #include "gpu/ipc/service/gpu_watchdog_thread.h" | 17 #include "gpu/ipc/service/gpu_watchdog_thread.h" |
17 #include "services/ui/common/server_gpu_memory_buffer_manager.h" | 18 #include "services/ui/common/server_gpu_memory_buffer_manager.h" |
18 #include "services/ui/gpu/gpu_service.h" | 19 #include "services/ui/gpu/gpu_service.h" |
19 #include "services/ui/surfaces/mus_display_provider.h" | 20 #include "services/ui/surfaces/mus_display_provider.h" |
20 | 21 |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 // TODO(sad): https://crbug.com/645602 | 249 // TODO(sad): https://crbug.com/645602 |
249 } | 250 } |
250 | 251 |
251 bool GpuMain::EnsureSandboxInitialized( | 252 bool GpuMain::EnsureSandboxInitialized( |
252 gpu::GpuWatchdogThread* watchdog_thread) { | 253 gpu::GpuWatchdogThread* watchdog_thread) { |
253 // TODO(sad): https://crbug.com/645602 | 254 // TODO(sad): https://crbug.com/645602 |
254 return true; | 255 return true; |
255 } | 256 } |
256 | 257 |
257 } // namespace ui | 258 } // namespace ui |
OLD | NEW |