commit | c0e88e0d5d1260f81e7f6b66eeabfb25e6b95a4d | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 17 21:11:56 2012 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 17 21:11:56 2012 +0000 |
tree | ea00db35bb78830aead66d1444b34c85421596b4 | |
parent | ce65f385a0d31a93a31ffd57478de4b8c4e833b3 [diff] |
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