mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-05 13:29:47 -05:00
render/vulkan: add support for explicit sync
This commit is contained in:
parent
9351c78d70
commit
3bbfae73ae
5 changed files with 190 additions and 71 deletions
|
|
@ -208,12 +208,6 @@ void vulkan_texture_destroy(struct wlr_vk_texture *texture) {
|
|||
free(view);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < WLR_DMABUF_MAX_PLANES; i++) {
|
||||
if (texture->foreign_semaphores[i] != VK_NULL_HANDLE) {
|
||||
vkDestroySemaphore(dev, texture->foreign_semaphores[i], NULL);
|
||||
}
|
||||
}
|
||||
|
||||
vkDestroyImage(dev, texture->image, NULL);
|
||||
|
||||
for (unsigned i = 0u; i < texture->mem_count; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue