1
0
Fork 0
forked from wry/wry
wry/video-types/src/lib.rs

9 lines
259 B
Rust

pub mod dmabuf;
pub type Modifier = u64;
pub const INVALID_MODIFIER: Modifier = 0x00ff_ffff_ffff_ffff;
pub const LINEAR_MODIFIER: Modifier = 0;
// This is required by AMD and therefore everyone else uses this too.
pub const LINEAR_STRIDE_ALIGN: u64 = 256;