autocommit 2022-04-07 17:31:31 CEST
This commit is contained in:
parent
1d33088dba
commit
be32036824
200 changed files with 3267 additions and 2479 deletions
15
src/video.rs
Normal file
15
src/video.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