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

Unified Diff: cc/layer_tree_host_common.cc

Issue 11366252: cc: Fix comment about screenspace transform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_common.cc
diff --git a/cc/layer_tree_host_common.cc b/cc/layer_tree_host_common.cc
index 52b72009b84649f2fb7f25a015616b9053315873..81973082b50f2780164b81e43038752fa49f719f 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698