summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2020-12-21 14:55:22 -0500
committerLeon Scroggins III <scroggo@google.com>2021-01-05 12:37:47 -0500
commitb26aebc325fd0e607c59e04d79b3d81d0d8d7edf (patch)
treefe9363fc459109fbaacaf506e41f7adc7189854e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent139145be8082f0606045b89feebc9126a9a376d8 (diff)
Implement AImageDecoder _advanceFrame and _rewind
Bug: 160984428 Test: Iae7d274b69999c471fd5610c6ef4d148cca81bec Disallow AImageDecoder_set* methods after the first frame, since changing the settings would interfere with blending and caching for kRestorePrevious frames. Add a cache (and a state machine) for handling kRestorePrevious frames. Follow-on to Ib93b0ced09fa3cca4a6681745406355c48158fae - support using a matrix for unpremul + orientation (the orientation was previously handled by a matrix internally in SkAndroidCodec). Change-Id: I7c32ede013fa83f1fe95c35778c33278ca6fe6a3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions