wl_shm: use udmabuf directly as texture on integrated GPUs
This commit is contained in:
parent
da33f26918
commit
9abfe88b05
8 changed files with 213 additions and 70 deletions
|
|
@ -107,6 +107,10 @@ impl GfxContext for TestGfxCtx {
|
|||
self.formats.clone()
|
||||
}
|
||||
|
||||
fn fast_ram_access(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
fn dmabuf_img(self: Rc<Self>, buf: &DmaBuf) -> Result<Rc<dyn GfxImage>, GfxError> {
|
||||
Ok(Rc::new(TestGfxImage::DmaBuf(TestDmaBufGfxImage {
|
||||
buf: buf.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue