metal: scan out in more circumstances
This commit is contained in:
parent
9e3ad38948
commit
58cdfbcb26
10 changed files with 169 additions and 22 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue