OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CC_SURFACES_DISPLAY_H_ | 5 #ifndef CC_SURFACES_DISPLAY_H_ |
6 #define CC_SURFACES_DISPLAY_H_ | 6 #define CC_SURFACES_DISPLAY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "cc/output/output_surface_client.h" | 11 #include "cc/output/output_surface_client.h" |
12 #include "cc/output/renderer.h" | 12 #include "cc/output/renderer.h" |
13 #include "cc/resources/returned_resource.h" | 13 #include "cc/resources/returned_resource.h" |
14 #include "cc/surfaces/surface_aggregator.h" | 14 #include "cc/surfaces/surface_aggregator.h" |
15 #include "cc/surfaces/surface_id.h" | 15 #include "cc/surfaces/surface_id.h" |
16 #include "cc/surfaces/surface_manager.h" | 16 #include "cc/surfaces/surface_manager.h" |
17 #include "cc/surfaces/surfaces_export.h" | 17 #include "cc/surfaces/surfaces_export.h" |
| 18 #include "ui/events/latency_info.h" |
| 19 |
| 20 namespace gpu { |
| 21 class GpuMemoryBufferManager; |
| 22 } |
18 | 23 |
19 namespace gfx { | 24 namespace gfx { |
20 class Size; | 25 class Size; |
21 } | 26 } |
22 | 27 |
23 namespace cc { | 28 namespace cc { |
24 | 29 |
25 class BlockingTaskRunner; | 30 class BlockingTaskRunner; |
26 class DirectRenderer; | 31 class DirectRenderer; |
27 class DisplayClient; | 32 class DisplayClient; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_; | 109 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_; |
105 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; | 110 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; |
106 std::vector<ui::LatencyInfo> stored_latency_info_; | 111 std::vector<ui::LatencyInfo> stored_latency_info_; |
107 | 112 |
108 DISALLOW_COPY_AND_ASSIGN(Display); | 113 DISALLOW_COPY_AND_ASSIGN(Display); |
109 }; | 114 }; |
110 | 115 |
111 } // namespace cc | 116 } // namespace cc |
112 | 117 |
113 #endif // CC_SURFACES_DISPLAY_H_ | 118 #endif // CC_SURFACES_DISPLAY_H_ |
OLD | NEW |