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 CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "gpu/ipc/command_buffer_proxy.h" | 12 #include "gpu/ipc/command_buffer_proxy.h" |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
16 #include "base/containers/hash_tables.h" | 16 #include "base/containers/hash_tables.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/observer_list.h" | 19 #include "base/observer_list.h" |
20 #include "content/common/gpu/gpu_memory_allocation.h" | 20 #include "content/common/gpu/gpu_memory_allocation.h" |
21 #include "content/common/gpu/gpu_memory_allocation.h" | 21 #include "content/common/gpu/gpu_memory_allocation.h" |
22 #include "content/common/gpu/surface_capturer.h" | 22 #include "content/common/gpu/surface_capturer.h" |
23 #include "gpu/command_buffer/common/command_buffer.h" | 23 #include "gpu/command_buffer/common/command_buffer.h" |
24 #include "gpu/command_buffer/common/command_buffer_shared.h" | 24 #include "gpu/command_buffer/common/command_buffer_shared.h" |
25 #include "ipc/ipc_listener.h" | 25 #include "ipc/ipc_listener.h" |
26 #include "media/video/video_decode_accelerator.h" | 26 #include "media/video/video_decode_accelerator.h" |
27 #include "ui/base/latency_info.h" | 27 #include "ui/events/latency_info.h" |
28 | 28 |
29 struct GPUCommandBufferConsoleMessage; | 29 struct GPUCommandBufferConsoleMessage; |
30 | 30 |
31 namespace base { | 31 namespace base { |
32 class SharedMemory; | 32 class SharedMemory; |
33 } | 33 } |
34 | 34 |
35 namespace gpu { | 35 namespace gpu { |
36 struct Mailbox; | 36 struct Mailbox; |
37 } | 37 } |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // Tasks to be invoked in SignalSyncPoint responses. | 208 // Tasks to be invoked in SignalSyncPoint responses. |
209 uint32 next_signal_id_; | 209 uint32 next_signal_id_; |
210 SignalTaskMap signal_tasks_; | 210 SignalTaskMap signal_tasks_; |
211 | 211 |
212 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 212 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
213 }; | 213 }; |
214 | 214 |
215 } // namespace content | 215 } // namespace content |
216 | 216 |
217 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 217 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
OLD | NEW |