vulkan/wsi/wayland: implement acquire timeout
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 26 Jul 2019 09:08:13 +0000 (12:08 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 29 Jul 2019 13:11:36 +0000 (13:11 +0000)
commit6659d11ff0c639c49823fdaa0cf23c7fef7f2582
tree3e425f0a1570061ac17e1cf56d312b0cbd8b29d9
parentd2d70c3bb579f8a8e0b7431eff164e85ca7bc4ab
vulkan/wsi/wayland: implement acquire timeout

v2: Eric's nits

v3: Reuse timespec utils (Daniel)
    Deal with ppoll being interrupted by a signal (Daniel)

v4: Remove unnecessary time check

v5: Deal with EAGAIN from wl_display_prepare_read_queue() (Daniel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> (v2)
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/vulkan/wsi/wsi_common_wayland.c