egl/wayland: Flush the wl_display at the end of SwapBuffers
authorAxel Davy <axel.davy@ens.fr>
Tue, 3 Dec 2013 16:38:09 +0000 (17:38 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 4 Dec 2013 23:48:28 +0000 (15:48 -0800)
commit402bf6e8d098b64390277b229f7fae769e4449e5
treeb623ab5c4c91559aa63b4c710f79f4daea2c2047
parent50205e11c60ec2ef64a6408c7a95155afcf8802e
egl/wayland: Flush the wl_display at the end of SwapBuffers

We would like the compositor to receive the commited buffer
as soon as possible, so it has the time to treat it, and
release old ones. We shouldn't rely on the client
to flush the queue for us.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Cc: "10.0" mesa-stable@lists.freedesktop.org
src/egl/drivers/dri2/platform_wayland.c