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
|
|
@ -257,6 +257,10 @@ impl GfxContext for GlRenderContext {
|
|||
self.formats()
|
||||
}
|
||||
|
||||
fn fast_ram_access(&self) -> bool {
|
||||
self.ctx.dpy.fast_ram_access
|
||||
}
|
||||
|
||||
fn dmabuf_fb(self: Rc<Self>, buf: &DmaBuf) -> Result<Rc<dyn GfxFramebuffer>, GfxError> {
|
||||
(&self)
|
||||
.dmabuf_fb(buf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue