Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
This commit is contained in:
		
						commit
						7c4167f0d6
					
				|  | @ -34,10 +34,7 @@ libglxdri_la_SOURCES = \ | |||
|         glxdri.c | ||||
| 
 | ||||
| libglx_la_SOURCES = \
 | ||||
|         g_disptab.c \
 | ||||
|         g_disptab.h \
 | ||||
|         g_disptab_EXT.c \
 | ||||
|         g_disptab_EXT.h \
 | ||||
|         glapi.c \
 | ||||
|         glcontextmodes.c \
 | ||||
|         glcontextmodes.h \
 | ||||
|  |  | |||
|  | @ -1,515 +0,0 @@ | |||
| /* DO NOT EDIT - THIS FILE IS AUTOMATICALLY GENERATED */ | ||||
| /*
 | ||||
| ** License Applicability. Except to the extent portions of this file are | ||||
| ** made subject to an alternative license as permitted in the SGI Free | ||||
| ** Software License B, Version 1.1 (the "License"), the contents of this | ||||
| ** file are subject only to the provisions of the License. You may not use | ||||
| ** this file except in compliance with the License. You may obtain a copy | ||||
| ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 | ||||
| ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: | ||||
| **  | ||||
| ** http://oss.sgi.com/projects/FreeB
 | ||||
| **  | ||||
| ** Note that, as provided in the License, the Software is distributed on an | ||||
| ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS | ||||
| ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND | ||||
| ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A | ||||
| ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. | ||||
| **  | ||||
| ** Original Code. The Original Code is: OpenGL Sample Implementation, | ||||
| ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, | ||||
| ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. | ||||
| ** Copyright in any portions created by third parties is as indicated | ||||
| ** elsewhere herein. All Rights Reserved. | ||||
| **  | ||||
| ** Additional Notice Provisions: This software was created using the | ||||
| ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has | ||||
| ** not been independently verified as being compliant with the OpenGL(R) | ||||
| ** version 1.2.1 Specification. | ||||
| */ | ||||
| 
 | ||||
| #ifdef HAVE_DIX_CONFIG_H | ||||
| #include <dix-config.h> | ||||
| #endif | ||||
| 
 | ||||
| #include "glxserver.h" | ||||
| #include "glxext.h" | ||||
| #include "g_disptab.h" | ||||
| #include "indirect_dispatch.h" | ||||
| 
 | ||||
