OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ | 5 #ifndef GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ |
6 #define GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ | 6 #define GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/atomic_sequence_num.h" | 15 #include "base/atomic_sequence_num.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/process/process.h" | 19 #include "base/process/process.h" |
20 #include "base/synchronization/lock.h" | 20 #include "base/synchronization/lock.h" |
21 #include "gpu/config/gpu_info.h" | 21 #include "gpu/config/gpu_info.h" |
22 #include "gpu/gpu_export.h" | 22 #include "gpu/gpu_export.h" |
23 #include "gpu/ipc/common/gpu_stream_constants.h" | 23 #include "gpu/ipc/common/gpu_stream_constants.h" |
24 #include "ipc/ipc_channel_handle.h" | 24 #include "ipc/ipc_channel_handle.h" |
25 #include "ipc/ipc_sync_channel.h" | 25 #include "ipc/ipc_sync_channel.h" |
26 #include "ipc/message_filter.h" | 26 #include "ipc/message_filter.h" |
27 #include "ipc/message_router.h" | 27 #include "ipc/message_router.h" |
28 #include "ui/events/latency_info.h" | |
29 #include "ui/gfx/gpu_memory_buffer.h" | 28 #include "ui/gfx/gpu_memory_buffer.h" |
| 29 #include "ui/latency/latency_info.h" |
30 | 30 |
31 namespace base { | 31 namespace base { |
32 class WaitableEvent; | 32 class WaitableEvent; |
33 } | 33 } |
34 | 34 |
35 namespace IPC { | 35 namespace IPC { |
36 class SyncMessageFilter; | 36 class SyncMessageFilter; |
37 } | 37 } |
38 | 38 |
39 namespace gpu { | 39 namespace gpu { |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 mutable base::Lock context_lock_; | 277 mutable base::Lock context_lock_; |
278 std::unique_ptr<IPC::SyncChannel> channel_; | 278 std::unique_ptr<IPC::SyncChannel> channel_; |
279 base::hash_map<int32_t, StreamFlushInfo> stream_flush_info_; | 279 base::hash_map<int32_t, StreamFlushInfo> stream_flush_info_; |
280 | 280 |
281 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); | 281 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); |
282 }; | 282 }; |
283 | 283 |
284 } // namespace gpu | 284 } // namespace gpu |
285 | 285 |
286 #endif // GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ | 286 #endif // GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ |
OLD | NEW |