mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
driconf: Add DRI configuration for exposing VK_KHR_present_wait.
These extensions are flawed and do not support the concept of per-surface queries. For the time being we cannot guarantee that we are able to implement it on all surfaces, but the feature is useful enough to make available as an opt-in feature for the time being, so hide it behind an driconf until we have a better mechanism in place. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> Reviewed-by: Joshua Ashton <joshua@froggi.es> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19279>
This commit is contained in:
parent
367fa98570
commit
d071279710
1 changed files with 4 additions and 0 deletions
|
|
@ -380,6 +380,10 @@
|
|||
DRI_CONF_OPT_B(vk_x11_ensure_min_image_count, def, \
|
||||
"Force the X11 WSI to create at least the number of image specified by the driver in VkSurfaceCapabilitiesKHR::minImageCount")
|
||||
|
||||
#define DRI_CONF_VK_KHR_PRESENT_WAIT(def) \
|
||||
DRI_CONF_OPT_B(vk_khr_present_wait, def, \
|
||||
"Expose VK_KHR_present_wait and id extensions despite them not being implemented for all supported surface types")
|
||||
|
||||
#define DRI_CONF_VK_XWAYLAND_WAIT_READY(def) \
|
||||
DRI_CONF_OPT_B(vk_xwayland_wait_ready, def, \
|
||||
"Wait for fences before submitting buffers to Xwayland")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue