commit | deb4c169690c777acb27ee8ce67d70d3f6eb2a2c | [log] [tgz] |
---|---|---|
author | jamesr@chromium.org <jamesr@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Nov 29 21:17:16 2012 +0000 |
committer | jamesr@chromium.org <jamesr@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Nov 29 21:17:16 2012 +0000 |
tree | f8e8c8dcc5d9a9d864095403b36def0c94bcb195 | |
parent | 5fac58c91d8053dcc05c5bc72cfccee9246d9add [diff] |
Keep track of identity SkMatrix44s This keeps a bool on SkMatrix44 indicating if we know for sure that the matrix is identity, similar to the TypeMask on SkMatrix. This is useful to early-out of potentially expensive matrix math at the cost of some memory. Review URL: https://codereview.appspot.com/6854113 git-svn-id: http://skia.googlecode.com/svn/trunk@6620 2bbb7eff-a529-9590-31e7-b0007b416f81