core: Add render:allow_early_buffer_release to make buffer release configurable (#9019)

This commit is contained in:
UjinT34
2025-01-10 21:42:26 +03:00
committed by GitHub
parent b5fb6110ab
commit a8b568c6c4
3 changed files with 17 additions and 5 deletions

View File

@@ -1313,6 +1313,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_INT,
.data = SConfigOptionDescription::SRangeData{2, 0, 2},
},
SConfigOptionDescription{
.value = "render:allow_early_buffer_release",
.description = "Allow early buffer release event. Fixes stuttering and missing frames for some apps. May cause graphical glitches and memory leaks in others",
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{true},
},
/*
* cursor: