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

@ -28,6 +28,7 @@ struct wlr_fbox;
struct wlr_renderer {
struct wlr_render_rect_pass *rect_pass;
struct wlr_render_texture_pass *texture_pass;
struct wlr_render_submit_pass *submit_pass;
void *data;
// Capabilities required for the buffer used as a render target (bitmask of