From 7d076d0bc9a5a1fe302a5ae0f71d76590ba5726f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 27 Feb 2025 18:29:04 +0100 Subject: [PATCH] render/color: introduce wlr_color_named_primaries --- include/wlr/render/color.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/wlr/render/color.h b/include/wlr/render/color.h index 9a1688fe4..1502ee9e8 100644 --- a/include/wlr/render/color.h +++ b/include/wlr/render/color.h @@ -12,6 +12,14 @@ #include #include +/** + * Well-known color primaries. + */ +enum wlr_color_named_primaries { + WLR_COLOR_NAMED_PRIMARIES_SRGB = 1 << 0, + WLR_COLOR_NAMED_PRIMARIES_BT2020 = 1 << 1, +}; + /** * CIE 1931 xy chromaticity coordinates. */