Skip to content

color management: improve brightness handling

Xaver Hugl requested to merge work/zamundaaa/reference-luminance into master

Commit 1 renames all the brightness things to luminance, and shortens some variable names

Commit 2 adds reference luminance mapping, so that the reference / SDR luminance of different content on the screen matches with the user configured value (see https://gitlab.freedesktop.org/swick/wayland-protocols/-/merge_requests/74 for the protocol side of that). It also simplifies SDR<->HDR mapping and improves it significantly in some cases. Here's Doom Eternal in the overview (HDR mapped to SDR):

on master: Screenshot_20240626_053503 with this MR: Screenshot_20240626_053109

Merge request reports