Mesa (master): glx: remove empty GLX_SGIX_swap_group stubs
Emil Velikov
evelikov at kemper.freedesktop.org
Mon Mar 12 14:55:02 UTC 2018
Module: Mesa
Branch: master
Commit: 5ef608fab7d45163e72c41672817d2b9837dac78
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ef608fab7d45163e72c41672817d2b9837dac78
Author: Emil Velikov <emil.velikov at collabora.com>
Date: Mon Mar 5 18:33:14 2018 +0000
glx: remove empty GLX_SGIX_swap_group stubs
The extension was never implemented. Quick search suggests:
- no actual users (on my Arch setup)
- the Nvidia driver does not implement the extension
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Acked-by: Ian Romanick <ian.d.romanick at intel.com>
Acked-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
---
src/glx/apple/glx_empty.c | 12 ------------
src/glx/glxcmds.c | 16 ----------------
src/glx/glxextensions.c | 1 -
src/glx/glxextensions.h | 1 -
4 files changed, 30 deletions(-)
diff --git a/src/glx/apple/glx_empty.c b/src/glx/apple/glx_empty.c
index 427c3a5935..b7afbce7dd 100644
--- a/src/glx/apple/glx_empty.c
+++ b/src/glx/apple/glx_empty.c
@@ -50,18 +50,6 @@ glXWaitVideoSyncSGI(int divisor, int remainder, unsigned int *count)
/*
-** GLX_SGIX_swap_group
-*/
-void
-glXJoinSwapGroupSGIX(Display * dpy, GLXDrawable drawable, GLXDrawable member)
-{
- (void) dpy;
- (void) drawable;
- (void) member;
-}
-
-
-/*
** GLX_OML_sync_control
*/
Bool
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 57af039d1b..949c2a5931 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -2037,19 +2037,6 @@ glXGetFBConfigFromVisualSGIX(Display * dpy, XVisualInfo * vis)
#ifndef GLX_USE_APPLEGL
/*
-** GLX_SGIX_swap_group
-*/
-static void
-__glXJoinSwapGroupSGIX(Display * dpy, GLXDrawable drawable,
- GLXDrawable member)
-{
- (void) dpy;
- (void) drawable;
- (void) member;
-}
-
-
-/*
** GLX_OML_sync_control
*/
static Bool
@@ -2520,9 +2507,6 @@ static const struct name_address_pair GLX_functions[] = {
GLX_FUNCTION(glXSelectEventSGIX),
GLX_FUNCTION(glXGetSelectedEventSGIX),
- /*** GLX_SGIX_swap_group ***/
- GLX_FUNCTION2(glXJoinSwapGroupSGIX, __glXJoinSwapGroupSGIX),
-
/*** GLX_MESA_copy_sub_buffer ***/
GLX_FUNCTION2(glXCopySubBufferMESA, __glXCopySubBufferMESA),
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index de015f2546..a575862670 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -161,7 +161,6 @@ static const struct extension_info known_glx_extensions[] = {
{ GLX(SGIS_multisample), VER(0,0), Y, Y, N, N },
{ GLX(SGIX_fbconfig), VER(1,3), Y, Y, N, N },
{ GLX(SGIX_pbuffer), VER(1,3), Y, Y, N, N },
- { GLX(SGIX_swap_group), VER(0,0), N, N, N, N },
{ GLX(SGIX_visual_select_group), VER(0,0), Y, Y, N, N },
{ GLX(SGI_make_current_read), VER(1,3), Y, N, N, N },
{ GLX(SGI_swap_control), VER(0,0), Y, N, N, N },
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index 0af28a2dde..c6428d46b4 100644
--- a/src/glx/glxextensions.h
+++ b/src/glx/glxextensions.h
@@ -67,7 +67,6 @@ enum
SGIS_multisample_bit,
SGIX_fbconfig_bit,
SGIX_pbuffer_bit,
- SGIX_swap_group_bit,
SGIX_visual_select_group_bit,
SGI_make_current_read_bit,
SGI_swap_control_bit,
More information about the mesa-commit
mailing list