Enable throttling in SwapBuffers
authorAxel Davy <axel.davy@ens.fr>
Tue, 3 Dec 2013 16:04:10 +0000 (17:04 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 4 Dec 2013 23:58:29 +0000 (15:58 -0800)
commitafcce46fd505da51883000249ef29dd69f1d7791
treea1d8cefd20cda8b53e3d3ff0ae4bbcf7c5fba564
parent33eb5eabeec0c17e81b6bb11be703701e4025d4e
Enable throttling in SwapBuffers

flush_with_flags, when available, allows the driver to throttle.
Using this suppress input lag issues that can be observed in heavy
rendering situations on non-intel cards.

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