summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/wsi_common.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-10-26 11:51:27 +1000
committerEmil Velikov <emil.l.velikov@gmail.com>2016-11-28 12:17:41 +0000
commitae6e22e311d417ec0b50edb9b656c1c3de6df28a (patch)
tree4bf99dc136cb6f5b145b4a45950134e8728f1610 /src/vulkan/wsi/wsi_common.h
parentf7b58a378ca94cf1c2637d640ce5b9fb8f8519a6 (diff)
downloadexternal_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 'src/vulkan/wsi/wsi_common.h')
0 files changed, 0 insertions, 0 deletions