gfx: wait for idle if rendering doesn't support explicit sync
This commit is contained in:
parent
80c7a1f47c
commit
12c9b36ded
4 changed files with 7 additions and 2 deletions
|
|
@ -129,6 +129,10 @@ impl EglDisplay {
|
|||
.exts
|
||||
.contains(KHR_FENCE_SYNC | KHR_WAIT_SYNC | ANDROID_NATIVE_FENCE_SYNC);
|
||||
|
||||
if !dpy.explicit_sync {
|
||||
log::error!("Driver does not support explicit sync. Rendering will block.")
|
||||
}
|
||||
|
||||
Ok(Rc::new(dpy))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue