mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The codec will retain a reference to the decoded frame so it can be returned in repeated calls to getNextFrame. Also change the compressed image buffer to use an anonymous mapping on Android. This is a workaround for high consumption of native heap pages by Android's malloc when buffers are allocated on one thread and freed on another thread. See https://github.com/flutter/flutter/issues/36079