Fixing type mask computation in SkMatrix to make it faster and make it so that matric...
authorjunov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 12 Jul 2012 14:01:32 +0000 (14:01 +0000)
committerjunov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 12 Jul 2012 14:01:32 +0000 (14:01 +0000)
commit6fc5699e777c27c4eea9587a131aecf6e92a677a
tree489502fd6461984e3f7fb87c2061fd28032cece5
parent50a69a0727076d6590a23dd0f6501371573c7d28
Fixing type mask computation in SkMatrix to make it faster and make it so that matrices have the same type masks as their inverses.
This patch also add bench tests that call invert() followed by mapRect() on various types of matrices.  Performance of these tests was greatly affected by typemask computation

Review URL: http://codereview.appspot.com/6380043/
BUG=https://code.google.com/p/chromium/issues/detail?id=135259

git-svn-id: http://skia.googlecode.com/svn/trunk@4562 2bbb7eff-a529-9590-31e7-b0007b416f81
bench/MatrixBench.cpp
include/core/SkMatrix.h
src/core/SkMatrix.cpp