summaryrefslogtreecommitdiff
path: root/src/config/ConfigDescriptions.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2025-10-02 13:05:54 +0300
committerGitHub <noreply@github.com>2025-10-02 12:05:54 +0200
commit3bcfa94ee4189faaa4daf661949e88cf28c00d94 (patch)
tree61faa9b18554f0578bb51feaa8f665a627a8c26f /src/config/ConfigDescriptions.hpp
parentc467bb26406a35b8bbfac6478e6382d1d79b6664 (diff)
renderer: add render:non_shader_cm and fixes (#11900)
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
-rw-r--r--src/config/ConfigDescriptions.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp
index 9081fd34..207aa6f1 100644
--- a/src/config/ConfigDescriptions.hpp
+++ b/src/config/ConfigDescriptions.hpp
@@ -1524,6 +1524,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{false},
},
+ SConfigOptionDescription{
+ .value = "render:non_shader_cm",
+ .description = "Enable CM without shader. 0 - disable, 1 - whenever possible, 2 - DS and passthrough only, 3 - don't block DS when non-shader CM isn't available",
+ .type = CONFIG_OPTION_CHOICE,
+ .data = SConfigOptionDescription::SChoiceData{0, "disable,always,ondemand,ignore"},
+ },
/*
* cursor: