[Mesa-dev] [PATCH mesa] vulkan: EXT_acquire_xlib_display requires libXrandr headers to build

Keith Packard keithp at keithp.com
Wed Jun 20 17:43:34 UTC 2018

Eric Engestrom <eric.engestrom at intel.com> writes:

> On Tuesday, 2018-06-19 16:06:14 -0700, Keith Packard wrote:
>> When VK_USE_PLATFORM_XLIB_XRANDR_EXT is defined, vulkan.h includes
>> X11/extensions/Xrandr.h for the RROutput typedef which is used in
>> the vkGetRandROutputDisplayEXT interface.
>> Make sure we have the required header by checking during the build,
>> and also set CFLAGS to point at the right directory.
>> We don't need to link against the library as we don't use any
>> functions from there, so don't add the _LIBS value in the autotools
>> build.
>> Signed-off-by: Keith Packard <keithp at keithp.com>
> Fixes: dbac8e25f851ed44c51f "radv: Add EXT_acquire_xlib_display to radv driver [v2]"
> Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

Thanks for testing. I've pushed this to master.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180620/bb42fd2a/attachment.sig>

More information about the mesa-dev mailing list