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/ws/gpu_host.h" | 5 #include "services/ui/ws/gpu_host.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
11 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "gpu/ipc/client/gpu_channel_host.h" | 12 #include "gpu/ipc/client/gpu_channel_host.h" |
13 #include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h" | 13 #include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h" |
14 #include "mojo/public/cpp/bindings/strong_binding.h" | 14 #include "mojo/public/cpp/bindings/strong_binding.h" |
15 #include "mojo/public/cpp/system/buffer.h" | 15 #include "mojo/public/cpp/system/buffer.h" |
16 #include "mojo/public/cpp/system/platform_handle.h" | 16 #include "mojo/public/cpp/system/platform_handle.h" |
17 #include "services/service_manager/public/cpp/connection.h" | |
18 #include "services/ui/common/server_gpu_memory_buffer_manager.h" | 17 #include "services/ui/common/server_gpu_memory_buffer_manager.h" |
19 #include "services/ui/ws/gpu_client.h" | 18 #include "services/ui/ws/gpu_client.h" |
20 #include "services/ui/ws/gpu_host_delegate.h" | 19 #include "services/ui/ws/gpu_host_delegate.h" |
21 #include "ui/gfx/buffer_format_util.h" | 20 #include "ui/gfx/buffer_format_util.h" |
22 | 21 |
23 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
24 #include "ui/gfx/win/rendering_window_manager.h" | 23 #include "ui/gfx/win/rendering_window_manager.h" |
25 #endif | 24 #endif |
26 | 25 |
27 namespace ui { | 26 namespace ui { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 void GpuHost::StoreShaderToDisk(int32_t client_id, | 135 void GpuHost::StoreShaderToDisk(int32_t client_id, |
137 const std::string& key, | 136 const std::string& key, |
138 const std::string& shader) {} | 137 const std::string& shader) {} |
139 | 138 |
140 void GpuHost::RecordLogMessage(int32_t severity, | 139 void GpuHost::RecordLogMessage(int32_t severity, |
141 const std::string& header, | 140 const std::string& header, |
142 const std::string& message) {} | 141 const std::string& message) {} |
143 | 142 |
144 } // namespace ws | 143 } // namespace ws |
145 } // namespace ui | 144 } // namespace ui |
OLD | NEW |