Skip to content

backends/drm: support CTM for simple color transformations

Xaver Hugl requested to merge work/zamundaaa/backport-ctm into Plasma/5.27

In order to work around hardware and drivers that aren't capable of applying a LUT, calculate a per-channel factor for brightness and color temperature modification. While this ignores color calibration, this makes night color work until a proper shader based color pipeline is implemented.

BUG: 455720 (cherry picked from commit f2417a85)

Merge request reports