1
0
Fork 0
forked from wry/wry

allocator: move buffer allocation traits into workspace crate

This commit is contained in:
kossLAN 2026-05-29 11:45:26 -04:00
parent 663cfb3ca3
commit 11940fb6a5
No known key found for this signature in database
10 changed files with 141 additions and 67 deletions

View file

@ -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
}