metal: use IN_FORMATS plane property
This commit is contained in:
parent
d022d96fbf
commit
e0ed29038e
9 changed files with 183 additions and 87 deletions
|
|
@ -1,5 +1,3 @@
|
|||
use crate::format::Format;
|
||||
|
||||
pub mod dmabuf;
|
||||
pub mod drm;
|
||||
pub mod gbm;
|
||||
|
|
@ -9,9 +7,3 @@ pub type Modifier = u64;
|
|||
pub const INVALID_MODIFIER: Modifier = 0x00ff_ffff_ffff_ffff;
|
||||
#[allow(dead_code)]
|
||||
pub const LINEAR_MODIFIER: Modifier = 0;
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct ModifiedFormat {
|
||||
pub format: &'static Format,
|
||||
pub modifier: Modifier,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue