monitor: Optimize direct scanout damage (#9653)
This commit is contained in:
parent
011d7ccb91
commit
c4f46473df
1 changed files with 1 additions and 1 deletions
|
|
@ -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(); });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue