diff options
author | Michel Dänzer <[email protected]> | 2016-07-28 17:54:49 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2016-11-30 12:31:25 +0900 |
commit | 550cd272b4b97fc06dbd3b5fad2bf0e5d526236d (patch) | |
tree | 7e2916e0b2415dcae9106262f6dec519142de120 /src/intel/vulkan | |
parent | 2ea021a1ebb768b13c533f6bea56cdfb4a9cc3b3 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
0 files changed, 0 insertions, 0 deletions