commit | e233917135132deea794ee663c5ac56863392b35 | [log] [tgz] |
---|---|---|
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jul 30 14:40:01 2012 +0000 |
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Jul 30 14:40:01 2012 +0000 |
tree | 2d6dc9d52ffe6a4d10985fe65cde9977618b9523 | |
parent | a1fa9e20982521bd878db8a54fd800ea6a2a6204 [diff] |
Share code in various SkGPipeCanvas::drawBitmap_ calls. Also implement SkGPipeCanvas::drawBitmapMatrix, and create a GM to make sure it works properly. Use a flag instead of writing a bool for determining whether drawBitmap_ has a paint and whether drawBitmapRect has a source rectangle. BUG= TEST=drawbitmapmatrix GM Review URL: https://codereview.appspot.com/6450053 git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@4828 2bbb7eff-a529-9590-31e7-b0007b416f81