| 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 <memory> | 12 #include <memory> |
| 13 #include <queue> | 13 #include <queue> |
| 14 #include <string> | 14 #include <string> |
| 15 | 15 |
| 16 #include "base/callback.h" | 16 #include "base/callback.h" |
| 17 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
| 18 #include "base/containers/hash_tables.h" | 18 #include "base/containers/hash_tables.h" |
| 19 #include "base/containers/scoped_ptr_hash_map.h" | 19 #include "base/containers/scoped_ptr_hash_map.h" |
| 20 #include "base/macros.h" | 20 #include "base/macros.h" |
| 21 #include "base/memory/ref_counted.h" | 21 #include "base/memory/ref_counted.h" |
| 22 #include "base/memory/weak_ptr.h" | 22 #include "base/memory/weak_ptr.h" |
| 23 #include "base/observer_list.h" | 23 #include "base/observer_list.h" |
| 24 #include "base/single_thread_task_runner.h" |
| 24 #include "base/threading/thread_checker.h" | 25 #include "base/threading/thread_checker.h" |
| 25 #include "gpu/command_buffer/client/gpu_control.h" | 26 #include "gpu/command_buffer/client/gpu_control.h" |
| 26 #include "gpu/command_buffer/common/command_buffer.h" | 27 #include "gpu/command_buffer/common/command_buffer.h" |
| 27 #include "gpu/command_buffer/common/command_buffer_id.h" | 28 #include "gpu/command_buffer/common/command_buffer_id.h" |
| 28 #include "gpu/command_buffer/common/command_buffer_shared.h" | 29 #include "gpu/command_buffer/common/command_buffer_shared.h" |
| 29 #include "gpu/command_buffer/common/gpu_memory_allocation.h" | 30 #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
| 30 #include "gpu/gpu_export.h" | 31 #include "gpu/gpu_export.h" |
| 31 #include "gpu/ipc/common/gpu_stream_constants.h" | 32 #include "gpu/ipc/common/gpu_stream_constants.h" |
| 32 #include "gpu/ipc/common/surface_handle.h" | 33 #include "gpu/ipc/common/surface_handle.h" |
| 33 #include "ipc/ipc_listener.h" | 34 #include "ipc/ipc_listener.h" |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 297 |
| 297 base::WeakPtr<CommandBufferProxyImpl> weak_this_; | 298 base::WeakPtr<CommandBufferProxyImpl> weak_this_; |
| 298 scoped_refptr<base::SequencedTaskRunner> callback_thread_; | 299 scoped_refptr<base::SequencedTaskRunner> callback_thread_; |
| 299 | 300 |
| 300 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); | 301 DISALLOW_COPY_AND_ASSIGN(CommandBufferProxyImpl); |
| 301 }; | 302 }; |
| 302 | 303 |
| 303 } // namespace gpu | 304 } // namespace gpu |
| 304 | 305 |
| 305 #endif // GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ | 306 #endif // GPU_IPC_CLIENT_COMMAND_BUFFER_PROXY_IMPL_H_ |
| OLD | NEW |