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

Unified Diff: cc/trees/draw_property_utils.h

Issue 1855373003: cc : Use same layer skipping functions in DrawPropertyUtils and LTHC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: cc/trees/draw_property_utils.h
diff --git a/cc/trees/draw_property_utils.h b/cc/trees/draw_property_utils.h
index 913234a9324c976edd7a94af7c5fea5218d61c34..643b5923ed55bc20da19757c90e56ef0430323a9 100644
--- a/cc/trees/draw_property_utils.h
+++ b/cc/trees/draw_property_utils.h
@@ -91,6 +91,18 @@ void CC_EXPORT ComputeLayerDrawProperties(LayerImpl* layer,
void CC_EXPORT ComputeSurfaceDrawProperties(const PropertyTrees* property_trees,
RenderSurfaceImpl* render_surface);
+bool CC_EXPORT LayerShouldBeSkipped(LayerImpl* layer,
+ bool layer_is_drawn,
+ const TransformTree& transform_tree);
+
+bool CC_EXPORT LayerNeedsUpdate(Layer* layer,
+ bool layer_is_drawn,
+ const TransformTree& tree);
+
+bool CC_EXPORT LayerNeedsUpdate(LayerImpl* layer,
+ bool layer_is_drawn,
+ const TransformTree& tree);
+
gfx::Transform CC_EXPORT DrawTransform(const Layer* layer,
const TransformTree& tree);

Powered by Google App Engine
This is Rietveld 408576698