[Mesa-dev] [PATCH] vulkan/wsi/x11: don't crash on null wsi x11 connection

2016-12-22 Thread Arda Coskunses
Without this check driver crash when application window closed unexpectedly. Acked-by: Edward O'Callaghan --- src/vulkan/wsi/wsi_common_x11.c | 4 1 file changed, 4 insertions(+) diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c

[Mesa-dev] [PATCH] vulkan/wsi/x11: don't crash on null visual

2016-12-22 Thread Arda Coskunses
When application window closed unexpectedly due to lost window visualtypes getting invlaid parameters which is causing a crash. Necessary check is added to prevent the crash. --- src/vulkan/wsi/wsi_common_x11.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vulkan/wsi/wsi_common_x11.c

Re: [Mesa-dev] [PATCH 1/2] vulkan/wsi: don't crash on null swapchain

2016-12-22 Thread Arda Coskunses
n't silently handle invalid usage. > > On Thu, Dec 22, 2016 at 9:30 AM, Arda Coskunses <acoskun...@gmail.com> > wrote: > >> When application window closed unexpectedly >> anv_GetSwapchainImagesKHR function getting >> called with invlid parameters which cause a &

[Mesa-dev] [PATCH 1/2] vulkan/wsi: don't crash on null swapchain

2016-12-22 Thread Arda Coskunses
When application window closed unexpectedly anv_GetSwapchainImagesKHR function getting called with invlid parameters which cause a crash. Necessary Null check added --- src/intel/vulkan/anv_wsi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/vulkan/anv_wsi.c

[Mesa-dev] [PATCH 2/2] vulkan/wsi/x11: don't crash on null visual

2016-12-22 Thread Arda Coskunses
When application window closed unexpectedly due to lost window visualtypes getting invlaid parameters which is causing a crash. Necessary check is added to prevent the crash. --- src/vulkan/wsi/wsi_common_x11.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vulkan/wsi/wsi_common_x11.c

[Mesa-dev] [PATCH] vulkan/wsi/x11: don't crash on null wsi x11 connection

2016-12-19 Thread Arda Coskunses
Without this check driver crash when application window closed unexpectedly. --- src/vulkan/wsi/wsi_common_x11.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c index 25ba0c1..afb7809 100644 ---