diff options
author | Dave Airlie <airlied@redhat.com> | 2016-10-26 11:51:27 +1000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-11-28 12:17:41 +0000 |
commit | ae6e22e311d417ec0b50edb9b656c1c3de6df28a (patch) | |
tree | 4bf99dc136cb6f5b145b4a45950134e8728f1610 /Android.common.mk | |
parent | f7b58a378ca94cf1c2637d640ce5b9fb8f8519a6 (diff) | |
download | external_mesa3d-ae6e22e311d417ec0b50edb9b656c1c3de6df28a.zip external_mesa3d-ae6e22e311d417ec0b50edb9b656c1c3de6df28a.tar.gz external_mesa3d-ae6e22e311d417ec0b50edb9b656c1c3de6df28a.tar.bz2 |
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 <funfunctor@folklore1984.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 787c172aed0ae88ca6a8c1a193d9dd744fbdc918)
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions