mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 02:25:28 +03:00
9e146beb02
On Windows, both EGL and MESA render modes were too dark. After a bit of hunting around what I found made EGL and MESA consistent with my default nVidia GPL rendering was: * Tell glium that our shader outputs srgb * Add explicit gamma conversion from linear to srgb in the shader AFAICT, that shouldn't be required, but it seems as though something deep in glium really wants to apply some kind of gamma conversion, and it seems to select the wrong kind unless we set things explicitly to SRGB. There are some people complaining about this in https://github.com/glium/glium/issues/1615. I actually tried to move entirely aware from the glium srgbtexture2d type in the hope of having explicit control over the gamma, but the issue is in what happens to the outputs rather than the inputs. It appears to me as though the text now looks slightly less intense, so I think this may be what we need for the gamma issue in https://github.com/wez/wezterm/issues/544 and potentially also https://github.com/wez/wezterm/issues/1025 refs: https://github.com/wez/wezterm/issues/1373 |
||
---|---|---|
.. | ||
examples | ||
src | ||
build.rs | ||
Cargo.toml |