allocator: move buffer allocation traits into workspace crate
This commit is contained in:
parent
663cfb3ca3
commit
11940fb6a5
10 changed files with 141 additions and 67 deletions
|
|
@ -13,7 +13,6 @@ use {
|
|||
video::{
|
||||
LINEAR_MODIFIER, LINEAR_STRIDE_ALIGN, Modifier,
|
||||
dmabuf::{DmaBuf, DmaBufIds, DmaBufPlane, PlaneVec},
|
||||
drm::Drm,
|
||||
},
|
||||
},
|
||||
std::{ptr, rc::Rc},
|
||||
|
|
@ -169,7 +168,7 @@ impl Udmabuf {
|
|||
}
|
||||
|
||||
impl Allocator for Udmabuf {
|
||||
fn drm(&self) -> Option<&Drm> {
|
||||
fn drm(&self) -> Option<&dyn crate::allocator::AllocatorDrm> {
|
||||
None
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue