aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-11-30 19:48:01 +0100
committerSimon Ser <contact@emersion.fr>2023-11-30 19:48:01 +0100
commita165261f7f099475547b54bafd78a4465728a5cd (patch)
treec315bd072dda4d4725eb3f3f617a72aef5bac975 /include
parent5d639394f3e83b01596dcd166a44a9a1a2583350 (diff)
output: replace wlr_render_timer arg with wlr_buffer_pass_options
This scales better when more render pass options are added.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index 2740abda..b0905eec 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -722,6 +722,7 @@ bool wlr_output_configure_primary_swapchain(struct wlr_output *output,
* frames or -1 if unknown. This is useful for damage tracking.
*/
struct wlr_render_pass *wlr_output_begin_render_pass(struct wlr_output *output,
- struct wlr_output_state *state, int *buffer_age, struct wlr_render_timer *timer);
+ struct wlr_output_state *state, int *buffer_age,
+ struct wlr_buffer_pass_options *render_options);
#endif