kms: Limit frame-callbacks to one per refresh
This commit is contained in:
parent
92f3dbce01
commit
31ff17a323
4 changed files with 83 additions and 38 deletions
|
|
@ -71,7 +71,7 @@ impl WinitState {
|
|||
self.backend
|
||||
.submit(damage.map(|x| x.as_slice()))
|
||||
.with_context(|| "Failed to submit buffer for display")?;
|
||||
state.send_frames(&self.output);
|
||||
state.send_frames(&self.output, None);
|
||||
state.update_primary_output(&self.output, &states);
|
||||
state.send_dmabuf_feedback(&self.output, &states, |_| None);
|
||||
if damage.is_some() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue