render/vulkan: add "acquire" to vulkan_sync_foreign_texture()

Makes it more obvious that this is about the acquire side, not the
release side.

(cherry picked from commit 8c8d6363a1)
This commit is contained in:
Simon Ser 2026-02-14 18:06:40 +01:00 committed by Simon Zeni
parent a34411c2fe
commit 6fee18f373
3 changed files with 3 additions and 3 deletions

View file

@ -990,7 +990,7 @@ static bool buffer_export_sync_file(struct wlr_vk_renderer *renderer, struct wlr
return true;
}
bool vulkan_sync_foreign_texture(struct wlr_vk_texture *texture,
bool vulkan_sync_foreign_texture_acquire(struct wlr_vk_texture *texture,
int sync_file_fds[static WLR_DMABUF_MAX_PLANES]) {
return buffer_export_sync_file(texture->renderer, texture->buffer, DMA_BUF_SYNC_READ, sync_file_fds);
}