add special matrixprocs when the matrix is at most translate. These are faster
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 13 Aug 2009 19:35:48 +0000 (19:35 +0000)
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 13 Aug 2009 19:35:48 +0000 (19:35 +0000)
commit07d1f008b365e94ef7c7347be19a03d00bd36805
tree4d00e7a20be129e8a7845ea7dc85a18093a16949
parentf7d5726730f2c13aa53f4a6b78084beaa959c694
add special matrixprocs when the matrix is at most translate. These are faster
(somewhat) than their scale counterparts, but are also numerically exact for
any size bitmaps. The scale versions, because they operate in a scaled 65535
space, are not always exact for large images (due to SK_Fixed1 / width) loss of
bits

git-svn-id: http://skia.googlecode.com/svn/trunk@320 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkBitmapProcShader.cpp
src/core/SkBitmapProcState.cpp
src/core/SkBitmapProcState.h
src/core/SkBitmapProcState_matrixProcs.cpp