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

@ -55,6 +55,7 @@ void wlr_renderer_destroy(struct wlr_renderer *r) {
wlr_render_rect_pass_destroy(r->rect_pass);
wlr_render_texture_pass_destroy(r->texture_pass);
wlr_render_submit_pass_destroy(r->submit_pass);
if (r->impl && r->impl->destroy) {
r->impl->destroy(r);
} else {