[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 --- a/src/vulkan/wsi/wsi_common_

[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 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 b/src/intel/vulkan/a

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

2016-12-22 Thread Arda Coskunses
lid usage. > > On Thu, Dec 22, 2016 at 9:30 AM, Arda Coskunses > wrote: > >> When application window closed unexpectedly >> anv_GetSwapchainImagesKHR function getting >> called with invlid parameters which cause a >> crash. Necessary Null check added >&

[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

[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 index 037aa50..345740e 100644 ---