commit | 7e8c03c0fed64c73a4f0cfb96a2c6905b348a143 | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Mon Jun 03 13:53:36 2013 -0700 |
committer | Chris Craik <ccraik@google.com> | Mon Jun 03 18:14:44 2013 -0700 |
tree | 1b73a524fd82b8c0568293976168ad2a50bb8680 | |
parent | 3bf4fa4b161342ac94e97844c7af0982f4a2758d [diff] |
Support all formats for BitmapFactory.Options.inBitmap bug:9194265 Instead of using custom code in skia to avoid allocations, use a custom allocator that reuses the allocations from the inBitmap. In order to avoid inconsistent state, the decode is done in a separate bitmap and swapped into the existing native bitmap. Eventually, we'd like to support inScaled=true completely avoiding java allocations. Change-Id: Ic4a2f2373b100a80a32c1cdebb7bcb726711c8a7