summaryrefslogtreecommitdiffstats
path: root/src/getopt
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-10-26 11:51:27 +1000
committerDave Airlie <[email protected]>2016-10-27 11:42:26 +1000
commit787c172aed0ae88ca6a8c1a193d9dd744fbdc918 (patch)
treed0c9000335049d8b5a069669e067e75ecaafe2f1 /src/getopt
parentd548fa882b865b8e5052954b872e392312c38ab8 (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