[Xcb] [PATCH 0/1] read from connection when polling special events and replies

David McFarland corngood at gmail.com
Wed Apr 19 02:58:58 UTC 2017


I was getting unexpected timeouts when using a finite timout for
vkAcquireNextImageKHR using the mesa vulkan driver (radeon).

This patch seems to fix the problem, by forcing a read from the
connection when in a loop polling for special events.

For regular events there is xcb_poll_for_queued_event, which
doesn't read.  Is there a reason replies and special events
never read from the connection?

I speculatively included the same change for reading replies.
It hasn't been tested.


David McFarland (1):
  read from connection when polling special events and replies

 src/xcb_in.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.12.2



More information about the Xcb mailing list