1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 15:04:36 +03:00
wezterm/window
Wez Furlong f4066747d2 wezterm: improve texture atlas allocation
This commit uses the guillotine algorithm to assign rectangles,
which is superior to the dumb algorithm previously in use.

In addition, in the first pass of painting, if we get a texture
space error, we clear the atlas and try again without increasing
it size, which should serve as the ultimate defrag.

Subsequent passes will cause the texture to grow if needed.

refs: #306
2020-10-23 13:57:58 -07:00
..
examples upgrade misc deps, notably, async-task 2020-10-05 00:06:01 -07:00
src wezterm: improve texture atlas allocation 2020-10-23 13:57:58 -07:00
build.rs window: handle opengl context loss on windows. 2020-06-16 21:17:48 -07:00
Cargo.toml wezterm: improve texture atlas allocation 2020-10-23 13:57:58 -07:00