render/color: introduce enum wlr_color_transfer_function

This commit is contained in:
Simon Ser 2025-01-28 09:41:39 +01:00
parent e11012a024
commit 50537e2e6f

View file

@ -20,6 +20,14 @@ enum wlr_color_named_primaries {
WLR_COLOR_NAMED_PRIMARIES_BT2020 = 1 << 1,
};
/**
* Well-known color transfer functions.
*/
enum wlr_color_transfer_function {
WLR_COLOR_TRANSFER_FUNCTION_SRGB = 1 << 0,
WLR_COLOR_TRANSFER_FUNCTION_ST2084_PQ = 1 << 1,
};
/**
* CIE 1931 xy chromaticity coordinates.
*/