mesa/src/vulkan
Philipp Zabel 1586768e74 vulkan/wsi/wayland: Fix proxy wrappers for swapchain recreation
Before the swapchain event queue is destroyed, all proxy objects that reference
it must be dropped. Otherwise we risk a use-after-free if a frame callback event
or buffer release events are received afterwards.
This happens when an application destroys and recreates a swapchain in FIFO
mode between two frames without using the VkSwapchainCreateInfoKHR::oldSwapchain
mechanism to keep the old swapchain until after the next redraw.

Fixes: 5034c61558 ("vulkan/wsi/wayland: Use proxy wrappers for swapchain")
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Cc: mesa-stable@lists.freedesktop.org
2017-05-20 17:00:08 +01:00
..
registry vulkan: Update registry and headers to 1.0.49 2017-05-16 08:38:34 -07:00
util vulkan: provide vk.xml as argument to the python generator 2017-02-28 18:53:04 +00:00
wsi vulkan/wsi/wayland: Fix proxy wrappers for swapchain recreation 2017-05-20 17:00:08 +01:00
Android.mk android: fix outdir for gen_enum_to_str files 2017-03-04 16:38:33 +00:00
Makefile.am vulkan: automake: remove unused VULKAN_LIB_DEPS variable 2017-05-19 19:44:17 +01:00
Makefile.sources vulkan/wsi: Generate wayland protocol headers separately from EGL 2017-03-13 11:16:33 +00:00