Munch the incoming inverse to force nearly-no-scale to no-scale, if we think
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 17 Oct 2012 21:11:56 +0000 (21:11 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 17 Oct 2012 21:11:56 +0000 (21:11 +0000)
commitc0e88e0d5d1260f81e7f6b66eeabfb25e6b95a4d
treeea00db35bb78830aead66d1444b34c85421596b4
parentce65f385a0d31a93a31ffd57478de4b8c4e833b3
Munch the incoming inverse to force nearly-no-scale to no-scale, if we think
the cheat won't be noticed. This allows us to take a fast case if the caller
gave us a matrix scale of (for instance) 1.0000001 instead of 1.0

drawBitmap already has this logic, it just wasn't ever propogated to bitmapShader before.
Review URL: https://codereview.appspot.com/6720052

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