renderer: add render:non_shader_cm and fixes (#11900)
This commit is contained in:
parent
c467bb2640
commit
3bcfa94ee4
5 changed files with 31 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -777,6 +777,7 @@ CConfigManager::CConfigManager() {
|
|||
registerConfigVar("render:send_content_type", Hyprlang::INT{1});
|
||||
registerConfigVar("render:cm_auto_hdr", Hyprlang::INT{1});
|
||||
registerConfigVar("render:new_render_scheduling", Hyprlang::INT{0});
|
||||
registerConfigVar("render:non_shader_cm", Hyprlang::INT{2});
|
||||
|
||||
registerConfigVar("ecosystem:no_update_news", Hyprlang::INT{0});
|
||||
registerConfigVar("ecosystem:no_donation_nag", Hyprlang::INT{0});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue