mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
anv: Add EXT_direct_mode_display to anv driver [v2]
Add support for the EXT_direct_mode_display extension. This just
provides the vkReleaseDisplayEXT function.
v2: Add extension to list in alphabetical order
Suggested-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
352d320a07
commit
f89d3874fb
2 changed files with 12 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ EXTENSIONS = [
|
|||
Extension('VK_KHR_multiview', 1, True),
|
||||
Extension('VK_KHR_display', 23, 'VK_USE_PLATFORM_DISPLAY_KHR'),
|
||||
Extension('VK_EXT_debug_report', 8, True),
|
||||
Extension('VK_EXT_direct_mode_display', 1, 'VK_USE_PLATFORM_DISPLAY_KHR'),
|
||||
Extension('VK_EXT_external_memory_dma_buf', 1, True),
|
||||
Extension('VK_EXT_global_priority', 1,
|
||||
'device->has_context_priority'),
|
||||
|
|
|
|||
|
|
@ -133,3 +133,14 @@ anv_CreateDisplayPlaneSurfaceKHR(
|
|||
|
||||
return wsi_create_display_surface(_instance, alloc, create_info, surface);
|
||||
}
|
||||
|
||||
VkResult
|
||||
anv_ReleaseDisplayEXT(VkPhysicalDevice physical_device,
|
||||
VkDisplayKHR display)
|
||||
{
|
||||
ANV_FROM_HANDLE(anv_physical_device, pdevice, physical_device);
|
||||
|
||||
return wsi_release_display(physical_device,
|
||||
&pdevice->wsi_device,
|
||||
display);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue