output: pass wlr_output_state to rendering functions

No functional change.
This commit is contained in:
Simon Ser 2022-05-24 19:43:56 +02:00
parent 927661d246
commit 9e25d3074d
3 changed files with 46 additions and 33 deletions

View file

@ -6,10 +6,13 @@
void output_pending_resolution(struct wlr_output *output,
const struct wlr_output_state *state, int *width, int *height);
void output_state_attach_buffer(struct wlr_output_state *state,
struct wlr_buffer *buffer);
struct wlr_drm_format *output_pick_format(struct wlr_output *output,
const struct wlr_drm_format_set *display_formats, uint32_t format);
void output_clear_back_buffer(struct wlr_output *output);
bool output_ensure_buffer(struct wlr_output *output);
bool output_ensure_buffer(struct wlr_output *output,
struct wlr_output_state *state);
#endif