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 "components/viz/common/server_gpu_memory_buffer_manager.h" | 12 #include "components/viz/host/server_gpu_memory_buffer_manager.h" |
13 #include "gpu/ipc/client/gpu_channel_host.h" | 13 #include "gpu/ipc/client/gpu_channel_host.h" |
14 #include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h" | 14 #include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h" |
15 #include "mojo/public/cpp/bindings/strong_binding.h" | 15 #include "mojo/public/cpp/bindings/strong_binding.h" |
16 #include "mojo/public/cpp/system/buffer.h" | 16 #include "mojo/public/cpp/system/buffer.h" |
17 #include "mojo/public/cpp/system/platform_handle.h" | 17 #include "mojo/public/cpp/system/platform_handle.h" |
18 #include "services/ui/ws/gpu_client.h" | 18 #include "services/ui/ws/gpu_client.h" |
19 #include "services/ui/ws/gpu_host_delegate.h" | 19 #include "services/ui/ws/gpu_host_delegate.h" |
20 #include "ui/gfx/buffer_format_util.h" | 20 #include "ui/gfx/buffer_format_util.h" |
21 | 21 |
22 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 void DefaultGpuHost::StoreShaderToDisk(int32_t client_id, | 140 void DefaultGpuHost::StoreShaderToDisk(int32_t client_id, |
141 const std::string& key, | 141 const std::string& key, |
142 const std::string& shader) {} | 142 const std::string& shader) {} |
143 | 143 |
144 void DefaultGpuHost::RecordLogMessage(int32_t severity, | 144 void DefaultGpuHost::RecordLogMessage(int32_t severity, |
145 const std::string& header, | 145 const std::string& header, |
146 const std::string& message) {} | 146 const std::string& message) {} |
147 | 147 |
148 } // namespace ws | 148 } // namespace ws |
149 } // namespace ui | 149 } // namespace ui |
OLD | NEW |