mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-14 23:05:58 +01:00
enable explit out fence in AQ
This commit is contained in:
parent
f5fa84554f
commit
1e9315bc84
1 changed files with 3 additions and 2 deletions
|
@ -1507,6 +1507,9 @@ bool CHyprRenderer::commitPendingAndDoExplicitSync(PHLMONITOR pMonitor) {
|
|||
pMonitor->output->state->resetExplicitFences();
|
||||
if (inFD >= 0)
|
||||
pMonitor->output->state->setExplicitInFence(inFD);
|
||||
auto explicitOptions = getExplicitSyncSettings();
|
||||
if (explicitOptions.explicitEnabled && explicitOptions.explicitKMSEnabled)
|
||||
pMonitor->output->state->enableExplicitOutFenceForNextCommit();
|
||||
|
||||
if (pMonitor->ctmUpdated) {
|
||||
pMonitor->ctmUpdated = false;
|
||||
|
@ -1530,8 +1533,6 @@ bool CHyprRenderer::commitPendingAndDoExplicitSync(PHLMONITOR pMonitor) {
|
|||
}
|
||||
}
|
||||
|
||||
auto explicitOptions = getExplicitSyncSettings();
|
||||
|
||||
if (!explicitOptions.explicitEnabled)
|
||||
return ok;
|
||||
|
||||
|
|
Loading…
Reference in a new issue