| __GLXdispatchRenderProcPtr __glXRenderTable[] = { | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXDisp_CallList, | ||||
| 	__glXDisp_CallLists, | ||||
| 	__glXDisp_ListBase, | ||||
| 	__glXDisp_Begin, | ||||
| 	__glXDisp_Bitmap, | ||||
| 	__glXDisp_Color3bv, | ||||
| 	__glXDisp_Color3dv, | ||||
| 	__glXDisp_Color3fv, | ||||
| 	__glXDisp_Color3iv, | ||||
| 	__glXDisp_Color3sv, | ||||
| 	__glXDisp_Color3ubv, | ||||
| 	__glXDisp_Color3uiv, | ||||
| 	__glXDisp_Color3usv, | ||||
| 	__glXDisp_Color4bv, | ||||
| 	__glXDisp_Color4dv, | ||||
| 	__glXDisp_Color4fv, | ||||
| 	__glXDisp_Color4iv, | ||||
| 	__glXDisp_Color4sv, | ||||
| 	__glXDisp_Color4ubv, | ||||
| 	__glXDisp_Color4uiv, | ||||
| 	__glXDisp_Color4usv, | ||||
| 	__glXDisp_EdgeFlagv, | ||||
| 	__glXDisp_End, | ||||
| 	__glXDisp_Indexdv, | ||||
| 	__glXDisp_Indexfv, | ||||
| 	__glXDisp_Indexiv, | ||||
| 	__glXDisp_Indexsv, | ||||
| 	__glXDisp_Normal3bv, | ||||
| 	__glXDisp_Normal3dv, | ||||
| 	__glXDisp_Normal3fv, | ||||
| 	__glXDisp_Normal3iv, | ||||
| 	__glXDisp_Normal3sv, | ||||
| 	__glXDisp_RasterPos2dv, | ||||
| 	__glXDisp_RasterPos2fv, | ||||
| 	__glXDisp_RasterPos2iv, | ||||
| 	__glXDisp_RasterPos2sv, | ||||
| 	__glXDisp_RasterPos3dv, | ||||
| 	__glXDisp_RasterPos3fv, | ||||
| 	__glXDisp_RasterPos3iv, | ||||
| 	__glXDisp_RasterPos3sv, | ||||
| 	__glXDisp_RasterPos4dv, | ||||
| 	__glXDisp_RasterPos4fv, | ||||
| 	__glXDisp_RasterPos4iv, | ||||
| 	__glXDisp_RasterPos4sv, | ||||
| 	__glXDisp_Rectdv, | ||||
| 	__glXDisp_Rectfv, | ||||
| 	__glXDisp_Rectiv, | ||||
| 	__glXDisp_Rectsv, | ||||
| 	__glXDisp_TexCoord1dv, | ||||
| 	__glXDisp_TexCoord1fv, | ||||
| 	__glXDisp_TexCoord1iv, | ||||
| 	__glXDisp_TexCoord1sv, | ||||
| 	__glXDisp_TexCoord2dv, | ||||
| 	__glXDisp_TexCoord2fv, | ||||
| 	__glXDisp_TexCoord2iv, | ||||
| 	__glXDisp_TexCoord2sv, | ||||
| 	__glXDisp_TexCoord3dv, | ||||
| 	__glXDisp_TexCoord3fv, | ||||
| 	__glXDisp_TexCoord3iv, | ||||
| 	__glXDisp_TexCoord3sv, | ||||
| 	__glXDisp_TexCoord4dv, | ||||
| 	__glXDisp_TexCoord4fv, | ||||
| 	__glXDisp_TexCoord4iv, | ||||
| 	__glXDisp_TexCoord4sv, | ||||
| 	__glXDisp_Vertex2dv, | ||||
| 	__glXDisp_Vertex2fv, | ||||
| 	__glXDisp_Vertex2iv, | ||||
| 	__glXDisp_Vertex2sv, | ||||
| 	__glXDisp_Vertex3dv, | ||||
| 	__glXDisp_Vertex3fv, | ||||
| 	__glXDisp_Vertex3iv, | ||||
| 	__glXDisp_Vertex3sv, | ||||
| 	__glXDisp_Vertex4dv, | ||||
| 	__glXDisp_Vertex4fv, | ||||
| 	__glXDisp_Vertex4iv, | ||||
| 	__glXDisp_Vertex4sv, | ||||
| 	__glXDisp_ClipPlane, | ||||
| 	__glXDisp_ColorMaterial, | ||||
| 	__glXDisp_CullFace, | ||||
| 	__glXDisp_Fogf, | ||||
| 	__glXDisp_Fogfv, | ||||
| 	__glXDisp_Fogi, | ||||
| 	__glXDisp_Fogiv, | ||||
| 	__glXDisp_FrontFace, | ||||
| 	__glXDisp_Hint, | ||||
| 	__glXDisp_Lightf, | ||||
| 	__glXDisp_Lightfv, | ||||
| 	__glXDisp_Lighti, | ||||
| 	__glXDisp_Lightiv, | ||||
| 	__glXDisp_LightModelf, | ||||
| 	__glXDisp_LightModelfv, | ||||
| 	__glXDisp_LightModeli, | ||||
| 	__glXDisp_LightModeliv, | ||||
| 	__glXDisp_LineStipple, | ||||
| 	__glXDisp_LineWidth, | ||||
| 	__glXDisp_Materialf, | ||||
| 	__glXDisp_Materialfv, | ||||
| 	__glXDisp_Materiali, | ||||
| 	__glXDisp_Materialiv, | ||||
| 	__glXDisp_PointSize, | ||||
| 	__glXDisp_PolygonMode, | ||||
| 	__glXDisp_PolygonStipple, | ||||
| 	__glXDisp_Scissor, | ||||
| 	__glXDisp_ShadeModel, | ||||
| 	__glXDisp_TexParameterf, | ||||
| 	__glXDisp_TexParameterfv, | ||||
| 	__glXDisp_TexParameteri, | ||||
| 	__glXDisp_TexParameteriv, | ||||
| 	__glXDisp_TexImage1D, | ||||
| 	__glXDisp_TexImage2D, | ||||
| 	__glXDisp_TexEnvf, | ||||
| 	__glXDisp_TexEnvfv, | ||||
| 	__glXDisp_TexEnvi, | ||||
| 	__glXDisp_TexEnviv, | ||||
| 	__glXDisp_TexGend, | ||||
| 	__glXDisp_TexGendv, | ||||
| 	__glXDisp_TexGenf, | ||||
| 	__glXDisp_TexGenfv, | ||||
| 	__glXDisp_TexGeni, | ||||
| 	__glXDisp_TexGeniv, | ||||
| 	__glXDisp_InitNames, | ||||
| 	__glXDisp_LoadName, | ||||
| 	__glXDisp_PassThrough, | ||||
| 	__glXDisp_PopName, | ||||
| 	__glXDisp_PushName, | ||||
| 	__glXDisp_DrawBuffer, | ||||
| 	__glXDisp_Clear, | ||||
| 	__glXDisp_ClearAccum, | ||||
| 	__glXDisp_ClearIndex, | ||||
| 	__glXDisp_ClearColor, | ||||
| 	__glXDisp_ClearStencil, | ||||
| 	__glXDisp_ClearDepth, | ||||
| 	__glXDisp_StencilMask, | ||||
| 	__glXDisp_ColorMask, | ||||
| 	__glXDisp_DepthMask, | ||||
| 	__glXDisp_IndexMask, | ||||
| 	__glXDisp_Accum, | ||||
| 	__glXDisp_Disable, | ||||
| 	__glXDisp_Enable, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXDisp_PopAttrib, | ||||
| 	__glXDisp_PushAttrib, | ||||
| 	__glXDisp_Map1d, | ||||
| 	__glXDisp_Map1f, | ||||
| 	__glXDisp_Map2d, | ||||
| 	__glXDisp_Map2f, | ||||
| 	__glXDisp_MapGrid1d, | ||||
| 	__glXDisp_MapGrid1f, | ||||
| 	__glXDisp_MapGrid2d, | ||||
| 	__glXDisp_MapGrid2f, | ||||
| 	__glXDisp_EvalCoord1dv, | ||||
| 	__glXDisp_EvalCoord1fv, | ||||
| 	__glXDisp_EvalCoord2dv, | ||||
| 	__glXDisp_EvalCoord2fv, | ||||
| 	__glXDisp_EvalMesh1, | ||||
| 	__glXDisp_EvalPoint1, | ||||
| 	__glXDisp_EvalMesh2, | ||||
| 	__glXDisp_EvalPoint2, | ||||
| 	__glXDisp_AlphaFunc, | ||||
| 	__glXDisp_BlendFunc, | ||||
| 	__glXDisp_LogicOp, | ||||
| 	__glXDisp_StencilFunc, | ||||
| 	__glXDisp_StencilOp, | ||||
| 	__glXDisp_DepthFunc, | ||||
| 	__glXDisp_PixelZoom, | ||||
| 	__glXDisp_PixelTransferf, | ||||
| 	__glXDisp_PixelTransferi, | ||||
| 	__glXDisp_PixelMapfv, | ||||
| 	__glXDisp_PixelMapuiv, | ||||
| 	__glXDisp_PixelMapusv, | ||||
| 	__glXDisp_ReadBuffer, | ||||
| 	__glXDisp_CopyPixels, | ||||
| 	__glXDisp_DrawPixels, | ||||
| 	__glXDisp_DepthRange, | ||||
| 	__glXDisp_Frustum, | ||||
| 	__glXDisp_LoadIdentity, | ||||
| 	__glXDisp_LoadMatrixf, | ||||
| 	__glXDisp_LoadMatrixd, | ||||
| 	__glXDisp_MatrixMode, | ||||
| 	__glXDisp_MultMatrixf, | ||||
| 	__glXDisp_MultMatrixd, | ||||
| 	__glXDisp_Ortho, | ||||
| 	__glXDisp_PopMatrix, | ||||
| 	__glXDisp_PushMatrix, | ||||
| 	__glXDisp_Rotated, | ||||
| 	__glXDisp_Rotatef, | ||||
| 	__glXDisp_Scaled, | ||||
| 	__glXDisp_Scalef, | ||||
| 	__glXDisp_Translated, | ||||
| 	__glXDisp_Translatef, | ||||
| 	__glXDisp_Viewport, | ||||
| 	__glXDisp_PolygonOffset, | ||||
| 	__glXDisp_DrawArrays, | ||||
| 	__glXDisp_Indexubv, | ||||
| 	__glXDisp_ColorSubTable, | ||||
| 	__glXDisp_CopyColorSubTable, | ||||
| 	__glXDisp_ActiveTextureARB, | ||||
| 	__glXDisp_MultiTexCoord1dvARB, | ||||
| 	__glXDisp_MultiTexCoord1fvARB, | ||||
| 	__glXDisp_MultiTexCoord1ivARB, | ||||
| 	__glXDisp_MultiTexCoord1svARB, | ||||
| 	__glXDisp_MultiTexCoord2dvARB, | ||||
| 	__glXDisp_MultiTexCoord2fvARB, | ||||
| 	__glXDisp_MultiTexCoord2ivARB, | ||||
| 	__glXDisp_MultiTexCoord2svARB, | ||||
| 	__glXDisp_MultiTexCoord3dvARB, | ||||
| 	__glXDisp_MultiTexCoord3fvARB, | ||||
| 	__glXDisp_MultiTexCoord3ivARB, | ||||
| 	__glXDisp_MultiTexCoord3svARB, | ||||
| 	__glXDisp_MultiTexCoord4dvARB, | ||||
| 	__glXDisp_MultiTexCoord4fvARB, | ||||
| 	__glXDisp_MultiTexCoord4ivARB, | ||||
| 	__glXDisp_MultiTexCoord4svARB, /* 213 */ | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, /* 220 */ | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXDisp_SampleCoverageARB, | ||||
| #ifndef MISSING_GL_EXTS | ||||
| 	__glXDisp_WindowPos3fvMESA /* 230 */ | ||||
| #else | ||||
| 	__glXNoSuchRenderOpcode | ||||
| #endif | ||||
| }; | ||||
| 
 | ||||
| 
 | ||||
| __GLXdispatchRenderProcPtr __glXSwapRenderTable[__GLX_RENDER_TABLE_SIZE] = { | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXDispSwap_CallList, | ||||
| 	__glXDispSwap_CallLists, | ||||
| 	__glXDispSwap_ListBase, | ||||
| 	__glXDispSwap_Begin, | ||||
| 	__glXDispSwap_Bitmap, | ||||
| 	__glXDispSwap_Color3bv, | ||||
| 	__glXDispSwap_Color3dv, | ||||
| 	__glXDispSwap_Color3fv, | ||||
| 	__glXDispSwap_Color3iv, | ||||
| 	__glXDispSwap_Color3sv, | ||||
| 	__glXDispSwap_Color3ubv, | ||||
| 	__glXDispSwap_Color3uiv, | ||||
| 	__glXDispSwap_Color3usv, | ||||
| 	__glXDispSwap_Color4bv, | ||||
| 	__glXDispSwap_Color4dv, | ||||
| 	__glXDispSwap_Color4fv, | ||||
| 	__glXDispSwap_Color4iv, | ||||
| 	__glXDispSwap_Color4sv, | ||||
| 	__glXDispSwap_Color4ubv, | ||||
| 	__glXDispSwap_Color4uiv, | ||||
| 	__glXDispSwap_Color4usv, | ||||
| 	__glXDispSwap_EdgeFlagv, | ||||
| 	__glXDispSwap_End, | ||||
| 	__glXDispSwap_Indexdv, | ||||
| 	__glXDispSwap_Indexfv, | ||||
| 	__glXDispSwap_Indexiv, | ||||
| 	__glXDispSwap_Indexsv, | ||||
| 	__glXDispSwap_Normal3bv, | ||||
| 	__glXDispSwap_Normal3dv, | ||||
| 	__glXDispSwap_Normal3fv, | ||||
| 	__glXDispSwap_Normal3iv, | ||||
| 	__glXDispSwap_Normal3sv, | ||||
| 	__glXDispSwap_RasterPos2dv, | ||||
| 	__glXDispSwap_RasterPos2fv, | ||||
| 	__glXDispSwap_RasterPos2iv, | ||||
| 	__glXDispSwap_RasterPos2sv, | ||||
| 	__glXDispSwap_RasterPos3dv, | ||||
| 	__glXDispSwap_RasterPos3fv, | ||||
| 	__glXDispSwap_RasterPos3iv, | ||||
| 	__glXDispSwap_RasterPos3sv, | ||||
| 	__glXDispSwap_RasterPos4dv, | ||||
| 	__glXDispSwap_RasterPos4fv, | ||||
| 	__glXDispSwap_RasterPos4iv, | ||||
| 	__glXDispSwap_RasterPos4sv, | ||||
| 	__glXDispSwap_Rectdv, | ||||
| 	__glXDispSwap_Rectfv, | ||||
| 	__glXDispSwap_Rectiv, | ||||
| 	__glXDispSwap_Rectsv, | ||||
| 	__glXDispSwap_TexCoord1dv, | ||||
| 	__glXDispSwap_TexCoord1fv, | ||||
| 	__glXDispSwap_TexCoord1iv, | ||||
| 	__glXDispSwap_TexCoord1sv, | ||||
| 	__glXDispSwap_TexCoord2dv, | ||||
| 	__glXDispSwap_TexCoord2fv, | ||||
| 	__glXDispSwap_TexCoord2iv, | ||||
| 	__glXDispSwap_TexCoord2sv, | ||||
| 	__glXDispSwap_TexCoord3dv, | ||||
| 	__glXDispSwap_TexCoord3fv, | ||||
| 	__glXDispSwap_TexCoord3iv, | ||||
| 	__glXDispSwap_TexCoord3sv, | ||||
| 	__glXDispSwap_TexCoord4dv, | ||||
| 	__glXDispSwap_TexCoord4fv, | ||||
| 	__glXDispSwap_TexCoord4iv, | ||||
| 	__glXDispSwap_TexCoord4sv, | ||||
| 	__glXDispSwap_Vertex2dv, | ||||
| 	__glXDispSwap_Vertex2fv, | ||||
| 	__glXDispSwap_Vertex2iv, | ||||
| 	__glXDispSwap_Vertex2sv, | ||||
| 	__glXDispSwap_Vertex3dv, | ||||
| 	__glXDispSwap_Vertex3fv, | ||||
| 	__glXDispSwap_Vertex3iv, | ||||
| 	__glXDispSwap_Vertex3sv, | ||||
| 	__glXDispSwap_Vertex4dv, | ||||
| 	__glXDispSwap_Vertex4fv, | ||||
| 	__glXDispSwap_Vertex4iv, | ||||
| 	__glXDispSwap_Vertex4sv, | ||||
| 	__glXDispSwap_ClipPlane, | ||||
| 	__glXDispSwap_ColorMaterial, | ||||
| 	__glXDispSwap_CullFace, | ||||
| 	__glXDispSwap_Fogf, | ||||
| 	__glXDispSwap_Fogfv, | ||||
| 	__glXDispSwap_Fogi, | ||||
| 	__glXDispSwap_Fogiv, | ||||
| 	__glXDispSwap_FrontFace, | ||||
| 	__glXDispSwap_Hint, | ||||
| 	__glXDispSwap_Lightf, | ||||
| 	__glXDispSwap_Lightfv, | ||||
| 	__glXDispSwap_Lighti, | ||||
| 	__glXDispSwap_Lightiv, | ||||
| 	__glXDispSwap_LightModelf, | ||||
| 	__glXDispSwap_LightModelfv, | ||||
| 	__glXDispSwap_LightModeli, | ||||
| 	__glXDispSwap_LightModeliv, | ||||
| 	__glXDispSwap_LineStipple, | ||||
| 	__glXDispSwap_LineWidth, | ||||
| 	__glXDispSwap_Materialf, | ||||
| 	__glXDispSwap_Materialfv, | ||||
| 	__glXDispSwap_Materiali, | ||||
| 	__glXDispSwap_Materialiv, | ||||
| 	__glXDispSwap_PointSize, | ||||
| 	__glXDispSwap_PolygonMode, | ||||
| 	__glXDispSwap_PolygonStipple, | ||||
| 	__glXDispSwap_Scissor, | ||||
| 	__glXDispSwap_ShadeModel, | ||||
| 	__glXDispSwap_TexParameterf, | ||||
| 	__glXDispSwap_TexParameterfv, | ||||
| 	__glXDispSwap_TexParameteri, | ||||
| 	__glXDispSwap_TexParameteriv, | ||||
| 	__glXDispSwap_TexImage1D, | ||||
| 	__glXDispSwap_TexImage2D, | ||||
| 	__glXDispSwap_TexEnvf, | ||||
| 	__glXDispSwap_TexEnvfv, | ||||
| 	__glXDispSwap_TexEnvi, | ||||
| 	__glXDispSwap_TexEnviv, | ||||
| 	__glXDispSwap_TexGend, | ||||
| 	__glXDispSwap_TexGendv, | ||||
| 	__glXDispSwap_TexGenf, | ||||
| 	__glXDispSwap_TexGenfv, | ||||
| 	__glXDispSwap_TexGeni, | ||||
| 	__glXDispSwap_TexGeniv, | ||||
| 	__glXDispSwap_InitNames, | ||||
| 	__glXDispSwap_LoadName, | ||||
| 	__glXDispSwap_PassThrough, | ||||
| 	__glXDispSwap_PopName, | ||||
| 	__glXDispSwap_PushName, | ||||
| 	__glXDispSwap_DrawBuffer, | ||||
| 	__glXDispSwap_Clear, | ||||
| 	__glXDispSwap_ClearAccum, | ||||
| 	__glXDispSwap_ClearIndex, | ||||
| 	__glXDispSwap_ClearColor, | ||||
| 	__glXDispSwap_ClearStencil, | ||||
| 	__glXDispSwap_ClearDepth, | ||||
| 	__glXDispSwap_StencilMask, | ||||
| 	__glXDispSwap_ColorMask, | ||||
| 	__glXDispSwap_DepthMask, | ||||
| 	__glXDispSwap_IndexMask, | ||||
| 	__glXDispSwap_Accum, | ||||
| 	__glXDispSwap_Disable, | ||||
| 	__glXDispSwap_Enable, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXDispSwap_PopAttrib, | ||||
| 	__glXDispSwap_PushAttrib, | ||||
| 	__glXDispSwap_Map1d, | ||||
| 	__glXDispSwap_Map1f, | ||||
| 	__glXDispSwap_Map2d, | ||||
| 	__glXDispSwap_Map2f, | ||||
| 	__glXDispSwap_MapGrid1d, | ||||
| 	__glXDispSwap_MapGrid1f, | ||||
| 	__glXDispSwap_MapGrid2d, | ||||
| 	__glXDispSwap_MapGrid2f, | ||||
| 	__glXDispSwap_EvalCoord1dv, | ||||
| 	__glXDispSwap_EvalCoord1fv, | ||||
| 	__glXDispSwap_EvalCoord2dv, | ||||
| 	__glXDispSwap_EvalCoord2fv, | ||||
| 	__glXDispSwap_EvalMesh1, | ||||
| 	__glXDispSwap_EvalPoint1, | ||||
| 	__glXDispSwap_EvalMesh2, | ||||
| 	__glXDispSwap_EvalPoint2, | ||||
| 	__glXDispSwap_AlphaFunc, | ||||
| 	__glXDispSwap_BlendFunc, | ||||
| 	__glXDispSwap_LogicOp, | ||||
| 	__glXDispSwap_StencilFunc, | ||||
| 	__glXDispSwap_StencilOp, | ||||
| 	__glXDispSwap_DepthFunc, | ||||
| 	__glXDispSwap_PixelZoom, | ||||
| 	__glXDispSwap_PixelTransferf, | ||||
| 	__glXDispSwap_PixelTransferi, | ||||
| 	__glXDispSwap_PixelMapfv, | ||||
| 	__glXDispSwap_PixelMapuiv, | ||||
| 	__glXDispSwap_PixelMapusv, | ||||
| 	__glXDispSwap_ReadBuffer, | ||||
| 	__glXDispSwap_CopyPixels, | ||||
| 	__glXDispSwap_DrawPixels, | ||||
| 	__glXDispSwap_DepthRange, | ||||
| 	__glXDispSwap_Frustum, | ||||
| 	__glXDispSwap_LoadIdentity, | ||||
| 	__glXDispSwap_LoadMatrixf, | ||||
| 	__glXDispSwap_LoadMatrixd, | ||||
| 	__glXDispSwap_MatrixMode, | ||||
| 	__glXDispSwap_MultMatrixf, | ||||
| 	__glXDispSwap_MultMatrixd, | ||||
| 	__glXDispSwap_Ortho, | ||||
| 	__glXDispSwap_PopMatrix, | ||||
| 	__glXDispSwap_PushMatrix, | ||||
| 	__glXDispSwap_Rotated, | ||||
| 	__glXDispSwap_Rotatef, | ||||
| 	__glXDispSwap_Scaled, | ||||
| 	__glXDispSwap_Scalef, | ||||
| 	__glXDispSwap_Translated, | ||||
| 	__glXDispSwap_Translatef, | ||||
| 	__glXDispSwap_Viewport, | ||||
| 	__glXDispSwap_PolygonOffset, | ||||
| 	__glXDispSwap_DrawArrays, | ||||
| 	__glXDispSwap_Indexubv, | ||||
| 	__glXDispSwap_ColorSubTable, | ||||
| 	__glXDispSwap_CopyColorSubTable, | ||||
| 	__glXDispSwap_ActiveTextureARB, | ||||
| 	__glXDispSwap_MultiTexCoord1dvARB, | ||||
| 	__glXDispSwap_MultiTexCoord1fvARB, | ||||
| 	__glXDispSwap_MultiTexCoord1ivARB, | ||||
| 	__glXDispSwap_MultiTexCoord1svARB, | ||||
| 	__glXDispSwap_MultiTexCoord2dvARB, | ||||
| 	__glXDispSwap_MultiTexCoord2fvARB, | ||||
| 	__glXDispSwap_MultiTexCoord2ivARB, | ||||
| 	__glXDispSwap_MultiTexCoord2svARB, | ||||
| 	__glXDispSwap_MultiTexCoord3dvARB, | ||||
| 	__glXDispSwap_MultiTexCoord3fvARB, | ||||
| 	__glXDispSwap_MultiTexCoord3ivARB, | ||||
| 	__glXDispSwap_MultiTexCoord3svARB, | ||||
| 	__glXDispSwap_MultiTexCoord4dvARB, | ||||
| 	__glXDispSwap_MultiTexCoord4fvARB, | ||||
| 	__glXDispSwap_MultiTexCoord4ivARB, | ||||
| 	__glXDispSwap_MultiTexCoord4svARB, /* 213 */ | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, /* 220 */ | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXNoSuchRenderOpcode, | ||||
| 	__glXDispSwap_SampleCoverageARB, | ||||
| #ifndef MISSING_GL_EXTS | ||||
| 	__glXDispSwap_WindowPos3fvMESA /* 230 */ | ||||
| #else | ||||
| 	__glXNoSuchRenderOpcode | ||||
| #endif | ||||
| }; | ||||
|  | @ -34,7 +34,6 @@ | |||
| ** version 1.2.1 Specification. | ||||
| */ | ||||
| 
 | ||||
| extern int __glXDisp_CopySubBufferMESA(__GLXclientState *cl, GLbyte *pc); | ||||
| extern int __glXDisp_GetDrawableAttributesSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
| extern int __glXDisp_BindSwapBarrierSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
| extern int __glXDisp_QueryMaxSwapBarriersSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
|  | @ -43,7 +42,6 @@ extern int __glXDisp_DestroyHyperpipeConfigSGIX (__GLXclientState *cl, GLbyte *p | |||
| extern int __glXDisp_QueryHyperpipeConfigSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
| extern int __glXDisp_HyperpipeConfigSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
| 
 | ||||
| extern int __glXDispSwap_CopySubBufferMESA(__GLXclientState *cl, GLbyte *pc); | ||||
| extern int __glXDispSwap_GetDrawableAttributesSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
| extern int __glXDispSwap_BindSwapBarrierSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
| extern int __glXDispSwap_QueryMaxSwapBarriersSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
|  | @ -52,20 +50,4 @@ extern int __glXDispSwap_DestroyHyperpipeConfigSGIX (__GLXclientState *cl, GLbyt | |||
| extern int __glXDispSwap_QueryHyperpipeConfigSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
| extern int __glXDispSwap_HyperpipeConfigSGIX(__GLXclientState *cl, GLbyte *pc); | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| #define __GLX_MIN_GLXCMD_OPCODE 1 | ||||
| #define __GLX_MAX_GLXCMD_OPCODE 20 | ||||
| #define __GLX_MIN_RENDER_OPCODE 1 | ||||
| #define __GLX_MAX_RENDER_OPCODE 230 | ||||
| #define __GLX_RENDER_TABLE_SIZE 231 | ||||
| extern __GLXdispatchRenderProcPtr __glXRenderTable[__GLX_RENDER_TABLE_SIZE]; | ||||
| extern __GLXdispatchRenderProcPtr __glXSwapRenderTable[__GLX_RENDER_TABLE_SIZE]; | ||||
| 
 | ||||
| /* Copied from mesa src/glx/x11/glxcmds.c
 | ||||
|  * | ||||
|  * Apparently there's no standardized opcode for this extension. | ||||
|  */ | ||||
| #define X_GLXvop_CopySubBufferMESA 5154 /* temporary */ | ||||
| 
 | ||||
| #endif /* _GLX_g_disptab_h_ */ | ||||
|  |  | |||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							|  | @ -1,42 +0,0 @@ | |||
| /* DO NOT EDIT - THIS FILE IS AUTOMATICALLY GENERATED */ | ||||
| #ifdef HAVE_DIX_CONFIG_H | ||||
| #include <dix-config.h> | ||||
| #endif | ||||
| 
 | ||||
| #ifndef _GLX_g_disptab_EXT_h_ | ||||
| #define _GLX_g_disptab_EXT_h_ | ||||
| /*
 | ||||
| ** License Applicability. Except to the extent portions of this file are | ||||
| ** made subject to an alternative license as permitted in the SGI Free | ||||
| ** Software License B, Version 1.1 (the "License"), the contents of this | ||||
| ** file are subject only to the provisions of the License. You may not use | ||||
| ** this file except in compliance with the License. You may obtain a copy | ||||
| ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 | ||||
| ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: | ||||
| **  | ||||
| ** http://oss.sgi.com/projects/FreeB
 | ||||
| **  | ||||
| ** Note that, as provided in the License, the Software is distributed on an | ||||
| ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS | ||||
| ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND | ||||
| ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A | ||||
| ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. | ||||
| **  | ||||
| ** Original Code. The Original Code is: OpenGL Sample Implementation, | ||||
| ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, | ||||
| ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. | ||||
| ** Copyright in any portions created by third parties is as indicated | ||||
| ** elsewhere herein. All Rights Reserved. | ||||
| **  | ||||
| ** Additional Notice Provisions: This software was created using the | ||||
| ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has | ||||
| ** not been independently verified as being compliant with the OpenGL(R) | ||||
| ** version 1.2.1 Specification. | ||||
| */ | ||||
| 
 | ||||
| #define __GLX_MIN_RENDER_OPCODE_EXT 2053 | ||||
| #define __GLX_MAX_RENDER_OPCODE_EXT 4325 | ||||
| #define __GLX_RENDER_TABLE_SIZE_EXT (__GLX_MAX_RENDER_OPCODE_EXT - __GLX_MIN_RENDER_OPCODE_EXT + 1) | ||||
| extern __GLXdispatchRenderProcPtr __glXRenderTable_EXT[__GLX_RENDER_TABLE_SIZE_EXT]; | ||||
| extern __GLXdispatchRenderProcPtr __glXSwapRenderTable_EXT[__GLX_RENDER_TABLE_SIZE_EXT]; | ||||
| #endif /* _GLX_g_disptab_EXT_h_ */ | ||||
|  | @ -48,7 +48,6 @@ | |||
| #include "g_disptab.h" | ||||
| #include <pixmapstr.h> | ||||
| #include <windowstr.h> | ||||
| #include "g_disptab_EXT.h" | ||||
| #include "glxutil.h" | ||||
| #include "glxext.h" | ||||
| #include "glcontextmodes.h" | ||||
|  |  | |||
|  | @ -44,8 +44,7 @@ | |||
| #include "glxutil.h" | ||||
| #include <GL/glxtokens.h> | ||||
| #include <unpack.h> | ||||
| #include <g_disptab.h> | ||||
| #include <g_disptab_EXT.h> | ||||
| #include "g_disptab.h" | ||||
| #include <pixmapstr.h> | ||||
| #include <windowstr.h> | ||||
| #include "glxext.h" | ||||
|  |  | |||
|  | @ -53,7 +53,6 @@ | |||
| #include "glcontextmodes.h" | ||||
| 
 | ||||
| #include "g_disptab.h" | ||||
| #include "g_disptab_EXT.h" | ||||
| #include "glapitable.h" | ||||
| #include "glapi.h" | ||||
| #include "glthread.h" | ||||
|  |  | |||
|  | @ -81,12 +81,14 @@ static const char GLServerExtensions[] = | |||
| 			"GL_EXT_framebuffer_object " | ||||
| 			"GL_EXT_multi_draw_arrays " | ||||
| 			"GL_EXT_packed_pixels " | ||||
| 			"GL_EXT_paletted_texture " | ||||
| 			"GL_EXT_point_parameters " | ||||
| 			"GL_EXT_polygon_offset " | ||||
| 			"GL_EXT_rescale_normal " | ||||
| 			"GL_EXT_secondary_color " | ||||
| 			"GL_EXT_separate_specular_color " | ||||
| 			"GL_EXT_shadow_funcs " | ||||
| 			"GL_EXT_shared_texture_palette " | ||||
|  			"GL_EXT_stencil_two_side " | ||||
| 			"GL_EXT_stencil_wrap " | ||||
| 			"GL_EXT_subtexture " | ||||
|  | @ -122,6 +124,7 @@ static const char GLServerExtensions[] = | |||
| 			"GL_NV_texture_expand_normal " | ||||
| 			"GL_NV_texture_rectangle " | ||||
| 			"GL_SGI_color_matrix " | ||||
| 			"GL_SGI_color_table " | ||||
| 			"GL_SGIS_generate_mipmap " | ||||
| 			"GL_SGIS_multisample " | ||||
| 			"GL_SGIS_point_parameters " | ||||
|  |  | |||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							|  | @ -61,6 +61,8 @@ extern HIDDEN void __glXDisp_ActiveTextureARB(GLbyte * pc); | |||
| extern HIDDEN void __glXDispSwap_ActiveTextureARB(GLbyte * pc); | ||||
| extern HIDDEN void __glXDisp_VertexAttrib4ubvNV(GLbyte * pc); | ||||
| extern HIDDEN void __glXDispSwap_VertexAttrib4ubvNV(GLbyte * pc); | ||||
| extern HIDDEN int __glXDisp_GetColorTableParameterfvSGI(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN int __glXDispSwap_GetColorTableParameterfvSGI(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN int __glXDisp_GetProgramNamedParameterdvNV(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN int __glXDispSwap_GetProgramNamedParameterdvNV(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN void __glXDisp_Histogram(GLbyte * pc); | ||||
|  | @ -631,6 +633,8 @@ extern HIDDEN void __glXDisp_PolygonOffset(GLbyte * pc); | |||
| extern HIDDEN void __glXDispSwap_PolygonOffset(GLbyte * pc); | ||||
| extern HIDDEN void __glXDisp_ExecuteProgramNV(GLbyte * pc); | ||||
| extern HIDDEN void __glXDispSwap_ExecuteProgramNV(GLbyte * pc); | ||||
| extern HIDDEN int __glXDisp_GetColorTableParameterivSGI(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN int __glXDispSwap_GetColorTableParameterivSGI(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN void __glXDisp_Normal3dv(GLbyte * pc); | ||||
| extern HIDDEN void __glXDispSwap_Normal3dv(GLbyte * pc); | ||||
| extern HIDDEN void __glXDisp_Lightf(GLbyte * pc); | ||||
|  | @ -767,6 +771,8 @@ extern HIDDEN void __glXDisp_BindRenderbufferEXT(GLbyte * pc); | |||
| extern HIDDEN void __glXDispSwap_BindRenderbufferEXT(GLbyte * pc); | ||||
| extern HIDDEN void __glXDisp_Vertex3sv(GLbyte * pc); | ||||
| extern HIDDEN void __glXDispSwap_Vertex3sv(GLbyte * pc); | ||||
| extern HIDDEN int __glXDisp_GetColorTableSGI(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN int __glXDispSwap_GetColorTableSGI(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN int __glXDisp_BindTexImageEXT(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN int __glXDispSwap_BindTexImageEXT(struct __GLXclientStateRec *, GLbyte *); | ||||
| extern HIDDEN void __glXDisp_ProgramLocalParameter4fvARB(GLbyte * pc); | ||||
|  |  | |||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							|  | @ -967,57 +967,6 @@ __glGetMinmaxParameterfv_size( GLenum e ) | |||
|     } | ||||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glPointParameterfvEXT_size( GLenum e ) | ||||
| { | ||||
|     switch( e ) { | ||||
|         case GL_POINT_SIZE_MIN: | ||||
| /*      case GL_POINT_SIZE_MIN_ARB:*/ | ||||
| /*      case GL_POINT_SIZE_MIN_SGIS:*/ | ||||
|         case GL_POINT_SIZE_MAX: | ||||
| /*      case GL_POINT_SIZE_MAX_ARB:*/ | ||||
| /*      case GL_POINT_SIZE_MAX_SGIS:*/ | ||||
|         case GL_POINT_FADE_THRESHOLD_SIZE: | ||||
| /*      case GL_POINT_FADE_THRESHOLD_SIZE_ARB:*/ | ||||
| /*      case GL_POINT_FADE_THRESHOLD_SIZE_SGIS:*/ | ||||
|         case GL_POINT_SPRITE_R_MODE_NV: | ||||
|         case GL_POINT_SPRITE_COORD_ORIGIN: | ||||
|             return 1; | ||||
|         case GL_POINT_DISTANCE_ATTENUATION: | ||||
| /*      case GL_POINT_DISTANCE_ATTENUATION_ARB:*/ | ||||
| /*      case GL_POINT_DISTANCE_ATTENUATION_SGIS:*/ | ||||
|             return 3; | ||||
|         default: return 0; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glGetProgramivNV_size( GLenum e ) | ||||
| { | ||||
|     switch( e ) { | ||||
|         case GL_PROGRAM_LENGTH_NV: | ||||
|         case GL_PROGRAM_TARGET_NV: | ||||
|         case GL_PROGRAM_RESIDENT_NV: | ||||
|             return 1; | ||||
|         default: return 0; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glGetVertexAttribdvARB_size( GLenum e ) | ||||
| { | ||||
|     switch( e ) { | ||||
|         case GL_VERTEX_PROGRAM_ARB: | ||||
|         case GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB: | ||||
|         case GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB: | ||||
|         case GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB: | ||||
|         case GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB: | ||||
|         case GL_CURRENT_VERTEX_ATTRIB_ARB: | ||||
|             return 1; | ||||
|         default: return 0; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glGetProgramivARB_size( GLenum e ) | ||||
| { | ||||
|  | @ -1073,11 +1022,15 @@ __glGetProgramivARB_size( GLenum e ) | |||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glGetQueryivARB_size( GLenum e ) | ||||
| __glGetVertexAttribdvARB_size( GLenum e ) | ||||
| { | ||||
|     switch( e ) { | ||||
|         case GL_QUERY_COUNTER_BITS_ARB: | ||||
|         case GL_CURRENT_QUERY_ARB: | ||||
|         case GL_VERTEX_PROGRAM_ARB: | ||||
|         case GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB: | ||||
|         case GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB: | ||||
|         case GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB: | ||||
|         case GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB: | ||||
|         case GL_CURRENT_VERTEX_ATTRIB_ARB: | ||||
|             return 1; | ||||
|         default: return 0; | ||||
|     } | ||||
|  | @ -1094,6 +1047,53 @@ __glGetQueryObjectivARB_size( GLenum e ) | |||
|     } | ||||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glGetQueryivARB_size( GLenum e ) | ||||
| { | ||||
|     switch( e ) { | ||||
|         case GL_QUERY_COUNTER_BITS_ARB: | ||||
|         case GL_CURRENT_QUERY_ARB: | ||||
|             return 1; | ||||
|         default: return 0; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glPointParameterfvEXT_size( GLenum e ) | ||||
| { | ||||
|     switch( e ) { | ||||
|         case GL_POINT_SIZE_MIN: | ||||
| /*      case GL_POINT_SIZE_MIN_ARB:*/ | ||||
| /*      case GL_POINT_SIZE_MIN_SGIS:*/ | ||||
|         case GL_POINT_SIZE_MAX: | ||||
| /*      case GL_POINT_SIZE_MAX_ARB:*/ | ||||
| /*      case GL_POINT_SIZE_MAX_SGIS:*/ | ||||
|         case GL_POINT_FADE_THRESHOLD_SIZE: | ||||
| /*      case GL_POINT_FADE_THRESHOLD_SIZE_ARB:*/ | ||||
| /*      case GL_POINT_FADE_THRESHOLD_SIZE_SGIS:*/ | ||||
|         case GL_POINT_SPRITE_R_MODE_NV: | ||||
|         case GL_POINT_SPRITE_COORD_ORIGIN: | ||||
|             return 1; | ||||
|         case GL_POINT_DISTANCE_ATTENUATION: | ||||
| /*      case GL_POINT_DISTANCE_ATTENUATION_ARB:*/ | ||||
| /*      case GL_POINT_DISTANCE_ATTENUATION_SGIS:*/ | ||||
|             return 3; | ||||
|         default: return 0; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glGetProgramivNV_size( GLenum e ) | ||||
| { | ||||
|     switch( e ) { | ||||
|         case GL_PROGRAM_LENGTH_NV: | ||||
|         case GL_PROGRAM_TARGET_NV: | ||||
|         case GL_PROGRAM_RESIDENT_NV: | ||||
|             return 1; | ||||
|         default: return 0; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| INTERNAL PURE FASTCALL GLint | ||||
| __glGetVertexAttribdvNV_size( GLenum e ) | ||||
| { | ||||
|  | @ -1153,10 +1153,12 @@ ALIAS( GetHistogramParameteriv, GetHistogramParameterfv ) | |||
| ALIAS( GetMinmaxParameteriv, GetMinmaxParameterfv ) | ||||
| ALIAS( GetVertexAttribfvARB, GetVertexAttribdvARB ) | ||||
| ALIAS( GetVertexAttribivARB, GetVertexAttribdvARB ) | ||||
| ALIAS( PointParameterivNV, PointParameterfvEXT ) | ||||
| ALIAS( GetQueryObjectuivARB, GetQueryObjectivARB ) | ||||
| ALIAS( GetColorTableParameterfvSGI, GetColorTableParameterfv ) | ||||
| ALIAS( GetColorTableParameterivSGI, GetColorTableParameterfv ) | ||||
| ALIAS( GetVertexAttribfvNV, GetVertexAttribdvNV ) | ||||
| ALIAS( GetVertexAttribivNV, GetVertexAttribdvNV ) | ||||
| ALIAS( PointParameterivNV, PointParameterfvEXT ) | ||||
| 
 | ||||
| #  undef PURE | ||||
| #  undef FASTCALL | ||||
|  |  | |||
|  | @ -79,14 +79,16 @@ extern INTERNAL PURE FASTCALL GLint __glGetHistogramParameterfv_size(GLenum); | |||
| extern INTERNAL PURE FASTCALL GLint __glGetHistogramParameteriv_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetMinmaxParameterfv_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetMinmaxParameteriv_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetProgramivNV_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetProgramivARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribdvARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribfvARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribivARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetProgramivARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetQueryivARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetQueryObjectivARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetQueryObjectuivARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetQueryivARB_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetColorTableParameterfvSGI_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetColorTableParameterivSGI_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetProgramivNV_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribdvNV_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribfvNV_size(GLenum); | ||||
| extern INTERNAL PURE FASTCALL GLint __glGetVertexAttribivNV_size(GLenum); | ||||
|  |  | |||
|  | @ -1207,12 +1207,12 @@ const struct __glXDispatchInfo Render_dispatch_info = { | |||
| 
 | ||||
| /*****************************************************************/ | ||||
| /* tree depth = 13 */ | ||||
| static const int_fast16_t VendorPriv_dispatch_tree[138] = { | ||||
| static const int_fast16_t VendorPriv_dispatch_tree[155] = { | ||||
|     /* [0] -> opcode range [0, 131072], node depth 1 */ | ||||
|     2, | ||||
|     5, | ||||
|     EMPTY_LEAF, | ||||
|     102, | ||||
|     119, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [5] -> opcode range [0, 32768], node depth 2 */ | ||||
|  | @ -1331,108 +1331,135 @@ static const int_fast16_t VendorPriv_dispatch_tree[138] = { | |||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [78] -> opcode range [4096, 6144], node depth 5 */ | ||||
|     1, | ||||
|     2, | ||||
|     83, | ||||
|     EMPTY_LEAF, | ||||
|     81, | ||||
| 
 | ||||
|     /* [81] -> opcode range [5120, 6144], node depth 6 */ | ||||
|     1, | ||||
|     84, | ||||
|     101, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [84] -> opcode range [5120, 5632], node depth 7 */ | ||||
|     /* [83] -> opcode range [4096, 4608], node depth 6 */ | ||||
|     1, | ||||
|     87, | ||||
|     86, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [87] -> opcode range [5120, 5376], node depth 8 */ | ||||
|     /* [86] -> opcode range [4096, 4352], node depth 7 */ | ||||
|     1, | ||||
|     90, | ||||
|     89, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [90] -> opcode range [5120, 5248], node depth 9 */ | ||||
|     /* [89] -> opcode range [4096, 4224], node depth 8 */ | ||||
|     1, | ||||
|     93, | ||||
|     92, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [93] -> opcode range [5120, 5184], node depth 10 */ | ||||
|     /* [92] -> opcode range [4096, 4160], node depth 9 */ | ||||
|     1, | ||||
|     EMPTY_LEAF, | ||||
|     96, | ||||
| 
 | ||||
|     /* [96] -> opcode range [5152, 5184], node depth 11 */ | ||||
|     1, | ||||
|     99, | ||||
|     95, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [99] -> opcode range [5152, 5168], node depth 12 */ | ||||
|     /* [95] -> opcode range [4096, 4128], node depth 10 */ | ||||
|     1, | ||||
|     98, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [98] -> opcode range [4096, 4112], node depth 11 */ | ||||
|     1, | ||||
|     LEAF(56), | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [102] -> opcode range [65536, 98304], node depth 2 */ | ||||
|     /* [101] -> opcode range [5120, 5632], node depth 6 */ | ||||
|     1, | ||||
|     105, | ||||
|     104, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [105] -> opcode range [65536, 81920], node depth 3 */ | ||||
|     /* [104] -> opcode range [5120, 5376], node depth 7 */ | ||||
|     1, | ||||
|     108, | ||||
|     107, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [108] -> opcode range [65536, 73728], node depth 4 */ | ||||
|     /* [107] -> opcode range [5120, 5248], node depth 8 */ | ||||
|     1, | ||||
|     111, | ||||
|     110, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [111] -> opcode range [65536, 69632], node depth 5 */ | ||||
|     /* [110] -> opcode range [5120, 5184], node depth 9 */ | ||||
|     1, | ||||
|     114, | ||||
|     EMPTY_LEAF, | ||||
|     113, | ||||
| 
 | ||||
|     /* [113] -> opcode range [5152, 5184], node depth 10 */ | ||||
|     1, | ||||
|     116, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [114] -> opcode range [65536, 67584], node depth 6 */ | ||||
|     1, | ||||
|     117, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [117] -> opcode range [65536, 66560], node depth 7 */ | ||||
|     1, | ||||
|     120, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [120] -> opcode range [65536, 66048], node depth 8 */ | ||||
|     1, | ||||
|     123, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [123] -> opcode range [65536, 65792], node depth 9 */ | ||||
|     1, | ||||
|     126, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [126] -> opcode range [65536, 65664], node depth 10 */ | ||||
|     1, | ||||
|     129, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [129] -> opcode range [65536, 65600], node depth 11 */ | ||||
|     1, | ||||
|     132, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [132] -> opcode range [65536, 65568], node depth 12 */ | ||||
|     1, | ||||
|     135, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [135] -> opcode range [65536, 65552], node depth 13 */ | ||||
|     /* [116] -> opcode range [5152, 5168], node depth 11 */ | ||||
|     1, | ||||
|     LEAF(64), | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [119] -> opcode range [65536, 98304], node depth 2 */ | ||||
|     1, | ||||
|     122, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [122] -> opcode range [65536, 81920], node depth 3 */ | ||||
|     1, | ||||
|     125, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [125] -> opcode range [65536, 73728], node depth 4 */ | ||||
|     1, | ||||
|     128, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [128] -> opcode range [65536, 69632], node depth 5 */ | ||||
|     1, | ||||
|     131, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [131] -> opcode range [65536, 67584], node depth 6 */ | ||||
|     1, | ||||
|     134, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [134] -> opcode range [65536, 66560], node depth 7 */ | ||||
|     1, | ||||
|     137, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [137] -> opcode range [65536, 66048], node depth 8 */ | ||||
|     1, | ||||
|     140, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [140] -> opcode range [65536, 65792], node depth 9 */ | ||||
|     1, | ||||
|     143, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [143] -> opcode range [65536, 65664], node depth 10 */ | ||||
|     1, | ||||
|     146, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [146] -> opcode range [65536, 65600], node depth 11 */ | ||||
|     1, | ||||
|     149, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [149] -> opcode range [65536, 65568], node depth 12 */ | ||||
|     1, | ||||
|     152, | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
|     /* [152] -> opcode range [65536, 65552], node depth 13 */ | ||||
|     1, | ||||
|     LEAF(72), | ||||
|     EMPTY_LEAF, | ||||
| 
 | ||||
| }; | ||||
| 
 | ||||
| static const void *VendorPriv_function_table[72][2] = { | ||||
| static const void *VendorPriv_function_table[80][2] = { | ||||
|     /* [  0] =     8 */ {NULL, NULL}, | ||||
|     /* [  1] =     9 */ {NULL, NULL}, | ||||
|     /* [  2] =    10 */ {NULL, NULL}, | ||||
|  | @ -1489,22 +1516,30 @@ static const void *VendorPriv_function_table[72][2] = { | |||
|     /* [ 53] =  1429 */ {NULL, NULL}, | ||||
|     /* [ 54] =  1430 */ {NULL, NULL}, | ||||
|     /* [ 55] =  1431 */ {NULL, NULL}, | ||||
|     /* [ 56] =  5152 */ {__glXDisp_BindTexImageEXT, __glXDispSwap_BindTexImageEXT}, | ||||
|     /* [ 57] =  5153 */ {__glXDisp_ReleaseTexImageEXT, __glXDispSwap_ReleaseTexImageEXT}, | ||||
|     /* [ 58] =  5154 */ {__glXDisp_CopySubBufferMESA, __glXDispSwap_CopySubBufferMESA}, | ||||
|     /* [ 59] =  5155 */ {NULL, NULL}, | ||||
|     /* [ 60] =  5156 */ {NULL, NULL}, | ||||
|     /* [ 61] =  5157 */ {NULL, NULL}, | ||||
|     /* [ 62] =  5158 */ {NULL, NULL}, | ||||
|     /* [ 63] =  5159 */ {NULL, NULL}, | ||||
|     /* [ 64] = 65536 */ {NULL, NULL}, | ||||
|     /* [ 65] = 65537 */ {__glXDisp_MakeCurrentReadSGI, __glXDispSwap_MakeCurrentReadSGI}, | ||||
|     /* [ 66] = 65538 */ {NULL, NULL}, | ||||
|     /* [ 67] = 65539 */ {NULL, NULL}, | ||||
|     /* [ 68] = 65540 */ {__glXDisp_GetFBConfigsSGIX, __glXDispSwap_GetFBConfigsSGIX}, | ||||
|     /* [ 69] = 65541 */ {__glXDisp_CreateContextWithConfigSGIX, __glXDispSwap_CreateContextWithConfigSGIX}, | ||||
|     /* [ 70] = 65542 */ {__glXDisp_CreateGLXPixmapWithConfigSGIX, __glXDispSwap_CreateGLXPixmapWithConfigSGIX}, | ||||
|     /* [ 71] = 65543 */ {NULL, NULL}, | ||||
|     /* [ 56] =  4096 */ {NULL, NULL}, | ||||
|     /* [ 57] =  4097 */ {NULL, NULL}, | ||||
|     /* [ 58] =  4098 */ {__glXDisp_GetColorTableSGI, __glXDispSwap_GetColorTableSGI}, | ||||
|     /* [ 59] =  4099 */ {__glXDisp_GetColorTableParameterfvSGI, __glXDispSwap_GetColorTableParameterfvSGI}, | ||||
|     /* [ 60] =  4100 */ {__glXDisp_GetColorTableParameterivSGI, __glXDispSwap_GetColorTableParameterivSGI}, | ||||
|     /* [ 61] =  4101 */ {NULL, NULL}, | ||||
|     /* [ 62] =  4102 */ {NULL, NULL}, | ||||
|     /* [ 63] =  4103 */ {NULL, NULL}, | ||||
|     /* [ 64] =  5152 */ {__glXDisp_BindTexImageEXT, __glXDispSwap_BindTexImageEXT}, | ||||
|     /* [ 65] =  5153 */ {__glXDisp_ReleaseTexImageEXT, __glXDispSwap_ReleaseTexImageEXT}, | ||||
|     /* [ 66] =  5154 */ {__glXDisp_CopySubBufferMESA, __glXDispSwap_CopySubBufferMESA}, | ||||
|     /* [ 67] =  5155 */ {NULL, NULL}, | ||||
|     /* [ 68] =  5156 */ {NULL, NULL}, | ||||
|     /* [ 69] =  5157 */ {NULL, NULL}, | ||||
|     /* [ 70] =  5158 */ {NULL, NULL}, | ||||
|     /* [ 71] =  5159 */ {NULL, NULL}, | ||||
|     /* [ 72] = 65536 */ {NULL, NULL}, | ||||
|     /* [ 73] = 65537 */ {__glXDisp_MakeCurrentReadSGI, __glXDispSwap_MakeCurrentReadSGI}, | ||||
|     /* [ 74] = 65538 */ {NULL, NULL}, | ||||
|     /* [ 75] = 65539 */ {NULL, NULL}, | ||||
|     /* [ 76] = 65540 */ {__glXDisp_GetFBConfigsSGIX, __glXDispSwap_GetFBConfigsSGIX}, | ||||
|     /* [ 77] = 65541 */ {__glXDisp_CreateContextWithConfigSGIX, __glXDispSwap_CreateContextWithConfigSGIX}, | ||||
|     /* [ 78] = 65542 */ {__glXDisp_CreateGLXPixmapWithConfigSGIX, __glXDispSwap_CreateGLXPixmapWithConfigSGIX}, | ||||
|     /* [ 79] = 65543 */ {NULL, NULL}, | ||||
| }; | ||||
| 
 | ||||
| const struct __glXDispatchInfo VendorPriv_dispatch_info = { | ||||
|  |  | |||
|  | @ -463,6 +463,59 @@ int __glXDisp_GetColorTable(__GLXclientState *cl, GLbyte *pc) | |||
|     return Success; | ||||
| } | ||||
| 
 | ||||
| int __glXDisp_GetColorTableSGI(__GLXclientState *cl, GLbyte *pc) | ||||
| { | ||||
|     GLint compsize; | ||||
|     GLenum format, type, target; | ||||
|     GLboolean swapBytes; | ||||
|     __GLXcontext *cx; | ||||
|     ClientPtr client = cl->client; | ||||
|     int error; | ||||
|     char *answer, answerBuffer[200]; | ||||
|     GLint width=0; | ||||
| 
 | ||||
|     cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); | ||||
|     if (!cx) { | ||||
| 	return error; | ||||
|     } | ||||
| 
 | ||||
|     pc += __GLX_VENDPRIV_HDR_SIZE; | ||||
|     target = *(GLenum *)(pc + 0); | ||||
|     format = *(GLenum *)(pc + 4); | ||||
|     type = *(GLenum *)(pc + 8); | ||||
|     swapBytes = *(GLboolean *)(pc + 12); | ||||
| 
 | ||||
|     CALL_GetColorTableParameterivSGI( GET_DISPATCH(), (target, GL_COLOR_TABLE_WIDTH, &width) ); | ||||
|     /*
 | ||||
|      * The one query above might fail if we're in a state where queries | ||||
|      * are illegal, but then width would still be zero anyway. | ||||
|      */ | ||||
|     compsize = __glGetTexImage_size(target,1,format,type,width,1,1); | ||||
|     if (compsize < 0) compsize = 0; | ||||
| 
 | ||||
|     CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, swapBytes) ); | ||||
|     __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); | ||||
|     __glXClearErrorOccured(); | ||||
|     CALL_GetColorTableSGI( GET_DISPATCH(), ( | ||||
| 		  *(GLenum   *)(pc + 0), | ||||
| 		  *(GLenum   *)(pc + 4), | ||||
| 		  *(GLenum   *)(pc + 8), | ||||
| 		  answer | ||||
| 		  ) ); | ||||
| 
 | ||||
|     if (__glXErrorOccured()) { | ||||
| 	__GLX_BEGIN_REPLY(0); | ||||
| 	__GLX_SEND_HEADER(); | ||||
|     } else { | ||||
| 	__GLX_BEGIN_REPLY(compsize); | ||||
| 	((xGLXGetColorTableReply *)&__glXReply)->width = width; | ||||
| 	__GLX_SEND_HEADER(); | ||||
| 	__GLX_SEND_VOID_ARRAY(compsize); | ||||
|     } | ||||
| 
 | ||||
|     return Success; | ||||
| } | ||||
| 
 | ||||
| int __glXDisp_GetCompressedTexImageARB(__GLXclientState *cl, GLbyte *pc) | ||||
| { | ||||
|     return BadRequest; | ||||
|  |  | |||
|  | @ -518,6 +518,65 @@ int __glXDispSwap_GetColorTable(__GLXclientState *cl, GLbyte *pc) | |||
|     return Success; | ||||
| } | ||||
| 
 | ||||
| int __glXDispSwap_GetColorTableSGI(__GLXclientState *cl, GLbyte *pc) | ||||
| { | ||||
|     GLint compsize; | ||||
|     GLenum format, type, target; | ||||
|     GLboolean swapBytes; | ||||
|     __GLXcontext *cx; | ||||
|     ClientPtr client = cl->client; | ||||
|     int error; | ||||
|     __GLX_DECLARE_SWAP_VARIABLES; | ||||
|     char *answer, answerBuffer[200]; | ||||
|     GLint width=0; | ||||
| 
 | ||||
|     cx = __glXForceCurrent(cl, __GLX_GET_SINGLE_CONTEXT_TAG(pc), &error); | ||||
|     if (!cx) { | ||||
| 	return error; | ||||
|     } | ||||
| 
 | ||||
|     pc += __GLX_VENDPRIV_HDR_SIZE; | ||||
|     __GLX_SWAP_INT(pc+0); | ||||
|     __GLX_SWAP_INT(pc+4); | ||||
|     __GLX_SWAP_INT(pc+8); | ||||
| 
 | ||||
|     format = *(GLenum *)(pc + 4); | ||||
|     type = *(GLenum *)(pc + 8); | ||||
|     target = *(GLenum *)(pc + 0); | ||||
|     swapBytes = *(GLboolean *)(pc + 12); | ||||
| 
 | ||||
|     CALL_GetColorTableParameterivSGI( GET_DISPATCH(), (target, GL_COLOR_TABLE_WIDTH, &width) ); | ||||
|     /*
 | ||||
|      * The one query above might fail if we're in a state where queries | ||||
|      * are illegal, but then width would still be zero anyway. | ||||
|      */ | ||||
|     compsize = __glGetTexImage_size(target,1,format,type,width,1,1); | ||||
|     if (compsize < 0) compsize = 0; | ||||
| 
 | ||||
|     CALL_PixelStorei( GET_DISPATCH(), (GL_PACK_SWAP_BYTES, !swapBytes) ); | ||||
|     __GLX_GET_ANSWER_BUFFER(answer,cl,compsize,1); | ||||
|     __glXClearErrorOccured(); | ||||
|     CALL_GetColorTableSGI( GET_DISPATCH(), ( | ||||
| 		  *(GLenum   *)(pc + 0), | ||||
| 		  *(GLenum   *)(pc + 4), | ||||
| 		  *(GLenum   *)(pc + 8), | ||||
| 		  answer | ||||
| 		  ) ); | ||||
| 
 | ||||
|     if (__glXErrorOccured()) { | ||||
| 	__GLX_BEGIN_REPLY(0); | ||||
| 	__GLX_SWAP_REPLY_HEADER(); | ||||
|     } else { | ||||
| 	__GLX_BEGIN_REPLY(compsize); | ||||
| 	__GLX_SWAP_REPLY_HEADER(); | ||||
| 	__GLX_SWAP_INT(&width); | ||||
| 	((xGLXGetColorTableReply *)&__glXReply)->width = width; | ||||
| 	__GLX_SEND_VOID_ARRAY(compsize); | ||||
|     } | ||||
| 
 | ||||
|     return Success; | ||||
| } | ||||
| 
 | ||||
| int __glXDispSwap_GetCompressedTexImageARB(__GLXclientState *cl, GLbyte *pc) | ||||
| { | ||||
|     return BadRequest; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue