mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 23:21:08 +03:00
b8dcfba9a4
Two issues highlighted by profiling: * Clearing the texture takes a non-trivial percentage of the profile. The docs suggest that it is better to create a new texture than to update large portions of a texture, so add some plumbing so that we can do that in the first texture-full case. * Next on the list is the code that translates from linear BGRA to SRGBA. This is present for reasons that I believe are now legacy, but for the moment: those two primitives now have faster and easier implementations, so simplify to those. This improves the timg video playback performance by ~10% for me. refs: #537 |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |