metal: wait for rendering to complete before committing buffers
This commit is contained in:
parent
93bfb9c0b4
commit
0dc5d9adb8
5 changed files with 881 additions and 681 deletions
|
|
@ -1,5 +1,6 @@
|
|||
mod input;
|
||||
mod monitor;
|
||||
mod present;
|
||||
mod video;
|
||||
|
||||
use {
|
||||
|
|
@ -133,6 +134,8 @@ pub enum MetalError {
|
|||
Commit(#[source] DrmError),
|
||||
#[error("Could not clear framebuffer")]
|
||||
Clear(#[source] GfxError),
|
||||
#[error("The present configuration is out of date")]
|
||||
OutOfDate,
|
||||
}
|
||||
|
||||
pub struct MetalBackend {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue