Michael Klimushyn b0370c13c3
Decode using the last cached required frame (#7715)
`MultiFrameCodec` now uses whatever previously cached required frame is
available instead of panicking if it doesn't have the exact frame
requested by `SkCodec::FrameInfo#fRequiredFrame`.

`SkCodec::FrameInfo#fRequiredFrame` doesn't point to the one and only
frame that's required to decode the given frame. It points to the latest
frame that's disposal method none and filling a greater surface area
than the current frame. The last required frame `MultiFrameCodec` has
actually cached is also valid in these cases and can be supplied as
`fPriorFrame` instead. [flutter/flutter#26757](https://github.com/flutter/flutter/issues/26757#issuecomment-459522530)
has a more detailed explanation.

Fixes flutter/flutter#26757
2019-02-07 14:47:23 -08:00
..
2019-01-30 13:03:27 -08:00
2018-11-07 12:24:35 -08:00
2018-11-07 12:24:35 -08:00
2018-11-07 12:24:35 -08:00
2018-11-07 12:24:35 -08:00
2019-01-29 12:40:48 -08:00
2018-11-07 12:24:35 -08:00
2019-01-30 10:16:37 -08:00