Available on crate feature
server
only.Expand description
a frame ready for copy
This object represents a single frame.
When created, a series of buffer events will be sent, each representing a supported buffer type. The “buffer_done” event is sent afterwards to indicate that all supported buffer types have been enumerated. The client will then be able to send a “copy” request. If the capture is successful, the compositor will send a “flags” followed by a “ready” event.
For objects version 2 or lower, wl_shm buffers are always supported, ie. the “buffer” event is guaranteed to be sent.
If the capture failed, the “failed” event is sent. This can happen anytime before the “ready” event.
Once either a “ready” or a “failed” event is received, the client should destroy the frame.
Structs§
- Flags
- Zwlr
Screencopy Frame V1 - a frame ready for copy
Enums§
Constants§
- EVT_
BUFFER_ DONE_ OPCODE - The wire opcode for this event
- EVT_
BUFFER_ DONE_ SINCE - The minimal object version supporting this event
- EVT_
BUFFER_ OPCODE - The wire opcode for this event
- EVT_
BUFFER_ SINCE - The minimal object version supporting this event
- EVT_
DAMAGE_ OPCODE - The wire opcode for this event
- EVT_
DAMAGE_ SINCE - The minimal object version supporting this event
- EVT_
FAILED_ OPCODE - The wire opcode for this event
- EVT_
FAILED_ SINCE - The minimal object version supporting this event
- EVT_
FLAGS_ OPCODE - The wire opcode for this event
- EVT_
FLAGS_ SINCE - The minimal object version supporting this event
- EVT_
LINUX_ DMABUF_ OPCODE - The wire opcode for this event
- EVT_
LINUX_ DMABUF_ 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_
COPY_ OPCODE - The wire opcode for this request
- REQ_
COPY_ SINCE - The minimal object version supporting this request
- REQ_
COPY_ WITH_ DAMAGE_ OPCODE - The wire opcode for this request
- REQ_
COPY_ WITH_ DAMAGE_ SINCE - The minimal object version supporting this request
- REQ_
DESTROY_ OPCODE - The wire opcode for this request
- REQ_
DESTROY_ SINCE - The minimal object version supporting this request