autocommit 2022-01-28 03:35:35 CET
This commit is contained in:
parent
c340df0d08
commit
a5573b8a3a
36 changed files with 3046 additions and 114 deletions
14
src/drm/mod.rs
Normal file
14
src/drm/mod.rs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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;
|
||||
|
||||
pub struct ModifiedFormat {
|
||||
pub format: &'static Format,
|
||||
pub modifier: Modifier,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue