Interpolated rotations should end cleanly where possible.
Due to numeric issues, interpolated rotations of 90 degrees end at 'unclean' transforms. That is, they have some entries that are not 0, 1, or -1. With this patch, interpolated rotations detect when rotations should end cleanly and massage matrix entries where appropriate. BUG=chrome-os-partner:9166 TEST=InterpolatedTransformTest.ScreenRotationEndsCleanly, InterpolatedTransformTest.MaximizeEndsCleanly Review URL: http://codereview.chromium.org/10210002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133986 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment