render/color: introduce wlr_color_named_primaries

This commit is contained in:
Simon Ser 2025-02-27 18:29:04 +01:00
parent 156201fe71
commit 7d076d0bc9

View file

@ -12,6 +12,14 @@
#include <stdbool.h>
#include <sys/types.h>
/**
* 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.
*/