mirror of
https://github.com/wez/wezterm.git
synced 2024-12-29 16:42:13 +03:00
aa929a1a9b
This makes decoding animation frames a lazy operation, but it comes at the cost of needing to re-decode the image from scratch when it loops, because the image crate doesn't provide a way to rewind its frame iterator. That initial decode can have a significant time cost; a small webp file consistently takes 150ms to decode, which is too much to do inline in the render thread. Next steps will be to move that cost off the render thread. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |