diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-03-12 15:44:03 -0400 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-03-12 16:03:29 -0400 |
commit | 8d592f9a7df0e7a704682b27fe68e2f5ea7240da (patch) | |
tree | 456150e2a993bee152e1f959f58f9b6e32fa73d8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 4856210398468fd5196e1cb68b80e7529e1046a0 (diff) |
Move computation of decodeColor- Type and Space
Bug: 70846442
Test: I5110881203c000474116a94a48f2afc9a9b62001
Delay computing decodeColorType until right before we may change it (and
delay reinterpreting the pointer along with it). More interestingly,
defer computing decodeColorSpace until *after* we may have changed the
decodeColorType. Along with a change in Skia, this allows us to match
the color type of inBitmap, as intended.
Change-Id: If0ca4a61d338a13473a96faf900c84010ae46d41
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions