commit | 7c9d539d8843ad75a1c249633bbc8bb331f5035e | [log] [tgz] |
---|---|---|
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Dec 10 15:40:55 2012 +0000 |
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Dec 10 15:40:55 2012 +0000 |
tree | 796e5d5fe3b1f0b4c87d335af580977ad44e31ea | |
parent | edf32d5b0e7694833287024e03da38521a0adf05 [diff] |
In SKP serialization, use existing encoded data. If an SkBitmap has encoded data, write that during serialization rather than reencoding it. Add a test to ensure that this does not modify the output stream, so the reader need not know the difference. Review URL: https://codereview.appspot.com/6884054 git-svn-id: http://skia.googlecode.com/svn/trunk@6732 2bbb7eff-a529-9590-31e7-b0007b416f81