diff options
author | Dave Airlie <[email protected]> | 2016-10-26 11:51:27 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-10-27 11:42:26 +1000 |
commit | 787c172aed0ae88ca6a8c1a193d9dd744fbdc918 (patch) | |
tree | d0c9000335049d8b5a069669e067e75ecaafe2f1 /src/getopt | |
parent | d548fa882b865b8e5052954b872e392312c38ab8 (diff) |
vulkan/wsi/x11: handle timeouts properly in next image acquire (v1.1)
For 0 timeout, just poll for an event, and if none, return
For UINT64_MAX timeout, just wait for special event blocked
For other timeouts get the xcb fd and block on it, decreasing
the timeout if we get woken up for non-special events.
v1.1: return VK_TIMEOUT for poll timeouts.
handle timeout going negative.
Reviewed-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions