From 655fa7f9690f998e958637c38f9ccfe9948c5479 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Thu, 15 Nov 2012 00:14:33 +0000 Subject: [PATCH] cc: Fix comment about screenspace transform. BUG=160834 R=enne,shawnsingh Review URL: https://chromiumcodereview.appspot.com/11366252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167781 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/layer_tree_host_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/layer_tree_host_common.cc b/cc/layer_tree_host_common.cc index 9147ecddcc625e..960b0e44d218c7 100644 --- a/cc/layer_tree_host_common.cc +++ b/cc/layer_tree_host_common.cc @@ -443,7 +443,7 @@ static void calculateDrawTransformsInternal(LayerType* layer, const WebTransform // M[screenspace] = M[root] * Tr[origin] * compositeLayerTransform * S[layer2content] // = M[root] * Tr[layer->position() + anchor] * M[layer] * Tr[anchor2origin] * S[layer2content] // - // Interpreting the math left-to-right, this transforms from the root render surface's content space to the local layer's origin in layer space. + // Interpreting the math left-to-right, this transforms from the root render surface's content space to the origin of the layer in content space. // // The transform hierarchy that is passed on to children (i.e. the child's parentMatrix) is: // M[parent]_for_child = M[parent] * Tr[origin] * compositeLayerTransform * compositeSublayerTransform