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

Unified Diff: cc/trees/draw_property_utils.h

Issue 2148383005: cc: Use sublayer scale from effect tree (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 5 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/proto/property_tree.proto ('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 b4502227e7bd1e8cc554989c3b2eef5b4f4afa52..bfeb66915570966b273e12919c60ac1ec8bb1a96 100644
--- a/cc/trees/draw_property_utils.h
+++ b/cc/trees/draw_property_utils.h
@@ -25,16 +25,15 @@ class RenderSurfaceImpl;
class EffectTree;
class TransformTree;
class PropertyTrees;
+struct EffectNode;
namespace draw_property_utils {
-void CC_EXPORT PostConcatSublayerScale(const int effect_node_id,
- const EffectTree& effect_tree,
- gfx::Transform* transform);
+void CC_EXPORT PostConcatSurfaceContentsScale(const EffectNode* effect_node,
+ gfx::Transform* transform);
-void CC_EXPORT ConcatInverseSublayerScale(const int effect_node_id,
- const EffectTree& effect_tree,
- gfx::Transform* transform);
+void CC_EXPORT ConcatInverseSurfaceContentsScale(const EffectNode* effect_node,
+ gfx::Transform* transform);
// Computes combined clips for every node in |clip_tree|. This function requires
// that |transform_tree| has been updated via |ComputeTransforms|.
void CC_EXPORT ComputeClips(ClipTree* clip_tree,
« no previous file with comments | « cc/proto/property_tree.proto ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698