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

Unified Diff: cc/trees/draw_property_utils.cc

Issue 2191983002: cc : Use dynamically calculated target space transforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/test/test_layer_tree_host_base.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index c6ee0ab1f2ac1ade25b6e9ab6f2129c0a7488faf..01652a035ad00d8d8639c0fc77025e23ddf334c2 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -803,8 +803,8 @@ void ComputeClips(PropertyTrees* property_trees,
if (parent_target_transform_node &&
parent_target_transform_node->id != clip_node->target_transform_id &&
non_root_surfaces_enabled) {
- success &= property_trees->ComputeTransformToTarget(
- parent_target_transform_node->id, clip_node->target_effect_id,
+ success &= property_trees->ComputeTransformFromTarget(
+ clip_node->target_transform_id, parent_clip_node->target_effect_id,
jaydasika 2016/07/28 22:55:56 I am changing it to force it to take the dynamical
&parent_to_current);
// We don't have to apply surface contents scale when target is root.
if (clip_node->target_effect_id != EffectTree::kContentsRootNodeId) {
« no previous file with comments | « cc/test/test_layer_tree_host_base.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698