[Mesa-dev] [PATCH] Mesa (master): egl/wayland: Replace wl_display_dispatch_queue with wl_display_roundtrip_queue

2017-08-07 Thread kai . chen
From: Kai Chen <kai.c...@intel.com> In function get_back_bo, wl_display_dispatch_queue is used to block on the server to release one buffer. But it seems this function will block client as well during polling. Because in some scenarios, such as when surfaces are moved frequently betwe

[Mesa-dev] [PATCH] Mesa (master): egl/wayland: Replace wl_display_dispatch_queue with wl_display_roundtrip_queue

2017-08-07 Thread kai . chen
From: Kai Chen <kai.c...@intel.com> In function get_back_bo, wl_display_dispatch_queue is used to block on the server to release one buffer. But it seems this function will block client as well during polling. Because in some scenarios, such as when surfaces are moved frequently betwe