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

Adam Jackson ajax at kemper.freedesktop.org
Fri Oct 28 17:42:11 PDT 2011


Module: Mesa
Branch: 7.11
Commit: 4464ee1a9aa3745109cee23531e3fb2323234d07
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4464ee1a9aa3745109cee23531e3fb2323234d07

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>
(cherry picked from commit 25620eb1d277c6b80edb136eaeca12532fcfd3ce)

---

 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