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/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
8 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
10 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
11 #include "gpu/ipc/client/gpu_channel_host.h" | 12 #include "gpu/ipc/client/gpu_channel_host.h" |
12 #include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h" | 13 #include "gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.h" |
13 #include "mojo/public/cpp/bindings/strong_binding.h" | 14 #include "mojo/public/cpp/bindings/strong_binding.h" |
14 #include "mojo/public/cpp/system/buffer.h" | 15 #include "mojo/public/cpp/system/buffer.h" |
15 #include "mojo/public/cpp/system/platform_handle.h" | 16 #include "mojo/public/cpp/system/platform_handle.h" |
16 #include "services/service_manager/public/cpp/connection.h" | 17 #include "services/service_manager/public/cpp/connection.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 void GpuHost::DidLoseContext(bool offscreen, | 139 void GpuHost::DidLoseContext(bool offscreen, |
139 gpu::error::ContextLostReason reason, | 140 gpu::error::ContextLostReason reason, |
140 const GURL& active_url) {} | 141 const GURL& active_url) {} |
141 | 142 |
142 void GpuHost::StoreShaderToDisk(int32_t client_id, | 143 void GpuHost::StoreShaderToDisk(int32_t client_id, |
143 const std::string& key, | 144 const std::string& key, |
144 const std::string& shader) {} | 145 const std::string& shader) {} |
145 | 146 |
146 } // namespace ws | 147 } // namespace ws |
147 } // namespace ui | 148 } // namespace ui |
OLD | NEW |