Data Fields
zwp_linux_dmabuf_v1_listener Struct Reference

Data Fields

void(* format )(void *data, struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf_v1, uint32_t format)
 supported buffer format More...
 

Field Documentation

§ format

void(* zwp_linux_dmabuf_v1_listener::format) (void *data, struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf_v1, uint32_t format)

supported buffer format

This event advertises one buffer format that the server supports. All the supported formats are advertised once when the client binds to this interface. A roundtrip after binding guarantees, that the client has received all supported formats.

For the definition of the format codes, see create request.

XXX: Can a compositor ever enumerate them?

Parameters
formatDRM_FORMAT code