output: submit damage to kms
This commit is contained in:
parent
c1afc82a4c
commit
1c221240d0
2 changed files with 4 additions and 0 deletions
|
|
@ -822,6 +822,8 @@ bool CMonitor::attemptDirectScanout() {
|
|||
Debug::log(TRACE, "presentFeedback for DS");
|
||||
PSURFACE->presentFeedback(&now, this, true);
|
||||
|
||||
output->state->addDamage(CBox{{}, vecPixelSize});
|
||||
|
||||
if (state.commit()) {
|
||||
if (lastScanout.expired()) {
|
||||
lastScanout = PCANDIDATE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue