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_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 5 #ifndef GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
6 #define GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 6 #define GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <deque> | 11 #include <deque> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
19 #include "gpu/command_buffer/common/command_buffer_id.h" | 19 #include "gpu/command_buffer/common/command_buffer_id.h" |
20 #include "gpu/command_buffer/common/constants.h" | 20 #include "gpu/command_buffer/common/constants.h" |
21 #include "gpu/command_buffer/common/gpu_memory_allocation.h" | 21 #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
22 #include "gpu/command_buffer/service/command_buffer_service.h" | 22 #include "gpu/command_buffer/service/command_buffer_service.h" |
23 #include "gpu/command_buffer/service/command_executor.h" | 23 #include "gpu/command_buffer/service/command_executor.h" |
24 #include "gpu/command_buffer/service/context_group.h" | 24 #include "gpu/command_buffer/service/context_group.h" |
25 #include "gpu/gpu_export.h" | 25 #include "gpu/gpu_export.h" |
26 #include "gpu/ipc/common/surface_handle.h" | 26 #include "gpu/ipc/common/surface_handle.h" |
27 #include "gpu/ipc/service/gpu_memory_manager.h" | 27 #include "gpu/ipc/service/gpu_memory_manager.h" |
28 #include "ipc/ipc_listener.h" | 28 #include "ipc/ipc_listener.h" |
29 #include "ipc/ipc_sender.h" | 29 #include "ipc/ipc_sender.h" |
| 30 #include "ui/events/latency_info.h" |
30 #include "ui/gfx/geometry/size.h" | 31 #include "ui/gfx/geometry/size.h" |
31 #include "ui/gfx/gpu_memory_buffer.h" | 32 #include "ui/gfx/gpu_memory_buffer.h" |
32 #include "ui/gfx/swap_result.h" | 33 #include "ui/gfx/swap_result.h" |
33 #include "ui/gl/gl_surface.h" | 34 #include "ui/gl/gl_surface.h" |
34 #include "ui/gl/gpu_preference.h" | 35 #include "ui/gl/gpu_preference.h" |
35 #include "ui/latency_info/latency_info.h" | |
36 #include "url/gurl.h" | 36 #include "url/gurl.h" |
37 | 37 |
38 namespace gpu { | 38 namespace gpu { |
39 struct Mailbox; | 39 struct Mailbox; |
40 struct SyncToken; | 40 struct SyncToken; |
41 class SyncPointClient; | 41 class SyncPointClient; |
42 class SyncPointManager; | 42 class SyncPointManager; |
43 class ValueStateMap; | 43 class ValueStateMap; |
44 namespace gles2 { | 44 namespace gles2 { |
45 class MailboxManager; | 45 class MailboxManager; |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 | 276 |
277 scoped_ptr<WaitForCommandState> wait_for_token_; | 277 scoped_ptr<WaitForCommandState> wait_for_token_; |
278 scoped_ptr<WaitForCommandState> wait_for_get_offset_; | 278 scoped_ptr<WaitForCommandState> wait_for_get_offset_; |
279 | 279 |
280 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 280 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
281 }; | 281 }; |
282 | 282 |
283 } // namespace gpu | 283 } // namespace gpu |
284 | 284 |
285 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ | 285 #endif // GPU_IPC_SERVICE_GPU_COMMAND_BUFFER_STUB_H_ |
OLD | NEW |