[−][src]Trait wayland_raw_protocol_bindings::client::linux_dmabuf_unstable_v1::zwp_linux_buffer_params_v1::zwp_linux_buffer_params_v1_listener
An interface for handling events.
Provided methods
fn created(
&mut self,
object: *mut zwp_linux_buffer_params_v1,
buffer: *mut wl_buffer
)
&mut self,
object: *mut zwp_linux_buffer_params_v1,
buffer: *mut wl_buffer
)
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.
fn failed(&mut self, object: *mut zwp_linux_buffer_params_v1)
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.