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_COMMAND_BUFFER_PROXY_IMPL_H_ | 5 #ifndef GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
6 #define GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 6 #define GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <queue> | 12 #include <queue> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
17 #include "base/containers/hash_tables.h" | 17 #include "base/containers/hash_tables.h" |
18 #include "base/containers/scoped_ptr_hash_map.h" | 18 #include "base/containers/scoped_ptr_hash_map.h" |
19 #include "base/macros.h" | 19 #include "base/macros.h" |
20 #include "base/memory/ref_counted.h" | 20 #include "base/memory/ref_counted.h" |
21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
22 #include "base/observer_list.h" | 22 #include "base/observer_list.h" |
23 #include "gpu/command_buffer/client/gpu_control.h" | 23 #include "gpu/command_buffer/client/gpu_control.h" |
24 #include "gpu/command_buffer/common/command_buffer.h" | 24 #include "gpu/command_buffer/common/command_buffer.h" |
25 #include "gpu/command_buffer/common/command_buffer_id.h" | 25 #include "gpu/command_buffer/common/command_buffer_id.h" |
26 #include "gpu/command_buffer/common/command_buffer_shared.h" | 26 #include "gpu/command_buffer/common/command_buffer_shared.h" |
27 #include "gpu/command_buffer/common/gpu_memory_allocation.h" | 27 #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
28 #include "gpu/gpu_export.h" | 28 #include "gpu/gpu_export.h" |
29 #include "ipc/ipc_listener.h" | 29 #include "ipc/ipc_listener.h" |
| 30 #include "ui/events/latency_info.h" |
30 #include "ui/gfx/swap_result.h" | 31 #include "ui/gfx/swap_result.h" |
31 #include "ui/latency_info/latency_info.h" | |
32 | 32 |
33 struct GPUCommandBufferConsoleMessage; | 33 struct GPUCommandBufferConsoleMessage; |
34 | 34 |
35 namespace base { | 35 namespace base { |
36 class SharedMemory; | 36 class SharedMemory; |
37 } | 37 } |
38 | 38 |
39 namespace gpu { | 39 namespace gpu { |
40 struct Mailbox; | 40 struct Mailbox; |
41 struct SyncToken; | 41 struct SyncToken; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 | 246 |
247 base::WeakPtr<CommandBufferProxyImpl> weak_this_; | 247 base::WeakPtr<CommandBufferProxyImpl> weak_this_; |
248 scoped_refptr<base::SequencedTaskRunner> callback_thread_; | 248 scoped_refptr<base::SequencedTaskRunner> callback_thread_; |
249 | 249 |
250 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 250 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
251 }; | 251 }; |
252 | 252 |
253 } // namespace gpu | 253 } // namespace gpu |
254 | 254 |
255 #endif // GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 255 #endif // GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
OLD | NEW |