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
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.
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
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