diff options
| author | Lee Bousfield <ljbousfield@gmail.com> | 2025-03-22 11:01:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-22 17:01:14 +0100 |
| commit | 279b06044c583bfaa207d6fbd373c752967a4a2e (patch) | |
| tree | d4d8757269b9d04d1ebe570ace2cf6fbfdb8e439 /src/helpers/Monitor.cpp | |
| parent | ccbdba7ee2ccb835306de89a6023134fa6b8006f (diff) | |
screencopy, render: Use explicit sync for screencopy (#9697)
* screencopy, render: Use explicit sync for screencopy
* screencopy: Check if explicit sync is enabled
* screencopy: Don't require explicit KMS enabled
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 30c15e4e..fe8ab9df 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -57,8 +57,7 @@ void CMonitor::onConnect(bool noRule) { g_pEventLoopManager->doLater([] { g_pConfigManager->ensurePersistentWorkspacesPresent(); }); if (output->supportsExplicit) { - inTimeline = CSyncTimeline::create(output->getBackend()->drmFD()); - outTimeline = CSyncTimeline::create(output->getBackend()->drmFD()); + inTimeline = CSyncTimeline::create(output->getBackend()->drmFD()); } listeners.frame = output->events.frame.registerListener([this](std::any d) { onMonitorFrame(); }); @@ -1421,8 +1420,6 @@ bool CMonitor::attemptDirectScanout() { } } - commitSeq++; - bool ok = output->commit(); if (!ok && DOEXPLICIT) { |
