summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-03-05 18:25:16 +0000
committerEmil Velikov <[email protected]>2018-03-12 14:48:52 +0000
commit742b8e33012b87bfb68749f185294860637fc316 (patch)
tree3193e97beafcfc3c23957d5ded7b1c5eabd82e79 /src/glx
parent447731348ea32f0912671b7dcf186779a2c73bd7 (diff)
glx: remove empty GLX_SGIX_swap_barrier 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 <[email protected]> Acked-by: Ian Romanick <[email protected]> Acked-by: Brian Paul <[email protected]> Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/apple/glx_empty.c21
-rw-r--r--src/glx/glxcmds.c25
-rw-r--r--src/glx/glxextensions.c1
-rw-r--r--src/glx/glxextensions.h1
4 files changed, 0 insertions, 48 deletions
diff --git a/src/glx/apple/glx_empty.c b/src/glx/apple/glx_empty.c
index 33fffb5f61c..427c3a59356 100644
--- a/src/glx/apple/glx_empty.c
+++ b/src/glx/apple/glx_empty.c
@@ -62,27 +62,6 @@ glXJoinSwapGroupSGIX(Display * dpy, GLXDrawable drawable, GLXDrawable member)
/*
-** GLX_SGIX_swap_barrier
-*/
-void
-glXBindSwapBarrierSGIX(Display * dpy, GLXDrawable drawable, int barrier)
-{
- (void) dpy;
- (void) drawable;
- (void) barrier;
-}
-
-Bool
-glXQueryMaxSwapBarriersSGIX(Display * dpy, int screen, int *max)
-{
- (void) dpy;
- (void) screen;
- (void) max;
- return False;
-}
-
-
-/*
** GLX_OML_sync_control
*/
Bool
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index 943b81754f3..57af039d1be 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -2050,27 +2050,6 @@ __glXJoinSwapGroupSGIX(Display * dpy, GLXDrawable drawable,
/*
-** GLX_SGIX_swap_barrier
-*/
-static void
-__glXBindSwapBarrierSGIX(Display * dpy, GLXDrawable drawable, int barrier)
-{
- (void) dpy;
- (void) drawable;
- (void) barrier;
-}
-
-static Bool
-__glXQueryMaxSwapBarriersSGIX(Display * dpy, int screen, int *max)
-{
- (void) dpy;
- (void) screen;
- (void) max;
- return False;
-}
-
-
-/*
** GLX_OML_sync_control
*/
static Bool
@@ -2544,10 +2523,6 @@ static const struct name_address_pair GLX_functions[] = {
/*** GLX_SGIX_swap_group ***/
GLX_FUNCTION2(glXJoinSwapGroupSGIX, __glXJoinSwapGroupSGIX),
- /*** GLX_SGIX_swap_barrier ***/
- GLX_FUNCTION2(glXBindSwapBarrierSGIX, __glXBindSwapBarrierSGIX),
- GLX_FUNCTION2(glXQueryMaxSwapBarriersSGIX, __glXQueryMaxSwapBarriersSGIX),
-
/*** GLX_MESA_copy_sub_buffer ***/
GLX_FUNCTION2(glXCopySubBufferMESA, __glXCopySubBufferMESA),
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index af6ffbf6600..de015f25464 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_barrier), VER(0,0), N, N, 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 },
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index d73128bd0ea..0af28a2dde1 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_barrier_bit,
SGIX_swap_group_bit,
SGIX_visual_select_group_bit,
SGI_make_current_read_bit,