commit | f9ab99aaade8c451c0e9309b4c61a448373019e3 | [log] [tgz] |
---|---|---|
author | weita@google.com <weita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sun May 03 18:23:30 2009 +0000 |
committer | weita@google.com <weita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sun May 03 18:23:30 2009 +0000 |
tree | 0d9bc4974227cff2f3fa8f5ecd79a57382b01595 | |
parent | 4226396806f99fea03fcc4f95f6367402bd5fa3d [diff] |
Allow copying an Index8 bitmap when srcConfig and dstConfig are both Index8. Also, change the logic of SkBitmap.copyTo() to do memcpy() if srcConfig and dstConfig are the same. git-svn-id: http://skia.googlecode.com/svn/trunk@164 2bbb7eff-a529-9590-31e7-b0007b416f81