xserver/present
Keith Packard c48d07cf0e glx/present: Only send GLX_BufferSwapComplete for PresentCompleteKindPixmap
Present didn't provide the 'kind' argument to the
present_complete_notify hook that GLX uses to construct
GLX_BufferSwapComplete events, so GLX was reporting events for
PresentCompleteKindMSC notifications, which resulted in duplicate
GLX_BufferSwapComplete events and crashes in clutter.

See the gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=733282

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit bf338efc67)
[backport to 1.16: check 'kind' in the caller to avoid ABI change]
Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-09-15 06:48:55 +02:00
..
Makefile.am present: Add Present extension 2013-10-31 16:59:18 -07:00
present.c present: fix bad logic in cancelling scheduled operations. 2014-06-23 14:15:48 -07:00
present.h present: Send GLX_BufferSwapComplete events from present extension 2013-12-05 09:51:00 -08:00
present_event.c glx/present: Only send GLX_BufferSwapComplete for PresentCompleteKindPixmap 2014-09-15 06:48:55 +02:00
present_fake.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
present_fence.c present: Block for wait_fence in present_execute 2013-11-20 13:12:30 -08:00
present_notify.c present: Add Present extension 2013-10-31 16:59:18 -07:00
present_priv.h present: Queue flips for later execution 2014-06-04 22:03:35 -07:00
present_request.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
present_screen.c present: Disable when Xinerama is active 2013-12-09 13:20:36 -05:00
presentext.h present: Add Present extension 2013-10-31 16:59:18 -07:00