The aim of the color management extension is to allow clients to know the color properties of outputs, and to tell the compositor about the color properties of their content on surfaces. Doing this enables a compositor to perform automatic color management of content for different outputs according to how content is intended to look like.
Additional documentation is being developed in https://gitlab.freedesktop.org/pq/color-and-hdr .
Protocol implementation: weston!1356 (merged)
Upstreaming roadmap: weston#467
We are developing this proposal by filing sub-MRs in Sebastian's fork and merging them into the branch this MR is based on.
Eventually everything in this MR will be squashed into a single patch before landing.
To facilitate experimentation with the protocol, a variant of the protocol in this MR is available at https://gitlab.freedesktop.org/swick/wayland-protocols/-/commits/color-xx.
This variant is for experimentation only and will go away eventually! Compositors should hide support for this protocol behind some kind of flag to prevent this protocol variant from becoming widespread.
All interfaces renamed use the xx prefix instead of wp. The branch won't get updates from upstream without discussing it first to make sure different experimental clients and compositors can be reasonably used together.