sway/server: advertise gamma2.2 and bt1886 transfer functions

This commit is contained in:
llyyr 2025-10-29 03:53:24 +05:30 committed by Simon Ser
parent b7eb6177e1
commit 055be4ec35

View file

@ -462,6 +462,8 @@ bool server_init(struct sway_server *server) {
WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_SRGB,
WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ,
WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_EXT_LINEAR,
WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_GAMMA22,
WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_BT1886,
};
const enum wp_color_manager_v1_primaries primaries[] = {
WP_COLOR_MANAGER_V1_PRIMARIES_SRGB,