Enable throttling in SwapBuffers
commit2776a496d4fa28f7d5039eb7f8d79c047a6e7d9f
authorAxel Davy <axel.davy@ens.fr>
Tue, 3 Dec 2013 16:04:10 +0000 (3 17:04 +0100)
committerCarl Worth <cworth@cworth.org>
Thu, 12 Dec 2013 23:34:27 +0000 (12 15:34 -0800)
treed3eaf1646486de3ff1889e14c7702dde6add61e3
parent1919ec6ba43a8fb229495e2ebb87789fb11ffb8c
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
(cherry picked from commit afcce46fd505da51883000249ef29dd69f1d7791)
src/egl/drivers/dri2/platform_wayland.c