radv: Add EXT_acquire_xlib_display to radv driver [v2]
authorKeith Packard <keithp@keithp.com>
Fri, 9 Feb 2018 15:45:58 +0000 (07:45 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 19 Jun 2018 21:17:46 +0000 (14:17 -0700)
commitdbac8e25f851ed44c51f3ce8a08b2cdd564c5dd2
treeb916f34db7b01f7ea88f7e5bf979196d8584c56c
parent46090a642d54d58bbdb851ae62beb5c350101324
radv: Add EXT_acquire_xlib_display to radv driver [v2]

This extension adds the ability to borrow an X RandR output for
temporary use directly by a Vulkan application to the radv driver.

v2:
Simplify addition of VK_USE_PLATFORM_XLIB_XRANDR_KHR to
vulkan_wsi_args

Suggested-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/amd/vulkan/Makefile.am
src/amd/vulkan/meson.build
src/amd/vulkan/radv_entrypoints_gen.py
src/amd/vulkan/radv_extensions.py
src/amd/vulkan/radv_wsi_display.c