Mesa (master): glx: Don't enable INTEL_swap_event unconditionally

Adam Jackson ajax at kemper.freedesktop.org
Fri Oct 28 17:41:15 PDT 2011


Module: Mesa
Branch: master
Commit: 25620eb1d277c6b80edb136eaeca12532fcfd3ce
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25620eb1d277c6b80edb136eaeca12532fcfd3ce

Author: Adam Jackson <ajax at redhat.com>
Date:   Fri Oct 28 20:38:32 2011 -0400

glx: Don't enable INTEL_swap_event unconditionally

DRI2 supports this now - and already enables it explicitly - but drisw
does not and should not.  Otherwise toolkits like clutter will only ever
SwapBuffers once and wait forever for an event that's not coming.

Signed-off-by: Adam Jackson <ajax at redhat.com>

---

 src/glx/glxextensions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index d6eb408..0d2888c 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -139,7 +139,7 @@ static const struct extension_info known_glx_extensions[] = {
    { GLX(SGIX_visual_select_group),    VER(0,0), Y, Y, N, N },
    { GLX(EXT_texture_from_pixmap),     VER(0,0), Y, N, N, N },
 #endif
-   { GLX(INTEL_swap_event),            VER(1,4), Y, Y, N, N },
+   { GLX(INTEL_swap_event),            VER(1,4), Y, N, N, N },
    { NULL }
 };
 



More information about the mesa-commit mailing list