Re: [Mesa-dev] [PATCH] vulkan/wsi/x11: handle timeouts properly in next image acquire (v1.1)

2016-10-31 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Wed, Oct 26, 2016 at 4:32 AM, Dave Airlie wrote: > From: Dave Airlie > > 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 > t

[Mesa-dev] [PATCH] vulkan/wsi/x11: handle timeouts properly in next image acquire (v1.1)

2016-10-27 Thread Dave Airlie
From: Dave Airlie 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.

Re: [Mesa-dev] [PATCH] vulkan/wsi/x11: handle timeouts properly in next image acquire

2016-10-26 Thread Edward O'Callaghan
Reviewed-by: Edward O'Callaghan On 10/26/2016 01:23 PM, Dave Airlie wrote: > From: Dave Airlie > > 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 timeo

[Mesa-dev] [PATCH] vulkan/wsi/x11: handle timeouts properly in next image acquire

2016-10-25 Thread Dave Airlie
From: Dave Airlie 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. Signed-off-by: Dave Airlie --- src/vulka