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 #if defined(ENABLE_GPU) | |
9 | |
10 #include <map> | 8 #include <map> |
11 #include <queue> | 9 #include <queue> |
12 #include <string> | 10 #include <string> |
13 | 11 |
14 #include "gpu/ipc/command_buffer_proxy.h" | 12 #include "gpu/ipc/command_buffer_proxy.h" |
15 | 13 |
16 #include "base/callback.h" | 14 #include "base/callback.h" |
17 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
18 #include "base/hash_tables.h" | 16 #include "base/hash_tables.h" |
19 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 188 |
191 // Tasks to be invoked in SignalSyncPoint responses. | 189 // Tasks to be invoked in SignalSyncPoint responses. |
192 uint32 next_signal_id_; | 190 uint32 next_signal_id_; |
193 SignalTaskMap signal_tasks_; | 191 SignalTaskMap signal_tasks_; |
194 | 192 |
195 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 193 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
196 }; | 194 }; |
197 | 195 |
198 } // namespace content | 196 } // namespace content |
199 | 197 |
200 #endif // ENABLE_GPU | |
201 | |
202 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 198 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
OLD | NEW |