mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
render/vulkan: add upload thread
TODO: - Update blocking stage submission as well - Allow multiple data ptr accesses - Stop abusing FDs for multi-thread queue
This commit is contained in:
parent
79cbbfb366
commit
fee8969955
6 changed files with 208 additions and 31 deletions
|
|
@ -267,7 +267,7 @@ static struct wlr_renderer *renderer_autocreate(struct wlr_backend *backend, int
|
|||
log_creation_failure(is_auto, "Cannot create Vulkan renderer: no DRM FD available");
|
||||
} else {
|
||||
#if WLR_HAS_VULKAN_RENDERER
|
||||
renderer = wlr_vk_renderer_create_with_drm_fd(drm_fd);
|
||||
renderer = wlr_vk_renderer_create_with_drm_fd(loop, drm_fd);
|
||||
#else
|
||||
wlr_log(WLR_ERROR, "Cannot create Vulkan renderer: disabled at compile-time");
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue