• G
    libobs/graphics: Add Linux-only gs_texture_create_from_dmabuf() · f7a55f45
    Georges Basile Stavracas Neto 提交于
    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.
    f7a55f45
gl-x11-egl.c 17.3 KB