Index: cc/trees/draw_property_utils.h |
diff --git a/cc/trees/draw_property_utils.h b/cc/trees/draw_property_utils.h |
index 858f0fce7688fce21d741e3023c8d17393376371..13dc9ae1af97f2bf550d2fa41901679066f18ee4 100644 |
--- a/cc/trees/draw_property_utils.h |
+++ b/cc/trees/draw_property_utils.h |
@@ -27,10 +27,9 @@ class PropertyTrees; |
// Computes combined clips for every node in |clip_tree|. This function requires |
// that |transform_tree| has been updated via |ComputeTransforms|. |
-// TODO(vollick): ComputeClips and ComputeTransforms will eventually need to be |
-// done on both threads. |
-void CC_EXPORT |
-ComputeClips(ClipTree* clip_tree, const TransformTree& transform_tree); |
+void CC_EXPORT ComputeClips(ClipTree* clip_tree, |
+ const TransformTree& transform_tree, |
+ bool non_root_surfaces_enabled); |
// Computes combined (screen space) transforms for every node in the transform |
// tree. This must be done prior to calling |ComputeClips|. |
@@ -51,6 +50,7 @@ void CC_EXPORT BuildPropertyTreesAndComputeVisibleRects( |
float device_scale_factor, |
const gfx::Rect& viewport, |
const gfx::Transform& device_transform, |
+ bool can_render_to_separate_surface, |
PropertyTrees* property_trees, |
LayerList* update_layer_list); |
@@ -63,17 +63,20 @@ void CC_EXPORT BuildPropertyTreesAndComputeVisibleRects( |
float device_scale_factor, |
const gfx::Rect& viewport, |
const gfx::Transform& device_transform, |
+ bool can_render_to_separate_surface, |
PropertyTrees* property_trees, |
LayerImplList* update_layer_list); |
void CC_EXPORT |
ComputeVisibleRectsUsingPropertyTrees(Layer* root_layer, |
PropertyTrees* property_trees, |
+ bool can_render_to_separate_surface, |
LayerList* update_layer_list); |
void CC_EXPORT |
ComputeVisibleRectsUsingPropertyTrees(LayerImpl* root_layer, |
PropertyTrees* property_trees, |
+ bool can_render_to_separate_surface, |
LayerImplList* update_layer_list); |
void CC_EXPORT ComputeLayerDrawPropertiesUsingPropertyTrees( |