output: introduce wlr_output_queue_state

This commit is contained in:
Simon Ser 2021-01-28 16:03:47 +01:00
parent 328ce2dd39
commit 92ac84a192
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 49 additions and 0 deletions

View file

@ -429,6 +429,13 @@ void wlr_output_lock_software_cursors(struct wlr_output *output, bool lock);
*/
void wlr_output_render_software_cursors(struct wlr_output *output,
pixman_region32_t *damage);
/**
* Queue pending output state from `state`.
*
* Users need to call `wlr_output_commit` to apply the pending state.
*/
void wlr_output_queue_state(struct wlr_output *output,
const struct wlr_output_state *state);
struct wlr_output_cursor *wlr_output_cursor_create(struct wlr_output *output);