Data Fields
zwp_linux_buffer_params_v1_listener Struct Reference

Data Fields

void(* created )(void *data, struct zwp_linux_buffer_params_v1 *zwp_linux_buffer_params_v1, struct wl_buffer *buffer)
 buffer creation succeeded More...
 
void(* failed )(void *data, struct zwp_linux_buffer_params_v1 *zwp_linux_buffer_params_v1)
 buffer creation failed More...
 

Field Documentation

§ created

void(* zwp_linux_buffer_params_v1_listener::created) (void *data, struct zwp_linux_buffer_params_v1 *zwp_linux_buffer_params_v1, struct wl_buffer *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.

Parameters
bufferthe newly created wl_buffer

§ failed

void(* zwp_linux_buffer_params_v1_listener::failed) (void *data, struct zwp_linux_buffer_params_v1 *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.