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

Unified Diff: cc/trees/property_tree.h

Issue 2454203002: Revert of cc : Move screen space scale factor to root transform node (Closed)
Patch Set: Created 4 years, 2 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/layer_tree_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index f46f90cb4884860b3485fa1aee9c291bdd810197..10896439072f987cfb54ea841abca1122b156359 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -221,11 +221,9 @@
}
float device_scale_factor() const { return device_scale_factor_; }
- void SetRootTransformsAndScales(float device_scale_factor,
- float page_scale_factor_for_root,
- const gfx::Transform& device_transform,
- gfx::PointF root_position);
-
+ void SetDeviceTransform(const gfx::Transform& transform,
+ gfx::PointF root_position);
+ void SetDeviceTransformScaleFactor(const gfx::Transform& transform);
float device_transform_scale_factor() const {
return device_transform_scale_factor_;
}
@@ -312,10 +310,6 @@
TransformNode* node,
TransformNode* parent_node);
bool NeedsSourceToParentUpdate(TransformNode* node);
- void SetContentsRootPostLocalTransform(const gfx::Transform& transform,
- gfx::PointF root_position);
- void SetScreenSpaceScaleOnRootNode(
- gfx::Vector2dF screen_space_scale_components);
bool source_to_parent_updates_allowed_;
// When to_screen transform has perspective, the transform node's sublayer
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698