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_COMMAND_BUFFER_STUB_H_ | 5 #ifndef CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(ENABLE_GPU) | 9 #if defined(ENABLE_GPU) |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/id_map.h" | 14 #include "base/id_map.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
17 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
18 #include "content/common/gpu/gpu_memory_allocation.h" | 18 #include "content/common/gpu/gpu_memory_allocation.h" |
| 19 #include "content/common/gpu/gpu_memory_allocation.h" |
19 #include "content/common/gpu/media/gpu_video_decode_accelerator.h" | 20 #include "content/common/gpu/media/gpu_video_decode_accelerator.h" |
20 #include "content/common/gpu/gpu_memory_allocation.h" | |
21 #include "gpu/command_buffer/common/constants.h" | 21 #include "gpu/command_buffer/common/constants.h" |
22 #include "gpu/command_buffer/service/command_buffer_service.h" | 22 #include "gpu/command_buffer/service/command_buffer_service.h" |
23 #include "gpu/command_buffer/service/context_group.h" | 23 #include "gpu/command_buffer/service/context_group.h" |
24 #include "gpu/command_buffer/service/gpu_scheduler.h" | 24 #include "gpu/command_buffer/service/gpu_scheduler.h" |
25 #include "ipc/ipc_channel.h" | 25 #include "ipc/ipc_channel.h" |
26 #include "ipc/ipc_message.h" | 26 #include "ipc/ipc_message.h" |
27 #include "ui/gfx/gl/gl_context.h" | 27 #include "ui/gfx/gl/gl_context.h" |
28 #include "ui/gfx/gl/gl_surface.h" | 28 #include "ui/gfx/gl/gl_surface.h" |
29 #include "ui/gfx/gl/gpu_preference.h" | 29 #include "ui/gfx/gl/gpu_preference.h" |
30 #include "ui/gfx/native_widget_types.h" | 30 #include "ui/gfx/native_widget_types.h" |
31 #include "ui/gfx/size.h" | 31 #include "ui/gfx/size.h" |
32 #include "ui/gfx/surface/transport_dib.h" | 32 #include "ui/surface/transport_dib.h" |
33 | 33 |
34 #if defined(OS_MACOSX) | 34 #if defined(OS_MACOSX) |
35 #include "ui/gfx/surface/accelerated_surface_mac.h" | 35 #include "ui/surface/accelerated_surface_mac.h" |
36 #endif | 36 #endif |
37 | 37 |
38 class GpuChannel; | 38 class GpuChannel; |
39 struct GpuMemoryAllocation; | 39 struct GpuMemoryAllocation; |
40 class GpuWatchdog; | 40 class GpuWatchdog; |
41 | 41 |
42 namespace gpu { | 42 namespace gpu { |
43 namespace gles2 { | 43 namespace gles2 { |
44 class MailboxManager; | 44 class MailboxManager; |
45 } | 45 } |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_; | 257 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_; |
258 | 258 |
259 ObserverList<DestructionObserver> destruction_observers_; | 259 ObserverList<DestructionObserver> destruction_observers_; |
260 | 260 |
261 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); | 261 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); |
262 }; | 262 }; |
263 | 263 |
264 #endif // defined(ENABLE_GPU) | 264 #endif // defined(ENABLE_GPU) |
265 | 265 |
266 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ | 266 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ |
OLD | NEW |