diff options
author | Jon Smirl <[email protected]> | 2004-06-03 23:30:33 +0000 |
---|---|---|
committer | Jon Smirl <[email protected]> | 2004-06-03 23:30:33 +0000 |
commit | d672f38709352da01b5a4a04a1777f3a40d09180 (patch) | |
tree | 29ffb9a9d4fcbbfb1a72d175f7241c6f687c5a40 /src/mesa | |
parent | 82a558108950ff74a0384a8ba243296f25d0cf90 (diff) |
Redo of removing __driRegisterExtensions(). I accidentally undid the previous check in.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/fb/fb_dri.c | 7 | ||||
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_screen.c | 25 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r128/r128_screen.c | 30 | ||||
-rw-r--r-- | src/mesa/drivers/dri/x11/x11_dri.c | 5 |
4 files changed, 0 insertions, 67 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_dri.c b/src/mesa/drivers/dri/fb/fb_dri.c index 3a388cebc1b..d5ea98b5be4 100644 --- a/src/mesa/drivers/dri/fb/fb_dri.c +++ b/src/mesa/drivers/dri/fb/fb_dri.c @@ -570,12 +570,6 @@ static struct __DriverAPIRec fbAPI = { }; -void -__driRegisterExtensions( void ) -{ -} - - /* * This is the bootstrap function for the driver. * The __driCreateScreen name is the symbol that libGL.so fetches. @@ -591,7 +585,6 @@ __driCreateScreen(struct DRIDriverRec *driver, } - /** * \brief Establish the set of modes available for the display. * diff --git a/src/mesa/drivers/dri/mach64/mach64_screen.c b/src/mesa/drivers/dri/mach64/mach64_screen.c index b8115de8114..ea4922eabe6 100644 --- a/src/mesa/drivers/dri/mach64/mach64_screen.c +++ b/src/mesa/drivers/dri/mach64/mach64_screen.c @@ -426,31 +426,6 @@ mach64InitDriver( __DRIscreenPrivate *driScreen ) return GL_TRUE; } -#ifndef _SOLO -/* This function is called by libGL.so as soon as libGL.so is loaded. - * This is where we register new extension functions with the dispatcher. - */ -void __driRegisterExtensions( void ) -{ -#if 0 - /* KW: This is handled differently in the other drivers, not sure - * what to do here. - */ - PFNGLXENABLEEXTENSIONPROC glx_enable_extension; - - if ( driCompareGLXAPIVersion( 20030317 ) >= 0 ) { - glx_enable_extension = (PFNGLXENABLEEXTENSIONPROC) - glXGetProcAddress( (const GLubyte *) "__glXEnableExtension" ); - - if ( glx_enable_extension != NULL ) { - glx_enable_extension( "GLX_SGI_swap_control", GL_FALSE ); - glx_enable_extension( "GLX_SGI_video_sync", GL_FALSE ); - glx_enable_extension( "GLX_MESA_swap_control", GL_FALSE ); - } - } -#endif -} -#endif static struct __DriverAPIRec mach64API = { .InitDriver = mach64InitDriver, diff --git a/src/mesa/drivers/dri/r128/r128_screen.c b/src/mesa/drivers/dri/r128/r128_screen.c index 624d67f9ba5..3b44229da23 100644 --- a/src/mesa/drivers/dri/r128/r128_screen.c +++ b/src/mesa/drivers/dri/r128/r128_screen.c @@ -327,36 +327,6 @@ r128InitDriver( __DRIscreenPrivate *sPriv ) return GL_TRUE; } -#ifndef _SOLO -/** - * This function is called by libGL.so as soon as libGL.so is loaded. - * This is where we register new extension functions with the dispatcher. - * - * \todo This interface has been deprecated, so we should probably remove - * this function before the next XFree86 release. - */ -void __driRegisterExtensions( void ) -{ -#if 0 - /* KW: This is done slightly differently to the other drivers and - dri_interface.h doesn't seem to cope. - */ - PFNGLXENABLEEXTENSIONPROC - glx_enable_extension; - - if ( driCompareGLXAPIVersion( 20030317 ) >= 0 ) { - glx_enable_extension = (PFNGLXENABLEEXTENSIONPROC) - glXGetProcAddress( (const GLubyte *) "__glXEnableExtension" ); - - if ( glx_enable_extension != NULL ) { - glx_enable_extension( "GLX_SGI_swap_control", GL_FALSE ); - glx_enable_extension( "GLX_SGI_video_sync", GL_FALSE ); - glx_enable_extension( "GLX_MESA_swap_control", GL_FALSE ); - } - } -#endif -} -#endif static struct __DriverAPIRec r128API = { .InitDriver = r128InitDriver, diff --git a/src/mesa/drivers/dri/x11/x11_dri.c b/src/mesa/drivers/dri/x11/x11_dri.c index 9d92ce8dab9..f7d25271fba 100644 --- a/src/mesa/drivers/dri/x11/x11_dri.c +++ b/src/mesa/drivers/dri/x11/x11_dri.c @@ -442,11 +442,6 @@ static struct __DriverAPIRec x11API = { x11UnbindContext }; -void -__driRegisterExtensions(void) -{ -} - /* * This is the bootstrap function for the driver. * The __driCreateScreen name is the symbol that libGL.so fetches. |