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/containers/scoped_ptr_hash_map.h" | 16 #include "base/containers/scoped_ptr_hash_map.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
20 #include "base/process/process.h" | 20 #include "base/process/process.h" |
21 #include "base/synchronization/lock.h" | 21 #include "base/synchronization/lock.h" |
22 #include "gpu/config/gpu_info.h" | 22 #include "gpu/config/gpu_info.h" |
23 #include "gpu/gpu_export.h" | 23 #include "gpu/gpu_export.h" |
24 #include "gpu/ipc/common/gpu_stream_constants.h" | 24 #include "gpu/ipc/common/gpu_stream_constants.h" |
25 #include "gpu/ipc/common/surface_handle.h" | 25 #include "gpu/ipc/common/surface_handle.h" |
26 #include "ipc/ipc_channel_handle.h" | 26 #include "ipc/ipc_channel_handle.h" |
27 #include "ipc/ipc_sync_channel.h" | 27 #include "ipc/ipc_sync_channel.h" |
28 #include "ipc/message_filter.h" | 28 #include "ipc/message_filter.h" |
29 #include "ipc/message_router.h" | 29 #include "ipc/message_router.h" |
30 #include "ui/events/latency_info.h" | |
31 #include "ui/gfx/geometry/size.h" | 30 #include "ui/gfx/geometry/size.h" |
32 #include "ui/gfx/gpu_memory_buffer.h" | 31 #include "ui/gfx/gpu_memory_buffer.h" |
33 #include "ui/gl/gpu_preference.h" | 32 #include "ui/gl/gpu_preference.h" |
| 33 #include "ui/latency_info/latency_info.h" |
34 | 34 |
35 class GURL; | 35 class GURL; |
36 | 36 |
37 namespace base { | 37 namespace base { |
38 class WaitableEvent; | 38 class WaitableEvent; |
39 } | 39 } |
40 | 40 |
41 namespace IPC { | 41 namespace IPC { |
42 class SyncMessageFilter; | 42 class SyncMessageFilter; |
43 } | 43 } |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 mutable base::Lock context_lock_; | 292 mutable base::Lock context_lock_; |
293 std::unique_ptr<IPC::SyncChannel> channel_; | 293 std::unique_ptr<IPC::SyncChannel> channel_; |
294 base::hash_map<int32_t, StreamFlushInfo> stream_flush_info_; | 294 base::hash_map<int32_t, StreamFlushInfo> stream_flush_info_; |
295 | 295 |
296 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); | 296 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); |
297 }; | 297 }; |
298 | 298 |
299 } // namespace gpu | 299 } // namespace gpu |
300 | 300 |
301 #endif // GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ | 301 #endif // GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ |
OLD | NEW |