mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
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:
parent
fee962af36
commit
fb6cfcf809
11 changed files with 299 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue