metal: delay rendering until shortly before page flip
This commit is contained in:
parent
33d5c61c37
commit
c2d31cb639
9 changed files with 113 additions and 22 deletions
|
|
@ -78,7 +78,7 @@ impl IoUring {
|
|||
st.has_timeout = timeout.is_some();
|
||||
self.ring.schedule(st);
|
||||
if let Some(timeout) = timeout {
|
||||
self.schedule_timeout(timeout);
|
||||
self.schedule_timeout_link(timeout);
|
||||
}
|
||||
}
|
||||
Ok(pr.await? as _)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue