diff options
| author | Alan Viverette <alanv@google.com> | 2014-11-25 10:40:24 -0800 |
|---|---|---|
| committer | Alan Viverette <alanv@google.com> | 2014-11-25 10:40:24 -0800 |
| commit | 8dcd533786df8d824f1e040230ee9e7e5b083998 (patch) | |
| tree | d38f41806713828191560670b37f2eff21518fea /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 59093d925decaf6ddf2e952de25e3cdd1b492d81 (diff) | |
Ensure calling mutate() on DrawableContainer creates a new state
Previously, a new state would only be created on newDrawable(), which
caused the first drawable loaded for a resource to share constant state
with the cached version. Even if mutate() was called, the constant
state was still shared and any changes were applied to the cached copy.
BUG: 18504919
Change-Id: I40d257867eb0a092ce580b9c4338ddc7406a031d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
