From 9e25d3074d6091141d184c95492d47dd8a6c904e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 24 May 2022 19:43:56 +0200 Subject: output: pass wlr_output_state to rendering functions No functional change. --- include/types/wlr_output.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/types/wlr_output.h b/include/types/wlr_output.h index a9018da0..9223407a 100644 --- a/include/types/wlr_output.h +++ b/include/types/wlr_output.h @@ -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 -- cgit v1.2.3