export-dmabuf: Implement release semantics

This implements release semantics so that clients can hold onto buffers
while encoding.
This commit is contained in:
Andri Yngvason 2025-04-07 18:08:01 +00:00
parent a30c102163
commit cded7797f7
3 changed files with 18 additions and 6 deletions

View file

@ -32,6 +32,7 @@ struct wlr_export_dmabuf_frame_v1 {
struct wl_list link; // wlr_export_dmabuf_manager_v1.frames
struct wlr_output *output;
struct wlr_buffer *buffer;
bool cursor_locked;