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_GPU_CHANNEL_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/id_map.h" | 11 #include "base/id_map.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/process/process.h" | 16 #include "base/process/process.h" |
17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
18 #include "content/common/gpu/gpu_command_buffer_stub.h" | 18 #include "content/common/gpu/gpu_command_buffer_stub.h" |
19 #include "content/common/gpu/gpu_memory_manager.h" | 19 #include "content/common/gpu/gpu_memory_manager.h" |
20 #include "content/common/gpu/gpu_result_codes.h" | 20 #include "content/common/gpu/gpu_result_codes.h" |
21 #include "content/common/message_router.h" | 21 #include "content/common/message_router.h" |
22 #include "gpu/command_buffer/service/valuebuffer_manager.h" | 22 #include "gpu/command_buffer/service/valuebuffer_manager.h" |
23 #include "ipc/ipc_sync_channel.h" | 23 #include "ipc/ipc_sync_channel.h" |
| 24 #include "ui/gfx/geometry/size.h" |
24 #include "ui/gfx/native_widget_types.h" | 25 #include "ui/gfx/native_widget_types.h" |
25 #include "ui/gfx/size.h" | |
26 #include "ui/gl/gl_share_group.h" | 26 #include "ui/gl/gl_share_group.h" |
27 #include "ui/gl/gpu_preference.h" | 27 #include "ui/gl/gpu_preference.h" |
28 | 28 |
29 struct GPUCreateCommandBufferConfig; | 29 struct GPUCreateCommandBufferConfig; |
30 | 30 |
31 namespace base { | 31 namespace base { |
32 class MessageLoopProxy; | 32 class MessageLoopProxy; |
33 class WaitableEvent; | 33 class WaitableEvent; |
34 } | 34 } |
35 | 35 |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 // that any WeakPtrs to Controller are invalidated before its members | 252 // that any WeakPtrs to Controller are invalidated before its members |
253 // variable's destructors are executed, rendering them invalid. | 253 // variable's destructors are executed, rendering them invalid. |
254 base::WeakPtrFactory<GpuChannel> weak_factory_; | 254 base::WeakPtrFactory<GpuChannel> weak_factory_; |
255 | 255 |
256 DISALLOW_COPY_AND_ASSIGN(GpuChannel); | 256 DISALLOW_COPY_AND_ASSIGN(GpuChannel); |
257 }; | 257 }; |
258 | 258 |
259 } // namespace content | 259 } // namespace content |
260 | 260 |
261 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ | 261 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ |
OLD | NEW |