mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-12 04:28:18 -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
|
|
@ -527,6 +527,7 @@ struct wlr_vk_device *vulkan_device_create(struct wlr_vk_instance *ini,
|
|||
wlr_log(WLR_DEBUG, "DMA-BUF sync_file import/export not supported");
|
||||
}
|
||||
|
||||
dev->sync_file_import_export = exportable_semaphore && importable_semaphore;
|
||||
dev->implicit_sync_interop =
|
||||
exportable_semaphore && importable_semaphore && dmabuf_sync_file_import_export;
|
||||
if (dev->implicit_sync_interop) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue