mirror of
https://github.com/wez/wezterm.git
synced 2024-11-10 15:04:32 +03:00
a0d39989df
There's something fishy with colorspaces and blending. This commit removes the `window::Color` type and replaces it and the confusing array of color types exposed by the `palette` crate with a pair of much simpler types: `LinearRgb` - a tuple of f32 linear color components `SrgbaPixel` - the u32 sRGBA pixel representation This doesn't change anything about rendering, it just makes it a bit simpler and makes the SrgbaPixel -> LinearRgb conversion happen slightly earlier which shaves off some ad-hoc conversions. Refs: https://github.com/wez/wezterm/issues/544 |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |