kms: Don't send render-states for mirrored renders
This commit is contained in:
parent
1a28e43aa7
commit
952f73dcc4
1 changed files with 6 additions and 4 deletions
|
|
@ -1181,11 +1181,13 @@ impl SurfaceThreadState {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
self.frame_callback_seq.fetch_add(1, Ordering::SeqCst);
|
if self.mirroring.is_none() {
|
||||||
|
self.frame_callback_seq.fetch_add(1, Ordering::SeqCst);
|
||||||
|
|
||||||
let states = frame_result.states;
|
let states = frame_result.states;
|
||||||
self.send_frame_callbacks();
|
self.send_frame_callbacks();
|
||||||
self.send_dmabuf_feedback(states);
|
self.send_dmabuf_feedback(states);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
tracing::debug!("Stopped rendering");
|
tracing::debug!("Stopped rendering");
|
||||||
self.queue_estimated_vblank(estimated_presentation);
|
self.queue_estimated_vblank(estimated_presentation);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue