libobs/graphics: Add Linux-only gs_texture_create_from_dmabuf()
DMA-BUF is a widespread Linux buffer sharing mechanism. It is what's commonly used zero-copy screen sharing by Wayland compositors. Add a new 'device_texture_create_from_dmabuf' vfunc to gs_exports, and stub implementations to libobs-opengl. Add a new public method gs_texture_create_from_dmabuf() that calls this vfunc.
Showing
想要评论请 注册 或 登录