mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-21 06:46:46 -04:00
wip: add support for Vulkan software rendering
VK_EXT_external_memory_host allows us to instruct llvmpipe to render to an existing chunk of memory.
This commit is contained in:
parent
77951968dc
commit
e2518ea9de
6 changed files with 215 additions and 26 deletions
|
|
@ -283,7 +283,7 @@ struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd) {
|
|||
#endif
|
||||
#if WLR_HAS_VULKAN_RENDERER
|
||||
if (strcmp(name, "vulkan") == 0) {
|
||||
return wlr_vk_renderer_create_with_drm_fd(drm_fd);
|
||||
return wlr_vk_renderer_create_with_drm_fd(-1);
|
||||
}
|
||||
#endif
|
||||
if (strcmp(name, "pixman") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue