mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
monitor: Optimize direct scanout damage (#9653)
This commit is contained in:
@@ -1384,7 +1384,7 @@ bool CMonitor::attemptDirectScanout() {
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
PSURFACE->presentFeedback(&now, self.lock());
|
||||
|
||||
output->state->addDamage(CBox{{}, vecPixelSize});
|
||||
output->state->addDamage(PSURFACE->accumulateCurrentBufferDamage());
|
||||
output->state->resetExplicitFences();
|
||||
|
||||
auto cleanup = CScopeGuard([this]() { output->state->resetExplicitFences(); });
|
||||
|
Reference in New Issue
Block a user