aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_output.h5
1 files changed, 4 insertions, 1 deletions
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