commit | 1ffe727c0616ca11092a45c3dfb94479fe55fdd9 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Thu Sep 19 11:34:06 2013 -0400 |
committer | Leon Scroggins III <scroggo@google.com> | Thu Sep 19 16:22:57 2013 -0400 |
tree | 9dda903f58b13f4cd3e112b3b18f8327d29ee21d | |
parent | 01fc088462d05478bcdf416fb02532d53e85dd6a [diff] |
Skip writing zeroes to java allocated memory. If pixel memory was just allocated by Java, tell our decoders not to write 0s, since the memory was initialized to 0. Likewise, when drawing to a bitmap with memory just allocated by Java, do not erase to 0. Depends on a change to external/skia to add the new option on image decoders: https://googleplex-android-review.git.corp.google.com/362663 BUG:10016979 Change-Id: I9a3dc969870f8516e7d8495fe96d0a6b8225eda2