autocommit 2022-03-23 18:38:46 CET
This commit is contained in:
parent
786fb44d92
commit
b3a27f889a
15 changed files with 0 additions and 0 deletions
15
src/drm.rs
Normal file
15
src/drm.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use crate::format::Format;
|
||||
|
||||
pub mod dma;
|
||||
pub mod drm;
|
||||
pub mod gbm;
|
||||
|
||||
pub type Modifier = u64;
|
||||
|
||||
pub const INVALID_MODIFIER: Modifier = 0x00ff_ffff_ffff_ffff;
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct ModifiedFormat {
|
||||
pub format: &'static Format,
|
||||
pub modifier: Modifier,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue