diff options
author | marha <marha@users.sourceforge.net> | 2010-12-01 08:14:05 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-12-01 08:14:05 +0000 |
commit | 6cbbd31fd2f24fdda51df2de8a8f62ec83b5db03 (patch) | |
tree | fd434665398565d3bb9c68b97c978b63a7756add /xorg-server/glx/glxscreens.c | |
parent | d8f61fbb152bca029b56b117c679b03b6a72b467 (diff) | |
parent | 30eaf03aef5847adb6da7efd4bbf4a4abaf5d738 (diff) | |
download | vcxsrv-6cbbd31fd2f24fdda51df2de8a8f62ec83b5db03.tar.gz vcxsrv-6cbbd31fd2f24fdda51df2de8a8f62ec83b5db03.tar.bz2 vcxsrv-6cbbd31fd2f24fdda51df2de8a8f62ec83b5db03.zip |
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/glx/glxscreens.c')
-rw-r--r-- | xorg-server/glx/glxscreens.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/xorg-server/glx/glxscreens.c b/xorg-server/glx/glxscreens.c index e4f0b5559..f44990810 100644 --- a/xorg-server/glx/glxscreens.c +++ b/xorg-server/glx/glxscreens.c @@ -179,8 +179,6 @@ static char GLXServerExtensions[] = "GLX_SGI_make_current_read "
#ifndef __APPLE__
"GLX_SGIS_multisample "
- "GLX_SGIX_hyperpipe "
- "GLX_SGIX_swap_barrier "
#endif
"GLX_SGIX_fbconfig "
"GLX_SGIX_pbuffer "
@@ -188,31 +186,6 @@ static char GLXServerExtensions[] = "GLX_INTEL_swap_event"
;
-/*
- * If your DDX driver wants to register support for swap barriers or hyperpipe
- * topology, it should call __glXHyperpipeInit() or __glXSwapBarrierInit()
- * with a dispatch table of functions to handle the requests. In the XFree86
- * DDX, for example, you would call these near the bottom of the driver's
- * ScreenInit method, after DRI has been initialized.
- *
- * This should be replaced with a better method when we teach the server how
- * to load DRI drivers.
- */
-
-void __glXHyperpipeInit(int screen, __GLXHyperpipeExtensionFuncs *funcs)
-{
- __GLXscreen *pGlxScreen = glxGetScreen(screenInfo.screens[screen]);
-
- pGlxScreen->hyperpipeFuncs = funcs;
-}
-
-void __glXSwapBarrierInit(int screen, __GLXSwapBarrierExtensionFuncs *funcs)
-{
- __GLXscreen *pGlxScreen = glxGetScreen(screenInfo.screens[screen]);
-
- pGlxScreen->swapBarrierFuncs = funcs;
-}
-
static Bool
glxCloseScreen (int index, ScreenPtr pScreen)
{
@@ -429,10 +402,6 @@ void __glXScreenInit(__GLXscreen *pGlxScreen, ScreenPtr pScreen) if (i == pScreen->numVisuals)
continue;
- /* Make sure the FBconfig supports window drawables */
- if (!(config->drawableType & GLX_WINDOW_BIT))
- continue;
-
/* Create a new X visual for our FBconfig. */
visual = AddScreenVisuals(pScreen, 1, depth);
if (visual == NULL)
|