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

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: Rebase + typo in comment 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
« no previous file with comments | « cc/tiles/tile_manager_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 ddcdac9770d59ca75e8d02d6858aeacf8f72f37e..ef9cdf7ce6522277339f98554133bdf2445c5518 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 LayerImpl* layer,
const TransformTree& tree);
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698