mesa/src/vulkan/wsi
Michel Dänzer 550cd272b4 vulkan/wsi/x11: Destroy Present event context when destroying swapchain
Without this, the X server may accumulate stale Present event contexts
if a client creates and destroys multiple swapchains using the same
window.

v2: Based on Chris Wilson's review:
* Use xcb_present_select_input_checked so that protocol errors
  generated by old X servers can be handled gracefully
* Use xcb_discard_reply() instead of free(xcb_request_check())
v3: Rebased on top of this code having been refactored out of anv

Reviewed-by: Dave Airlie <airlied@redhat.com>
2016-11-30 12:31:25 +09:00
..
Makefile.am vulkan/wsi: fix out of tree build. 2016-10-19 10:54:42 +10:00
Makefile.sources vulkan/wsi: Add a thread-safe queue implementation 2016-11-10 22:40:44 -08:00
wsi_common.h vulkan/wsi: store present mode in swapchain base class 2016-10-27 11:43:00 +10:00
wsi_common_queue.h vulkan/wsi: Fix resource leak in success path of wsi_queue_init() 2016-11-28 21:11:25 +00:00
wsi_common_wayland.c wsi: fix VK_INCOMPLETE for vkGetSwapchainImagesKHR 2016-11-16 09:17:34 +10:00
wsi_common_wayland.h
wsi_common_x11.c vulkan/wsi/x11: Destroy Present event context when destroying swapchain 2016-11-30 12:31:25 +09:00
wsi_common_x11.h