render: introduce wlr_render_submit_pass

Move pass submission out of wlr_render_pass_impl and introduce
wlr_render_submit_pass, mirroring the existing rect/texture pass
abstractions.
This commit is contained in:
YaoBing Xiao 2026-03-13 13:50:09 +08:00
parent fee962af36
commit fb6cfcf809
11 changed files with 299 additions and 17 deletions

View file

@ -38,6 +38,7 @@ bool wlr_output_init_render(struct wlr_output *output,
get_or_create_render_rect_pass(renderer);
get_or_create_render_texture_pass(renderer);
get_or_create_render_submit_pass(renderer);
wl_signal_emit_mutable(&output->events.render_inited, output);