| 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_CHANNEL_H_ | 5 #ifndef GPU_IPC_SERVICE_GPU_CHANNEL_H_ |
| 6 #define GPU_IPC_SERVICE_GPU_CHANNEL_H_ | 6 #define GPU_IPC_SERVICE_GPU_CHANNEL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/containers/flat_map.h" | 14 #include "base/containers/flat_map.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "base/process/process.h" | 18 #include "base/process/process.h" |
| 19 #include "base/single_thread_task_runner.h" |
| 19 #include "base/threading/thread_checker.h" | 20 #include "base/threading/thread_checker.h" |
| 20 #include "base/trace_event/memory_dump_provider.h" | 21 #include "base/trace_event/memory_dump_provider.h" |
| 21 #include "build/build_config.h" | 22 #include "build/build_config.h" |
| 22 #include "gpu/command_buffer/service/sync_point_manager.h" | 23 #include "gpu/command_buffer/service/sync_point_manager.h" |
| 23 #include "gpu/gpu_export.h" | 24 #include "gpu/gpu_export.h" |
| 24 #include "gpu/ipc/service/gpu_command_buffer_stub.h" | 25 #include "gpu/ipc/service/gpu_command_buffer_stub.h" |
| 25 #include "gpu/ipc/service/gpu_memory_manager.h" | 26 #include "gpu/ipc/service/gpu_memory_manager.h" |
| 26 #include "ipc/ipc_sender.h" | 27 #include "ipc/ipc_sender.h" |
| 27 #include "ipc/ipc_sync_channel.h" | 28 #include "ipc/ipc_sync_channel.h" |
| 28 #include "ipc/message_router.h" | 29 #include "ipc/message_router.h" |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; | 455 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; |
| 455 scoped_refptr<PreemptionFlag> preempting_flag_; | 456 scoped_refptr<PreemptionFlag> preempting_flag_; |
| 456 scoped_refptr<PreemptionFlag> preempted_flag_; | 457 scoped_refptr<PreemptionFlag> preempted_flag_; |
| 457 | 458 |
| 458 DISALLOW_COPY_AND_ASSIGN(GpuChannelMessageQueue); | 459 DISALLOW_COPY_AND_ASSIGN(GpuChannelMessageQueue); |
| 459 }; | 460 }; |
| 460 | 461 |
| 461 } // namespace gpu | 462 } // namespace gpu |
| 462 | 463 |
| 463 #endif // GPU_IPC_SERVICE_GPU_CHANNEL_H_ | 464 #endif // GPU_IPC_SERVICE_GPU_CHANNEL_H_ |
| OLD | NEW |