mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
linux-dmabuf-v1: add basic helpers for feedback
This commit is contained in:
parent
5cd14dfc91
commit
b264ec7767
2 changed files with 33 additions and 0 deletions
|
|
@ -98,4 +98,17 @@ bool wlr_linux_dmabuf_v1_set_surface_feedback(
|
|||
struct wlr_linux_dmabuf_v1 *linux_dmabuf, struct wlr_surface *surface,
|
||||
const struct wlr_linux_dmabuf_feedback_v1 *feedback);
|
||||
|
||||
/**
|
||||
* Append a tranche at the end of the DMA-BUF feedback list.
|
||||
*
|
||||
* Tranches must be added with decreasing priority.
|
||||
*/
|
||||
struct wlr_linux_dmabuf_feedback_v1_tranche *wlr_linux_dmabuf_feedback_add_tranche(
|
||||
struct wlr_linux_dmabuf_feedback_v1 *feedback);
|
||||
|
||||
/**
|
||||
* Release resources allocated by a DMA-BUF feedback object.
|
||||
*/
|
||||
void wlr_linux_dmabuf_feedback_v1_finish(struct wlr_linux_dmabuf_feedback_v1 *feedback);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue