Trait wayland_raw_protocol_bindings::client::linux_dmabuf_unstable_v1::zwp_linux_buffer_params_v1::zwp_linux_buffer_params_v1_listener[][src]

pub trait zwp_linux_buffer_params_v1_listener {
    fn created(
        &mut self,
        object: *mut zwp_linux_buffer_params_v1,
        buffer: *mut wl_buffer
    ) { ... }
fn failed(&mut self, object: *mut zwp_linux_buffer_params_v1) { ... } }
Expand description

An interface for handling events.

Provided methods

buffer creation succeeded

This event indicates that the attempted buffer creation was successful. It provides the new wl_buffer referencing the dmabuf(s).

Upon receiving this event, the client should destroy the zlinux_dmabuf_params object.

buffer creation failed

This event indicates that the attempted buffer creation has failed. It usually means that one of the dmabuf constraints has not been fulfilled.

Upon receiving this event, the client should destroy the zlinux_buffer_params object.

Implementors