From 8e346922508aa3eaccd6e12f2917f6574f349843 Mon Sep 17 00:00:00 2001 From: nyorain Date: Sun, 21 Feb 2021 18:30:12 +0100 Subject: 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 Co-authored-by: Jan Beich --- include/meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/meson.build') diff --git a/include/meson.build b/include/meson.build index ff951108..3aa5955e 100644 --- a/include/meson.build +++ b/include/meson.build @@ -18,6 +18,9 @@ endif if not features.get('gles2-renderer') exclude_files += ['render/egl.h', 'render/gles2.h'] endif +if not features.get('vulkan-renderer') + exclude_files += 'render/vulkan.h' +endif install_subdir('wlr', install_dir: get_option('includedir'), -- cgit v1.2.3