Expand description
screen capture session
This object represents an active screencopy session.
After a screencopy session is created, buffer constraint events will be emitted from the compositor to tell the client which buffer types and formats are supported for reading from the session. The compositor may re-send buffer constraint events whenever they change.
The advertise buffer constraints, the compositor must send in no particular order: zero or more shm_format and dmabuf_format events, zero or one dmabuf_device event, and exactly one buffer_size event. Then the compositor must send a done event.
When the client has received all the buffer constraints, it can create a buffer accordingly, attach it to the screencopy session using the attach_buffer request, set the buffer damage using the damage_buffer request and then send the capture request.
Structs§
- Zcosmic
Screencopy Session V2 - screen capture session
Enums§
Constants§
- EVT_
BUFFER_ SIZE_ OPCODE - The wire opcode for this event
- EVT_
BUFFER_ SIZE_ SINCE - The minimal object version supporting this event
- EVT_
DMABUF_ DEVICE_ OPCODE - The wire opcode for this event
- EVT_
DMABUF_ DEVICE_ SINCE - The minimal object version supporting this event
- EVT_
DMABUF_ FORMAT_ OPCODE - The wire opcode for this event
- EVT_
DMABUF_ FORMAT_ SINCE - The minimal object version supporting this event
- EVT_
DONE_ OPCODE - The wire opcode for this event
- EVT_
DONE_ SINCE - The minimal object version supporting this event
- EVT_
SHM_ FORMAT_ OPCODE - The wire opcode for this event
- EVT_
SHM_ FORMAT_ SINCE - The minimal object version supporting this event
- EVT_
STOPPED_ OPCODE - The wire opcode for this event
- EVT_
STOPPED_ SINCE - The minimal object version supporting this event
- REQ_
CREATE_ FRAME_ OPCODE - The wire opcode for this request
- REQ_
CREATE_ FRAME_ 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