mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
output: document wlr_output_export_dmabuf
This commit is contained in:
parent
a8a4a12c4b
commit
79e03c7d45
1 changed files with 6 additions and 0 deletions
|
@ -385,6 +385,12 @@ size_t wlr_output_get_gamma_size(struct wlr_output *output);
|
|||
*/
|
||||
void wlr_output_set_gamma(struct wlr_output *output, size_t size,
|
||||
const uint16_t *r, const uint16_t *g, const uint16_t *b);
|
||||
/**
|
||||
* Exports the output's current back-buffer as a DMA-BUF (ie. the buffer that
|
||||
* will be displayed on next commit).
|
||||
*
|
||||
* The caller is responsible for cleaning up the DMA-BUF attributes.
|
||||
*/
|
||||
bool wlr_output_export_dmabuf(struct wlr_output *output,
|
||||
struct wlr_dmabuf_attributes *attribs);
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue