egl/wayland: Don't open-code roundtrip
authorDaniel Stone <daniels@collabora.com>
Fri, 5 May 2017 13:44:20 +0000 (14:44 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 19 May 2017 08:36:11 +0000 (09:36 +0100)
commit8118bc269f39ea0b965752ea89b886b28094db42
treeb124033d459b15135104cb872cfaa2f6ab27606c
parent5034c615582add2be9309dc1d7383fb0daba6dd3
egl/wayland: Don't open-code roundtrip

wl_display_roundtrip_queue() exists and can replace roundtrip(). The
API was introduced with wayland 1.6, while we currently require 1.11.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
src/egl/drivers/dri2/platform_wayland.c