OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "platform/graphics/compositing/PaintArtifactCompositor.h" | 5 #include "platform/graphics/compositing/PaintArtifactCompositor.h" |
6 | 6 |
7 #include "cc/layers/content_layer_client.h" | 7 #include "cc/layers/content_layer_client.h" |
8 #include "cc/layers/layer.h" | 8 #include "cc/layers/layer.h" |
9 #include "cc/layers/picture_layer.h" | 9 #include "cc/layers/picture_layer.h" |
10 #include "cc/playback/display_item_list.h" | 10 #include "cc/playback/display_item_list.h" |
11 #include "cc/playback/display_item_list_settings.h" | 11 #include "cc/playback/display_item_list_settings.h" |
12 #include "cc/playback/drawing_display_item.h" | 12 #include "cc/playback/drawing_display_item.h" |
13 #include "cc/playback/transform_display_item.h" | 13 #include "cc/playback/transform_display_item.h" |
14 #include "cc/trees/clip_node.h" | 14 #include "cc/trees/clip_node.h" |
15 #include "cc/trees/effect_node.h" | 15 #include "cc/trees/effect_node.h" |
16 #include "cc/trees/layer_tree_host.h" | 16 #include "cc/trees/layer_tree_host.h" |
17 #include "cc/trees/property_tree.h" | 17 #include "cc/trees/property_tree.h" |
18 #include "cc/trees/scroll_node.h" | 18 #include "cc/trees/scroll_node.h" |
19 #include "cc/trees/transform_node.h" | 19 #include "cc/trees/transform_node.h" |
20 #include "platform/RuntimeEnabledFeatures.h" | 20 #include "platform/RuntimeEnabledFeatures.h" |
21 #include "platform/graphics/paint/ClipPaintPropertyNode.h" | 21 #include "platform/graphics/paint/ClipPaintPropertyNode.h" |
22 #include "platform/graphics/paint/DisplayItem.h" | 22 #include "platform/graphics/paint/DisplayItem.h" |
23 #include "platform/graphics/paint/DrawingDisplayItem.h" | 23 #include "platform/graphics/paint/DrawingDisplayItem.h" |
24 #include "platform/graphics/paint/ForeignLayerDisplayItem.h" | 24 #include "platform/graphics/paint/ForeignLayerDisplayItem.h" |
25 #include "platform/graphics/paint/GeometryPropertyTreeState.h" | |
26 #include "platform/graphics/paint/PaintArtifact.h" | 25 #include "platform/graphics/paint/PaintArtifact.h" |
27 #include "platform/graphics/paint/RasterInvalidationTracking.h" | 26 #include "platform/graphics/paint/RasterInvalidationTracking.h" |
28 #include "platform/graphics/paint/ScrollPaintPropertyNode.h" | 27 #include "platform/graphics/paint/ScrollPaintPropertyNode.h" |
29 #include "platform/graphics/paint/TransformPaintPropertyNode.h" | 28 #include "platform/graphics/paint/TransformPaintPropertyNode.h" |
30 #include "public/platform/Platform.h" | 29 #include "public/platform/Platform.h" |
31 #include "public/platform/WebCompositorSupport.h" | 30 #include "public/platform/WebCompositorSupport.h" |
32 #include "public/platform/WebLayer.h" | 31 #include "public/platform/WebLayer.h" |
33 #include "ui/gfx/geometry/point.h" | 32 #include "ui/gfx/geometry/point.h" |
34 #include "ui/gfx/geometry/point_f.h" | 33 #include "ui/gfx/geometry/point_f.h" |
35 #include "ui/gfx/geometry/rect.h" | 34 #include "ui/gfx/geometry/rect.h" |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 } | 756 } |
758 m_contentLayerClients.clear(); | 757 m_contentLayerClients.clear(); |
759 m_contentLayerClients.swap(newContentLayerClients); | 758 m_contentLayerClients.swap(newContentLayerClients); |
760 | 759 |
761 // Mark the property trees as having been rebuilt. | 760 // Mark the property trees as having been rebuilt. |
762 layerTree->property_trees()->sequence_number = kPropertyTreeSequenceNumber; | 761 layerTree->property_trees()->sequence_number = kPropertyTreeSequenceNumber; |
763 layerTree->property_trees()->needs_rebuild = false; | 762 layerTree->property_trees()->needs_rebuild = false; |
764 } | 763 } |
765 | 764 |
766 } // namespace blink | 765 } // namespace blink |
OLD | NEW |