mirror of
https://github.com/wez/wezterm.git
synced 2024-09-22 12:17:19 +03:00
26f9d91e43
While adding gif support I let this become unbounded. This commit resolves that by categorizing images as either single frame or animations. Single frame images are decoded and held entirely in the texture atlas, so occupy no additional space beyond the image file contents and their sprite region in the texture atlas. Animations are decoded into a set of frame bitmaps. There can be up to 16 animations (each with their full set of frames) cached. The individual frames may also exist within the texture atlas if space permits. refs: #534 |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |