Enum wayland_protocols::unstable::linux_dmabuf::v1::server::zwp_linux_dmabuf_v1::Event [] [src]

pub enum Event {
    Format {
        format: u32,
    },
    Modifier {
        format: u32,
        modifier_hi: u32,
        modifier_lo: u32,
    },
}

Variants

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 the zwp_linux_buffer_params_v1::create request.

Warning: the 'format' event is likely to be deprecated and replaced with the 'modifier' event introduced in zwp_linux_dmabuf_v1 version 3, described below. Please refrain from using the information received from this event.

Fields of Format

supported buffer format modifier

This event advertises the formats that the server supports, along with the modifiers supported for each format. All the supported modifiers for 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 format-modifier pairs.

For the definition of the format and modifier codes, see the zwp_linux_buffer_params_v1::create request.

Only available since version 3 of the interface

Fields of Modifier

Trait Implementations

impl MessageGroup for Event
[src]

[src]

Whether this message is a destructor Read more

[src]

Construct a message of this group from its C representation

[src]

Build a C representation of this message Read more

Auto Trait Implementations

impl Send for Event

impl Sync for Event