Skip to content
  • Varad Gautam's avatar
    linux-dmabuf: add immediate dmabuf import path · a840b363
    Varad Gautam authored and Daniel Stone's avatar Daniel Stone committed
    
    
    provide a mechanism that allows clients to import the added dmabufs
    and immediately use the newly created wl_buffers without waiting on
    an event. this is useful to clients that are sure of their import
    request succeeding, and wish to avoid the wl_buffer communication
    roundtrip.
    
    bump zwp_linux_dmabuf_v1, zwp_linux_buffer_params_v1 interface
    versions.
    
    v2: specify using incorrectly imported dmabufs as undefined behavior
    instead of sending success/failure events. (pq, daniels)
    v3: preserve the optional protocol error added in v2 and explicitly
    state the outcome of import success or failure (pq)
    v4: clarify create_immed failure cases and error codes (pq)
    
    Signed-off-by: default avatarVarad Gautam <varad.gautam@collabora.com>
    Reviewed-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
    Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
    a840b363