1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-22 12:17:19 +03:00
wezterm/wezterm-gui
Wez Furlong 26f9d91e43 set an upper bound on the image/frame caches
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
2021-03-13 00:47:38 -08:00
..
src set an upper bound on the image/frame caches 2021-03-13 00:47:38 -08:00
build.rs toast: windows: setup own AppUserModelID for our notifications 2021-02-17 23:45:52 -08:00
Cargo.toml Add shaper post-processing function 2021-02-22 19:17:24 -08:00