wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 9 Apr 2019 13:30:05 +0000 (15:30 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Apr 2019 07:10:01 +0000 (09:10 +0200)
commita182adfd83ad00e326153b00a725a014e0359bf0
tree110690bf98b8c52ef593b98ac540db1bb443c58d
parent09b4049be35898b756e6c2a8911ad094c69ac709
wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE

This is common to all Vulkan drivers and all WSI.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/vulkan/wsi/wsi_common.c
src/vulkan/wsi/wsi_common.h
src/vulkan/wsi/wsi_common_display.c
src/vulkan/wsi/wsi_common_private.h
src/vulkan/wsi/wsi_common_wayland.c
src/vulkan/wsi/wsi_common_x11.c