Data Fields
zwp_linux_dmabuf_v1_interface Struct Reference

Data Fields

void(* destroy )(struct wl_client *client, struct wl_resource *resource)
 unbind the factory More...
 
void(* create_params )(struct wl_client *client, struct wl_resource *resource, uint32_t params_id)
 create a temporary object for buffer parameters More...
 

Field Documentation

◆ destroy

void(* zwp_linux_dmabuf_v1_interface::destroy) (struct wl_client *client, struct wl_resource *resource)

unbind the factory

Objects created through this interface, especially wl_buffers, will remain valid.

◆ create_params

void(* zwp_linux_dmabuf_v1_interface::create_params) (struct wl_client *client, struct wl_resource *resource, uint32_t params_id)

create a temporary object for buffer parameters

This temporary object is used to collect multiple dmabuf handles into a single batch to create a wl_buffer. It can only be used once and should be destroyed after a 'created' or 'failed' event has been received.

Parameters
params_idthe new temporary