mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
Merge branch 'export-dmabuf-release' into 'master'
export-dmabuf: Implement release semantics See merge request wlroots/wlroots!5030
This commit is contained in:
commit
2298bbec92
5 changed files with 33 additions and 5 deletions
|
|
@ -46,5 +46,9 @@ struct wlr_buffer *wlr_swapchain_acquire(struct wlr_swapchain *swapchain);
|
|||
*/
|
||||
bool wlr_swapchain_has_buffer(struct wlr_swapchain *swapchain,
|
||||
struct wlr_buffer *buffer);
|
||||
/**
|
||||
* Count how many free slots there are left in the swapchain.
|
||||
*/
|
||||
int wlr_swapchain_count_free_slots(const struct wlr_swapchain *swapchain);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue