summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2021-01-13 09:46:06 -0500
committerLeon Scroggins III <scroggo@google.com>2021-01-13 12:09:18 -0500
commitc2ebc2bcf37d1ba67bd3c1ec66a65aa947ac086e (patch)
tree9d4f3428c4abad233ab4259f5dff75fbbb5646e3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent946f8d41bc0eb69bd45f612b4875633eda203086 (diff)
Implement AImageDecoder_setInternallyHandleDisposePrevious
Bug: 160984428 Test: I00682f201a52f894b0e1335c00c4368ce675a805 Also fix a bug caught by the new test. If the current frame is the first in a series of one or more RestorePrevious frames, fPriorFrame should be set to |currentFrame - 1|. Otherwise SkCodec will decode the required frame. This is wasted work, since the prior frame should already be prepared (either by AImageDecoder or by the client). Change-Id: I1fb9f91dc66fd3121f187b9a91c15f625eb17f8d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions