| 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_GPU_CHANNEL_HOST_H_ | 5 #ifndef GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ |
| 6 #define GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ | 6 #define GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/atomic_sequence_num.h" | 14 #include "base/atomic_sequence_num.h" |
| 15 #include "base/containers/scoped_ptr_hash_map.h" | 15 #include "base/containers/scoped_ptr_hash_map.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
| 19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 20 #include "base/process/process.h" | 20 #include "base/process/process.h" |
| 21 #include "base/synchronization/lock.h" | 21 #include "base/synchronization/lock.h" |
| 22 #include "gpu/config/gpu_info.h" | 22 #include "gpu/config/gpu_info.h" |
| 23 #include "gpu/gpu_export.h" | 23 #include "gpu/gpu_export.h" |
| 24 #include "gpu/ipc/common/gpu_stream_constants.h" | 24 #include "gpu/ipc/common/gpu_stream_constants.h" |
| 25 #include "gpu/ipc/common/surface_handle.h" | 25 #include "gpu/ipc/common/surface_handle.h" |
| 26 #include "ipc/ipc_channel_handle.h" | 26 #include "ipc/ipc_channel_handle.h" |
| 27 #include "ipc/ipc_sync_channel.h" | 27 #include "ipc/ipc_sync_channel.h" |
| 28 #include "ipc/message_filter.h" | 28 #include "ipc/message_filter.h" |
| 29 #include "ipc/message_router.h" | 29 #include "ipc/message_router.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/gl/gpu_preference.h" | 33 #include "ui/gl/gpu_preference.h" |
| 33 #include "ui/latency_info/latency_info.h" | |
| 34 | 34 |
| 35 class GURL; | 35 class GURL; |
| 36 | 36 |
| 37 namespace base { | 37 namespace base { |
| 38 class WaitableEvent; | 38 class WaitableEvent; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace IPC { | 41 namespace IPC { |
| 42 class SyncMessageFilter; | 42 class SyncMessageFilter; |
| 43 } | 43 } |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 mutable base::Lock context_lock_; | 291 mutable base::Lock context_lock_; |
| 292 scoped_ptr<IPC::SyncChannel> channel_; | 292 scoped_ptr<IPC::SyncChannel> channel_; |
| 293 base::hash_map<int32_t, StreamFlushInfo> stream_flush_info_; | 293 base::hash_map<int32_t, StreamFlushInfo> stream_flush_info_; |
| 294 | 294 |
| 295 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); | 295 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); |
| 296 }; | 296 }; |
| 297 | 297 |
| 298 } // namespace gpu | 298 } // namespace gpu |
| 299 | 299 |
| 300 #endif // GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ | 300 #endif // GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_ |
| OLD | NEW |