Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: cc/trees/draw_property_utils.h

Issue 2334003003: cc : Compute visible rects dynamically (1) (Closed)
Patch Set: comment Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.h
diff --git a/cc/trees/draw_property_utils.h b/cc/trees/draw_property_utils.h
index b041a6d7b93c6172619d4b9d5589e4adc34c1b87..7c4e83c99109c0096c3f04dfa51ac3b4d86c5919 100644
--- a/cc/trees/draw_property_utils.h
+++ b/cc/trees/draw_property_utils.h
@@ -59,6 +59,7 @@ void CC_EXPORT BuildPropertyTreesAndComputeVisibleRects(
const gfx::Rect& viewport,
const gfx::Transform& device_transform,
bool can_render_to_separate_surface,
+ bool verify_visible_rect_calculations,
PropertyTrees* property_trees,
LayerImplList* visible_layer_list);
@@ -78,8 +79,13 @@ ComputeVisibleRectsForTesting(PropertyTrees* property_trees,
void CC_EXPORT ComputeVisibleRects(LayerImpl* root_layer,
PropertyTrees* property_trees,
bool can_render_to_separate_surface,
+ bool verify_visible_rect_calculations,
LayerImplList* visible_layer_list);
+gfx::Rect CC_EXPORT
+ComputeLayerVisibleRectDynamic(const PropertyTrees* property_trees,
+ const LayerImpl* layer);
+
void CC_EXPORT ComputeLayerDrawProperties(LayerImpl* layer,
const PropertyTrees* property_trees);
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698