Re: [Mesa-dev] [PATCH] wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE

2019-04-09 Thread Lionel Landwerlin
On 09/04/2019 13:29, Samuel Pitoiset wrote: On 4/9/19 1:10 PM, Lionel Landwerlin wrote: On 09/04/2019 08:08, Samuel Pitoiset wrote: This is common to all Vulkan drivers and all WSI. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107391 Signed-off-by: Samuel Pitoiset ---  

Re: [Mesa-dev] [PATCH] wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE

2019-04-09 Thread Samuel Pitoiset
On 4/9/19 1:10 PM, Lionel Landwerlin wrote: On 09/04/2019 08:08, Samuel Pitoiset wrote: This is common to all Vulkan drivers and all WSI. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107391 Signed-off-by: Samuel Pitoiset ---   src/vulkan/wsi/wsi_common.c | 19

Re: [Mesa-dev] [PATCH] wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE

2019-04-09 Thread Lionel Landwerlin
On 09/04/2019 08:08, Samuel Pitoiset wrote: This is common to all Vulkan drivers and all WSI. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107391 Signed-off-by: Samuel Pitoiset --- src/vulkan/wsi/wsi_common.c | 19 +++ src/vulkan/wsi/wsi_common_display.c |

Re: [Mesa-dev] [PATCH] wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE

2019-04-09 Thread Eric Engestrom
On 2019-04-09 at 10:56, Michel Dänzer wrote: > On 2019-04-09 10:03 a.m., Eric Engestrom wrote: > > On Tuesday, 2019-04-09 09:08:36 +0200, Samuel Pitoiset wrote: > >> > >> + if (!strcmp(mode, "fifo")) { > >> + swapchain->present_mode = VK_PRESENT_MODE_FIFO_KHR; > >> + } else if

Re: [Mesa-dev] [PATCH] wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE

2019-04-09 Thread Michel Dänzer
On 2019-04-09 10:03 a.m., Eric Engestrom wrote: > On Tuesday, 2019-04-09 09:08:36 +0200, Samuel Pitoiset wrote: >> >> + if (!strcmp(mode, "fifo")) { >> + swapchain->present_mode = VK_PRESENT_MODE_FIFO_KHR; >> + } else if (!strcmp(mode, "mailbox")) { >> +

Re: [Mesa-dev] [PATCH] wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE

2019-04-09 Thread Eric Engestrom
On Tuesday, 2019-04-09 09:08:36 +0200, Samuel Pitoiset wrote: > This is common to all Vulkan drivers and all WSI. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107391 > Signed-off-by: Samuel Pitoiset > --- > src/vulkan/wsi/wsi_common.c | 19 +++ >

[Mesa-dev] [PATCH] wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE

2019-04-09 Thread Samuel Pitoiset
This is common to all Vulkan drivers and all WSI. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107391 Signed-off-by: Samuel Pitoiset --- src/vulkan/wsi/wsi_common.c | 19 +++ src/vulkan/wsi/wsi_common_display.c | 2 ++ src/vulkan/wsi/wsi_common_private.h | 2