aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-24 19:43:56 +0200
committerSimon Ser <contact@emersion.fr>2022-05-30 11:34:57 +0200
commit9e25d3074d6091141d184c95492d47dd8a6c904e (patch)
treeae969cbf86000e00d421d846265f1631e8e40492 /include
parent927661d246b23a5a9133547209bc155ed501de2f (diff)
output: pass wlr_output_state to rendering functions
No functional change.
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