mesa/src/loader
Thomas Hellstrom 81fb154777 loader/dri3: Use dri3_find_back in loader_dri3_swap_buffers_msc
If the application hasn't done any drawing since the last call, we
would reuse the same back buffer which was used for the previous swap,
which may not have completed yet. This could result in various issues
such as tearing or application hangs.

In the normal case, the behaviour is unchanged.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97957
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101683
Cc: mesa-stable@lists.freedesktop.org

[Michel Dänzer: Make Thomas' fix from bugzilla actually work as
 intended, write commit log]
2017-07-13 16:49:28 +09:00
..
Android.mk Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
loader.c egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
loader.h egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
loader_dri3_helper.c loader/dri3: Use dri3_find_back in loader_dri3_swap_buffers_msc 2017-07-13 16:49:28 +09:00
loader_dri3_helper.h egl/dri3: implement query surface hook 2017-02-28 10:11:42 +00:00
Makefile.am loader: build libloader_dri3_helper.la only with HAVE_PLATFORM_X11 2017-05-19 19:44:22 +01:00
Makefile.sources loader: Add headers to distribution. 2014-12-12 12:11:47 -08:00
pci_id_driver_map.c nouveau: allow NV3x's to be used with nouveau_vieux 2016-08-30 00:21:42 -04:00
pci_id_driver_map.h loader: remove loader_get_driver_for_fd() driver_type 2016-10-18 17:06:29 +01:00
SConscript scons: remove all libudev references 2016-10-18 17:06:21 +01:00