mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/vulkan: add Vulkan renderer
This new renderer is implemented with the existing wlr_renderer API (which is known to be sub-optimal for some operations). It's not used by default, but users can opt-in by setting WLR_RENDERER=vulkan. The renderer depends on VK_EXT_image_drm_format_modifier and VK_EXT_physical_device_drm. Co-authored-by: Simon Ser <contact@emersion.fr> Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
This commit is contained in:
parent
2edf468aeb
commit
8e34692250
21 changed files with 3704 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
renderers = get_option('renderers')
|
||||
if 'auto' in renderers and get_option('auto_features').enabled()
|
||||
renderers = ['gles2']
|
||||
renderers = ['gles2', 'vulkan']
|
||||
elif 'auto' in renderers and get_option('auto_features').disabled()
|
||||
renderers = []
|
||||
endif
|
||||
|
|
@ -24,6 +24,10 @@ if 'gles2' in renderers or 'auto' in renderers
|
|||
subdir('gles2')
|
||||
endif
|
||||
|
||||
if 'vulkan' in renderers or 'auto' in renderers
|
||||
subdir('vulkan')
|
||||
endif
|
||||
|
||||
subdir('pixman')
|
||||
|
||||
subdir('allocator')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue