mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-16 07:59:53 +00:00
wsi/x11: Always link against xcb-xrandr
The next commit will make use of it even without VK_USE_PLATFORM_XLIB_XRANDR_EXT. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8197>
This commit is contained in:
parent
1cce8e1101
commit
1de2fd0cf2
@ -141,7 +141,7 @@ if system_has_kms_drm and not with_platform_android
|
||||
endif
|
||||
|
||||
if with_xlib_lease
|
||||
radv_deps += [dep_xcb_xrandr, dep_xlib_xrandr]
|
||||
radv_deps += [dep_xlib_xrandr]
|
||||
radv_flags += '-DVK_USE_PLATFORM_XLIB_XRANDR_EXT'
|
||||
endif
|
||||
|
||||
|
@ -103,7 +103,7 @@ if with_platform_android
|
||||
endif
|
||||
|
||||
if with_xlib_lease
|
||||
tu_deps += [dep_xcb_xrandr, dep_xlib_xrandr]
|
||||
tu_deps += [dep_xlib_xrandr]
|
||||
tu_flags += '-DVK_USE_PLATFORM_XLIB_XRANDR_EXT'
|
||||
endif
|
||||
|
||||
|
@ -162,7 +162,7 @@ if system_has_kms_drm and not with_platform_android
|
||||
endif
|
||||
|
||||
if with_xlib_lease
|
||||
anv_deps += [dep_xcb_xrandr, dep_xlib_xrandr]
|
||||
anv_deps += [dep_xlib_xrandr]
|
||||
anv_flags += '-DVK_USE_PLATFORM_XLIB_XRANDR_EXT'
|
||||
endif
|
||||
|
||||
|
@ -36,6 +36,7 @@ if with_platform_x11
|
||||
dep_xcb_dri3,
|
||||
dep_xcb_present,
|
||||
dep_xcb_sync,
|
||||
dep_xcb_xrandr,
|
||||
dep_xshmfence,
|
||||
]
|
||||
vulkan_wsi_list += ['xcb', 'x11']
|
||||
@ -52,7 +53,7 @@ if system_has_kms_drm and not with_platform_android
|
||||
endif
|
||||
if with_xlib_lease
|
||||
vulkan_wsi_args += '-DVK_USE_PLATFORM_XLIB_XRANDR_EXT'
|
||||
vulkan_wsi_deps += [dep_xcb_xrandr, dep_xlib_xrandr]
|
||||
vulkan_wsi_deps += [dep_xlib_xrandr]
|
||||
vulkan_wsi_list += ['xlib_xrandr']
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user