diff options
| author | Leon Scroggins III <scroggo@google.com> | 2013-09-19 11:34:06 -0400 |
|---|---|---|
| committer | Leon Scroggins III <scroggo@google.com> | 2013-09-19 16:22:57 -0400 |
| commit | 1ffe727c0616ca11092a45c3dfb94479fe55fdd9 (patch) | |
| tree | 9dda903f58b13f4cd3e112b3b18f8327d29ee21d /libs/rs/rsg_ScriptJavaClass.cpp | |
| 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
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions
