[vlc-commits] [Git][videolan/vlc][master] meson: add Vulkan support for Wayland video output
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Thu Jun 11 10:37:20 UTC 2026
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
1a2bc6a9 by Ahmed Sobhy at 2026-06-11T11:55:47+02:00
meson: add Vulkan support for Wayland video output
- - - - -
3 changed files:
- modules/video_output/libplacebo/meson.build
- modules/video_output/meson.build
- modules/video_output/wayland/meson.build
Changes:
=====================================
modules/video_output/libplacebo/meson.build
=====================================
@@ -21,10 +21,6 @@ vlc_modules += {
}
## Vulkan
-vulkan_dep = dependency('vulkan',
- version: '>= 1.0.26',
- required: get_option('vulkan'))
-
if vulkan_dep.found()
vlc_modules += {
'name' : 'placebo_vk',
=====================================
modules/video_output/meson.build
=====================================
@@ -24,6 +24,9 @@ egl_dep = dependency('egl', required: false)
# Declared here so it's available in opengl subdir for egl_display_gbm
drm_dep = dependency('libdrm', version: '>= 2.4.83', required: get_option('drm'))
+# Declared here, as it's used by both the libplacebo and wayland subfolders
+vulkan_dep = dependency('vulkan', version: '>= 1.0.26', required: get_option('vulkan'))
+
if host_system == 'darwin'
subdir('apple')
=====================================
modules/video_output/wayland/meson.build
=====================================
@@ -144,3 +144,11 @@ if egl_dep.found()
}
endif
endif
+
+vlc_modules += {
+ 'name': 'vk_wl',
+ 'sources': files('vulkan.c', '../vulkan/platform.h'),
+ 'c_args': ['-DVK_USE_PLATFORM_WAYLAND_KHR'],
+ 'dependencies': [wayland_client_dep, vulkan_dep],
+ 'enabled': vulkan_dep.found(),
+}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1a2bc6a941d037e33b32ead416f9a602f54760b4
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1a2bc6a941d037e33b32ead416f9a602f54760b4
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list