diff options
author | Vaxry <[email protected]> | 2024-12-06 14:15:38 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-12-06 14:15:46 +0000 |
commit | cccca7c02e0846eb4386dc26bb2d99f921c6114e (patch) | |
tree | d14de5bc9895a7b21f8f4204d61b7e260d338eb9 | |
parent | 10a4365f7d2674d0e9180a3bddf535acb95eae70 (diff) | |
download | Hyprland-cccca7c02e0846eb4386dc26bb2d99f921c6114e.tar.gz Hyprland-cccca7c02e0846eb4386dc26bb2d99f921c6114e.zip |
renderer: drop requesting OUT_FENCE_PTR
-rw-r--r-- | src/render/Renderer.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 7e44e64e..180d6c99 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1530,9 +1530,6 @@ 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; @@ -1556,18 +1553,13 @@ bool CHyprRenderer::commitPendingAndDoExplicitSync(PHLMONITOR pMonitor) { } } + auto explicitOptions = getExplicitSyncSettings(); if (!explicitOptions.explicitEnabled) return ok; if (inFD >= 0) close(inFD); - if (pMonitor->output->state->state().explicitOutFence >= 0) { - Debug::log(TRACE, "Aquamarine returned an explicit out fence at {}", pMonitor->output->state->state().explicitOutFence); - close(pMonitor->output->state->state().explicitOutFence); - } else - Debug::log(TRACE, "Aquamarine did not return an explicit out fence"); - Debug::log(TRACE, "Explicit: {} presented", explicitPresented.size()); auto sync = g_pHyprOpenGL->createEGLSync(-1); |