OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "app/surface/transport_dib.h" | 10 #include "app/surface/transport_dib.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
14 #include "base/shared_memory.h" | 14 #include "base/shared_memory.h" |
15 #include "base/task.h" | 15 #include "base/task.h" |
16 #include "gfx/native_widget_types.h" | |
17 #include "gfx/size.h" | |
18 #include "gpu/command_buffer/common/command_buffer.h" | 16 #include "gpu/command_buffer/common/command_buffer.h" |
19 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 17 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
20 #include "gpu/command_buffer/service/cmd_parser.h" | 18 #include "gpu/command_buffer/service/cmd_parser.h" |
21 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 19 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
| 20 #include "ui/gfx/native_widget_types.h" |
| 21 #include "ui/gfx/size.h" |
22 | 22 |
23 #if defined(OS_MACOSX) | 23 #if defined(OS_MACOSX) |
24 #include "app/surface/accelerated_surface_mac.h" | 24 #include "app/surface/accelerated_surface_mac.h" |
25 #endif | 25 #endif |
26 | 26 |
27 namespace gfx { | 27 namespace gfx { |
28 class GLContext; | 28 class GLContext; |
29 } | 29 } |
30 | 30 |
31 namespace gpu { | 31 namespace gpu { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 uint64 acknowledged_swap_buffers_count_; | 144 uint64 acknowledged_swap_buffers_count_; |
145 #endif | 145 #endif |
146 | 146 |
147 ScopedRunnableMethodFactory<GPUProcessor> method_factory_; | 147 ScopedRunnableMethodFactory<GPUProcessor> method_factory_; |
148 scoped_ptr<Callback0::Type> wrapped_swap_buffers_callback_; | 148 scoped_ptr<Callback0::Type> wrapped_swap_buffers_callback_; |
149 }; | 149 }; |
150 | 150 |
151 } // namespace gpu | 151 } // namespace gpu |
152 | 152 |
153 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ | 153 #endif // GPU_COMMAND_BUFFER_SERVICE_GPU_PROCESSOR_H_ |
OLD | NEW |