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
16
src/drm/dma.rs
Normal file
16
src/drm/dma.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
use crate::format::Format;
|
||||
use uapi::OwnedFd;
|
||||
|
||||
pub struct DmaBufPlane {
|
||||
pub offset: u32,
|
||||
pub stride: u32,
|
||||
pub fd: OwnedFd,
|
||||
}
|
||||
|
||||
pub struct DmaBuf {
|
||||
pub width: i32,
|
||||
pub height: i32,
|
||||
pub format: &'static Format,
|
||||
pub modifier: u64,
|
||||
pub planes: Vec<DmaBufPlane>,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue