Module zwlr_export_dmabuf_frame_v1
Available on crate feature
wayland and Linux only.Expand description
a DMA-BUF frame
This object represents a single DMA-BUF frame.
If the capture is successful, the compositor will first send a “frame” event, followed by one or several “object”. When the frame is available for readout, the “ready” event is sent.
If the capture failed, the “cancel” event is sent. This can happen anytime before the “ready” event.
Once either a “ready” or a “cancel” event is received, the client should destroy the frame. Once an “object” event is received, the client is responsible for closing the associated file descriptor.
All frames are read-only and may not be written into or altered.
Structs§
- Zwlr
Export Dmabuf Frame V1 - a DMA-BUF frame
Enums§
- Cancel
Reason - cancel reason
- Event
- Flags
- frame flags
- Request
Constants§
- EVT_
CANCEL_ OPCODE - The wire opcode for this event
- EVT_
CANCEL_ SINCE - The minimal object version supporting this event
- EVT_
FRAME_ OPCODE - The wire opcode for this event
- EVT_
FRAME_ SINCE - The minimal object version supporting this event
- EVT_
OBJECT_ OPCODE - The wire opcode for this event
- EVT_
OBJECT_ SINCE - The minimal object version supporting this event
- EVT_
READY_ OPCODE - The wire opcode for this event
- EVT_
READY_ SINCE - The minimal object version supporting this event
- REQ_
DESTROY_ OPCODE - The wire opcode for this request
- REQ_
DESTROY_ SINCE - The minimal object version supporting this request