DRI2: HACK: no GLX_INTEL_swap_event if no ScheduleSwap
authorRob Clark <robdclark@gmail.com>
Tue, 12 Mar 2013 23:31:58 +0000 (19:31 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 18 Mar 2013 18:16:43 +0000 (14:16 -0400)
commit4e8f5c52bb023f48b7503cf13c246f4995d56df7
treee055419a2828b7c37b689f69189920a519fcad07
parent5a13e051d9043c2b95333cf778b242ce94be70d5
DRI2: HACK: no GLX_INTEL_swap_event if no ScheduleSwap

If ddx does not support swap, don't advertise it.  This is a hack to
work around current xservers which advertise this extension even when it
is clearly not supported.  When:

http://lists.x.org/archives/xorg-devel/2013-February/035449.html

is merged in upstream xserver and makes it's way into most distros then
this hack can be removed.  In the mean time, it is required to allow
gnome-shell/clutter/etc to work properly with a DDX driver which does
not support ScheduleSwap.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/glx/dri2_glx.c