1
0
Fork 0
forked from wry/wry

metal: scan out in more circumstances

This commit is contained in:
Julian Orth 2024-02-23 14:59:42 +01:00
parent 9e3ad38948
commit 58cdfbcb26
10 changed files with 169 additions and 22 deletions

View file

@ -112,7 +112,7 @@ impl BufferPoints {
}
}
#[derive(Debug)]
#[derive(Debug, PartialEq)]
pub struct AbsoluteRect {
pub x1: f32,
pub x2: f32,
@ -385,6 +385,7 @@ pub trait GfxTexture: Debug {
) -> Result<(), GfxError>;
fn dmabuf(&self) -> Option<&DmaBuf>;
fn reservations(&self) -> &TextureReservations;
fn format(&self) -> &'static Format;
}
pub trait GfxContext: Debug {