Merge branch 'vk-shm-upload' into 'master'

Draft: render/vulkan: Delay shm texture updates till render

See merge request wlroots/wlroots!4734
This commit is contained in:
Kenny Levinsen 2025-06-08 00:26:54 +00:00
commit 7283d62058
3 changed files with 51 additions and 15 deletions

View file

@ -703,6 +703,8 @@ static void render_pass_add_texture(struct wlr_render_pass *wlr_pass,
wl_list_insert(&renderer->foreign_textures, &texture->foreign_link);
}
vulkan_texture_update(texture);
struct wlr_fbox src_box;
wlr_render_texture_options_get_src_box(options, &src_box);
struct wlr_box dst_box;