From ff50dc36e912b6ad764802d51be838bc7f6ed323 Mon Sep 17 00:00:00 2001 From: Dominick DiMaggio Date: Wed, 29 Oct 2025 08:53:42 -0400 Subject: renderer/cm: allow gamma 2.2 instead of sRGB EOTF (#12094) --- src/config/ConfigDescriptions.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/config/ConfigDescriptions.hpp') diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index 60a21c8b..9c503f0f 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1542,6 +1542,13 @@ inline static const std::vector CONFIG_OPTIONS = { .type = CONFIG_OPTION_CHOICE, .data = SConfigOptionDescription::SChoiceData{0, "disable,always,ondemand,ignore"}, }, + SConfigOptionDescription{ + .value = "render:cm_sdr_eotf", + .description = "Default transfer function for displaying SDR apps. 0 - Treat unspecified as sRGB, 1 - Treat unspecified as Gamma 2.2, 2 - Treat " + "unspecified and sRGB as Gamma 2.2", + .type = CONFIG_OPTION_CHOICE, + .data = SConfigOptionDescription::SChoiceData{0, "srgb,gamma22,gamma22force"}, + }, /* * cursor: -- cgit v1.2.3