staging: add color management protocol
Loading
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
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 .
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, variants of the protocol in this MR are available at https://gitlab.freedesktop.org/swick/wayland-protocols/-/commits/color-xx. The current version is xx-color-management-v4.xml
.
These variant are for experimentation only and will go away eventually! Compositors should hide support for those 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.
Please add a comment to the MR when you want to...
Implementations:
--vo=dmabuf-wayland
)Requirements:
wp_color_manager_v1
(not yet merged):
icc_v2_v4
: Weston, weston-imageparametric
: KWin, Mesa, GStreamer, GTK, mpvset_primaries
: KWin, GTK, (Qt)set_luminances
: KWin, colortest
set_mastering_display_primaries
: KWin, mpv, Mesa/Vulkan (Quake II RTX)extended_target_volume
: KWin, Mesa/Vulkan (Quake II RTX)