OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_TREES_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "cc/layers/layer_lists.h" | 26 #include "cc/layers/layer_lists.h" |
27 #include "cc/layers/render_pass_sink.h" | 27 #include "cc/layers/render_pass_sink.h" |
28 #include "cc/output/begin_frame_args.h" | 28 #include "cc/output/begin_frame_args.h" |
29 #include "cc/output/managed_memory_policy.h" | 29 #include "cc/output/managed_memory_policy.h" |
30 #include "cc/output/output_surface_client.h" | 30 #include "cc/output/output_surface_client.h" |
31 #include "cc/output/renderer.h" | 31 #include "cc/output/renderer.h" |
32 #include "cc/quads/render_pass.h" | 32 #include "cc/quads/render_pass.h" |
33 #include "cc/resources/rasterizer.h" | 33 #include "cc/resources/rasterizer.h" |
34 #include "cc/resources/resource_provider.h" | 34 #include "cc/resources/resource_provider.h" |
35 #include "cc/resources/tile_manager.h" | 35 #include "cc/resources/tile_manager.h" |
| 36 #include "cc/resources/ui_resource_client.h" |
36 #include "cc/scheduler/commit_earlyout_reason.h" | 37 #include "cc/scheduler/commit_earlyout_reason.h" |
37 #include "cc/scheduler/draw_result.h" | 38 #include "cc/scheduler/draw_result.h" |
| 39 #include "cc/trees/layer_tree_settings.h" |
| 40 #include "cc/trees/proxy.h" |
38 #include "skia/ext/refptr.h" | 41 #include "skia/ext/refptr.h" |
39 #include "third_party/skia/include/core/SkColor.h" | 42 #include "third_party/skia/include/core/SkColor.h" |
40 #include "ui/gfx/geometry/rect.h" | 43 #include "ui/gfx/geometry/rect.h" |
41 | 44 |
42 namespace cc { | 45 namespace cc { |
43 | 46 |
44 class CompletionEvent; | 47 class CompletionEvent; |
45 class CompositorFrameMetadata; | 48 class CompositorFrameMetadata; |
46 class DebugRectHistory; | 49 class DebugRectHistory; |
47 class EvictionTilePriorityQueue; | 50 class EvictionTilePriorityQueue; |
48 class FrameRateCounter; | 51 class FrameRateCounter; |
49 class LayerImpl; | 52 class LayerImpl; |
50 class LayerTreeImpl; | 53 class LayerTreeImpl; |
51 class MemoryHistory; | 54 class MemoryHistory; |
52 class PageScaleAnimation; | 55 class PageScaleAnimation; |
53 class PaintTimeCounter; | 56 class PaintTimeCounter; |
54 class PictureLayerImpl; | 57 class PictureLayerImpl; |
55 class RasterTilePriorityQueue; | 58 class RasterTilePriorityQueue; |
56 class TileTaskWorkerPool; | 59 class TileTaskWorkerPool; |
57 class RenderPassDrawQuad; | 60 class RenderPassDrawQuad; |
58 class RenderingStatsInstrumentation; | 61 class RenderingStatsInstrumentation; |
59 class ResourcePool; | 62 class ResourcePool; |
60 class ScrollElasticityHelper; | 63 class ScrollElasticityHelper; |
61 class ScrollbarLayerImplBase; | 64 class ScrollbarLayerImplBase; |
| 65 class SwapPromise; |
| 66 class SwapPromiseMonitor; |
62 class TextureMailboxDeleter; | 67 class TextureMailboxDeleter; |
63 class TopControlsManager; | 68 class TopControlsManager; |
64 class UIResourceBitmap; | 69 class UIResourceBitmap; |
65 class UIResourceRequest; | 70 class UIResourceRequest; |
66 struct RendererCapabilitiesImpl; | 71 struct ScrollAndScaleSet; |
67 | 72 |
68 enum class GpuRasterizationStatus { | 73 enum class GpuRasterizationStatus { |
69 ON, | 74 ON, |
70 ON_FORCED, | 75 ON_FORCED, |
71 OFF_DEVICE, | 76 OFF_DEVICE, |
72 OFF_VIEWPORT, | 77 OFF_VIEWPORT, |
73 OFF_CONTENT | 78 OFF_CONTENT |
74 }; | 79 }; |
75 | 80 |
76 // LayerTreeHost->Proxy callback interface. | 81 // LayerTreeHost->Proxy callback interface. |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 bool is_likely_to_require_a_draw_; | 730 bool is_likely_to_require_a_draw_; |
726 | 731 |
727 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; | 732 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
728 | 733 |
729 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 734 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
730 }; | 735 }; |
731 | 736 |
732 } // namespace cc | 737 } // namespace cc |
733 | 738 |
734 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 739 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |