summaryrefslogtreecommitdiffstats
path: root/src/intel/blorp
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2017-05-20 00:07:12 +0200
committerDaniel Stone <[email protected]>2017-05-20 17:00:08 +0100
commit1586768e7475a2732650f0ec2738b4e8429e4b40 (patch)
treee19bc68311c74d95f77c53c2c2461d3a2e24ba6d /src/intel/blorp
parent2b878cb8fdb99dd84602553c2e95ef47747f4529 (diff)
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: 5034c615582a ("vulkan/wsi/wayland: Use proxy wrappers for swapchain") Signed-off-by: Philipp Zabel <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/intel/blorp')
0 files changed, 0 insertions, 0 deletions