| 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) | 8 #if defined(ENABLE_GPU) |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 156 |
| 157 base::Callback<void(const GpuMemoryAllocationForRenderer&)> | 157 base::Callback<void(const GpuMemoryAllocationForRenderer&)> |
| 158 memory_allocation_changed_callback_; | 158 memory_allocation_changed_callback_; |
| 159 | 159 |
| 160 GpuConsoleMessageCallback console_message_callback_; | 160 GpuConsoleMessageCallback console_message_callback_; |
| 161 | 161 |
| 162 // Tasks to be invoked in SignalSyncPoint responses. | 162 // Tasks to be invoked in SignalSyncPoint responses. |
| 163 uint32 next_signal_id_; | 163 uint32 next_signal_id_; |
| 164 SignalTaskMap signal_tasks_; | 164 SignalTaskMap signal_tasks_; |
| 165 | 165 |
| 166 // ID of transfer buffer containing shared state. |
| 167 int32 state_buffer_; |
| 168 |
| 166 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 169 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
| 167 }; | 170 }; |
| 168 | 171 |
| 169 #endif // ENABLE_GPU | 172 #endif // ENABLE_GPU |
| 170 | 173 |
| 171 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 174 #endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| OLD | NEW |