mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-28 01:41:07 -05:00
render/vulkan: add "acquire" to vulkan_sync_foreign_texture()
Makes it more obvious that this is about the acquire side, not the release side.
This commit is contained in:
parent
ff4ce12179
commit
8c8d6363a1
3 changed files with 3 additions and 3 deletions
|
|
@ -1011,7 +1011,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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue