mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-02-03 23:00:29 +01:00
CVD correction is composed by a linear transformation, so we should be able to collapse it into a single matrix multiplication: Y = M * X Where Y is the result, X is the original color, and M is the CVD correction matrix. As we need to perform CVD correction for every pixel, this can be beneficial for limited hardware. In this patch we do that, updating the libweston core code and also the GL-renderer and its fragment shader. Suggested-by: Christopher Healy <healych@amazon.com> Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> |
||
|---|---|---|
| .. | ||
| libweston | ||
| meson.build | ||