mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 04:50:11 +01:00
v3dv: Enable (leased) direct display extensions.
Enable support for the following extensions, which are already supported by the driver and shared wsi code, and were just missing enables inside v3dv_device: VK_EXT_direct_mode_display, VK_EXT_acquire_drm_display, VK_EXT_acquire_xlib_display. Successfully tested on RPi 400, RaspberryPi OS 11, with X11 RandR output leasing to lease a RandR output and use it for direct display mode. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21529>
This commit is contained in:
parent
12f0daddfc
commit
bf5cfb6486
1 changed files with 5 additions and 0 deletions
|
|
@ -90,6 +90,8 @@ static const struct vk_instance_extension_table instance_extensions = {
|
||||||
#ifdef VK_USE_PLATFORM_DISPLAY_KHR
|
#ifdef VK_USE_PLATFORM_DISPLAY_KHR
|
||||||
.KHR_display = true,
|
.KHR_display = true,
|
||||||
.KHR_get_display_properties2 = true,
|
.KHR_get_display_properties2 = true,
|
||||||
|
.EXT_direct_mode_display = true,
|
||||||
|
.EXT_acquire_drm_display = true,
|
||||||
#endif
|
#endif
|
||||||
.KHR_external_fence_capabilities = true,
|
.KHR_external_fence_capabilities = true,
|
||||||
.KHR_external_memory_capabilities = true,
|
.KHR_external_memory_capabilities = true,
|
||||||
|
|
@ -108,6 +110,9 @@ static const struct vk_instance_extension_table instance_extensions = {
|
||||||
#endif
|
#endif
|
||||||
#ifdef VK_USE_PLATFORM_XLIB_KHR
|
#ifdef VK_USE_PLATFORM_XLIB_KHR
|
||||||
.KHR_xlib_surface = true,
|
.KHR_xlib_surface = true,
|
||||||
|
#endif
|
||||||
|
#ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
|
||||||
|
.EXT_acquire_xlib_display = true,
|
||||||
#endif
|
#endif
|
||||||
.EXT_debug_report = true,
|
.EXT_debug_report = true,
|
||||||
.EXT_debug_utils = true,
|
.EXT_debug_utils = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue