summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2024-07-10 07:04:17 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2024-07-10 07:04:17 +0000
commitdc1de40297a7e4505b42ed3bf4a13008d3a94c2e (patch)
tree5cffaaa4dec4dfd65c3ed7eda14faff50f11628f
parent5894296387a3647b20bd45e628f6bcd5344c2360 (diff)
remove gl-docs. ok jca@ jsg@
-rw-r--r--doc/gl-docs/GL/Imakefile26
-rw-r--r--doc/gl-docs/GL/gl/Imakefile432
-rw-r--r--doc/gl-docs/GL/gl/Makefile450
-rw-r--r--doc/gl-docs/GL/gl/accum.3gl156
-rw-r--r--doc/gl-docs/GL/gl/activetextureARB.3gl54
-rw-r--r--doc/gl-docs/GL/gl/alphafunc.3gl114
-rw-r--r--doc/gl-docs/GL/gl/aretexturesresident.3gl91
-rw-r--r--doc/gl-docs/GL/gl/arrayelement.3gl70
-rw-r--r--doc/gl-docs/GL/gl/begin.3gl217
-rw-r--r--doc/gl-docs/GL/gl/bindtexture.3gl114
-rw-r--r--doc/gl-docs/GL/gl/bitmap.3gl132
-rw-r--r--doc/gl-docs/GL/gl/blendcolor.3gl52
-rw-r--r--doc/gl-docs/GL/gl/blendequation.3gl146
-rw-r--r--doc/gl-docs/GL/gl/blendfunc.3gl250
-rw-r--r--doc/gl-docs/GL/gl/calllist.3gl60
-rw-r--r--doc/gl-docs/GL/gl/calllists.3gl165
-rw-r--r--doc/gl-docs/GL/gl/clear.3gl98
-rw-r--r--doc/gl-docs/GL/gl/clearaccum.3gl45
-rw-r--r--doc/gl-docs/GL/gl/clearcolor.3gl44
-rw-r--r--doc/gl-docs/GL/gl/cleardepth.3gl36
-rw-r--r--doc/gl-docs/GL/gl/clearindex.3gl47
-rw-r--r--doc/gl-docs/GL/gl/clearstencil.3gl45
-rw-r--r--doc/gl-docs/GL/gl/clientactivetextureARB.3gl54
-rw-r--r--doc/gl-docs/GL/gl/clipplane.3gl81
-rw-r--r--doc/gl-docs/GL/gl/color.3gl269
-rw-r--r--doc/gl-docs/GL/gl/colormask.3gl58
-rw-r--r--doc/gl-docs/GL/gl/colormaterial.3gl94
-rw-r--r--doc/gl-docs/GL/gl/colorpointer.3gl123
-rw-r--r--doc/gl-docs/GL/gl/colorsubtable.3gl116
-rw-r--r--doc/gl-docs/GL/gl/colortable.3gl306
-rw-r--r--doc/gl-docs/GL/gl/colortableparameter.3gl86
-rw-r--r--doc/gl-docs/GL/gl/convolutionfilter1d.3gl220
-rw-r--r--doc/gl-docs/GL/gl/convolutionfilter2d.3gl236
-rw-r--r--doc/gl-docs/GL/gl/convolutionparameter.3gl173
-rw-r--r--doc/gl-docs/GL/gl/copycolorsubtable.3gl75
-rw-r--r--doc/gl-docs/GL/gl/copycolortable.3gl160
-rw-r--r--doc/gl-docs/GL/gl/copyconvolutionfilter1d.3gl164
-rw-r--r--doc/gl-docs/GL/gl/copyconvolutionfilter2d.3gl176
-rw-r--r--doc/gl-docs/GL/gl/copypixels.3gl249
-rw-r--r--doc/gl-docs/GL/gl/copyteximage1d.3gl173
-rw-r--r--doc/gl-docs/GL/gl/copyteximage2d.3gl179
-rw-r--r--doc/gl-docs/GL/gl/copytexsubimage1d.3gl131
-rw-r--r--doc/gl-docs/GL/gl/copytexsubimage2d.3gl151
-rw-r--r--doc/gl-docs/GL/gl/copytexsubimage3d.3gl158
-rw-r--r--doc/gl-docs/GL/gl/cullface.3gl58
-rw-r--r--doc/gl-docs/GL/gl/deletelists.3gl50
-rw-r--r--doc/gl-docs/GL/gl/deletetextures.3gl60
-rw-r--r--doc/gl-docs/GL/gl/depthfunc.3gl88
-rw-r--r--doc/gl-docs/GL/gl/depthmask.3gl46
-rw-r--r--doc/gl-docs/GL/gl/depthrange.3gl65
-rw-r--r--doc/gl-docs/GL/gl/drawarrays.3gl97
-rw-r--r--doc/gl-docs/GL/gl/drawbuffer.3gl141
-rw-r--r--doc/gl-docs/GL/gl/drawelements.3gl105
-rw-r--r--doc/gl-docs/GL/gl/drawpixels.3gl545
-rw-r--r--doc/gl-docs/GL/gl/drawrangeelements.3gl132
-rw-r--r--doc/gl-docs/GL/gl/edgeflag.3gl65
-rw-r--r--doc/gl-docs/GL/gl/edgeflagpointer.3gl100
-rw-r--r--doc/gl-docs/GL/gl/enable.3gl505
-rw-r--r--doc/gl-docs/GL/gl/enableclientstate.3gl115
-rw-r--r--doc/gl-docs/GL/gl/evalcoord.3gl226
-rw-r--r--doc/gl-docs/GL/gl/evalmesh.3gl189
-rw-r--r--doc/gl-docs/GL/gl/evalpoint.3gl101
-rw-r--r--doc/gl-docs/GL/gl/feedbackbuffer.3gl225
-rw-r--r--doc/gl-docs/GL/gl/finish.3gl34
-rw-r--r--doc/gl-docs/GL/gl/flush.3gl46
-rw-r--r--doc/gl-docs/GL/gl/fog.3gl209
-rw-r--r--doc/gl-docs/GL/gl/frontface.3gl66
-rw-r--r--doc/gl-docs/GL/gl/frustum.3gl133
-rw-r--r--doc/gl-docs/GL/gl/genlists.3gl49
-rw-r--r--doc/gl-docs/GL/gl/gentextures.3gl63
-rw-r--r--doc/gl-docs/GL/gl/get.3gl1798
-rw-r--r--doc/gl-docs/GL/gl/getclipplane.3gl53
-rw-r--r--doc/gl-docs/GL/gl/getcolortable.3gl142
-rw-r--r--doc/gl-docs/GL/gl/getcolortableparameter.3gl116
-rw-r--r--doc/gl-docs/GL/gl/getconvolutionfilter.3gl145
-rw-r--r--doc/gl-docs/GL/gl/getconvolutionparameter.3gl114
-rw-r--r--doc/gl-docs/GL/gl/geterror.3gl102
-rw-r--r--doc/gl-docs/GL/gl/gethistogram.3gl142
-rw-r--r--doc/gl-docs/GL/gl/gethistogramparameter.3gl103
-rw-r--r--doc/gl-docs/GL/gl/getlight.3gl187
-rw-r--r--doc/gl-docs/GL/gl/getmap.3gl134
-rw-r--r--doc/gl-docs/GL/gl/getmaterial.3gl133
-rw-r--r--doc/gl-docs/GL/gl/getminmax.3gl149
-rw-r--r--doc/gl-docs/GL/gl/getminmaxparameter.3gl76
-rw-r--r--doc/gl-docs/GL/gl/getpixelmap.3gl156
-rw-r--r--doc/gl-docs/GL/gl/getpointerv.3gl72
-rw-r--r--doc/gl-docs/GL/gl/getpolygonstipple.3gl52
-rw-r--r--doc/gl-docs/GL/gl/getseparablefilter.3gl152
-rw-r--r--doc/gl-docs/GL/gl/getstring.3gl84
-rw-r--r--doc/gl-docs/GL/gl/gettexenv.3gl80
-rw-r--r--doc/gl-docs/GL/gl/gettexgen.3gl107
-rw-r--r--doc/gl-docs/GL/gl/getteximage.3gl209
-rw-r--r--doc/gl-docs/GL/gl/gettexlevelparameter.3gl182
-rw-r--r--doc/gl-docs/GL/gl/gettexparameter.3gl142
-rw-r--r--doc/gl-docs/GL/gl/hint.3gl104
-rw-r--r--doc/gl-docs/GL/gl/histogram.3gl138
-rw-r--r--doc/gl-docs/GL/gl/index.3gl99
-rw-r--r--doc/gl-docs/GL/gl/indexmask.3gl57
-rw-r--r--doc/gl-docs/GL/gl/indexpointer.3gl114
-rw-r--r--doc/gl-docs/GL/gl/initnames.3gl38
-rw-r--r--doc/gl-docs/GL/gl/interleavedarrays.3gl110
-rw-r--r--doc/gl-docs/GL/gl/isenabled.3gl160
-rw-r--r--doc/gl-docs/GL/gl/islist.3gl38
-rw-r--r--doc/gl-docs/GL/gl/istexture.3gl46
-rw-r--r--doc/gl-docs/GL/gl/light.3gl253
-rw-r--r--doc/gl-docs/GL/gl/lightmodel.3gl179
-rw-r--r--doc/gl-docs/GL/gl/linestipple.3gl87
-rw-r--r--doc/gl-docs/GL/gl/linewidth.3gl96
-rw-r--r--doc/gl-docs/GL/gl/listbase.3gl39
-rw-r--r--doc/gl-docs/GL/gl/loadidentity.3gl56
-rw-r--r--doc/gl-docs/GL/gl/loadmatrix.3gl95
-rw-r--r--doc/gl-docs/GL/gl/loadname.3gl48
-rw-r--r--doc/gl-docs/GL/gl/logicop.3gl112
-rw-r--r--doc/gl-docs/GL/gl/map1.3gl271
-rw-r--r--doc/gl-docs/GL/gl/map2.3gl331
-rw-r--r--doc/gl-docs/GL/gl/mapgrid.3gl141
-rw-r--r--doc/gl-docs/GL/gl/material.3gl213
-rw-r--r--doc/gl-docs/GL/gl/matrixmode.3gl64
-rw-r--r--doc/gl-docs/GL/gl/minmax.3gl120
-rw-r--r--doc/gl-docs/GL/gl/multitexcoordARB.3gl301
-rw-r--r--doc/gl-docs/GL/gl/multmatrix.3gl119
-rw-r--r--doc/gl-docs/GL/gl/newlist.3gl153
-rw-r--r--doc/gl-docs/GL/gl/normal.3gl123
-rw-r--r--doc/gl-docs/GL/gl/normalpointer.3gl113
-rw-r--r--doc/gl-docs/GL/gl/ortho.3gl105
-rw-r--r--doc/gl-docs/GL/gl/passthrough.3gl55
-rw-r--r--doc/gl-docs/GL/gl/pixelmap.3gl252
-rw-r--r--doc/gl-docs/GL/gl/pixelstore.3gl506
-rw-r--r--doc/gl-docs/GL/gl/pixeltransfer.3gl439
-rw-r--r--doc/gl-docs/GL/gl/pixelzoom.3gl60
-rw-r--r--doc/gl-docs/GL/gl/pointsize.3gl128
-rw-r--r--doc/gl-docs/GL/gl/polygonmode.3gl103
-rw-r--r--doc/gl-docs/GL/gl/polygonoffset.3gl73
-rw-r--r--doc/gl-docs/GL/gl/polygonstipple.3gl80
-rw-r--r--doc/gl-docs/GL/gl/prioritizetextures.3gl83
-rw-r--r--doc/gl-docs/GL/gl/pushattrib.3gl267
-rw-r--r--doc/gl-docs/GL/gl/pushclientattrib.3gl101
-rw-r--r--doc/gl-docs/GL/gl/pushmatrix.3gl92
-rw-r--r--doc/gl-docs/GL/gl/pushname.3gl68
-rw-r--r--doc/gl-docs/GL/gl/rasterpos.3gl287
-rw-r--r--doc/gl-docs/GL/gl/readbuffer.3gl81
-rw-r--r--doc/gl-docs/GL/gl/readpixels.3gl348
-rw-r--r--doc/gl-docs/GL/gl/rect.3gl117
-rw-r--r--doc/gl-docs/GL/gl/rendermode.3gl107
-rw-r--r--doc/gl-docs/GL/gl/resethistogram.3gl38
-rw-r--r--doc/gl-docs/GL/gl/resetminmax.3gl41
-rw-r--r--doc/gl-docs/GL/gl/rotate.3gl110
-rw-r--r--doc/gl-docs/GL/gl/scale.3gl92
-rw-r--r--doc/gl-docs/GL/gl/scissor.3gl69
-rw-r--r--doc/gl-docs/GL/gl/selectbuffer.3gl113
-rw-r--r--doc/gl-docs/GL/gl/separablefilter2d.3gl245
-rw-r--r--doc/gl-docs/GL/gl/shademodel.3gl87
-rw-r--r--doc/gl-docs/GL/gl/stencilfunc.3gl147
-rw-r--r--doc/gl-docs/GL/gl/stencilmask.3gl53
-rw-r--r--doc/gl-docs/GL/gl/stencilop.3gl143
-rw-r--r--doc/gl-docs/GL/gl/texcoord.3gl237
-rw-r--r--doc/gl-docs/GL/gl/texcoordpointer.3gl132
-rw-r--r--doc/gl-docs/GL/gl/texenv.3gl196
-rw-r--r--doc/gl-docs/GL/gl/texgen.3gl270
-rw-r--r--doc/gl-docs/GL/gl/teximage1d.3gl449
-rw-r--r--doc/gl-docs/GL/gl/teximage2d.3gl478
-rw-r--r--doc/gl-docs/GL/gl/teximage3d.3gl470
-rw-r--r--doc/gl-docs/GL/gl/texparameter.3gl348
-rw-r--r--doc/gl-docs/GL/gl/texsubimage1d.3gl207
-rw-r--r--doc/gl-docs/GL/gl/texsubimage2d.3gl216
-rw-r--r--doc/gl-docs/GL/gl/texsubimage3d.3gl227
-rw-r--r--doc/gl-docs/GL/gl/translate.3gl87
-rw-r--r--doc/gl-docs/GL/gl/vertex.3gl189
-rw-r--r--doc/gl-docs/GL/gl/vertexpointer.3gl124
-rw-r--r--doc/gl-docs/GL/gl/viewport.3gl72
-rw-r--r--doc/gl-docs/GL/glx/Imakefile77
-rw-r--r--doc/gl-docs/GL/glx/Makefile34
-rw-r--r--doc/gl-docs/GL/glx/xchoosevisual.3gl225
-rw-r--r--doc/gl-docs/GL/glx/xcopycontext.3gl98
-rw-r--r--doc/gl-docs/GL/glx/xcreatecontext.3gl117
-rw-r--r--doc/gl-docs/GL/glx/xcreateglxpixmap.3gl76
-rw-r--r--doc/gl-docs/GL/glx/xdestroycontext.3gl44
-rw-r--r--doc/gl-docs/GL/glx/xdestroyglxpixmap.3gl43
-rw-r--r--doc/gl-docs/GL/glx/xfreecontextext.3gl54
-rw-r--r--doc/gl-docs/GL/glx/xgetclientstring.3gl64
-rw-r--r--doc/gl-docs/GL/glx/xgetconfig.3gl177
-rw-r--r--doc/gl-docs/GL/glx/xgetcontextidext.3gl47
-rw-r--r--doc/gl-docs/GL/glx/xgetcurrentcontext.3gl30
-rw-r--r--doc/gl-docs/GL/glx/xgetcurrentdisplay.3gl33
-rw-r--r--doc/gl-docs/GL/glx/xgetcurrentdrawable.3gl28
-rw-r--r--doc/gl-docs/GL/glx/ximportcontextext.3gl71
-rw-r--r--doc/gl-docs/GL/glx/xintro.3gl239
-rw-r--r--doc/gl-docs/GL/glx/xisdirect.3gl42
-rw-r--r--doc/gl-docs/GL/glx/xmakecurrent.3gl107
-rw-r--r--doc/gl-docs/GL/glx/xquerycontextinfoext.3gl67
-rw-r--r--doc/gl-docs/GL/glx/xqueryextension.3gl52
-rw-r--r--doc/gl-docs/GL/glx/xqueryextensionsstring.3gl48
-rw-r--r--doc/gl-docs/GL/glx/xqueryserverstring.3gl58
-rw-r--r--doc/gl-docs/GL/glx/xqueryversion.3gl51
-rw-r--r--doc/gl-docs/GL/glx/xswapbuffers.3gl72
-rw-r--r--doc/gl-docs/GL/glx/xusexfont.3gl76
-rw-r--r--doc/gl-docs/GL/glx/xwaitgl.3gl42
-rw-r--r--doc/gl-docs/GL/glx/xwaitx.3gl42
-rw-r--r--doc/gl-docs/GLU/Imakefile150
-rw-r--r--doc/gl-docs/GLU/Makefile62
-rw-r--r--doc/gl-docs/GLU/begincurve.3gl65
-rw-r--r--doc/gl-docs/GLU/beginpolygon.3gl76
-rw-r--r--doc/gl-docs/GLU/beginsurface.3gl70
-rw-r--r--doc/gl-docs/GLU/begintrim.3gl106
-rw-r--r--doc/gl-docs/GLU/build1dmipmaplevels.3gl228
-rw-r--r--doc/gl-docs/GLU/build1dmipmaps.3gl228
-rw-r--r--doc/gl-docs/GLU/build2dmipmaplevels.3gl234
-rw-r--r--doc/gl-docs/GLU/build2dmipmaps.3gl236
-rw-r--r--doc/gl-docs/GLU/build3dmipmaplevels.3gl237
-rw-r--r--doc/gl-docs/GLU/build3dmipmaps.3gl238
-rw-r--r--doc/gl-docs/GLU/checkextension.3gl53
-rw-r--r--doc/gl-docs/GLU/cylinder.3gl70
-rw-r--r--doc/gl-docs/GLU/deletenurbsrenderer.3gl34
-rw-r--r--doc/gl-docs/GLU/deletequadric.3gl34
-rw-r--r--doc/gl-docs/GLU/deletetess.3gl33
-rw-r--r--doc/gl-docs/GLU/disk.3gl70
-rw-r--r--doc/gl-docs/GLU/errorstring.3gl47
-rw-r--r--doc/gl-docs/GLU/getnurbsproperty.3gl55
-rw-r--r--doc/gl-docs/GLU/getstring.3gl65
-rw-r--r--doc/gl-docs/GLU/gettessproperty.3gl50
-rw-r--r--doc/gl-docs/GLU/loadsamplingmatrices.3gl60
-rw-r--r--doc/gl-docs/GLU/lookat.3gl101
-rw-r--r--doc/gl-docs/GLU/newnurbsrenderer.3gl31
-rw-r--r--doc/gl-docs/GLU/newquadric.3gl33
-rw-r--r--doc/gl-docs/GLU/newtess.3gl30
-rw-r--r--doc/gl-docs/GLU/nextcontour.3gl102
-rw-r--r--doc/gl-docs/GLU/nurbscallback.3gl228
-rw-r--r--doc/gl-docs/GLU/nurbscallbackdata.3gl41
-rw-r--r--doc/gl-docs/GLU/nurbscallbackdataext.3gl38
-rw-r--r--doc/gl-docs/GLU/nurbscurve.3gl99
-rw-r--r--doc/gl-docs/GLU/nurbsproperty.3gl202
-rw-r--r--doc/gl-docs/GLU/nurbssurface.3gl124
-rw-r--r--doc/gl-docs/GLU/ortho2d.3gl41
-rw-r--r--doc/gl-docs/GLU/partialdisk.3gl87
-rw-r--r--doc/gl-docs/GLU/perspective.3gl96
-rw-r--r--doc/gl-docs/GLU/pickmatrix.3gl94
-rw-r--r--doc/gl-docs/GLU/project.3gl88
-rw-r--r--doc/gl-docs/GLU/pwlcurve.3gl69
-rw-r--r--doc/gl-docs/GLU/quadriccallback.3gl51
-rw-r--r--doc/gl-docs/GLU/quadricdrawstyle.3gl57
-rw-r--r--doc/gl-docs/GLU/quadricnormals.3gl51
-rw-r--r--doc/gl-docs/GLU/quadricorientation.3gl49
-rw-r--r--doc/gl-docs/GLU/quadrictexture.3gl45
-rw-r--r--doc/gl-docs/GLU/scaleimage.3gl172
-rw-r--r--doc/gl-docs/GLU/sphere.3gl66
-rw-r--r--doc/gl-docs/GLU/tessbegincontour.3gl44
-rw-r--r--doc/gl-docs/GLU/tessbeginpolygon.3gl73
-rw-r--r--doc/gl-docs/GLU/tesscallback.3gl294
-rw-r--r--doc/gl-docs/GLU/tessendpolygon.3gl68
-rw-r--r--doc/gl-docs/GLU/tessnormal.3gl67
-rw-r--r--doc/gl-docs/GLU/tessproperty.3gl99
-rw-r--r--doc/gl-docs/GLU/tessvertex.3gl99
-rw-r--r--doc/gl-docs/GLU/unproject.3gl78
-rw-r--r--doc/gl-docs/GLU/unproject4.3gl103
-rw-r--r--doc/gl-docs/GLw/Imakefile25
-rw-r--r--doc/gl-docs/GLw/Makefile14
-rw-r--r--doc/gl-docs/GLw/glwcreatemdrawingarea.gl50
-rw-r--r--doc/gl-docs/GLw/glwdrawingarea.gl485
-rw-r--r--doc/gl-docs/GLw/glwdrawingareamakecurrent.gl30
-rw-r--r--doc/gl-docs/GLw/glwdrawingareaswapbuffers.gl30
-rw-r--r--doc/gl-docs/Makefile6
-rw-r--r--doc/gl-docs/Makefile.inc28
262 files changed, 0 insertions, 34632 deletions
diff --git a/doc/gl-docs/GL/Imakefile b/doc/gl-docs/GL/Imakefile
deleted file mode 100644
index 0613b9628..000000000
--- a/doc/gl-docs/GL/Imakefile
+++ /dev/null
@@ -1,26 +0,0 @@
-XCOMM $XFree86: xc/doc/man/GL/Imakefile,v 1.2 1999/06/14 07:23:27 dawes Exp $
-XCOMM The contents of this file are subject to the GLX Public License Version 1.0
-XCOMM (the "License"). You may not use this file except in compliance with the
-XCOMM License. You may obtain a copy of the License at Silicon Graphics, Inc.,
-XCOMM attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043
-XCOMM or at http://www.sgi.com/software/opensource/glx/license.html.
-XCOMM
-XCOMM Software distributed under the License is distributed on an "AS IS"
-XCOMM basis. ALL WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY
-XCOMM IMPLIED WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR
-XCOMM PURPOSE OR OF NON- INFRINGEMENT. See the License for the specific
-XCOMM language governing rights and limitations under the License.
-XCOMM
-XCOMM The Original Software is GLX version 1.2 source code, released February,
-XCOMM 1999. The developer of the Original Software is Silicon Graphics, Inc.
-XCOMM Those portions of the Subject Software created by Silicon Graphics, Inc.
-XCOMM are Copyright (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved.
-
-#define IHaveSubdirs
-#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
-
-SUBDIRS = gl glx
-
-MakeSubdirs($(SUBDIRS))
-InstallManSubdirs($(SUBDIRS))
-DependSubdirs($(SUBDIRS))
diff --git a/doc/gl-docs/GL/gl/Imakefile b/doc/gl-docs/GL/gl/Imakefile
deleted file mode 100644
index 216ffb980..000000000
--- a/doc/gl-docs/GL/gl/Imakefile
+++ /dev/null
@@ -1,432 +0,0 @@
-XCOMM $XFree86: xc/doc/man/GL/gl/Imakefile,v 1.3 2002/01/15 03:32:03 dawes Exp $
-
-XCOMM License Applicability. Except to the extent portions of this file are
-XCOMM made subject to an alternative license as permitted in the SGI Free
-XCOMM Software License B, Version 1.1 (the "License"), the contents of this
-XCOMM file are subject only to the provisions of the License. You may not use
-XCOMM this file except in compliance with the License. You may obtain a Copy
-XCOMM of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
-XCOMM Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
-XCOMM
-XCOMM http://oss.sgi.com/projects/FreeB
-XCOMM
-XCOMM Note that, as provided in the License, the Software is distributed on an
-XCOMM "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
-XCOMM DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
-XCOMM CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
-XCOMM PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
-XCOMM
-XCOMM Original Code. The Original Code is: OpenGL Sample Implementation,
-XCOMM Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
-XCOMM Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
-XCOMM Copyright in any portions created by third parties is as indicated
-XCOMM elsewhere herein. All Rights Reserved.
-XCOMM
-XCOMM Additional Notice Provisions: The application programming interfaces
-XCOMM established by SGI in conjunction with the Original Code are The
-XCOMM OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
-XCOMM April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
-XCOMM 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
-XCOMM Window System(R) (Version 1.3), released October 19, 1998. This software
-XCOMM was created using the OpenGL(R) version 1.2.1 Sample Implementation
-XCOMM published by SGI, but has not been independently verified as being
-XCOMM compliant with the OpenGL(R) version 1.2.1 Specification.
-XCOMM
-
-MANDIR = $(LIBMANDIR)
-MANSUFFIX = $(LIBMANSUFFIX)
-MSUFF = man
-
-InstallManPage(glAccum,$(MANDIR))
-InstallManPage(glActiveTextureARB,$(MANDIR))
-InstallManPage(glAlphaFunc,$(MANDIR))
-InstallManPage(glAreTexturesResident,$(MANDIR))
-InstallManPage(glArrayElement,$(MANDIR))
-InstallManPage(glBegin,$(MANDIR))
-InstallManPageAliases(glBegin,$(MANDIR),glEnd)
-InstallManPage(glBindTexture,$(MANDIR))
-InstallManPage(glBitmap,$(MANDIR))
-InstallManPage(glBlendColor,$(MANDIR))
-InstallManPage(glBlendEquation,$(MANDIR))
-InstallManPage(glBlendFunc,$(MANDIR))
-InstallManPage(glCallList,$(MANDIR))
-InstallManPage(glCallLists,$(MANDIR))
-InstallManPage(glClear,$(MANDIR))
-InstallManPage(glClearAccum,$(MANDIR))
-InstallManPage(glClearColor,$(MANDIR))
-InstallManPage(glClearDepth,$(MANDIR))
-InstallManPage(glClearIndex,$(MANDIR))
-InstallManPage(glClearStencil,$(MANDIR))
-InstallManPage(glClientActiveTextureARB,$(MANDIR))
-InstallManPage(glClipPlane,$(MANDIR))
-InstallManPage(glColor,$(MANDIR))
-InstallManPageAliases(glColor,$(MANDIR),glColor3b glColor3d glColor3f glColor3i glColor3s glColor3ub glColor3ui glColor3us glColor4b glColor4d glColor4f glColor4i glColor4s glColor4ub glColor4ui glColor4us glColor3bv glColor3dv glColor3fv glColor3iv glColor3sv glColor3ubv glColor3uiv glColor3usv glColor4bv glColor4dv glColor4fv glColor4iv glColor4sv glColor4ubv glColor4uiv glColor4usv)
-InstallManPage(glColorMask,$(MANDIR))
-InstallManPage(glColorMaterial,$(MANDIR))
-InstallManPage(glColorPointer,$(MANDIR))
-InstallManPage(glColorSubTable,$(MANDIR))
-InstallManPage(glColorTable,$(MANDIR))
-InstallManPage(glColorTableParameter,$(MANDIR))
-InstallManPageAliases(glColorTableParameter,$(MANDIR),glColorTableParameterfv glColorTableParameteriv)
-InstallManPage(glConvolutionFilter1D,$(MANDIR))
-InstallManPage(glConvolutionFilter2D,$(MANDIR))
-InstallManPage(glConvolutionParameter,$(MANDIR))
-InstallManPage(glCopyColorSubTable,$(MANDIR))
-InstallManPage(glCopyColorTable,$(MANDIR))
-InstallManPage(glCopyConvolutionFilter1D,$(MANDIR))
-InstallManPage(glCopyConvolutionFilter2D,$(MANDIR))
-InstallManPage(glCopyPixels,$(MANDIR))
-InstallManPage(glCopyTexImage1D,$(MANDIR))
-InstallManPage(glCopyTexImage2D,$(MANDIR))
-InstallManPage(glCopyTexSubImage1D,$(MANDIR))
-InstallManPage(glCopyTexSubImage2D,$(MANDIR))
-InstallManPage(glCopyTexSubImage3D,$(MANDIR))
-InstallManPage(glCullFace,$(MANDIR))
-InstallManPage(glDeleteLists,$(MANDIR))
-InstallManPage(glDeleteTextures,$(MANDIR))
-InstallManPage(glDepthFunc,$(MANDIR))
-InstallManPage(glDepthMask,$(MANDIR))
-InstallManPage(glDepthRange,$(MANDIR))
-InstallManPage(glDrawArrays,$(MANDIR))
-InstallManPage(glDrawBuffer,$(MANDIR))
-InstallManPage(glDrawElements,$(MANDIR))
-InstallManPage(glDrawPixels,$(MANDIR))
-InstallManPage(glDrawRangeElements,$(MANDIR))
-InstallManPage(glEdgeFlag,$(MANDIR))
-InstallManPageAliases(glEdgeFlag,$(MANDIR),glEdgeFlagv)
-InstallManPage(glEdgeFlagPointer,$(MANDIR))
-InstallManPage(glEnable,$(MANDIR))
-InstallManPageAliases(glEnable,$(MANDIR),glDisable)
-InstallManPage(glEnableClientState,$(MANDIR))
-InstallManPageAliases(glEnableClientState,$(MANDIR),glDisableClientState)
-InstallManPage(glEvalCoord,$(MANDIR))
-InstallManPageAliases(glEvalCoord,$(MANDIR),glEvalCoord1d glEvalCoord2d glEvalCoord2f glEvalCoord1dv glEvalCoord1fv glEvalCoord2dv glEvalCoord2fv)
-InstallManPage(glEvalMesh,$(MANDIR))
-InstallManPageAliases(glEvalMesh,$(MANDIR),glEvalMesh1 glEvalMesh2)
-InstallManPage(glEvalPoint,$(MANDIR))
-InstallManPageAliases(glEvalPoint,$(MANDIR),glEvalPoint1 glEvalPoint2)
-InstallManPage(glFeedbackBuffer,$(MANDIR))
-InstallManPage(glFinish,$(MANDIR))
-InstallManPage(glFlush,$(MANDIR))
-InstallManPage(glFog,$(MANDIR))
-InstallManPageAliases(glFog,$(MANDIR),glFogf glFogi glFogfv glFogiv)
-InstallManPage(glFrontFace,$(MANDIR))
-InstallManPage(glFrustum,$(MANDIR))
-InstallManPage(glGenLists,$(MANDIR))
-InstallManPage(glGenTextures,$(MANDIR))
-InstallManPage(glGet,$(MANDIR))
-InstallManPageAliases(glGet,$(MANDIR),glGetBooleanv glGetDoublev glGetFloatv glGetIntegerv)
-InstallManPage(glGetClipPlane,$(MANDIR))
-InstallManPage(glGetColorTable,$(MANDIR))
-InstallManPage(glGetColorTableParameter,$(MANDIR))
-InstallManPageAliases(glGetColorTableParameter,$(MANDIR),glGetColorTableParameterfv glGetColorTableParameteriv)
-InstallManPage(glGetConvolutionFilter,$(MANDIR))
-InstallManPage(glGetConvolutionParameter,$(MANDIR))
-InstallManPage(glGetError,$(MANDIR))
-InstallManPage(glGetHistogram,$(MANDIR))
-InstallManPage(glGetHistogramParameter,$(MANDIR))
-InstallManPage(glGetLight,$(MANDIR))
-InstallManPageAliases(glGetLight,$(MANDIR),glGetLightfv glGetLightiv)
-InstallManPage(glGetMap,$(MANDIR))
-InstallManPageAliases(glGetMap,$(MANDIR),glGetMapdv glGetMapfv glGetMapiv)
-InstallManPage(glGetMaterial,$(MANDIR))
-InstallManPageAliases(glGetMaterial,$(MANDIR),glGetMaterialfv glGetMaterialiv)
-InstallManPage(glGetMinmax,$(MANDIR))
-InstallManPage(glGetMinmaxParameter,$(MANDIR))
-InstallManPage(glGetPixelMap,$(MANDIR))
-InstallManPageAliases(glGetPixelMap,$(MANDIR),glGetPixelMapfv glGetPixelMapuiv glGetPixelMapusv)
-InstallManPage(glGetPointerv,$(MANDIR))
-InstallManPage(glGetPolygonStipple,$(MANDIR))
-InstallManPage(glGetSeparableFilter,$(MANDIR))
-InstallManPage(glGetString,$(MANDIR))
-InstallManPage(glGetTexEnv,$(MANDIR))
-InstallManPageAliases(glGetTexEnv,$(MANDIR),glGetTexEnvfv glGetTexEnviv)
-InstallManPage(glGetTexGen,$(MANDIR))
-InstallManPageAliases(glGetTexGen,$(MANDIR),glGetTexGendv glGetTexGenfv glGetTexGeniv)
-InstallManPage(glGetTexImage,$(MANDIR))
-InstallManPage(glGetTexLevelParameter,$(MANDIR))
-InstallManPageAliases(glGetTexLevelParameter,$(MANDIR),glGetTexLevelParameterfv glGetTexLevelParameteriv)
-InstallManPage(glGetTexParameter,$(MANDIR))
-InstallManPageAliases(glGetTexParameter,$(MANDIR),glGetTexParameterfv glGetTexParameteriv)
-InstallManPage(glHint,$(MANDIR))
-InstallManPage(glHistogram,$(MANDIR))
-InstallManPage(glIndex,$(MANDIR))
-InstallManPageAliases(glIndex,$(MANDIR),glIndexd glIndexf glIndexi glIndexs glIndexub glIndexdv glIndexfv glIndexiv glIndexsv glIndexubv)
-InstallManPage(glIndexMask,$(MANDIR))
-InstallManPage(glIndexPointer,$(MANDIR))
-InstallManPage(glInitNames,$(MANDIR))
-InstallManPage(glInterleavedArrays,$(MANDIR))
-InstallManPage(glIsEnabled,$(MANDIR))
-InstallManPage(glIslist,$(MANDIR))
-InstallManPage(glIsTexture,$(MANDIR))
-InstallManPage(glLight,$(MANDIR))
-InstallManPageAliases(glLight,$(MANDIR),glLightf glLighti glLightfv glLightiv)
-InstallManPage(glLightModel,$(MANDIR))
-InstallManPageAliases(glLightModel,$(MANDIR),glLightModelf glLightModeli glLightModelfv glLightModeliv)
-InstallManPage(glLineStipple,$(MANDIR))
-InstallManPage(glLineWidth,$(MANDIR))
-InstallManPage(glListBase,$(MANDIR))
-InstallManPage(glLoadIdentity,$(MANDIR))
-InstallManPage(glLoadMatrix,$(MANDIR))
-InstallManPageAliases(glLoadMatrix,$(MANDIR),glLoadMatrixd glLoadMatrixf)
-InstallManPage(glLoadName,$(MANDIR))
-InstallManPage(glLogicOp,$(MANDIR))
-InstallManPage(glMap1,$(MANDIR))
-InstallManPageAliases(glMap1,$(MANDIR),glMap1d glMap1f)
-InstallManPage(glMap2,$(MANDIR))
-InstallManPageAliases(glMap2,$(MANDIR),glMap2d glMap2f)
-InstallManPage(glMapGrid,$(MANDIR))
-InstallManPageAliases(glMapGrid,$(MANDIR),glMapGrid1d glMapGrid1f glMapGrid2d glMapGrid2f)
-InstallManPage(glMaterial,$(MANDIR))
-InstallManPageAliases(glMaterial,$(MANDIR),glMaterialf glMateriali glMaterialfv glMaterialiv)
-InstallManPage(glMatrixMode,$(MANDIR))
-InstallManPage(glMinmax,$(MANDIR))
-InstallManPage(glMultiTexCoordARB,$(MANDIR))
-InstallManPageAliases(glMultiTexCoordARB,$(MANDIR),glMultiTexCoord1dARB glMultiTexCoord1dvARB glMultiTexCoord1fARB glMultiTexCoord1fvARB glMultiTexCoord1iARB glMultiTexCoord1ivARB glMultiTexCoord1sARB glMultiTexCoord1svARB glMultiTexCoord2dARB glMultiTexCoord2dvARB glMultiTexCoord2fARB glMultiTexCoord2fvARB glMultiTexCoord2iARB glMultiTexCoord2ivARB glMultiTexCoord2sARB glMultiTexCoord2svARB glMultiTexCoord3dARB glMultiTexCoord3dvARB glMultiTexCoord3fARB glMultiTexCoord3fvARB glMultiTexCoord3iARB glMultiTexCoord3ivARB glMultiTexCoord3sARB glMultiTexCoord3svARB glMultiTexCoord4dARB glMultiTexCoord4dvARB glMultiTexCoord4fARB glMultiTexCoord4fvARB glMultiTexCoord4iARB glMultiTexCoord4ivARB glMultiTexCoord4sARB glMultiTexCoord4svARB)
-InstallManPage(glMultMatrix,$(MANDIR))
-InstallManPageAliases(glMultMatrix,$(MANDIR),glMultMatrixd glMultMatrixf)
-InstallManPage(glNewList,$(MANDIR))
-InstallManPageAliases(glNewList,$(MANDIR),glEndList)
-InstallManPage(glNormal,$(MANDIR))
-InstallManPageAliases(glNormal,$(MANDIR),glNormal3b glNormal3d glNormal3f glNormal3i glNormal3s glNormal3bv glNormal3dv glNormal3fv glNormal3iv glNormal3sv)
-InstallManPage(glNormalPointer,$(MANDIR))
-InstallManPage(glOrtho,$(MANDIR))
-InstallManPage(glPassThrough,$(MANDIR))
-InstallManPage(glPixelMap,$(MANDIR))
-InstallManPageAliases(glPixelMap,$(MANDIR),glPixelMapfv glPixelMapuiv glPixelMapusv)
-InstallManPage(glPixelStore,$(MANDIR))
-InstallManPageAliases(glPixelStore,$(MANDIR),glPixelStoref glPixelStorei)
-InstallManPage(glPixelTransfer,$(MANDIR))
-InstallManPageAliases(glPixelTransfer,$(MANDIR),glPixelTransferf glPixelTransferi)
-InstallManPage(glPixelZoom,$(MANDIR))
-InstallManPage(glPointSize,$(MANDIR))
-InstallManPage(glPolygonMode,$(MANDIR))
-InstallManPage(glPolygonOffset,$(MANDIR))
-InstallManPage(glPolygonStipple,$(MANDIR))
-InstallManPage(glPrioritizeTextures,$(MANDIR))
-InstallManPage(glPushAttrib,$(MANDIR))
-InstallManPageAliases(glPushAttrib,$(MANDIR),glPopAttrib)
-InstallManPage(glPushClientAttrib,$(MANDIR))
-InstallManPageAliases(glPushClientAttrib,$(MANDIR),glPopClientAttrib)
-InstallManPage(glPushMatrix,$(MANDIR))
-InstallManPageAliases(glPushMatrix,$(MANDIR),glPopMatrix)
-InstallManPage(glPushName,$(MANDIR))
-InstallManPageAliases(glPushName,$(MANDIR),glPopName)
-InstallManPage(glRasterPos,$(MANDIR))
-InstallManPageAliases(glRasterPos,$(MANDIR),glRasterPos2d glRasterPos2f glRasterPos2i glRasterPos2s glRasterPos3d glRasterPos3f glRasterPos3i glRasterPos3s glRasterPos4d glRasterPos4f glRasterPos4i glRasterPos4s glRasterPos2dv glRasterPos2fv glRasterPos2iv glRasterPos2sv glRasterPos3dv glRasterPos3fv glRasterPos3iv glRasterPos3sv glRasterPos4dv glRasterPos4fv glRasterPos4iv glRasterPos4sv)
-InstallManPage(glReadBuffer,$(MANDIR))
-InstallManPage(glReadPixels,$(MANDIR))
-InstallManPage(glRect,$(MANDIR))
-InstallManPageAliases(glRect,$(MANDIR),glRectd glRectf glRecti glRects glRectdv glRectfv glRectiv glRectsv)
-InstallManPage(glRenderMode,$(MANDIR))
-InstallManPage(glResetHistogram,$(MANDIR))
-InstallManPage(glResetMinmax,$(MANDIR))
-InstallManPage(glRotate,$(MANDIR))
-InstallManPageAliases(glRotate,$(MANDIR),glRotated glRotatef)
-InstallManPage(glScale,$(MANDIR))
-InstallManPageAliases(glScale,$(MANDIR),glScaled glScalef)
-InstallManPage(glScissor,$(MANDIR))
-InstallManPage(glSelectBuffer,$(MANDIR))
-InstallManPage(glSeparableFilter2D,$(MANDIR))
-InstallManPage(glShadeModel,$(MANDIR))
-InstallManPage(glStencilFunc,$(MANDIR))
-InstallManPage(glStencilMask,$(MANDIR))
-InstallManPage(glStencilOp,$(MANDIR))
-InstallManPage(glTexCoord,$(MANDIR))
-InstallManPageAliases(glTexCoord,$(MANDIR),glTexCoord1d glTexCoord1f glTexCoord1i glTexCoord1s glTexCoord2d glTexCoord2f glTexCoord2i glTexCoord2s glTexCoord3d glTexCoord3f glTexCoord3i glTexCoord3s glTexCoord4d glTexCoord4f glTexCoord4i glTexCoord4s glTexCoord1dv glTexCoord1fv glTexCoord1iv glTexCoord1sv glTexCoord2dv glTexCoord2fv glTexCoord2iv glTexCoord2sv glTexCoord3dv glTexCoord3fv glTexCoord3iv glTexCoord3sv glTexCoord4dv glTexCoord4fv glTexCoord4iv glTexCoord4sv)
-InstallManPage(glTexCoordPointer,$(MANDIR))
-InstallManPage(glTexEnv,$(MANDIR))
-InstallManPageAliases(glTexEnv,$(MANDIR),glTexEnvf glTexEnvi glTexEnvfv glTexEnviv)
-InstallManPage(glTexGen,$(MANDIR))
-InstallManPageAliases(glTexGen,$(MANDIR),glTexGend glTexGenf glTexGeni glTexGendv glTexGenfv glTexGeniv)
-InstallManPage(glTexImage1D,$(MANDIR))
-InstallManPage(glTexImage2D,$(MANDIR))
-InstallManPage(glTexImage3D,$(MANDIR))
-InstallManPage(glTexParameter,$(MANDIR))
-InstallManPageAliases(glTexParameter,$(MANDIR),glTexParameterf glTexParameteri glTexParameterfv glTexParameteriv)
-InstallManPage(glTexSubImage1D,$(MANDIR))
-InstallManPage(glTexSubImage2D,$(MANDIR))
-InstallManPage(glTexSubImage3D,$(MANDIR))
-InstallManPage(glTranslate,$(MANDIR))
-InstallManPageAliases(glTranslate,$(MANDIR),glTranslated glTranslatef)
-InstallManPage(glVertex,$(MANDIR))
-InstallManPageAliases(glVertex,$(MANDIR),glVertex2d glVertex2f glVertex2i glVertex2s glVertex3d glVertex3f glVertex3i glVertex3s glVertex4d glVertex4f glVertex4i glVertex4s glVertex2dv glVertex2fv glVertex2iv glVertex2sv glVertex3dv glVertex3fv glVertex3iv glVertex3sv glVertex4dv glVertex4fv glVertex4iv glVertex4sv)
-InstallManPage(glVertexPointer,$(MANDIR))
-InstallManPage(glViewport,$(MANDIR))
-
-#if 0
-GLMANDIR = $(OGLSAMPLESRCDIR)/main/doc/man/mangl/standard
-GLSUFFIX = gl
-#else
-GLMANDIR = .
-GLSUFFIX = 3gl
-#endif
-
-LinkFile(glAccum.$(MSUFF), $(GLMANDIR)/accum.$(GLSUFFIX))
-LinkFile(glActiveTextureARB.$(MSUFF), $(GLMANDIR)/activetextureARB.$(GLSUFFIX))
-LinkFile(glAlphaFunc.$(MSUFF), $(GLMANDIR)/alphafunc.$(GLSUFFIX))
-LinkFile(glAreTexturesResident.$(MSUFF), $(GLMANDIR)/aretexturesresident.$(GLSUFFIX))
-LinkFile(glArrayElement.$(MSUFF), $(GLMANDIR)/arrayelement.$(GLSUFFIX))
-LinkFile(glBegin.$(MSUFF), $(GLMANDIR)/begin.$(GLSUFFIX))
-LinkFile(glBindTexture.$(MSUFF), $(GLMANDIR)/bindtexture.$(GLSUFFIX))
-LinkFile(glBitmap.$(MSUFF), $(GLMANDIR)/bitmap.$(GLSUFFIX))
-LinkFile(glBlendColor.$(MSUFF), $(GLMANDIR)/blendcolor.$(GLSUFFIX))
-LinkFile(glBlendEquation.$(MSUFF), $(GLMANDIR)/blendequation.$(GLSUFFIX))
-LinkFile(glBlendFunc.$(MSUFF), $(GLMANDIR)/blendfunc.$(GLSUFFIX))
-LinkFile(glCallList.$(MSUFF), $(GLMANDIR)/calllist.$(GLSUFFIX))
-LinkFile(glCallLists.$(MSUFF), $(GLMANDIR)/calllists.$(GLSUFFIX))
-LinkFile(glClear.$(MSUFF), $(GLMANDIR)/clear.$(GLSUFFIX))
-LinkFile(glClearAccum.$(MSUFF), $(GLMANDIR)/clearaccum.$(GLSUFFIX))
-LinkFile(glClearColor.$(MSUFF), $(GLMANDIR)/clearcolor.$(GLSUFFIX))
-LinkFile(glClearDepth.$(MSUFF), $(GLMANDIR)/cleardepth.$(GLSUFFIX))
-LinkFile(glClearIndex.$(MSUFF), $(GLMANDIR)/clearindex.$(GLSUFFIX))
-LinkFile(glClearStencil.$(MSUFF), $(GLMANDIR)/clearstencil.$(GLSUFFIX))
-LinkFile(glClientActiveTextureARB.$(MSUFF), $(GLMANDIR)/clientactivetextureARB.$(GLSUFFIX))
-LinkFile(glClipPlane.$(MSUFF), $(GLMANDIR)/clipplane.$(GLSUFFIX))
-LinkFile(glColor.$(MSUFF), $(GLMANDIR)/color.$(GLSUFFIX))
-LinkFile(glColorMask.$(MSUFF), $(GLMANDIR)/colormask.$(GLSUFFIX))
-LinkFile(glColorMaterial.$(MSUFF), $(GLMANDIR)/colormaterial.$(GLSUFFIX))
-LinkFile(glColorPointer.$(MSUFF), $(GLMANDIR)/colorpointer.$(GLSUFFIX))
-LinkFile(glColorSubTable.$(MSUFF), $(GLMANDIR)/colorsubtable.$(GLSUFFIX))
-LinkFile(glColorTable.$(MSUFF), $(GLMANDIR)/colortable.$(GLSUFFIX))
-LinkFile(glColorTableParameter.$(MSUFF), $(GLMANDIR)/colortableparameter.$(GLSUFFIX))
-LinkFile(glConvolutionFilter1D.$(MSUFF), $(GLMANDIR)/convolutionfilter1d.$(GLSUFFIX))
-LinkFile(glConvolutionFilter2D.$(MSUFF), $(GLMANDIR)/convolutionfilter2d.$(GLSUFFIX))
-LinkFile(glConvolutionParameter.$(MSUFF), $(GLMANDIR)/convolutionparameter.$(GLSUFFIX))
-LinkFile(glCopyColorSubTable.$(MSUFF), $(GLMANDIR)/copycolorsubtable.$(GLSUFFIX))
-LinkFile(glCopyColorTable.$(MSUFF), $(GLMANDIR)/copycolortable.$(GLSUFFIX))
-LinkFile(glCopyConvolutionFilter1D.$(MSUFF), $(GLMANDIR)/copyconvolutionfilter1d.$(GLSUFFIX))
-LinkFile(glCopyConvolutionFilter2D.$(MSUFF), $(GLMANDIR)/copyconvolutionfilter2d.$(GLSUFFIX))
-LinkFile(glCopyPixels.$(MSUFF), $(GLMANDIR)/copypixels.$(GLSUFFIX))
-LinkFile(glCopyTexImage1D.$(MSUFF), $(GLMANDIR)/copyteximage1d.$(GLSUFFIX))
-LinkFile(glCopyTexImage2D.$(MSUFF), $(GLMANDIR)/copyteximage2d.$(GLSUFFIX))
-LinkFile(glCopyTexSubImage1D.$(MSUFF), $(GLMANDIR)/copytexsubimage1d.$(GLSUFFIX))
-LinkFile(glCopyTexSubImage2D.$(MSUFF), $(GLMANDIR)/copytexsubimage2d.$(GLSUFFIX))
-LinkFile(glCopyTexSubImage3D.$(MSUFF), $(GLMANDIR)/copytexsubimage3d.$(GLSUFFIX))
-LinkFile(glCullFace.$(MSUFF), $(GLMANDIR)/cullface.$(GLSUFFIX))
-LinkFile(glDeleteLists.$(MSUFF), $(GLMANDIR)/deletelists.$(GLSUFFIX))
-LinkFile(glDeleteTextures.$(MSUFF), $(GLMANDIR)/deletetextures.$(GLSUFFIX))
-LinkFile(glDepthFunc.$(MSUFF), $(GLMANDIR)/depthfunc.$(GLSUFFIX))
-LinkFile(glDepthMask.$(MSUFF), $(GLMANDIR)/depthmask.$(GLSUFFIX))
-LinkFile(glDepthRange.$(MSUFF), $(GLMANDIR)/depthrange.$(GLSUFFIX))
-LinkFile(glDrawArrays.$(MSUFF), $(GLMANDIR)/drawarrays.$(GLSUFFIX))
-LinkFile(glDrawBuffer.$(MSUFF), $(GLMANDIR)/drawbuffer.$(GLSUFFIX))
-LinkFile(glDrawElements.$(MSUFF), $(GLMANDIR)/drawelements.$(GLSUFFIX))
-LinkFile(glDrawPixels.$(MSUFF), $(GLMANDIR)/drawpixels.$(GLSUFFIX))
-LinkFile(glDrawRangeElements.$(MSUFF), $(GLMANDIR)/drawrangeelements.$(GLSUFFIX))
-LinkFile(glEdgeFlag.$(MSUFF), $(GLMANDIR)/edgeflag.$(GLSUFFIX))
-LinkFile(glEdgeFlagPointer.$(MSUFF), $(GLMANDIR)/edgeflagpointer.$(GLSUFFIX))
-LinkFile(glEnable.$(MSUFF), $(GLMANDIR)/enable.$(GLSUFFIX))
-LinkFile(glEnableClientState.$(MSUFF), $(GLMANDIR)/enableclientstate.$(GLSUFFIX))
-LinkFile(glEvalCoord.$(MSUFF), $(GLMANDIR)/evalcoord.$(GLSUFFIX))
-LinkFile(glEvalMesh.$(MSUFF), $(GLMANDIR)/evalmesh.$(GLSUFFIX))
-LinkFile(glEvalPoint.$(MSUFF), $(GLMANDIR)/evalpoint.$(GLSUFFIX))
-LinkFile(glFeedbackBuffer.$(MSUFF), $(GLMANDIR)/feedbackbuffer.$(GLSUFFIX))
-LinkFile(glFinish.$(MSUFF), $(GLMANDIR)/finish.$(GLSUFFIX))
-LinkFile(glFlush.$(MSUFF), $(GLMANDIR)/flush.$(GLSUFFIX))
-LinkFile(glFog.$(MSUFF), $(GLMANDIR)/fog.$(GLSUFFIX))
-LinkFile(glFrontFace.$(MSUFF), $(GLMANDIR)/frontface.$(GLSUFFIX))
-LinkFile(glFrustum.$(MSUFF), $(GLMANDIR)/frustum.$(GLSUFFIX))
-LinkFile(glGenLists.$(MSUFF), $(GLMANDIR)/genlists.$(GLSUFFIX))
-LinkFile(glGenTextures.$(MSUFF), $(GLMANDIR)/gentextures.$(GLSUFFIX))
-LinkFile(glGet.$(MSUFF), $(GLMANDIR)/get.$(GLSUFFIX))
-LinkFile(glGetClipPlane.$(MSUFF), $(GLMANDIR)/getclipplane.$(GLSUFFIX))
-LinkFile(glGetColorTable.$(MSUFF), $(GLMANDIR)/getcolortable.$(GLSUFFIX))
-LinkFile(glGetColorTableParameter.$(MSUFF), $(GLMANDIR)/getcolortableparameter.$(GLSUFFIX))
-LinkFile(glGetConvolutionFilter.$(MSUFF), $(GLMANDIR)/getconvolutionfilter.$(GLSUFFIX))
-LinkFile(glGetConvolutionParameter.$(MSUFF), $(GLMANDIR)/getconvolutionparameter.$(GLSUFFIX))
-LinkFile(glGetError.$(MSUFF), $(GLMANDIR)/geterror.$(GLSUFFIX))
-LinkFile(glGetHistogram.$(MSUFF), $(GLMANDIR)/gethistogram.$(GLSUFFIX))
-LinkFile(glGetHistogramParameter.$(MSUFF), $(GLMANDIR)/gethistogramparameter.$(GLSUFFIX))
-LinkFile(glGetLight.$(MSUFF), $(GLMANDIR)/getlight.$(GLSUFFIX))
-LinkFile(glGetMap.$(MSUFF), $(GLMANDIR)/getmap.$(GLSUFFIX))
-LinkFile(glGetMaterial.$(MSUFF), $(GLMANDIR)/getmaterial.$(GLSUFFIX))
-LinkFile(glGetMinmax.$(MSUFF), $(GLMANDIR)/getminmax.$(GLSUFFIX))
-LinkFile(glGetMinmaxParameter.$(MSUFF), $(GLMANDIR)/getminmaxparameter.$(GLSUFFIX))
-LinkFile(glGetPixelMap.$(MSUFF), $(GLMANDIR)/getpixelmap.$(GLSUFFIX))
-LinkFile(glGetPointerv.$(MSUFF), $(GLMANDIR)/getpointerv.$(GLSUFFIX))
-LinkFile(glGetPolygonStipple.$(MSUFF), $(GLMANDIR)/getpolygonstipple.$(GLSUFFIX))
-LinkFile(glGetSeparableFilter.$(MSUFF), $(GLMANDIR)/getseparablefilter.$(GLSUFFIX))
-LinkFile(glGetString.$(MSUFF), $(GLMANDIR)/getstring.$(GLSUFFIX))
-LinkFile(glGetTexEnv.$(MSUFF), $(GLMANDIR)/gettexenv.$(GLSUFFIX))
-LinkFile(glGetTexGen.$(MSUFF), $(GLMANDIR)/gettexgen.$(GLSUFFIX))
-LinkFile(glGetTexImage.$(MSUFF), $(GLMANDIR)/getteximage.$(GLSUFFIX))
-LinkFile(glGetTexLevelParameter.$(MSUFF), $(GLMANDIR)/gettexlevelparameter.$(GLSUFFIX))
-LinkFile(glGetTexParameter.$(MSUFF), $(GLMANDIR)/gettexparameter.$(GLSUFFIX))
-LinkFile(glHint.$(MSUFF), $(GLMANDIR)/hint.$(GLSUFFIX))
-LinkFile(glHistogram.$(MSUFF), $(GLMANDIR)/histogram.$(GLSUFFIX))
-LinkFile(glIndex.$(MSUFF), $(GLMANDIR)/index.$(GLSUFFIX))
-LinkFile(glIndexMask.$(MSUFF), $(GLMANDIR)/indexmask.$(GLSUFFIX))
-LinkFile(glIndexPointer.$(MSUFF), $(GLMANDIR)/indexpointer.$(GLSUFFIX))
-LinkFile(glInitNames.$(MSUFF), $(GLMANDIR)/initnames.$(GLSUFFIX))
-LinkFile(glInterleavedArrays.$(MSUFF), $(GLMANDIR)/interleavedarrays.$(GLSUFFIX))
-LinkFile(glIsEnabled.$(MSUFF), $(GLMANDIR)/isenabled.$(GLSUFFIX))
-LinkFile(glIslist.$(MSUFF), $(GLMANDIR)/islist.$(GLSUFFIX))
-LinkFile(glIsTexture.$(MSUFF), $(GLMANDIR)/istexture.$(GLSUFFIX))
-LinkFile(glLight.$(MSUFF), $(GLMANDIR)/light.$(GLSUFFIX))
-LinkFile(glLightModel.$(MSUFF), $(GLMANDIR)/lightmodel.$(GLSUFFIX))
-LinkFile(glLineStipple.$(MSUFF), $(GLMANDIR)/linestipple.$(GLSUFFIX))
-LinkFile(glLineWidth.$(MSUFF), $(GLMANDIR)/linewidth.$(GLSUFFIX))
-LinkFile(glListBase.$(MSUFF), $(GLMANDIR)/listbase.$(GLSUFFIX))
-LinkFile(glLoadIdentity.$(MSUFF), $(GLMANDIR)/loadidentity.$(GLSUFFIX))
-LinkFile(glLoadMatrix.$(MSUFF), $(GLMANDIR)/loadmatrix.$(GLSUFFIX))
-LinkFile(glLoadName.$(MSUFF), $(GLMANDIR)/loadname.$(GLSUFFIX))
-LinkFile(glLogicOp.$(MSUFF), $(GLMANDIR)/logicop.$(GLSUFFIX))
-LinkFile(glMap1.$(MSUFF), $(GLMANDIR)/map1.$(GLSUFFIX))
-LinkFile(glMap2.$(MSUFF), $(GLMANDIR)/map2.$(GLSUFFIX))
-LinkFile(glMapGrid.$(MSUFF), $(GLMANDIR)/mapgrid.$(GLSUFFIX))
-LinkFile(glMaterial.$(MSUFF), $(GLMANDIR)/material.$(GLSUFFIX))
-LinkFile(glMatrixMode.$(MSUFF), $(GLMANDIR)/matrixmode.$(GLSUFFIX))
-LinkFile(glMinmax.$(MSUFF), $(GLMANDIR)/minmax.$(GLSUFFIX))
-LinkFile(glMultiTexCoordARB.$(MSUFF), $(GLMANDIR)/multitexcoordARB.$(GLSUFFIX))
-LinkFile(glMultMatrix.$(MSUFF), $(GLMANDIR)/multmatrix.$(GLSUFFIX))
-LinkFile(glNewList.$(MSUFF), $(GLMANDIR)/newlist.$(GLSUFFIX))
-LinkFile(glNormal.$(MSUFF), $(GLMANDIR)/normal.$(GLSUFFIX))
-LinkFile(glNormalPointer.$(MSUFF), $(GLMANDIR)/normalpointer.$(GLSUFFIX))
-LinkFile(glOrtho.$(MSUFF), $(GLMANDIR)/ortho.$(GLSUFFIX))
-LinkFile(glPassThrough.$(MSUFF), $(GLMANDIR)/passthrough.$(GLSUFFIX))
-LinkFile(glPixelMap.$(MSUFF), $(GLMANDIR)/pixelmap.$(GLSUFFIX))
-LinkFile(glPixelStore.$(MSUFF), $(GLMANDIR)/pixelstore.$(GLSUFFIX))
-LinkFile(glPixelTransfer.$(MSUFF), $(GLMANDIR)/pixeltransfer.$(GLSUFFIX))
-LinkFile(glPixelZoom.$(MSUFF), $(GLMANDIR)/pixelzoom.$(GLSUFFIX))
-LinkFile(glPointSize.$(MSUFF), $(GLMANDIR)/pointsize.$(GLSUFFIX))
-LinkFile(glPolygonMode.$(MSUFF), $(GLMANDIR)/polygonmode.$(GLSUFFIX))
-LinkFile(glPolygonOffset.$(MSUFF), $(GLMANDIR)/polygonoffset.$(GLSUFFIX))
-LinkFile(glPolygonStipple.$(MSUFF), $(GLMANDIR)/polygonstipple.$(GLSUFFIX))
-LinkFile(glPrioritizeTextures.$(MSUFF), $(GLMANDIR)/prioritizetextures.$(GLSUFFIX))
-LinkFile(glPushAttrib.$(MSUFF), $(GLMANDIR)/pushattrib.$(GLSUFFIX))
-LinkFile(glPushClientAttrib.$(MSUFF), $(GLMANDIR)/pushclientattrib.$(GLSUFFIX))
-LinkFile(glPushMatrix.$(MSUFF), $(GLMANDIR)/pushmatrix.$(GLSUFFIX))
-LinkFile(glPushName.$(MSUFF), $(GLMANDIR)/pushname.$(GLSUFFIX))
-LinkFile(glRasterPos.$(MSUFF), $(GLMANDIR)/rasterpos.$(GLSUFFIX))
-LinkFile(glReadBuffer.$(MSUFF), $(GLMANDIR)/readbuffer.$(GLSUFFIX))
-LinkFile(glReadPixels.$(MSUFF), $(GLMANDIR)/readpixels.$(GLSUFFIX))
-LinkFile(glRect.$(MSUFF), $(GLMANDIR)/rect.$(GLSUFFIX))
-LinkFile(glRenderMode.$(MSUFF), $(GLMANDIR)/rendermode.$(GLSUFFIX))
-LinkFile(glResetHistogram.$(MSUFF), $(GLMANDIR)/resethistogram.$(GLSUFFIX))
-LinkFile(glResetMinmax.$(MSUFF), $(GLMANDIR)/resetminmax.$(GLSUFFIX))
-LinkFile(glRotate.$(MSUFF), $(GLMANDIR)/rotate.$(GLSUFFIX))
-LinkFile(glScale.$(MSUFF), $(GLMANDIR)/scale.$(GLSUFFIX))
-LinkFile(glScissor.$(MSUFF), $(GLMANDIR)/scissor.$(GLSUFFIX))
-LinkFile(glSelectBuffer.$(MSUFF), $(GLMANDIR)/selectbuffer.$(GLSUFFIX))
-LinkFile(glSeparableFilter2D.$(MSUFF), $(GLMANDIR)/separablefilter2d.$(GLSUFFIX))
-LinkFile(glShadeModel.$(MSUFF), $(GLMANDIR)/shademodel.$(GLSUFFIX))
-LinkFile(glStencilFunc.$(MSUFF), $(GLMANDIR)/stencilfunc.$(GLSUFFIX))
-LinkFile(glStencilMask.$(MSUFF), $(GLMANDIR)/stencilmask.$(GLSUFFIX))
-LinkFile(glStencilOp.$(MSUFF), $(GLMANDIR)/stencilop.$(GLSUFFIX))
-LinkFile(glTexCoord.$(MSUFF), $(GLMANDIR)/texcoord.$(GLSUFFIX))
-LinkFile(glTexCoordPointer.$(MSUFF), $(GLMANDIR)/texcoordpointer.$(GLSUFFIX))
-LinkFile(glTexEnv.$(MSUFF), $(GLMANDIR)/texenv.$(GLSUFFIX))
-LinkFile(glTexGen.$(MSUFF), $(GLMANDIR)/texgen.$(GLSUFFIX))
-LinkFile(glTexImage1D.$(MSUFF), $(GLMANDIR)/teximage1d.$(GLSUFFIX))
-LinkFile(glTexImage2D.$(MSUFF), $(GLMANDIR)/teximage2d.$(GLSUFFIX))
-LinkFile(glTexImage3D.$(MSUFF), $(GLMANDIR)/teximage3d.$(GLSUFFIX))
-LinkFile(glTexParameter.$(MSUFF), $(GLMANDIR)/texparameter.$(GLSUFFIX))
-LinkFile(glTexSubImage1D.$(MSUFF), $(GLMANDIR)/texsubimage1d.$(GLSUFFIX))
-LinkFile(glTexSubImage2D.$(MSUFF), $(GLMANDIR)/texsubimage2d.$(GLSUFFIX))
-LinkFile(glTexSubImage3D.$(MSUFF), $(GLMANDIR)/texsubimage3d.$(GLSUFFIX))
-LinkFile(glTranslate.$(MSUFF), $(GLMANDIR)/translate.$(GLSUFFIX))
-LinkFile(glVertex.$(MSUFF), $(GLMANDIR)/vertex.$(GLSUFFIX))
-LinkFile(glVertexPointer.$(MSUFF), $(GLMANDIR)/vertexpointer.$(GLSUFFIX))
-LinkFile(glViewport.$(MSUFF), $(GLMANDIR)/viewport.$(GLSUFFIX))
-
diff --git a/doc/gl-docs/GL/gl/Makefile b/doc/gl-docs/GL/gl/Makefile
deleted file mode 100644
index 9d53a33fd..000000000
--- a/doc/gl-docs/GL/gl/Makefile
+++ /dev/null
@@ -1,450 +0,0 @@
-# $OpenBSD: Makefile,v 1.1 2012/08/07 21:10:35 matthieu Exp $
-
-X11BASE?= /usr/X11R6
-MANDIR?= ${X11BASE}/man/man
-
-MAN += glAccum.3 accum.3gl
-MAN += glActiveTextureARB.3 activetextureARB.3gl
-MAN += glAlphaFunc.3 alphafunc.3gl
-MAN += glAreTexturesResident.3 aretexturesresident.3gl
-MAN += glArrayElement.3 arrayelement.3gl
-MAN += glBegin.3 begin.3gl
-MAN += glBindTexture.3 bindtexture.3gl
-MAN += glBitmap.3 bitmap.3gl
-MAN += glBlendColor.3 blendcolor.3gl
-MAN += glBlendEquation.3 blendequation.3gl
-MAN += glBlendFunc.3 blendfunc.3gl
-MAN += glCallList.3 calllist.3gl
-MAN += glCallLists.3 calllists.3gl
-MAN += glClear.3 clear.3gl
-MAN += glClearAccum.3 clearaccum.3gl
-MAN += glClearColor.3 clearcolor.3gl
-MAN += glClearDepth.3 cleardepth.3gl
-MAN += glClearIndex.3 clearindex.3gl
-MAN += glClearStencil.3 clearstencil.3gl
-MAN += glClientActiveTextureARB.3 clientactivetextureARB.3gl
-MAN += glClipPlane.3 clipplane.3gl
-MAN += glColor.3 color.3gl
-MAN += glColorMask.3 colormask.3gl
-MAN += glColorMaterial.3 colormaterial.3gl
-MAN += glColorPointer.3 colorpointer.3gl
-MAN += glColorSubTable.3 colorsubtable.3gl
-MAN += glColorTable.3 colortable.3gl
-MAN += glColorTableParameter.3 colortableparameter.3gl
-MAN += glConvolutionFilter1D.3 convolutionfilter1d.3gl
-MAN += glConvolutionFilter2D.3 convolutionfilter2d.3gl
-MAN += glConvolutionParameter.3 convolutionparameter.3gl
-MAN += glCopyColorSubTable.3 copycolorsubtable.3gl
-MAN += glCopyColorTable.3 copycolortable.3gl
-MAN += glCopyConvolutionFilter1D.3 copyconvolutionfilter1d.3gl
-MAN += glCopyConvolutionFilter2D.3 copyconvolutionfilter2d.3gl
-MAN += glCopyPixels.3 copypixels.3gl
-MAN += glCopyTexImage1D.3 copyteximage1d.3gl
-MAN += glCopyTexImage2D.3 copyteximage2d.3gl
-MAN += glCopyTexSubImage1D.3 copytexsubimage1d.3gl
-MAN += glCopyTexSubImage2D.3 copytexsubimage2d.3gl
-MAN += glCopyTexSubImage3D.3 copytexsubimage3d.3gl
-MAN += glCullFace.3 cullface.3gl
-MAN += glDeleteLists.3 deletelists.3gl
-MAN += glDeleteTextures.3 deletetextures.3gl
-MAN += glDepthFunc.3 depthfunc.3gl
-MAN += glDepthMask.3 depthmask.3gl
-MAN += glDepthRange.3 depthrange.3gl
-MAN += glDrawArrays.3 drawarrays.3gl
-MAN += glDrawBuffer.3 drawbuffer.3gl
-MAN += glDrawElements.3 drawelements.3gl
-MAN += glDrawPixels.3 drawpixels.3gl
-MAN += glDrawRangeElements.3 drawrangeelements.3gl
-MAN += glEdgeFlag.3 edgeflag.3gl
-MAN += glEdgeFlagPointer.3 edgeflagpointer.3gl
-MAN += glEnable.3 enable.3gl
-MAN += glEnableClientState.3 enableclientstate.3gl
-MAN += glEvalCoord.3 evalcoord.3gl
-MAN += glEvalMesh.3 evalmesh.3gl
-MAN += glEvalPoint.3 evalpoint.3gl
-MAN += glFeedbackBuffer.3 feedbackbuffer.3gl
-MAN += glFinish.3 finish.3gl
-MAN += glFlush.3 flush.3gl
-MAN += glFog.3 fog.3gl
-MAN += glFrontFace.3 frontface.3gl
-MAN += glFrustum.3 frustum.3gl
-MAN += glGenLists.3 genlists.3gl
-MAN += glGenTextures.3 gentextures.3gl
-MAN += glGet.3 get.3gl
-MAN += glGetClipPlane.3 getclipplane.3gl
-MAN += glGetColorTable.3 getcolortable.3gl
-MAN += glGetColorTableParameter.3 getcolortableparameter.3gl
-MAN += glGetConvolutionFilter.3 getconvolutionfilter.3gl
-MAN += glGetConvolutionParameter.3 getconvolutionparameter.3gl
-MAN += glGetError.3 geterror.3gl
-MAN += glGetHistogram.3 gethistogram.3gl
-MAN += glGetHistogramParameter.3 gethistogramparameter.3gl
-MAN += glGetLight.3 getlight.3gl
-MAN += glGetMap.3 getmap.3gl
-MAN += glGetMaterial.3 getmaterial.3gl
-MAN += glGetMinmax.3 getminmax.3gl
-MAN += glGetMinmaxParameter.3 getminmaxparameter.3gl
-MAN += glGetPixelMap.3 getpixelmap.3gl
-MAN += glGetPointerv.3 getpointerv.3gl
-MAN += glGetPolygonStipple.3 getpolygonstipple.3gl
-MAN += glGetSeparableFilter.3 getseparablefilter.3gl
-MAN += glGetString.3 getstring.3gl
-MAN += glGetTexEnv.3 gettexenv.3gl
-MAN += glGetTexGen.3 gettexgen.3gl
-MAN += glGetTexImage.3 getteximage.3gl
-MAN += glGetTexLevelParameter.3 gettexlevelparameter.3gl
-MAN += glGetTexParameter.3 gettexparameter.3gl
-MAN += glHint.3 hint.3gl
-MAN += glHistogram.3 histogram.3gl
-MAN += glIndex.3 index.3gl
-MAN += glIndexMask.3 indexmask.3gl
-MAN += glIndexPointer.3 indexpointer.3gl
-MAN += glInitNames.3 initnames.3gl
-MAN += glInterleavedArrays.3 interleavedarrays.3gl
-MAN += glIsEnabled.3 isenabled.3gl
-MAN += glIslist.3 islist.3gl
-MAN += glIsTexture.3 istexture.3gl
-MAN += glLight.3 light.3gl
-MAN += glLightModel.3 lightmodel.3gl
-MAN += glLineStipple.3 linestipple.3gl
-MAN += glLineWidth.3 linewidth.3gl
-MAN += glListBase.3 listbase.3gl
-MAN += glLoadIdentity.3 loadidentity.3gl
-MAN += glLoadMatrix.3 loadmatrix.3gl
-MAN += glLoadName.3 loadname.3gl
-MAN += glLogicOp.3 logicop.3gl
-MAN += glMap1.3 map1.3gl
-MAN += glMap2.3 map2.3gl
-MAN += glMapGrid.3 mapgrid.3gl
-MAN += glMaterial.3 material.3gl
-MAN += glMatrixMode.3 matrixmode.3gl
-MAN += glMinmax.3 minmax.3gl
-MAN += glMultiTexCoordARB.3 multitexcoordARB.3gl
-MAN += glMultMatrix.3 multmatrix.3gl
-MAN += glNewList.3 newlist.3gl
-MAN += glNormal.3 normal.3gl
-MAN += glNormalPointer.3 normalpointer.3gl
-MAN += glOrtho.3 ortho.3gl
-MAN += glPassThrough.3 passthrough.3gl
-MAN += glPixelMap.3 pixelmap.3gl
-MAN += glPixelStore.3 pixelstore.3gl
-MAN += glPixelTransfer.3 pixeltransfer.3gl
-MAN += glPixelZoom.3 pixelzoom.3gl
-MAN += glPointSize.3 pointsize.3gl
-MAN += glPolygonMode.3 polygonmode.3gl
-MAN += glPolygonOffset.3 polygonoffset.3gl
-MAN += glPolygonStipple.3 polygonstipple.3gl
-MAN += glPrioritizeTextures.3 prioritizetextures.3gl
-MAN += glPushAttrib.3 pushattrib.3gl
-MAN += glPushClientAttrib.3 pushclientattrib.3gl
-MAN += glPushMatrix.3 pushmatrix.3gl
-MAN += glPushName.3 pushname.3gl
-MAN += glRasterPos.3 rasterpos.3gl
-MAN += glReadBuffer.3 readbuffer.3gl
-MAN += glReadPixels.3 readpixels.3gl
-MAN += glRect.3 rect.3gl
-MAN += glRenderMode.3 rendermode.3gl
-MAN += glResetHistogram.3 resethistogram.3gl
-MAN += glResetMinmax.3 resetminmax.3gl
-MAN += glRotate.3 rotate.3gl
-MAN += glScale.3 scale.3gl
-MAN += glScissor.3 scissor.3gl
-MAN += glSelectBuffer.3 selectbuffer.3gl
-MAN += glSeparableFilter2D.3 separablefilter2d.3gl
-MAN += glShadeModel.3 shademodel.3gl
-MAN += glStencilFunc.3 stencilfunc.3gl
-MAN += glStencilMask.3 stencilmask.3gl
-MAN += glStencilOp.3 stencilop.3gl
-MAN += glTexCoord.3 texcoord.3gl
-MAN += glTexCoordPointer.3 texcoordpointer.3gl
-MAN += glTexEnv.3 texenv.3gl
-MAN += glTexGen.3 texgen.3gl
-MAN += glTexImage1D.3 teximage1d.3gl
-MAN += glTexImage2D.3 teximage2d.3gl
-MAN += glTexImage3D.3 teximage3d.3gl
-MAN += glTexParameter.3 texparameter.3gl
-MAN += glTexSubImage1D.3 texsubimage1d.3gl
-MAN += glTexSubImage2D.3 texsubimage2d.3gl
-MAN += glTexSubImage3D.3 texsubimage3d.3gl
-MAN += glTranslate.3 translate.3gl
-MAN += glVertex.3 vertex.3gl
-MAN += glVertexPointer.3 vertexpointer.3gl
-MAN += glViewport.3 viewport.3gl
-
-LINKS += glBegin.3 glEnd.3
-LINKS += glColor.3 glColor3b.3
-LINKS += glColor.3 glColor3d.3
-LINKS += glColor.3 glColor3f.3
-LINKS += glColor.3 glColor3i.3
-LINKS += glColor.3 glColor3s.3
-LINKS += glColor.3 glColor3ub.3
-LINKS += glColor.3 glColor3ui.3
-LINKS += glColor.3 glColor3us.3
-LINKS += glColor.3 glColor4b.3
-LINKS += glColor.3 glColor4d.3
-LINKS += glColor.3 glColor4f.3
-LINKS += glColor.3 glColor4i.3
-LINKS += glColor.3 glColor4s.3
-LINKS += glColor.3 glColor4ub.3
-LINKS += glColor.3 glColor4ui.3
-LINKS += glColor.3 glColor4us.3
-LINKS += glColor.3 glColor3bv.3
-LINKS += glColor.3 glColor3dv.3
-LINKS += glColor.3 glColor3fv.3
-LINKS += glColor.3 glColor3iv.3
-LINKS += glColor.3 glColor3sv.3
-LINKS += glColor.3 glColor3ubv.3
-LINKS += glColor.3 glColor3uiv.3
-LINKS += glColor.3 glColor3usv.3
-LINKS += glColor.3 glColor4bv.3
-LINKS += glColor.3 glColor4dv.3
-LINKS += glColor.3 glColor4fv.3
-LINKS += glColor.3 glColor4iv.3
-LINKS += glColor.3 glColor4sv.3
-LINKS += glColor.3 glColor4ubv.3
-LINKS += glColor.3 glColor4uiv.3
-LINKS += glColor.3 glColor4usv.3
-LINKS += glColorTableParameter.3 glColorTableParameterfv.3
-LINKS += glColorTableParameter.3 glColorTableParameteriv.3
-LINKS += glEdgeFlag.3 glEdgeFlagv.3
-LINKS += glEnable.3 glDisable.3
-LINKS += glEnableClientState.3 glDisableClientState.3
-LINKS += glEvalCoord.3 glEvalCoord1d.3
-LINKS += glEvalCoord.3 glEvalCoord2d.3
-LINKS += glEvalCoord.3 glEvalCoord2f.3
-LINKS += glEvalCoord.3 glEvalCoord1dv.3
-LINKS += glEvalCoord.3 glEvalCoord1fv.3
-LINKS += glEvalCoord.3 glEvalCoord2dv.3
-LINKS += glEvalCoord.3 glEvalCoord2fv.3
-LINKS += glEvalMesh.3 glEvalMesh1.3
-LINKS += glEvalMesh.3 glEvalMesh2.3
-LINKS += glEvalPoint.3 glEvalPoint1.3
-LINKS += glEvalPoint.3 glEvalPoint2.3
-LINKS += glFog.3 glFogf.3
-LINKS += glFog.3 glFogi.3
-LINKS += glFog.3 glFogfv.3
-LINKS += glFog.3 glFogiv.3
-LINKS += glGet.3 glGetBooleanv.3
-LINKS += glGet.3 glGetDoublev.3
-LINKS += glGet.3 glGetFloatv.3
-LINKS += glGet.3 glGetIntegerv.3
-LINKS += glGetColorTableParameter.3 glGetColorTableParameterfv.3
-LINKS += glGetColorTableParameter.3 glGetColorTableParameteriv.3
-LINKS += glGetLight.3 glGetLightfv.3
-LINKS += glGetLight.3 glGetLightiv.3
-LINKS += glGetMap.3 glGetMapdv.3
-LINKS += glGetMap.3 glGetMapfv.3
-LINKS += glGetMap.3 glGetMapiv.3
-LINKS += glGetMaterial.3 glGetMaterialfv.3
-LINKS += glGetMaterial.3 glGetMaterialiv.3
-LINKS += glGetPixelMap.3 glGetPixelMapfv.3
-LINKS += glGetPixelMap.3 glGetPixelMapuiv.3
-LINKS += glGetPixelMap.3 glGetPixelMapusv.3
-LINKS += glGetTexEnv.3 glGetTexEnvfv.3
-LINKS += glGetTexEnv.3 glGetTexEnviv.3
-LINKS += glGetTexGen.3 glGetTexGendv.3
-LINKS += glGetTexGen.3 glGetTexGenfv.3
-LINKS += glGetTexGen.3 glGetTexGeniv.3
-LINKS += glGetTexLevelParameter.3 glGetTexLevelParameterfv.3
-LINKS += glGetTexLevelParameter.3 glGetTexLevelParameteriv.3
-LINKS += glGetTexParameter.3 glGetTexParameterfv.3
-LINKS += glGetTexParameter.3 glGetTexParameteriv.3
-LINKS += glIndex.3 glIndexd.3
-LINKS += glIndex.3 glIndexf.3
-LINKS += glIndex.3 glIndexi.3
-LINKS += glIndex.3 glIndexs.3
-LINKS += glIndex.3 glIndexub.3
-LINKS += glIndex.3 glIndexdv.3
-LINKS += glIndex.3 glIndexfv.3
-LINKS += glIndex.3 glIndexiv.3
-LINKS += glIndex.3 glIndexsv.3
-LINKS += glIndex.3 glIndexubv.3
-LINKS += glLight.3 glLightf.3
-LINKS += glLight.3 glLighti.3
-LINKS += glLight.3 glLightfv.3
-LINKS += glLight.3 glLightiv.3
-LINKS += glLightModel.3 glLightModelf.3
-LINKS += glLightModel.3 glLightModeli.3
-LINKS += glLightModel.3 glLightModelfv.3
-LINKS += glLightModel.3 glLightModeliv.3
-LINKS += glLoadMatrix.3 glLoadMatrixd.3
-LINKS += glLoadMatrix.3 glLoadMatrixf.3
-LINKS += glMap1.3 glMap1d.3
-LINKS += glMap1.3 glMap1f.3
-LINKS += glMap2.3 glMap2d.3
-LINKS += glMap2.3 glMap2f.3
-LINKS += glMapGrid.3 glMapGrid1d.3
-LINKS += glMapGrid.3 glMapGrid1f.3
-LINKS += glMapGrid.3 glMapGrid2d.3
-LINKS += glMapGrid.3 glMapGrid2f.3
-LINKS += glMaterial.3 glMaterialf.3
-LINKS += glMaterial.3 glMateriali.3
-LINKS += glMaterial.3 glMaterialfv.3
-LINKS += glMaterial.3 glMaterialiv.3
-LINKS += glMultMatrix.3 glMultMatrixd.3
-LINKS += glMultMatrix.3 glMultMatrixf.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord1dARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord1dvARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord1fARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord1fvARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord1iARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord1ivARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord1sARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord1svARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord2dARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord2dvARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord2fARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord2fvARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord2iARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord2ivARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord2sARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord2svARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord3dARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord3dvARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord3fARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord3fvARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord3iARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord3ivARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord3sARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord3svARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord4dARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord4dvARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord4fARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord4fvARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord4iARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord4ivARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord4sARB.3
-LINKS += glMultiTexCoordARB.3 glMultiTexCoord4svARB.3
-LINKS += glNewList.3 glEndList.3
-LINKS += glNormal.3 glNormal3b.3
-LINKS += glNormal.3 glNormal3d.3
-LINKS += glNormal.3 glNormal3f.3
-LINKS += glNormal.3 glNormal3i.3
-LINKS += glNormal.3 glNormal3s.3
-LINKS += glNormal.3 glNormal3bv.3
-LINKS += glNormal.3 glNormal3dv.3
-LINKS += glNormal.3 glNormal3fv.3
-LINKS += glNormal.3 glNormal3iv.3
-LINKS += glNormal.3 glNormal3sv.3
-LINKS += glPixelMap.3 glPixelMapfv.3
-LINKS += glPixelMap.3 glPixelMapuiv.3
-LINKS += glPixelMap.3 glPixelMapusv.3
-LINKS += glPixelStore.3 glPixelStoref.3
-LINKS += glPixelStore.3 glPixelStorei.3
-LINKS += glPixelTransfer.3 glPixelTransferf.3
-LINKS += glPixelTransfer.3 glPixelTransferi.3
-LINKS += glPushAttrib.3 glPopAttrib.3
-LINKS += glPushClientAttrib.3 glPopClientAttrib.3
-LINKS += glPushMatrix.3 glPopMatrix.3
-LINKS += glPushName.3 glPopName.3
-LINKS += glRasterPos.3 glRasterPos2d.3
-LINKS += glRasterPos.3 glRasterPos2f.3
-LINKS += glRasterPos.3 glRasterPos2i.3
-LINKS += glRasterPos.3 glRasterPos2s.3
-LINKS += glRasterPos.3 glRasterPos3d.3
-LINKS += glRasterPos.3 glRasterPos3f.3
-LINKS += glRasterPos.3 glRasterPos3i.3
-LINKS += glRasterPos.3 glRasterPos3s.3
-LINKS += glRasterPos.3 glRasterPos4d.3
-LINKS += glRasterPos.3 glRasterPos4f.3
-LINKS += glRasterPos.3 glRasterPos4i.3
-LINKS += glRasterPos.3 glRasterPos4s.3
-LINKS += glRasterPos.3 glRasterPos2dv.3
-LINKS += glRasterPos.3 glRasterPos2fv.3
-LINKS += glRasterPos.3 glRasterPos2iv.3
-LINKS += glRasterPos.3 glRasterPos2sv.3
-LINKS += glRasterPos.3 glRasterPos3dv.3
-LINKS += glRasterPos.3 glRasterPos3fv.3
-LINKS += glRasterPos.3 glRasterPos3iv.3
-LINKS += glRasterPos.3 glRasterPos3sv.3
-LINKS += glRasterPos.3 glRasterPos4dv.3
-LINKS += glRasterPos.3 glRasterPos4fv.3
-LINKS += glRasterPos.3 glRasterPos4iv.3
-LINKS += glRasterPos.3 glRasterPos4sv.3
-LINKS += glRect.3 glRectd.3
-LINKS += glRect.3 glRectf.3
-LINKS += glRect.3 glRecti.3
-LINKS += glRect.3 glRects.3
-LINKS += glRect.3 glRectdv.3
-LINKS += glRect.3 glRectfv.3
-LINKS += glRect.3 glRectiv.3
-LINKS += glRect.3 glRectsv.3
-LINKS += glRotate.3 glRotated.3
-LINKS += glRotate.3 glRotatef.3
-LINKS += glScale.3 glScaled.3
-LINKS += glScale.3 glScalef.3
-LINKS += glTexCoord.3 glTexCoord1d.3
-LINKS += glTexCoord.3 glTexCoord1f.3
-LINKS += glTexCoord.3 glTexCoord1i.3
-LINKS += glTexCoord.3 glTexCoord1s.3
-LINKS += glTexCoord.3 glTexCoord2d.3
-LINKS += glTexCoord.3 glTexCoord2f.3
-LINKS += glTexCoord.3 glTexCoord2i.3
-LINKS += glTexCoord.3 glTexCoord2s.3
-LINKS += glTexCoord.3 glTexCoord3d.3
-LINKS += glTexCoord.3 glTexCoord3f.3
-LINKS += glTexCoord.3 glTexCoord3i.3
-LINKS += glTexCoord.3 glTexCoord3s.3
-LINKS += glTexCoord.3 glTexCoord4d.3
-LINKS += glTexCoord.3 glTexCoord4f.3
-LINKS += glTexCoord.3 glTexCoord4i.3
-LINKS += glTexCoord.3 glTexCoord4s.3
-LINKS += glTexCoord.3 glTexCoord1dv.3
-LINKS += glTexCoord.3 glTexCoord1fv.3
-LINKS += glTexCoord.3 glTexCoord1iv.3
-LINKS += glTexCoord.3 glTexCoord1sv.3
-LINKS += glTexCoord.3 glTexCoord2dv.3
-LINKS += glTexCoord.3 glTexCoord2fv.3
-LINKS += glTexCoord.3 glTexCoord2iv.3
-LINKS += glTexCoord.3 glTexCoord2sv.3
-LINKS += glTexCoord.3 glTexCoord3dv.3
-LINKS += glTexCoord.3 glTexCoord3fv.3
-LINKS += glTexCoord.3 glTexCoord3iv.3
-LINKS += glTexCoord.3 glTexCoord3sv.3
-LINKS += glTexCoord.3 glTexCoord4dv.3
-LINKS += glTexCoord.3 glTexCoord4fv.3
-LINKS += glTexCoord.3 glTexCoord4iv.3
-LINKS += glTexCoord.3 glTexCoord4sv.3
-LINKS += glTexEnv.3 glTexEnvf.3
-LINKS += glTexEnv.3 glTexEnvi.3
-LINKS += glTexEnv.3 glTexEnvfv.3
-LINKS += glTexEnv.3 glTexEnviv.3
-LINKS += glTexGen.3 glTexGend.3
-LINKS += glTexGen.3 glTexGenf.3
-LINKS += glTexGen.3 glTexGeni.3
-LINKS += glTexGen.3 glTexGendv.3
-LINKS += glTexGen.3 glTexGenfv.3
-LINKS += glTexGen.3 glTexGeniv.3
-LINKS += glTexParameter.3 glTexParameterf.3
-LINKS += glTexParameter.3 glTexParameteri.3
-LINKS += glTexParameter.3 glTexParameterfv.3
-LINKS += glTexParameter.3 glTexParameteriv.3
-LINKS += glTranslate.3 glTranslated.3
-LINKS += glTranslate.3 glTranslatef.3
-LINKS += glVertex.3 glVertex2d.3
-LINKS += glVertex.3 glVertex2f.3
-LINKS += glVertex.3 glVertex2i.3
-LINKS += glVertex.3 glVertex2s.3
-LINKS += glVertex.3 glVertex3d.3
-LINKS += glVertex.3 glVertex3f.3
-LINKS += glVertex.3 glVertex3i.3
-LINKS += glVertex.3 glVertex3s.3
-LINKS += glVertex.3 glVertex4d.3
-LINKS += glVertex.3 glVertex4f.3
-LINKS += glVertex.3 glVertex4i.3
-LINKS += glVertex.3 glVertex4s.3
-LINKS += glVertex.3 glVertex2dv.3
-LINKS += glVertex.3 glVertex2fv.3
-LINKS += glVertex.3 glVertex2iv.3
-LINKS += glVertex.3 glVertex2sv.3
-LINKS += glVertex.3 glVertex3dv.3
-LINKS += glVertex.3 glVertex3fv.3
-LINKS += glVertex.3 glVertex3iv.3
-LINKS += glVertex.3 glVertex3sv.3
-LINKS += glVertex.3 glVertex4dv.3
-LINKS += glVertex.3 glVertex4fv.3
-LINKS += glVertex.3 glVertex4iv.3
-LINKS += glVertex.3 glVertex4sv.3
-
-.include "../../Makefile.inc"
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GL/gl/accum.3gl b/doc/gl-docs/GL/gl/accum.3gl
deleted file mode 100644
index ea7e30fef..000000000
--- a/doc/gl-docs/GL/gl/accum.3gl
+++ /dev/null
@@ -1,156 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 accum.gl
-.ds Xs 43732 7 accum.gl
-.TH GLACCUM 3G
-.SH NAME
-.B "glAccum
-\- operate on the accumulation buffer
-
-.SH C SPECIFICATION
-void \f3glAccum\fP(
-GLenum \fIop\fP,
-.nf
-.ta \w'\f3void \fPglAccum( 'u
- GLfloat \fIvalue\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIvalue\fP\ \ 'u
-\f2op\fP
-Specifies the accumulation buffer operation.
-Symbolic constants
-\%\f3GL_ACCUM\fP,
-\%\f3GL_LOAD\fP,
-\%\f3GL_ADD\fP,
-\%\f3GL_MULT\fP,
-and
-\%\f3GL_RETURN\fP are accepted.
-.TP
-\f2value\fP
-Specifies a floating-point value used in the accumulation buffer operation.
-\f2op\fP determines how \f2value\fP is used.
-.SH DESCRIPTION
-The accumulation buffer is an extended-range color buffer.
-Images are not rendered into it.
-Rather,
-images rendered into one of the color buffers
-are added to the contents of the accumulation buffer after rendering.
-Effects such as antialiasing (of points, lines, and polygons),
-motion blur,
-and depth of field can be created
-by accumulating images generated with different transformation matrices.
-.P
-Each pixel in the accumulation buffer consists of
-red, green, blue, and alpha values.
-The number of bits per component in the accumulation buffer
-depends on the implementation. You can examine this number
-by calling \%\f3glGetIntegerv\fP four times,
-with arguments \%\f3GL_ACCUM_RED_BITS\fP,
-\%\f3GL_ACCUM_GREEN_BITS\fP,
-\%\f3GL_ACCUM_BLUE_BITS\fP,
-and \%\f3GL_ACCUM_ALPHA_BITS\fP.
-Regardless of the number of bits per component,
-the range of values stored by each component is [\-1,\ 1].
-The accumulation buffer pixels are mapped one-to-one with frame buffer pixels.
-.P
-\%\f3glAccum\fP operates on the accumulation buffer.
-The first argument, \f2op\fP,
-is a symbolic constant that selects an accumulation buffer operation.
-The second argument, \f2value\fP,
-is a floating-point value to be used in that operation.
-Five operations are specified:
-\%\f3GL_ACCUM\fP, \%\f3GL_LOAD\fP, \%\f3GL_ADD\fP,
-\%\f3GL_MULT\fP, and \%\f3GL_RETURN\fP.
-.P
-All accumulation buffer operations are limited
-to the area of the current scissor box and applied identically to
-the red, green, blue, and alpha components of each pixel.
-If a \%\f3glAccum\fP operation results in a value outside the range [\-1,\ 1],
-the contents of an accumulation buffer pixel component are undefined.
-.P
-The operations are as follows:
-.TP 14
-\%\f3GL_ACCUM\fP
-Obtains R, G, B, and A values
-from the buffer currently selected for reading (see \%\f3glReadBuffer\fP).
-Each component value is divided by $2 sup n^-^1$,
-where $n$ is the number of bits allocated to each color component
-in the currently selected buffer.
-The result is a floating-point value in the range [0,\ 1],
-which is multiplied by \f2value\fP and added to the corresponding pixel component
-in the accumulation buffer,
-thereby updating the accumulation buffer.
-.TP
-\%\f3GL_LOAD\fP
-Similar to \%\f3GL_ACCUM\fP,
-except that the current value in the accumulation buffer is not used
-in the calculation of the new value.
-That is, the R, G, B, and A values from the currently selected buffer
-are divided by $2 sup n^-^1$,
-multiplied by \f2value\fP,
-and then stored in the corresponding accumulation buffer cell,
-overwriting the current value.
-.TP
-\%\f3GL_ADD\fP
-Adds \f2value\fP to each R, G, B, and A
-in the accumulation buffer.
-.TP
-\%\f3GL_MULT\fP
-Multiplies each R, G, B, and A
-in the accumulation buffer by \f2value\fP and returns the scaled component
-to its corresponding accumulation buffer location.
-.TP
-\%\f3GL_RETURN\fP
-Transfers accumulation buffer values
-to the color buffer or buffers currently selected for writing.
-Each R, G, B, and A component is multiplied by \f2value\fP,
-then multiplied by $2 sup n^-^1$,
-clamped to the range [0,$~2 sup n^-^1 $], and stored
-in the corresponding display buffer cell.
-The only fragment operations that are applied to this transfer are
-pixel ownership,
-scissor,
-dithering,
-and color writemasks.
-.P
-To clear the accumulation buffer, call \%\f3glClearAccum\fP with R, G, B,
-and A values to set it to, then call \%\f3glClear\fP with the
-accumulation buffer enabled.
-.SH NOTES
-Only pixels within the current scissor box are updated by a
-\%\f3glAccum\fP operation.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2op\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if there is no accumulation buffer.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glAccum\fP
-is executed between the execution of
-\%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_ACCUM_RED_BITS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ACCUM_GREEN_BITS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ACCUM_BLUE_BITS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ACCUM_ALPHA_BITS\fP
-.SH SEE ALSO
-\%\f3glClear(3G)\fP,
-\%\f3glClearAccum(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glDrawBuffer(3G)\fP,
-\%\f3glGet(3G)\fP,
-\%\f3glReadBuffer(3G)\fP,
-\%\f3glReadPixels(3G)\fP,
-\%\f3glScissor(3G)\fP,
-\%\f3glStencilOp(3G)\fP
diff --git a/doc/gl-docs/GL/gl/activetextureARB.3gl b/doc/gl-docs/GL/gl/activetextureARB.3gl
deleted file mode 100644
index db9f58544..000000000
--- a/doc/gl-docs/GL/gl/activetextureARB.3gl
+++ /dev/null
@@ -1,54 +0,0 @@
-.\" $XFree86$
-'\" et
-'\"! eqn|tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 19:46
-.ds Dm 01 activetex
-.ds Xs 15390 4 activetextureARB.gl
-.TH GLACTIVETEXTUREARB 3G
-.SH NAME
-.B "glActiveTextureARB
-\- select active texture unit
-
-.SH C SPECIFICATION
-void \f3glActiveTextureARB\fP(
-GLenum \fItexture\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2texture\fP\ \ 'u
-\f2texture\fP
-Specifies which texture unit to make active. The number
-of texture units is implementation dependent, but must be at least
-two. \f2texture\fP must be one of \%\f3GL_TEXTURE\fP$i$\f3_ARB\fP, where
-0 \(<= $ i $ < \%\f3GL_MAX_TEXTURE_UNITS_ARB\fP, which is an
-implementation-dependent value. The initial value is \%\f3GL_TEXTURE0_ARB\fP.
-.SH DESCRIPTION
-\%\f3glActiveTextureARB\fP selects which texture unit subsequent texture state calls will
-affect. The number of texture units an implementation supports is
-implementation dependent, but must be at least 2.
-.P
-Vertex arrays are client-side GL resources, which are selected by the
-\%\f3glClientActiveTextureARB\fP routine.
-.SH NOTES
-\%\f3glActiveTextureARB\fP is only supported if \%\f3GL_ARB_multitexture\fP is included in the
-string returned by \%\f3glGetString\fP when called with the argument
-\%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2texture\fP is not one of
-\%\f3GL_TEXTURE\fP$i$\f3_ARB\fP,
-.br
-where 0 \(<= $ i $ < \%\f3GL_MAX_TEXTURE_UNITS_ARB\fP.
-.SH SEE ALSO
-\%\f3glClientActiveTextureARB(3G)\fP,
-\%\f3glGetIntegerv(3G)\fP,
-\%\f3glMultiTexCoordARB(3G)\fP,
-\%\f3glTexParameter(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/alphafunc.3gl b/doc/gl-docs/GL/gl/alphafunc.3gl
deleted file mode 100644
index 998d01c41..000000000
--- a/doc/gl-docs/GL/gl/alphafunc.3gl
+++ /dev/null
@@ -1,114 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 alphafunc
-.ds Xs 25246 5 alphafunc.gl
-.TH GLALPHAFUNC 3G
-.SH NAME
-.B "glAlphaFunc
-\- specify the alpha test function
-
-.SH C SPECIFICATION
-void \f3glAlphaFunc\fP(
-GLenum \fIfunc\fP,
-.nf
-.ta \w'\f3void \fPglAlphaFunc( 'u
- GLclampf \fIref\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2func\fP\ \ 'u
-\f2func\fP
-Specifies the alpha comparison function.
-Symbolic constants
-\%\f3GL_NEVER\fP,
-\%\f3GL_LESS\fP,
-\%\f3GL_EQUAL\fP,
-\%\f3GL_LEQUAL\fP,
-\%\f3GL_GREATER\fP,
-\%\f3GL_NOTEQUAL\fP,
-\%\f3GL_GEQUAL\fP, and
-\%\f3GL_ALWAYS\fP are accepted. The initial value is \%\f3GL_ALWAYS\fP.
-.TP
-\f2ref\fP
-Specifies the reference value that incoming alpha values are compared to.
-This value is clamped to the range [0,\ 1],
-where 0 represents the lowest possible alpha value
-and 1 the highest possible value.
-The initial reference value is 0.
-.SH DESCRIPTION
-The alpha test discards fragments depending on the outcome of a comparison
-between an incoming fragment's alpha value and a constant reference value.
-\%\f3glAlphaFunc\fP specifies the reference value and the comparison function.
-The comparison is performed only if alpha testing is enabled. By
-default, it is not enabled.
-(See
-\%\f3glEnable\fP and \%\f3glDisable\fP of \%\f3GL_ALPHA_TEST\fP.)
-.P
-\f2func\fP and \f2ref\fP specify the conditions under which
-the pixel is drawn.
-The incoming alpha value is compared to \f2ref\fP
-using the function specified by \f2func\fP.
-If the value passes the comparison,
-the incoming fragment is drawn
-if it also passes subsequent stencil and depth buffer tests.
-If the value fails the comparison,
-no change is made to the frame buffer at that pixel location. The
-comparison functions are as follows:
-.TP 18
-\%\f3GL_NEVER\fP
-Never passes.
-.TP
-\%\f3GL_LESS\fP
-Passes if the incoming alpha value is less than the reference value.
-.TP
-\%\f3GL_EQUAL\fP
-Passes if the incoming alpha value is equal to the reference value.
-.TP
-\%\f3GL_LEQUAL\fP
-Passes if the incoming alpha value is less than or equal to the reference value.
-.TP
-\%\f3GL_GREATER\fP
-Passes if the incoming alpha value is greater than the reference value.
-.TP
-\%\f3GL_NOTEQUAL\fP
-Passes if the incoming alpha value is not equal to the reference value.
-.TP
-\%\f3GL_GEQUAL\fP
-Passes if the incoming alpha value is greater than or equal to
-the reference value.
-.TP
-\%\f3GL_ALWAYS\fP
-Always passes (initial value).
-.P
-\%\f3glAlphaFunc\fP operates on all pixel write operations,
-including those resulting from the scan conversion of points,
-lines,
-polygons,
-and bitmaps,
-and from pixel draw and copy operations.
-\%\f3glAlphaFunc\fP does not affect screen clear operations.
-.SH NOTES
-Alpha testing is performed only in RGBA mode.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2func\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glAlphaFunc\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_ALPHA_TEST_FUNC\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ALPHA_TEST_REF\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_ALPHA_TEST\fP
-.SH SEE ALSO
-\%\f3glBlendFunc(3G)\fP,
-\%\f3glClear(3G)\fP,
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glStencilFunc(3G)\fP
diff --git a/doc/gl-docs/GL/gl/aretexturesresident.3gl b/doc/gl-docs/GL/gl/aretexturesresident.3gl
deleted file mode 100644
index 6de64d57f..000000000
--- a/doc/gl-docs/GL/gl/aretexturesresident.3gl
+++ /dev/null
@@ -1,91 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 aretextur
-.ds Xs 9130 5 aretexturesresident.gl
-.TH GLARETEXTURESRESIDENT 3G
-.SH NAME
-.B "glAreTexturesResident
-\- determine if textures are loaded in texture memory
-
-.SH C SPECIFICATION
-GLboolean \f3glAreTexturesResident\fP(
-GLsizei \fIn\fP,
-.nf
-.ta \w'\f3GLboolean \fPglAreTexturesResident( 'u
- const GLuint \fI*textures\fP,
- GLboolean \fI*residences\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIresidences\fP\ \ 'u
-\f2n\fP
-Specifies the number of textures to be queried.
-.TP
-\f2textures\fP
-Specifies an array containing the names of the textures to be queried.
-.TP
-\f2residences\fP
-Specifies an array in which the texture residence status is returned.
-The residence status of a texture named by an element of \f2textures\fP is
-returned in the corresponding element of \f2residences\fP.
-.SH DESCRIPTION
-GL establishes
-a ``working set'' of textures that are resident in texture memory.
-These textures can be bound to a texture target much more efficiently
-than textures that are not resident.
-.P
-\%\f3glAreTexturesResident\fP queries the texture residence status of the \f2n\fP textures named by
-the elements of \f2textures\fP.
-If all the named textures are resident,
-\%\f3glAreTexturesResident\fP returns \%\f3GL_TRUE\fP,
-and the contents of \f2residences\fP are undisturbed.
-If not all the named textures are resident, \%\f3glAreTexturesResident\fP returns \%\f3GL_FALSE\fP,
-and detailed status is returned in the \f2n\fP elements of \f2residences\fP.
-If an element of \f2residences\fP is \%\f3GL_TRUE\fP, then the texture named by
-the corresponding element of \f2textures\fP is resident.
-.P
-The residence status of a single bound texture may also be queried
-by calling
-\%\f3glGetTexParameter\fP with the \f2target\fP argument set to the
-target to which the texture is bound, and the \f2pname\fP argument
-set to \%\f3GL_TEXTURE_RESIDENT\fP.
-This is the only way that the residence status of a default texture can be
-queried.
-.SH NOTES
-\%\f3glAreTexturesResident\fP is available only if the GL version is 1.1 or greater.
-.P
-\%\f3glAreTexturesResident\fP returns the residency status of the textures at the time of
-invocation. It does not guarantee that the textures will remain
-resident at any other time.
-.P
-If textures reside in virtual memory (there is no texture memory), they
-are considered always resident.
-.P
-Some implementations may not load a texture until the first use of
-that texture.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2n\fP is negative.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if any element in \f2textures\fP
-is 0 or does not name a texture. In that case, the function returns
-\%\f3GL_FALSE\fP and the contents of \f2residences\fP is indeterminate.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glAreTexturesResident\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexParameter\fP with parameter name \%\f3GL_TEXTURE_RESIDENT\fP
-retrieves the residence status of a currently bound texture.
-.SH SEE ALSO
-\%\f3glBindTexture(3G)\fP,
-\%\f3glGetTexParameter(3G)\fP,
-\%\f3glPrioritizeTextures(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/arrayelement.3gl b/doc/gl-docs/GL/gl/arrayelement.3gl
deleted file mode 100644
index 94643e631..000000000
--- a/doc/gl-docs/GL/gl/arrayelement.3gl
+++ /dev/null
@@ -1,70 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 arrayelem
-.ds Xs 50127 5 arrayelement.gl
-.TH GLARRAYELEMENT 3G
-.SH NAME
-.B "glArrayElement
-\- render a vertex using the specified vertex array element
-
-.SH C SPECIFICATION
-void \f3glArrayElement\fP(
-GLint \fIi\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2i\fP\ \ 'u
-\f2i\fP
-Specifies an index into the enabled vertex data arrays.
-.SH DESCRIPTION
-\%\f3glArrayElement\fP commands are used within \%\f3glBegin\fP/\%\f3glEnd\fP pairs to
-specify vertex and attribute data for point, line, and polygon
-primitives. If \%\f3GL_VERTEX_ARRAY\fP is enabled when \%\f3glArrayElement\fP is called, a
-single vertex is drawn, using
-vertex and attribute data taken from location \f2i\fP of the enabled
-arrays. If \%\f3GL_VERTEX_ARRAY\fP is not enabled, no drawing occurs but
-the attributes corresponding to the enabled arrays are modified.
-.P
-Use \%\f3glArrayElement\fP to construct primitives by indexing vertex data, rather than
-by streaming through arrays of data in first-to-last order. Because
-each call specifies only a single vertex, it is possible to explicitly
-specify per-primitive attributes such as a single normal per
-individual triangle.
-.P
-Changes made to array data between the execution of \%\f3glBegin\fP and the
-corresponding execution of \%\f3glEnd\fP may affect calls to \%\f3glArrayElement\fP that are made
-within the same \%\f3glBegin\fP/\%\f3glEnd\fP period in non-sequential ways.
-That is, a call to
-.br
-\%\f3glArrayElement\fP that precedes a change to array data may
-access the changed data, and a call that follows a change to array data
-may access original data.
-.SH NOTES
-\%\f3glArrayElement\fP is available only if the GL version is 1.1 or greater.
-.P
-\%\f3glArrayElement\fP is included in display lists. If \%\f3glArrayElement\fP is entered into a
-display list, the necessary array data (determined by the array
-pointers and enables) is also entered into the display list. Because
-the array pointers and enables are client-side state, their values
-affect display lists when the lists are created, not when the lists
-are executed.
-.SH SEE ALSO
-\%\f3glClientActiveTextureARB(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/begin.3gl b/doc/gl-docs/GL/gl/begin.3gl
deleted file mode 100644
index 1789e7a62..000000000
--- a/doc/gl-docs/GL/gl/begin.3gl
+++ /dev/null
@@ -1,217 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 begin.gl
-.ds Xs 5437 8 begin.gl
-.TH GLBEGIN 3G
-.SH NAME
-.B "glBegin, glEnd
-\- delimit the vertices of a primitive or a group of like primitives
-
-.SH C SPECIFICATION
-void \f3glBegin\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-Specifies the primitive or primitives that will be created from vertices
-presented between \%\f3glBegin\fP and the subsequent \%\f3glEnd\fP.
-Ten symbolic constants are accepted:
-\%\f3GL_POINTS\fP,
-\%\f3GL_LINES\fP,
-\%\f3GL_LINE_STRIP\fP,
-\%\f3GL_LINE_LOOP\fP,
-\%\f3GL_TRIANGLES\fP,
-\%\f3GL_TRIANGLE_STRIP\fP,
-\%\f3GL_TRIANGLE_FAN\fP,
-\%\f3GL_QUADS\fP,
-\%\f3GL_QUAD_STRIP\fP, and
-\%\f3GL_POLYGON\fP.
-.SH C SPECIFICATION
-void \f3glEnd\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-\%\f3glBegin\fP and \%\f3glEnd\fP delimit the vertices that define a primitive or
-a group of like primitives.
-\%\f3glBegin\fP accepts a single argument that specifies in which of ten ways the
-vertices are interpreted.
-Taking $n$ as an integer count starting at one,
-and $N$ as the total number of vertices specified,
-the interpretations are as follows:
-.TP 23
-\%\f3GL_POINTS\fP
-Treats each vertex as a single point.
-Vertex $n$ defines point $n$.
-$N$ points are drawn.
-.TP
-\%\f3GL_LINES\fP
-Treats each pair of vertices as an independent line segment.
-Vertices $2n^-^1$ and $2n$ define line $n$.
-$N/2$ lines are drawn.
-.TP
-\%\f3GL_LINE_STRIP\fP
-Draws a connected group of line segments from the first vertex
-to the last.
-Vertices $n$ and $n~+~1$ define line $n$.
-$N^-^1$ lines are drawn.
-.TP
-\%\f3GL_LINE_LOOP\fP
-Draws a connected group of line segments from the first vertex
-to the last,
-then back to the first.
-Vertices $n$ and $n~+~1$ define line $n$.
-The last line, however, is defined by vertices $N$ and $1$.
-$N$ lines are drawn.
-.TP
-\%\f3GL_TRIANGLES\fP
-Treats each triplet of vertices as an independent triangle.
-Vertices $3n^-^2$, $3n^-^1$, and $3n$ define triangle $n$.
-$N/3$ triangles are drawn.
-.BP
-.TP
-\%\f3GL_TRIANGLE_STRIP\fP
-Draws a connected group of triangles. One triangle is defined for each
-vertex presented after the first two vertices. For odd $n$, vertices
-$n$, $n~+~1$, and $n~+~2$ define triangle $n$. For even $n$, vertices
-$n~+~1$, $n$, and $n~+~2$ define triangle $n$. $N^-^2$ triangles are
-drawn.
-.TP
-\%\f3GL_TRIANGLE_FAN\fP
-Draws a connected group of triangles.
-One triangle is defined for each vertex presented after the first two vertices.
-Vertices $1$,
-$n~+~1$,
-and $n~+~2$ define triangle $n$.
-$N^-^2$ triangles are drawn.
-.TP
-\%\f3GL_QUADS\fP
-Treats each group of four vertices as an independent quadrilateral.
-Vertices $4n^-^3$, $4n^-^2$, $4n^-^1$, and $4n$
-define quadrilateral $n$.
-$N/4$ quadrilaterals are drawn.
-.TP
-\%\f3GL_QUAD_STRIP\fP
-Draws a connected group of quadrilaterals.
-One quadrilateral is defined for each pair of vertices presented
-after the first pair.
-Vertices $2n^-^1$, $2n$, $2n~+~2$, and $2n~+~1$ define quadrilateral $n$.
-$N/2^-^1$ quadrilaterals are drawn.
-Note that the order in which vertices are used to construct a quadrilateral
-from strip data is different from that used with independent data.
-.TP
-\%\f3GL_POLYGON\fP
-Draws a single,
-convex polygon.
-Vertices $1$ through $N$ define this polygon.
-.P
-Only a subset of GL commands can be used between \%\f3glBegin\fP and \%\f3glEnd\fP.
-The commands are
-\%\f3glVertex\fP,
-\%\f3glColor\fP,
-\%\f3glIndex\fP,
-\%\f3glNormal\fP,
-\%\f3glTexCoord\fP,
-\%\f3glEvalCoord\fP,
-\%\f3glEvalPoint\fP,
-\%\f3glArrayElement\fP,
-\%\f3glMaterial\fP, and
-\%\f3glEdgeFlag\fP.
-Also,
-it is acceptable to use
-\%\f3glCallList\fP or
-\%\f3glCallLists\fP to execute
-display lists that include only the preceding commands.
-If any other GL command is executed between \%\f3glBegin\fP and \%\f3glEnd\fP,
-the error flag is set and the command is ignored.
-.P
-Regardless of the value chosen for \f2mode\fP,
-there is no limit to the number of vertices that can be defined
-between \%\f3glBegin\fP and \%\f3glEnd\fP.
-Lines,
-triangles,
-quadrilaterals,
-and polygons that are incompletely specified are not drawn.
-Incomplete specification results when either too few vertices are
-provided to specify even a single primitive or when an incorrect multiple
-of vertices is specified. The incomplete primitive is ignored; the rest are drawn.
-.P
-The minimum specification of vertices
-for each primitive is as follows:
-1 for a point,
-2 for a line,
-3 for a triangle,
-4 for a quadrilateral,
-and 3 for a polygon.
-Modes that require a certain multiple of vertices are
-\%\f3GL_LINES\fP (2),
-\%\f3GL_TRIANGLES\fP (3),
-\%\f3GL_QUADS\fP (4),
-and \%\f3GL_QUAD_STRIP\fP (2).
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is set to an unaccepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glBegin\fP is executed between a
-\%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glEnd\fP is executed without being
-preceded by a \%\f3glBegin\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if a command other than
-\%\f3glVertex\fP,
-\%\f3glColor\fP,
-\%\f3glIndex\fP,
-\%\f3glNormal\fP,
-\%\f3glTexCoord\fP,
-\%\f3glEvalCoord\fP,
-\%\f3glEvalPoint\fP,
-\%\f3glArrayElement\fP,
-\%\f3glMaterial\fP,
-\%\f3glEdgeFlag\fP,
-\%\f3glCallList\fP, or
-\%\f3glCallLists\fP is executed between
-the execution of \%\f3glBegin\fP and the corresponding
-execution \%\f3glEnd\fP.
-.P
-Execution of
-\%\f3glEnableClientState\fP,
-\%\f3glDisableClientState\fP,
-\%\f3glEdgeFlagPointer\fP,
-\%\f3glTexCoordPointer\fP,
-\%\f3glColorPointer\fP,
-\%\f3glIndexPointer\fP,
-\%\f3glNormalPointer\fP,
-.br
-\%\f3glVertexPointer\fP,
-\%\f3glInterleavedArrays\fP, or
-\%\f3glPixelStore\fP is not allowed after a call to \%\f3glBegin\fP and before
-the corresponding call to \%\f3glEnd\fP,
-but an error may or may not be generated.
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glCallList(3G)\fP,
-\%\f3glCallLists(3G)\fP,
-\%\f3glColor(3G)\fP,
-\%\f3glEdgeFlag(3G)\fP,
-\%\f3glEvalCoord(3G)\fP,
-.br
-\%\f3glEvalPoint(3G)\fP,
-\%\f3glIndex(3G)\fP,
-\%\f3glMaterial(3G)\fP,
-\%\f3glNormal(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glVertex(3G)\fP
-
-
diff --git a/doc/gl-docs/GL/gl/bindtexture.3gl b/doc/gl-docs/GL/gl/bindtexture.3gl
deleted file mode 100644
index 3256b8a30..000000000
--- a/doc/gl-docs/GL/gl/bindtexture.3gl
+++ /dev/null
@@ -1,114 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 bindtextu
-.ds Xs 62690 6 bindtexture.gl
-.TH GLBINDTEXTURE 3G
-.SH NAME
-.B "glBindTexture
-\- bind a named texture to a texturing target
-
-.SH C SPECIFICATION
-void \f3glBindTexture\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglBindTexture( 'u
- GLuint \fItexture\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fItexture\fP\ \ 'u
-\f2target\fP
-Specifies the target to which the texture is bound.
-Must be either
-\%\f3GL_TEXTURE_1D\fP,
-\%\f3GL_TEXTURE_2D\fP, or
-\%\f3GL_TEXTURE_3D\fP.
-.TP
-\f2texture\fP
-Specifies the name of a texture.
-.SH DESCRIPTION
-\%\f3glBindTexture\fP lets you create or use a named texture. Calling \%\f3glBindTexture\fP with
-.br
-\f2target\fP set to
-\%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP, \%\f3GL_TEXTURE_3D\fP and \f2texture\fP
-set to the name
-of the newtexture binds the texture name to the target.
-When a texture is bound to a target, the previous binding for that
-target is automatically broken.
-.P
-Texture names are unsigned integers. The value zero is reserved to
-represent the default texture for each texture target.
-Texture names and the corresponding texture contents are local to
-the shared display-list space (see \%\f3glXCreateContext\fP) of the current
-GL rendering context;
-two rendering contexts share texture names only if they
-also share display lists.
-.P
-You may use \%\f3glGenTextures\fP to generate a set of new texture names.
-.P
-When a texture is first bound, it assumes the dimensionality of its
-target: A texture first bound to \%\f3GL_TEXTURE_1D\fP becomes
-one-dimensional, and a texture first bound to \%\f3GL_TEXTURE_2D\fP becomes
-two-dimensional, and a texture first bound to \%\f3GL_TEXTURE_3D\fP becomes
-a three-dimensional texture. The state of a one-dimensional texture
-immediately after it is first bound is equivalent to the state of the
-default \%\f3GL_TEXTURE_1D\fP at GL initialization, and similarly for
-two-, and three-dimensional textures.
-.P
-While a texture is bound, GL operations on the target to which it is
-bound affect the bound texture, and queries of the target to which it
-is bound return state from the bound texture. If texture mapping of
-the dimensionality of the target to which a texture is bound is
-active, the bound texture is used.
-In effect, the texture targets become aliases for the textures currently
-bound to them, and the texture name zero refers to the default textures
-that were bound to them at initialization.
-.P
-A texture binding created with \%\f3glBindTexture\fP remains active until a different
-texture is bound to the same target, or until the bound texture is
-deleted with \%\f3glDeleteTextures\fP.
-.P
-Once created, a named texture may be re-bound to the target of the
-matching dimensionality as often as needed.
-It is usually much faster to use \%\f3glBindTexture\fP to bind an existing named
-texture to one of the texture targets than it is to reload the texture image
-using \%\f3glTexImage1D\fP, \%\f3glTexImage2D\fP, or \%\f3glTexImage3D\fP.
-For additional control over performance, use
-\%\f3glPrioritizeTextures\fP.
-.P
-\%\f3glBindTexture\fP is included in display lists.
-.SH NOTES
-\%\f3glBindTexture\fP is available only if the GL version is 1.1 or greater.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2texture\fP has a dimensionality
-that doesn't match that of \f2target\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glBindTexture\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_BINDING_1D\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_BINDING_2D\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_BINDING_3D\fP
-.SH SEE ALSO
-\%\f3glAreTexturesResident(3G)\fP,
-\%\f3glDeleteTextures(3G)\fP,
-\%\f3glGenTextures(3G)\fP,
-\%\f3glGet(3G)\fP,
-.br
-\%\f3glGetTexParameter(3G)\fP,
-\%\f3glIsTexture(3G)\fP,
-\%\f3glPrioritizeTextures(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/bitmap.3gl b/doc/gl-docs/GL/gl/bitmap.3gl
deleted file mode 100644
index 0ff1d860f..000000000
--- a/doc/gl-docs/GL/gl/bitmap.3gl
+++ /dev/null
@@ -1,132 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 bitmap.gl
-.ds Xs 23189 6 bitmap.gl
-.TH GLBITMAP 3G
-.SH NAME
-.B "glBitmap
-\- draw a bitmap
-
-.SH C SPECIFICATION
-void \f3glBitmap\fP(
-GLsizei \fIwidth\fP,
-.nf
-.ta \w'\f3void \fPglBitmap( 'u
- GLsizei \fIheight\fP,
- GLfloat \fIxorig\fP,
- GLfloat \fIyorig\fP,
- GLfloat \fIxmove\fP,
- GLfloat \fIymove\fP,
- const GLubyte \fI*bitmap\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2width\fP\ \f2height\fP\ \ 'u
-\f2width\fP, \f2height\fP
-Specify the pixel width and height of the bitmap image.
-.TP
-\f2xorig\fP, \f2yorig\fP
-Specify the location of the origin in the bitmap image.
-The origin is measured from the lower left corner of the bitmap,
-with right and up being the positive axes.
-.TP
-\f2xmove\fP, \f2ymove\fP
-Specify the \f2x\fP and \f2y\fP offsets to be added to the current raster position
-after the bitmap is drawn.
-.TP
-\f2bitmap\fP
-Specifies the address of the bitmap image.
-.SH DESCRIPTION
-A bitmap is a binary image.
-When drawn,
-the bitmap is positioned relative to the current raster position,
-and frame buffer pixels corresponding to 1's in the bitmap are
-written using the current raster color or index.
-Frame buffer pixels corresponding to 0's in the bitmap are not modified.
-.P
-\%\f3glBitmap\fP takes seven arguments.
-The first pair specifies the width and height of the bitmap image.
-The second pair specifies the location of the bitmap origin relative
-to the lower left corner of the bitmap image.
-The third pair of arguments specifies \f2x\fP and \f2y\fP offsets to be added
-to the current raster position after the bitmap has been drawn.
-The final argument is a pointer to the bitmap image itself.
-.P
-The bitmap image is interpreted like image data for the \%\f3glDrawPixels\fP
-command,
-with \f2width\fP and \f2height\fP corresponding to the width and height arguments
-of that command,
-and with \f2type\fP set to \%\f3GL_BITMAP\fP
-and \f2format\fP set to \%\f3GL_COLOR_INDEX\fP.
-.BP
-Modes specified using \%\f3glPixelStore\fP affect the
-interpretation of bitmap image data;
-modes specified using \%\f3glPixelTransfer\fP do not.
-.P
-If the current raster position is invalid, \%\f3glBitmap\fP is ignored.
-Otherwise,
-the lower left corner of the bitmap image is positioned at the window coordinates
-.ce
-.sp
-$ x sub w ~=~ \(lf ~ x sub r ~-~ x sub o ~ \(rf $
-.br
-.sp
-.ce
-$ y sub w ~=~ \(lf ~ y sub r ~-~ y sub o ~ \(rf $
-.sp
-where $ ( x sub r , y sub r ) $ is the raster position
-and $ ( x sub o , y sub o ) $ is the bitmap origin.
-Fragments are then generated for each pixel corresponding to a 1 (one)
-in the bitmap image.
-These fragments are generated using the current raster \f2z\fP coordinate,
-color or color index, and current raster texture coordinates.
-They are then treated just as if they had been generated
-by a point, line, or polygon,
-including texture mapping,
-.br
-fogging,
-and all per-fragment operations such as alpha and depth testing.
-.P
-After the bitmap has been drawn,
-the \f2x\fP and \f2y\fP coordinates of the current raster position are offset by
-\f2xmove\fP and \f2ymove\fP.
-No change is made to the \f2z\fP coordinate of the current raster position,
-or to the current raster color, texture coordinates, or index.
-.SH NOTES
-To set a valid raster position outside the viewport, first set a valid
-raster position inside the viewport, then call \%\f3glBitmap\fP with NULL
-as the \f2bitmap\fP parameter and with \f2xmove\fP and \f2ymove\fP set to
-the offsets of the new raster position. This technique is useful when
-panning an image around the viewport.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP or \f2height\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glBitmap\fP
-is executed between the execution of \%\f3glBegin\fP and the corresponding execution of
-\%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_COLOR\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_DISTANCE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_INDEX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_TEXTURE_COORDS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION_VALID\fP
-.SH SEE ALSO
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glRasterPos(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/blendcolor.3gl b/doc/gl-docs/GL/gl/blendcolor.3gl
deleted file mode 100644
index 8591a8166..000000000
--- a/doc/gl-docs/GL/gl/blendcolor.3gl
+++ /dev/null
@@ -1,52 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 blendcolo
-.ds Xs 21257 4 blendcolor.gl
-.TH GLBLENDCOLOR 3G
-.SH NAME
-.B "glBlendColor
-\- set the blend color
-
-.SH C SPECIFICATION
-void \f3glBlendColor\fP(
-GLclampf \fIred\fP,
-.nf
-.ta \w'\f3void \fPglBlendColor( 'u
- GLclampf \fIgreen\fP,
- GLclampf \fIblue\fP,
- GLclampf \fIalpha\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2red\fP\ \f2green\fP\ \f2blue\fP\ \f2alpha\fP\ \ 'u
-\f2red\fP, \f2green\fP, \f2blue\fP, \f2alpha\fP
-specify the components of \%\f3GL_BLEND_COLOR\fP
-.SH DESCRIPTION
-The \%\f3GL_BLEND_COLOR\fP may be used to calculate the source and destination
-blending factors. The color components are clamped to the range [0,\ 1]
-before being stored. See \%\f3glBlendFunc\fP for a complete description of the
-blending operations.
-Initially the \%\f3GL_BLEND_COLOR\fP is set to (0, 0, 0, 0).
-.SH NOTES
-\%\f3glBlendColor\fP is part of the \%\f3GL_ARB_imaging\fP subset. \%\f3glBlendColor\fP is present only
-if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP is called with
-\%\f3GL_EXTENSIONS\fP as its argument.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glBlendColor\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with an argument of \%\f3GL_BLEND_COLOR\fP
-.SH SEE ALSO
-\%\f3glBlendEquation(3G)\fP,
-\%\f3glBlendFunc(3G)\fP,
-\%\f3glGetString(3G)\fP
diff --git a/doc/gl-docs/GL/gl/blendequation.3gl b/doc/gl-docs/GL/gl/blendequation.3gl
deleted file mode 100644
index 63f4c72a9..000000000
--- a/doc/gl-docs/GL/gl/blendequation.3gl
+++ /dev/null
@@ -1,146 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 blendequa
-.ds Xs 36751 7 blendequation.gl
-.TH GLBLENDEQUATION 3G
-.SH NAME
-.B "glBlendEquation
-\- set the blend equation
-
-.SH C SPECIFICATION
-void \f3glBlendEquation\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-specifies how source and destination colors are combined.
-It must be \%\f3GL_FUNC_ADD\fP, \%\f3GL_FUNC_SUBTRACT\fP,
-\%\f3GL_FUNC_REVERSE_SUBTRACT\fP, \%\f3GL_MIN\fP, \%\f3GL_MAX\fP.
-
-.SH DESCRIPTION
-The blend equation determines how a new pixel (the ``source'' color)
-is combined with a pixel already in the framebuffer (the ``destination''
-color).
-.TP
-\%\f3GL_MIN\fP
-sets the blend equation so that each component of the result color
-is the minimum of the corresponding components of the source and destination
-colors.
-.TP
-\%\f3GL_MAX\fP
-sets the blend equation so that each component of the result color
-is the maximum of the corresponding components of the source and destination
-colors.
-.P
-The remaining blend equations use the source and destination blend factors
-specified by \%\f3glBlendFunc\fP.
-See \%\f3glBlendFunc\fP for a description of the various blend factors.
-.P
-In the equations that follow, source and destination
-color components are referred to as
-$(R sub s, G sub s, B sub s, A sub s )$
-and
-$(R sub d, G sub d, B sub d, A sub d )$,
-respectively.
-The result color is referred to as
-$(R sub r, G sub r, B sub r, A sub r )$.
-The source and destination blend factors are denoted
-$(s sub R, s sub G, s sub B, s sub A )$ and
-$(d sub R, d sub G, d sub B, d sub A )$, respectively.
-For these equations all color components are understood to have values
-in the range [0,\ 1].
-.TP
-\%\f3GL_FUNC_ADD\fP
-sets the blend equation so that the source and destination
-data are added.
-Each component of the source color is
-multiplied by the corresponding source factor, then
-each component of the destination color is multiplied
-by the corresponding destination factor.
-The result is the componentwise sum of the two products, clamped to the
-range [0,\ 1].
-.P
-.RS
-.nf
-.IP
-$Rr ~=~ mark min (1, ~R sub s~s sub R ~+~ R sub d~d sub R )$
-$Gr ~=~ lineup min (1, ~G sub s~s sub G ~+~ G sub d~d sub G )$
-$Br ~=~ lineup min (1, ~B sub s~s sub B ~+~ B sub d~d sub B )$
-$Ar ~=~ lineup min (1, ~A sub s~s sub A ~+~ A sub d~d sub A )$
-.fi
-.RE
-.TP
-\%\f3GL_FUNC_SUBTRACT\fP
-Is like \%\f3GL_FUNC_ADD\fP except the product of the destination factor and
-the destination color is componentwise subtracted from the product of the
-source factor and the source color.
-The result is clamped to the range [0,\ 1].
-.RS
-.nf
-.IP
-$Rr ~=~ mark max (0 , ~R sub s~s sub R ~-~ R sub d~d sub R )$
-$Gr ~=~ lineup max (0 , ~G sub s~s sub G ~-~ G sub d~d sub G )$
-$Br ~=~ lineup max (0 , ~B sub s~s sub B ~-~ B sub d~d sub B )$
-$Ar ~=~ lineup max (0 , ~A sub s~s sub A ~-~ A sub d~d sub A )$
-.fi
-.RE
-.TP
-\%\f3GL_FUNC_REVERSE_SUBTRACT\fP
-Is like \%\f3GL_FUNC_ADD\fP except the product of the source factor and the
-source color is componentwise subtracted from the product of the destination
-factor and the destination color.
-The result is clamped to the range [0,\ 1].
-.RS
-.nf
-.IP
-$Rr ~=~ mark max (0 , ~R sub d~d sub R ~-~ R sub s~s sub R )$
-$Gr ~=~ lineup max (0 , ~G sub d~d sub G ~-~ G sub s~s sub G )$
-$Br ~=~ lineup max (0 , ~B sub d~d sub B ~-~ B sub s~s sub B )$
-$Ar ~=~ lineup max (0 , ~A sub d~d sub A ~-~ A sub s~s sub A )$
-.fi
-.RE
-.P
-The \%\f3GL_MIN\fP and \%\f3GL_MAX\fP equations are useful for applications
-that analyze
-.br
-image data (image thresholding against a constant color,
-for example).
-The \%\f3GL_FUNC_ADD\fP equation is useful
-for antialiasing and transparency, among other things.
-.P
-Initially, the blend equation is set to \%\f3GL_FUNC_ADD\fP.
-.P
-.SH NOTES
-\%\f3glBlendEquation\fP is part of the \%\f3GL_ARB_imaging\fP subset. \%\f3glBlendEquation\fP is present only
-if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP is called with
-\%\f3GL_EXTENSIONS\fP as its argument.
-.P
-The \%\f3GL_MIN\fP, and \%\f3GL_MAX\fP equations do not use
-the source or destination factors, only the source and destination colors.
-.P
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not one of
-\%\f3GL_FUNC_ADD\fP, \%\f3GL_FUNC_SUBTRACT\fP, \%\f3GL_FUNC_REVERSE_SUBTRACT\fP,
-\%\f3GL_MAX\fP, or \%\f3GL_MIN\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glBlendEquation\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-.TP
-\%\f3glGet\fP with an argument of \%\f3GL_BLEND_EQUATION\fP
-.SH SEE ALSO
-\%\f3glGetString(3G)\fP,
-\%\f3glBlendColor(3G)\fP,
-\%\f3glBlendFunc(3G)\fP
diff --git a/doc/gl-docs/GL/gl/blendfunc.3gl b/doc/gl-docs/GL/gl/blendfunc.3gl
deleted file mode 100644
index 66b8b8cba..000000000
--- a/doc/gl-docs/GL/gl/blendfunc.3gl
+++ /dev/null
@@ -1,250 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 blendfunc
-.ds Xs 18970 10 blendfunc.gl
-.TH GLBLENDFUNC 3G
-.SH NAME
-.B "glBlendFunc
-\- specify pixel arithmetic
-
-.SH C SPECIFICATION
-void \f3glBlendFunc\fP(
-GLenum \fIsfactor\fP,
-.nf
-.ta \w'\f3void \fPglBlendFunc( 'u
- GLenum \fIdfactor\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2sfactor\fP\ \ 'u
-\f2sfactor\fP
-Specifies how the red, green, blue,
-and alpha source blending factors are computed.
-The following symbolic constants are accepted:
-\%\f3GL_ZERO\fP,
-\%\f3GL_ONE\fP,
-\%\f3GL_DST_COLOR\fP,
-\%\f3GL_ONE_MINUS_DST_COLOR\fP,
-\%\f3GL_SRC_ALPHA\fP,
-\%\f3GL_ONE_MINUS_SRC_ALPHA\fP,
-\%\f3GL_DST_ALPHA\fP,
-\%\f3GL_ONE_MINUS_DST_ALPHA\fP, and
-\%\f3GL_SRC_ALPHA_SATURATE\fP.
-The initial value is \%\f3GL_ONE\fP.
-.TE
-
-Additionally, if the \%\f3GL_ARB_imaging\fP extension is supported, the
-following constants are accepted:
-\%\f3GL_CONSTANT_COLOR\fP,
-\%\f3GL_ONE_MINUS_CONSTANT_COLOR\fP,
-\%\f3GL_CONSTANT_ALPHA\fP,
-\%\f3GL_ONE_MINUS_CONSTANT_ALPHA\fP.
-.TP
-\f2dfactor\fP
-Specifies how the red, green, blue,
-and alpha destination blending factors are computed.
-Eight symbolic constants are accepted:
-\%\f3GL_ZERO\fP,
-\%\f3GL_ONE\fP,
-\%\f3GL_SRC_COLOR\fP,
-\%\f3GL_ONE_MINUS_SRC_COLOR\fP,
-\%\f3GL_SRC_ALPHA\fP,
-\%\f3GL_ONE_MINUS_SRC_ALPHA\fP,
-\%\f3GL_DST_ALPHA\fP, and
-\%\f3GL_ONE_MINUS_DST_ALPHA\fP.
-The initial value is \%\f3GL_ZERO\fP.
-.TE
-
-Additionally, if the \%\f3GL_ARB_imaging\fP extension is supported, the
-following constants are accepted:
-\%\f3GL_CONSTANT_COLOR\fP,
-\%\f3GL_ONE_MINUS_CONSTANT_COLOR\fP,
-\%\f3GL_CONSTANT_ALPHA\fP,
-\%\f3GL_ONE_MINUS_CONSTANT_ALPHA\fP.
-.SH DESCRIPTION
-In RGBA mode, pixels can be drawn using a function that blends
-the incoming (source) RGBA values with the RGBA values
-that are already in the frame buffer (the destination values).
-Blending is initially disabled.
-Use \%\f3glEnable\fP and \%\f3glDisable\fP with argument \%\f3GL_BLEND\fP
-to enable and disable blending.
-.P
-\%\f3glBlendFunc\fP defines the operation of blending when it is enabled.
-\f2sfactor\fP specifies which of nine methods is used to scale the
-source color components.
-\f2dfactor\fP specifies which of eight methods is used to scale the
-destination color components.
-The eleven possible methods are described in the following table.
-Each method defines four scale factors,
-one each for red, green, blue, and alpha.
-.P
-In the table and in subsequent equations, source and destination
-color components are referred to as
-$(R sub s , G sub s , B sub s , A sub s )$ and
-$(R sub d , G sub d , B sub d , A sub d )$.
-The color specified by \%\f3glBlendColor\fP is referred to as
-$(R sub c , G sub c , B sub c , A sub c )$.
-They are understood to have integer values between 0 and
-$(k sub R , k sub G , k sub B , k sub A )$,
-where
-.P
-.RS
-.ce
-$k sub c ~=~ 2 sup m sub c - 1$
-.RE
-.P
-and
-$(m sub R , m sub G , m sub B , m sub A )$
-is the number of red,
-green,
-blue,
-and alpha bitplanes.
-.P
-Source and destination scale factors are referred to as
-$(s sub R , s sub G , s sub B , s sub A )$ and
-$(d sub R , d sub G , d sub B , d sub A )$.
-The scale factors described in the table,
-denoted $(f sub R , f sub G , f sub B , f sub A )$,
-represent either source or destination factors.
-All scale factors have range [0,\ 1].
-.P
-.TS
-center;
-lb cb
-l c .
-_
-Parameter $(f sub R , ~~ f sub G , ~~ f sub B , ~~ f sub A )$
-_
-\%\f3GL_ZERO\fP $(0, ~0, ~0, ~0 )$
-\%\f3GL_ONE\fP $(1, ~1, ~1, ~1 )$
-\%\f3GL_SRC_COLOR\fP $(R sub s / k sub R , ~G sub s / k sub G , ~B sub s / k sub B , ~A sub s / k sub A )$
-\%\f3GL_ONE_MINUS_SRC_COLOR\fP $(1, ~1, ~1, ~1 ) ~-~ (R sub s / k sub R , ~G sub s / k sub G , ~B sub s / k sub B , ~A sub s / k sub A )$
-\%\f3GL_DST_COLOR\fP $(R sub d / k sub R , ~G sub d / k sub G , ~B sub d / k sub B , ~A sub d / k sub A )$
-\%\f3GL_ONE_MINUS_DST_COLOR\fP $(1, ~1, ~1, ~1 ) ~-~ (R sub d / k sub R , ~G sub d / k sub G , ~B sub d / k sub B , ~A sub d / k sub A )$
-\%\f3GL_SRC_ALPHA\fP $(A sub s / k sub A , ~A sub s / k sub A , ~A sub s / k sub A , ~A sub s / k sub A )$
-\%\f3GL_ONE_MINUS_SRC_ALPHA\fP $(1, ~1, ~1, ~1 ) ~-~ (A sub s / k sub A , ~A sub s / k sub A , ~A sub s / k sub A , ~A sub s / k sub A )$
-\%\f3GL_DST_ALPHA\fP $(A sub d / k sub A , ~A sub d / k sub A , ~A sub d / k sub A , ~A sub d / k sub A )$
-\%\f3GL_ONE_MINUS_DST_ALPHA\fP $(1, ~1, ~1, ~1 ) ~-~ (A sub d / k sub A , ~A sub d / k sub A , ~A sub d / k sub A , ~A sub d / k sub A )$
-\%\f3GL_SRC_ALPHA_SATURATE\fP $(i, ~i, ~i, ~1 )$
-\%\f3GL_CONSTANT_COLOR\fP $(R sub c, G sub c, B sub c, A sub c)$
-\%\f3GL_ONE_MINUS_CONSTANT_COLOR\fP $(1, ~1, ~1, ~1 ) ~-~ (R sub c, G sub c, B sub c, A sub c)$
-\%\f3GL_CONSTANT_ALPHA\fP $(A sub c, A sub c, A sub c, A sub c)$
-\%\f3GL_ONE_MINUS_CONSTANT_ALPHA\fP $(1, ~1, ~1, ~1 ) ~-~ (A sub c, A sub c, A sub c, A sub c)$
-_
-.TE
-.sp
-In the table,
-.P
-.RS
-.nf
-.IP
-$i ~=~ min (A sub s , ~k sub A ~-~ A sub d ) ~/~ k sub A$
-.fi
-.RE
-.P
-To determine the blended RGBA values of a pixel when drawing in RGBA mode,
-the system uses the following equations:
-.P
-.RS
-.nf
-.IP
-$R sub d ~=~ mark min ( k sub R, ~R sub s~s sub R~+~R sub d~d sub R )$
-$G sub d ~=~ lineup min ( k sub G, ~G sub s~s sub G~+~G sub d~d sub G )$
-$B sub d ~=~ lineup min ( k sub B, ~B sub s~s sub B~+~B sub d~d sub B )$
-$A sub d ~=~ lineup min ( k sub A, ~A sub s~s sub A~+~A sub d~d sub A )$
-.fi
-.RE
-.P
-Despite the apparent precision of the above equations,
-blending arithmetic is not exactly specified,
-because blending operates with imprecise integer color values.
-However,
-a blend factor that should be equal to 1
-is guaranteed not to modify its multiplicand,
-and a blend factor equal to 0 reduces its multiplicand to 0.
-For example,
-when \f2sfactor\fP is \%\f3GL_SRC_ALPHA\fP,
-\f2dfactor\fP is \%\f3GL_ONE_MINUS_SRC_ALPHA\fP,
-and $A sub s$ is equal to $k sub A$,
-the equations reduce to simple replacement:
-.P
-.RS
-.nf
-.IP
-$R sub d ~=~ mark R sub s$
-$G sub d ~=~ lineup G sub s$
-$B sub d ~=~ lineup B sub s$
-$A sub d ~=~ lineup A sub s$
-.fi
-.RE
-.P
-.SH EXAMPLES
-.P
-Transparency is best implemented using blend function
-(\%\f3GL_SRC_ALPHA\fP, \%\f3GL_ONE_MINUS_SRC_ALPHA\fP)
-with primitives sorted from farthest to nearest.
-Note that this transparency calculation does not require
-the presence of alpha bitplanes in the frame buffer.
-.P
-Blend function
-(\%\f3GL_SRC_ALPHA\fP, \%\f3GL_ONE_MINUS_SRC_ALPHA\fP)
-is also useful for rendering antialiased points and lines
-in arbitrary order.
-.P
-Polygon antialiasing is optimized using blend function
-.br
-(\%\f3GL_SRC_ALPHA_SATURATE\fP, \%\f3GL_ONE\fP)
-with polygons sorted from nearest to farthest.
-(See the \%\f3glEnable\fP, \%\f3glDisable\fP reference page and the
-\%\f3GL_POLYGON_SMOOTH\fP argument for information on polygon antialiasing.)
-Destination alpha bitplanes,
-which must be present for this blend function to operate correctly,
-store the accumulated coverage.
-.SH NOTES
-Incoming (source) alpha is correctly thought of as a material opacity,
-ranging from 1.0 ($K sub A$), representing complete opacity,
-to 0.0 (0), representing complete
-transparency.
-.P
-When more than one color buffer is enabled for drawing,
-the GL performs blending separately for each enabled buffer,
-using the contents of that buffer for destination color.
-(See \%\f3glDrawBuffer\fP.)
-.P
-Blending affects only RGBA rendering.
-It is ignored by color index renderers.
-.P
-\%\f3GL_CONSTANT_COLOR\fP, \%\f3GL_ONE_MINUS_CONSTANT_COLOR\fP,
-\%\f3GL_CONSTANT_ALPHA\fP, \%\f3GL_ONE_MINUS_CONSTANT_ALPHA\fP are only
-available if the \%\f3GL_ARB_imaging\fP is supported by your implementation.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if either \f2sfactor\fP or \f2dfactor\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glBlendFunc\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_BLEND_SRC\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_BLEND_DST\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_BLEND\fP
-.br
-.SH SEE ALSO
-\%\f3glAlphaFunc(3G)\fP,
-\%\f3glBlendColor(3G)\fP,
-\%\f3glBlendEquation(3G)\fP,
-\%\f3glClear(3G)\fP,
-\%\f3glDrawBuffer(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glLogicOp(3G)\fP,
-\%\f3glStencilFunc(3G)\fP
diff --git a/doc/gl-docs/GL/gl/calllist.3gl b/doc/gl-docs/GL/gl/calllist.3gl
deleted file mode 100644
index 09f50a53c..000000000
--- a/doc/gl-docs/GL/gl/calllist.3gl
+++ /dev/null
@@ -1,60 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 calllist.
-.ds Xs 42225 4 calllist.gl
-.TH GLCALLLIST 3G
-.SH NAME
-.B "glCallList
-\- execute a display list
-
-.SH C SPECIFICATION
-void \f3glCallList\fP(
-GLuint \fIlist\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2list\fP\ \ 'u
-\f2list\fP
-Specifies the integer name of the display list to be executed.
-.SH DESCRIPTION
-\%\f3glCallList\fP causes the named display list to be executed.
-The commands saved in the display list are executed in order,
-just as if they were called without using a display list.
-If \f2list\fP has not been defined as a display list,
-\%\f3glCallList\fP is ignored.
-.P
-\%\f3glCallList\fP can appear inside a display list.
-To avoid the possibility of infinite recursion resulting from display lists
-calling one another,
-a limit is placed on the nesting level of display
-lists during display-list execution.
-This limit is at least 64, and it depends on the implementation.
-.P
-GL state is not saved and restored across a call to \%\f3glCallList\fP.
-Thus,
-changes made to GL state during the execution of a display list
-remain after execution of the display list is completed.
-Use \%\f3glPushAttrib\fP,
-\%\f3glPopAttrib\fP,
-\%\f3glPushMatrix\fP,
-and \%\f3glPopMatrix\fP to preserve GL state across \%\f3glCallList\fP calls.
-.SH NOTES
-Display lists can be executed between a call to \%\f3glBegin\fP
-and the corresponding call to \%\f3glEnd\fP,
-as long as the display list includes only commands that are allowed
-in this interval.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MAX_LIST_NESTING\fP
-.br
-\%\f3glIsList\fP
-.SH SEE ALSO
-\%\f3glCallLists(3G)\fP,
-\%\f3glDeleteLists(3G)\fP,
-\%\f3glGenLists(3G)\fP,
-\%\f3glNewList(3G)\fP,
-\%\f3glPushAttrib(3G)\fP,
-\%\f3glPushMatrix(3G)\fP
diff --git a/doc/gl-docs/GL/gl/calllists.3gl b/doc/gl-docs/GL/gl/calllists.3gl
deleted file mode 100644
index 193679af2..000000000
--- a/doc/gl-docs/GL/gl/calllists.3gl
+++ /dev/null
@@ -1,165 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 calllists
-.ds Xs 46352 7 calllists.gl
-.TH GLCALLLISTS 3G
-.SH NAME
-.B "glCallLists
-\- execute a list of display lists
-
-.SH C SPECIFICATION
-void \f3glCallLists\fP(
-GLsizei \fIn\fP,
-.nf
-.ta \w'\f3void \fPglCallLists( 'u
- GLenum \fItype\fP,
- const GLvoid \fI*lists\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIlists\fP\ \ 'u
-\f2n\fP
-Specifies the number of display lists to be executed.
-.TP
-\f2type\fP
-Specifies the type of values in \f2lists\fP.
-Symbolic constants
-\%\f3GL_BYTE\fP,
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_2_BYTES\fP,
-\%\f3GL_3_BYTES\fP, and
-\%\f3GL_4_BYTES\fP are accepted.
-.TP
-\f2lists\fP
-Specifies the address of an array of name offsets in the display list.
-The pointer type is void because the offsets can be bytes,
-shorts,
-ints,
-or floats,
-depending on the value of \f2type\fP.
-.SH DESCRIPTION
-\%\f3glCallLists\fP causes each display list in the list of names passed as \f2lists\fP
-to be executed.
-As a result,
-the commands saved in each display list are executed in order,
-just as if they were called without using a display list.
-Names of display lists that have not been defined are ignored.
-.P
-\%\f3glCallLists\fP provides an efficient means for executing more than one display list.
-\f2type\fP allows lists with various name formats to be accepted.
-The formats are as follows:
-.TP 25
-\%\f3GL_BYTE\fP
-\f2lists\fP is treated as an array of signed bytes,
-each in the range \-128 through 127.
-.TP
-\%\f3GL_UNSIGNED_BYTE\fP
-\f2lists\fP is treated as an array of unsigned bytes,
-each in the range 0 through 255.
-.TP
-\%\f3GL_SHORT\fP
-\f2lists\fP is treated as an array of signed two-byte integers,
-each in the range \-32768 through 32767.
-.TP
-\%\f3GL_UNSIGNED_SHORT\fP
-\f2lists\fP is treated as an array of unsigned two-byte integers,
-each in the range 0 through 65535.
-.TP
-\%\f3GL_INT\fP
-\f2lists\fP is treated as an array of signed four-byte integers.
-.TP
-\%\f3GL_UNSIGNED_INT\fP
-\f2lists\fP is treated as an array of unsigned four-byte integers.
-.TP
-\%\f3GL_FLOAT\fP
-\f2lists\fP is treated as an array of four-byte floating-point values.
-.TP
-\%\f3GL_2_BYTES\fP
-\f2lists\fP is treated as an array of unsigned bytes.
-Each pair of bytes specifies a single display-list name.
-The value of the pair is computed as 256 times the unsigned value
-of the first byte plus the unsigned value of the second byte.
-.TP
-\%\f3GL_3_BYTES\fP
-\f2lists\fP is treated as an array of unsigned bytes.
-Each triplet of bytes specifies a single display-list name.
-The value of the triplet is computed as 65536 times the unsigned value
-of the first byte,
-plus 256 times the unsigned value of the second byte,
-plus the unsigned value of the third byte.
-.TP
-\%\f3GL_4_BYTES\fP
-\f2lists\fP is treated as an array of unsigned bytes.
-Each quadruplet of bytes specifies a single display-list name.
-The value of the quadruplet is computed as 16777216 times the unsigned value
-of the first byte,
-plus 65536 times the unsigned value of the second byte,
-plus 256 times the unsigned value of the third byte,
-plus the unsigned value of the fourth byte.
-.P
-The list of display-list names is not null-terminated.
-Rather,
-\f2n\fP specifies how many names are to be taken from \f2lists\fP.
-.P
-An additional level of indirection is made available with the
-\%\f3glListBase\fP command,
-which specifies an unsigned offset that is added to each display-list
-name specified in \f2lists\fP before that display list is executed.
-.P
-\%\f3glCallLists\fP can appear inside a display list.
-To avoid the possibility of infinite recursion resulting from display lists
-calling one another,
-a limit is placed on the nesting level of display
-lists during display-list execution.
-This limit must be at least 64, and it depends on the implementation.
-.P
-GL state is not saved and restored across a call to \%\f3glCallLists\fP.
-Thus,
-changes made to GL state during the execution of the display lists
-remain after execution is completed.
-Use \%\f3glPushAttrib\fP,
-\%\f3glPopAttrib\fP,
-\%\f3glPushMatrix\fP,
-and \%\f3glPopMatrix\fP to preserve GL state across \%\f3glCallLists\fP calls.
-.SH NOTES
-Display lists can be executed between a call to \%\f3glBegin\fP
-and the corresponding call to \%\f3glEnd\fP,
-as long as the display list includes only commands that are allowed
-in this interval.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2n\fP is negative.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of
-\%\f3GL_BYTE\fP,
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_2_BYTES\fP,
-\%\f3GL_3_BYTES\fP,
-\%\f3GL_4_BYTES\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_LIST_BASE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_LIST_NESTING\fP
-.br
-\%\f3glIsList\fP
-.SH SEE ALSO
-\%\f3glCallList(3G)\fP,
-\%\f3glDeleteLists(3G)\fP,
-\%\f3glGenLists(3G)\fP,
-\%\f3glListBase(3G)\fP,
-\%\f3glNewList(3G)\fP,
-\%\f3glPushAttrib(3G)\fP,
-.br
-\%\f3glPushMatrix(3G)\fP
diff --git a/doc/gl-docs/GL/gl/clear.3gl b/doc/gl-docs/GL/gl/clear.3gl
deleted file mode 100644
index fb7ccbe2e..000000000
--- a/doc/gl-docs/GL/gl/clear.3gl
+++ /dev/null
@@ -1,98 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 clear.gl
-.ds Xs 16977 5 clear.gl
-.TH GLCLEAR 3G
-.SH NAME
-.B "glClear
-\- clear buffers to preset values
-
-.SH C SPECIFICATION
-void \f3glClear\fP(
-GLbitfield \fImask\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2mask\fP\ \ 'u
-\f2mask\fP
-Bitwise OR of masks that indicate the buffers to be cleared.
-The four masks are
-\%\f3GL_COLOR_BUFFER_BIT\fP,
-\%\f3GL_DEPTH_BUFFER_BIT\fP,
-\%\f3GL_ACCUM_BUFFER_BIT\fP, and
-\%\f3GL_STENCIL_BUFFER_BIT\fP.
-.SH DESCRIPTION
-\%\f3glClear\fP sets the bitplane area of the window to values previously selected
-by \%\f3glClearColor\fP, \%\f3glClearIndex\fP, \%\f3glClearDepth\fP,
-\%\f3glClearStencil\fP, and \%\f3glClearAccum\fP.
-Multiple color buffers can be cleared simultaneously by selecting
-more than one buffer at a time using \%\f3glDrawBuffer\fP.
-.P
-The pixel ownership test,
-the scissor test,
-dithering, and the buffer writemasks affect the operation of \%\f3glClear\fP.
-The scissor box bounds the cleared region.
-Alpha function,
-blend function,
-logical operation,
-stenciling,
-texture mapping,
-and depth-buffering are ignored by \%\f3glClear\fP.
-.P
-\%\f3glClear\fP takes a single argument that is the bitwise OR of several
-values indicating which buffer is to be cleared.
-.P
-The values are as follows:
-.TP 28
-\%\f3GL_COLOR_BUFFER_BIT\fP
-Indicates the buffers currently enabled for color
-writing.
-.TP
-\%\f3GL_DEPTH_BUFFER_BIT\fP
-Indicates the depth buffer.
-.TP
-\%\f3GL_ACCUM_BUFFER_BIT\fP
-Indicates the accumulation buffer.
-.TP
-\%\f3GL_STENCIL_BUFFER_BIT\fP
-Indicates the stencil buffer.
-.P
-The value to which each buffer is cleared depends on the setting of the
-clear value for that buffer.
-.SH NOTES
-If a buffer is not present,
-then a \%\f3glClear\fP directed at that buffer has no effect.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if any bit other than the four defined
-bits is set in \f2mask\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glClear\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_ACCUM_CLEAR_VALUE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_DEPTH_CLEAR_VALUE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_INDEX_CLEAR_VALUE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_CLEAR_VALUE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_CLEAR_VALUE\fP
-.SH SEE ALSO
-\%\f3glClearAccum(3G)\fP,
-\%\f3glClearColor(3G)\fP,
-\%\f3glClearDepth(3G)\fP,
-\%\f3glClearIndex(3G)\fP,
-\%\f3glClearStencil(3G)\fP,
-\%\f3glColorMask(3G)\fP,
-\%\f3glDepthMask(3G)\fP,
-\%\f3glDrawBuffer(3G)\fP,
-\%\f3glScissor(3G)\fP,
-\%\f3glStencilMask(3G)\fP
diff --git a/doc/gl-docs/GL/gl/clearaccum.3gl b/doc/gl-docs/GL/gl/clearaccum.3gl
deleted file mode 100644
index c19132ae2..000000000
--- a/doc/gl-docs/GL/gl/clearaccum.3gl
+++ /dev/null
@@ -1,45 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 clearaccu
-.ds Xs 2071 3 clearaccum.gl
-.TH GLCLEARACCUM 3G
-.SH NAME
-.B "glClearAccum
-\- specify clear values for the accumulation buffer
-
-.SH C SPECIFICATION
-void \f3glClearAccum\fP(
-GLfloat \fIred\fP,
-.nf
-.ta \w'\f3void \fPglClearAccum( 'u
- GLfloat \fIgreen\fP,
- GLfloat \fIblue\fP,
- GLfloat \fIalpha\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2red\fP\ \f2green\fP\ \f2blue\fP\ \f2alpha\fP\ \ 'u
-\f2red\fP, \f2green\fP, \f2blue\fP, \f2alpha\fP
-Specify the red, green, blue, and alpha values used when the
-accumulation buffer is cleared.
-The initial values are all 0.
-.SH DESCRIPTION
-\%\f3glClearAccum\fP specifies the red, green, blue, and alpha values used by \%\f3glClear\fP
-to clear the accumulation buffer.
-.P
-Values specified by \%\f3glClearAccum\fP are clamped to the
-range [-1,\ 1].
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glClearAccum\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_ACCUM_CLEAR_VALUE\fP
-.SH SEE ALSO
-\%\f3glAccum(3G)\fP,
-\%\f3glClear(3G)\fP
diff --git a/doc/gl-docs/GL/gl/clearcolor.3gl b/doc/gl-docs/GL/gl/clearcolor.3gl
deleted file mode 100644
index 9413a1f14..000000000
--- a/doc/gl-docs/GL/gl/clearcolor.3gl
+++ /dev/null
@@ -1,44 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 clearcolo
-.ds Xs 36439 3 clearcolor.gl
-.TH GLCLEARCOLOR 3G
-.SH NAME
-.B "glClearColor
-\- specify clear values for the color buffers
-
-.SH C SPECIFICATION
-void \f3glClearColor\fP(
-GLclampf \fIred\fP,
-.nf
-.ta \w'\f3void \fPglClearColor( 'u
- GLclampf \fIgreen\fP,
- GLclampf \fIblue\fP,
- GLclampf \fIalpha\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2red\fP\ \f2green\fP\ \f2blue\fP\ \f2alpha\fP\ \ 'u
-\f2red\fP, \f2green\fP, \f2blue\fP, \f2alpha\fP
-Specify the red, green, blue, and alpha values used when the
-color buffers are cleared.
-The initial values are all 0.
-.SH DESCRIPTION
-\%\f3glClearColor\fP specifies the red,
-green,
-blue,
-and alpha values used by \%\f3glClear\fP to clear the color buffers.
-Values specified by \%\f3glClearColor\fP are clamped to the range [0,\ 1].
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glClearColor\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_COLOR_CLEAR_VALUE\fP
-.SH SEE ALSO
-\%\f3glClear(3G)\fP
diff --git a/doc/gl-docs/GL/gl/cleardepth.3gl b/doc/gl-docs/GL/gl/cleardepth.3gl
deleted file mode 100644
index 3a26f02ec..000000000
--- a/doc/gl-docs/GL/gl/cleardepth.3gl
+++ /dev/null
@@ -1,36 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 cleardept
-.ds Xs 62352 3 cleardepth.gl
-.TH GLCLEARDEPTH 3G
-.SH NAME
-.B "glClearDepth
-\- specify the clear value for the depth buffer
-
-.SH C SPECIFICATION
-void \f3glClearDepth\fP(
-GLclampd \fIdepth\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2depth\fP\ \ 'u
-\f2depth\fP
-Specifies the depth value used when the depth buffer is cleared. The
-initial value is 1.
-.SH DESCRIPTION
-\%\f3glClearDepth\fP specifies the depth value used by \%\f3glClear\fP to clear the depth buffer.
-Values specified by \%\f3glClearDepth\fP are clamped to the range [0,\ 1].
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glClearDepth\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_DEPTH_CLEAR_VALUE\fP
-.SH SEE ALSO
-\%\f3glClear(3G)\fP
diff --git a/doc/gl-docs/GL/gl/clearindex.3gl b/doc/gl-docs/GL/gl/clearindex.3gl
deleted file mode 100644
index d950bcc33..000000000
--- a/doc/gl-docs/GL/gl/clearindex.3gl
+++ /dev/null
@@ -1,47 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 clearinde
-.ds Xs 34830 3 clearindex.gl
-.TH GLCLEARINDEX 3G
-.SH NAME
-.B "glClearIndex
-\- specify the clear value for the color index buffers
-
-.SH C SPECIFICATION
-void \f3glClearIndex\fP(
-GLfloat \fIc\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2c\fP\ \ 'u
-\f2c\fP
-Specifies the index used when the color index buffers are cleared.
-The initial value is 0.
-.SH DESCRIPTION
-\%\f3glClearIndex\fP specifies the index used by \%\f3glClear\fP
-to clear the color index buffers.
-\f2c\fP is not clamped.
-Rather,
-\f2c\fP is converted to a fixed-point value with unspecified precision
-to the right of the binary point.
-The integer part of this value is then masked with $2 sup m^-^1$,
-where $m$ is the number of bits in a color index stored in the frame buffer.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glClearIndex\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_INDEX_CLEAR_VALUE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_INDEX_BITS\fP
-.SH SEE ALSO
-\%\f3glClear(3G)\fP
diff --git a/doc/gl-docs/GL/gl/clearstencil.3gl b/doc/gl-docs/GL/gl/clearstencil.3gl
deleted file mode 100644
index b3367b323..000000000
--- a/doc/gl-docs/GL/gl/clearstencil.3gl
+++ /dev/null
@@ -1,45 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 clearsten
-.ds Xs 64794 3 clearstencil.gl
-.TH GLCLEARSTENCIL 3G
-.SH NAME
-.B "glClearStencil
-\- specify the clear value for the stencil buffer
-
-.SH C SPECIFICATION
-void \f3glClearStencil\fP(
-GLint \fIs\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2s\fP\ \ 'u
-\f2s\fP
-Specifies the index used when the stencil buffer is cleared.
-The initial value is 0.
-.SH DESCRIPTION
-\%\f3glClearStencil\fP specifies the index used by \%\f3glClear\fP to clear the stencil buffer.
-\f2s\fP is masked with $2 sup m^-^1$,
-where $m$ is the number of bits in the stencil buffer.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glClearStencil\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_CLEAR_VALUE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_BITS\fP
-.SH SEE ALSO
-\%\f3glClear(3G)\fP,
-\%\f3glStencilFunc(3G)\fP,
-\%\f3glStencilOp(3G)\fP,
-\%\f3glStencilMask(3G)\fP
diff --git a/doc/gl-docs/GL/gl/clientactivetextureARB.3gl b/doc/gl-docs/GL/gl/clientactivetextureARB.3gl
deleted file mode 100644
index d9e4d76e9..000000000
--- a/doc/gl-docs/GL/gl/clientactivetextureARB.3gl
+++ /dev/null
@@ -1,54 +0,0 @@
-'\" et
-'\"! eqn|tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 19:46
-.ds Dm 001 clientac
-.ds Xs 18566 4 clientactivetextureARB.gl
-.TH GLCLIENTACTIVETEXTUREARB 3G
-.SH NAME
-.B "glClientActiveTextureARB
-\- select active texture unit
-
-.SH C SPECIFICATION
-void \f3glClientActiveTextureARB\fP(
-GLenum \fItexture\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2texture\fP\ \ 'u
-\f2texture\fP
-Specifies which texture unit to make active. The number
-of texture units is implementation dependent, but must be at least
-two. \f2texture\fP must be one of \%\f3GL_TEXTURE\fP$i$\f3_ARB\fP
-where 0 \(<= $ i $ < \%\f3GL_MAX_TEXTURE_UNITS_ARB\fP, which is an
-implementation-dependent value. The initial value is
-\%\f3GL_TEXTURE0_ARB\fP.
-.SH DESCRIPTION
-\%\f3glClientActiveTextureARB\fP selects the vertex array client state parameters to be modified by
-\%\f3glTexCoordPointer\fP, and enabled or disabled with
-\%\f3glEnableClientState\fP or \%\f3glDisableClientState\fP, respectively,
-when called with a parameter of \%\f3GL_TEXTURE_COORD_ARRAY\fP.
-.SH NOTES
-\%\f3glClientActiveTextureARB\fP is supported only if \%\f3GL_ARB_multitexture\fP is included in the
-string returned by \%\f3glGetString\fP when called with the argument
-\%\f3GL_EXTENSIONS\fP.
-.P
-\%\f3glClientActiveTextureARB\fP sets \%\f3GL_CLIENT_ACTIVE_TEXTURE_ARB\fP to the active texture unit.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2texture\fP is not one of
-\%\f3GL_TEXTURE\fP$i$\f3_ARB\fP, where
-0 \(<= $ i $ < \%\f3GL_MAX_TEXTURE_UNITS_ARB\fP.
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glDisableClientState(3G)\fP,
-\%\f3glEnableClientState(3G)\fP,
-\%\f3glMultiTexCoordARB(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/clipplane.3gl b/doc/gl-docs/GL/gl/clipplane.3gl
deleted file mode 100644
index 430e0b1e9..000000000
--- a/doc/gl-docs/GL/gl/clipplane.3gl
+++ /dev/null
@@ -1,81 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 clipplane
-.ds Xs 34226 5 clipplane.gl
-.TH GLCLIPPLANE 3G
-.SH NAME
-.B "glClipPlane
-\- specify a plane against which all geometry is clipped
-
-.SH C SPECIFICATION
-void \f3glClipPlane\fP(
-GLenum \fIplane\fP,
-.nf
-.ta \w'\f3void \fPglClipPlane( 'u
- const GLdouble \fI*equation\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIequation\fP\ \ 'u
-\f2plane\fP
-Specifies which clipping plane is being positioned.
-Symbolic names of the form \%\f3GL_CLIP_PLANE\fP\f2i\fP,
-where \f2i\fP is an integer between 0 and \%\f3GL_MAX_CLIP_PLANES\fP$^-^1$,
-are accepted.
-.TP
-\f2equation\fP
-Specifies the address of an array of four double-precision floating-point values.
-These values are interpreted as a plane equation.
-.SH DESCRIPTION
-Geometry is always clipped against the boundaries of a six-plane frustum
-in \f2x\fP, \f2y\fP, and \f2z\fP.
-\%\f3glClipPlane\fP allows the specification of additional planes,
-not necessarily perpendicular to the \f2x\fP, \f2y\fP, or \f2z\fP axis,
-against which all geometry is clipped.
-To determine the maximum number of additional clipping planes, call
-\%\f3glGetIntegerv\fP with argument \%\f3GL_MAX_CLIP_PLANES\fP. All
-implementations support at least six such clipping planes.
-Because the resulting clipping region is the intersection
-of the defined half-spaces,
-it is always convex.
-.P
-\%\f3glClipPlane\fP specifies a half-space using a four-component plane equation.
-When \%\f3glClipPlane\fP is called,
-\f2equation\fP is transformed by the inverse of the modelview matrix
-and stored in the resulting eye coordinates.
-Subsequent changes to the modelview matrix have no effect on the
-stored plane-equation components.
-If the dot product of the eye coordinates of a vertex with the
-stored plane equation components is positive or zero,
-the vertex is \f2in\f1 with respect to that clipping plane.
-Otherwise, it is \f2out\fP.
-.P
-To enable and disable clipping planes, call
-\%\f3glEnable\fP and \%\f3glDisable\fP with the argument
-\%\f3GL_CLIP_PLANE\fP\f2i\fP,
-where \f2i\fP is the plane number.
-.P
-All clipping planes are initially defined as (0, 0, 0, 0) in eye coordinates
-and are disabled.
-.SH NOTES
-It is always the case that \%\f3GL_CLIP_PLANE\fP$i$ = \%\f3GL_CLIP_PLANE0\fP$~+~i$.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2plane\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glClipPlane\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetClipPlane\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_CLIP_PLANE\fP\f2i\fP
-.SH SEE ALSO
-\%\f3glEnable(3G)\fP
diff --git a/doc/gl-docs/GL/gl/color.3gl b/doc/gl-docs/GL/gl/color.3gl
deleted file mode 100644
index 9cc94ffa9..000000000
--- a/doc/gl-docs/GL/gl/color.3gl
+++ /dev/null
@@ -1,269 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 color.gl
-.ds Xs 48493 5 color.gl
-.TH GLCOLOR 3G
-.SH NAME
-.B "glColor3b, glColor3d, glColor3f, glColor3i, glColor3s, glColor3ub, glColor3ui, glColor3us, glColor4b, glColor4d, glColor4f, glColor4i, glColor4s, glColor4ub, glColor4ui, glColor4us, glColor3bv, glColor3dv, glColor3fv, glColor3iv, glColor3sv, glColor3ubv, glColor3uiv, glColor3usv, glColor4bv, glColor4dv, glColor4fv, glColor4iv, glColor4sv, glColor4ubv, glColor4uiv, glColor4usv
-\- set the current color
-
-.SH C SPECIFICATION
-void \f3glColor3b\fP(
-GLbyte \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor3b( 'u
- GLbyte \fIgreen\fP,
- GLbyte \fIblue\fP )
-.fi
-void \f3glColor3d\fP(
-GLdouble \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor3d( 'u
- GLdouble \fIgreen\fP,
- GLdouble \fIblue\fP )
-.fi
-void \f3glColor3f\fP(
-GLfloat \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor3f( 'u
- GLfloat \fIgreen\fP,
- GLfloat \fIblue\fP )
-.fi
-void \f3glColor3i\fP(
-GLint \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor3i( 'u
- GLint \fIgreen\fP,
- GLint \fIblue\fP )
-.fi
-void \f3glColor3s\fP(
-GLshort \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor3s( 'u
- GLshort \fIgreen\fP,
- GLshort \fIblue\fP )
-.fi
-void \f3glColor3ub\fP(
-GLubyte \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor3ub( 'u
- GLubyte \fIgreen\fP,
- GLubyte \fIblue\fP )
-.fi
-void \f3glColor3ui\fP(
-GLuint \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor3ui( 'u
- GLuint \fIgreen\fP,
- GLuint \fIblue\fP )
-.fi
-void \f3glColor3us\fP(
-GLushort \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor3us( 'u
- GLushort \fIgreen\fP,
- GLushort \fIblue\fP )
-.fi
-void \f3glColor4b\fP(
-GLbyte \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor4b( 'u
- GLbyte \fIgreen\fP,
- GLbyte \fIblue\fP,
- GLbyte \fIalpha\fP )
-.fi
-void \f3glColor4d\fP(
-GLdouble \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor4d( 'u
- GLdouble \fIgreen\fP,
- GLdouble \fIblue\fP,
- GLdouble \fIalpha\fP )
-.fi
-void \f3glColor4f\fP(
-GLfloat \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor4f( 'u
- GLfloat \fIgreen\fP,
- GLfloat \fIblue\fP,
- GLfloat \fIalpha\fP )
-.fi
-void \f3glColor4i\fP(
-GLint \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor4i( 'u
- GLint \fIgreen\fP,
- GLint \fIblue\fP,
- GLint \fIalpha\fP )
-.fi
-void \f3glColor4s\fP(
-GLshort \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor4s( 'u
- GLshort \fIgreen\fP,
- GLshort \fIblue\fP,
- GLshort \fIalpha\fP )
-.fi
-void \f3glColor4ub\fP(
-GLubyte \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor4ub( 'u
- GLubyte \fIgreen\fP,
- GLubyte \fIblue\fP,
- GLubyte \fIalpha\fP )
-.fi
-void \f3glColor4ui\fP(
-GLuint \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor4ui( 'u
- GLuint \fIgreen\fP,
- GLuint \fIblue\fP,
- GLuint \fIalpha\fP )
-.fi
-void \f3glColor4us\fP(
-GLushort \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColor4us( 'u
- GLushort \fIgreen\fP,
- GLushort \fIblue\fP,
- GLushort \fIalpha\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2red\fP\ \f2green\fP\ \f2blue\fP\ \ 'u
-\f2red\fP, \f2green\fP, \f2blue\fP
-Specify new red, green, and blue values for the current color.
-.TP
-\f2alpha\fP
-Specifies a new alpha value for the current color.
-Included only in the four-argument \%\f3glColor4\fP commands.
-.SH C SPECIFICATION
-void \f3glColor3bv\fP(
-const GLbyte \fI*v\fP )
-.nf
-.fi
-void \f3glColor3dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glColor3fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glColor3iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glColor3sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glColor3ubv\fP(
-const GLubyte \fI*v\fP )
-.nf
-.fi
-void \f3glColor3uiv\fP(
-const GLuint \fI*v\fP )
-.nf
-.fi
-void \f3glColor3usv\fP(
-const GLushort \fI*v\fP )
-.nf
-.fi
-void \f3glColor4bv\fP(
-const GLbyte \fI*v\fP )
-.nf
-.fi
-void \f3glColor4dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glColor4fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glColor4iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glColor4sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glColor4ubv\fP(
-const GLubyte \fI*v\fP )
-.nf
-.fi
-void \f3glColor4uiv\fP(
-const GLuint \fI*v\fP )
-.nf
-.fi
-void \f3glColor4usv\fP(
-const GLushort \fI*v\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f2v\fP
-Specifies a pointer to an array that contains red, green, blue,
-and (sometimes) alpha values.
-.SH DESCRIPTION
-The GL stores both a current single-valued color index
-and a current four-valued RGBA color.
-\%\f3glColor\fP sets a new four-valued RGBA color.
-\%\f3glColor\fP has two major variants:
-\%\f3glColor3\fP and \%\f3glColor4\fP.
-\%\f3glColor3\fP variants specify new red,
-green,
-and blue values explicitly
-and set the current alpha value to 1.0 (full intensity) implicitly.
-\%\f3glColor4\fP variants specify all four color components explicitly.
-.P
-\%\f3glColor3b\fP, \%\f3glColor4b\fP,
-\%\f3glColor3s\fP, \%\f3glColor4s\fP, \%\f3glColor3i\fP, and \%\f3glColor4i\fP take
-three or four signed byte, short, or long integers as arguments.
-When \f3v\fP is appended to the name,
-the color commands can take a pointer to an array of such values.
-.P
-Current color values are stored in floating-point ,
-with unspecified mantissa and exponent sizes.
-Unsigned integer color components,
-when specified,
-are linearly mapped to floating-point values such that the largest
-representable value maps to 1.0 (full intensity),
-and 0 maps to 0.0 (zero intensity).
-Signed integer color components,
-when specified,
-are linearly mapped to floating-point values such that the most positive
-representable value maps to 1.0,
-and the most negative representable value maps to \-1.0. (Note that
-this mapping does not convert 0 precisely to 0.0.)
-Floating-point values are mapped directly.
-.P
-Neither floating-point nor signed integer values are clamped
-to the range [0,1] before the current color is updated.
-However,
-color components are clamped to this range before they are interpolated
-or written into a color buffer.
-.SH NOTES
-The initial value for the current color is (1, 1, 1, 1).
-.P
-The current color can be updated at any time.
-In particular,
-\%\f3glColor\fP can be called between a call to \%\f3glBegin\fP and the corresponding
-call to \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_COLOR\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_RGBA_MODE\fP
-.SH SEE ALSO
-\%\f3glIndex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/colormask.3gl b/doc/gl-docs/GL/gl/colormask.3gl
deleted file mode 100644
index 3dd9fbc19..000000000
--- a/doc/gl-docs/GL/gl/colormask.3gl
+++ /dev/null
@@ -1,58 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 colormask
-.ds Xs 41408 4 colormask.gl
-.TH GLCOLORMASK 3G
-.SH NAME
-.B "glColorMask
-\- enable and disable writing of frame buffer color components
-
-.SH C SPECIFICATION
-void \f3glColorMask\fP(
-GLboolean \fIred\fP,
-.nf
-.ta \w'\f3void \fPglColorMask( 'u
- GLboolean \fIgreen\fP,
- GLboolean \fIblue\fP,
- GLboolean \fIalpha\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2red\fP\ \f2green\fP\ \f2blue\fP\ \f2alpha\fP\ \ 'u
-\f2red\fP, \f2green\fP, \f2blue\fP, \f2alpha\fP
-Specify whether red, green, blue, and alpha can or cannot be written
-into the frame buffer.
-The initial values are all \%\f3GL_TRUE\fP,
-indicating that the color components can be written.
-.SH DESCRIPTION
-\%\f3glColorMask\fP specifies whether the individual color components in the frame buffer
-can or cannot be written.
-If \f2red\fP is \%\f3GL_FALSE\fP,
-for example,
-no change is made to the red component of any pixel in any of the
-color buffers,
-regardless of the drawing operation attempted.
-.P
-Changes to individual bits of components cannot be controlled.
-Rather,
-changes are either enabled or disabled for entire color components.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glColorMask\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_COLOR_WRITEMASK\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_RGBA_MODE\fP
-.SH SEE ALSO
-\%\f3glClear(3G)\fP,
-\%\f3glColor(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDepthMask(3G)\fP,
-\%\f3glIndex(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glIndexMask(3G)\fP,
-\%\f3glStencilMask(3G)\fP
diff --git a/doc/gl-docs/GL/gl/colormaterial.3gl b/doc/gl-docs/GL/gl/colormaterial.3gl
deleted file mode 100644
index bb86ecc45..000000000
--- a/doc/gl-docs/GL/gl/colormaterial.3gl
+++ /dev/null
@@ -1,94 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 colormate
-.ds Xs 35305 5 colormaterial.gl
-.TH GLCOLORMATERIAL 3G
-.SH NAME
-.B "glColorMaterial
-\- cause a material color to track the current color
-
-.SH C SPECIFICATION
-void \f3glColorMaterial\fP(
-GLenum \fIface\fP,
-.nf
-.ta \w'\f3void \fPglColorMaterial( 'u
- GLenum \fImode\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2face\fP\ \ 'u
-\f2face\fP
-Specifies whether front,
-back,
-or both front and back material parameters should track the current color.
-Accepted values are
-\%\f3GL_FRONT\fP,
-\%\f3GL_BACK\fP,
-and \%\f3GL_FRONT_AND_BACK\fP.
-The initial value is \%\f3GL_FRONT_AND_BACK\fP.
-.TP
-\f2mode\fP
-Specifies which of several material parameters track the current color.
-Accepted values are
-\%\f3GL_EMISSION\fP,
-\%\f3GL_AMBIENT\fP,
-\%\f3GL_DIFFUSE\fP,
-\%\f3GL_SPECULAR\fP,
-and \%\f3GL_AMBIENT_AND_DIFFUSE\fP.
-The initial value is \%\f3GL_AMBIENT_AND_DIFFUSE\fP.
-.SH DESCRIPTION
-\%\f3glColorMaterial\fP specifies which material parameters track the current color.
-When \%\f3GL_COLOR_MATERIAL\fP is enabled,
-the material parameter or parameters specified by \f2mode\fP,
-of the material or materials specified by \f2face\fP,
-track the current color at all times.
-.P
-To enable and disable \%\f3GL_COLOR_MATERIAL\fP, call
-\%\f3glEnable\fP and \%\f3glDisable\fP with argument \%\f3GL_COLOR_MATERIAL\fP.
-\%\f3GL_COLOR_MATERIAL\fP is initially disabled.
-.SH NOTES
-\%\f3glColorMaterial\fP makes it possible to change a subset of material parameters for each
-vertex using only the \%\f3glColor\fP command,
-without calling \%\f3glMaterial\fP.
-If only such a subset of parameters is to be specified for each
-vertex, calling \%\f3glColorMaterial\fP is preferable to calling \%\f3glMaterial\fP.
-.P
-Call \%\f3glColorMaterial\fP before enabling \%\f3GL_COLOR_MATERIAL\fP.
-.P
-Calling \%\f3glDrawElements\fP, \%\f3glDrawArrays\fP, or \%\f3glDrawRangeElements\fP
-may leave the current color indeterminate, if the color array is enabled.
-If
-\%\f3glColorMaterial\fP is enabled while the current color is indeterminate, the
-lighting material state specified by \f2face\fP and \f2mode\fP is also indeterminate.
-.P
-If the GL version is 1.1 or greater, and \%\f3GL_COLOR_MATERIAL\fP is
-enabled, evaluated color values affect the results of the lighting
-equation as if the current color were being modified, but no change is
-made to the tracking lighting parameter of the current color.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2face\fP or \f2mode\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glColorMaterial\fP is executed between
-the execution of \%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_COLOR_MATERIAL\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATERIAL_PARAMETER\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATERIAL_FACE\fP
-.SH SEE ALSO
-\%\f3glColor(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glDrawRangeElements(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glLight(3G)\fP,
-\%\f3glLightModel(3G)\fP,
-\%\f3glMaterial(3G)\fP
diff --git a/doc/gl-docs/GL/gl/colorpointer.3gl b/doc/gl-docs/GL/gl/colorpointer.3gl
deleted file mode 100644
index 7ab365e10..000000000
--- a/doc/gl-docs/GL/gl/colorpointer.3gl
+++ /dev/null
@@ -1,123 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 colorpoin
-.ds Xs 1769 6 colorpointer.gl
-.TH GLCOLORPOINTER 3G
-.SH NAME
-.B "glColorPointer
-\- define an array of colors
-
-.SH C SPECIFICATION
-void \f3glColorPointer\fP(
-GLint \fIsize\fP,
-.nf
-.ta \w'\f3void \fPglColorPointer( 'u
- GLenum \fItype\fP,
- GLsizei \fIstride\fP,
- const GLvoid \fI*ptr\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIstride\fP\ \ 'u
-\f2size\fP
-Specifies the number of components per color. Must be 3 or 4.
-The initial value is 4.
-.TP
-\f2type\fP
-Specifies the data type of each color component in the array.
-Symbolic constants
-\%\f3GL_BYTE\fP,
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_FLOAT\fP,
-and
-\%\f3GL_DOUBLE\fP
-are accepted.
-The initial value is \%\f3GL_FLOAT\fP.
-.TP
-\f2stride\fP
-Specifies the byte offset between consecutive colors.
-If \f2stride\fP is 0 (the initial value), the colors are understood to be
-tightly packed in the array. The initial value is 0.
-.TP
-\f2ptr\fP
-Specifies a pointer to the first component of the first color element
-in the array.
-.SH DESCRIPTION
-\%\f3glColorPointer\fP specifies the location and data of an array of color components
-to use when rendering.
-\f2size\fP specifies the number of components per color, and must be 3 or 4.
-\f2type\fP specifies the data type of each color component, and \f2stride\fP
-specifies the byte stride from one color to the next allowing vertices and
-attributes to be packed into a single array or stored in separate arrays.
-(Single-array storage may be more efficient on some implementations;
-see \%\f3glInterleavedArrays\fP.)
-.P
-When a color array is specified,
-\f2size\fP, \f2type\fP, \f2stride\fP, and \f2ptr\fP are saved as client-side
-state.
-.P
-To enable and disable the color array, call \%\f3glEnableClientState\fP and
-.br
-\%\f3glDisableClientState\fP with the argument \%\f3GL_COLOR_ARRAY\fP. If
-enabled, the color array is used when \%\f3glDrawArrays\fP,
-\%\f3glDrawElements\fP, \%\f3glDrawRangeElements\fP, or \%\f3glArrayElement\fP is
-called.
-.SH NOTES
-\%\f3glColorPointer\fP is available only if the GL version is 1.1 or greater.
-.P
-The color array is initially disabled and isn't accessed when
-\%\f3glArrayElement\fP, \%\f3glDrawArrays\fP, \%\f3glDrawRangeElements\fP,
-or \%\f3glDrawElements\fP is called.
-.P
-Execution of \%\f3glColorPointer\fP is not allowed between the execution of
-\%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP,
-but an error may or may not be generated. If no error is generated,
-the operation is undefined.
-.P
-\%\f3glColorPointer\fP is typically implemented on the client side.
-.P
-Color array parameters are client-side state and are therefore not saved
-or restored by \%\f3glPushAttrib\fP and \%\f3glPopAttrib\fP.
-Use \%\f3glPushClientAttrib\fP and \%\f3glPopClientAttrib\fP instead.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2size\fP is not 3 or 4.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2stride\fP is negative.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_COLOR_ARRAY\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_ARRAY_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_ARRAY_TYPE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_ARRAY_STRIDE\fP
-.br
-\%\f3glGetPointerv\fP with argument \%\f3GL_COLOR_ARRAY_POINTER\fP
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glPopClientAttrib(3G)\fP,
-\%\f3glPushClientAttrib(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/colorsubtable.3gl b/doc/gl-docs/GL/gl/colorsubtable.3gl
deleted file mode 100644
index 6072db63b..000000000
--- a/doc/gl-docs/GL/gl/colorsubtable.3gl
+++ /dev/null
@@ -1,116 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 colorsubt
-.ds Xs 37035 5 colorsubtable.gl
-.TH GLCOLORSUBTABLE 3G
-.SH NAME
-.B "glColorSubTable
-\- respecify a portion of a color table
-
-.SH C SPECIFICATION
-void \f3glColorSubTable\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglColorSubTable( 'u
- GLsizei \fIstart\fP,
- GLsizei \fIcount\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*data\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be one of
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, or
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.TP
-\f2start\fP
-The starting index of the portion of the color table to be replaced.
-.TP
-\f2count\fP
-The number of table entries to replace.
-.TP
-\f2format\fP
-The of the pixel data in \f2data\fP.
-The allowable values are
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP, and
-\%\f3GL_BGRA\fP.
-.TP
-\f2type\fP
-The type of the pixel data in \f2data\fP.
-The allowable values are
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2data\fP
-Pointer to a one-dimensional array of pixel data that is processed to
-replace the specified region of the color table.
-.SH DESCRIPTION
-\%\f3glColorSubTable\fP is used to respecify a contiguous portion of a color table previously
-defined using \%\f3glColorTable\fP. The pixels referenced by \f2data\fP replace the
-portion of the existing table from indices \f2start\fP to
-$"start"~+~"count"~-~1$, inclusive. This region may not include any
-entries outside the range of the color table as it was originally specified.
-It is not an error to specify a subtexture with width of 0, but such a
-specification has no effect.
-.SH NOTES
-\%\f3glColorSubTable\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.P
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if $"start"~+~"count"~>~width$.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glColorSubTable\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetColorTable\fP,
-\%\f3glGetColorTableParameter\fP
-.SH SEE ALSO
-\%\f3glColorSubTable(3G)\fP,
-\%\f3glColorTableParameter(3G)\fP,
-\%\f3glCopyColorTable(3G)\fP,
-\%\f3glCopyColorSubTable(3G)\fP,
-\%\f3glGetColorTable(3G)\fP
diff --git a/doc/gl-docs/GL/gl/colortable.3gl b/doc/gl-docs/GL/gl/colortable.3gl
deleted file mode 100644
index 328900f27..000000000
--- a/doc/gl-docs/GL/gl/colortable.3gl
+++ /dev/null
@@ -1,306 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 colortabl
-.ds Xs 60942 11 colortable.gl
-.TH GLCOLORTABLE 3G
-.SH NAME
-.B "glColorTable
-\- define a color lookup table
-
-.SH C SPECIFICATION
-void \f3glColorTable\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglColorTable( 'u
- GLenum \fIinternalformat\fP,
- GLsizei \fIwidth\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*table\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-Must be one of
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP,
-\%\f3GL_PROXY_COLOR_TABLE\fP,
-\%\f3GL_PROXY_POST_CONVOLUTION_COLOR_TABLE\fP,
-or
-\%\f3GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.TP
-\f2internalformat\fP
-The internal of the color table.
-The allowable values are
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, and
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP
-The number of entries in the color lookup table specified by \f2table\fP.
-.TP
-\f2format\fP
-The of the pixel data in \f2table\fP.
-The allowable values are
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP, and
-\%\f3GL_BGRA\fP.
-.TP
-\f2type\fP
-The type of the pixel data in \f2table\fP.
-The allowable values are
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2table\fP
-Pointer to a one-dimensional array of pixel data that is processed to
-build the color table.
-.SH DESCRIPTION
-\%\f3glColorTable\fP may be used in two ways:
-to test the actual size and color resolution of a lookup table
-given a particular set of parameters,
-or to load the contents of a color lookup
-table.
-Use the targets \%\f3GL_PROXY_*\fP for the first case
-and the other targets for the second case.
-.P
-If \f2target\fP is \%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
-or
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP,
-\%\f3glColorTable\fP builds a color lookup table from an array of pixels.
-The pixel array specified by \f2width\fP, \f2format\fP, \f2type\fP, and \f2table\fP
-is extracted from memory and
-processed just as if \%\f3glDrawPixels\fP were called, but processing
-stops after the final expansion to RGBA is completed.
-.P
-The four scale parameters and the four bias parameters that are defined
-for the table are then used to scale and bias the R, G, B, and A components
-of each pixel.
-(Use \%\f3glColorTableParameter\fP to set these scale and bias
-parameters.)
-.P
-Next, the R, G, B, and A values are clamped to the range [0,\ 1].
-Each pixel is then converted to the internal specified by
-\f2internalformat\fP.
-This conversion simply maps the component values of the pixel (R, G, B,
-and A) to the values included in the internal (red, green, blue,
-alpha, luminance, and intensity). The mapping is as follows:
-.P
-.TS
-center;
-lb cb cb cb cb cb cb
-l c c c c c c.
-_
-Internal Format Red Green Blue Alpha Luminance Intensity
-_
-\%\f3GL_ALPHA\fP A
-\%\f3GL_LUMINANCE\fP R
-\%\f3GL_LUMINANCE_ALPHA\fP A R
-\%\f3GL_INTENSITY\fP R
-\%\f3GL_RGB\fP R G B
-\%\f3GL_RGBA\fP R G B A
-_
-.TE
-.P
-Finally, the red, green, blue, alpha, luminance, and/or intensity components of
-the resulting pixels are stored in the color table.
-They form a one-dimensional table with indices in the range
-[0,\ \f2width\fP\ \-\ 1].
-.P
-If \f2target\fP is \%\f3GL_PROXY_*\fP,
-\%\f3glColorTable\fP recomputes and stores the values of the proxy color table's state
-variables
-\%\f3GL_COLOR_TABLE_FORMAT\fP,
-\%\f3GL_COLOR_TABLE_WIDTH\fP,
-\%\f3GL_COLOR_TABLE_RED_SIZE\fP,
-\%\f3GL_COLOR_TABLE_GREEN_SIZE\fP,
-\%\f3GL_COLOR_TABLE_BLUE_SIZE\fP,
-\%\f3GL_COLOR_TABLE_ALPHA_SIZE\fP,
-\%\f3GL_COLOR_TABLE_LUMINANCE_SIZE\fP, and
-\%\f3GL_COLOR_TABLE_INTENSITY_SIZE\fP.
-There is no effect on the image or state of any actual color table.
-If the specified color table is too large to be supported, then all the
-proxy state variables listed above are set to zero.
-Otherwise, the color table could be supported by \%\f3glColorTable\fP
-using the corresponding non-proxy target,
-and the proxy state variables are set as if that target were being defined.
-.P
-The proxy state variables can be retrieved by calling
-\%\f3glGetColorTableParameter\fP with a target of
-\%\f3GL_PROXY_*\fP.
-This allows the application to decide if a particular \%\f3glColorTable\fP
-command would succeed, and to determine what the resulting color table
-attributes would be.
-.P
-If a color table is enabled, and its width is non-zero, then its
-contents are used to replace a subset of the components of each RGBA
-pixel group, based on the internal of the table.
-.P
-Each pixel group has color components (R, G, B, A)
-that are in the range [0.0,\ 1.0].
-The color components are rescaled to
-the size of the color lookup table to form an index.
-Then a subset of the components based on the internal of the table are
-replaced by the table entry selected by that index.
-If the color components and contents of the table are represented as follows:
-.P
-.TS
-center;
-cb cb
-c l.
-_
-Representation Meaning
-_
-\f7r\fP Table index computed from \f7R\fP
-\f7g\fP Table index computed from \f7G\fP
-\f7b\fP Table index computed from \f7B\fP
-\f7a\fP Table index computed from \f7A\fP
-\f7L[i]\fP Luminance value at table index \f7i\fP
-\f7I[i]\fP Intensity value at table index \f7i\fP
-\f7R[i]\fP Red value at table index \f7i\fP
-\f7G[i]\fP Green value at table index \f7i\fP
-\f7B[i]\fP Blue value at table index \f7i\fP
-\f7A[i]\fP Alpha value at table index \f7i\fP
-_
-.TE
-.P
-then the result of color table lookup is as follows:
-.P
-.ne 10
-.TS
-center;
-l l s s s
-l l l l l
-l l l l l.
-_
- Resulting Texture Components
-Table Internal Format R G B A
-_
-\%\f3GL_ALPHA\fP R G B A[a]
-\%\f3GL_LUMINANCE\fP L[r] L[g] L[b] At
-\%\f3GL_LUMINANCE_ALPHA\fP L[r] L[g] L[b] A[a]
-\%\f3GL_INTENSITY\fP I[r] I[g] I[b] I[a]
-\%\f3GL_RGB\fP R[r] G[g] B[b] A
-\%\f3GL_RGBA\fP R[r] G[g] B[b] A[a]
-_
-.TE
-.P
-When \%\f3GL_COLOR_TABLE\fP is enabled, the colors resulting from
-the pixel map operation (if it is enabled) are mapped
-by the color lookup table before being passed to the convolution
-operation. The colors resulting from the convolution operation
-are modified by the post convolution color lookup table when
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP
-is enabled. These modified colors are then sent to the color matrix operation.
-Finally, if \%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP
-is enabled, the colors resulting from the color matrix operation
-are mapped by the post color matrix color lookup table before being
-used by the histogram operation.
-.P
-.SH NOTES
-\%\f3glColorTable\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.P
-If \f2target\fP is set to \%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
-or \%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP,
-then \f2width\fP must be a power of two or a \%\f3GL_INVALID_VALUE\fP
-error is generated.
-.P
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than zero.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_TABLE_TOO_LARGE\fP is generated if the requested color table
-is too large to be supported by the implementation, and \f2target\fP is
-not a \%\f3GL_PROXY_*\fP target.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glColorTable\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetColorTableParameter\fP
-.SH SEE ALSO
-\%\f3glColorSubTable(3G)\fP,
-\%\f3glColorTableParameter(3G)\fP,
-\%\f3glCopyColorTable(3G)\fP,
-\%\f3glCopyColorSubTable(3G)\fP,
-\%\f3glGetColorTable(3G)\fP
diff --git a/doc/gl-docs/GL/gl/colortableparameter.3gl b/doc/gl-docs/GL/gl/colortableparameter.3gl
deleted file mode 100644
index fce17e2f2..000000000
--- a/doc/gl-docs/GL/gl/colortableparameter.3gl
+++ /dev/null
@@ -1,86 +0,0 @@
-'\" te
-'\"! tbl | eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 19:42
-.ds Dm 01 colortabl
-.ds Xs 4422 4 colortableparameter.gl
-.TH GLCOLORTABLEPARAMETER 3G
-.SH NAME
-.B "glColorTableParameteriv, glColorTableParameterfv
-\- set color lookup table parameters
-
-.SH C SPECIFICATION
-void \f3glColorTableParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglColorTableParameteriv( 'u
- GLenum \fIpname\fP,
- const GLint \fI*params\fP )
-.fi
-void \f3glColorTableParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglColorTableParameterfv( 'u
- GLenum \fIpname\fP,
- const GLfloat \fI*params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-The target color table.
-Must be
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, or
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.TP
-\f2pname\fP
-The symbolic name of a texture color lookup table parameter.
-Must be one of
-\%\f3GL_COLOR_TABLE_SCALE\fP or
-\%\f3GL_COLOR_TABLE_BIAS\fP.
-.TP
-\f2params\fP
-A pointer to an array where the values of the parameters are stored.
-.SH DESCRIPTION
-\%\f3glColorTableParameter\fP is used to specify the scale factors and bias terms applied to
-color components when they are loaded into a color table. \f2target\fP
-indicates which color table the scale and bias terms apply to; it
-must be set to
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, or
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.P
-\f2pname\fP must be \%\f3GL_COLOR_TABLE_SCALE\fP to set the
-scale factors.
-In this case, \f2params\fP points to an array of four values, which are
-the scale factors for red, green, blue, and alpha, in that order.
-.P
-\f2pname\fP must be \%\f3GL_COLOR_TABLE_BIAS\fP to set the
-bias terms. In this case,
-\f2params\fP points to an array of four values, which are the bias
-terms for red, green, blue, and alpha, in that order.
-.P
-The color tables themselves are specified by
-calling \%\f3glColorTable\fP.
-.SH NOTES
-\%\f3glColorTableParameter\fP is available only if \%\f3GL_ARB_imaging\fP is returned from calling
-\%\f3glGetString\fP with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP or \f2pname\fP is not
-an acceptable value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glColorTableParameter\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetColorTableParameter\fP
-.SH SEE ALSO
-\%\f3glColorTable(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/convolutionfilter1d.3gl b/doc/gl-docs/GL/gl/convolutionfilter1d.3gl
deleted file mode 100644
index a76c3cb6a..000000000
--- a/doc/gl-docs/GL/gl/convolutionfilter1d.3gl
+++ /dev/null
@@ -1,220 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 convoluti
-.ds Xs 19959 8 convolutionfilter1d.gl
-.TH GLCONVOLUTIONFILTER1D 3G
-.SH NAME
-.B "glConvolutionFilter1D
-\- define a one-dimensional convolution filter
-
-.SH C SPECIFICATION
-void \f3glConvolutionFilter1D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglConvolutionFilter1D( 'u
- GLenum \fIinternalformat\fP,
- GLsizei \fIwidth\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*image\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-Must be \%\f3GL_CONVOLUTION_1D\fP.
-.TP
-\f2internalformat\fP
-The internal of the convolution filter kernel.
-The allowable values are
-\%\f3GL_ALPHA\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_RGB\fP, and
-\%\f3GL_RGBA\fP.
-.TP
-\f2width\fP
-The width of the pixel array referenced by \f2image\fP.
-.TP
-\f2format\fP
-The of the pixel data in \f2image\fP.
-The allowable values are
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2type\fP
-The type of the pixel data in \f2image\fP.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2image\fP
-Pointer to a one-dimensional array of pixel data that is processed to
-build the convolution filter kernel.
-.SH DESCRIPTION
-\%\f3glConvolutionFilter1D\fP builds a one-dimensional convolution filter kernel from an array of
-pixels.
-.sp
-The pixel array specified by \f2width\fP, \f2format\fP, \f2type\fP, and \f2image\fP
-is extracted from memory and
-processed just as if \%\f3glDrawPixels\fP were called, but processing
-stops after the final expansion to RGBA is completed.
-.sp
-The R, G, B, and A components of each pixel are next scaled by the four
-1D \%\f3GL_CONVOLUTION_FILTER_SCALE\fP parameters and biased by the
-four 1D \%\f3GL_CONVOLUTION_FILTER_BIAS\fP parameters.
-(The scale and bias parameters are set by \%\f3glConvolutionParameter\fP
-using the \%\f3GL_CONVOLUTION_1D\fP target and the names
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP and \%\f3GL_CONVOLUTION_FILTER_BIAS\fP.
-The parameters themselves are vectors of four values that are applied to red,
-green, blue, and alpha, in that order.)
-The R, G, B, and A values are not clamped to [0,1] at any time during this
-process.
-.sp
-Each pixel is then converted to the internal specified by
-\f2internalformat\fP.
-This conversion simply maps the component values of the pixel (R, G, B,
-and A) to the values included in the internal (red, green, blue,
-alpha, luminance, and intensity). The mapping is as follows:
-.sp
-.TS
-center;
-lb cb cb cb cb cb cb
-l c c c c c c.
-_
-Internal Format Red Green Blue Alpha Luminance Intensity
-_
-\%\f3GL_ALPHA\fP A
-\%\f3GL_LUMINANCE\fP R
-\%\f3GL_LUMINANCE_ALPHA\fP A R
-\%\f3GL_INTENSITY\fP R
-\%\f3GL_RGB\fP R G B
-\%\f3GL_RGBA\fP R G B A
-_
-.TE
-.sp
-The red, green, blue, alpha, luminance, and/or intensity components of
-the resulting pixels are stored in floating-point rather than integer
-.
-They form a one-dimensional filter kernel image indexed with coordinate
-\f2i\fP such that \f2i\fP starts at 0 and increases from left to right.
-Kernel location \f2i\fP is derived from the \f2i\fPth pixel, counting from 0.
-.PP
-Note that after a convolution is performed, the resulting color
-components are also scaled by their corresponding
-\%\f3GL_POST_CONVOLUTION_c_SCALE\fP parameters and biased by their
-corresponding \%\f3GL_POST_CONVOLUTION_c_BIAS\fP parameters (where
-\f2c\fP takes on the values \f3RED\fP, \f3GREEN\fP, \f3BLUE\fP, and
-\f3ALPHA\fP).
-These parameters are set by \%\f3glPixelTransfer\fP.
-.SH NOTES
-\%\f3glConvolutionFilter1D\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not
-\%\f3GL_CONVOLUTION_1D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than zero or greater
-than the maximum supported value.
-This value may be queried with \%\f3glGetConvolutionParameter\fP
-using target \%\f3GL_CONVOLUTION_1D\fP and name
-\%\f3GL_MAX_CONVOLUTION_WIDTH\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glConvolutionFilter1D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2type\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2type\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetConvolutionParameter\fP, \%\f3glGetConvolutionFilter\fP
-.SH SEE ALSO
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP,
-\%\f3glConvolutionParameter(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/convolutionfilter2d.3gl b/doc/gl-docs/GL/gl/convolutionfilter2d.3gl
deleted file mode 100644
index cb4618c6e..000000000
--- a/doc/gl-docs/GL/gl/convolutionfilter2d.3gl
+++ /dev/null
@@ -1,236 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 convoluti
-.ds Xs 37578 9 convolutionfilter2d.gl
-.TH GLCONVOLUTIONFILTER2D 3G
-.SH NAME
-.B "glConvolutionFilter2D
-\- define a two-dimensional convolution filter
-
-.SH C SPECIFICATION
-void \f3glConvolutionFilter2D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglConvolutionFilter2D( 'u
- GLenum \fIinternalformat\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*image\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-Must be \%\f3GL_CONVOLUTION_2D\fP.
-.TP
-\f2internalformat\fP
-The internal of the convolution filter kernel.
-The allowable values are
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP
-The width of the pixel array referenced by \f2image\fP.
-.TP
-\f2height\fP
-The height of the pixel array referenced by \f2image\fP.
-.TP
-\f2format\fP
-The of the pixel data in \f2image\fP.
-The allowable values are
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-The type of the pixel data in \f2image\fP.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2image\fP
-Pointer to a two-dimensional array of pixel data that is processed to
-build the convolution filter kernel.
-.SH DESCRIPTION
-\%\f3glConvolutionFilter2D\fP builds a two-dimensional convolution filter kernel from an array of
-pixels.
-.sp
-The pixel array specified by \f2width\fP, \f2height\fP, \f2format\fP, \f2type\fP, and
-\f2image\fP is extracted from memory and processed just as if
-\%\f3glDrawPixels\fP were called, but processing stops after the final
-expansion to RGBA is completed.
-.sp
-The R, G, B, and A components of each pixel are next scaled by the four
-2D \%\f3GL_CONVOLUTION_FILTER_SCALE\fP parameters and biased by the
-four 2D \%\f3GL_CONVOLUTION_FILTER_BIAS\fP parameters.
-(The scale and bias parameters are set by \%\f3glConvolutionParameter\fP
-using the \%\f3GL_CONVOLUTION_2D\fP target and the names
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP and \%\f3GL_CONVOLUTION_FILTER_BIAS\fP.
-The parameters themselves are vectors of four values that are applied to red,
-green, blue, and alpha, in that order.)
-The R, G, B, and A values are not clamped to [0,1] at any time during this
-process.
-.sp
-Each pixel is then converted to the internal specified by
-\f2internalformat\fP.
-This conversion simply maps the component values of the pixel (R, G, B,
-and A) to the values included in the internal (red, green, blue,
-alpha, luminance, and intensity). The mapping is as follows:
-.sp
-.TS
-center;
-lb cb cb cb cb cb cb
-l c c c c c c.
-_
-Internal Format Red Green Blue Alpha Luminance Intensity
-_
-\%\f3GL_ALPHA\fP A
-\%\f3GL_LUMINANCE\fP R
-\%\f3GL_LUMINANCE_ALPHA\fP A R
-\%\f3GL_INTENSITY\fP R
-\%\f3GL_RGB\fP R G B
-\%\f3GL_RGBA\fP R G B A
-_
-.TE
-.sp
-The red, green, blue, alpha, luminance, and/or intensity components of
-the resulting pixels are stored in floating-point rather than integer
-.
-They form a two-dimensional filter kernel image indexed with coordinates
-\f2i\fP and \f2j\fP such that \f2i\fP starts at zero and increases from left
-to right, and \f2j\fP starts at zero and increases from bottom to top.
-Kernel location \f2i,j\fP is derived from the \f2N\fPth pixel,
-where \f2N\fP is \f2i\fP+\f2j\fP*\f2width\fP.
-.PP
-Note that after a convolution is performed, the resulting color
-components are also scaled by their corresponding
-\%\f3GL_POST_CONVOLUTION_c_SCALE\fP parameters and biased by their
-corresponding \%\f3GL_POST_CONVOLUTION_c_BIAS\fP parameters (where
-\f2c\fP takes on the values \f3RED\fP, \f3GREEN\fP, \f3BLUE\fP, and
-\f3ALPHA\fP).
-These parameters are set by \%\f3glPixelTransfer\fP.
-.SH NOTES
-\%\f3glConvolutionFilter2D\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not
-\%\f3GL_CONVOLUTION_2D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than zero or greater
-than the maximum supported value.
-This value may be queried with \%\f3glGetConvolutionParameter\fP
-using target \%\f3GL_CONVOLUTION_2D\fP and name
-\%\f3GL_MAX_CONVOLUTION_WIDTH\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2height\fP is less than zero or greater
-than the maximum supported value.
-This value may be queried with \%\f3glGetConvolutionParameter\fP
-using target \%\f3GL_CONVOLUTION_2D\fP and name
-\%\f3GL_MAX_CONVOLUTION_HEIGHT\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glConvolutionFilter2D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2height\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2height\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetConvolutionParameter\fP, \%\f3glGetConvolutionFilter\fP
-.SH SEE ALSO
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP,
-\%\f3glConvolutionParameter(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/convolutionparameter.3gl b/doc/gl-docs/GL/gl/convolutionparameter.3gl
deleted file mode 100644
index f55cbe098..000000000
--- a/doc/gl-docs/GL/gl/convolutionparameter.3gl
+++ /dev/null
@@ -1,173 +0,0 @@
-'\" et
-'\"! eqn|tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 convoluti
-.ds Xs 40911 7 convolutionparameter.gl
-.TH GLCONVOLUTIONPARAMETER 3G
-.SH NAME
-.B "glConvolutionParameterf, glConvolutionParameteri, glConvolutionParameterfv, glConvolutionParameteriv
-\- set convolution parameters
-
-.SH C SPECIFICATION
-void \f3glConvolutionParameterf\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglConvolutionParameterf( 'u
- GLenum \fIpname\fP,
- GLfloat \fIparams\fP )
-.fi
-void \f3glConvolutionParameteri\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglConvolutionParameteri( 'u
- GLenum \fIpname\fP,
- GLint \fIparams\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.sp -1
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-The target for the convolution parameter.
-Must be one of
-\%\f3GL_CONVOLUTION_1D\fP,
-\%\f3GL_CONVOLUTION_2D\fP, or
-\%\f3GL_SEPARABLE_2D\fP.
-.TP
-\f2pname\fP
-The parameter to be set.
-Must be
-\%\f3GL_CONVOLUTION_BORDER_MODE\fP.
-.TP
-\f2params\fP
-The parameter value.
-Must be one of
-\%\f3GL_REDUCE\fP, \%\f3GL_CONSTANT_BORDER\fP, \%\f3GL_REPLICATE_BORDER\fP.
-.sp 2
-.SH C SPECIFICATION
-void \f3glConvolutionParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglConvolutionParameterfv( 'u
- GLenum \fIpname\fP,
- const GLfloat \fI*params\fP )
-.fi
-void \f3glConvolutionParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglConvolutionParameteriv( 'u
- GLenum \fIpname\fP,
- const GLint \fI*params\fP )
-.fi
-
-.sp -1
-.SH PARAMETERS
-.TP
-\f2target\fP
-The target for the convolution parameter.
-Must be one of
-\%\f3GL_CONVOLUTION_1D\fP,
-\%\f3GL_CONVOLUTION_2D\fP, or
-\%\f3GL_SEPARABLE_2D\fP.
-.TP
-\f2pname\fP
-The parameter to be set.
-Must be one of
-\%\f3GL_CONVOLUTION_BORDER_MODE\fP,
-\%\f3GL_CONVOLUTION_BORDER_COLOR\fP,
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP, or
-\%\f3GL_CONVOLUTION_FILTER_BIAS\fP.
-.TP
-\f2params\fP
-The parameter value.
-If \f2pname\fP is \%\f3GL_CONVOLUTION_BORDER_MODE\fP, \f2params\fP must be one of
-\%\f3GL_REDUCE\fP, \%\f3GL_CONSTANT_BORDER\fP, or \%\f3GL_REPLICATE_BORDER\fP.
-Otherwise, must be a vector of four values (for red, green, blue, and alpha,
-respectively) to be used for
-scaling (when \f2pname\fP is \%\f3GL_CONVOLUTION_FILTER_SCALE\fP), or
-biasing (when \f2pname\fP is \%\f3GL_CONVOLUTION_FILTER_BIAS\fP) a convolution
-filter kernel or setting the constant border color (when \f2pname\fP is
-\%\f3GL_CONVOLUTION_BORDER_COLOR\fP.
-.SH DESCRIPTION
-\%\f3glConvolutionParameter\fP sets the value of a convolution parameter.
-.sp
-\f2target\fP selects the convolution filter to be affected:
-\%\f3GL_CONVOLUTION_1D\fP,
-\%\f3GL_CONVOLUTION_2D\fP, or
-\%\f3GL_SEPARABLE_2D\fP
-for the 1D, 2D, or separable 2D filter, respectively.
-.sp
-\f2pname\fP selects the parameter to be changed.
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP and \%\f3GL_CONVOLUTION_FILTER_BIAS\fP
-affect the definition of the convolution filter kernel; see
-\%\f3glConvolutionFilter1D\fP, \%\f3glConvolutionFilter2D\fP, and
-\%\f3glSeparableFilter2D\fP for details.
-In these cases, \f2params\fP is an array of four values to be applied to
-red, green, blue, and alpha values, respectively. The initial value for
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP is (1, 1, 1, 1), and the initial value
-for \%\f3GL_CONVOLUTION_FILTER_BIAS\fP is (0, 0, 0, 0).
-.sp
-A \f2pname\fP value of \%\f3GL_CONVOLUTION_BORDER_MODE\fP controls the
-convolution border mode. The accepted modes are:
-.TP
-\%\f3GL_REDUCE\fP
-The image resulting from convolution is
-smaller than the source image.
-If the filter width is $Wf$ and height is $Hf$,
-and the source image width is $Ws$ and height is $Hs$,
-then the convolved image width will be $Ws ~-~ Wf ~+~ 1$ and height
-will be $Hs ~-~ Hf ~+~ 1$.
-(If this reduction would generate an image with zero or negative width
-and/or height, the output is simply null, with no error generated.)
-The coordinates of the image resulting from convolution are zero
-through $Ws ~-~ Wf$ in width and zero through $Hs ~-~ Hf$ in
-height.
-.TP
-\%\f3GL_CONSTANT_BORDER\fP
-The image resulting from convolution is the same size as the source image, and
-processed as if the source image were surrounded by pixels with their color
-specified by the \%\f3GL_CONVOLUTION_BORDER_COLOR\fP.
-.TP
-\%\f3GL_REPLICATE_BORDER\fP
-The image resulting from convolution is the same size as the source image, and
-processed as if the outermost pixel on the border of the source image were
-replicated.
-.SH NOTES
-\%\f3glConvolutionParameter\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.P
-In cases where errors can result from the specification of invalid
-image dimensions, it is the dimensions after convolution that are
-tested, not the dimensions of the source image.
-For example, \%\f3glTexImage1D\fP requires power-of-two image size.
-When \%\f3GL_REDUCE\fP border mode is in effect,
-the source image must be larger than the final power-of-two size
-by one less than the size of the 1D filter kernel.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is
-\%\f3GL_CONVOLUTION_BORDER_MODE\fP and \f2params\fP is not one of
-\%\f3GL_REDUCE\fP, \%\f3GL_CONSTANT_BORDER\fP, or \%\f3GL_REPLICATE_BORDER\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glConvolutionParameter\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetConvolutionParameter\fP
-.SH SEE ALSO
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP,
-\%\f3glGetConvolutionParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copycolorsubtable.3gl b/doc/gl-docs/GL/gl/copycolorsubtable.3gl
deleted file mode 100644
index 545969690..000000000
--- a/doc/gl-docs/GL/gl/copycolorsubtable.3gl
+++ /dev/null
@@ -1,75 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 copycolor
-.ds Xs 44682 4 copycolorsubtable.gl
-.TH GLCOPYCOLORSUBTABLE 3G
-.SH NAME
-.B "glCopyColorSubTable
-\- respecify a portion of a color table
-
-.SH C SPECIFICATION
-void \f3glCopyColorSubTable\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyColorSubTable( 'u
- GLsizei \fIstart\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be one of
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, or
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.TP
-\f2start\fP
-The starting index of the portion of the color table to be replaced.
-.TP
-\f2x\fP, \f2y\fP
-The window coordinates of the left corner of the row of pixels to be
-copied.
-.TP
-\f2width\fP
-The number of table entries to replace.
-.SH DESCRIPTION
-\%\f3glCopyColorSubTable\fP is used to respecify a contiguous portion of a color table previously
-defined using \%\f3glColorTable\fP. The pixels copied from the framebuffer
-replace the portion of the existing table from indices \f2start\fP to
-$"start"~+~"x"~-~1$, inclusive. This region may not include any
-entries outside the range of the color table, as was originally specified.
-It is not an error to specify a subtexture with width of 0, but such a
-specification has no effect.
-.SH NOTES
-\%\f3glCopyColorSubTable\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.P
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2target\fP is not a previously defined
-color table.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if $"start"~+~"x"~>~width$.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyColorSubTable\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetColorTable\fP,
-\%\f3glGetColorTableParameter\fP
-.SH SEE ALSO
-\%\f3glColorSubTable(3G)\fP,
-\%\f3glColorTableParameter(3G)\fP,
-\%\f3glCopyColorTable(3G)\fP,
-\%\f3glCopyColorSubTable(3G)\fP,
-\%\f3glGetColorTable(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copycolortable.3gl b/doc/gl-docs/GL/gl/copycolortable.3gl
deleted file mode 100644
index a29ab62db..000000000
--- a/doc/gl-docs/GL/gl/copycolortable.3gl
+++ /dev/null
@@ -1,160 +0,0 @@
-'\" te
-'\"! tbl | eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 copycolor
-.ds Xs 49586 7 copycolortable.gl
-.TH GLCOPYCOLORTABLE 3G
-.SH NAME
-.B "glCopyColorTable
-\- copy pixels into a color table
-
-.SH C SPECIFICATION
-void \f3glCopyColorTable\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyColorTable( 'u
- GLenum \fIinternalformat\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-The color table target. Must be
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
-or \%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.TP
-\f2internalformat\fP
-The internal storage of the texture image.
-Must be one of the following symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP,
-\%\f3GL_RGBA16\fP.
-.TP
-\f2x\fP
-The x coordinate of the lower-left corner of the pixel rectangle
-to be transferred to the color table.
-.TP
-\f2y\fP
-The y coordinate of the lower-left corner of the pixel rectangle
-to be transferred to the color table.
-.TP
-\f2width\fP
-The width of the pixel rectangle.
-.SH DESCRIPTION
-\%\f3glCopyColorTable\fP loads a color table with pixels from the current
-\%\f3GL_READ_BUFFER\fP (rather than from main memory, as is the case for
-\%\f3glColorTable\fP).
-.P
-The screen-aligned pixel rectangle with lower-left corner at (\f2x\fP,\ \f2y\fP)
-having width \f2width\fP and height 1
-is loaded into the color table. If any pixels within
-this region are outside the window that is associated with the GL
-context, the values obtained for those pixels are undefined.
-.P
-The pixels in the rectangle are processed just as if
-\%\f3glReadPixels\fP were called, with \f2internalformat\fP set to RGBA,
-but processing stops after the final conversion to RGBA.
-.P
-The four scale parameters and the four bias parameters that are defined
-for the table are then used to scale and bias the R, G, B, and A components
-of each pixel. The scale and bias parameters are set by calling
-\%\f3glColorTableParameter\fP.
-.P
-Next, the R, G, B, and A values are clamped to the range [0,1].
-Each pixel is then converted to the internal specified by
-\f2internalformat\fP. This conversion simply maps the component values of the pixel (R, G, B,
-and A) to the values included in the internal (red, green, blue,
-alpha, luminance, and intensity). The mapping is as follows:
-.P
-.TS
-center;
-lb cb cb cb cb cb cb
-l c c c c c c.
-_
-Internal Format Red Green Blue Alpha Luminance Intensity
-_
-\%\f3GL_ALPHA\fP A
-\%\f3GL_LUMINANCE\fP R
-\%\f3GL_LUMINANCE_ALPHA\fP A R
-\%\f3GL_INTENSITY\fP R
-\%\f3GL_RGB\fP R G B
-\%\f3GL_RGBA\fP R G B A
-_
-.TE
-.P
-Finally, the red, green, blue, alpha, luminance, and/or intensity components of
-the resulting pixels are stored in the color table.
-They form a one-dimensional table with indices in the range
-[0,\ \f2width\fP\ \-\ 1].
-.P
-.SH NOTES
-\%\f3glCopyColorTable\fP is available only if \%\f3GL_ARB_imaging\fP is returned from calling
-\%\f3glGetString\fP with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated when \f2target\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than zero.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_TABLE_TOO_LARGE\fP is generated if the requested color table
-is too large to be supported by the implementation.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyColorTable\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetColorTable\fP,
-\%\f3glGetColorTableParameter\fP
-.SH SEE ALSO
-\%\f3glColorTable(3G)\fP,
-\%\f3glColorTableParameter(3G)\fP,
-\%\f3glReadPixels(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copyconvolutionfilter1d.3gl b/doc/gl-docs/GL/gl/copyconvolutionfilter1d.3gl
deleted file mode 100644
index 36ae3a77e..000000000
--- a/doc/gl-docs/GL/gl/copyconvolutionfilter1d.3gl
+++ /dev/null
@@ -1,164 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 001 copyconv
-.ds Xs 33614 7 copyconvolutionfilter1d.gl
-.TH GLCOPYCONVOLUTIONFILTER1D 3G
-.SH NAME
-.B "glCopyConvolutionFilter1D
-\- copy pixels into a one-dimensional convolution filter
-
-.SH C SPECIFICATION
-void \f3glCopyConvolutionFilter1D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyConvolutionFilter1D( 'u
- GLenum \fIinternalformat\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-Must be \%\f3GL_CONVOLUTION_1D\fP.
-.TP
-\f2internalformat\fP
-The internal of the convolution filter kernel.
-The allowable values are
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2x\fP, \f2y\fP
-The window space coordinates of the lower-left coordinate of the
-pixel array to copy.
-.TP
-\f2width\fP
-The width of the pixel array to copy.
-.SH DESCRIPTION
-\%\f3glCopyConvolutionFilter1D\fP defines a one-dimensional convolution filter kernel with pixels
-from the current \%\f3GL_READ_BUFFER\fP (rather than from main memory,
-as is the case for \%\f3glConvolutionFilter1D\fP).
-.sp
-The screen-aligned pixel rectangle with lower-left corner at (\f2x\fP,\ \f2y\fP),
-width \f2width\fP and height 1 is used to define
-the convolution filter. If any pixels within this region are
-outside the window that is associated with the GL context, the
-values obtained for those pixels are undefined.
-.sp
-The pixels in the rectangle are processed exactly as if \%\f3glReadPixels\fP
-had been called with \f2format\fP
-set to RGBA, but the process stops just before final conversion.
-The R, G, B, and A components of each pixel are next scaled by the four
-1D \%\f3GL_CONVOLUTION_FILTER_SCALE\fP parameters and biased by the
-four 1D \%\f3GL_CONVOLUTION_FILTER_BIAS\fP parameters.
-(The scale and bias parameters are set by \%\f3glConvolutionParameter\fP
-using the \%\f3GL_CONVOLUTION_1D\fP target and the names
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP and \%\f3GL_CONVOLUTION_FILTER_BIAS\fP.
-The parameters themselves are vectors of four values that are applied to red,
-green, blue, and alpha, in that order.)
-The R, G, B, and A values are not clamped to [0,1] at any time during this
-process.
-.sp
-Each pixel is then converted to the internal specified by
-\f2internalformat\fP.
-This conversion simply maps the component values of the pixel (R, G, B,
-and A) to the values included in the internal (red, green, blue,
-alpha, luminance, and intensity). The mapping is as follows:
-.sp
-.TS
-center;
-lb cb cb cb cb cb cb
-l c c c c c c.
-_
-Internal Format Red Green Blue Alpha Luminance Intensity
-_
-\%\f3GL_ALPHA\fP A
-\%\f3GL_LUMINANCE\fP R
-\%\f3GL_LUMINANCE_ALPHA\fP A R
-\%\f3GL_INTENSITY\fP R
-\%\f3GL_RGB\fP R G B
-\%\f3GL_RGBA\fP R G B A
-_
-.TE
-.sp
-The red, green, blue, alpha, luminance, and/or intensity components of
-the resulting pixels are stored in floating-point rather than integer
-.
-.sp
-Pixel ordering is such that lower x screen coordinates correspond to
-lower \f2i\fP filter image coordinates.
-.PP
-Note that after a convolution is performed, the resulting color
-components are also scaled by their corresponding
-\%\f3GL_POST_CONVOLUTION_c_SCALE\fP parameters and biased by their
-corresponding \%\f3GL_POST_CONVOLUTION_c_BIAS\fP parameters (where
-\f2c\fP takes on the values \f3RED\fP, \f3GREEN\fP, \f3BLUE\fP, and
-\f3ALPHA\fP).
-These parameters are set by \%\f3glPixelTransfer\fP.
-.SH NOTES
-\%\f3glCopyConvolutionFilter1D\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not
-\%\f3GL_CONVOLUTION_1D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than zero or greater
-than the maximum supported value.
-This value may be queried with \%\f3glGetConvolutionParameter\fP
-using target \%\f3GL_CONVOLUTION_1D\fP and name
-\%\f3GL_MAX_CONVOLUTION_WIDTH\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyConvolutionFilter1D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetConvolutionParameter\fP, \%\f3glGetConvolutionFilter\fP
-.SH SEE ALSO
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionParameter(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copyconvolutionfilter2d.3gl b/doc/gl-docs/GL/gl/copyconvolutionfilter2d.3gl
deleted file mode 100644
index 49962450c..000000000
--- a/doc/gl-docs/GL/gl/copyconvolutionfilter2d.3gl
+++ /dev/null
@@ -1,176 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 001 copyconv
-.ds Xs 51319 8 copyconvolutionfilter2d.gl
-.TH GLCOPYCONVOLUTIONFILTER2D 3G
-.SH NAME
-.B "glCopyConvolutionFilter2D
-\- copy pixels into a two-dimensional convolution filter
-
-.SH C SPECIFICATION
-void \f3glCopyConvolutionFilter2D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyConvolutionFilter2D( 'u
- GLenum \fIinternalformat\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-Must be \%\f3GL_CONVOLUTION_2D\fP.
-.TP
-\f2internalformat\fP
-The internal of the convolution filter kernel.
-The allowable values are
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2x\fP, \f2y\fP
-The window space coordinates of the lower-left coordinate of the
-pixel array to copy.
-.TP
-\f2width\fP
-The width of the pixel array to copy.
-.TP
-\f2height\fP
-The height of the pixel array to copy.
-.SH DESCRIPTION
-\%\f3glCopyConvolutionFilter2D\fP defines a two-dimensional convolution filter kernel with pixels
-from the current \%\f3GL_READ_BUFFER\fP (rather than from main memory,
-as is the case for \%\f3glConvolutionFilter2D\fP).
-.sp
-The screen-aligned pixel rectangle with lower-left corner at (\f2x\fP,\ \f2y\fP),
-width \f2width\fP and height \f2height\fP
-is used to define the convolution filter. If any pixels within this
-region are
-outside the window that is associated with the GL context, the
-values obtained for those pixels are undefined.
-.sp
-The pixels in the rectangle are processed
-exactly as if \%\f3glReadPixels\fP had been called with \f2format\fP
-set to RGBA, but the process stops just before final conversion.
-The R, G, B, and A components of each pixel are next scaled by the four
-2D \%\f3GL_CONVOLUTION_FILTER_SCALE\fP parameters and biased by the
-four 2D \%\f3GL_CONVOLUTION_FILTER_BIAS\fP parameters.
-(The scale and bias parameters are set by \%\f3glConvolutionParameter\fP
-using the \%\f3GL_CONVOLUTION_2D\fP target and the names
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP and \%\f3GL_CONVOLUTION_FILTER_BIAS\fP.
-The parameters themselves are vectors of four values that are applied to red,
-green, blue, and alpha, in that order.)
-The R, G, B, and A values are not clamped to [0,1] at any time during this
-process.
-.sp
-Each pixel is then converted to the internal specified by
-\f2internalformat\fP.
-This conversion simply maps the component values of the pixel (R, G, B,
-and A) to the values included in the internal (red, green, blue,
-alpha, luminance, and intensity). The mapping is as follows:
-.sp
-.TS
-center;
-lb cb cb cb cb cb cb
-l c c c c c c.
-_
-Internal Format Red Green Blue Alpha Luminance Intensity
-_
-\%\f3GL_ALPHA\fP A
-\%\f3GL_LUMINANCE\fP R
-\%\f3GL_LUMINANCE_ALPHA\fP A R
-\%\f3GL_INTENSITY\fP R
-\%\f3GL_RGB\fP R G B
-\%\f3GL_RGBA\fP R G B A
-_
-.TE
-.sp
-The red, green, blue, alpha, luminance, and/or intensity components of
-the resulting pixels are stored in floating-point rather than integer
-.
-.sp
-Pixel ordering is such that lower x screen coordinates correspond to
-lower \f2i\fP filter image coordinates, and lower y screen coordinates
-correspond to lower \f2j\fP filter image coordinates.
-.PP
-Note that after a convolution is performed, the resulting color
-components are also scaled by their corresponding
-\%\f3GL_POST_CONVOLUTION_c_SCALE\fP parameters and biased by their
-corresponding \%\f3GL_POST_CONVOLUTION_c_BIAS\fP parameters (where
-\f2c\fP takes on the values \f3RED\fP, \f3GREEN\fP, \f3BLUE\fP, and
-\f3ALPHA\fP).
-These parameters are set by \%\f3glPixelTransfer\fP.
-.SH NOTES
-\%\f3glCopyConvolutionFilter2D\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not
-\%\f3GL_CONVOLUTION_2D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than zero or greater
-than the maximum supported value.
-This value may be queried with \%\f3glGetConvolutionParameter\fP
-using target \%\f3GL_CONVOLUTION_2D\fP and name
-\%\f3GL_MAX_CONVOLUTION_WIDTH\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2height\fP is less than zero or greater
-than the maximum supported value.
-This value may be queried with \%\f3glGetConvolutionParameter\fP
-using target \%\f3GL_CONVOLUTION_2D\fP and name
-\%\f3GL_MAX_CONVOLUTION_HEIGHT\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyConvolutionFilter2D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetConvolutionParameter\fP, \%\f3glGetConvolutionFilter\fP
-.SH SEE ALSO
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glConvolutionParameter(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copypixels.3gl b/doc/gl-docs/GL/gl/copypixels.3gl
deleted file mode 100644
index 254024926..000000000
--- a/doc/gl-docs/GL/gl/copypixels.3gl
+++ /dev/null
@@ -1,249 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 copypixel
-.ds Xs 10756 11 copypixels.gl
-.TH GLCOPYPIXELS 3G
-.SH NAME
-.B "glCopyPixels
-\- copy pixels in the frame buffer
-
-.SH C SPECIFICATION
-void \f3glCopyPixels\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglCopyPixels( 'u
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLenum \fItype\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \ 'u
-\f2x\fP, \f2y\fP
-Specify the window coordinates of the lower left corner
-of the rectangular region of pixels to be copied.
-.TP
-\f2width\fP, \f2height\fP
-Specify the dimensions of the rectangular region of pixels to be copied.
-Both must be nonnegative.
-.TP
-\f2type\fP
-Specifies whether color values,
-depth values,
-or stencil values are to be copied.
-Symbolic constants
-\%\f3GL_COLOR\fP,
-\%\f3GL_DEPTH\fP,
-and \%\f3GL_STENCIL\fP are accepted.
-.SH DESCRIPTION
-\%\f3glCopyPixels\fP copies a screen-aligned rectangle of pixels
-from the specified frame buffer location to a region relative to the
-current raster position.
-Its operation is well defined only if the entire pixel source region
-is within the exposed portion of the window.
-Results of copies from outside the window,
-or from regions of the window that are not exposed,
-are hardware dependent and undefined.
-.P
-\f2x\fP and \f2y\fP specify the window coordinates of
-the lower left corner of the rectangular region to be copied.
-\f2width\fP and \f2height\fP specify the dimensions of the
-rectangular region to be copied.
-Both \f2width\fP and \f2height\fP must not be negative.
-.P
-Several parameters control the processing of the pixel data
-while it is being copied.
-These parameters are set with three commands:
-\%\f3glPixelTransfer\fP,
-\%\f3glPixelMap\fP, and
-\%\f3glPixelZoom\fP.
-This reference page describes the effects on \%\f3glCopyPixels\fP of most,
-but not all, of the parameters specified by these three commands.
-.P
-\%\f3glCopyPixels\fP copies values from each pixel with the lower left-hand corner at
-(\f2x\fP + $i$, \f2y\fP + $j$) for 0 \(<= $i$ < \f2width\fP
-and 0 \(<= $j$ < \f2height\fP.
-This pixel is said to be the $i$th pixel in the $j$th row.
-Pixels are copied in row order from the lowest to the highest row,
-left to right in each row.
-.P
-\f2type\fP specifies whether color, depth, or stencil data is to be copied.
-The details of the transfer for each data type are as follows:
-.TP 15
-\%\f3GL_COLOR\fP
-Indices or RGBA colors are read from the buffer currently specified as the
-read source buffer (see \%\f3glReadBuffer\fP).
-If the GL is in color index mode,
-each index that is read from this buffer is converted
-to a fixed-point with an unspecified
-number of bits to the right of the binary point.
-Each index is then shifted left by \%\f3GL_INDEX_SHIFT\fP bits,
-and added to \%\f3GL_INDEX_OFFSET\fP.
-If \%\f3GL_INDEX_SHIFT\fP is negative,
-the shift is to the right.
-In either case, zero bits fill otherwise unspecified bit locations in the
-result.
-If \%\f3GL_MAP_COLOR\fP is true,
-the index is replaced with the value that it references in lookup table
-\%\f3GL_PIXEL_MAP_I_TO_I\fP.
-Whether the lookup replacement of the index is done or not,
-the integer part of the index is then ANDed with $2 sup b -1$,
-where $b$ is the number of bits in a color index buffer.
-.IP
-If the GL is in RGBA mode,
-the red, green, blue, and alpha components of each pixel that is read
-are converted to an internal floating-point with unspecified
-precision.
-The conversion maps the largest representable component value to 1.0,
-and component value 0 to 0.0.
-The resulting floating-point color values are then multiplied
-by \%\f3GL_c_SCALE\fP and added to \%\f3GL_c_BIAS\fP,
-where \f2c\fP is RED, GREEN, BLUE, and ALPHA
-for the respective color components.
-The results are clamped to the range [0,1].
-If \%\f3GL_MAP_COLOR\fP is true,
-each color component is scaled by the size of lookup table
-\%\f3GL_PIXEL_MAP_c_TO_c\fP,
-then replaced by the value that it references in that table.
-\f2c\fP is R, G, B, or A.
-.IP
-If the \%\f3GL_ARB_imaging\fP extension is supported, the color values may
-be
-additionally processed by color-table lookups, color-matrix
-transformations, and convolution filters.
-.IP
-The GL then converts the resulting indices or RGBA colors to fragments
-by attaching the current raster position \f2z\fP coordinate and
-texture coordinates to each pixel,
-then assigning window coordinates
-($x sub r ~+~ i , y sub r ~+~ j$),
-where ($x sub r , y sub r$) is the current raster position,
-and the pixel was the $i$th pixel in the $j$th row.
-These pixel fragments are then treated just like the fragments generated by
-rasterizing points, lines, or polygons.
-Texture mapping,
-fog,
-and all the fragment operations are applied before the fragments are written
-to the frame buffer.
-.TP
-\%\f3GL_DEPTH\fP
-Depth values are read from the depth buffer and
-converted directly to an internal floating-point
-with unspecified precision.
-The resulting floating-point depth value is then multiplied
-by \%\f3GL_DEPTH_SCALE\fP and added to \%\f3GL_DEPTH_BIAS\fP.
-The result is clamped to the range [0,1].
-.IP
-The GL then converts the resulting depth components to fragments
-by attaching the current raster position color or color index and
-texture coordinates to each pixel,
-then assigning window coordinates
-($x sub r ~+~ i , y sub r ~+~ j$),
-where ($x sub r , y sub r$) is the current raster position,
-and the pixel was the $i$th pixel in the $j$th row.
-These pixel fragments are then treated just like the fragments generated by
-rasterizing points, lines, or polygons.
-Texture mapping,
-fog,
-and all the fragment operations are applied before the fragments are written
-to the frame buffer.
-.TP
-\%\f3GL_STENCIL\fP
-Stencil indices are read from the stencil buffer and
-converted to an internal fixed-point
-with an unspecified number of bits to the right of the binary point.
-Each fixed-point index is then shifted left by \%\f3GL_INDEX_SHIFT\fP bits,
-and added to \%\f3GL_INDEX_OFFSET\fP.
-If \%\f3GL_INDEX_SHIFT\fP is negative,
-the shift is to the right.
-In either case, zero bits fill otherwise unspecified bit locations in the
-result.
-If \%\f3GL_MAP_STENCIL\fP is true,
-the index is replaced with the value that it references in lookup table
-\%\f3GL_PIXEL_MAP_S_TO_S\fP.
-Whether the lookup replacement of the index is done or not,
-the integer part of the index is then ANDed with $2 sup b -1$,
-where $b$ is the number of bits in the stencil buffer.
-The resulting stencil indices are then written to the stencil buffer
-such that the index read from the $i$th location of the $j$th row
-is written to location
-($x sub r ~+~ i , y sub r ~+~ j$),
-where ($x sub r , y sub r$) is the current raster position.
-Only the pixel ownership test,
-the scissor test,
-and the stencil writemask affect these write operations.
-.P
-The rasterization described thus far assumes pixel zoom factors of 1.0.
-If
-.br
-\%\f3glPixelZoom\fP is used to change the $x$ and $y$ pixel zoom factors,
-pixels are converted to fragments as follows.
-If ($x sub r$, $y sub r$) is the current raster position,
-and a given pixel is in the $i$th location in the $j$th row of the source
-pixel rectangle,
-then fragments are generated for pixels whose centers are in the rectangle
-with corners at
-.P
-.ce
-($x sub r ~+~ zoom sub x^ i$, $y sub r ~+~ zoom sub y^j$)
-.sp .5
-.ce
- and
-.sp .5
-.ce
-($x sub r ~+~ zoom sub x^ (i ~+~ 1)$, $y sub r ~+~ zoom sub y^ ( j ~+~ 1 )$)
-.P
-where $zoom sub x$ is the value of \%\f3GL_ZOOM_X\fP and
-$zoom sub y$ is the value of \%\f3GL_ZOOM_Y\fP.
-.SH EXAMPLES
-To copy the color pixel in the lower left corner of the window to the current raster position,
-use
-.Ex
-glCopyPixels(0, 0, 1, 1, \%\f3GL_COLOR\fP);
-.En
-.SH NOTES
-Modes specified by \%\f3glPixelStore\fP have no effect on the operation
-of \%\f3glCopyPixels\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if either \f2width\fP or \f2height\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is \%\f3GL_DEPTH\fP
-and there is no depth buffer.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is \%\f3GL_STENCIL\fP
-and there is no stencil buffer.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyPixels\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION_VALID\fP
-.SH SEE ALSO
-\%\f3glColorTable(3G)\fP,
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glDrawBuffer(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glPixelMap(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glPixelZoom(3G)\fP,
-\%\f3glRasterPos(3G)\fP,
-\%\f3glReadBuffer(3G)\fP,
-\%\f3glReadPixels(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP,
-\%\f3glStencilFunc(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copyteximage1d.3gl b/doc/gl-docs/GL/gl/copyteximage1d.3gl
deleted file mode 100644
index 09fe726d5..000000000
--- a/doc/gl-docs/GL/gl/copyteximage1d.3gl
+++ /dev/null
@@ -1,173 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 copytexim
-.ds Xs 48778 7 copyteximage1d.gl
-.TH GLCOPYTEXIMAGE1D 3G
-.SH NAME
-.B "glCopyTexImage1D
-\- copy pixels into a 1D texture image
-
-.SH C SPECIFICATION
-void \f3glCopyTexImage1D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyTexImage1D( 'u
- GLint \fIlevel\fP,
- GLenum \fIinternalformat\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLint \fIborder\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_1D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2internalformat\fP
-Specifies the internal of the texture.
-Must be one of the following symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2x\fP, \f2y\fP
-Specify the window coordinates of the left corner
-of the row of pixels to be copied.
-.TP
-\f2width\fP
-Specifies the width of the texture image.
-Must be 0 or $2 sup n ~+~ 2*$\f2border\fP for some integer $n$.
-The height of the texture image is 1.
-.TP
-\f2border\fP
-Specifies the width of the border.
-Must be either 0 or 1.
-.SH DESCRIPTION
-\%\f3glCopyTexImage1D\fP defines a one-dimensional texture image with pixels from the current
-\%\f3GL_READ_BUFFER\fP.
-.P
-The screen-aligned pixel row with left corner at $("x", "y")$
-and with a length of $"width"~+~2~*~"border"$
-defines the texture array
-at the mipmap level specified by \f2level\fP.
-\f2internalformat\fP specifies the internal of the texture array.
-.P
-The pixels in the row are processed exactly as if
-\%\f3glCopyPixels\fP had been called, but the process stops just before
-final conversion.
-At this point all pixel component values are clamped to the range [0,\ 1]
-and then converted to the texture's internal for storage in the texel
-array.
-.P
-Pixel ordering is such that lower $x$ screen coordinates correspond to
-lower texture coordinates.
-.P
-If any of the pixels within the specified row of the current
-\%\f3GL_READ_BUFFER\fP are outside the window associated with the current
-rendering context, then the values obtained for those pixels are undefined.
-.SH NOTES
-\%\f3glCopyTexImage1D\fP is available only if the GL version is 1.1 or greater.
-.P
-Texturing has no effect in color index mode.
-.P
-1, 2, 3, and 4 are not accepted values for \f2internalformat\fP.
-.P
-An image with 0 width indicates a NULL texture.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the RGBA components
-copied from the framebuffer may be processed by the imaging pipeline. See
-\%\f3glTexImage1D\fP for specific details.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $log sub 2 max$,
-where $max$ is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2internalformat\fP is not an
-allowable value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than 0
-or greater than
-2 + \%\f3GL_MAX_TEXTURE_SIZE\fP,
-or if it cannot be represented as $2 sup n ~+~ 2~*~("border")$
-for some integer value of \f2n\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2border\fP is not 0 or 1.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyTexImage1D\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_1D\fP
-.SH SEE ALSO
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-.br
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copyteximage2d.3gl b/doc/gl-docs/GL/gl/copyteximage2d.3gl
deleted file mode 100644
index 2f4407f8c..000000000
--- a/doc/gl-docs/GL/gl/copyteximage2d.3gl
+++ /dev/null
@@ -1,179 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 copytexim
-.ds Xs 15515 7 copyteximage2d.gl
-.TH GLCOPYTEXIMAGE2D 3G
-.SH NAME
-.B "glCopyTexImage2D
-\- copy pixels into a 2D texture image
-
-.SH C SPECIFICATION
-void \f3glCopyTexImage2D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyTexImage2D( 'u
- GLint \fIlevel\fP,
- GLenum \fIinternalformat\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLint \fIborder\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_2D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2internalformat\fP
-Specifies the internal of the texture.
-Must be one of the following symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2x\fP, \f2y\fP
-Specify the window coordinates of the lower left corner
-of the rectangular region of pixels to be copied.
-.TP
-\f2width\fP
-Specifies the width of the texture image.
-Must be 0 or $2 sup n ~+~ 2*$\f2border\fP for some integer $n$.
-.TP
-\f2height\fP
-Specifies the height of the texture image.
-Must be 0 or $2 sup m ~+~ 2*$\f2border\fP for some integer $m$.
-.TP
-\f2border\fP
-Specifies the width of the border.
-Must be either 0 or 1.
-.SH DESCRIPTION
-\%\f3glCopyTexImage2D\fP defines a two-dimensional texture image with pixels from the current
-\%\f3GL_READ_BUFFER\fP.
-.P
-The screen-aligned pixel rectangle with lower left corner at (\f2x\fP,
-\f2y\fP) and with a width of \f2width\fP$~+~2~*~$\f2border\fP and a height of
-\f2height\fP$~+~2~*~$\f2border\fP
-defines the texture array
-at the mipmap level specified by \f2level\fP.
-\f2internalformat\fP specifies the internal of the texture array.
-.P
-The pixels in the rectangle are processed exactly as if
-\%\f3glCopyPixels\fP had been called, but the process stops just before
-final conversion.
-At this point all pixel component values are clamped to the range $[0,1]$
-and then converted to the texture's internal for storage in the texel
-array.
-.P
-Pixel ordering is such that lower $x$ and $y$ screen coordinates correspond to
-lower $s$ and $t$ texture coordinates.
-.P
-If any of the pixels within the specified rectangle of the current
-\%\f3GL_READ_BUFFER\fP are outside the window associated with the current
-rendering context, then the values obtained for those pixels are undefined.
-.P
-.SH NOTES
-\%\f3glCopyTexImage2D\fP is available only if the GL version is 1.1 or greater.
-.P
-Texturing has no effect in color index mode.
-.P
-1, 2, 3, and 4 are not accepted values for \f2internalformat\fP.
-.P
-An image with height or width of 0 indicates a NULL texture.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the RGBA components
-read from the framebuffer may be processed by the imaging pipeline. See
-\%\f3glTexImage1D\fP for specific details.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_2D\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $log sub 2 max$,
-where $max$ is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP or \f2height\fP is less than 0,
-greater than $2~+~$\%\f3GL_MAX_TEXTURE_SIZE\fP, or if \f2width\fP or \f2height\fP cannot be
-represented as $2 sup k ~+~ 2~*~$\f2border\fP for some integer
-$k$.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2border\fP is not 0 or 1.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyTexImage2D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_2D\fP
-.SH SEE ALSO
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-.br
-\%\f3glTexParameter(3G)\fP
-
-
diff --git a/doc/gl-docs/GL/gl/copytexsubimage1d.3gl b/doc/gl-docs/GL/gl/copytexsubimage1d.3gl
deleted file mode 100644
index fd2be966e..000000000
--- a/doc/gl-docs/GL/gl/copytexsubimage1d.3gl
+++ /dev/null
@@ -1,131 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 copytexsu
-.ds Xs 28384 6 copytexsubimage1d.gl
-.TH GLCOPYTEXSUBIMAGE1D 3G
-.SH NAME
-.B "glCopyTexSubImage1D
-\- copy a one-dimensional texture subimage
-
-.SH C SPECIFICATION
-void \f3glCopyTexSubImage1D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyTexSubImage1D( 'u
- GLint \fIlevel\fP,
- GLint \fIxoffset\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIxoffset\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_1D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2xoffset\fP
-Specifies the texel offset within the texture array.
-.TP
-\f2x\fP, \f2y\fP
-Specify the window coordinates of the left corner
-of the row of pixels to be copied.
-.TP
-\f2width\fP
-Specifies the width of the texture subimage.
-.SH DESCRIPTION
-\%\f3glCopyTexSubImage1D\fP replaces a portion of a one-dimensional
-texture image with pixels from the current \%\f3GL_READ_BUFFER\fP (rather
-than from main memory, as is the case for \%\f3glTexSubImage1D\fP).
-.P
-The screen-aligned pixel row with left corner at (\f2x\fP,\ \f2y\fP), and with
-length \f2width\fP replaces the portion of the
-texture array with x indices \f2xoffset\fP through $"xoffset" ~+~ "width" ~-~ 1$,
-inclusive. The destination in the texture array may not
-include any texels outside the texture array as it was
-originally specified.
-.P
-The pixels in the row are processed exactly as if
-\%\f3glCopyPixels\fP had been called, but the process stops just before
-final conversion.
-At this point all pixel component values are clamped to the range [0,\ 1]
-and then converted to the texture's internal for storage in the texel
-array.
-.P
-It is not an error to specify a subtexture with zero width, but
-such a specification has no effect.
-If any of the pixels within the specified row of the current
-\%\f3GL_READ_BUFFER\fP are outside the read window associated with the current
-rendering context, then the values obtained for those pixels are undefined.
-.P
-No change is made to the \f2internalformat\fP, \f2width\fP,
-or \f2border\fP parameters of the specified texture
-array or to texel values outside the specified subregion.
-.SH NOTES
-\%\f3glCopyTexSubImage1D\fP is available only if the GL version is 1.1 or greater.
-.P
-Texturing has no effect in color index mode.
-.P
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the RGBA components
-copied from the framebuffer may be processed by the imaging pipeline. See
-\%\f3glTexImage1D\fP for specific details.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_1D\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if the texture array has not
-been defined by a previous \%\f3glTexImage1D\fP or \%\f3glCopyTexImage1D\fP operation.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP$>log sub 2$\f2 max\fP,
-where \f2max\fP is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2y\fP$ ~<~ ~-b$
-or if \f2width\fP$ ~<~ ~-b$, where $b$
-is the border width of the texture array.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if $"xoffset" ~<~ ~-b$, or
-$("xoffset"~+~"width") ~>~ (w-b)$,
-where $w$ is the \%\f3GL_TEXTURE_WIDTH\fP, and $b$ is the \%\f3GL_TEXTURE_BORDER\fP
-of the texture image being modified.
-Note that $w$ includes twice the border width.
-.P
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_1D\fP
-.SH SEE ALSO
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glReadBuffer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copytexsubimage2d.3gl b/doc/gl-docs/GL/gl/copytexsubimage2d.3gl
deleted file mode 100644
index fc5b7094f..000000000
--- a/doc/gl-docs/GL/gl/copytexsubimage2d.3gl
+++ /dev/null
@@ -1,151 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 copytexsu
-.ds Xs 21640 7 copytexsubimage2d.gl
-.TH GLCOPYTEXSUBIMAGE2D 3G
-.SH NAME
-.B "glCopyTexSubImage2D
-\- copy a two-dimensional texture subimage
-
-.SH C SPECIFICATION
-void \f3glCopyTexSubImage2D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyTexSubImage2D( 'u
- GLint \fIlevel\fP,
- GLint \fIxoffset\fP,
- GLint \fIyoffset\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIxoffset\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_2D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2xoffset\fP
-Specifies a texel offset in the x direction within the texture array.
-.TP
-\f2yoffset\fP
-Specifies a texel offset in the y direction within the texture array.
-.TP
-\f2x\fP, \f2y\fP
-Specify the window coordinates of the lower left corner
-of the rectangular region of pixels to be copied.
-.TP
-\f2width\fP
-Specifies the width of the texture subimage.
-.TP
-\f2height\fP
-Specifies the height of the texture subimage.
-.SH DESCRIPTION
-\%\f3glCopyTexSubImage2D\fP replaces a rectangular portion of a two-dimensional
-texture image with pixels from the current \%\f3GL_READ_BUFFER\fP (rather
-than from main memory, as is the case for \%\f3glTexSubImage2D\fP).
-.P
-The screen-aligned pixel rectangle with lower left corner at
-(\f2x\fP,\ \f2y\fP) and with
-width \f2width\fP and height \f2height\fP replaces the portion of the
-texture array with x indices \f2xoffset\fP through \f2xoffset\fP$~+~$\f2width\fP$~-~$1,
-inclusive, and y indices \f2yoffset\fP through \f2yoffset\fP$~+~$\f2height\fP$~-~$1,
-inclusive, at the mipmap level specified by \f2level\fP.
-.P
-The pixels in the rectangle are processed exactly as if
-\%\f3glCopyPixels\fP had been called, but the process stops just before
-final conversion.
-At this point, all pixel component values are clamped to the range [0,\ 1]
-and then converted to the texture's internal for storage in the texel
-array.
-.P
-The destination rectangle in the texture array may not include any texels
-outside the texture array as it was originally specified.
-It is not an error to specify a subtexture with zero width or height, but
-such a specification has no effect.
-.P
-If any of the pixels within the specified rectangle of the current
-\%\f3GL_READ_BUFFER\fP are outside the read window associated with the current
-rendering context, then the values obtained for those pixels are undefined.
-.P
-No change is made to the \f2internalformat\fP, \f2width\fP,
-\f2height\fP, or \f2border\fP parameters of the specified texture
-array or to texel values outside the specified subregion.
-.SH NOTES
-\%\f3glCopyTexSubImage2D\fP is available only if the GL version is 1.1 or greater.
-.P
-Texturing has no effect in color index mode.
-.P
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the RGBA components
-read from the framebuffer may be processed by the imaging pipeline. See
-\%\f3glTexImage1D\fP for specific details.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_2D\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if the texture array has not
-been defined by a previous \%\f3glTexImage2D\fP or \%\f3glCopyTexImage2D\fP operation.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $log sub 2 max$,
-where $max$ is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2x\fP$ ~<~ ~-b$ or if
-\f2y\fP$ ~<~ ~-b$,
-where $b$ is the border width of the texture array.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if $"xoffset" ~<~ -b$,
-(\f2xoffset\fP$~+~$\f2width\fP)$~>~(w ~-~b)$,
-\f2yoffset\fP$~<~ ~-b$, or
-(\f2yoffset\fP$~+~$\f2height\fP)$~>~(h ~-~b)$,
-where $w$ is the \%\f3GL_TEXTURE_WIDTH\fP,
-$h$ is the \%\f3GL_TEXTURE_HEIGHT\fP,
-and $b$ is the \%\f3GL_TEXTURE_BORDER\fP
-of the texture image being modified.
-Note that $w$ and $h$
-include twice the border width.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyTexSubImage2D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_2D\fP
-.SH SEE ALSO
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glReadBuffer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/copytexsubimage3d.3gl b/doc/gl-docs/GL/gl/copytexsubimage3d.3gl
deleted file mode 100644
index ffb570744..000000000
--- a/doc/gl-docs/GL/gl/copytexsubimage3d.3gl
+++ /dev/null
@@ -1,158 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 copytexsu
-.ds Xs 39423 7 copytexsubimage3d.gl
-.TH GLCOPYTEXSUBIMAGE3D 3G
-.SH NAME
-.B "glCopyTexSubImage3D
-\- copy a three-dimensional texture subimage
-
-.SH C SPECIFICATION
-void \f3glCopyTexSubImage3D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglCopyTexSubImage3D( 'u
- GLint \fIlevel\fP,
- GLint \fIxoffset\fP,
- GLint \fIyoffset\fP,
- GLint \fIzoffset\fP,
- GLint \fIx\fP,
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIxoffset\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_3D\fP
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2xoffset\fP
-Specifies a texel offset in the x direction within the texture array.
-.TP
-\f2yoffset\fP
-Specifies a texel offset in the y direction within the texture array.
-.TP
-\f2zoffset\fP
-Specifies a texel offset in the z direction within the texture array.
-.TP
-\f2x\fP, \f2y\fP
-Specify the window coordinates of the lower left corner
-of the rectangular region of pixels to be copied.
-.TP
-\f2width\fP
-Specifies the width of the texture subimage.
-.TP
-\f2height\fP
-Specifies the height of the texture subimage.
-.SH DESCRIPTION
-\%\f3glCopyTexSubImage3D\fP replaces a rectangular portion of a three-dimensional
-texture image with pixels from the current \%\f3GL_READ_BUFFER\fP (rather
-than from main memory, as is the case for \%\f3glTexSubImage3D\fP).
-.P
-The screen-aligned pixel rectangle with lower left corner at
-(\f2x\fP,\ \f2y\fP) and with
-width \f2width\fP and height \f2height\fP replaces the portion of the
-texture array with x indices \f2xoffset\fP through \f2xoffset\fP$~+~$\f2width\fP$~-~$1,
-inclusive, and y indices \f2yoffset\fP through \f2yoffset\fP$~+~$\f2height\fP$~-~$1,
-inclusive, at z index \f2zoffset\fP and at the mipmap level specified by \f2level\fP.
-.P
-The pixels in the rectangle are processed exactly as if
-\%\f3glCopyPixels\fP had been called, but the process stops just before
-final conversion.
-At this point, all pixel component values are clamped to the range [0,\ 1]
-and then converted to the texture's internal for storage in the texel
-array.
-.P
-The destination rectangle in the texture array may not include any texels
-outside the texture array as it was originally specified.
-It is not an error to specify a subtexture with zero width or height, but
-such a specification has no effect.
-.P
-If any of the pixels within the specified rectangle of the current
-\%\f3GL_READ_BUFFER\fP are outside the read window associated with the current
-rendering context, then the values obtained for those pixels are undefined.
-.P
-No change is made to the \f2internalformat\fP, \f2width\fP,
-\f2height\fP, \f2depth\fP, or \f2border\fP parameters of the specified texture
-array or to texel values outside the specified subregion.
-.SH NOTES
-\%\f3glCopyTexSubImage3D\fP is available only if the GL version is 1.2 or greater.
-.P
-Texturing has no effect in color index mode.
-.P
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the RGBA components
-copied from the framebuffer may be processed by the imaging pipeline, as
-if they were a two-dimensional texture. See \%\f3glTexImage2D\fP for
-specific details.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_3D\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if the texture array has not
-been defined by a previous \%\f3glTexImage3D\fP or \%\f3glCopyTexImage3D\fP operation.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $log sub 2^max$,
-where $max$ is the returned value of \%\f3GL_MAX_3D_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2x\fP$ ~<~ ~-b$ or if
-\f2y\fP$ ~<~ ~-b$,
-where $b$ is the border width of the texture array.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if $"xoffset" ~<~ -b$,
-(\f2xoffset\fP$~+~$\f2width\fP)$~>~(w ~-~b)$,
-\f2yoffset\fP$~<~ ~-b$,
-(\f2yoffset\fP$~+~$\f2height\fP)$~>~(h ~-~b)$,
-\f2zoffset\fP$~<~ ~-b$, or \f2zoffset\fP$~>~(d ~-~b)$,
-where $w$ is the \%\f3GL_TEXTURE_WIDTH\fP,
-$h$ is the \%\f3GL_TEXTURE_HEIGHT\fP,
-$d$ is the \%\f3GL_TEXTURE_DEPTH\fP,
-and $b$ is the \%\f3GL_TEXTURE_BORDER\fP
-of the texture image being modified.
-Note that $w$, $h$, and $d$
-include twice the border width.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCopyTexSubImage3D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_3D\fP
-.SH SEE ALSO
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glReadBuffer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/cullface.3gl b/doc/gl-docs/GL/gl/cullface.3gl
deleted file mode 100644
index 10b26c93e..000000000
--- a/doc/gl-docs/GL/gl/cullface.3gl
+++ /dev/null
@@ -1,58 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 cullface.
-.ds Xs 63441 4 cullface.gl
-.TH GLCULLFACE 3G
-.SH NAME
-.B "glCullFace
-\- specify whether front- or back-facing facets can be culled
-
-.SH C SPECIFICATION
-void \f3glCullFace\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-Specifies whether front- or back-facing facets are candidates for culling.
-Symbolic constants
-\%\f3GL_FRONT\fP, \%\f3GL_BACK\fP, and \%\f3GL_FRONT_AND_BACK\fP are accepted.
-The initial value is \%\f3GL_BACK\fP.
-.SH DESCRIPTION
-\%\f3glCullFace\fP specifies whether front- or back-facing facets are culled
-(as specified by \f2mode\fP) when facet culling is enabled. Facet
-culling is initially disabled.
-To enable and disable facet culling, call the
-\%\f3glEnable\fP and \%\f3glDisable\fP commands
-with the argument \%\f3GL_CULL_FACE\fP.
-Facets include triangles,
-quadrilaterals,
-polygons,
-and rectangles.
-.P
-\%\f3glFrontFace\fP specifies which of the clockwise and counterclockwise facets
-are front-facing and back-facing.
-See \%\f3glFrontFace\fP.
-.SH NOTES
-If \f2mode\fP is \%\f3GL_FRONT_AND_BACK\fP, no facets are drawn, but other
-primitives such as points and lines are drawn.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glCullFace\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_CULL_FACE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CULL_FACE_MODE\fP
-.SH SEE ALSO
-\%\f3glEnable(3G)\fP,
-\%\f3glFrontFace(3G)\fP
diff --git a/doc/gl-docs/GL/gl/deletelists.3gl b/doc/gl-docs/GL/gl/deletelists.3gl
deleted file mode 100644
index 4e43ebe5d..000000000
--- a/doc/gl-docs/GL/gl/deletelists.3gl
+++ /dev/null
@@ -1,50 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 deletelis
-.ds Xs 9368 4 deletelists.gl
-.TH GLDELETELISTS 3G
-.SH NAME
-.B "glDeleteLists
-\- delete a contiguous group of display lists
-
-.SH C SPECIFICATION
-void \f3glDeleteLists\fP(
-GLuint \fIlist\fP,
-.nf
-.ta \w'\f3void \fPglDeleteLists( 'u
- GLsizei \fIrange\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIrange\fP\ \ 'u
-\f2list\fP
-Specifies the integer name of the first display list to delete.
-.TP
-\f2range\fP
-Specifies the number of display lists to delete.
-.SH DESCRIPTION
-\%\f3glDeleteLists\fP causes a contiguous group of display lists to be deleted.
-\f2list\fP is the name of the first display list to be deleted,
-and \f2range\fP is the number of display lists to delete.
-All display lists \fId\fP with \f2list\fP \(<= \fId\fP \(<= \f2list\fP + \f2range\fP \- 1
-are deleted.
-.P
-All storage locations allocated to the specified display lists are freed,
-and the names are available for reuse at a later time.
-Names within the range that do not have an associated display list are ignored.
-If \f2range\fP is 0, nothing happens.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2range\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDeleteLists\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glCallList(3G)\fP,
-\%\f3glCallLists(3G)\fP,
-\%\f3glGenLists(3G)\fP,
-\%\f3glIsList(3G)\fP,
-\%\f3glNewList(3G)\fP
diff --git a/doc/gl-docs/GL/gl/deletetextures.3gl b/doc/gl-docs/GL/gl/deletetextures.3gl
deleted file mode 100644
index 2d13db326..000000000
--- a/doc/gl-docs/GL/gl/deletetextures.3gl
+++ /dev/null
@@ -1,60 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 deletetex
-.ds Xs 39225 4 deletetextures.gl
-.TH GLDELETETEXTURES 3G
-.SH NAME
-.B "glDeleteTextures
-\- delete named textures
-
-.SH C SPECIFICATION
-void \f3glDeleteTextures\fP(
-GLsizei \fIn\fP,
-.nf
-.ta \w'\f3void \fPglDeleteTextures( 'u
- const GLuint \fI*textures\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fItextures\fP\ \ 'u
-\f2n\fP
-Specifies the number of textures to be deleted.
-.TP
-\f2textures\fP
-Specifies an array of textures to be deleted.
-.SH DESCRIPTION
-\%\f3glDeleteTextures\fP deletes \f2n\fP textures named by the elements of the array \f2textures\fP.
-After a texture is deleted, it has no contents or dimensionality,
-and its name is free for reuse (for example by \%\f3glGenTextures\fP).
-If a texture that is currently bound is deleted, the binding reverts
-to 0 (the default texture).
-.P
-\%\f3glDeleteTextures\fP silently ignores 0's and names that do not correspond to
-existing textures.
-.SH NOTES
-\%\f3glDeleteTextures\fP is available only if the GL version is 1.1 or greater.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2n\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDeleteTextures\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glIsTexture\fP
-.SH SEE ALSO
-\%\f3glAreTexturesResident(3G)\fP,
-\%\f3glBindTexture(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glGenTextures(3G)\fP,
-\%\f3glGet(3G)\fP,
-\%\f3glGetTexParameter(3G)\fP,
-\%\f3glPrioritizeTextures(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/depthfunc.3gl b/doc/gl-docs/GL/gl/depthfunc.3gl
deleted file mode 100644
index e055c3cf7..000000000
--- a/doc/gl-docs/GL/gl/depthfunc.3gl
+++ /dev/null
@@ -1,88 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 depthfunc
-.ds Xs 34310 5 depthfunc.gl
-.TH GLDEPTHFUNC 3G
-.SH NAME
-.B "glDepthFunc
-\- specify the value used for depth buffer comparisons
-
-.SH C SPECIFICATION
-void \f3glDepthFunc\fP(
-GLenum \fIfunc\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2func\fP\ \ 'u
-\f2func\fP
-Specifies the depth comparison function.
-Symbolic constants
-\%\f3GL_NEVER\fP,
-\%\f3GL_LESS\fP,
-\%\f3GL_EQUAL\fP,
-\%\f3GL_LEQUAL\fP,
-\%\f3GL_GREATER\fP,
-\%\f3GL_NOTEQUAL\fP,
-\%\f3GL_GEQUAL\fP, and
-\%\f3GL_ALWAYS\fP are accepted.
-The initial value is \%\f3GL_LESS\fP.
-.SH DESCRIPTION
-\%\f3glDepthFunc\fP specifies the function used to compare each incoming pixel depth value
-with the depth value present in the depth buffer.
-The comparison is performed only if depth testing is enabled.
-(See \%\f3glEnable\fP and \%\f3glDisable\fP of \%\f3GL_DEPTH_TEST\fP.)
-.P
-\f2func\fP specifies the conditions under which the pixel will be drawn.
-The comparison functions are as follows:
-.TP 16
-\%\f3GL_NEVER\fP
-Never passes.
-.TP
-\%\f3GL_LESS\fP
-Passes if the incoming depth value is less than the stored depth value.
-.TP
-\%\f3GL_EQUAL\fP
-Passes if the incoming depth value is equal to the stored depth value.
-.TP
-\%\f3GL_LEQUAL\fP
-Passes if the incoming depth value is less than or equal to
-the stored depth value.
-.TP
-\%\f3GL_GREATER\fP
-Passes if the incoming depth value is greater than the stored depth value.
-.TP
-\%\f3GL_NOTEQUAL\fP
-Passes if the incoming depth value is not equal to the stored depth value.
-.TP
-\%\f3GL_GEQUAL\fP
-Passes if the incoming depth value is greater than or equal to
-the stored depth value.
-.TP
-\%\f3GL_ALWAYS\fP
-Always passes.
-.P
-The initial value of \f2func\fP is \%\f3GL_LESS\fP.
-Initially, depth testing is disabled.
-.NOTES
-Even if the depth buffer exists and the depth mask is non-zero, the
-depth buffer is not updated if the depth test is disabled.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2func\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDepthFunc\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_DEPTH_FUNC\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_DEPTH_TEST\fP
-.SH SEE ALSO
-\%\f3glDepthRange(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glPolygonOffset(3G)\fP
diff --git a/doc/gl-docs/GL/gl/depthmask.3gl b/doc/gl-docs/GL/gl/depthmask.3gl
deleted file mode 100644
index 130a28a0e..000000000
--- a/doc/gl-docs/GL/gl/depthmask.3gl
+++ /dev/null
@@ -1,46 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 depthmask
-.ds Xs 13631 3 depthmask.gl
-.TH GLDEPTHMASK 3G
-.SH NAME
-.B "glDepthMask
-\- enable or disable writing into the depth buffer
-
-.SH C SPECIFICATION
-void \f3glDepthMask\fP(
-GLboolean \fIflag\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2flag\fP\ \ 'u
-\f2flag\fP
-Specifies whether the depth buffer is enabled for writing.
-If \f2flag\fP is \%\f3GL_FALSE\fP,
-depth buffer writing is disabled.
-Otherwise, it is enabled.
-Initially, depth buffer writing is enabled.
-.SH DESCRIPTION
-\%\f3glDepthMask\fP specifies whether the depth buffer is enabled for writing.
-If \f2flag\fP is \%\f3GL_FALSE\fP,
-depth buffer writing is disabled.
-Otherwise, it is enabled.
-Initially, depth buffer writing is enabled.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDepthMask\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_DEPTH_WRITEMASK\fP
-.SH SEE ALSO
-\%\f3glColorMask(3G)\fP,
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glDepthRange(3G)\fP,
-\%\f3glIndexMask(3G)\fP,
-\%\f3glStencilMask(3G)\fP
diff --git a/doc/gl-docs/GL/gl/depthrange.3gl b/doc/gl-docs/GL/gl/depthrange.3gl
deleted file mode 100644
index 3dcaa0cb9..000000000
--- a/doc/gl-docs/GL/gl/depthrange.3gl
+++ /dev/null
@@ -1,65 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 depthrang
-.ds Xs 41369 4 depthrange.gl
-.TH GLDEPTHRANGE 3G
-.SH NAME
-.B "glDepthRange
-\- specify mapping of depth values from normalized device coordinates to window coordinates
-
-.SH C SPECIFICATION
-void \f3glDepthRange\fP(
-GLclampd \fInear_val\fP,
-.nf
-.ta \w'\f3void \fPglDepthRange( 'u
- GLclampd \fIfar_val\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2near_val\fP\ \ 'u
-\f2near_val\fP
-Specifies the mapping of the near clipping plane to window coordinates.
-The initial value is 0.
-.TP
-\f2far_val\fP
-Specifies the mapping of the far clipping plane to window coordinates.
-The initial value is 1.
-.SH DESCRIPTION
-After clipping and division by \f2w\fP,
-depth coordinates range from \-1 to 1,
-corresponding to the near and far clipping planes.
-\%\f3glDepthRange\fP specifies a linear mapping of the normalized depth coordinates
-in this range to window depth coordinates.
-Regardless of the actual depth buffer implementation,
-window coordinate depth values are treated as though they range
-from 0 through 1 (like color components).
-Thus,
-the values accepted by \%\f3glDepthRange\fP are both clamped to this range
-before they are accepted.
-.P
-The setting of (0,1) maps the near plane to 0 and
-the far plane to 1.
-With this mapping,
-the depth buffer range is fully utilized.
-.SH NOTES
-It is not necessary that \f2near_val\fP be less than \f2far_val\fP.
-Reverse mappings such as $"near_val" ~=~ 1$, and $"far_val" ~=~ 0$
-are acceptable.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDepthRange\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_DEPTH_RANGE\fP
-.SH SEE ALSO
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glPolygonOffset(3G)\fP,
-\%\f3glViewport(3G)\fP
diff --git a/doc/gl-docs/GL/gl/drawarrays.3gl b/doc/gl-docs/GL/gl/drawarrays.3gl
deleted file mode 100644
index 27f4cc058..000000000
--- a/doc/gl-docs/GL/gl/drawarrays.3gl
+++ /dev/null
@@ -1,97 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 drawarray
-.ds Xs 55233 5 drawarrays.gl
-.TH GLDRAWARRAYS 3G
-.SH NAME
-.B "glDrawArrays
-\- render primitives from array data
-
-.SH C SPECIFICATION
-void \f3glDrawArrays\fP(
-GLenum \fImode\fP,
-.nf
-.ta \w'\f3void \fPglDrawArrays( 'u
- GLint \fIfirst\fP,
- GLsizei \fIcount\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIfirst\fP\ \ 'u
-\f2mode\fP
-Specifies what kind of primitives to render.
-Symbolic constants
-\%\f3GL_POINTS\fP,
-\%\f3GL_LINE_STRIP\fP,
-\%\f3GL_LINE_LOOP\fP,
-\%\f3GL_LINES\fP,
-\%\f3GL_TRIANGLE_STRIP\fP,
-\%\f3GL_TRIANGLE_FAN\fP,
-\%\f3GL_TRIANGLES\fP,
-\%\f3GL_QUAD_STRIP\fP,
-\%\f3GL_QUADS\fP,
-and \%\f3GL_POLYGON\fP are accepted.
-.TP
-\f2first\fP
-Specifies the starting index in the enabled arrays.
-.TP
-\f2count\fP
-Specifies the number of indices to be rendered.
-.SH DESCRIPTION
-\%\f3glDrawArrays\fP specifies multiple geometric primitives
-with very few subroutine calls. Instead of calling a GL procedure
-to pass each individual vertex, normal, texture coordinate, edge
-flag, or color, you can prespecify
-separate arrays of vertices, normals, and colors and use them to
-construct a sequence of primitives with a single
-call to \%\f3glDrawArrays\fP.
-.P
-When \%\f3glDrawArrays\fP is called, it uses \f2count\fP sequential elements from each
-enabled array to construct a sequence of geometric primitives,
-beginning with element \f2first\fP. \f2mode\fP specifies what kind of
-primitives are constructed, and how the array elements
-construct those primitives. If \%\f3GL_VERTEX_ARRAY\fP is not enabled, no
-geometric primitives are generated.
-.P
-Vertex attributes that are modified by \%\f3glDrawArrays\fP have an
-unspecified value after \%\f3glDrawArrays\fP returns. For example, if
-\%\f3GL_COLOR_ARRAY\fP is enabled, the value of the current color is
-undefined after \%\f3glDrawArrays\fP executes. Attributes that aren't
-modified remain well defined.
-.SH NOTES
-\%\f3glDrawArrays\fP is available only if the GL version is 1.1 or greater.
-.P
-\%\f3glDrawArrays\fP is included in display lists. If \%\f3glDrawArrays\fP is entered into a
-display list,
-the necessary array data (determined by the array pointers and
-enables) is also
-entered into the display list. Because the array pointers and
-enables are client-side state, their values affect display lists
-when the lists are created, not when the lists are executed.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2count\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDrawArrays\fP is executed between
-the execution of \%\f3glBegin\fP and the corresponding \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glDrawRangeElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/drawbuffer.3gl b/doc/gl-docs/GL/gl/drawbuffer.3gl
deleted file mode 100644
index 778f965c3..000000000
--- a/doc/gl-docs/GL/gl/drawbuffer.3gl
+++ /dev/null
@@ -1,141 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 drawbuffe
-.ds Xs 38775 6 drawbuffer.gl
-.TH GLDRAWBUFFER 3G
-.SH NAME
-.B "glDrawBuffer
-\- specify which color buffers are to be drawn into
-
-.SH C SPECIFICATION
-void \f3glDrawBuffer\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-Specifies up to four color buffers to be drawn into.
-Symbolic constants
-\%\f3GL_NONE\fP,
-\%\f3GL_FRONT_LEFT\fP,
-\%\f3GL_FRONT_RIGHT\fP,
-\%\f3GL_BACK_LEFT\fP,
-\%\f3GL_BACK_RIGHT\fP,
-\%\f3GL_FRONT\fP,
-\%\f3GL_BACK\fP,
-\%\f3GL_LEFT\fP,
-\%\f3GL_RIGHT\fP,
-\%\f3GL_FRONT_AND_BACK\fP, and
-\%\f3GL_AUX\fP\f2i\fP,
-where \f2i\fP is between 0 and
-.br
-``\%\f3GL_AUX_BUFFERS\fP'' \-1,
-are accepted (\%\f3GL_AUX_BUFFERS\fP is not the upper limit; use \%\f3glGet\fP
-to query the number of available aux buffers.)
-The initial value is \%\f3GL_FRONT\fP for single-buffered contexts,
-and \%\f3GL_BACK\fP for double-buffered contexts.
-.SH DESCRIPTION
-When colors are written to the frame buffer,
-they are written into the color buffers specified by \%\f3glDrawBuffer\fP.
-The specifications are as follows:
-.TP 25
-\%\f3GL_NONE\fP
-No color buffers are written.
-.TP
-\%\f3GL_FRONT_LEFT\fP
-Only the front left color buffer is written.
-.TP
-\%\f3GL_FRONT_RIGHT\fP
-Only the front right color buffer is written.
-.TP
-\%\f3GL_BACK_LEFT\fP
-Only the back left color buffer is written.
-.TP
-\%\f3GL_BACK_RIGHT\fP
-Only the back right color buffer is written.
-.TP
-\%\f3GL_FRONT\fP
-Only the front left and front right color buffers are written.
-If there is no front right color buffer,
-only the front left color buffer is written.
-.TP
-\%\f3GL_BACK\fP
-Only the back left and back right color buffers are written.
-If there is no back right color buffer,
-only the back left color buffer is written.
-.TP
-\%\f3GL_LEFT\fP
-Only the front left and back left color buffers are written.
-If there is no back left color buffer,
-only the front left color buffer is written.
-.TP
-\%\f3GL_RIGHT\fP
-Only the front right and back right color buffers are written.
-If there is no back right color buffer,
-only the front right color buffer is written.
-.BP
-.TP
-\%\f3GL_FRONT_AND_BACK\fP
-All the front and back color buffers
-(front left, front right, back left, back right)
-are written.
-If there are no back color buffers,
-only the front left and front right color buffers are written.
-If there are no right color buffers,
-only the front left and back left color buffers are written.
-If there are no right or back color buffers,
-only the front left color buffer is written.
-.TP
-\%\f3GL_AUX\fP\f2i\fP
-Only auxiliary color buffer \f2i\fP is written.
-.P
-If more than one color buffer is selected for drawing,
-then blending or logical operations are computed and applied independently
-for each color buffer and can produce different results in each buffer.
-.P
-Monoscopic contexts include only
-.I left
-buffers, and stereoscopic contexts include both
-.I left
-and
-.I right
-buffers.
-Likewise, single-buffered contexts include only
-.I front
-buffers, and double-buffered contexts include both
-.I front
-and
-.I back
-buffers.
-The context is selected at GL initialization.
-.SH NOTES
-It is always the case that \%\f3GL_AUX\fP$i$ = \%\f3GL_AUX0\fP + $i$.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if none of the buffers indicated
-by \f2mode\fP exists.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDrawBuffer\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_DRAW_BUFFER\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_AUX_BUFFERS\fP
-.SH SEE ALSO
-\%\f3glBlendFunc(3G)\fP,
-\%\f3glColorMask(3G)\fP,
-\%\f3glIndexMask(3G)\fP,
-\%\f3glLogicOp(3G)\fP,
-\%\f3glReadBuffer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/drawelements.3gl b/doc/gl-docs/GL/gl/drawelements.3gl
deleted file mode 100644
index c5f5d2cdd..000000000
--- a/doc/gl-docs/GL/gl/drawelements.3gl
+++ /dev/null
@@ -1,105 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 draweleme
-.ds Xs 17577 5 drawelements.gl
-.TH GLDRAWELEMENTS 3G
-.SH NAME
-.B "glDrawElements
-\- render primitives from array data
-
-.SH C SPECIFICATION
-void \f3glDrawElements\fP(
-GLenum \fImode\fP,
-.nf
-.ta \w'\f3void \fPglDrawElements( 'u
- GLsizei \fIcount\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*indices\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIindices\fP\ \ 'u
-\f2mode\fP
-Specifies what kind of primitives to render.
-Symbolic constants
-\%\f3GL_POINTS\fP,
-\%\f3GL_LINE_STRIP\fP,
-\%\f3GL_LINE_LOOP\fP,
-\%\f3GL_LINES\fP,
-\%\f3GL_TRIANGLE_STRIP\fP,
-\%\f3GL_TRIANGLE_FAN\fP,
-\%\f3GL_TRIANGLES\fP,
-\%\f3GL_QUAD_STRIP\fP,
-\%\f3GL_QUADS\fP,
-and \%\f3GL_POLYGON\fP are accepted.
-.TP
-\f2count\fP
-Specifies the number of elements to be rendered.
-.TP
-\f2type\fP
-Specifies the type of the values in \f2indices\fP. Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP, \%\f3GL_UNSIGNED_SHORT\fP, or
-\%\f3GL_UNSIGNED_INT\fP.
-.TP
-\f2indices\fP
-Specifies a pointer to the location where the indices are stored.
-.SH DESCRIPTION
-\%\f3glDrawElements\fP specifies multiple geometric primitives
-with very few subroutine calls. Instead of calling a GL function
-to pass each individual vertex, normal, texture coordinate, edge
-flag, or color, you can prespecify
-separate arrays of vertices, normals, and so on and use them to
-construct a sequence of primitives with a single
-call to \%\f3glDrawElements\fP.
-.P
-When \%\f3glDrawElements\fP is called, it uses \f2count\fP sequential elements from an
-enabled array, starting at \f2indices\fP to construct a sequence of
-geometric primitives. \f2mode\fP specifies what kind of primitives are
-constructed, and how the array elements construct these primitives. If
-more than one array is enabled, each is used. If
-\%\f3GL_VERTEX_ARRAY\fP is not enabled, no geometric primitives are
-constructed.
-.P
-Vertex attributes that are modified by \%\f3glDrawElements\fP have an
-unspecified value after \%\f3glDrawElements\fP returns. For example, if
-\%\f3GL_COLOR_ARRAY\fP is enabled, the value of the current color is
-undefined after \%\f3glDrawElements\fP executes. Attributes that aren't
-modified maintain their previous values.
-.SH NOTES
-\%\f3glDrawElements\fP is available only if the GL version is 1.1 or greater.
-.P
-\%\f3glDrawElements\fP is included in display lists. If \%\f3glDrawElements\fP is entered into a
-display list,
-the necessary array data (determined by the array pointers and
-enables) is also
-entered into the display list. Because the array pointers and
-enables are client-side state, their values affect display lists
-when the lists are created, not when the lists are executed.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2count\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDrawElements\fP is executed between
-the execution of \%\f3glBegin\fP and the corresponding \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawRangeElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/drawpixels.3gl b/doc/gl-docs/GL/gl/drawpixels.3gl
deleted file mode 100644
index b55bed1e9..000000000
--- a/doc/gl-docs/GL/gl/drawpixels.3gl
+++ /dev/null
@@ -1,545 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 drawpixel
-.ds Xs 51793 21 drawpixels.gl
-.TH GLDRAWPIXELS 3G
-.SH NAME
-.B "glDrawPixels
-\- write a block of pixels to the frame buffer
-
-.SH C SPECIFICATION
-void \f3glDrawPixels\fP(
-GLsizei \fIwidth\fP,
-.nf
-.ta \w'\f3void \fPglDrawPixels( 'u
- GLsizei \fIheight\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2width\fP\ \f2height\fP\ \ 'u
-\f2width\fP, \f2height\fP
-Specify the dimensions of the pixel rectangle to be written
-into the frame buffer.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-Symbolic constants
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_STENCIL_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP are accepted.
-.TP
-\f2type\fP
-Specifies the data type for \f2pixels\fP.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2pixels\fP
-Specifies a pointer to the pixel data.
-.SH DESCRIPTION
-\%\f3glDrawPixels\fP reads pixel data from memory and writes it into the frame buffer
-.br
-relative to the current raster position, provided that the raster
-position is valid. Use
-.br
-\%\f3glRasterPos\fP to set the current raster position; use
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION_VALID\fP
-to determine if the specified raster position is valid, and
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION\fP
-to query the raster position.
-.P
-Several parameters define the encoding of pixel data in memory
-and control the processing of the pixel data
-before it is placed in the frame buffer.
-These parameters are set with four commands:
-\%\f3glPixelStore\fP,
-\%\f3glPixelTransfer\fP,
-\%\f3glPixelMap\fP, and \%\f3glPixelZoom\fP.
-This reference page describes the effects on \%\f3glDrawPixels\fP of many,
-but not all, of the parameters specified by these four commands.
-.P
-Data is read from \f2pixels\fP as a sequence of signed or unsigned bytes,
-signed or unsigned shorts, signed or unsigned integers, or
-single-precision floating-point values, depending on \f2type\fP.
-When \f2type\fP is one of \%\f3GL_UNSIGNED_BYTE\fP, \%\f3GL_BYTE\fP,
-\%\f3GL_UNSIGNED_SHORT\fP, \%\f3GL_SHORT\fP, \%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP, or \%\f3GL_FLOAT\fP each of these bytes, shorts, integers, or
-floating-point values is interpreted as one color or depth component, or
-one index, depending on \f2format\fP.
-When \f2type\fP is one of \%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, \%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP, \%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, each unsigned value is interpreted as
-containing all the components for a single pixel, with the color
-components arranged according to \f2format\fP.
-When \f2type\fP is one of \%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP, \%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP, \%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP, each unsigned value is interpreted
-as containing all color components, specified by \f2format\fP, for a single
-pixel in a reversed order. Indices are always treated individually.
-Color components are treated as groups of one, two, three, or four
-values, again based on \f2format\fP. Both individual indices and groups of
-components are referred to as pixels.
-If \f2type\fP is \%\f3GL_BITMAP\fP, the data must be unsigned bytes, and
-\f2format\fP must be either \%\f3GL_COLOR_INDEX\fP or \%\f3GL_STENCIL_INDEX\fP.
-Each unsigned byte is treated as eight 1-bit pixels, with bit ordering
-determined by \%\f3GL_UNPACK_LSB_FIRST\fP (see \%\f3glPixelStore\fP).
-.P
-\f2width\fP$~ times ~$\f2height\fP pixels are read from memory,
-starting at location \f2pixels\fP.
-By default, these pixels are taken from adjacent memory locations,
-except that after all \f2width\fP pixels are read,
-the read pointer is advanced to the next four-byte boundary.
-The four-byte row alignment is specified by \%\f3glPixelStore\fP with
-argument \%\f3GL_UNPACK_ALIGNMENT\fP,
-and it can be set to one, two, four, or eight bytes.
-Other pixel store parameters specify different read pointer advancements,
-both before the first pixel is read
-and after all \f2width\fP pixels are read.
-See the \%\f3glPixelStore\fP reference page for details on these options.
-.P
-The \f2width\fP$~ times ~$\f2height\fP pixels that are read from memory are
-each operated on in the same way,
-based on the values of several parameters specified by \%\f3glPixelTransfer\fP
-and \%\f3glPixelMap\fP.
-The details of these operations,
-as well as the target buffer into which the pixels are drawn,
-are specific to the of the pixels,
-as specified by \f2format\fP.
-\f2format\fP can assume one of 13 symbolic values:
-.TP 10
-\%\f3GL_COLOR_INDEX\fP
-Each pixel is a single value,
-a color index.
-It is converted to fixed-point ,
-with an unspecified number of bits to the right of the binary point,
-regardless of the memory data type.
-Floating-point values convert to true fixed-point values.
-Signed and unsigned integer data is converted with all fraction bits
-set to 0.
-Bitmap data convert to either 0 or 1.
-.IP
-Each fixed-point index is then shifted left by \%\f3GL_INDEX_SHIFT\fP bits
-and added to \%\f3GL_INDEX_OFFSET\fP.
-If \%\f3GL_INDEX_SHIFT\fP is negative,
-the shift is to the right.
-In either case, zero bits fill otherwise unspecified bit locations in the
-result.
-.IP
-If the GL is in RGBA mode,
-the resulting index is converted to an RGBA pixel
-with the help of the \%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP,
-and \%\f3GL_PIXEL_MAP_I_TO_A\fP tables.
-If the GL is in color index mode,
-and if \%\f3GL_MAP_COLOR\fP is true,
-the index is replaced with the value that it references in lookup table
-\%\f3GL_PIXEL_MAP_I_TO_I\fP.
-Whether the lookup replacement of the index is done or not,
-the integer part of the index is then ANDed with $2 sup b -1$,
-where $b$ is the number of bits in a color index buffer.
-.BP
-.IP
-The GL then converts the resulting indices or RGBA colors to fragments
-by attaching the current raster position \f2z\fP coordinate and
-texture coordinates to each pixel,
-then assigning $x$ and $y$ window coordinates to the $n$th fragment such that
-.sp
-.RS
-.ce
-$x sub n ~=~ x sub r ~+~ n ~ roman mod ~ "width"$
-.sp
-.ce
-$y sub n ~=~ y sub r ~+~ \(lf n ^/^ "width" ~ \(rf$
-.ce 0
-.sp
-.RE
-.IP
-where ($x sub r , y sub r$) is the current raster position.
-These pixel fragments are then treated just like the fragments generated by
-rasterizing points, lines, or polygons.
-Texture mapping,
-fog,
-and all the fragment operations are applied before the fragments are written
-to the frame buffer.
-.TP
-\%\f3GL_STENCIL_INDEX\fP
-Each pixel is a single value,
-a stencil index.
-It is converted to fixed-point ,
-with an unspecified number of bits to the right of the binary point,
-regardless of the memory data type.
-Floating-point values convert to true fixed-point values.
-Signed and unsigned integer data is converted with all fraction bits
-set to 0.
-Bitmap data convert to either 0 or 1.
-.IP
-Each fixed-point index is then shifted left by \%\f3GL_INDEX_SHIFT\fP bits,
-and added to \%\f3GL_INDEX_OFFSET\fP.
-If \%\f3GL_INDEX_SHIFT\fP is negative,
-the shift is to the right.
-In either case, zero bits fill otherwise unspecified bit locations in the
-result.
-If \%\f3GL_MAP_STENCIL\fP is true,
-the index is replaced with the value that it references in lookup table
-\%\f3GL_PIXEL_MAP_S_TO_S\fP.
-Whether the lookup replacement of the index is done or not,
-the integer part of the index is then ANDed with $2 sup b -1$,
-where $b$ is the number of bits in the stencil buffer.
-The resulting stencil indices are then written to the stencil buffer
-such that the $n$th index is written to location
-.P
-.RS
-.ce
-$x sub n ~=~ x sub r ~+~ n ~ roman mod ~ "width"$
-.sp
-.ce
-$y sub n ~=~ y sub r ~+~ \(lf ~ n / "width" ~ \(rf$
-.fi
-.sp
-.RE
-.IP
-where ($x sub r , y sub r$) is the current raster position.
-Only the pixel ownership test,
-the scissor test,
-and the stencil writemask affect these write operations.
-.TP
-\%\f3GL_DEPTH_COMPONENT\fP
-Each pixel is a single-depth component.
-Floating-point data is converted directly to an internal floating-point
- with unspecified precision.
-Signed integer data is mapped linearly to the internal floating-point
- such that the most positive representable integer value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Unsigned integer data is mapped similarly:
-the largest integer value maps to 1.0,
-and 0 maps to 0.0.
-The resulting floating-point depth value is then multiplied
-by \%\f3GL_DEPTH_SCALE\fP and added to \%\f3GL_DEPTH_BIAS\fP.
-The result is clamped to the range [0,1].
-.IP
-The GL then converts the resulting depth components to fragments
-by attaching the current raster position color or color index and
-texture coordinates to each pixel,
-then assigning $x$ and $y$ window coordinates to the $n$th fragment such that
-.P
-.RS
-.ce
-$x sub n ~=~ x sub r ~+~ n ~ roman mod ~ "width"$
-.sp
-.ce
-$y sub n ~=~ y sub r ~+~ \(lf ~ n / "width" ~ \(rf$
-.ce 0
-.sp
-.RE
-.IP
-where ($x sub r , y sub r$) is the current raster position.
-These pixel fragments are then treated just like the fragments generated by
-rasterizing points, lines, or polygons.
-Texture mapping,
-fog,
-and all the fragment operations are applied before the fragments are written
-to the frame buffer.
-.TP
-\%\f3GL_RGBA\fP
-.TP
-\%\f3GL_BGRA\fP
-Each pixel is a four-component group: for \%\f3GL_RGBA\fP, the red
-component is first, followed by green, followed by blue, followed by
-alpha; for \%\f3GL_BGRA\fP the order is blue, green, red and then alpha.
-Floating-point values are converted directly to an internal floating-point
- with unspecified precision.
-Signed integer values are mapped linearly to the internal floating-point
- such that the most positive representable integer value maps to 1.0,
-and the most negative representable value maps to \-1.0. (Note that
-this mapping does not convert 0 precisely to 0.0.)
-Unsigned integer data is mapped similarly:
-the largest integer value maps to 1.0,
-and 0 maps to 0.0.
-The resulting floating-point color values are then multiplied
-by \%\f3GL_c_SCALE\fP and added to \%\f3GL_c_BIAS\fP,
-where \f2c\fP is RED, GREEN, BLUE, and ALPHA
-for the respective color components.
-The results are clamped to the range [0,1].
-.IP
-If \%\f3GL_MAP_COLOR\fP is true,
-each color component is scaled by the size of lookup table
-\%\f3GL_PIXEL_MAP_c_TO_c\fP,
-then replaced by the value that it references in that table.
-\f2c\fP is R, G, B, or A respectively.
-.BP
-.IP
-The GL then converts the resulting RGBA colors to fragments
-by attaching the current raster position \f2z\fP coordinate and
-texture coordinates to each pixel,
-then assigning $x$ and $y$ window coordinates to the $n$th fragment such that
-.P
-.RS
-.ce
-$x sub n ~=~ x sub r ~+~ n ~ roman mod ~ "width"$
-.sp
-.ce
-$y sub n ~=~ y sub r ~+~ \(lf ~ n / "width" ~ \(rf$
-.ce 0
-.sp
-.RE
-.IP
-where ($x sub r , y sub r$) is the current raster position.
-These pixel fragments are then treated just like the fragments generated by
-rasterizing points, lines, or polygons.
-Texture mapping,
-fog,
-and all the fragment operations are applied before the fragments are written
-to the frame buffer.
-.TP
-\%\f3GL_RED\fP
-Each pixel is a single red component.
-This component is converted to the internal floating-point in
-the same way the red component of an RGBA pixel is. It is
-then converted to an RGBA pixel with green and blue set to 0,
-and alpha set to 1.
-After this conversion, the pixel is treated as if it had been read
-as an RGBA pixel.
-.TP
-\%\f3GL_GREEN\fP
-Each pixel is a single green component.
-This component is converted to the internal floating-point in
-the same way the green component of an RGBA pixel is.
-It is then converted to an RGBA pixel with red and blue set to 0,
-and alpha set to 1.
-After this conversion, the pixel is treated as if it had been read
-as an RGBA pixel.
-.TP
-\%\f3GL_BLUE\fP
-Each pixel is a single blue component.
-This component is converted to the internal floating-point in
-the same way the blue component of an RGBA pixel is.
-It is then converted to an RGBA pixel with red and green set to 0,
-and alpha set to 1.
-After this conversion, the pixel is treated as if it had been read
-as an RGBA pixel.
-.TP
-\%\f3GL_ALPHA\fP
-Each pixel is a single alpha component.
-This component is converted to the internal floating-point in
-the same way the alpha component of an RGBA pixel is.
-It is then converted to an RGBA pixel with red, green, and blue set to 0.
-After this conversion, the pixel is treated as if it had been read
-as an RGBA pixel.
-.BP
-.TP
-\%\f3GL_RGB\fP
-.TP
-\%\f3GL_BGR\fP
-Each pixel is a three-component group:
-red first, followed by green, followed by blue; for \%\f3GL_BGR\fP, the
-first component is blue, followed by green and then red.
-Each component is converted to the internal floating-point in
-the same way the red, green, and blue components of an RGBA pixel are.
-The color triple is converted to an RGBA pixel with alpha set to 1.
-After this conversion, the pixel is treated as if it had been read
-as an RGBA pixel.
-.TP
-\%\f3GL_LUMINANCE\fP
-Each pixel is a single luminance component.
-This component is converted to the internal floating-point in
-the same way the red component of an RGBA pixel is.
-It is then converted to an RGBA pixel with red, green, and blue set to the
-converted luminance value,
-and alpha set to 1.
-After this conversion, the pixel is treated as if it had been read
-as an RGBA pixel.
-.TP
-\%\f3GL_LUMINANCE_ALPHA\fP
-Each pixel is a two-component group:
-luminance first, followed by alpha.
-The two components are converted to the internal floating-point in
-the same way the red component of an RGBA pixel is.
-They are then converted to an RGBA pixel with red, green, and blue set to the
-converted luminance value,
-and alpha set to the converted alpha value.
-After this conversion, the pixel is treated as if it had been read
-as an RGBA pixel.
-.P
-The following table summarizes the meaning of the valid constants for the
-\f2type\fP parameter:
-.sp 2
-.TS
-center;
-lb lb
-l l.
-_
-Type Corresponding Type
-_
-\%\f3GL_UNSIGNED_BYTE\fP unsigned 8-bit integer
-\%\f3GL_BYTE\fP signed 8-bit integer
-\%\f3GL_BITMAP\fP single bits in unsigned 8-bit integers
-\%\f3GL_UNSIGNED_SHORT\fP unsigned 16-bit integer
-\%\f3GL_SHORT\fP signed 16-bit integer
-\%\f3GL_UNSIGNED_INT\fP unsigned 32-bit integer
-\%\f3GL_INT\fP 32-bit integer
-\%\f3GL_FLOAT\fP single-precision floating-point
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP unsigned 8-bit integer
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP unsigned 8-bit integer with reversed component ordering
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP unsigned 16-bit integer
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP unsigned 16-bit integer with reversed component ordering
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP unsigned 16-bit integer
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP unsigned 16-bit integer with reversed component ordering
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP unsigned 16-bit integer
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP unsigned 16-bit integer with reversed component ordering
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP unsigned 32-bit integer
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP unsigned 32-bit integer with reversed component ordering
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP unsigned 32-bit integer
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP unsigned 32-bit integer with reversed component ordering
-_
-.TE
-.sp
-.BP
-.P
-The rasterization described so far assumes pixel zoom factors of 1.
-If
-.br
-\%\f3glPixelZoom\fP is used to change the $x$ and $y$ pixel zoom factors,
-pixels are converted to fragments as follows.
-If ($x sub r$, $y sub r$) is the current raster position,
-and a given pixel is in the $n$th column and $m$th row
-of the pixel rectangle,
-then fragments are generated for pixels whose centers are in the rectangle
-with corners at
-.sp
-.RS
-.ce
-($x sub r ~+~ zoom sub x^ n$, $y sub r ~+~ zoom sub y^ m$)
-.sp
-.ce
-($x sub r ~+~ zoom sub x^ (n ~+~ 1)$, $y sub r ~+~ zoom sub y^ ( m ~+~ 1 )$)
-.ce 0
-.sp
-.RE
-.P
-where $zoom sub x$ is the value of \%\f3GL_ZOOM_X\fP and
-$zoom sub y$ is the value of \%\f3GL_ZOOM_Y\fP.
-.SH NOTES
-\%\f3GL_BGR\fP and \%\f3GL_BGRA\fP are only valid for \f2format\fP if the GL
-version is 1.2 or greater.
-.P
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are only valid for \f2type\fP if the
-GL version is 1.2 or greater.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if either \f2width\fP or \f2height\fP is negative.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP or \f2type\fP is not one of
-the accepted values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP,
-or
-\%\f3GL_LUMINANCE_ALPHA\fP,
-and the GL is in color index mode.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is \%\f3GL_BITMAP\fP and
-\f2format\fP is not either \%\f3GL_COLOR_INDEX\fP or \%\f3GL_STENCIL_INDEX\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is \%\f3GL_STENCIL_INDEX\fP
-and there is no stencil buffer.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDrawPixels\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is one
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, of
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION_VALID\fP
-.SH SEE ALSO
-\%\f3glAlphaFunc(3G)\fP,
-\%\f3glBlendFunc(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glLogicOp(3G)\fP,
-\%\f3glPixelMap(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glPixelZoom(3G)\fP,
-\%\f3glRasterPos(3G)\fP,
-\%\f3glReadPixels(3G)\fP,
-\%\f3glScissor(3G)\fP,
-\%\f3glStencilFunc(3G)\fP
diff --git a/doc/gl-docs/GL/gl/drawrangeelements.3gl b/doc/gl-docs/GL/gl/drawrangeelements.3gl
deleted file mode 100644
index 05ee26a7a..000000000
--- a/doc/gl-docs/GL/gl/drawrangeelements.3gl
+++ /dev/null
@@ -1,132 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 drawrange
-.ds Xs 22158 7 drawrangeelements.gl
-.TH GLDRAWRANGEELEMENTS 3G
-.SH NAME
-.B "glDrawRangeElements
-\- render primitives from array data
-
-.SH C SPECIFICATION
-void \f3glDrawRangeElements\fP(
-GLenum \fImode\fP,
-.nf
-.ta \w'\f3void \fPglDrawRangeElements( 'u
- GLuint \fIstart\fP,
- GLuint \fIend\fP,
- GLsizei \fIcount\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*indices\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIindices\fP\ \ 'u
-\f2mode\fP
-Specifies what kind of primitives to render.
-Symbolic constants
-\%\f3GL_POINTS\fP,
-\%\f3GL_LINE_STRIP\fP,
-\%\f3GL_LINE_LOOP\fP,
-\%\f3GL_LINES\fP,
-\%\f3GL_TRIANGLE_STRIP\fP,
-\%\f3GL_TRIANGLE_FAN\fP,
-\%\f3GL_TRIANGLES\fP,
-\%\f3GL_QUAD_STRIP\fP,
-\%\f3GL_QUADS\fP,
-and \%\f3GL_POLYGON\fP are accepted.
-.TP
-\f2start\fP
-Specifies the minimum array index contained in \f2indices\fP.
-.TP
-\f2end\fP
-Specifies the maximum array index contained in \f2indices\fP.
-.TP
-\f2count\fP
-Specifies the number of elements to be rendered.
-.TP
-\f2type\fP
-Specifies the type of the values in \f2count\fP. Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP, \%\f3GL_UNSIGNED_SHORT\fP, or
-\%\f3GL_UNSIGNED_INT\fP.
-.TP
-\f2indices\fP
-Specifies a pointer to the location where the indices are stored.
-.SH DESCRIPTION
-\%\f3glDrawRangeElements\fP is a restricted form of \%\f3glDrawElements\fP. \f2mode\fP, \f2start\fP, \f2end\fP,
-and \f2count\fP match the corresponding arguments to \%\f3glDrawElements\fP, with
-the additional constraint that all values in the arrays \f2count\fP must lie
-between \f2start\fP and \f2end\fP, inclusive.
-.P
-Implementations denote recommended maximum amounts of vertex and
-.br
-index data,
-which may be queried by calling \%\f3glGet\fP with argument
-\%\f3GL_MAX_ELEMENTS_VERTICES\fP and \%\f3GL_MAX_ELEMENTS_INDICES\fP.
-If $"end" ~-~ "start" ~+~ 1$ is greater than the value of
-\%\f3GL_MAX_ELEMENTS_VERTICES\fP, or if \f2count\fP is greater than the value of
-\%\f3GL_MAX_ELEMENTS_INDICES\fP, then the call may operate at reduced
-performance. There is no requirement that all vertices in the range
-[\f2start\fP,\ \f2end\fP] be referenced. However, the implementation may
-partially process unused vertices, reducing performance from what could
-be achieved with an optimal index set.
-.P
-When \%\f3glDrawRangeElements\fP is called, it uses \f2start\fP sequential elements from an
-enabled array, starting at \f2count\fP to construct a sequence of
-geometric primitives. \f2mode\fP specifies what kind of primitives are
-constructed, and how the array elements construct these primitives. If
-more than one array is enabled, each is used. If
-\%\f3GL_VERTEX_ARRAY\fP is not enabled, no geometric primitives are
-constructed.
-.P
-Vertex attributes that are modified by \%\f3glDrawRangeElements\fP have an
-unspecified value after \%\f3glDrawRangeElements\fP returns. For example, if
-\%\f3GL_COLOR_ARRAY\fP is enabled, the value of the current color is
-undefined after \%\f3glDrawRangeElements\fP executes. Attributes that aren't
-modified maintain their previous values.
-.SH NOTES
-\%\f3glDrawRangeElements\fP is available only if the GL version is 1.2 or greater.
-.P
-\%\f3glDrawRangeElements\fP is included in display lists. If \%\f3glDrawRangeElements\fP is entered into a
-display list,
-the necessary array data (determined by the array pointers and
-enables) is also
-entered into the display list. Because the array pointers and
-enables are client-side state, their values affect display lists
-when the lists are created, not when the lists are executed.
-.SH ERRORS
-It is an error for indices to lie outside the range [\f2start\fP,\ \f2end\fP],
-but implementations may not check for this situation. Such indices
-cause implementation-dependent behavior.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2count\fP is negative.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2end\fP $<$ \f2start\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glDrawRangeElements\fP is executed between
-the execution of \%\f3glBegin\fP and the corresponding \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MAX_ELEMENTS_VERTICES\fP
-.P
-\%\f3glGet\fP with argument \%\f3GL_MAX_ELEMENTS_INDICES\fP
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/edgeflag.3gl b/doc/gl-docs/GL/gl/edgeflag.3gl
deleted file mode 100644
index 6b5eebe10..000000000
--- a/doc/gl-docs/GL/gl/edgeflag.3gl
+++ /dev/null
@@ -1,65 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 edgeflag.
-.ds Xs 46953 4 edgeflag.gl
-.TH GLEDGEFLAG 3G
-.SH NAME
-.B "glEdgeFlag, glEdgeFlagv
-\- flag edges as either boundary or nonboundary
-
-.SH C SPECIFICATION
-void \f3glEdgeFlag\fP(
-GLboolean \fIflag\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2flag\fP\ \ 'u
-\f2flag\fP
-Specifies the current edge flag value,
-either \%\f3GL_TRUE\fP or \%\f3GL_FALSE\fP. The initial value is \%\f3GL_TRUE\fP.
-.SH C SPECIFICATION
-void \f3glEdgeFlagv\fP(
-const GLboolean \fI*flag\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f2flag\fP
-Specifies a pointer to an array that contains a single boolean element,
-which replaces the current edge flag value.
-.SH DESCRIPTION
-Each vertex of a polygon,
-separate triangle,
-or separate quadrilateral specified between a \%\f3glBegin\fP/\%\f3glEnd\fP pair
-is marked as the start of either a boundary or nonboundary edge.
-If the current edge flag is true when the vertex is specified,
-the vertex is marked as the start of a boundary edge.
-Otherwise, the vertex is marked as the start of a nonboundary edge.
-\%\f3glEdgeFlag\fP sets the edge flag bit to \%\f3GL_TRUE\fP if \f2flag\fP is \%\f3GL_TRUE\fP,
-and to \%\f3GL_FALSE\fP otherwise.
-.P
-The vertices of connected triangles and connected quadrilaterals are always
-marked as boundary,
-regardless of the value of the edge flag.
-.P
-Boundary and nonboundary edge flags on vertices are significant only if
-\%\f3GL_POLYGON_MODE\fP is set to \%\f3GL_POINT\fP or \%\f3GL_LINE\fP.
-See \%\f3glPolygonMode\fP.
-.SH NOTES
-The current edge flag can be updated at any time.
-In particular,
-\%\f3glEdgeFlag\fP can be called between a call to \%\f3glBegin\fP and the corresponding
-call to \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_EDGE_FLAG\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glPolygonMode(3G)\fP
diff --git a/doc/gl-docs/GL/gl/edgeflagpointer.3gl b/doc/gl-docs/GL/gl/edgeflagpointer.3gl
deleted file mode 100644
index d4029d2b8..000000000
--- a/doc/gl-docs/GL/gl/edgeflagpointer.3gl
+++ /dev/null
@@ -1,100 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 edgeflagp
-.ds Xs 49268 6 edgeflagpointer.gl
-.TH GLEDGEFLAGPOINTER 3G
-.SH NAME
-.B "glEdgeFlagPointer
-\- define an array of edge flags
-
-.SH C SPECIFICATION
-void \f3glEdgeFlagPointer\fP(
-GLsizei \fIstride\fP,
-.nf
-.ta \w'\f3void \fPglEdgeFlagPointer( 'u
- const GLvoid \fI*ptr\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2stride\fP\ \ 'u
-\f2stride\fP
-Specifies the byte offset between consecutive edge flags.
-If \f2stride\fP is 0 (the initial value), the edge flags are understood
-to be tightly packed in the array. The initial value is 0.
-.TP
-\f2ptr\fP
-Specifies a pointer to the first edge flag in the array. The initial
-value is zero.
-.SH DESCRIPTION
-\%\f3glEdgeFlagPointer\fP specifies the location and data of an array of boolean edge
-flags to use when rendering. \f2stride\fP specifies the byte stride from one
-edge flag to the next allowing vertices and attributes
-to be packed into a single array or stored in separate arrays.
-(Single-array storage may be more efficient on some implementations;
-see \%\f3glInterleavedArrays\fP.)
-.P
-When an edge flag array is
-specified, \f2stride\fP and \f2ptr\fP are saved as client-side
-state.
-.P
-To enable and disable the edge flag array, call \%\f3glEnableClientState\fP and
-.br
-\%\f3glDisableClientState\fP with
-the argument \%\f3GL_EDGE_FLAG_ARRAY\fP. If enabled, the edge flag array is used
-when \%\f3glDrawArrays\fP, \%\f3glDrawElements\fP, or \%\f3glArrayElement\fP is called.
-.P
-Use \%\f3glDrawArrays\fP to construct a sequence of primitives (all of
-the same type)
-from prespecified vertex and vertex attribute arrays.
-Use \%\f3glArrayElement\fP to specify primitives
-by indexing vertices and vertex attributes and \%\f3glDrawElements\fP to
-construct a sequence of primitives by indexing vertices and vertex attributes.
-.SH NOTES
-\%\f3glEdgeFlagPointer\fP is available only if the GL version is 1.1 or greater.
-.P
-The edge flag array is initially disabled and it won't be accessed when
-.br
-\%\f3glArrayElement\fP, \%\f3glDrawElements\fP or \%\f3glDrawArrays\fP is called.
-.P
-Execution of \%\f3glEdgeFlagPointer\fP is not allowed between the execution of
-\%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP,
-but an error may or may not be generated. If no error is generated,
-the operation is undefined.
-.P
-\%\f3glEdgeFlagPointer\fP is typically implemented on the client side.
-.P
-Edge flag array parameters are client-side state and are therefore
-not saved or restored by \%\f3glPushAttrib\fP and \%\f3glPopAttrib\fP.
-Use \%\f3glPushClientAttrib\fP and
-.br
-\%\f3glPopClientAttrib\fP instead.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2stride\fP is negative.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_EDGE_FLAG_ARRAY\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_EDGE_FLAG_ARRAY_STRIDE\fP
-.br
-\%\f3glGetPointerv\fP with argument \%\f3GL_EDGE_FLAG_ARRAY_POINTER\fP
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glPopClientAttrib(3G)\fP,
-.br
-\%\f3glPushClientAttrib(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/enable.3gl b/doc/gl-docs/GL/gl/enable.3gl
deleted file mode 100644
index 1ee75ec92..000000000
--- a/doc/gl-docs/GL/gl/enable.3gl
+++ /dev/null
@@ -1,505 +0,0 @@
-'\" et
-'\"! eqn|tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 enable.gl
-.ds Xs 48946 14 enable.gl
-.TH GLENABLE 3G
-.SH NAME
-.B "glEnable, glDisable
-\- enable or disable server-side GL capabilities
-
-.SH C SPECIFICATION
-void \f3glEnable\fP(
-GLenum \fIcap\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2cap\fP\ \ 'u
-\f2cap\fP
-Specifies a symbolic constant indicating a GL capability.
-.SH C SPECIFICATION
-void \f3glDisable\fP(
-GLenum \fIcap\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f2cap\fP
-Specifies a symbolic constant indicating a GL capability.
-.SH DESCRIPTION
-\%\f3glEnable\fP and \%\f3glDisable\fP enable and disable various capabilities.
-Use \%\f3glIsEnabled\fP or \%\f3glGet\fP to determine the current setting
-of any capability. The initial value for each capability with the
-exception of \%\f3GL_DITHER\fP is \%\f3GL_FALSE\fP. The initial value for
-\%\f3GL_DITHER\fP is \%\f3GL_TRUE\fP.
-.P
-Both \%\f3glEnable\fP and \%\f3glDisable\fP take a single argument, \f2cap\fP,
-which can assume one of the following values:
-.TP 25
-\%\f3GL_ALPHA_TEST\fP
-If enabled,
-do alpha testing. See
-\%\f3glAlphaFunc\fP.
-.TP
-\%\f3GL_AUTO_NORMAL\fP
-If enabled,
-generate normal vectors when either
-\%\f3GL_MAP2_VERTEX_3\fP or
-\%\f3GL_MAP2_VERTEX_4\fP is used to generate vertices.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_BLEND\fP
-If enabled,
-blend the incoming RGBA color values with the values in the color
-buffers. See \%\f3glBlendFunc\fP.
-.TP
-\%\f3GL_CLIP_PLANE\fP\f2i\fP
-If enabled,
-clip geometry against user-defined clipping plane \f2i\fP.
-See \%\f3glClipPlane\fP.
-.TP
-\%\f3GL_COLOR_LOGIC_OP\fP
-If enabled,
-apply the currently selected logical operation to the incoming RGBA
-color and color buffer values. See \%\f3glLogicOp\fP.
-.TP
-\%\f3GL_COLOR_MATERIAL\fP
-If enabled,
-have one or more material parameters track the current color.
-See \%\f3glColorMaterial\fP.
-.TP
-\%\f3GL_COLOR_TABLE\fP
-If enabled,
-preform a color table lookup on the incoming RGBA color values.
-See \%\f3glColorTable\fP.
-.TP
-\%\f3GL_CONVOLUTION_1D\fP
-If enabled,
-perform a 1D convolution operation on incoming RGBA color values.
-See \%\f3glConvolutionFilter1D\fP.
-.TP
-\%\f3GL_CONVOLUTION_2D\fP
-If enabled,
-perform a 2D convolution operation on incoming RGBA color values.
-See \%\f3glConvolutionFilter2D\fP.
-.TP
-\%\f3GL_CULL_FACE\fP
-If enabled,
-cull polygons based on their winding in window coordinates.
-See \%\f3glCullFace\fP.
-.TP
-\%\f3GL_DEPTH_TEST\fP
-If enabled,
-do depth comparisons and update the depth buffer. Note that even if
-the depth buffer exists and the depth mask is non-zero, the
-depth buffer is not updated if the depth test is disabled. See
-\%\f3glDepthFunc\fP and
-.br
-\%\f3glDepthRange\fP.
-.TP
-\%\f3GL_DITHER\fP
-If enabled,
-dither color components or indices before they are written to the
-color buffer.
-.TP
-\%\f3GL_FOG\fP
-If enabled,
-blend a fog color into the posttexturing color.
-See \%\f3glFog\fP.
-.TP
-\%\f3GL_HISTOGRAM\fP
-If enabled,
-histogram incoming RGBA color values.
-See \%\f3glHistogram\fP.
-.TP
-\%\f3GL_INDEX_LOGIC_OP\fP
-If enabled,
-apply the currently selected logical operation to the incoming index and color
-buffer indices. See
-.br
-\%\f3glLogicOp\fP.
-.TP
-\%\f3GL_LIGHT\fP\f2i\fP
-If enabled,
-include light \f2i\fP in the evaluation of the lighting
-equation. See \%\f3glLightModel\fP and \%\f3glLight\fP.
-.TP
-\%\f3GL_LIGHTING\fP
-If enabled,
-use the current lighting parameters to compute the vertex color or index.
-Otherwise, simply associate the current color or index with each
-vertex. See
-.br
-\%\f3glMaterial\fP, \%\f3glLightModel\fP, and \%\f3glLight\fP.
-.TP
-\%\f3GL_LINE_SMOOTH\fP
-If enabled,
-draw lines with correct filtering.
-Otherwise,
-draw aliased lines.
-See \%\f3glLineWidth\fP.
-.TP
-\%\f3GL_LINE_STIPPLE\fP
-If enabled,
-use the current line stipple pattern when drawing lines. See
-\%\f3glLineStipple\fP.
-.TP
-\%\f3GL_MAP1_COLOR_4\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate RGBA values.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_INDEX\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate color indices.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_NORMAL\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate normals.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_1\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate
-\f2s\fP
-texture coordinates.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_2\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate
-\f2s\fP and
-\f2t\fP texture coordinates.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_3\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate
-\f2s\fP,
-\f2t\fP, and
-\f2r\fP texture coordinates.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_4\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate
-\f2s\fP,
-\f2t\fP,
-\f2r\fP, and
-\f2q\fP texture coordinates.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_VERTEX_3\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate
-\f2x\fP, \f2y\fP, and \f2z\fP vertex coordinates.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_VERTEX_4\fP
-If enabled,
-calls to
-\%\f3glEvalCoord1\fP,
-\%\f3glEvalMesh1\fP, and
-\%\f3glEvalPoint1\fP generate
-homogeneous
-\f2x\fP,
-\f2y\fP,
-\f2z\fP, and
-\f2w\fP vertex coordinates.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP2_COLOR_4\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate RGBA values.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_INDEX\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate color indices.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_NORMAL\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate normals.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_1\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate
-\f2s\fP
-texture coordinates.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate
-\f2s\fP and
-\f2t\fP texture coordinates.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_3\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate
-\f2s\fP,
-\f2t\fP, and
-\f2r\fP texture coordinates.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_4\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate
-\f2s\fP,
-\f2t\fP,
-\f2r\fP, and
-\f2q\fP texture coordinates.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_VERTEX_3\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate
-\f2x\fP, \f2y\fP, and \f2z\fP vertex coordinates.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_VERTEX_4\fP
-If enabled,
-calls to
-\%\f3glEvalCoord2\fP,
-\%\f3glEvalMesh2\fP, and
-\%\f3glEvalPoint2\fP generate
-homogeneous
-\f2x\fP,
-\f2y\fP,
-\f2z\fP, and
-\f2w\fP vertex coordinates.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MINMAX\fP
-If enabled,
-compute the minimum and maximum values of incoming RGBA color values.
-See \%\f3glMinmax\fP.
-.TP
-\%\f3GL_NORMALIZE\fP
-If enabled,
-normal vectors specified with \%\f3glNormal\fP are scaled to unit length
-after transformation. See \%\f3glNormal\fP.
-.TP
-\%\f3GL_POINT_SMOOTH\fP
-If enabled,
-draw points with proper filtering.
-Otherwise,
-draw aliased points.
-See \%\f3glPointSize\fP.
-.TP
-\%\f3GL_POLYGON_OFFSET_FILL\fP
-If enabled, and if the polygon is rendered in
-\%\f3GL_FILL\fP mode, an offset is added to depth values of a polygon's
-fragments before the depth comparison is performed.
-See \%\f3glPolygonOffset\fP.
-.TP
-\%\f3GL_POLYGON_OFFSET_LINE\fP
-If enabled, and if the polygon is rendered in
-\%\f3GL_LINE\fP mode, an offset is added to depth values of a polygon's
-fragments before the depth comparison is performed. See \%\f3glPolygonOffset\fP.
-.TP
-\%\f3GL_POLYGON_OFFSET_POINT\fP
-If enabled, an offset is added to depth values of a polygon's fragments
-before the depth comparison is performed, if the polygon is rendered in
-\%\f3GL_POINT\fP mode. See \%\f3glPolygonOffset\fP.
-.TP
-\%\f3GL_POLYGON_SMOOTH\fP
-If enabled, draw polygons with proper filtering.
-Otherwise, draw aliased polygons. For correct anti-aliased polygons,
-an alpha buffer is needed and the polygons must be sorted front to
-back.
-.TP
-\%\f3GL_POLYGON_STIPPLE\fP
-If enabled,
-use the current polygon stipple pattern when rendering
-polygons. See \%\f3glPolygonStipple\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP
-If enabled,
-preform a color table lookup on RGBA color values after color matrix
-transformation.
-See \%\f3glColorTable\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP
-If enabled,
-preform a color table lookup on RGBA color values after convolution.
-See \%\f3glColorTable\fP.
-.TP
-\%\f3GL_RESCALE_NORMAL\fP
-If enabled, normal vectors specified with \%\f3glNormal\fP are scaled to
-unit length after transformation. See \%\f3glNormal\fP.
-.TP
-\%\f3GL_SEPARABLE_2D\fP
-If enabled, perform a two-dimensional convolution operation using a separable
-convolution filter on incoming RGBA color values.
-See \%\f3glSeparableFilter2D\fP.
-.TP
-\%\f3GL_SCISSOR_TEST\fP
-If enabled,
-discard fragments that are outside the scissor rectangle.
-See \%\f3glScissor\fP.
-.TP
-\%\f3GL_STENCIL_TEST\fP
-If enabled,
-do stencil testing and update the stencil buffer.
-See \%\f3glStencilFunc\fP and \%\f3glStencilOp\fP.
-.TP
-\%\f3GL_TEXTURE_1D\fP
-If enabled, one-dimensional texturing is performed
-(unless two- or three-dimensional texturing is also enabled).
-See \%\f3glTexImage1D\fP.
-.TP
-\%\f3GL_TEXTURE_2D\fP
-If enabled, two-dimensional texturing is performed
-(unless three-dimensional texturing is also enabled). See \%\f3glTexImage2D\fP.
-.TP
-\%\f3GL_TEXTURE_3D\fP
-If enabled, three-dimensional texturing is performed. See \%\f3glTexImage3D\fP.
-.TP
-\%\f3GL_TEXTURE_GEN_Q\fP
-If enabled,
-the \f2q\fP texture coordinate is computed using
-the texture generation function defined with \%\f3glTexGen\fP.
-Otherwise, the current \f2q\fP texture coordinate is used.
-See \%\f3glTexGen\fP.
-.TP
-\%\f3GL_TEXTURE_GEN_R\fP
-If enabled,
-the \f2r\fP texture coordinate is computed using
-the texture generation function defined with \%\f3glTexGen\fP.
-Otherwise, the current \f2r\fP texture coordinate is used.
-See \%\f3glTexGen\fP.
-.TP
-\%\f3GL_TEXTURE_GEN_S\fP
-If enabled,
-the \f2s\fP texture coordinate is computed using
-the texture generation function defined with \%\f3glTexGen\fP.
-Otherwise, the current \f2s\fP texture coordinate is used.
-See \%\f3glTexGen\fP.
-.TP
-\%\f3GL_TEXTURE_GEN_T\fP
-If enabled,
-the \f2t\fP texture coordinate is computed using
-the texture generation function defined with \%\f3glTexGen\fP.
-Otherwise, the current \f2t\fP texture coordinate is used.
-See \%\f3glTexGen\fP.
-.SH NOTES
-\%\f3GL_POLYGON_OFFSET_FILL\fP, \%\f3GL_POLYGON_OFFSET_LINE\fP,
-\%\f3GL_POLYGON_OFFSET_POINT\fP,
-\%\f3GL_COLOR_LOGIC_OP\fP, and \%\f3GL_INDEX_LOGIC_OP\fP are available
-only if the GL version is 1.1 or greater.
-.P
-\%\f3GL_RESCALE_NORMAL\fP, and \%\f3GL_TEXTURE_3D\fP are available only if the
-GL version is 1.2 or greater.
-.P
-\%\f3GL_COLOR_TABLE\fP, \%\f3GL_CONVOLUTION_1D\fP, \%\f3GL_CONVOLUTION_2D\fP,
-\%\f3GL_HISTOGRAM\fP, \%\f3GL_MINMAX\fP,
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, and
-\%\f3GL_SEPARABLE_2D\fP are available only if \%\f3GL_ARB_imaging\fP is returned
-from \%\f3glGet\fP with an argument of \%\f3GL_EXTENSIONS\fP.
-.P
-If \%\f3GL_ARB_multitexture\fP is supported, \%\f3GL_TEXTURE_1D\fP,
-\%\f3GL_TEXTURE_2D\fP, \%\f3GL_TEXTURE_3D\fP, \%\f3GL_TEXTURE_GEN_S\fP,
-\%\f3GL_TEXTURE_GEN_T\fP, \%\f3GL_TEXTURE_GEN_R\fP, and \%\f3GL_TEXTURE_GEN_Q\fP
-enable or disable the respective state for the active texture unit
-specified with \%\f3glActiveTextureARB\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2cap\fP is not one of the values
-listed previously.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glEnable\fP or \%\f3glDisable\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glAlphaFunc(3G)\fP,
-\%\f3glBlendFunc(3G)\fP,
-\%\f3glClipPlane(3G)\fP,
-\%\f3glColorMaterial(3G)\fP,
-\%\f3glCullFace(3G)\fP,
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glDepthRange(3G)\fP,
-\%\f3glEnableClientState(3G)\fP,
-\%\f3glFog(3G)\fP,
-\%\f3glGet(3G)\fP,
-\%\f3glIsEnabled(3G)\fP,
-\%\f3glLight(3G)\fP,
-\%\f3glLightModel(3G)\fP,
-\%\f3glLineWidth(3G)\fP,
-\%\f3glLineStipple(3G)\fP,
-\%\f3glLogicOp(3G)\fP,
-\%\f3glMap1(3G)\fP,
-\%\f3glMap2(3G)\fP,
-\%\f3glMaterial(3G)\fP,
-\%\f3glNormal(3G)\fP,
-\%\f3glPointSize(3G)\fP,
-\%\f3glPolygonMode(3G)\fP,
-\%\f3glPolygonOffset(3G)\fP,
-\%\f3glPolygonStipple(3G)\fP,
-\%\f3glScissor(3G)\fP,
-\%\f3glStencilFunc(3G)\fP,
-\%\f3glStencilOp(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/enableclientstate.3gl b/doc/gl-docs/GL/gl/enableclientstate.3gl
deleted file mode 100644
index 51f767987..000000000
--- a/doc/gl-docs/GL/gl/enableclientstate.3gl
+++ /dev/null
@@ -1,115 +0,0 @@
-.\" $XFree86$
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 enablecli
-.ds Xs 64367 6 enableclientstate.gl
-.TH GLENABLECLIENTSTATE 3G
-.SH NAME
-.B "glEnableClientState, glDisableClientState
-\- enable or disable client-side capability
-
-.SH C SPECIFICATION
-void \f3glEnableClientState\fP(
-GLenum cap); \fI1.1\fP )
-.nf
-.fi
-
-.EN
-.SH PARAMETERS
-.TP \w'\f21.1\fP\ \ 'u
-\f21.1\fP
-Specifies the capability to enable.
-Symbolic constants
-\%\f3GL_COLOR_ARRAY\fP,
-\%\f3GL_EDGE_FLAG_ARRAY\fP,
-\%\f3GL_INDEX_ARRAY\fP,
-\%\f3GL_NORMAL_ARRAY\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY\fP, and
-\%\f3GL_VERTEX_ARRAY\fP
-are accepted.
-.SH C SPECIFICATION
-void \f3glDisableClientState\fP(
-GLenum cap); \fI1.1\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f21.1\fP
-Specifies the capability to disable.
-.SH DESCRIPTION
-\%\f3glEnableClientState\fP and \%\f3glDisableClientState\fP
-enable or disable individual client-side capabilities. By default, all
-client-side capabilities are disabled.
-Both
-\%\f3glEnableClientState\fP and \%\f3glDisableClientState\fP take a
-single argument, \f21.1\fP, which can assume one of the following
-values:
-.TP 25
-\%\f3GL_COLOR_ARRAY\fP
-If enabled, the color array is enabled for writing and used during
-rendering when \%\f3glArrayElement\fP, \%\f3glDrawArrays\fP,
-\%\f3glDrawElement\fP, or \%\f3glDrawRangeElements\fP is called. See
-\%\f3glColorPointer\fP.
-.TP
-\%\f3GL_EDGE_FLAG_ARRAY\fP
-If enabled, the edge flag array is enabled for writing and used during
-rendering when \%\f3glArrayElement\fP, \%\f3glDrawArrays\fP,
-\%\f3glDrawElement\fP, or \%\f3glDrawRangeElements\fP is called. See
-\%\f3glEdgeFlagPointer\fP.
-.TP
-\%\f3GL_INDEX_ARRAY\fP
-If enabled, the index array is enabled for writing and used during
-rendering when \%\f3glArrayElement\fP, \%\f3glDrawArrays\fP,
-\%\f3glDrawElement\fP, or \%\f3glDrawRangeElements\fP is called. See
-\%\f3glIndexPointer\fP.
-.TP
-\%\f3GL_NORMAL_ARRAY\fP
-If enabled, the normal array is enabled for writing and used during
-rendering when \%\f3glArrayElement\fP, \%\f3glDrawArrays\fP,
-\%\f3glDrawElement\fP, or \%\f3glDrawRangeElements\fP is called. See
-\%\f3glNormalPointer\fP.
-.TP
-\%\f3GL_TEXTURE_COORD_ARRAY\fP
-If enabled, the texture coordinate array is enabled for writing and used during
-rendering when \%\f3glArrayElement\fP, \%\f3glDrawArrays\fP,
-\%\f3glDrawElement\fP, or \%\f3glDrawRangeElements\fP is called. See
-\%\f3glTexCoordPointer\fP.
-.TP
-\%\f3GL_VERTEX_ARRAY\fP
-If enabled, the vertex array is enabled for writing and used during
-rendering when \%\f3glArrayElement\fP, \%\f3glDrawArrays\fP,
-\%\f3glDrawElement\fP, or \%\f3glDrawRangeElements\fP is called. See
-\%\f3glVertexPointer\fP.
-.SH NOTES
-\%\f3glEnableClientState\fP is available only if the GL version is 1.1 or greater.
-.P
-If \%\f3GL_ARB_multitexture\fP is supported, enabling and disabling
-\%\f3GL_TEXTURE_COORD_ARRAY\fP affects the active client texture unit.
-The active client texture unit is controlled with
-\%\f3glClientActiveTextureARB\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f21.1\fP is not an accepted value.
-.P
-\%\f3glEnableClientState\fP is not allowed between the execution of \%\f3glBegin\fP and the
-corresponding \%\f3glEnd\fP, but an error may or may not be generated. If
-no error is generated, the behavior is undefined.
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glClientActiveTextureARB(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/evalcoord.3gl b/doc/gl-docs/GL/gl/evalcoord.3gl
deleted file mode 100644
index 1c5a7d422..000000000
--- a/doc/gl-docs/GL/gl/evalcoord.3gl
+++ /dev/null
@@ -1,226 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 evalcoord
-.ds Xs 42414 8 evalcoord.gl
-.TH GLEVALCOORD 3G
-.SH NAME
-.B "glEvalCoord1d, glEvalCoord1f, glEvalCoord2d, glEvalCoord2f, glEvalCoord1dv, glEvalCoord1fv, glEvalCoord2dv, glEvalCoord2fv
-\- evaluate enabled one- and two-dimensional maps
-
-.EQ
-delim $$
-.EN
-.SH C SPECIFICATION
-void \f3glEvalCoord1d\fP(
-GLdouble \fIu\fP )
-.nf
-.fi
-void \f3glEvalCoord1f\fP(
-GLfloat \fIu\fP )
-.nf
-.fi
-void \f3glEvalCoord2d\fP(
-GLdouble \fIu\fP,
-.nf
-.ta \w'\f3void \fPglEvalCoord2d( 'u
- GLdouble \fIv\fP )
-.fi
-void \f3glEvalCoord2f\fP(
-GLfloat \fIu\fP,
-.nf
-.ta \w'\f3void \fPglEvalCoord2f( 'u
- GLfloat \fIv\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2u\fP\ \ 'u
-\f2u\fP
-Specifies a value that is the domain coordinate $u$ to the basis function
-defined in a previous \%\f3glMap1\fP or \%\f3glMap2\fP command.
-.TP
-\f2v\fP
-Specifies a value that is the domain coordinate $v$ to the basis function
-defined in a previous \%\f3glMap2\fP command.
-This argument is not present in a \%\f3glEvalCoord1\fP command.
-.SH C SPECIFICATION
-void \f3glEvalCoord1dv\fP(
-const GLdouble \fI*u\fP )
-.nf
-.fi
-void \f3glEvalCoord1fv\fP(
-const GLfloat \fI*u\fP )
-.nf
-.fi
-void \f3glEvalCoord2dv\fP(
-const GLdouble \fI*u\fP )
-.nf
-.fi
-void \f3glEvalCoord2fv\fP(
-const GLfloat \fI*u\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f2u\fP
-Specifies a pointer to an array containing
-either one or two domain coordinates.
-The first coordinate is $u$.
-The second coordinate is $v$,
-which is present only in \%\f3glEvalCoord2\fP versions.
-.SH DESCRIPTION
-\%\f3glEvalCoord1\fP evaluates enabled one-dimensional maps at argument
-\f2u\fP.
-\%\f3glEvalCoord2\fP does the same for two-dimensional maps using
-two domain values,
-\f2u\fP and \f2v\fP.
-To define a map, call \%\f3glMap1\fP and \%\f3glMap2\fP; to enable and
-disable it, call \%\f3glEnable\fP and \%\f3glDisable\fP.
-.P
-When one of the \%\f3glEvalCoord\fP commands is issued,
-all currently enabled maps of the indicated dimension are evaluated.
-Then,
-for each enabled map,
-it is as if the corresponding GL command had been issued with the
-computed value.
-That is,
-if \%\f3GL_MAP1_INDEX\fP or
-\%\f3GL_MAP2_INDEX\fP is enabled,
-a \%\f3glIndex\fP command is simulated.
-If \%\f3GL_MAP1_COLOR_4\fP or
-\%\f3GL_MAP2_COLOR_4\fP is enabled,
-a \%\f3glColor\fP command is simulated.
-If \%\f3GL_MAP1_NORMAL\fP or \%\f3GL_MAP2_NORMAL\fP is enabled,
-a normal vector is produced,
-and if any of
-\%\f3GL_MAP1_TEXTURE_COORD_1\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_2\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_3\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_4\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_1\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_3\fP, or
-\%\f3GL_MAP2_TEXTURE_COORD_4\fP is enabled, then an appropriate \%\f3glTexCoord\fP command is simulated.
-.P
-For color,
-color index,
-normal,
-and texture coordinates the GL uses evaluated values instead of current values for those evaluations
-that are enabled,
-and current values otherwise,
-However,
-the evaluated values do not update the current values.
-Thus, if \%\f3glVertex\fP commands are interspersed with \%\f3glEvalCoord\fP
-commands, the color,
-normal,
-and texture coordinates associated with the \%\f3glVertex\fP commands are not
-affected by the values generated by the \%\f3glEvalCoord\fP commands,
-but only by the most recent
-\%\f3glColor\fP,
-\%\f3glIndex\fP,
-\%\f3glNormal\fP, and
-\%\f3glTexCoord\fP commands.
-.P
-No commands are issued for maps that are not enabled.
-If more than one texture evaluation is enabled for a particular dimension
-(for example, \%\f3GL_MAP2_TEXTURE_COORD_1\fP and
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP),
-then only the evaluation of the map that produces the larger
-number of coordinates
-(in this case, \%\f3GL_MAP2_TEXTURE_COORD_2\fP)
-is carried out.
-\%\f3GL_MAP1_VERTEX_4\fP overrides \%\f3GL_MAP1_VERTEX_3\fP,
-and
-\%\f3GL_MAP2_VERTEX_4\fP overrides \%\f3GL_MAP2_VERTEX_3\fP,
-in the same manner.
-If neither a three- nor a four-component vertex map is enabled for the
-specified dimension,
-the \%\f3glEvalCoord\fP command is ignored.
-.P
-If you have enabled automatic normal generation,
-by calling \%\f3glEnable\fP with argument \%\f3GL_AUTO_NORMAL\fP,
-\%\f3glEvalCoord2\fP generates surface normals analytically,
-regardless of the contents or enabling of the \%\f3GL_MAP2_NORMAL\fP map.
-Let
-.sp
-.ce
-.EQ
-bold m ~=~ {partial bold p} over {partial u} ~times~
- {partial bold p} over {partial v}
-.EN
-.ce 0
-.sp
-.br
-Then the generated normal $ bold n $ is
-.br
-.ce
-$bold n ~=~ bold m over { || bold m || }$
-.ce 0
-.sp
-.br
-If automatic normal generation is disabled,
-the corresponding normal map \%\f3GL_MAP2_NORMAL\fP,
-if enabled,
-is used to produce a normal.
-If neither automatic normal generation nor a normal map is enabled,
-no normal is generated for
-\%\f3glEvalCoord2\fP commands.
-.SH ASSOCIATED GETS
-.nf
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_VERTEX_3\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_VERTEX_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_INDEX\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_COLOR_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_NORMAL\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_TEXTURE_COORD_1\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_TEXTURE_COORD_2\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_TEXTURE_COORD_3\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_TEXTURE_COORD_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_VERTEX_3\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_VERTEX_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_INDEX\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_COLOR_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_NORMAL\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_TEXTURE_COORD_1\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_TEXTURE_COORD_2\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_TEXTURE_COORD_3\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_TEXTURE_COORD_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_AUTO_NORMAL\fP
-.br
-\%\f3glGetMap\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glColor(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glEvalMesh(3G)\fP,
-\%\f3glEvalPoint(3G)\fP,
-\%\f3glIndex(3G)\fP,
-\%\f3glMap1(3G)\fP,
-\%\f3glMap2(3G)\fP,
-\%\f3glMapGrid(3G)\fP,
-\%\f3glNormal(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glVertex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/evalmesh.3gl b/doc/gl-docs/GL/gl/evalmesh.3gl
deleted file mode 100644
index bd3890ab2..000000000
--- a/doc/gl-docs/GL/gl/evalmesh.3gl
+++ /dev/null
@@ -1,189 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 evalmesh.
-.ds Xs 32277 7 evalmesh.gl
-.TH GLEVALMESH 3G
-.SH NAME
-.B "glEvalMesh1, glEvalMesh2
-\- compute a one- or two-dimensional grid of points or lines
-
-.SH C SPECIFICATION
-void \f3glEvalMesh1\fP(
-GLenum \fImode\fP,
-.nf
-.ta \w'\f3void \fPglEvalMesh1( 'u
- GLint \fIi1\fP,
- GLint \fIi2\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-In \%\f3glEvalMesh1\fP, specifies whether to compute a one-dimensional mesh of points or lines.
-Symbolic constants
-\%\f3GL_POINT\fP and
-\%\f3GL_LINE\fP are accepted.
-.TP
-\f2i1\fP, \f2i2\fP
-Specify the first and last integer values for grid domain variable $i$.
-.SH C SPECIFICATION
-void \f3glEvalMesh2\fP(
-GLenum \fImode\fP,
-.nf
-.ta \w'\f3void \fPglEvalMesh2( 'u
- GLint \fIi1\fP,
- GLint \fIi2\fP,
- GLint \fIj1\fP,
- GLint \fIj2\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2mode\fP
-In \%\f3glEvalMesh2\fP, specifies whether to compute a two-dimensional mesh of points, lines,
-or polygons.
-Symbolic constants
-\%\f3GL_POINT\fP,
-\%\f3GL_LINE\fP, and
-\%\f3GL_FILL\fP are accepted.
-.TP
-\f2i1\fP, \f2i2\fP
-Specify the first and last integer values for grid domain variable $i$.
-.TP
-\f2j1\fP, \f2j2\fP
-Specify the first and last integer values for grid domain variable $j$.
-.SH DESCRIPTION
-\%\f3glMapGrid\fP and \%\f3glEvalMesh\fP are used in tandem to efficiently
-generate and evaluate a series of evenly-spaced map domain values.
-\%\f3glEvalMesh\fP steps through the integer domain of a one- or two-dimensional grid,
-whose range is the domain of the evaluation maps specified by
-\%\f3glMap1\fP and \%\f3glMap2\fP.
-\f2mode\fP determines whether the resulting vertices are connected as
-points,
-lines,
-or filled polygons.
-.P
-In the one-dimensional case,
-\%\f3glEvalMesh1\fP,
-the mesh is generated as if the following code fragment were executed:
-.nf
-.IP
-\f7
-glBegin( \f2type\f7 );
-for ( i = \f2i1\fP; i <= \f2i2\fP; i += 1 )
- glEvalCoord1( i$^cdot^DELTA u ~+~ u sub 1$ );
-glEnd();
-\fP
-.RE
-.fi
-where
-.sp
-.in
-$ DELTA u ~=~ (u sub 2 ~-~ u sub 1 ) ^/^ n$
-.sp
-.in 0
-.P
-and $n$, $u sub 1$, and $u sub 2$ are the arguments to the most recent
-\%\f3glMapGrid1\fP command.
-\f2type\fP is \%\f3GL_POINTS\fP if \f2mode\fP is \%\f3GL_POINT\fP,
-or \%\f3GL_LINES\fP if \f2mode\fP is \%\f3GL_LINE\fP.
-.P
-The one absolute numeric requirement is that if $i ~=~ n$, then the
-value computed from $ i^cdot^DELTA u ~+~ u sub 1$ is exactly $u sub 2$.
-.P
-In the two-dimensional case, \%\f3glEvalMesh2\fP, let
-.nf
-.IP
-$ DELTA u ~=~ mark ( u sub 2 ~-~ u sub 1 ) ^/^ n$
-.sp
-$ DELTA v ~=~ lineup ( v sub 2 ~-~ v sub 1 ) ^/^ m$,
-.fi
-.RE
-.P
-where $n$, $u sub 1$, $u sub 2$, $m$, $v sub 1$, and $v sub 2$ are the
-arguments to the most recent \%\f3glMapGrid2\fP command. Then, if
-\f2mode\fP is \%\f3GL_FILL\fP, the \%\f3glEvalMesh2\fP command is equivalent
-to:
-.nf
-.IP
-\f7
-for ( j = \f2j1\fP; j < \f2j2\fP; j += 1 ) {
- glBegin( GL_QUAD_STRIP );
- for ( i = \f2i1\fP; i <= \f2i2\fP; i += 1 ) {
- glEvalCoord2( i$^cdot^DELTA u ~+~ u sub 1$, j$^cdot^DELTA v ~+~ v sub 1$ );
- glEvalCoord2( i$^cdot^DELTA u ~+~ u sub 1$, (j+1)$^cdot^DELTA v ~+~ v sub 1$ );
- }
- glEnd();
-}
-\fP
-.RE
-.fi
-.P
-If \f2mode\fP is \%\f3GL_LINE\fP, then a call to \%\f3glEvalMesh2\fP is equivalent to:
-.nf
-.IP
-\f7
-for ( j = \f2j1\fP; j <= \f2j2\fP; j += 1 ) {
- glBegin( GL_LINE_STRIP );
- for ( i = \f2i1\fP; i <= \f2i2\fP; i += 1 )
- glEvalCoord2( i$^cdot^DELTA u ~+~ u sub 1$, j$^cdot^DELTA v ~+~ v sub 1$ );
- glEnd();
-}
-.sp
-for ( i = \f2i1\fP; i <= \f2i2\fP; i += 1 ) {
- glBegin( GL_LINE_STRIP );
- for ( j = \f2j1\fP; j <= \f2j1\fP; j += 1 )
- glEvalCoord2( i$^cdot^DELTA u ~+~ u sub 1$, j$^cdot^DELTA v ~+~ v sub 1 $ );
- glEnd();
-}
-\fP
-.RE
-.fi
-.P
-And finally, if \f2mode\fP is \%\f3GL_POINT\fP, then a call to
-\%\f3glEvalMesh2\fP is equivalent to:
-.nf
-.IP
-\f7
-glBegin( GL_POINTS );
-for ( j = \f2j1\fP; j <= \f2j2\fP; j += 1 )
- for ( i = \f2i1\fP; i <= \f2i2\fP; i += 1 )
- glEvalCoord2( i$^cdot^DELTA u ~+~ u sub 1$, j$^cdot^DELTA v ~+~ v sub 1$ );
-glEnd();
-\fP
-.RE
-.fi
-.P
-In all three cases, the only absolute numeric requirements are that if $i~=~n$,
-then the value computed from $i^cdot^DELTA u ~+~ u sub 1$ is exactly $u
-sub 2$, and if $j~=~m$, then the value computed from
-$j ^cdot^ DELTA v ~+~ v sub 1$ is exactly $v sub 2$.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glEvalMesh\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MAP1_GRID_DOMAIN\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP2_GRID_DOMAIN\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP1_GRID_SEGMENTS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP2_GRID_SEGMENTS\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glEvalCoord(3G)\fP,
-\%\f3glEvalPoint(3G)\fP,
-\%\f3glMap1(3G)\fP,
-\%\f3glMap2(3G)\fP,
-\%\f3glMapGrid(3G)\fP
diff --git a/doc/gl-docs/GL/gl/evalpoint.3gl b/doc/gl-docs/GL/gl/evalpoint.3gl
deleted file mode 100644
index a057baa1c..000000000
--- a/doc/gl-docs/GL/gl/evalpoint.3gl
+++ /dev/null
@@ -1,101 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 evalpoint
-.ds Xs 57169 5 evalpoint.gl
-.TH GLEVALPOINT 3G
-.SH NAME
-.B "glEvalPoint1, glEvalPoint2
-\- generate and evaluate a single point in a mesh
-
-.SH C SPECIFICATION
-void \f3glEvalPoint1\fP(
-GLint \fIi\fP )
-.nf
-.fi
-void \f3glEvalPoint2\fP(
-GLint \fIi\fP,
-.nf
-.ta \w'\f3void \fPglEvalPoint2( 'u
- GLint \fIj\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2i\fP\ \ 'u
-\f2i\fP
-Specifies the integer value for grid domain variable $i$.
-.TP
-\f2j\fP
-Specifies the integer value for grid domain variable $j$
-(\%\f3glEvalPoint2\fP only).
-.SH DESCRIPTION
-\%\f3glMapGrid\fP and \%\f3glEvalMesh\fP are used in tandem to efficiently
-generate and evaluate a series of evenly spaced map domain values.
-\%\f3glEvalPoint\fP can be used to evaluate a single grid point in the same gridspace
-that is traversed by \%\f3glEvalMesh\fP.
-Calling \%\f3glEvalPoint1\fP is equivalent to calling
-.nf
-.IP
-\f7
-glEvalCoord1( i$^cdot^DELTA u ~+~ u sub 1$ );
-\fP
-.RE
-.fi
-where
-.sp
-.in
-$DELTA u ~=~ ( u sub 2 - u sub 1 ) ^/^ n$
-.in 0
-.sp
-.P
-and $n$, $u sub 1$, and $u sub 2$
-are the arguments to the most recent \%\f3glMapGrid1\fP command.
-The one absolute numeric requirement is that if $i~=~n$,
-then the value computed from
-$i ^cdot^ DELTA u ~+~ u sub 1$ is exactly $u sub 2$.
-.P
-In the two-dimensional case, \%\f3glEvalPoint2\fP, let
-.nf
-.IP
-$DELTA u ~=~ mark ( u sub 2 - u sub 1 ) ^/^ n$
-.sp
-$DELTA v ~=~ mark ( v sub 2 - v sub 1 ) ^/^ m,$
-.RE
-.fi
-.P
-where $n$, $u sub 1$, $u sub 2$, $m$, $v sub 1$, and $v sub 2$
-are the arguments to the most recent \%\f3glMapGrid2\fP command.
-Then the \%\f3glEvalPoint2\fP command is equivalent to calling
-.nf
-.IP
-\f7
-glEvalCoord2( i$^cdot^DELTA u ~+~ u sub 1$, j$^cdot^DELTA v ~+~ v sub 1$ );
-\fP
-.RE
-.fi
-The only absolute numeric requirements are that if $i~=~n$,
-then the value computed from
-$i ^cdot^DELTA u ~+~ u sub 1$ is exactly $u sub 2$,
-and if $j~=~m$, then the value computed from
-$i ^cdot^DELTA v ~+~ v sub 1$ is exactly $v sub 2$.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MAP1_GRID_DOMAIN\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP2_GRID_DOMAIN\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP1_GRID_SEGMENTS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP2_GRID_SEGMENTS\fP
-.SH SEE ALSO
-\%\f3glEvalCoord(3G)\fP,
-\%\f3glEvalMesh(3G)\fP,
-\%\f3glMap1(3G)\fP,
-\%\f3glMap2(3G)\fP,
-\%\f3glMapGrid(3G)\fP
diff --git a/doc/gl-docs/GL/gl/feedbackbuffer.3gl b/doc/gl-docs/GL/gl/feedbackbuffer.3gl
deleted file mode 100644
index 9abac8dfd..000000000
--- a/doc/gl-docs/GL/gl/feedbackbuffer.3gl
+++ /dev/null
@@ -1,225 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 feedbackb
-.ds Xs 26060 9 feedbackbuffer.gl
-.TH GLFEEDBACKBUFFER 3G
-.SH NAME
-.B "glFeedbackBuffer
-\- controls feedback mode
-
-.SH C SPECIFICATION
-void \f3glFeedbackBuffer\fP(
-GLsizei \fIsize\fP,
-.nf
-.ta \w'\f3void \fPglFeedbackBuffer( 'u
- GLenum \fItype\fP,
- GLfloat \fI*buffer\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIbuffer\fP\ \ 'u
-\f2size\fP
-Specifies the maximum number of values that can be written into \f2buffer\fP.
-.TP
-\f2type\fP
-Specifies a symbolic constant that describes the information
-that will be returned for each vertex.
-\%\f3GL_2D\fP,
-\%\f3GL_3D\fP,
-\%\f3GL_3D_COLOR\fP,
-\%\f3GL_3D_COLOR_TEXTURE\fP, and
-\%\f3GL_4D_COLOR_TEXTURE\fP are accepted.
-.TP
-\f2buffer\fP
-Returns the feedback data.
-.SH DESCRIPTION
-The \%\f3glFeedbackBuffer\fP function controls feedback.
-Feedback, like selection, is a GL mode.
-The mode is selected by calling
-\%\f3glRenderMode\fP with \%\f3GL_FEEDBACK\fP.
-When the GL is in feedback mode,
-no pixels are produced by rasterization.
-Instead, information about primitives that would have been
-rasterized is fed back to the application using the GL.
-.P
-\%\f3glFeedbackBuffer\fP has three arguments:
-\f2buffer\fP is a pointer to an array of floating-point values
-into which feedback information is placed.
-\f2size\fP indicates the size of the array.
-\f2type\fP is a symbolic constant describing the information
-that is fed back for each vertex.
-\%\f3glFeedbackBuffer\fP must be issued before feedback mode is enabled
-(by calling \%\f3glRenderMode\fP with argument \%\f3GL_FEEDBACK\fP).
-Setting \%\f3GL_FEEDBACK\fP without establishing the feedback buffer,
-or calling \%\f3glFeedbackBuffer\fP while the GL is in feedback mode,
-is an error.
-.P
-When \%\f3glRenderMode\fP is called while in feedback mode, it returns the number of entries
-placed in the feedback array, and resets the feedback array pointer to the base
-of the feedback buffer. The returned value never exceeds \f2size\fP. If the feedback
-data required more room than was available in \f2buffer\fP,
-\%\f3glRenderMode\fP returns a negative value.
-To take the GL out of feedback mode, call
-\%\f3glRenderMode\fP with a parameter value other than \%\f3GL_FEEDBACK\fP.
-.P
-While in feedback mode,
-each primitive, bitmap, or pixel rectangle that would be rasterized
-generates a block of values that are copied into the feedback array.
-If doing so would cause the number of entries to exceed the maximum,
-the block is partially written so as to fill the array
-(if there is any room left at all),
-and an overflow flag is set.
-Each block begins with a code indicating the primitive type,
-followed by values that describe the primitive's vertices and
-associated data.
-Entries are also written for bitmaps and pixel rectangles.
-Feedback occurs after polygon culling and \%\f3glPolygonMode\fP interpretation
-of polygons has taken place,
-so polygons that are culled are not returned in the feedback buffer.
-It can also occur after polygons with more than three edges are broken up
-into triangles,
-if the GL implementation renders polygons by performing this decomposition.
-.P
-The \%\f3glPassThrough\fP command can be used to insert a marker
-into the feedback buffer.
-See \%\f3glPassThrough\fP.
-.P
-Following is the grammar for the blocks of values written
-into the feedback buffer.
-Each primitive is indicated with a unique identifying value
-followed by some number of vertices.
-Polygon entries include an integer value indicating how many vertices follow.
-A vertex is fed back as some number of floating-point values,
-as determined by \f2type\fP.
-Colors are fed back as four values in RGBA mode and one value
-in color index mode.
-.RS
-.na
-.sp
-feedbackList \(<- feedbackItem feedbackList | feedbackItem
-.sp
-feedbackItem \(<- point | lineSegment | polygon | bitmap | pixelRectangle | passThru
-.sp
-point \(<- \%\f3GL_POINT_TOKEN\fP vertex
-.sp
-lineSegment \(<- \%\f3GL_LINE_TOKEN\fP vertex vertex | \%\f3GL_LINE_RESET_TOKEN\fP vertex vertex
-.sp
-polygon \(<- \%\f3GL_POLYGON_TOKEN\fP n polySpec
-.sp
-polySpec \(<- polySpec vertex | vertex vertex vertex
-.sp
-bitmap \(<- \%\f3GL_BITMAP_TOKEN\fP vertex
-.sp
-pixelRectangle \(<- \%\f3GL_DRAW_PIXEL_TOKEN\fP vertex | \%\f3GL_COPY_PIXEL_TOKEN\fP vertex
-.sp
-passThru \(<- \%\f3GL_PASS_THROUGH_TOKEN\fP value
-.sp
-vertex \(<- 2d | 3d | 3dColor | 3dColorTexture | 4dColorTexture
-.sp
-2d \(<- value value
-.sp
-3d \(<- value value value
-.sp
-3dColor \(<- value value value color
-.sp
-3dColorTexture \(<- value value value color tex
-.sp
-4dColorTexture \(<- value value value value color tex
-.sp
-color \(<- rgba | index
-.sp
-rgba \(<- value value value value
-.sp
-index \(<- value
-.sp
-tex \(<- value value value value
-.sp
-.RE
-.P
-.I value
-is a floating-point number,
-and
-.I n
-is a floating-point integer giving the number of vertices in the polygon.
-\%\f3GL_POINT_TOKEN\fP,
-\%\f3GL_LINE_TOKEN\fP,
-\%\f3GL_LINE_RESET_TOKEN\fP,
-\%\f3GL_POLYGON_TOKEN\fP,
-\%\f3GL_BITMAP_TOKEN\fP,
-\%\f3GL_DRAW_PIXEL_TOKEN\fP,
-\%\f3GL_COPY_PIXEL_TOKEN\fP and
-\%\f3GL_PASS_THROUGH_TOKEN\fP are symbolic floating-point constants.
-\%\f3GL_LINE_RESET_TOKEN\fP is returned whenever the line stipple pattern
-is reset.
-The data returned as a vertex depends on the feedback \f2type\fP.
-.P
-The following table gives the correspondence between \f2type\fP
-and the number of values per vertex.
-\f2k\fP is 1 in color index mode and 4 in RGBA mode.
-.sp
-.ne
-.TS
-center tab(:);
-lb lb cb cb cb
-l l c c c.
-_
-Type:Coordinates:Color:Texture:Total Number of Values
-_
-\%\f3GL_2D\fP:\f2x\fP, \f2y\fP:::2
-\%\f3GL_3D\fP:\f2x\fP, \f2y\fP, \f2z\fP:::3
-\%\f3GL_3D_COLOR\fP:\f2x\fP, \f2y\fP, \f2z\fP:$k$::$3 ~+~ k$
-\%\f3GL_3D_COLOR_TEXTURE\fP:\f2x\fP, \f2y\fP, \f2z\fP,:$k$:4:$7 ~+~ k$
-\%\f3GL_4D_COLOR_TEXTURE\fP:\f2x\fP, \f2y\fP, \f2z\fP, \f2w\fP:$k$:4:$8 ~+~ k$
-_
-.TE
-
-.P
-Feedback vertex coordinates are in window coordinates,
-except \f2w\fP,
-which is in clip coordinates.
-Feedback colors are lighted, if lighting is enabled.
-Feedback texture coordinates are generated,
-if texture coordinate generation is enabled.
-They are always transformed by the texture matrix.
-.SH NOTES
-\%\f3glFeedbackBuffer\fP, when used in a display list, is not compiled into the display list
-but is executed immediately.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glFeedbackBuffer\fP
-returns only the texture coordinates of texture unit \%\f3GL_TEXTURE0_ARB\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2size\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glFeedbackBuffer\fP is called while the
-render mode is \%\f3GL_FEEDBACK\fP,
-or if \%\f3glRenderMode\fP is called with argument \%\f3GL_FEEDBACK\fP before
-\%\f3glFeedbackBuffer\fP is called at least once.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glFeedbackBuffer\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_RENDER_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FEEDBACK_BUFFER_POINTER\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FEEDBACK_BUFFER_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FEEDBACK_BUFFER_TYPE\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glLineStipple(3G)\fP,
-\%\f3glPassThrough(3G)\fP,
-\%\f3glPolygonMode(3G)\fP,
-\%\f3glRenderMode(3G)\fP,
-\%\f3glSelectBuffer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/finish.3gl b/doc/gl-docs/GL/gl/finish.3gl
deleted file mode 100644
index 06f969cb2..000000000
--- a/doc/gl-docs/GL/gl/finish.3gl
+++ /dev/null
@@ -1,34 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 finish.gl
-.ds Xs 36675 3 finish.gl
-.TH GLFINISH 3G
-.SH NAME
-.B "glFinish
-\- block until all GL execution is complete
-
-.SH C SPECIFICATION
-void \f3glFinish\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-\%\f3glFinish\fP does not return until the effects of all previously
-called GL commands are complete.
-Such effects include all changes to GL state,
-all changes to connection state,
-and all changes to the frame buffer contents.
-.SH NOTES
-\%\f3glFinish\fP requires a round trip to the server.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glFinish\fP is executed between
-the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glFlush(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/flush.3gl b/doc/gl-docs/GL/gl/flush.3gl
deleted file mode 100644
index a338a86ce..000000000
--- a/doc/gl-docs/GL/gl/flush.3gl
+++ /dev/null
@@ -1,46 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 flush.gl
-.ds Xs 64601 4 flush.gl
-.TH GLFLUSH 3G
-.SH NAME
-.B "glFlush
-\- force execution of GL commands in finite time
-
-.SH C SPECIFICATION
-void \f3glFlush\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-Different GL implementations buffer commands in several different locations,
-including network buffers and the graphics accelerator itself.
-\%\f3glFlush\fP empties all of these buffers,
-causing all issued commands to be executed as quickly as
-they are accepted by the actual rendering engine.
-Though this execution may not be completed in any particular
-time period,
-it does complete in finite time.
-.P
-Because any GL program might be executed over a network,
-or on an accelerator that buffers commands,
-all programs should call \%\f3glFlush\fP whenever they count on having
-all of their previously issued commands completed.
-For example,
-call \%\f3glFlush\fP before waiting for user input that depends on
-the generated image.
-.SH NOTES
-\%\f3glFlush\fP can return at any time.
-It does not wait until the execution of all previously
-issued GL commands is complete.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glFlush\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glFinish(3G)\fP
diff --git a/doc/gl-docs/GL/gl/fog.3gl b/doc/gl-docs/GL/gl/fog.3gl
deleted file mode 100644
index d60a238c4..000000000
--- a/doc/gl-docs/GL/gl/fog.3gl
+++ /dev/null
@@ -1,209 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 fog.gl ->
-.ds Xs 7467 7 fog.gl
-.TH GLFOG 3G
-.SH NAME
-.B "glFogf, glFogi, glFogfv, glFogiv
-\- specify fog parameters
-
-.SH C SPECIFICATION
-void \f3glFogf\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglFogf( 'u
- GLfloat \fIparam\fP )
-.fi
-void \f3glFogi\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglFogi( 'u
- GLint \fIparam\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2pname\fP
-Specifies a single-valued fog parameter.
-\%\f3GL_FOG_MODE\fP,
-\%\f3GL_FOG_DENSITY\fP,
-\%\f3GL_FOG_START\fP,
-\%\f3GL_FOG_END\fP,
-and
-\%\f3GL_FOG_INDEX\fP
-are accepted.
-.TP
-\f2param\fP
-Specifies the value that \f2pname\fP will be set to.
-.SH C SPECIFICATION
-void \f3glFogfv\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglFogfv( 'u
- const GLfloat \fI*params\fP )
-.fi
-void \f3glFogiv\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglFogiv( 'u
- const GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2pname\fP
-Specifies a fog parameter.
-\%\f3GL_FOG_MODE\fP,
-\%\f3GL_FOG_DENSITY\fP,
-\%\f3GL_FOG_START\fP,
-\%\f3GL_FOG_END\fP,
-\%\f3GL_FOG_INDEX\fP,
-and
-\%\f3GL_FOG_COLOR\fP
-are accepted.
-.TP
-\f2params\fP
-Specifies the value or values to be assigned to \f2pname\fP.
-\%\f3GL_FOG_COLOR\fP requires an array of four values.
-All other parameters accept an array containing only a single value.
-.SH DESCRIPTION
-Fog is initially disabled.
-While enabled, fog affects rasterized geometry,
-bitmaps, and pixel blocks, but not buffer clear operations. To enable
-and disable fog, call \%\f3glEnable\fP and \%\f3glDisable\fP with argument
-\%\f3GL_FOG\fP.
-.P
-\%\f3glFog\fP assigns the value or values in \f2params\fP to the fog parameter
-specified by \f2pname\fP.
-The following values are accepted for \f2pname\fP:
-.TP 20
-\%\f3GL_FOG_MODE\fP
-\f2params\fP is a single integer or floating-point value that specifies
-the equation to be used to compute the fog blend factor, $f$.
-Three symbolic constants are accepted:
-\%\f3GL_LINEAR\fP,
-\%\f3GL_EXP\fP,
-and \%\f3GL_EXP2\fP.
-The equations corresponding to these symbolic constants are defined below.
-The initial fog mode is \%\f3GL_EXP\fP.
-.TP
-\%\f3GL_FOG_DENSITY\fP
-\f2params\fP is a single integer or floating-point value that specifies $density$,
-the fog density used in both exponential fog equations.
-Only nonnegative densities are accepted.
-The initial fog density is 1.
-.TP
-\%\f3GL_FOG_START\fP
-\f2params\fP is a single integer or floating-point value that specifies $start$,
-the near distance used in the linear fog equation.
-The initial near distance is 0.
-.TP
-\%\f3GL_FOG_END\fP
-\f2params\fP is a single integer or floating-point value that specifies $end$,
-the far distance used in the linear fog equation.
-The initial far distance is 1.
-.TP
-\%\f3GL_FOG_INDEX\fP
-\f2params\fP is a single integer or floating-point value that specifies
-$i sub f$,
-the fog color index.
-The initial fog index is 0.
-.TP
-\%\f3GL_FOG_COLOR\fP
-\f2params\fP contains four integer or floating-point values that specify
-$C sub f$, the fog color.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-After conversion,
-all color components are clamped to the range [0,1].
-The initial fog color is (0, 0, 0, 0).
-.P
-Fog blends a fog color with each rasterized pixel fragment's posttexturing
-color using a blending factor $f$.
-Factor $f$ is computed in one of three ways,
-depending on the fog mode.
-Let $z$ be the distance in eye coordinates from the origin to the fragment
-being fogged.
-The equation for \%\f3GL_LINEAR\fP fog is
-.ce
-
-.EQ
-f ~=~ {end ~-~ z} over {end ~-~ start}
-.EN
-
-.RE
-.P
-The equation for \%\f3GL_EXP\fP fog is
-.ce
-
-.EQ
-f ~=~ e sup {-^(density ~cdot~ z)}
-.EN
-
-.P
-The equation for \%\f3GL_EXP2\fP fog is
-.ce
-
-.EQ
-f ~=~ e sup {-^(density ~cdot~ z)} sup 2
-.EN
-
-.P
-Regardless of the fog mode,
-$f$ is clamped to the range [0,\ 1] after it is computed.
-Then,
-if the GL is in RGBA color mode,
-the fragment's red, green, and blue colors, represented by $C sub r$,
-are replaced by
-.sp
-.ce
-.EQ
-{C sub r} sup prime ~=~ f^C sub r ~+~ (1 - f)^C sub f
-.EN
-
-.sp
-Fog does not affect a fragment's alpha component.
-.P
-In color index mode, the fragment's color index $i sub r$ is replaced by
-.sp
-.ce
-.EQ
-{i sub r} sup prime ~=~ i sub r ~+~ (1 - f)^i sub f
-.EN
-.P
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not an accepted value,
-or if \f2pname\fP is \%\f3GL_FOG_MODE\fP and \f2params\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2pname\fP is \%\f3GL_FOG_DENSITY\fP,
-and \f2params\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glFog\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_FOG\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FOG_COLOR\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FOG_INDEX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FOG_DENSITY\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FOG_START\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FOG_END\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_FOG_MODE\fP
-.SH SEE ALSO
-\%\f3glEnable(3G)\fP
diff --git a/doc/gl-docs/GL/gl/frontface.3gl b/doc/gl-docs/GL/gl/frontface.3gl
deleted file mode 100644
index 5159c087f..000000000
--- a/doc/gl-docs/GL/gl/frontface.3gl
+++ /dev/null
@@ -1,66 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 frontface
-.ds Xs 58804 4 frontface.gl
-.TH GLFRONTFACE 3G
-.SH NAME
-.B "glFrontFace
-\- define front- and back-facing polygons
-
-.SH C SPECIFICATION
-void \f3glFrontFace\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-Specifies the orientation of front-facing polygons.
-\%\f3GL_CW\fP and \%\f3GL_CCW\fP are accepted.
-The initial value is \%\f3GL_CCW\fP.
-.SH DESCRIPTION
-In a scene composed entirely of opaque closed surfaces,
-back-facing polygons are never visible.
-Eliminating these invisible polygons has the obvious benefit
-of speeding up the rendering of the image.
-To enable and disable elimination of back-facing polygons, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument \%\f3GL_CULL_FACE\fP.
-.P
-The projection of a polygon to window coordinates is said to have
-clockwise winding if an imaginary object following the path
-from its first vertex,
-its second vertex,
-and so on,
-to its last vertex,
-and finally back to its first vertex,
-moves in a clockwise direction about the interior of the polygon.
-The polygon's winding is said to be counterclockwise if the imaginary
-object following the same path moves in a counterclockwise direction
-about the interior of the polygon.
-\%\f3glFrontFace\fP specifies whether polygons with clockwise winding in window coordinates,
-or counterclockwise winding in window coordinates,
-are taken to be front-facing.
-Passing \%\f3GL_CCW\fP to \f2mode\fP selects counterclockwise polygons as
-front-facing;
-\%\f3GL_CW\fP selects clockwise polygons as front-facing.
-By default, counterclockwise polygons are taken to be front-facing.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glFrontFace\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_FRONT_FACE\fP
-.SH SEE ALSO
-\%\f3glCullFace(3G)\fP,
-\%\f3glLightModel(3G)\fP
diff --git a/doc/gl-docs/GL/gl/frustum.3gl b/doc/gl-docs/GL/gl/frustum.3gl
deleted file mode 100644
index 67f6d37f0..000000000
--- a/doc/gl-docs/GL/gl/frustum.3gl
+++ /dev/null
@@ -1,133 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 frustum.g
-.ds Xs 13962 6 frustum.gl
-.TH GLFRUSTUM 3G
-.SH NAME
-.B "glFrustum
-\- multiply the current matrix by a perspective matrix
-
-.SH C SPECIFICATION
-void \f3glFrustum\fP(
-GLdouble \fIleft\fP,
-.nf
-.ta \w'\f3void \fPglFrustum( 'u
- GLdouble \fIright\fP,
- GLdouble \fIbottom\fP,
- GLdouble \fItop\fP,
- GLdouble \fInear_val\fP,
- GLdouble \fIfar_val\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2left\fP\ \f2right\fP\ \ 'u
-\f2left\fP, \f2right\fP
-Specify the coordinates for the left and right vertical clipping planes.
-.TP
-\f2bottom\fP, \f2top\fP
-Specify the coordinates for the bottom and top horizontal clipping planes.
-.TP
-\f2near_val\fP, \f2far_val\fP
-Specify the distances to the near and far depth clipping planes.
-Both distances must be positive.
-.SH DESCRIPTION
-\%\f3glFrustum\fP describes a perspective matrix that produces a perspective projection.
-The current matrix (see \%\f3glMatrixMode\fP) is multiplied by this matrix
-and the result replaces the current matrix, as if
-\%\f3glMultMatrix\fP were called with the following matrix
-as its argument:
-.P
-.sp 5
-.ce
-.EQ
-down 150
-{left [ ~~~ {
-down 165 matrix {
- ccol { {{2 ~ "near_val"} over {"right" ~-~ "left"}} above 0 above 0 above 0 }
- ccol { 0 above {{2 ~ "near_val"} over {"top" ~-~ "bottom"}} ~ above 0 above 0 }
- ccol { A ~~~~ above B ~~~~ above C ~~~~ above -1 ~~~~}
- ccol { 0 above 0 above D above 0}
-}}
-~~~ right ]}
-.EN
-.sp
-.ce
-.EQ
-down 130
-{A ~=~ {"right" ~+~ "left"} over {"right" ~-~ "left"}}
-.EN
-.sp
-.ce
-.EQ
-down 130
-{B ~=~ {"top" ~+~ "bottom"} over {"top" ~-~ "bottom"}}
-.EN
-.sp
-.ce
-.EQ
-down 130
-{C ~=~ -{{"far_val" ~+~ "near_val"} over {"far_val" ~-~ "near_val"}}}
-.EN
-.sp
-.ce
-.EQ
-down 130
-{D ~=~ -^{{2 ~ "far_val" ~ "near_val"} over {"far_val" ~-~ "near_val"}}}
-.EN
-.sp 2
-.P
-Typically, the matrix mode is \%\f3GL_PROJECTION\fP, and
-(\f2left\fP, \f2bottom\fP, \-\f2near_val\fP) and (\f2right\fP, \f2top\fP, \-\f2near_val\fP)
-specify the points on the near clipping plane that are mapped
-to the lower left and upper right corners of the window,
-assuming that the eye is located at (0, 0, 0).
-\-\f2far_val\fP specifies the location of the far clipping plane.
-Both \f2near_val\fP and \f2far_val\fP must be positive.
-.P
-Use \%\f3glPushMatrix\fP and \%\f3glPopMatrix\fP to save and restore
-the current matrix stack.
-.SH NOTES
-Depth buffer precision is affected by the values specified for
-\f2near_val\fP and \f2far_val\fP.
-The greater the ratio of \f2far_val\fP to \f2near_val\fP is,
-the less effective the depth buffer will be at distinguishing between
-surfaces that are near each other.
-If
-.sp
-.ce
-$r ~=~ "far_val" over "near_val"$
-.sp
-roughly $log sub 2 (r)$ bits of depth buffer precision are lost.
-Because $r$ approaches infinity as \f2near_val\fP approaches 0,
-\f2near_val\fP must never be set to 0.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2near_val\fP or \f2far_val\fP is not
-positive, or if \f2left\fP = \f2right\fP, or \f2bottom\fP = \f2top\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glFrustum\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.SH SEE ALSO
-\%\f3glOrtho(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glMultMatrix(3G)\fP,
-\%\f3glPushMatrix(3G)\fP,
-\%\f3glViewport(3G)\fP
diff --git a/doc/gl-docs/GL/gl/genlists.3gl b/doc/gl-docs/GL/gl/genlists.3gl
deleted file mode 100644
index 6a69c90fa..000000000
--- a/doc/gl-docs/GL/gl/genlists.3gl
+++ /dev/null
@@ -1,49 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 genlists.
-.ds Xs 2609 3 genlists.gl
-.TH GLGENLISTS 3G
-.SH NAME
-.B "glGenLists
-\- generate a contiguous set of empty display lists
-
-.SH C SPECIFICATION
-GLuint \f3glGenLists\fP(
-GLsizei \fIrange\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2range\fP\ \ 'u
-\f2range\fP
-Specifies the number of contiguous empty display lists
-to be generated.
-.SH DESCRIPTION
-\%\f3glGenLists\fP has one argument, \f2range\fP.
-It returns an integer \f2n\fP such that \f2range\fP contiguous
-empty display lists,
-named \f2n\fP, \f2n\fP+1, ..., \f2n\fP+\f2range\fP \-1,
-are created.
-If \f2range\fP is 0,
-if there is no group of \f2range\fP contiguous names available,
-or if any error is generated,
-no display lists are generated,
-and 0 is returned.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2range\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGenLists\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glIsList\fP
-.SH SEE ALSO
-\%\f3glCallList(3G)\fP,
-\%\f3glCallLists(3G)\fP,
-\%\f3glDeleteLists(3G)\fP,
-\%\f3glNewList(3G)\fP
diff --git a/doc/gl-docs/GL/gl/gentextures.3gl b/doc/gl-docs/GL/gl/gentextures.3gl
deleted file mode 100644
index e975744bc..000000000
--- a/doc/gl-docs/GL/gl/gentextures.3gl
+++ /dev/null
@@ -1,63 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 gentextur
-.ds Xs 11752 4 gentextures.gl
-.TH GLGENTEXTURES 3G
-.SH NAME
-.B "glGenTextures
-\- generate texture names
-
-.SH C SPECIFICATION
-void \f3glGenTextures\fP(
-GLsizei \fIn\fP,
-.nf
-.ta \w'\f3void \fPglGenTextures( 'u
- GLuint \fI*textures\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fItextures\fP\ \ 'u
-\f2n\fP
-Specifies the number of texture names to be generated.
-.TP
-\f2textures\fP
-Specifies an array in which the generated texture names are stored.
-.SH DESCRIPTION
-\%\f3glGenTextures\fP returns \f2n\fP texture names in \f2textures\fP.
-There is no guarantee that the names form a contiguous set of integers;
-however, it is guaranteed that none of the returned names was in use
-immediately before the call to \%\f3glGenTextures\fP.
-.P
-The generated textures have no dimensionality; they assume the dimensionality
-of the texture target to which they are first bound
-(see \%\f3glBindTexture\fP).
-.P
-Texture names returned by a call to \%\f3glGenTextures\fP are not returned by
-subsequent calls, unless they are first deleted with
-\%\f3glDeleteTextures\fP.
-.SH NOTES
-\%\f3glGenTextures\fP is available only if the GL version is 1.1 or greater.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2n\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGenTextures\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glIsTexture\fP
-.SH SEE ALSO
-\%\f3glBindTexture(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glDeleteTextures(3G)\fP,
-\%\f3glGet(3G)\fP,
-\%\f3glGetTexParameter(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/get.3gl b/doc/gl-docs/GL/gl/get.3gl
deleted file mode 100644
index c9a90d935..000000000
--- a/doc/gl-docs/GL/gl/get.3gl
+++ /dev/null
@@ -1,1798 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 get.gl ->
-.ds Xs 65323 59 get.gl
-.TH GLGET 3G
-.SH NAME
-.B "glGetBooleanv, glGetDoublev, glGetFloatv, glGetIntegerv
-\- return the value or values of a selected parameter
-
-.SH C SPECIFICATION
-void \f3glGetBooleanv\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglGetBooleanv( 'u
- GLboolean \fI*params\fP )
-.fi
-
-.SH C SPECIFICATION
-void \f3glGetDoublev\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglGetDoublev( 'u
- GLdouble \fI*params\fP )
-.fi
-
-.SH C SPECIFICATION
-void \f3glGetFloatv\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglGetFloatv( 'u
- GLfloat \fI*params\fP )
-.fi
-
-.SH C SPECIFICATION
-void \f3glGetIntegerv\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglGetIntegerv( 'u
- GLint \fI*params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2pname\fP
-Specifies the parameter value to be returned.
-The symbolic constants in the list below are accepted.
-.TP
-\f2params\fP
-Returns the value or values of the specified parameter.
-.SH DESCRIPTION
-These four commands return values for simple state variables in GL.
-\f2pname\fP is a symbolic constant indicating the state variable to be returned,
-and \f2params\fP is a pointer to an array of the indicated type in
-which to place the returned data.
-.P
-Type conversion is performed if \f2params\fP has a different type than
-the state variable value being requested.
-If \%\f3glGetBooleanv\fP is called,
-a floating-point (or integer) value is converted to \%\f3GL_FALSE\fP if
-and only if it is 0.0 (or 0).
-Otherwise,
-it is converted to \%\f3GL_TRUE\fP.
-If \%\f3glGetIntegerv\fP is called, boolean values are returned as
-\%\f3GL_TRUE\fP or \%\f3GL_FALSE\fP, and most floating-point values are
-rounded to the nearest integer value. Floating-point colors and
-normals, however, are returned with a linear mapping that maps 1.0 to
-the most positive representable integer value,
-and \-1.0 to the most negative representable integer value.
-If \%\f3glGetFloatv\fP or \%\f3glGetDoublev\fP is called,
-boolean values are returned as \%\f3GL_TRUE\fP or \%\f3GL_FALSE\fP,
-and integer values are converted to floating-point values.
-.P
-The following symbolic constants are accepted by \f2pname\fP:
-.TP 25
-\%\f3GL_ACCUM_ALPHA_BITS\fP
-\f2params\fP returns one value,
-the number of alpha bitplanes in the accumulation buffer.
-.TP
-\%\f3GL_ACCUM_BLUE_BITS\fP
-\f2params\fP returns one value,
-the number of blue bitplanes in the accumulation buffer.
-.TP
-\%\f3GL_ACCUM_CLEAR_VALUE\fP
-\f2params\fP returns four values:
-the red, green, blue, and alpha values used to clear the accumulation buffer.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer
-value. The initial value is (0, 0, 0, 0).
-See \%\f3glClearAccum\fP.
-.TP
-\%\f3GL_ACCUM_GREEN_BITS\fP
-\f2params\fP returns one value,
-the number of green bitplanes in the accumulation buffer.
-.TP
-\%\f3GL_ACCUM_RED_BITS\fP
-\f2params\fP returns one value,
-the number of red bitplanes in the accumulation buffer.
-.TP
-\%\f3GL_ACTIVE_TEXTURE_ARB\fP
-\f2params\fP returns a single value indicating the active multitexture unit.
-The initial value is \%\f3GL_TEXTURE0_ARB\fP.
-See \%\f3glActiveTextureARB\fP.
-.TP
-\%\f3GL_ALIASED_POINT_SIZE_RANGE\fP
-\f2params\fP returns two values,
-the smallest and largest supported sizes for aliased points.
-.TP
-\%\f3GL_ALIASED_LINE_WIDTH_RANGE\fP
-\f2params\fP returns two values,
-the smallest and largest supported widths for aliased lines.
-.TP
-\%\f3GL_ALPHA_BIAS\fP
-\f2params\fP returns one value,
-the alpha bias factor used during pixel transfers. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_ALPHA_BITS\fP
-\f2params\fP returns one value,
-the number of alpha bitplanes in each color buffer.
-.TP
-\%\f3GL_ALPHA_SCALE\fP
-\f2params\fP returns one value,
-the alpha scale factor used during pixel transfers. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_ALPHA_TEST\fP
-\f2params\fP returns a single boolean value indicating whether alpha testing
-of fragments is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glAlphaFunc\fP.
-.TP
-\%\f3GL_ALPHA_TEST_FUNC\fP
-\f2params\fP returns one value,
-the symbolic name of the alpha test function. The initial value is
-\%\f3GL_ALWAYS\fP.
-See \%\f3glAlphaFunc\fP.
-.TP
-\%\f3GL_ALPHA_TEST_REF\fP
-\f2params\fP returns one value,
-the reference value for the alpha test. The initial value is 0.
-See \%\f3glAlphaFunc\fP.
-An integer value,
-if requested,
-is linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer value.
-.TP
-\%\f3GL_ATTRIB_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the depth of the attribute stack.
-If the stack is empty,
-0 is returned. The initial value is 0.
-See \%\f3glPushAttrib\fP.
-.TP
-\%\f3GL_AUTO_NORMAL\fP
-\f2params\fP returns a single boolean value indicating whether 2D map evaluation
-automatically generates surface normals. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_AUX_BUFFERS\fP
-\f2params\fP returns one value,
-the number of auxiliary color buffers. The initial value is 0.
-.TP
-\%\f3GL_BLEND\fP
-\f2params\fP returns a single boolean value indicating whether blending is
-enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glBlendFunc\fP.
-.TP
-\%\f3GL_BLEND_COLOR\fP
-\f2params\fP returns four values,
-the red, green, blue, and alpha values which are the components of
-the blend color.
-See \%\f3glBlendColor\fP.
-.TP
-\%\f3GL_BLEND_DST\fP
-\f2params\fP returns one value,
-the symbolic constant identifying the destination blend
-function. The initial value is \%\f3GL_ZERO\fP.
-See \%\f3glBlendFunc\fP.
-.TP
-\%\f3GL_BLEND_EQUATION\fP
-\f2params\fP returns one value, a symbolic constant indicating whether
-the blend equation is \%\f3GL_FUNC_ADD\fP, \%\f3GL_MIN\fP or
-\%\f3GL_MAX\fP. See \%\f3glBlendEquation\fP.
-.TP
-\%\f3GL_BLEND_SRC\fP
-\f2params\fP returns one value,
-the symbolic constant identifying the source blend function. The initial
-value is \%\f3GL_ONE\fP.
-See \%\f3glBlendFunc\fP.
-.TP
-\%\f3GL_BLUE_BIAS\fP
-\f2params\fP returns one value,
-the blue bias factor used during pixel transfers. The initial value is 0.
-See
-\%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_BLUE_BITS\fP
-\f2params\fP returns one value,
-the number of blue bitplanes in each color buffer.
-.TP
-\%\f3GL_BLUE_SCALE\fP
-\f2params\fP returns one value,
-the blue scale factor used during pixel transfers. The initial value is 1.
-See
-\%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_CLIENT_ACTIVE_TEXTURE_ARB\fP
-\f2params\fP returns a single integer value indicating the current client active
-multitexture unit. The initial value is \%\f3GL_TEXTURE0_ARB\fP.
-See \%\f3glClientActiveTextureARB\fP.
-.TP
-\%\f3GL_CLIENT_ATTRIB_STACK_DEPTH\fP
-\f2params\fP returns one value indicating the depth of the
-attribute stack. The initial value is 0.
-See \%\f3glPushClientAttrib\fP.
-.TP
-\%\f3GL_CLIP_PLANE\fP\f2i\fP
-\f2params\fP returns a single boolean value indicating whether the specified
-clipping plane is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glClipPlane\fP.
-.TP
-\%\f3GL_COLOR_ARRAY\fP
-\f2params\fP returns a single boolean value indicating whether the color array is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glColorPointer\fP.
-.TP
-\%\f3GL_COLOR_ARRAY_SIZE\fP
-\f2params\fP returns one value,
-the number of components per color in the color array. The initial value
-is 4. See \%\f3glColorPointer\fP.
-.TP
-\%\f3GL_COLOR_ARRAY_STRIDE\fP
-\f2params\fP returns one value,
-the byte offset between consecutive colors in the color array. The initial
-value is 0.
-See \%\f3glColorPointer\fP.
-.TP
-\%\f3GL_COLOR_ARRAY_TYPE\fP
-\f2params\fP returns one value,
-the data type of each component in the color array. The initial value
-is \%\f3GL_FLOAT\fP. See \%\f3glColorPointer\fP.
-.TP
-\%\f3GL_COLOR_CLEAR_VALUE\fP
-\f2params\fP returns four values:
-the red, green, blue, and alpha values used to clear the color buffers.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer
-value. The initial value is (0, 0, 0, 0).
-See \%\f3glClearColor\fP.
-.TP
-\%\f3GL_COLOR_LOGIC_OP\fP
-\f2params\fP returns a single boolean value indicating whether a fragment's
-RGBA color values are merged into the framebuffer using a logical
-operation. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glLogicOp\fP.
-.TP
-\%\f3GL_COLOR_MATERIAL\fP
-\f2params\fP returns a single boolean value indicating whether one or more
-material parameters are tracking the current color. The initial value
-is \%\f3GL_FALSE\fP.
-See \%\f3glColorMaterial\fP.
-.TP
-\%\f3GL_COLOR_MATERIAL_FACE\fP
-\f2params\fP returns one value,
-a symbolic constant indicating which materials have a parameter that is
-tracking the current color. The initial value is \%\f3GL_FRONT_AND_BACK\fP.
-See \%\f3glColorMaterial\fP.
-.TP
-\%\f3GL_COLOR_MATERIAL_PARAMETER\fP
-\f2params\fP returns one value,
-a symbolic constant indicating which material parameters are
-tracking the current color. The initial value is
-\%\f3GL_AMBIENT_AND_DIFFUSE\fP.
-See \%\f3glColorMaterial\fP.
-.TP
-\%\f3GL_COLOR_MATRIX\fP
-\f2params\fP returns sixteen values:
-the color matrix on the top of the color matrix stack. Initially
-this matrix is the identity matrix. See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_COLOR_MATRIX_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the maximum supported depth of the projection matrix stack. The value must
-be at least 2.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_COLOR_TABLE\fP
-\f2params\fP returns a single boolean value indicating whether the color table
-lookup is enabled.
-See \%\f3glColorTable\fP.
-.TP
-\%\f3GL_COLOR_WRITEMASK\fP
-\f2params\fP returns four boolean values:
-the red, green, blue, and alpha write enables for the color
-buffers. The initial value is (\%\f3GL_TRUE\fP, \%\f3GL_TRUE\fP,
-\%\f3GL_TRUE\fP, \%\f3GL_TRUE\fP).
-See \%\f3glColorMask\fP.
-.TP
-\%\f3GL_CONVOLUTION_1D\fP
-\f2params\fP returns a single boolean value indicating whether 1D convolution
-is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glConvolutionFilter1D\fP.
-.TP
-\%\f3GL_CONVOLUTION_2D\fP
-\f2params\fP returns a single boolean value indicating whether 2D convolution
-is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glConvolutionFilter2D\fP.
-.TP
-\%\f3GL_CULL_FACE\fP
-\f2params\fP returns a single boolean value indicating whether polygon culling
-is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glCullFace\fP.
-.TP
-\%\f3GL_CULL_FACE_MODE\fP
-\f2params\fP returns one value,
-a symbolic constant indicating which polygon faces are to be
-culled. The initial value is \%\f3GL_BACK\fP.
-See \%\f3glCullFace\fP.
-.TP
-\%\f3GL_CURRENT_COLOR\fP
-\f2params\fP returns four values:
-the red, green, blue, and alpha values of the current color.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer value.
-See \%\f3glColor\fP. The initial value is (1, 1, 1, 1).
-.TP
-\%\f3GL_CURRENT_INDEX\fP
-\f2params\fP returns one value,
-the current color index. The initial value is 1.
-See \%\f3glIndex\fP.
-.TP
-\%\f3GL_CURRENT_NORMAL\fP
-\f2params\fP returns three values:
-the \f2x\fP, \f2y\fP, and \f2z\fP values of the current normal.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer value.
-The initial value is (0, 0, 1). See \%\f3glNormal\fP.
-.TP
-\%\f3GL_CURRENT_RASTER_COLOR\fP
-\f2params\fP returns four values:
-the red, green, blue, and alpha values of the current raster position.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer
-value. The initial value is (1, 1, 1, 1).
-See \%\f3glRasterPos\fP.
-.TP
-\%\f3GL_CURRENT_RASTER_DISTANCE\fP
-\f2params\fP returns one value,
-the distance from the eye to the current raster position. The initial
-value is 0.
-See \%\f3glRasterPos\fP.
-.TP
-\%\f3GL_CURRENT_RASTER_INDEX\fP
-\f2params\fP returns one value,
-the color index of the current raster position. The initial value is 1.
-See \%\f3glRasterPos\fP.
-.TP
-\%\f3GL_CURRENT_RASTER_POSITION\fP
-\f2params\fP returns four values:
-the \f2x\fP, \f2y\fP, \f2z\fP, and \f2w\fP components of the current
-raster position.
-\f2x\fP, \f2y\fP, and \f2z\fP are in window coordinates,
-and \f2w\fP is in clip coordinates. The initial value is (0, 0, 0, 1).
-See \%\f3glRasterPos\fP.
-.TP
-\%\f3GL_CURRENT_RASTER_POSITION_VALID\fP
-\f2params\fP returns a single boolean value indicating whether the current
-raster position is valid. The initial value is \%\f3GL_TRUE\fP.
-See \%\f3glRasterPos\fP.
-.TP
-\%\f3GL_CURRENT_RASTER_TEXTURE_COORDS\fP
-\f2params\fP returns four values:
-the \f2s\fP, \f2t\fP, \f2r\fP, and \f2q\fP
-current raster texture coordinates. The initial value is (0, 0, 0, 1).
-See \%\f3glRasterPos\fP and \%\f3glTexCoord\fP.
-.TP
-\%\f3GL_CURRENT_TEXTURE_COORDS\fP
-\f2params\fP returns four values:
-the \f2s\fP, \f2t\fP, \f2r\fP, and \f2q\fP current texture
-coordinates. The initial value is (0, 0, 0, 1).
-See
-\%\f3glTexCoord\fP.
-.TP
-\%\f3GL_DEPTH_BIAS\fP
-\f2params\fP returns one value,
-the depth bias factor used during pixel transfers. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_DEPTH_BITS\fP
-\f2params\fP returns one value,
-the number of bitplanes in the depth buffer.
-.TP
-\%\f3GL_DEPTH_CLEAR_VALUE\fP
-\f2params\fP returns one value,
-the value that is used to clear the depth buffer.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer
-value. The initial value is 1.
-See \%\f3glClearDepth\fP.
-.TP
-\%\f3GL_DEPTH_FUNC\fP
-\f2params\fP returns one value,
-the symbolic constant that indicates the depth comparison
-function. The initial value is \%\f3GL_LESS\fP.
-See \%\f3glDepthFunc\fP.
-.TP
-\%\f3GL_DEPTH_RANGE\fP
-\f2params\fP returns two values:
-the near and far mapping limits for the depth buffer.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer
-value. The initial value is (0, 1).
-See \%\f3glDepthRange\fP.
-.TP
-\%\f3GL_DEPTH_SCALE\fP
-\f2params\fP returns one value,
-the depth scale factor used during pixel transfers. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_DEPTH_TEST\fP
-\f2params\fP returns a single boolean value indicating whether depth testing
-of fragments is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glDepthFunc\fP and \%\f3glDepthRange\fP.
-.TP
-\%\f3GL_DEPTH_WRITEMASK\fP
-\f2params\fP returns a single boolean value indicating if the depth buffer
-is enabled for writing. The initial value is \%\f3GL_TRUE\fP.
-See \%\f3glDepthMask\fP.
-.TP
-\%\f3GL_DITHER\fP
-\f2params\fP returns a single boolean value indicating whether dithering of
-fragment colors and indices is enabled. The initial value is \%\f3GL_TRUE\fP.
-.TP
-\%\f3GL_DOUBLEBUFFER\fP
-\f2params\fP returns a single boolean value indicating whether double buffering
-is supported.
-.TP
-\%\f3GL_DRAW_BUFFER\fP
-\f2params\fP returns one value,
-a symbolic constant indicating which buffers are being drawn to.
-See \%\f3glDrawBuffer\fP. The initial value is \%\f3GL_BACK\fP if there
-are back buffers, otherwise it is \%\f3GL_FRONT\fP.
-.TP
-\%\f3GL_EDGE_FLAG\fP
-\f2params\fP returns a single boolean value indicating whether the current
-edge flag is \%\f3GL_TRUE\fP or \%\f3GL_FALSE\fP. The initial value is \%\f3GL_TRUE\fP.
-See \%\f3glEdgeFlag\fP.
-.TP
-\%\f3GL_EDGE_FLAG_ARRAY\fP
-\f2params\fP returns a single boolean value indicating whether the edge
-flag array is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glEdgeFlagPointer\fP.
-.TP
-\%\f3GL_EDGE_FLAG_ARRAY_STRIDE\fP
-\f2params\fP returns one value,
-the byte offset between consecutive edge flags in the edge flag
-array. The initial value is 0.
-See \%\f3glEdgeFlagPointer\fP.
-.TP
-\%\f3GL_FEEDBACK_BUFFER_SIZE\fP
-\f2params\fP returns one value, the size of the feedback buffer. See
-\%\f3glFeedbackBuffer\fP.
-.TP
-\%\f3GL_FEEDBACK_BUFFER_TYPE\fP
-\f2params\fP returns one value, the type of the feedback buffer. See
-\%\f3glFeedbackBuffer\fP.
-.TP
-\%\f3GL_FOG\fP
-\f2params\fP returns a single boolean value indicating whether fogging is
-enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glFog\fP.
-.TP
-\%\f3GL_FOG_COLOR\fP
-\f2params\fP returns four values:
-the red, green, blue, and alpha components of the fog color.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer
-value. The initial value is (0, 0, 0, 0).
-See \%\f3glFog\fP.
-.TP
-\%\f3GL_FOG_DENSITY\fP
-\f2params\fP returns one value,
-the fog density parameter. The initial value is 1.
-See \%\f3glFog\fP.
-.TP
-\%\f3GL_FOG_END\fP
-\f2params\fP returns one value,
-the end factor for the linear fog equation. The initial value is 1.
-See \%\f3glFog\fP.
-.TP
-\%\f3GL_FOG_HINT\fP
-\f2params\fP returns one value,
-a symbolic constant indicating the mode of the fog hint. The initial value
-is \%\f3GL_DONT_CARE\fP.
-See \%\f3glHint\fP.
-.TP
-\%\f3GL_FOG_INDEX\fP
-\f2params\fP returns one value,
-the fog color index. The initial value is 0.
-See \%\f3glFog\fP.
-.TP
-\%\f3GL_FOG_MODE\fP
-\f2params\fP returns one value,
-a symbolic constant indicating which fog equation is selected. The initial
-value is \%\f3GL_EXP\fP.
-See \%\f3glFog\fP.
-.TP
-\%\f3GL_FOG_START\fP
-\f2params\fP returns one value,
-the start factor for the linear fog equation. The initial value is 0.
-See \%\f3glFog\fP.
-.TP
-\%\f3GL_FRONT_FACE\fP
-\f2params\fP returns one value,
-a symbolic constant indicating whether clockwise or counterclockwise
-polygon winding is treated as front-facing. The initial value is
-\%\f3GL_CCW\fP.
-See \%\f3glFrontFace\fP.
-.TP
-\%\f3GL_GREEN_BIAS\fP
-\f2params\fP returns one value,
-the green bias factor used during pixel transfers. The initial value is 0.
-.TP
-\%\f3GL_GREEN_BITS\fP
-\f2params\fP returns one value,
-the number of green bitplanes in each color buffer.
-.TP
-\%\f3GL_GREEN_SCALE\fP
-\f2params\fP returns one value,
-the green scale factor used during pixel transfers. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_HISTOGRAM\fP
-\f2params\fP returns a single boolean value indicating whether histogram is
-enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glHistogram\fP.
-.TP
-\%\f3GL_INDEX_ARRAY\fP
-\f2params\fP returns a single boolean value indicating whether the color
-index array is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glIndexPointer\fP.
-.TP
-\%\f3GL_INDEX_ARRAY_STRIDE\fP
-\f2params\fP returns one value,
-the byte offset between consecutive color indexes in the color index
-array. The initial value is 0.
-See \%\f3glIndexPointer\fP.
-.TP
-\%\f3GL_INDEX_ARRAY_TYPE\fP
-\f2params\fP returns one value,
-the data type of indexes in the color index array. The initial value is
-\%\f3GL_FLOAT\fP.
-See \%\f3glIndexPointer\fP.
-.TP
-\%\f3GL_INDEX_BITS\fP
-\f2params\fP returns one value,
-the number of bitplanes in each color index buffer.
-.TP
-\%\f3GL_INDEX_CLEAR_VALUE\fP
-\f2params\fP returns one value,
-the color index used to clear the color index buffers. The initial value
-is 0.
-See \%\f3glClearIndex\fP.
-.TP
-\%\f3GL_INDEX_LOGIC_OP\fP
-\f2params\fP returns a single boolean value indicating whether a fragment's index
-values are merged into the framebuffer using a logical
-operation. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glLogicOp\fP.
-.TP
-\%\f3GL_INDEX_MODE\fP
-\f2params\fP returns a single boolean value indicating whether the GL is in
-color index mode (\%\f3GL_TRUE\fP) or RGBA mode (\%\f3GL_FALSE\fP).
-.TP
-\%\f3GL_INDEX_OFFSET\fP
-\f2params\fP returns one value,
-the offset added to color and stencil indices during pixel
-transfers. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_INDEX_SHIFT\fP
-\f2params\fP returns one value,
-the amount that color and stencil indices are shifted during pixel
-transfers. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_INDEX_WRITEMASK\fP
-\f2params\fP returns one value,
-a mask indicating which bitplanes of each color index buffer can be
-written. The initial value is all 1's.
-See \%\f3glIndexMask\fP.
-.TP
-\%\f3GL_LIGHT\fP\f2i\fP
-\f2params\fP returns a single boolean value indicating whether the specified
-light is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glLight\fP and \%\f3glLightModel\fP.
-.TP
-\%\f3GL_LIGHTING\fP
-\f2params\fP returns a single boolean value indicating whether lighting is
-enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glLightModel\fP.
-.TP
-\%\f3GL_LIGHT_MODEL_AMBIENT\fP
-\f2params\fP returns four values:
-the red, green, blue, and alpha components of the ambient intensity of
-the entire scene.
-Integer values,
-if requested,
-are linearly mapped from the internal floating-point representation such
-that 1.0 returns the most positive representable integer value,
-and \-1.0 returns the most negative representable integer
-value. The initial value is (0.2, 0.2, 0.2, 1.0).
-See \%\f3glLightModel\fP.
-.TP
-\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP
-\f2params\fP returns single enumerated value indicating whether specular
-reflection calculations are separated from normal lighting computations.
-The initial value is \%\f3GL_SINGLE_COLOR\fP.
-.TP
-\%\f3GL_LIGHT_MODEL_LOCAL_VIEWER\fP
-\f2params\fP returns a single boolean value indicating whether specular reflection
-calculations treat the viewer as being local to the scene. The initial
-value is \%\f3GL_FALSE\fP.
-See \%\f3glLightModel\fP.
-.TP
-\%\f3GL_LIGHT_MODEL_TWO_SIDE\fP
-\f2params\fP returns a single boolean value indicating whether separate materials
-are used to compute lighting for front- and back-facing
-polygons. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glLightModel\fP.
-.TP
-\%\f3GL_LINE_SMOOTH\fP
-\f2params\fP returns a single boolean value indicating whether antialiasing of
-lines is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glLineWidth\fP.
-.TP
-\%\f3GL_LINE_SMOOTH_HINT\fP
-\f2params\fP returns one value,
-a symbolic constant indicating the mode of the line antialiasing
-hint. The initial value is \%\f3GL_DONT_CARE\fP.
-See \%\f3glHint\fP.
-.TP
-\%\f3GL_LINE_STIPPLE\fP
-\f2params\fP returns a single boolean value indicating whether stippling of lines
-is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glLineStipple\fP.
-.TP
-\%\f3GL_LINE_STIPPLE_PATTERN\fP
-\f2params\fP returns one value,
-the 16-bit line stipple pattern. The initial value is all 1's.
-See \%\f3glLineStipple\fP.
-.TP
-\%\f3GL_LINE_STIPPLE_REPEAT\fP
-\f2params\fP returns one value,
-the line stipple repeat factor. The initial value is 1.
-See \%\f3glLineStipple\fP.
-.TP
-\%\f3GL_LINE_WIDTH\fP
-\f2params\fP returns one value,
-the line width as specified with \%\f3glLineWidth\fP. The initial value is
-1.
-.TP
-\%\f3GL_LINE_WIDTH_GRANULARITY\fP
-\f2params\fP returns one value,
-the width difference between adjacent supported widths for antialiased lines.
-See \%\f3glLineWidth\fP.
-.TP
-\%\f3GL_LINE_WIDTH_RANGE\fP
-\f2params\fP returns two values:
-the smallest and largest supported widths for antialiased
-lines.
-See \%\f3glLineWidth\fP.
-.TP
-\%\f3GL_LIST_BASE\fP
-\f2params\fP returns one value,
-the base offset added to all names in arrays presented to
-\%\f3glCallLists\fP. The initial value is 0.
-See \%\f3glListBase\fP.
-.TP
-\%\f3GL_LIST_INDEX\fP
-\f2params\fP returns one value,
-the name of the display list currently under construction.
-0 is returned if no display list is currently under
-construction. The initial value is 0.
-See \%\f3glNewList\fP.
-.TP
-\%\f3GL_LIST_MODE\fP
-\f2params\fP returns one value,
-a symbolic constant indicating the construction mode of the display list
-currently under construction. The initial value is 0.
-See \%\f3glNewList\fP.
-.TP
-\%\f3GL_LOGIC_OP_MODE\fP
-\f2params\fP returns one value,
-a symbolic constant indicating the selected logic operation
-mode. The initial value is \%\f3GL_COPY\fP.
-See \%\f3glLogicOp\fP.
-.TP
-\%\f3GL_MAP1_COLOR_4\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates colors. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_GRID_DOMAIN\fP
-\f2params\fP returns two values:
-the endpoints of the 1D map's grid domain. The initial value is (0, 1).
-See \%\f3glMapGrid\fP.
-.TP
-\%\f3GL_MAP1_GRID_SEGMENTS\fP
-\f2params\fP returns one value,
-the number of partitions in the 1D map's grid domain. The initial value
-is 1.
-See \%\f3glMapGrid\fP.
-.TP
-\%\f3GL_MAP1_INDEX\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates color indices. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_NORMAL\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates normals. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_1\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates 1D texture coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_2\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates 2D texture coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_3\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates 3D texture coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_4\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates 4D texture coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_VERTEX_3\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates 3D vertex coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP1_VERTEX_4\fP
-\f2params\fP returns a single boolean value indicating whether
-1D evaluation generates 4D vertex coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap1\fP.
-.TP
-\%\f3GL_MAP2_COLOR_4\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates colors. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_GRID_DOMAIN\fP
-\f2params\fP returns four values:
-the endpoints of the 2D map's $i$ and $j$ grid domains. The initial value
-is (0,1; 0,1).
-See \%\f3glMapGrid\fP.
-.TP
-\%\f3GL_MAP2_GRID_SEGMENTS\fP
-\f2params\fP returns two values:
-the number of partitions in the 2D map's $i$ and $j$ grid
-domains. The initial value is (1,1).
-See \%\f3glMapGrid\fP.
-.TP
-\%\f3GL_MAP2_INDEX\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates color indices. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_NORMAL\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates normals. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_1\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates 1D texture coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates 2D texture coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_3\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates 3D texture coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_4\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates 4D texture coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_VERTEX_3\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates 3D vertex coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP2_VERTEX_4\fP
-\f2params\fP returns a single boolean value indicating whether
-2D evaluation generates 4D vertex coordinates. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAP_COLOR\fP
-\f2params\fP returns a single boolean value indicating if colors and
-color indices are to be replaced by table lookup during pixel
-transfers. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_MAP_STENCIL\fP
-\f2params\fP returns a single boolean value indicating if stencil indices
-are to be replaced by table lookup during pixel transfers. The initial
-value is \%\f3GL_FALSE\fP.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_MATRIX_MODE\fP
-\f2params\fP returns one value,
-a symbolic constant indicating which matrix stack is currently the
-target of all matrix operations. The initial value is \%\f3GL_MODELVIEW\fP.
-See \%\f3glMatrixMode\fP.
-.TP
-\%\f3GL_MAX_3D_TEXTURE_SIZE\fP
-\f2params\fP returns one value,
-a rough estimate of the largest 3D texture that the GL can handle.
-If the GL version is 1.2 or greater, use
-\%\f3GL_PROXY_TEXTURE_3D\fP to determine if a texture is too large.
-See \%\f3glTexImage3D\fP.
-.TP
-\%\f3GL_MAX_CLIENT_ATTRIB_STACK_DEPTH\fP
-\f2params\fP returns one value indicating the maximum supported depth
-of the client attribute stack.
-See \%\f3glPushClientAttrib\fP.
-.TP
-\%\f3GL_MAX_ATTRIB_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the maximum supported depth of the attribute stack. The value must be at least 16.
-See \%\f3glPushAttrib\fP.
-.TP
-\%\f3GL_MAX_CLIP_PLANES\fP
-\f2params\fP returns one value,
-the maximum number of application-defined clipping planes. The value must be at least 6.
-See \%\f3glClipPlane\fP.
-.TP
-\%\f3GL_MAX_COLOR_MATRIX_STACK_DEPTH\fP
-\f2params\fP returns one value, the maximum supported depth of the color matrix
-stack. The value must be at least 2.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_MAX_ELEMENTS_INDICES\fP
-\f2params\fP returns one value,
-the recommended maximum number of vertex array indices. See \%\f3glDrawRangeElements\fP.
-.TP
-\%\f3GL_MAX_ELEMENTS_VERTICES\fP
-\f2params\fP returns one value,
-the recommended maximum number of vertex array vertices. See \%\f3glDrawRangeElements\fP.
-.TP
-\%\f3GL_MAX_EVAL_ORDER\fP
-\f2params\fP returns one value,
-the maximum equation order supported by 1D and 2D
-evaluators. The value must be at least 8.
-See \%\f3glMap1\fP and \%\f3glMap2\fP.
-.TP
-\%\f3GL_MAX_LIGHTS\fP
-\f2params\fP returns one value,
-the maximum number of lights. The value must be at least 8.
-See \%\f3glLight\fP.
-.TP
-\%\f3GL_MAX_LIST_NESTING\fP
-\f2params\fP returns one value,
-the maximum recursion depth allowed during display-list
-traversal. The value must be at least 64.
-See \%\f3glCallList\fP.
-.TP
-\%\f3GL_MAX_MODELVIEW_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the maximum supported depth of the modelview matrix stack. The value must
-be at least 32.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_MAX_NAME_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the maximum supported depth of the selection name stack. The value must be at least 64.
-See \%\f3glPushName\fP.
-.TP
-\%\f3GL_MAX_PIXEL_MAP_TABLE\fP
-\f2params\fP returns one value,
-the maximum supported size of a \%\f3glPixelMap\fP lookup table.
-The value must be at least 32.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_MAX_PROJECTION_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the maximum supported depth of the projection matrix stack. The value must be at least 2.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_MAX_TEXTURE_SIZE\fP
-\f2params\fP returns one value.
-The value gives a rough estimate of the largest texture that
-the GL can handle.
-If the GL version is 1.1 or greater, use
-\%\f3GL_PROXY_TEXTURE_1D\fP or \%\f3GL_PROXY_TEXTURE_2D\fP
-to determine if a texture is too large.
-See \%\f3glTexImage1D\fP and \%\f3glTexImage2D\fP.
-.TP
-\%\f3GL_MAX_TEXTURE_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the maximum supported depth of the texture matrix stack. The value must be at least 2.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_MAX_TEXTURE_UNITS_ARB\fP
-\f2params\fP returns a single value indicating the number of texture units
-supported. The value must be at least 1.
-See \%\f3glActiveTextureARB\fP.
-.TP
-\%\f3GL_MAX_VIEWPORT_DIMS\fP
-\f2params\fP returns two values:
-the maximum supported width and height of the viewport.
-These must be at least as large as the visible dimensions of the display
-being rendered to.
-See \%\f3glViewport\fP.
-.TP
-\%\f3GL_MINMAX\fP
-\f2params\fP returns a single boolean value indicating whether pixel minmax
-values are computed. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glMinmax\fP.
-.TP
-\%\f3GL_MODELVIEW_MATRIX\fP
-\f2params\fP returns sixteen values:
-the modelview matrix on the top of the modelview matrix stack. Initially
-this matrix is the identity matrix. See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_MODELVIEW_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the number of matrices on the modelview matrix stack.
-The initial value is 1.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_NAME_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the number of names on the selection name stack. The initial value is 0.
-See \%\f3glPushName\fP.
-.TP
-\%\f3GL_NORMAL_ARRAY\fP
-\f2params\fP returns a single boolean value, indicating whether the normal
-array is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glNormalPointer\fP.
-.TP
-\%\f3GL_NORMAL_ARRAY_STRIDE\fP
-\f2params\fP returns one value,
-the byte offset between consecutive normals in the normal
-array. The initial value is 0.
-See \%\f3glNormalPointer\fP.
-.TP
-\%\f3GL_NORMAL_ARRAY_TYPE\fP
-\f2params\fP returns one value,
-the data type of each coordinate in the normal array. The initial value is
-\%\f3GL_FLOAT\fP.
-See \%\f3glNormalPointer\fP.
-.TP
-\%\f3GL_NORMALIZE\fP
-\f2params\fP returns a single boolean value indicating whether normals are
-automatically scaled to unit length after they have been transformed to
-eye coordinates. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glNormal\fP.
-.TP
-\%\f3GL_PACK_ALIGNMENT\fP
-\f2params\fP returns one value,
-the byte alignment used for writing pixel data to memory. The initial
-value is 4.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_PACK_IMAGE_HEIGHT\fP
-\f2params\fP returns one value,
-the image height used for writing pixel data to memory. The initial
-value is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_PACK_LSB_FIRST\fP
-\f2params\fP returns a single boolean value indicating whether single-bit
-pixels being written to memory are written first to the least significant
-bit of each unsigned byte. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_PACK_ROW_LENGTH\fP
-\f2params\fP returns one value,
-the row length used for writing pixel data to memory. The initial value is
-0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_PACK_SKIP_IMAGES\fP
-\f2params\fP returns one value,
-the number of pixel images skipped before the first pixel is written
-into memory. The initial value is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_PACK_SKIP_PIXELS\fP
-\f2params\fP returns one value,
-the number of pixel locations skipped before the first pixel is written
-into memory. The initial value is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_PACK_SKIP_ROWS\fP
-\f2params\fP returns one value,
-the number of rows of pixel locations skipped before the first pixel is written
-into memory. The initial value is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_PACK_SWAP_BYTES\fP
-\f2params\fP returns a single boolean value indicating whether the bytes of
-two-byte and four-byte pixel indices and components are swapped before being
-written to memory. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_PERSPECTIVE_CORRECTION_HINT\fP
-\f2params\fP returns one value,
-a symbolic constant indicating the mode of the perspective correction
-hint. The initial value is \%\f3GL_DONT_CARE\fP.
-See \%\f3glHint\fP.
-.TP
-\%\f3GL_PIXEL_MAP_A_TO_A_SIZE\fP
-\f2params\fP returns one value,
-the size of the alpha-to-alpha pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_B_TO_B_SIZE\fP
-\f2params\fP returns one value,
-the size of the blue-to-blue pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_G_TO_G_SIZE\fP
-\f2params\fP returns one value,
-the size of the green-to-green pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_A_SIZE\fP
-\f2params\fP returns one value,
-the size of the index-to-alpha pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_B_SIZE\fP
-\f2params\fP returns one value,
-the size of the index-to-blue pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_G_SIZE\fP
-\f2params\fP returns one value,
-the size of the index-to-green pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_I_SIZE\fP
-\f2params\fP returns one value,
-the size of the index-to-index pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_R_SIZE\fP
-\f2params\fP returns one value,
-the size of the index-to-red pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_R_TO_R_SIZE\fP
-\f2params\fP returns one value,
-the size of the red-to-red pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_PIXEL_MAP_S_TO_S_SIZE\fP
-\f2params\fP returns one value,
-the size of the stencil-to-stencil pixel translation table.
-The initial value is 1.
-See \%\f3glPixelMap\fP.
-.TP
-\%\f3GL_POINT_SIZE\fP
-\f2params\fP returns one value,
-the point size as specified by \%\f3glPointSize\fP. The initial value is 1.
-.TP
-\%\f3GL_POINT_SIZE_GRANULARITY\fP
-\f2params\fP returns one value,
-the size difference between adjacent supported sizes for antialiased points.
-See \%\f3glPointSize\fP.
-.TP
-\%\f3GL_POINT_SIZE_RANGE\fP
-\f2params\fP returns two values:
-the smallest and largest supported sizes for antialiased
-points. The smallest size must be at most 1, and the largest size must
-be at least 1.
-See \%\f3glPointSize\fP.
-.TP
-\%\f3GL_POINT_SMOOTH\fP
-\f2params\fP returns a single boolean value indicating whether antialiasing of
-points is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPointSize\fP.
-.TP
-\%\f3GL_POINT_SMOOTH_HINT\fP
-\f2params\fP returns one value,
-a symbolic constant indicating the mode of the point antialiasing
-hint. The initial value is \%\f3GL_DONT_CARE\fP.
-See \%\f3glHint\fP.
-.TP
-\%\f3GL_POLYGON_MODE\fP
-\f2params\fP returns two values:
-symbolic constants indicating whether front-facing and back-facing polygons
-are rasterized as points, lines, or filled polygons. The initial value is
-\%\f3GL_FILL\fP.
-See \%\f3glPolygonMode\fP.
-.TP
-\%\f3GL_POLYGON_OFFSET_FACTOR\fP
-\f2params\fP returns one value,
-the scaling factor used to determine the variable offset that is added
-to the depth value of each fragment generated when a polygon is
-rasterized. The initial value is 0.
-See \%\f3glPolygonOffset\fP.
-.TP
-\%\f3GL_POLYGON_OFFSET_UNITS\fP
-\f2params\fP returns one value.
-This value is multiplied by an implementation-specific value and then
-added to the depth value of each fragment
-generated when a polygon is rasterized. The initial value is 0.
-See \%\f3glPolygonOffset\fP.
-.TP
-\%\f3GL_POLYGON_OFFSET_FILL\fP
-\f2params\fP returns a single boolean value indicating whether polygon offset
-is enabled for polygons in fill mode. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPolygonOffset\fP.
-.TP
-\%\f3GL_POLYGON_OFFSET_LINE\fP
-\f2params\fP returns a single boolean value indicating whether polygon offset
-is enabled for polygons in line mode. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPolygonOffset\fP.
-.TP
-\%\f3GL_POLYGON_OFFSET_POINT\fP
-\f2params\fP returns a single boolean value indicating whether polygon offset
-is enabled for polygons in point mode. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPolygonOffset\fP.
-.TP
-\%\f3GL_POLYGON_SMOOTH\fP
-\f2params\fP returns a single boolean value indicating whether antialiasing of
-polygons is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPolygonMode\fP.
-.TP
-\%\f3GL_POLYGON_SMOOTH_HINT\fP
-\f2params\fP returns one value,
-a symbolic constant indicating the mode of the polygon antialiasing
-hint. The initial value is \%\f3GL_DONT_CARE\fP.
-See \%\f3glHint\fP.
-.TP
-\%\f3GL_POLYGON_STIPPLE\fP
-\f2params\fP returns a single boolean value indicating whether polygon
-stippling is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPolygonStipple\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP
-\f2params\fP returns a single boolean value indicating whether post color
-matrix transformation lookup is enabled. The initial value is
-\%\f3GL_FALSE\fP.
-See \%\f3glColorTable\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_RED_BIAS\fP
-\f2params\fP returns one value, the red bias factor applied to RGBA fragments
-after color matrix transformations. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_GREEN_BIAS\fP
-\f2params\fP returns one value, the green bias factor applied to RGBA fragments
-after color matrix transformations. The initial value is 0.
-See \%\f3glPixelTransfer\fP
-.TP
-\%\f3GL_POST_COLOR_MATRIX_BLUE_BIAS\fP
-\f2params\fP returns one value, the blue bias factor applied to RGBA fragments
-after color matrix transformations. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_ALPHA_BIAS\fP
-\f2params\fP returns one value, the alpha bias factor applied to RGBA fragments
-after color matrix transformations. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_RED_SCALE\fP
-\f2params\fP returns one value, the red scale factor applied to RGBA fragments
-after color matrix transformations. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_GREEN_SCALE\fP
-\f2params\fP returns one value, the green scale factor applied to RGBA fragments
-after color matrix transformations. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_BLUE_SCALE\fP
-\f2params\fP returns one value, the blue scale factor applied to RGBA fragments
-after color matrix transformations. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_COLOR_MATRIX_ALPHA_SCALE\fP
-\f2params\fP returns one value, the alpha scale factor applied to RGBA fragments
-after color matrix transformations. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP
-\f2params\fP returns a single boolean value indicating whether post convolution
-lookup is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glColorTable\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_RED_BIAS\fP
-\f2params\fP returns one value, the red bias factor applied to RGBA fragments
-after convolution. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_GREEN_BIAS\fP
-\f2params\fP returns one value, the green bias factor applied to RGBA fragments
-after convolution. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_BLUE_BIAS\fP
-\f2params\fP returns one value, the blue bias factor applied to RGBA fragments
-after convolution. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_ALPHA_BIAS\fP
-\f2params\fP returns one value, the alpha bias factor applied to RGBA fragments
-after convolution. The initial value is 0.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_RED_SCALE\fP
-\f2params\fP returns one value, the red scale factor applied to RGBA fragments
-after convolution. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_GREEN_SCALE\fP
-\f2params\fP returns one value, the green scale factor applied to RGBA fragments
-after convolution. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_BLUE_SCALE\fP
-\f2params\fP returns one value, the blue scale factor applied to RGBA fragments
-after convolution. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_POST_CONVOLUTION_ALPHA_SCALE\fP
-\f2params\fP returns one value, the alpha scale factor applied to RGBA fragments
-after convolution. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_PROJECTION_MATRIX\fP
-\f2params\fP returns sixteen values:
-the projection matrix on the top of the projection matrix
-stack. Initially this matrix is the identity matrix.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_PROJECTION_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the number of matrices on the projection matrix stack.
-The initial value is 1.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_READ_BUFFER\fP
-\f2params\fP returns one value,
-a symbolic constant indicating which color buffer is selected for
-reading. The initial value is \%\f3GL_BACK\fP if there is a back buffer,
-otherwise it is \%\f3GL_FRONT\fP.
-See
-\%\f3glReadPixels\fP and \%\f3glAccum\fP.
-.TP
-\%\f3GL_RED_BIAS\fP
-\f2params\fP returns one value,
-the red bias factor used during pixel transfers. The initial value is 0.
-.TP
-\%\f3GL_RED_BITS\fP
-\f2params\fP returns one value,
-the number of red bitplanes in each color buffer.
-.TP
-\%\f3GL_RED_SCALE\fP
-\f2params\fP returns one value,
-the red scale factor used during pixel transfers. The initial value is 1.
-See \%\f3glPixelTransfer\fP.
-.TP
-\%\f3GL_RENDER_MODE\fP
-\f2params\fP returns one value,
-a symbolic constant indicating whether the GL is in render,
-select,
-or feedback mode. The initial value is \%\f3GL_RENDER\fP.
-See \%\f3glRenderMode\fP.
-.TP
-\%\f3GL_RESCALE_NORMAL\fP
-\f2params\fP returns single boolean value
-indicating whether normal rescaling is enabled.
-See \%\f3glEnable\fP.
-.TP
-\%\f3GL_RGBA_MODE\fP
-\f2params\fP returns a single boolean value indicating whether the GL is in RGBA
-mode (true) or color index mode (false).
-See \%\f3glColor\fP.
-.TP
-\%\f3GL_SCISSOR_BOX\fP
-\f2params\fP returns four values:
-the $x$ and $y$ window coordinates of the scissor box,
-followed by its width and height.
-Initially the $x$ and $y$ window coordinates are both 0 and the
-width and height are set to the size of the window.
-See \%\f3glScissor\fP.
-.TP
-\%\f3GL_SCISSOR_TEST\fP
-\f2params\fP returns a single boolean value indicating whether scissoring is
-enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glScissor\fP.
-.TP
-\%\f3GL_SELECTION_BUFFER_SIZE\fP
-\f2params\fP return one value,
-the size of the selection buffer.
-See \%\f3glSelectBuffer\fP.
-.TP
-\%\f3GL_SEPARABLE_2D\fP
-\f2params\fP returns a single boolean value indicating whether 2D separable
-convolution is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glSeparableFilter2D\fP.
-.TP
-\%\f3GL_SHADE_MODEL\fP
-\f2params\fP returns one value,
-a symbolic constant indicating whether the shading mode is flat or
-smooth. The initial value is \%\f3GL_SMOOTH\fP.
-See \%\f3glShadeModel\fP.
-.TP
-\%\f3GL_SMOOTH_LINE_WIDTH_RANGE\fP
-\f2params\fP returns two values,
-the smallest and largest supported widths for antialiased lines.
-See \%\f3glLineWidth\fP.
-.TP
-\%\f3GL_SMOOTH_LINE_WIDTH_GRANULARITY\fP
-\f2params\fP returns one value,
-the granularity of widths for antialiased lines.
-See \%\f3glLineWidth\fP.
-.TP
-\%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP
-\f2params\fP returns two values,
-the smallest and largest supported widths for antialiased points.
-See \%\f3glPointSize\fP.
-.TP
-\%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP
-\f2params\fP returns one value,
-the granularity of sizes for antialiased points.
-See \%\f3glPointSize\fP.
-.TP
-\%\f3GL_STENCIL_BITS\fP
-\f2params\fP returns one value,
-the number of bitplanes in the stencil buffer.
-.TP
-\%\f3GL_STENCIL_CLEAR_VALUE\fP
-\f2params\fP returns one value,
-the index to which the stencil bitplanes are cleared. The initial value is
-0.
-See \%\f3glClearStencil\fP.
-.TP
-\%\f3GL_STENCIL_FAIL\fP
-\f2params\fP returns one value,
-a symbolic constant indicating what action is taken when the stencil
-test fails. The initial value is \%\f3GL_KEEP\fP.
-See \%\f3glStencilOp\fP.
-.TP
-\%\f3GL_STENCIL_FUNC\fP
-\f2params\fP returns one value,
-a symbolic constant indicating what function is used to compare the
-stencil reference value with the stencil buffer value. The initial value
-is \%\f3GL_ALWAYS\fP.
-See \%\f3glStencilFunc\fP.
-.TP
-\%\f3GL_STENCIL_PASS_DEPTH_FAIL\fP
-\f2params\fP returns one value,
-a symbolic constant indicating what action is taken when the stencil
-test passes,
-but the depth test fails. The initial value is \%\f3GL_KEEP\fP.
-See \%\f3glStencilOp\fP.
-.TP
-\%\f3GL_STENCIL_PASS_DEPTH_PASS\fP
-\f2params\fP returns one value,
-a symbolic constant indicating what action is taken when the stencil
-test passes and the depth test passes. The initial value is \%\f3GL_KEEP\fP.
-See \%\f3glStencilOp\fP.
-.TP
-\%\f3GL_STENCIL_REF\fP
-\f2params\fP returns one value,
-the reference value that is compared with the contents of the stencil
-buffer. The initial value is 0.
-See \%\f3glStencilFunc\fP.
-.TP
-\%\f3GL_STENCIL_TEST\fP
-\f2params\fP returns a single boolean value indicating whether stencil testing
-of fragments is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glStencilFunc\fP and \%\f3glStencilOp\fP.
-.TP
-\%\f3GL_STENCIL_VALUE_MASK\fP
-\f2params\fP returns one value,
-the mask that is used to mask both the stencil reference value and the
-stencil buffer value before they are compared. The initial value is all 1's.
-See \%\f3glStencilFunc\fP.
-.TP
-\%\f3GL_STENCIL_WRITEMASK\fP
-\f2params\fP returns one value,
-the mask that controls writing of the stencil bitplanes. The initial value
-is all 1's. See \%\f3glStencilMask\fP.
-.TP
-\%\f3GL_STEREO\fP
-\f2params\fP returns a single boolean value indicating whether stereo buffers
-(left and right) are supported.
-.TP
-\%\f3GL_SUBPIXEL_BITS\fP
-\f2params\fP returns one value,
-an estimate of the number of bits of subpixel resolution that are used to
-position rasterized geometry in window coordinates. The initial value
-.br
-is 4.
-.TP
-\%\f3GL_TEXTURE_1D\fP
-\f2params\fP returns a single boolean value indicating whether 1D texture
-mapping is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glTexImage1D\fP.
-.TP
-\%\f3GL_TEXTURE_BINDING_1D\fP
-\f2params\fP returns a single value, the name of the texture
-currently bound to the target \%\f3GL_TEXTURE_1D\fP. The initial value is 0.
-See \%\f3glBindTexture\fP.
-.TP
-\%\f3GL_TEXTURE_2D\fP
-\f2params\fP returns a single boolean value indicating whether 2D texture
-mapping is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glTexImage2D\fP.
-.TP
-\%\f3GL_TEXTURE_BINDING_2D\fP
-\f2params\fP returns a single value, the name of the texture
-currently bound to the target \%\f3GL_TEXTURE_2D\fP. The initial value is 0.
-See \%\f3glBindTexture\fP.
-.TP
-\%\f3GL_TEXTURE_3D\fP
-\f2params\fP returns a single boolean value indicating whether 3D texture
-mapping is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glTexImage3D\fP.
-.TP
-\%\f3GL_TEXTURE_BINDING_3D\fP
-\f2params\fP returns a single value, the name of the texture
-currently bound to the target \%\f3GL_TEXTURE_3D\fP. The initial value is 0.
-See \%\f3glBindTexture\fP.
-.TP
-\%\f3GL_TEXTURE_COORD_ARRAY\fP
-\f2params\fP returns a single boolean value indicating whether the texture
-coordinate array is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glTexCoordPointer\fP.
-.TP
-\%\f3GL_TEXTURE_COORD_ARRAY_SIZE\fP
-\f2params\fP returns one value,
-the number of coordinates per element in the texture coordinate
-array. The initial value is 4.
-See \%\f3glTexCoordPointer\fP.
-.TP
-\%\f3GL_TEXTURE_COORD_ARRAY_STRIDE\fP
-\f2params\fP returns one value,
-the byte offset between consecutive elements in the texture coordinate
-array. The initial value is 0.
-See \%\f3glTexCoordPointer\fP.
-.TP
-\%\f3GL_TEXTURE_COORD_ARRAY_TYPE\fP
-\f2params\fP returns one value,
-the data type of the coordinates in the texture coordinate
-array. The initial value is \%\f3GL_FLOAT\fP.
-See \%\f3glTexCoordPointer\fP.
-.TP
-\%\f3GL_TEXTURE_GEN_Q\fP
-\f2params\fP returns a single boolean value indicating whether automatic generation
-of the \f2q\fP texture coordinate is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glTexGen\fP.
-.TP
-\%\f3GL_TEXTURE_GEN_R\fP
-\f2params\fP returns a single boolean value indicating whether automatic generation
-of the \f2r\fP texture coordinate is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glTexGen\fP.
-.TP
-\%\f3GL_TEXTURE_GEN_S\fP
-\f2params\fP returns a single boolean value indicating whether automatic generation
-of the \f2S\fP texture coordinate is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glTexGen\fP.
-.TP
-\%\f3GL_TEXTURE_GEN_T\fP
-\f2params\fP returns a single boolean value indicating whether automatic generation
-of the T texture coordinate is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glTexGen\fP.
-.TP
-\%\f3GL_TEXTURE_MATRIX\fP
-\f2params\fP returns sixteen values:
-the texture matrix on the top of the texture matrix stack. Initially this
-matrix is the identity matrix.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_TEXTURE_STACK_DEPTH\fP
-\f2params\fP returns one value,
-the number of matrices on the texture matrix stack.
-The initial value is 1.
-See \%\f3glPushMatrix\fP.
-.TP
-\%\f3GL_UNPACK_ALIGNMENT\fP
-\f2params\fP returns one value,
-the byte alignment used for reading pixel data from memory. The initial
-value is 4.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_UNPACK_IMAGE_HEIGHT\fP
-\f2params\fP returns one value,
-the image height used for reading pixel data from memory. The initial
-is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_UNPACK_LSB_FIRST\fP
-\f2params\fP returns a single boolean value indicating whether single-bit
-pixels being read from memory are read first from the least significant
-bit of each unsigned byte. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_UNPACK_ROW_LENGTH\fP
-\f2params\fP returns one value,
-the row length used for reading pixel data from memory. The initial value
-is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_UNPACK_SKIP_IMAGES\fP
-\f2params\fP returns one value,
-the number of pixel images skipped before the first pixel is read
-from memory. The initial value is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_UNPACK_SKIP_PIXELS\fP
-\f2params\fP returns one value,
-the number of pixel locations skipped before the first pixel is read
-from memory. The initial value is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_UNPACK_SKIP_ROWS\fP
-\f2params\fP returns one value,
-the number of rows of pixel locations skipped before the first pixel is read
-from memory. The initial value is 0.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_UNPACK_SWAP_BYTES\fP
-\f2params\fP returns a single boolean value indicating whether the bytes of
-two-byte and four-byte pixel indices and components are swapped after being
-read from memory. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glPixelStore\fP.
-.TP
-\%\f3GL_VERTEX_ARRAY\fP
-\f2params\fP returns a single boolean value indicating whether the vertex
-array is enabled. The initial value is \%\f3GL_FALSE\fP.
-See \%\f3glVertexPointer\fP.
-.TP
-\%\f3GL_VERTEX_ARRAY_SIZE\fP
-\f2params\fP returns one value,
-the number of coordinates per vertex in the vertex array. The initial
-value is 4.
-See \%\f3glVertexPointer\fP.
-.TP
-\%\f3GL_VERTEX_ARRAY_STRIDE\fP
-\f2params\fP returns one value,
-the byte offset between consecutive vertices in the vertex
-array. The initial value is 0.
-See \%\f3glVertexPointer\fP.
-.TP
-\%\f3GL_VERTEX_ARRAY_TYPE\fP
-\f2params\fP returns one value,
-the data type of each coordinate in the vertex array. The initial value is
-\%\f3GL_FLOAT\fP.
-See \%\f3glVertexPointer\fP.
-.TP
-\%\f3GL_VIEWPORT\fP
-\f2params\fP returns four values:
-the $x$ and $y$ window coordinates of the viewport,
-followed by its width and height.
-Initially the $x$ and $y$ window coordinates are both set to 0,
-and the width and height are set to the width and height of the window into
-which the GL will do its rendering.
-See \%\f3glViewport\fP.
-.TP
-\%\f3GL_ZOOM_X\fP
-\f2params\fP returns one value,
-the $x$ pixel zoom factor. The initial value is 1.
-See \%\f3glPixelZoom\fP.
-.TP
-\%\f3GL_ZOOM_Y\fP
-\f2params\fP returns one value,
-the $y$ pixel zoom factor. The initial value is 1.
-See \%\f3glPixelZoom\fP.
-.P
-Many of the boolean parameters can also be queried more easily using
-\%\f3glIsEnabled\fP.
-.SH NOTES
-\%\f3GL_COLOR_LOGIC_OP\fP,
-\%\f3GL_COLOR_ARRAY\fP,
-\%\f3GL_COLOR_ARRAY_SIZE\fP,
-\%\f3GL_COLOR_ARRAY_STRIDE\fP,
-\%\f3GL_COLOR_ARRAY_TYPE\fP,
-\%\f3GL_EDGE_FLAG_ARRAY\fP,
-\%\f3GL_EDGE_FLAG_ARRAY_STRIDE\fP,
-\%\f3GL_INDEX_ARRAY\fP,
-\%\f3GL_INDEX_ARRAY_STRIDE\fP,
-\%\f3GL_INDEX_ARRAY_TYPE\fP,
-\%\f3GL_INDEX_LOGIC_OP\fP,
-\%\f3GL_NORMAL_ARRAY\fP,
-\%\f3GL_NORMAL_ARRAY_STRIDE\fP,
-\%\f3GL_NORMAL_ARRAY_TYPE\fP,
-\%\f3GL_POLYGON_OFFSET_UNITS\fP,
-\%\f3GL_POLYGON_OFFSET_FACTOR\fP,
-\%\f3GL_POLYGON_OFFSET_FILL\fP,
-\%\f3GL_POLYGON_OFFSET_LINE\fP,
-\%\f3GL_POLYGON_OFFSET_POINT\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_SIZE\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_STRIDE\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_TYPE\fP,
-\%\f3GL_VERTEX_ARRAY\fP,
-\%\f3GL_VERTEX_ARRAY_SIZE\fP,
-\%\f3GL_VERTEX_ARRAY_STRIDE\fP, and
-\%\f3GL_VERTEX_ARRAY_TYPE\fP
-are available only if the GL version is 1.1 or greater.
-.P
-\%\f3GL_ALIASED_POINT_SIZE_RANGE\fP,
-\%\f3GL_ALIASED_POINT_SIZE_GRANULARITY\fP,
-\%\f3GL_FEEDBACK_BUFFER_SIZE\fP,
-\%\f3GL_FEEDBACK_BUFFER_TYPE\fP,
-\%\f3GL_LIGHT_MODEL_AMBIENT\fP,
-\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP,
-\%\f3GL_MAX_3D_TEXTURE_SIZE\fP,
-\%\f3GL_MAX_ELEMENTS_INDICES\fP,
-\%\f3GL_MAX_ELEMENTS_VERTICES\fP,
-\%\f3GL_PACK_IMAGE_HEIGHT\fP,
-\%\f3GL_PACK_SKIP_IMAGES\fP,
-\%\f3GL_RESCALE_NORMAL\fP,
-\%\f3GL_SELECTION_BUFFER_SIZE\fP,
-\%\f3GL_SMOOTH_LINE_WIDTH_GRANULARITY\fP,
-\%\f3GL_SMOOTH_LINE_WIDTH_RANGE\fP,
-\%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP,
-\%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP,
-\%\f3GL_TEXTURE_3D\fP,
-\%\f3GL_TEXTURE_BINDING_3D\fP,
-\%\f3GL_UNPACK_IMAGE_HEIGHT\fP, and
-\%\f3GL_UNPACK_SKIP_IMAGES\fP
-are available only if the GL version is 1.2 or greater.
-.P
-\%\f3GL_LINE_WIDTH_GRANULARITY\fP was deprecated in GL version 1.2. Its
-functionality was replaced by \%\f3GL_SMOOTH_LINE_WIDTH_GRANULARITY\fP.
-.P
-\%\f3GL_LINE_WIDTH_RANGE\fP was deprecated in GL version 1.2. Its
-functionality was replaced by \%\f3GL_SMOOTH_LINE_WIDTH_RANGE\fP.
-.P
-\%\f3GL_POINT_SIZE_GRANULARITY\fP was deprecated in GL version 1.2. Its
-functionality was replaced by \%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP.
-.P
-\%\f3GL_POINT_SIZE_RANGE\fP was deprecated in GL version 1.2. Its
-functionality was replaced by \%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP.
-.P
-\%\f3GL_BLEND_COLOR\fP,
-\%\f3GL_BLEND_EQUATION\fP,
-\%\f3GL_COLOR_MATRIX\fP,
-\%\f3GL_COLOR_MATRIX_STACK_DEPTH\fP,
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_CONVOLUTION_1D\fP,
-\%\f3GL_CONVOLUTION_2D\fP,
-\%\f3GL_HISTOGRAM\fP,
-\%\f3GL_MAX_COLOR_MATRIX_STACK_DEPTH\fP,
-\%\f3GL_MINMAX\fP,
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP,
-\%\f3GL_POST_COLOR_MATRIX_RED_BIAS\fP,
-\%\f3GL_POST_COLOR_MATRIX_GREEN_BIAS\fP,
-\%\f3GL_POST_COLOR_MATRIX_BLUE_BIAS\fP,
-\%\f3GL_POST_COLOR_MATRIX_ALPHA_BIAS\fP,
-\%\f3GL_POST_COLOR_MATRIX_RED_SCALE\fP,
-\%\f3GL_POST_COLOR_MATRIX_GREEN_SCALE\fP,
-\%\f3GL_POST_COLOR_MATRIX_BLUE_SCALE\fP,
-\%\f3GL_POST_COLOR_MATRIX_ALPHA_SCALE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_RED_BIAS\fP,
-\%\f3GL_POST_CONVOLUTION_GREEN_BIAS\fP,
-\%\f3GL_POST_CONVOLUTION_BLUE_BIAS\fP,
-\%\f3GL_POST_CONVOLUTION_ALPHA_BIAS\fP,
-\%\f3GL_POST_CONVOLUTION_RED_SCALE\fP,
-\%\f3GL_POST_CONVOLUTION_GREEN_SCALE\fP,
-\%\f3GL_POST_CONVOLUTION_BLUE_SCALE\fP,
-\%\f3GL_POST_CONVOLUTION_ALPHA_SCALE\fP, and
-\%\f3GL_SEPARABLE_2D\fP
-are available only if \%\f3GL_ARB_imaging\fP is returned from \%\f3glGet\fP
-when called with the argument \%\f3GL_EXTENSIONS\fP.
-.P
-\%\f3GL_ACTIVE_TEXTURE_ARB\fP,
-\%\f3GL_CLIENT_ACTIVE_TEXTURE_ARB\fP, and
-\%\f3GL_MAX_TEXTURE_UNITS_ARB\fP are available only if
-\%\f3GL_ARB_multitexture\fP is returned from \%\f3glGet\fP when called with the
-argument \%\f3GL_EXTENSIONS\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, the following
-parameters return the associated value for the active texture unit:
-\%\f3GL_CURRENT_RASTER_TEXTURE_COORDS\fP,
-\%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_BINDING_1D\fP,
-\%\f3GL_TEXTURE_2D\fP, \%\f3GL_TEXTURE_BINDING_2D\fP,
-\%\f3GL_TEXTURE_3D\fP, \%\f3GL_TEXTURE_BINDING_3D\fP,
-\%\f3GL_TEXTURE_GEN_S\fP,
-\%\f3GL_TEXTURE_GEN_T\fP,
-\%\f3GL_TEXTURE_GEN_R\fP,
-\%\f3GL_TEXTURE_GEN_Q\fP,
-\%\f3GL_TEXTURE_MATRIX\fP, and
-\%\f3GL_TEXTURE_STACK_DEPTH\fP.
-Likewise, the following parameters return the associated value for the
-active client texture unit:
-\%\f3GL_TEXTURE_COORD_ARRAY\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_SIZE\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_STRIDE\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_TYPE\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGet\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-.SH SEE ALSO
-\%\f3glGetClipPlane(3G)\fP,
-\%\f3glGetColorTable(3G)\fP,
-\%\f3glGetColorTableParameter(3G)\fP,
-\%\f3glGetConvolutionFilter(3G)\fP,
-\%\f3glGetConvolutionParameter(3G)\fP,
-\%\f3glGetError(3G)\fP,
-\%\f3glGetHistogram(3G)\fP,
-\%\f3glGetHistogramParameter(3G)\fP,
-\%\f3glGetLight(3G)\fP,
-\%\f3glGetMap(3G)\fP,
-\%\f3glGetMaterial(3G)\fP,
-\%\f3glGetMinmax(3G)\fP,
-\%\f3glGetMinmaxParameter(3G)\fP,
-\%\f3glGetPixelMap(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glGetPolygonStipple(3G)\fP,
-\%\f3glGetSeparableFilter(3G)\fP,
-\%\f3glGetString(3G)\fP,
-\%\f3glGetTexEnv(3G)\fP,
-\%\f3glGetTexGen(3G)\fP,
-\%\f3glGetTexImage(3G)\fP,
-\%\f3glGetTexLevelParameter(3G)\fP,
-\%\f3glGetTexParameter(3G)\fP,
-\%\f3glIsEnabled(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getclipplane.3gl b/doc/gl-docs/GL/gl/getclipplane.3gl
deleted file mode 100644
index 3bd14d326..000000000
--- a/doc/gl-docs/GL/gl/getclipplane.3gl
+++ /dev/null
@@ -1,53 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getclippl
-.ds Xs 48616 4 getclipplane.gl
-.TH GLGETCLIPPLANE 3G
-.SH NAME
-.B "glGetClipPlane
-\- return the coefficients of the specified clipping plane
-
-.SH C SPECIFICATION
-void \f3glGetClipPlane\fP(
-GLenum \fIplane\fP,
-.nf
-.ta \w'\f3void \fPglGetClipPlane( 'u
- GLdouble \fI*equation\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIequation\fP\ \ 'u
-\f2plane\fP
-Specifies a clipping plane.
-The number of clipping planes depends on the implementation,
-but at least six clipping planes are supported.
-They are identified by symbolic names of the form \%\f3GL_CLIP_PLANE\fP$i$
-where 0 \(<= $ i $ < \%\f3GL_MAX_CLIP_PLANES\fP.
-.TP
-\f2equation\fP
-Returns four double-precision values that are the coefficients of the plane equation of \f2plane\fP in eye coordinates.
-The initial value is (0, 0, 0, 0).
-.SH DESCRIPTION
-\%\f3glGetClipPlane\fP returns in \f2equation\fP the four coefficients of the plane equation
-for \f2plane\fP.
-.SH NOTES
-It is always the case that \%\f3GL_CLIP_PLANE\fP$i$ = \%\f3GL_CLIP_PLANE0\fP + $i$.
-.P
-If an error is generated,
-no change is made to the contents of \f2equation\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2plane\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetClipPlane\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glClipPlane(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getcolortable.3gl b/doc/gl-docs/GL/gl/getcolortable.3gl
deleted file mode 100644
index 7a578860d..000000000
--- a/doc/gl-docs/GL/gl/getcolortable.3gl
+++ /dev/null
@@ -1,142 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getcolort
-.ds Xs 62474 6 getcolortable.gl
-.TH GLGETCOLORTABLE 3G
-.SH NAME
-.B "glGetColorTable
-\- retrieve contents of a color lookup table
-
-.SH C SPECIFICATION
-void \f3glGetColorTable\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetColorTable( 'u
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLvoid \fI*table\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be \%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
-or
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.TP
-\f2format\fP
-The of the pixel data in \f2table\fP.
-The possible values are
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP, and
-\%\f3GL_BGRA\fP.
-.TP
-\f2type\fP
-The type of the pixel data in \f2table\fP.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2table\fP
-Pointer to a one-dimensional array of pixel data containing the contents
-of the color table.
-.SH DESCRIPTION
-\%\f3glGetColorTable\fP returns in \f2table\fP the contents of the color table specified
-by \f2target\fP. No pixel transfer operations are performed, but pixel
-storage modes that are applicable to
-\%\f3glReadPixels\fP are performed.
-.P
-Color components that are requested in
-the specified \f2format\fP, but which are not included in the internal
- of the color lookup table, are returned as zero. The
-assignments of internal color components to the components
-requested by \f2format\fP are
-.P
-.TS
-center;
-lb lb
-l l.
-_
-Internal Component Resulting Component
-_
-red red
-green green
-blue blue
-alpha alpha
-luminance red
-intensity red
-_
-.TE
-
-.P
-.SH NOTES
-\%\f3glGetColorTable\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.P
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetColorTable\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glColorTable(3G)\fP,
-\%\f3glColorTableParameter(3G)\fP,
-\%\f3glGetColorTableParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getcolortableparameter.3gl b/doc/gl-docs/GL/gl/getcolortableparameter.3gl
deleted file mode 100644
index e807e7772..000000000
--- a/doc/gl-docs/GL/gl/getcolortableparameter.3gl
+++ /dev/null
@@ -1,116 +0,0 @@
-'\" te
-'\"! tbl | eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 001 getcolor
-.ds Xs 21434 5 getcolortableparameter.gl
-.TH GLGETCOLORTABLEPARAMETER 3G
-.SH NAME
-.B "glGetColorTableParameterfv, glGetColorTableParameteriv
-\- get color lookup table parameters
-
-.SH C SPECIFICATION
-void \f3glGetColorTableParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetColorTableParameterfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetColorTableParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetColorTableParameteriv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-The target color table.
-Must be
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP,
-\%\f3GL_PROXY_COLOR_TABLE\fP,
-\%\f3GL_PROXY_POST_CONVOLUTION_COLOR_TABLE\fP,
-\%\f3GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.TP
-\f2pname\fP
-The symbolic name of a color lookup table parameter.
-Must be one of
-\%\f3GL_COLOR_TABLE_BIAS\fP,
-\%\f3GL_COLOR_TABLE_SCALE\fP,
-\%\f3GL_COLOR_TABLE_FORMAT\fP,
-\%\f3GL_COLOR_TABLE_WIDTH\fP,
-\%\f3GL_COLOR_TABLE_RED_SIZE\fP,
-\%\f3GL_COLOR_TABLE_GREEN_SIZE\fP,
-\%\f3GL_COLOR_TABLE_BLUE_SIZE\fP,
-\%\f3GL_COLOR_TABLE_ALPHA_SIZE\fP,
-\%\f3GL_COLOR_TABLE_LUMINANCE_SIZE\fP, or
-\%\f3GL_COLOR_TABLE_INTENSITY_SIZE\fP.
-.TP
-\f2params\fP
-A pointer to an array where the values of the parameter will be stored.
-.SH DESCRIPTION
-Returns parameters specific to color table \f2target\fP.
-.P
-When \f2pname\fP is set to \%\f3GL_COLOR_TABLE_SCALE\fP or
-\%\f3GL_COLOR_TABLE_BIAS\fP, \%\f3glGetColorTableParameter\fP returns the color
-table scale or bias parameters for the table specified by \f2target\fP.
-For these queries, \f2target\fP must be set to
-\%\f3GL_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
-or \%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP and
-\f2params\fP points to an array of four elements, which receive
-the scale or bias factors for red, green, blue, and alpha, in that order.
-.P
-\%\f3glGetColorTableParameter\fP can also be used to retrieve the and size parameters
-for a color table. For these queries, set \f2target\fP to either the
-color table target or the proxy color table target.
-The and size parameters are set by \%\f3glColorTable\fP.
-.P
-The following table lists the and size parameters that may
-be queried.
-For each symbolic constant listed below for \f2pname\fP,
-\f2params\fP must point to an array of the
-given length, and receive the values indicated.
-.P
-.TS
-center;
-lb cb lb
-l c l.
-_
-Parameter N Meaning
-_
-\%\f3GL_COLOR_TABLE_FORMAT\fP 1 Internal (e.g. \%\f3GL_RGBA\fP)
-\%\f3GL_COLOR_TABLE_WIDTH\fP 1 Number of elements in table
-\%\f3GL_COLOR_TABLE_RED_SIZE\fP 1 Size of red component, in bits
-\%\f3GL_COLOR_TABLE_GREEN_SIZE\fP 1 Size of green component
-\%\f3GL_COLOR_TABLE_BLUE_SIZE\fP 1 Size of blue component
-\%\f3GL_COLOR_TABLE_ALPHA_SIZE\fP 1 Size of alpha component
-\%\f3GL_COLOR_TABLE_LUMINANCE_SIZE\fP 1 Size of luminance component
-\%\f3GL_COLOR_TABLE_INTENSITY_SIZE\fP 1 Size of intensity component
-_
-.TE
-.SH NOTES
-\%\f3glGetColorTableParameter\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP or \f2pname\fP is not
-an acceptable value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetColorTableParameter\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glColorTable(3G)\fP,
-\%\f3glTexParameter(3G)\fP,
-\%\f3glColorTableParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getconvolutionfilter.3gl b/doc/gl-docs/GL/gl/getconvolutionfilter.3gl
deleted file mode 100644
index 3f1acab64..000000000
--- a/doc/gl-docs/GL/gl/getconvolutionfilter.3gl
+++ /dev/null
@@ -1,145 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getconvol
-.ds Xs 38054 6 getconvolutionfilter.gl
-.TH GLGETCONVOLUTIONFILTER 3G
-.SH NAME
-.B "glGetConvolutionFilter
-\- get current 1D or 2D convolution filter kernel
-
-.SH C SPECIFICATION
-void \f3glGetConvolutionFilter\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetConvolutionFilter( 'u
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLvoid \fI*image\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-The filter to be retrieved.
-Must be one of
-\%\f3GL_CONVOLUTION_1D\fP or
-\%\f3GL_CONVOLUTION_2D\fP.
-.TP
-\f2format\fP
-Format of the output image.
-Must be one of
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Data type of components in the output image.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2image\fP
-Pointer to storage for the output image.
-.SH DESCRIPTION
-\%\f3glGetConvolutionFilter\fP returns the current 1D or 2D convolution filter kernel as an image.
-The one- or two-dimensional image is placed in \f2image\fP according to the
-specifications in \f2format\fP and \f2type\fP.
-No pixel transfer operations are performed on this image, but the relevant
-pixel storage modes are applied.
-.sp
-Color components that are present in \f2format\fP but not included in the
-internal of the filter are returned as zero.
-The assignments of internal color components to the components of \f2format\fP
-are as follows.
-.br
-.bp
-.TS
-center;
-lb lb
-l l.
-_
-Internal Component Resulting Component
-_
-Red Red
-Green Green
-Blue Blue
-Alpha Alpha
-Luminance Red
-Intensity Red
-_
-.TE
-.SH NOTES
-\%\f3glGetConvolutionFilter\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.P
-The current separable 2D filter must be retrieved with
-\%\f3glGetSeparableFilter\fP rather than \%\f3glGetConvolutionFilter\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetConvolutionFilter\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetConvolutionParameter\fP
-.SH SEE ALSO
-\%\f3glGetSeparableFilter(3G)\fP,
-\%\f3glConvolutionParameter(3G)\fP,
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getconvolutionparameter.3gl b/doc/gl-docs/GL/gl/getconvolutionparameter.3gl
deleted file mode 100644
index b65e62b37..000000000
--- a/doc/gl-docs/GL/gl/getconvolutionparameter.3gl
+++ /dev/null
@@ -1,114 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 001 getconvo
-.ds Xs 10201 5 getconvolutionparameter.gl
-.TH GLGETCONVOLUTIONPARAMETER 3G
-.SH NAME
-.B "glGetConvolutionParameterfv, glGetConvolutionParameteriv
-\- get convolution parameters
-
-.SH C SPECIFICATION
-void \f3glGetConvolutionParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetConvolutionParameterfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetConvolutionParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetConvolutionParameteriv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-The filter whose parameters are to be retrieved.
-Must be one of
-\%\f3GL_CONVOLUTION_1D\fP,
-\%\f3GL_CONVOLUTION_2D\fP, or
-\%\f3GL_SEPARABLE_2D\fP.
-.TP
-\f2pname\fP
-The parameter to be retrieved.
-Must be one of
-\%\f3GL_CONVOLUTION_BORDER_MODE\fP,
-\%\f3GL_CONVOLUTION_BORDER_COLOR\fP,
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP,
-\%\f3GL_CONVOLUTION_FILTER_BIAS\fP,
-\%\f3GL_CONVOLUTION_FORMAT\fP,
-\%\f3GL_CONVOLUTION_WIDTH\fP,
-\%\f3GL_CONVOLUTION_HEIGHT\fP,
-\%\f3GL_MAX_CONVOLUTION_WIDTH\fP, or
-\%\f3GL_MAX_CONVOLUTION_HEIGHT\fP.
-.TP
-\f2params\fP
-Pointer to storage for the parameters to be retrieved.
-.SH DESCRIPTION
-\%\f3glGetConvolutionParameter\fP retrieves convolution parameters.
-\f2target\fP determines which convolution filter is queried.
-\f2pname\fP determines which parameter is returned:
-.TP
-\%\f3GL_CONVOLUTION_BORDER_MODE\fP
-The convolution border mode.
-See \%\f3glConvolutionParameter\fP for a list of border modes.
-.TP
-\%\f3GL_CONVOLUTION_BORDER_COLOR\fP
-The current convolution border color.
-\f2params\fP must be a pointer to an array of four elements,
-which will receive the red, green, blue, and alpha border colors.
-.TP
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP
-The current filter scale factors.
-\f2params\fP must be a pointer to an array of four elements,
-which will receive the red, green, blue, and alpha filter scale
-factors in that order.
-.TP
-\%\f3GL_CONVOLUTION_FILTER_BIAS\fP
-The current filter bias factors.
-\f2params\fP must be a pointer to an array of four elements,
-which will receive the red, green, blue, and alpha filter bias
-terms in that order.
-.TP
-\%\f3GL_CONVOLUTION_FORMAT\fP
-The current internal .
-See \%\f3glConvolutionFilter1D\fP, \%\f3glConvolutionFilter2D\fP,
-and \%\f3glSeparableFilter2D\fP for lists of allowable formats.
-.TP
-\%\f3GL_CONVOLUTION_WIDTH\fP
-The current filter image width.
-.TP
-\%\f3GL_CONVOLUTION_HEIGHT\fP
-The current filter image height.
-.TP
-\%\f3GL_MAX_CONVOLUTION_WIDTH\fP
-The maximum acceptable filter image width.
-.TP
-\%\f3GL_MAX_CONVOLUTION_HEIGHT\fP
-The maximum acceptable filter image height.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is \%\f3GL_CONVOLUTION_1D\fP
-and \f2pname\fP is \%\f3GL_CONVOLUTION_HEIGHT\fP or
-\%\f3GL_MAX_CONVOLUTION_HEIGHT\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetConvolutionParameter\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glGetConvolutionFilter(3G)\fP,
-\%\f3glGetSeparableFilter2D(3G)\fP,
-\%\f3glConvolutionParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/geterror.3gl b/doc/gl-docs/GL/gl/geterror.3gl
deleted file mode 100644
index d2dc137fb..000000000
--- a/doc/gl-docs/GL/gl/geterror.3gl
+++ /dev/null
@@ -1,102 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 geterror.
-.ds Xs 56466 6 geterror.gl
-.TH GLGETERROR 3G
-.SH NAME
-.B "glGetError
-\- return error information
-
-.SH C SPECIFICATION
-GLenum \f3glGetError\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-\%\f3glGetError\fP returns the value of the error flag.
-Each detectable error is assigned a numeric code and symbolic name.
-When an error occurs,
-the error flag is set to the appropriate error code value.
-No other errors are recorded until \%\f3glGetError\fP is called,
-the error code is returned,
-and the flag is reset to \%\f3GL_NO_ERROR\fP.
-If a call to \%\f3glGetError\fP returns \%\f3GL_NO_ERROR\fP,
-there has been no detectable error since the last call to \%\f3glGetError\fP,
-or since the GL was initialized.
-.P
-To allow for distributed implementations,
-there may be several error flags.
-If any single error flag has recorded an error,
-the value of that flag is returned
-and that flag is reset to \%\f3GL_NO_ERROR\fP
-when \%\f3glGetError\fP is called.
-If more than one flag has recorded an error,
-\%\f3glGetError\fP returns and clears an arbitrary error flag value.
-Thus, \%\f3glGetError\fP should always be called in a loop,
-until it returns \%\f3GL_NO_ERROR\fP,
-if all error flags are to be reset.
-.P
-Initially, all error flags are set to \%\f3GL_NO_ERROR\fP.
-.P
-The following errors are currently defined:
-.TP 30
-\%\f3GL_NO_ERROR\fP
-No error has been recorded.
-The value of this symbolic constant is guaranteed to be 0.
-.TP
-\%\f3GL_INVALID_ENUM\fP
-An unacceptable value is specified for an enumerated argument.
-The offending command is ignored,
-and has no other side effect than to set the error flag.
-.TP
-\%\f3GL_INVALID_VALUE\fP
-A numeric argument is out of range.
-The offending command is ignored,
-and has no other side effect than to set the error flag.
-.TP
-\%\f3GL_INVALID_OPERATION\fP
-The specified operation is not allowed in the current state.
-The offending command is ignored,
-and has no other side effect than to set the error flag.
-.TP
-\%\f3GL_STACK_OVERFLOW\fP
-This command would cause a stack overflow.
-The offending command is ignored,
-and has no other side effect than to set the error flag.
-.TP
-\%\f3GL_STACK_UNDERFLOW\fP
-This command would cause a stack underflow.
-The offending command is ignored,
-and has no other side effect than to set the error flag.
-.TP
-\%\f3GL_OUT_OF_MEMORY\fP
-There is not enough memory left to execute the command.
-The state of the GL is undefined,
-except for the state of the error flags,
-after this error is recorded.
-.TP
-\%\f3GL_TABLE_TOO_LARGE\fP
-The specified table exceeds the implementation's maximum supported table
-size. The offending command is ignored, and has no other side effect
-than to set the error flag.
-.P
-When an error flag is set,
-results of a GL operation are undefined only if \%\f3GL_OUT_OF_MEMORY\fP
-has occurred.
-In all other cases,
-the command generating the error is ignored and has no effect on the GL state
-or frame buffer contents.
-If the generating command returns a value, it returns 0.
-If \%\f3glGetError\fP itself generates an error, it returns 0.
-.SH NOTES
-\%\f3GL_TABLE_TOO_LARGE\fP was introduced in GL version 1.2.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetError\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-In this case \%\f3glGetError\fP returns 0.
diff --git a/doc/gl-docs/GL/gl/gethistogram.3gl b/doc/gl-docs/GL/gl/gethistogram.3gl
deleted file mode 100644
index 992c7b674..000000000
--- a/doc/gl-docs/GL/gl/gethistogram.3gl
+++ /dev/null
@@ -1,142 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 gethistog
-.ds Xs 52081 6 gethistogram.gl
-.TH GLGETHISTOGRAM 3G
-.SH NAME
-.B "glGetHistogram
-\- get histogram table
-
-.SH C SPECIFICATION
-void \f3glGetHistogram\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetHistogram( 'u
- GLboolean \fIreset\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLvoid \fI*values\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be
-\%\f3GL_HISTOGRAM\fP.
-.TP
-\f2reset\fP
-If \%\f3GL_TRUE\fP, each component counter that is actually returned
-is reset to zero. (Other counters are unaffected.)
-If \%\f3GL_FALSE\fP, none of the counters in the histogram table is modified.
-.TP
-\f2format\fP
-The of values to be returned in \f2values\fP.
-Must be one of
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-The type of values to be returned in \f2values\fP.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2values\fP
-A pointer to storage for the returned histogram table.
-.SH DESCRIPTION
-\%\f3glGetHistogram\fP returns the current histogram table as a one-dimensional image
-with the same width as the histogram.
-No pixel transfer operations are performed on this image, but pixel storage
-modes that are applicable to 1D images are honored.
-.PP
-Color components that are requested in the specified \f2format\fP, but which
-are not included in the internal of the histogram, are returned as
-zero.
-.bp
-The assignments of internal color components to the components
-requested by \f2format\fP are:
-.TS
-center;
-lb lb
-l l.
-_
-Internal Component Resulting Component
-_
-Red Red
-Green Green
-Blue Blue
-Alpha Alpha
-Luminance Red
-_
-.TE
-
-.SH NOTES
-\%\f3glGetHistogram\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_HISTOGRAM\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetHistogram\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\%\f3glHistogram(3G)\fP,
-\%\f3glResetHistogram(3G)\fP,
-\%\f3glGetHistogramParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/gethistogramparameter.3gl b/doc/gl-docs/GL/gl/gethistogramparameter.3gl
deleted file mode 100644
index 4a8dd74ef..000000000
--- a/doc/gl-docs/GL/gl/gethistogramparameter.3gl
+++ /dev/null
@@ -1,103 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 001 gethisto
-.ds Xs 33049 5 gethistogramparameter.gl
-.TH GLGETHISTOGRAMPARAMETER 3G
-.SH NAME
-.B "glGetHistogramParameterfv, glGetHistogramParameteriv
-\- get histogram parameters
-
-.SH C SPECIFICATION
-void \f3glGetHistogramParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetHistogramParameterfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetHistogramParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetHistogramParameteriv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be one of
-\%\f3GL_HISTOGRAM\fP or
-\%\f3GL_PROXY_HISTOGRAM\fP.
-.TP
-\f2pname\fP
-The name of the parameter to be retrieved.
-Must be one of
-\%\f3GL_HISTOGRAM_WIDTH\fP,
-\%\f3GL_HISTOGRAM_FORMAT\fP,
-\%\f3GL_HISTOGRAM_RED_SIZE\fP,
-\%\f3GL_HISTOGRAM_GREEN_SIZE\fP,
-\%\f3GL_HISTOGRAM_BLUE_SIZE\fP,
-\%\f3GL_HISTOGRAM_ALPHA_SIZE\fP,
-\%\f3GL_HISTOGRAM_LUMINANCE_SIZE\fP, or
-\%\f3GL_HISTOGRAM_SINK\fP.
-.TP
-\f2params\fP
-Pointer to storage for the returned values.
-.SH DESCRIPTION
-\%\f3glGetHistogramParameter\fP is used to query parameter values for the current histogram or for
-a proxy. The histogram state information may be queried by calling
-\%\f3glGetHistogramParameter\fP with a \f2target\fP of \%\f3GL_HISTOGRAM\fP (to
-obtain information for the current histogram table) or
-\%\f3GL_PROXY_HISTOGRAM\fP (to obtain information from the most recent
-proxy request) and one of the following values for the \f2pname\fP argument:
-.P
-.ne
-.TS
-center;
-lb lb
-l l.
-_
-Parameter Description
-_
-\%\f3GL_HISTOGRAM_WIDTH\fP Histogram table width
-\%\f3GL_HISTOGRAM_FORMAT\fP Internal
-\%\f3GL_HISTOGRAM_RED_SIZE\fP Red component counter size, in bits
-\%\f3GL_HISTOGRAM_GREEN_SIZE\fP Green component counter size, in bits
-.TE
-.bp
-.TS
-center;
-lb lb
-l l.
-_
-Parameter Description
-_
-\%\f3GL_HISTOGRAM_BLUE_SIZE\fP Blue component counter size, in bits
-\%\f3GL_HISTOGRAM_ALPHA_SIZE\fP Alpha component counter size, in bits
-\%\f3GL_HISTOGRAM_LUMINANCE_SIZE\fP Luminance component counter size, in bits
-\%\f3GL_HISTOGRAM_SINK\fP Value of the \f2sink\fP parameter
-_
-.TE
-
-.SH NOTES
-\%\f3glGetHistogramParameter\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetHistogramParameter\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glGetHistogram(3G)\fP,
-\%\f3glHistogram(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getlight.3gl b/doc/gl-docs/GL/gl/getlight.3gl
deleted file mode 100644
index 77396262a..000000000
--- a/doc/gl-docs/GL/gl/getlight.3gl
+++ /dev/null
@@ -1,187 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getlight.
-.ds Xs 45912 8 getlight.gl
-.TH GLGETLIGHT 3G
-.SH NAME
-.B "glGetLightfv, glGetLightiv
-\- return light source parameter values
-
-.SH C SPECIFICATION
-void \f3glGetLightfv\fP(
-GLenum \fIlight\fP,
-.nf
-.ta \w'\f3void \fPglGetLightfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetLightiv\fP(
-GLenum \fIlight\fP,
-.nf
-.ta \w'\f3void \fPglGetLightiv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2light\fP
-Specifies a light source.
-The number of possible lights depends on the implementation,
-but at least eight lights are supported.
-They are identified by symbolic names of the form \%\f3GL_LIGHT\fP$i$
-where 0 \(<= $ i $ < \%\f3GL_MAX_LIGHTS\fP.
-.TP
-\f2pname\fP
-Specifies a light source parameter for \f2light\fP.
-Accepted symbolic names are
-\%\f3GL_AMBIENT\fP,
-\%\f3GL_DIFFUSE\fP,
-\%\f3GL_SPECULAR\fP,
-\%\f3GL_POSITION\fP,
-\%\f3GL_SPOT_DIRECTION\fP,
-\%\f3GL_SPOT_EXPONENT\fP,
-\%\f3GL_SPOT_CUTOFF\fP,
-\%\f3GL_CONSTANT_ATTENUATION\fP,
-\%\f3GL_LINEAR_ATTENUATION\fP, and
-\%\f3GL_QUADRATIC_ATTENUATION\fP.
-.TP
-\f2params\fP
-Returns the requested data.
-.SH DESCRIPTION
-\%\f3glGetLight\fP returns in \f2params\fP the value or values of a light source parameter.
-\f2light\fP names the light and is a symbolic name of the form \%\f3GL_LIGHT\fP$i$
-for 0 \(<= $i$ < \%\f3GL_MAX_LIGHTS\fP,
-where \%\f3GL_MAX_LIGHTS\fP is an implementation dependent constant that is
-greater than or equal to eight.
-\f2pname\fP specifies one of ten light source parameters,
-again by symbolic name.
-.P
-The following parameters are defined:
-.TP 20
-\%\f3GL_AMBIENT\fP
-\f2params\fP returns four integer or floating-point values representing the
-ambient intensity of the light source.
-Integer values,
-when requested,
-are linearly mapped from the internal floating-point representation
-such that 1.0 maps to the most positive representable integer value,
-and \-1.0 maps to the most negative representable integer value.
-If the internal value is outside the range [\-1, 1],
-the corresponding integer return value is undefined. The initial value is
-(0, 0, 0, 1).
-.TP
-\%\f3GL_DIFFUSE\fP
-\f2params\fP returns four integer or floating-point values representing the
-diffuse intensity of the light source.
-Integer values,
-when requested,
-are linearly mapped from the internal floating-point representation
-such that 1.0 maps to the most positive representable integer value,
-and \-1.0 maps to the most negative representable integer value.
-If the internal value is outside the range [\-1, 1],
-the corresponding integer return value is undefined. The initial value
-for \%\f3GL_LIGHT0\fP is (1, 1, 1, 1); for other lights, the
-initial value is (0, 0, 0, 0).
-.TP
-\%\f3GL_SPECULAR\fP
-\f2params\fP returns four integer or floating-point values representing the
-specular intensity of the light source.
-Integer values,
-when requested,
-are linearly mapped from the internal floating-point representation
-such that 1.0 maps to the most positive representable integer value,
-and \-1.0 maps to the most negative representable integer value.
-If the internal value is outside the range [\-1, 1],
-the corresponding integer return value is undefined. The initial value
-for \%\f3GL_LIGHT0\fP is (1, 1, 1, 1); for other lights, the
-initial value is (0, 0, 0, 0).
-.TP
-\%\f3GL_POSITION\fP
-\f2params\fP returns four integer or floating-point values representing the
-position of the light source.
-Integer values,
-when requested,
-are computed by rounding the internal floating-point values to the
-nearest integer value.
-The returned values are those maintained in eye coordinates.
-They will not be equal to the values specified using \%\f3glLight\fP,
-unless the modelview matrix was identity at the time \%\f3glLight\fP was
-called. The initial value is (0, 0, 1, 0).
-.TP
-\%\f3GL_SPOT_DIRECTION\fP
-\f2params\fP returns three integer or floating-point values representing the
-direction of the light source.
-Integer values,
-when requested,
-are computed by rounding the internal floating-point values to the
-nearest integer value.
-The returned values are those maintained in eye coordinates.
-They will not be equal to the values specified using \%\f3glLight\fP,
-unless the modelview matrix was identity at the time \%\f3glLight\fP was called.
-Although spot direction is normalized before being used in the lighting
-equation,
-the returned values are the transformed versions of the specified values
-prior to normalization. The initial value is (0, 0, \-1).
-.TP
-\%\f3GL_SPOT_EXPONENT\fP
-\f2params\fP returns a single integer or floating-point value representing the
-spot exponent of the light.
-An integer value,
-when requested,
-is computed by rounding the internal floating-point representation to
-the nearest integer. The initial value is 0.
-.TP
-\%\f3GL_SPOT_CUTOFF\fP
-\f2params\fP returns a single integer or floating-point value representing the
-spot cutoff angle of the light.
-An integer value,
-when requested,
-is computed by rounding the internal floating-point representation to
-the nearest integer. The initial value is 180.
-.TP
-\%\f3GL_CONSTANT_ATTENUATION\fP
-\f2params\fP returns a single integer or floating-point value representing the
-constant (not distance-related) attenuation of the light.
-An integer value,
-when requested,
-is computed by rounding the internal floating-point representation to
-the nearest integer. The initial value is 1.
-.TP
-\%\f3GL_LINEAR_ATTENUATION \fP
-\f2params\fP returns a single integer or floating-point value representing the
-linear attenuation of the light.
-An integer value,
-when requested,
-is computed by rounding the internal floating-point representation to
-the nearest integer. The initial value is 0.
-.TP
-\%\f3GL_QUADRATIC_ATTENUATION\fP
-\f2params\fP returns a single integer or floating-point value representing the
-quadratic attenuation of the light.
-An integer value,
-when requested,
-is computed by rounding the internal floating-point representation to
-the nearest integer. The initial value is 0.
-.SH NOTES
-It is always the case that \%\f3GL_LIGHT\fP$i$ = \%\f3GL_LIGHT0\fP + $i$.
-.P
-If an error is generated,
-no change is made to the contents of \f2params\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2light\fP or \f2pname\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetLight\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glLight(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getmap.3gl b/doc/gl-docs/GL/gl/getmap.3gl
deleted file mode 100644
index 20e73ab9a..000000000
--- a/doc/gl-docs/GL/gl/getmap.3gl
+++ /dev/null
@@ -1,134 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getmap.gl
-.ds Xs 19970 5 getmap.gl
-.TH GLGETMAP 3G
-.SH NAME
-.B "glGetMapdv, glGetMapfv, glGetMapiv
-\- return evaluator parameters
-
-.SH C SPECIFICATION
-void \f3glGetMapdv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetMapdv( 'u
- GLenum \fIquery\fP,
- GLdouble \fI*v\fP )
-.fi
-void \f3glGetMapfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetMapfv( 'u
- GLenum \fIquery\fP,
- GLfloat \fI*v\fP )
-.fi
-void \f3glGetMapiv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetMapiv( 'u
- GLenum \fIquery\fP,
- GLint \fI*v\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies the symbolic name of a map.
-Accepted values are
-\%\f3GL_MAP1_COLOR_4\fP,
-\%\f3GL_MAP1_INDEX\fP,
-\%\f3GL_MAP1_NORMAL\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_1\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_2\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_3\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_4\fP,
-\%\f3GL_MAP1_VERTEX_3\fP,
-\%\f3GL_MAP1_VERTEX_4\fP,
-\%\f3GL_MAP2_COLOR_4\fP,
-\%\f3GL_MAP2_INDEX\fP,
-\%\f3GL_MAP2_NORMAL\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_1\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_3\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_4\fP,
-\%\f3GL_MAP2_VERTEX_3\fP, and
-\%\f3GL_MAP2_VERTEX_4\fP.
-.TP
-\f2query\fP
-Specifies which parameter to return.
-Symbolic names
-\%\f3GL_COEFF\fP,
-\%\f3GL_ORDER\fP, and
-\%\f3GL_DOMAIN\fP are accepted.
-.TP
-\f2v\fP
-Returns the requested data.
-.SH DESCRIPTION
-\%\f3glMap1\fP and \%\f3glMap2\fP define evaluators.
-\%\f3glGetMap\fP returns evaluator parameters.
-\f2target\fP chooses a map,
-\f2query\fP selects a specific parameter,
-and \f2v\fP points to storage where the values will be returned.
-.P
-The acceptable values for the \f2target\fP parameter are described
-in the \%\f3glMap1\fP and \%\f3glMap2\fP reference pages.
-.P
-\f2query\fP can assume the following values:
-.TP 15
-\%\f3GL_COEFF\fP
-\f2v\fP returns the control points for the evaluator function.
-One-dimensional evaluators return $order$ control points,
-and two-dimensional evaluators return $uorder ~times~ vorder$ control points.
-Each control point consists of one, two, three, or four integer,
-single-precision floating-point,
-or double-precision floating-point values,
-depending on the type of the evaluator.
-The GL returns two-dimensional control points in row-major order,
-incrementing the $uorder$ index quickly
-and the $vorder$ index after each row.
-Integer values,
-when requested,
-are computed by rounding the internal floating-point values to the
-nearest integer values.
-.TP
-\%\f3GL_ORDER\fP
-\f2v\fP returns the order of the evaluator function.
-One-dimensional evaluators return a single value,
-$order$. The initial value is 1.
-Two-dimensional evaluators return two values,
-$uorder$ and $vorder$. The initial value is 1,1.
-.TP
-\%\f3GL_DOMAIN\fP
-\f2v\fP returns the linear $u$ and $v$ mapping parameters.
-One-dimensional evaluators return two values,
-$u1$ and $u2$,
-as specified by \%\f3glMap1\fP.
-Two-dimensional evaluators return four values
-($u1$, $u2$, $v1$, and $v2$)
-as specified by \%\f3glMap2\fP.
-Integer values,
-when requested,
-are computed by rounding the internal floating-point values to the
-nearest integer values.
-.SH NOTES
-If an error is generated,
-no change is made to the contents of \f2v\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if either \f2target\fP or \f2query\fP is not
-an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetMap\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glEvalCoord(3G)\fP,
-\%\f3glMap1(3G)\fP,
-\%\f3glMap2(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getmaterial.3gl b/doc/gl-docs/GL/gl/getmaterial.3gl
deleted file mode 100644
index 3172c4a9f..000000000
--- a/doc/gl-docs/GL/gl/getmaterial.3gl
+++ /dev/null
@@ -1,133 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getmateri
-.ds Xs 34280 6 getmaterial.gl
-.TH GLGETMATERIAL 3G
-.SH NAME
-.B "glGetMaterialfv, glGetMaterialiv
-\- return material parameters
-
-.SH C SPECIFICATION
-void \f3glGetMaterialfv\fP(
-GLenum \fIface\fP,
-.nf
-.ta \w'\f3void \fPglGetMaterialfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetMaterialiv\fP(
-GLenum \fIface\fP,
-.nf
-.ta \w'\f3void \fPglGetMaterialiv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2face\fP
-Specifies which of the two materials is being queried.
-\%\f3GL_FRONT\fP or \%\f3GL_BACK\fP are accepted,
-representing the front and back materials, respectively.
-.TP
-\f2pname\fP
-Specifies the material parameter to return.
-\%\f3GL_AMBIENT\fP,
-\%\f3GL_DIFFUSE\fP,
-\%\f3GL_SPECULAR\fP,
-\%\f3GL_EMISSION\fP,
-\%\f3GL_SHININESS\fP, and
-\%\f3GL_COLOR_INDEXES\fP
-are accepted.
-.TP
-\f2params\fP
-Returns the requested data.
-.SH DESCRIPTION
-\%\f3glGetMaterial\fP returns in \f2params\fP the value or values of parameter \f2pname\fP
-of material \f2face\fP. Six parameters are defined:
-.TP 22
-\%\f3GL_AMBIENT\fP
-\f2params\fP returns four integer or floating-point values representing the
-ambient reflectance of the material.
-Integer values,
-when requested,
-are linearly mapped from the internal floating-point representation
-such that 1.0 maps to the most positive representable integer value,
-and \-1.0 maps to the most negative representable integer value.
-If the internal value is outside the range [\-1, 1],
-the corresponding integer return value is undefined. The initial value is
-(0.2, 0.2, 0.2, 1.0)
-.TP
-\%\f3GL_DIFFUSE\fP
-\f2params\fP returns four integer or floating-point values representing the
-diffuse reflectance of the material.
-Integer values,
-when requested,
-are linearly mapped from the internal floating-point representation
-such that 1.0 maps to the most positive representable integer value,
-and \-1.0 maps to the most negative representable integer value.
-If the internal value is outside the range [\-1, 1],
-the corresponding integer return value is undefined. The initial value is
-(0.8, 0.8, 0.8, 1.0).
-.TP
-\%\f3GL_SPECULAR\fP
-\f2params\fP returns four integer or floating-point values representing the
-specular reflectance of the material.
-Integer values,
-when requested,
-are linearly mapped from the internal floating-point representation
-such that 1.0 maps to the most positive representable integer value,
-and \-1.0 maps to the most negative representable integer value.
-If the internal value is outside the range [\-1, 1],
-the corresponding integer return value is undefined. The initial value is
-(0, 0, 0, 1).
-.TP
-\%\f3GL_EMISSION\fP
-\f2params\fP returns four integer or floating-point values representing the
-emitted light intensity of the material.
-Integer values,
-when requested,
-are linearly mapped from the internal floating-point representation
-such that 1.0 maps to the most positive representable integer value,
-and \-1.0 maps to the most negative representable integer value.
-If the internal value is outside the range [\-1, 1.0],
-the corresponding integer return value is undefined. The initial value is
-(0, 0, 0, 1).
-.TP
-\%\f3GL_SHININESS\fP
-\f2params\fP returns one integer or floating-point value representing the
-specular exponent of the material.
-Integer values,
-when requested,
-are computed by rounding the internal floating-point value to the
-nearest integer value. The initial value is 0.
-.TP
-\%\f3GL_COLOR_INDEXES\fP
-\f2params\fP returns three integer or floating-point values representing the
-ambient, diffuse, and specular indices of the material.
-These indices are used only for color index lighting.
-(All the other parameters are used only for RGBA lighting.)
-Integer values,
-when requested,
-are computed by rounding the internal floating-point values to the
-nearest integer values.
-.SH NOTES
-If an error is generated,
-no change is made to the contents of \f2params\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2face\fP or \f2pname\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetMaterial\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glMaterial(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getminmax.3gl b/doc/gl-docs/GL/gl/getminmax.3gl
deleted file mode 100644
index 2f027f365..000000000
--- a/doc/gl-docs/GL/gl/getminmax.3gl
+++ /dev/null
@@ -1,149 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getminmax
-.ds Xs 43140 6 getminmax.gl
-.TH GLGETMINMAX 3G
-.SH NAME
-.B "glGetMinmax
-\- get minimum and maximum pixel values
-
-.SH C SPECIFICATION
-void \f3glGetMinmax\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetMinmax( 'u
- GLboolean \fIreset\fP,
- GLenum \fIformat\fP,
- GLenum \fItypes\fP,
- GLvoid \fI*values\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be
-\%\f3GL_MINMAX\fP.
-.TP
-\f2reset\fP
-If \%\f3GL_TRUE\fP, all entries in the minmax table that are actually
-returned are reset to their initial values. (Other entries are unaltered.)
-If \%\f3GL_FALSE\fP, the minmax table is unaltered.
-.TP
-\f2format\fP
-The of the data to be returned in \f2values\fP.
-Must be one of
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2types\fP
-The type of the data to be returned in \f2values\fP.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2values\fP
-A pointer to storage for the returned values.
-.SH DESCRIPTION
-\%\f3glGetMinmax\fP returns the accumulated minimum and maximum pixel values (computed on a
-per-component basis) in a one-dimensional image of width 2. The first set
-of return values are the minima, and the second set of return values
-are the maxima.
-The of the return values is determined by \f2format\fP, and their type is
-determined by \f2types\fP.
-.PP
-No pixel transfer operations are performed on the return values, but pixel
-storage modes that are applicable to 1-dimensional images are performed.
-Color components that are requested in the specified \f2format\fP, but that
-are not included in the internal of the minmax table, are
-returned as zero. The assignment of internal color components to the
-components requested by \f2format\fP are as follows:
-.sp
-.TS
-center;
-lb lb
-l l.
-_
-Internal Component Resulting Component
-_
-Red Red
-Green Green
-Blue Blue
-Alpha Alpha
-Luminance Red
-_
-.TE
-
-.PP
-If \f2reset\fP is \%\f3GL_TRUE\fP, the minmax table entries corresponding
-to the return values are reset to their initial
-values. Minimum and maximum values that are not returned are not
-modified, even if \f2reset\fP is \%\f3GL_TRUE\fP.
-.SH NOTES
-\%\f3glGetMinmax\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_MINMAX\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2types\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetMinmax\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2types\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2types\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\%\f3glMinmax(3G)\fP,
-\%\f3glResetMinmax(3G)\fP,
-\%\f3glGetMinmaxParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getminmaxparameter.3gl b/doc/gl-docs/GL/gl/getminmaxparameter.3gl
deleted file mode 100644
index d2178d16d..000000000
--- a/doc/gl-docs/GL/gl/getminmaxparameter.3gl
+++ /dev/null
@@ -1,76 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getminmax
-.ds Xs 8418 4 getminmaxparameter.gl
-.TH GLGETMINMAXPARAMETER 3G
-.SH NAME
-.B "glGetMinmaxParameterfv, glGetMinmaxParameteriv
-\- get minmax parameters
-
-.SH C SPECIFICATION
-void \f3glGetMinmaxParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetMinmaxParameterfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetMinmaxParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetMinmaxParameteriv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be
-\%\f3GL_MINMAX\fP.
-.TP
-\f2pname\fP
-The parameter to be retrieved.
-Must be one of
-\%\f3GL_MINMAX_FORMAT\fP or
-\%\f3GL_MINMAX_SINK\fP.
-.TP
-\f2params\fP
-A pointer to storage for the retrieved parameters.
-.SH DESCRIPTION
-\%\f3glGetMinmaxParameter\fP retrieves parameters for the current minmax table by setting
-\f2pname\fP to one of the following values:
-.sp
-
-.TS
-center;
-lb lb
-l l.
-_
-Parameter Description
-_
-\%\f3GL_MINMAX_FORMAT\fP Internal of minmax table
-\%\f3GL_MINMAX_SINK\fP Value of the \f2sink\fP parameter
-_
-.TE
-
-.SH NOTES
-\%\f3glGetMinmaxParameter\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_MINMAX\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetMinmaxParameter\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glMinmax(3G)\fP,
-\%\f3glGetMinmax(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getpixelmap.3gl b/doc/gl-docs/GL/gl/getpixelmap.3gl
deleted file mode 100644
index ff5e82118..000000000
--- a/doc/gl-docs/GL/gl/getpixelmap.3gl
+++ /dev/null
@@ -1,156 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getpixelm
-.ds Xs 23505 6 getpixelmap.gl
-.TH GLGETPIXELMAP 3G
-.SH NAME
-.B "glGetPixelMapfv, glGetPixelMapuiv, glGetPixelMapusv
-\- return the specified pixel map
-
-.SH C SPECIFICATION
-void \f3glGetPixelMapfv\fP(
-GLenum \fImap\fP,
-.nf
-.ta \w'\f3void \fPglGetPixelMapfv( 'u
- GLfloat \fI*values\fP )
-.fi
-void \f3glGetPixelMapuiv\fP(
-GLenum \fImap\fP,
-.nf
-.ta \w'\f3void \fPglGetPixelMapuiv( 'u
- GLuint \fI*values\fP )
-.fi
-void \f3glGetPixelMapusv\fP(
-GLenum \fImap\fP,
-.nf
-.ta \w'\f3void \fPglGetPixelMapusv( 'u
- GLushort \fI*values\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIvalues\fP\ \ 'u
-\f2map\fP
-Specifies the name of the pixel map to return.
-Accepted values are
-\%\f3GL_PIXEL_MAP_I_TO_I\fP,
-\%\f3GL_PIXEL_MAP_S_TO_S\fP,
-\%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP,
-\%\f3GL_PIXEL_MAP_I_TO_A\fP,
-\%\f3GL_PIXEL_MAP_R_TO_R\fP,
-\%\f3GL_PIXEL_MAP_G_TO_G\fP,
-\%\f3GL_PIXEL_MAP_B_TO_B\fP, and
-\%\f3GL_PIXEL_MAP_A_TO_A\fP.
-.TP
-\f2values\fP
-Returns the pixel map contents.
-.SH DESCRIPTION
-See the \%\f3glPixelMap\fP reference page for a description of the acceptable
-values for the \f2map\fP parameter.
-\%\f3glGetPixelMap\fP returns in \f2values\fP the contents of the pixel map
-specified in \f2map\fP.
-Pixel maps are used during the execution of
-\%\f3glReadPixels\fP,
-\%\f3glDrawPixels\fP,
-\%\f3glCopyPixels\fP,
-\%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP,
-\%\f3glTexImage3D\fP,
-\%\f3glTexSubImage1D\fP,
-\%\f3glTexSubImage2D\fP,
-\%\f3glTexSubImage3D\fP,
-\%\f3glCopyTexImage1D\fP,
-\%\f3glCopyTexImage2D\fP,
-\%\f3glCopyTexSubImage1D\fP,
-\%\f3glCopyTexSubImage2D\fP,
-\%\f3glCopyTexSubImage3D\fP,
-\%\f3glColorTable\fP,
-\%\f3glColorSubTable\fP,
-\%\f3glCopyColorTable\fP,
-\%\f3glCopyColorSubTable\fP,
-\%\f3glConvolutionFilter1D\fP,
-\%\f3glConvolutionFilter2D\fP,
-\%\f3glSeparableFilter2D\fP,
-\%\f3glGetHistogram\fP,
-\%\f3glGetMinmax\fP, and
-\%\f3glGetTexImage\fP
-to map color indices,
-stencil indices,
-color components,
-and depth components to other values.
-.P
-Unsigned integer values,
-if requested,
-are linearly mapped from the internal fixed or floating-point representation
-such that 1.0 maps to the largest representable integer value,
-and 0.0 maps to 0.
-Return unsigned integer values are undefined if the map value was
-not in the range [0,1].
-.P
-To determine the required size of \f2map\fP,
-call \%\f3glGet\fP with the appropriate symbolic constant.
-.SH NOTES
-If an error is generated,
-no change is made to the contents of \f2values\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2map\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetPixelMap\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-.na
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_I_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_S_TO_S_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_R_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_G_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_B_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_A_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_R_TO_R_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_G_TO_G_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_B_TO_B_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_A_TO_A_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_PIXEL_MAP_TABLE\fP
-.SH SEE ALSO
-\%\f3glColorSubTable(3G)\fP,
-\%\f3glColorTable(3G)\fP,
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glCopyColorSubTable(3G)\fP,
-\%\f3glCopyColorTable(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glGetHistogram(3G)\fP,
-\%\f3glGetMinmax(3G)\fP,
-\%\f3glGetTexImage(3G)\fP,
-\%\f3glPixelMap(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glReadPixels(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getpointerv.3gl b/doc/gl-docs/GL/gl/getpointerv.3gl
deleted file mode 100644
index 089a8ccda..000000000
--- a/doc/gl-docs/GL/gl/getpointerv.3gl
+++ /dev/null
@@ -1,72 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getpointe
-.ds Xs 38346 4 getpointerv.gl
-.TH GLGETPOINTERV 3G
-.SH NAME
-.B "glGetPointerv
-\- return the address of the specified pointer
-
-.SH C SPECIFICATION
-void \f3glGetPointerv\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglGetPointerv( 'u
- void \fI**params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2pname\fP
-Specifies the array or buffer pointer to be returned.
-Symbolic constants
-\%\f3GL_COLOR_ARRAY_POINTER\fP,
-\%\f3GL_EDGE_FLAG_ARRAY_POINTER\fP,
-\%\f3GL_FEEDBACK_BUFFER_POINTER\fP,
-\%\f3GL_INDEX_ARRAY_POINTER\fP,
-\%\f3GL_NORMAL_ARRAY_POINTER\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_POINTER\fP,
-\%\f3GL_SELECTION_BUFFER_POINTER\fP,
-and
-\%\f3GL_VERTEX_ARRAY_POINTER\fP
-are accepted.
-.TP
-\f2params\fP
-Returns the pointer value specified by \f2pname\fP.
-.SH DESCRIPTION
-\%\f3glGetPointerv\fP returns pointer information. \f2pname\fP
-is a symbolic constant indicating the pointer to be returned, and
-\f2params\fP is a pointer to a location in which to place the returned data.
-.SH NOTES
-\%\f3glGetPointerv\fP is available only if the GL version is 1.1 or greater.
-.P
-The pointers are all client-side state.
-.P
-The initial value for each pointer is 0.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, querying the
-\%\f3GL_TEXTURE_COORD_ARRAY_POINTER\fP returns the value for the active
-client texture unit.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not an accepted value.
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glClientActiveTextureARB(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glFeedbackBuffer(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glSelectBuffer(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getpolygonstipple.3gl b/doc/gl-docs/GL/gl/getpolygonstipple.3gl
deleted file mode 100644
index eed7dd1b6..000000000
--- a/doc/gl-docs/GL/gl/getpolygonstipple.3gl
+++ /dev/null
@@ -1,52 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getpolygo
-.ds Xs 49553 4 getpolygonstipple.gl
-.TH GLGETPOLYGONSTIPPLE 3G
-.SH NAME
-.B "glGetPolygonStipple
-\- return the polygon stipple pattern
-
-.SH C SPECIFICATION
-void \f3glGetPolygonStipple\fP(
-GLubyte \fI*mask\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mask\fP\ \ 'u
-\f2mask\fP
-Returns the stipple pattern. The initial value is all 1's.
-.SH DESCRIPTION
-\%\f3glGetPolygonStipple\fP returns to \f2mask\fP a $32 ~times~ 32$ polygon stipple pattern.
-The pattern is packed into memory as if \%\f3glReadPixels\fP
-with both \f2height\fP and \f2width\fP of 32,
-\f2type\fP of \%\f3GL_BITMAP\fP,
-and \f2format\fP of \%\f3GL_COLOR_INDEX\fP were called,
-and the stipple pattern were stored in an internal $32 ~times~ 32$ color
-index buffer.
-Unlike \%\f3glReadPixels\fP,
-however,
-pixel transfer operations
-(shift, offset, pixel map)
-are not applied to the returned stipple image.
-.SH NOTES
-If an error is generated,
-no change is made to the contents of \f2mask\fP.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetPolygonStipple\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glPolygonStipple(3G)\fP,
-\%\f3glReadPixels(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getseparablefilter.3gl b/doc/gl-docs/GL/gl/getseparablefilter.3gl
deleted file mode 100644
index 238b766a2..000000000
--- a/doc/gl-docs/GL/gl/getseparablefilter.3gl
+++ /dev/null
@@ -1,152 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getsepara
-.ds Xs 5701 6 getseparablefilter.gl
-.TH GLGETSEPARABLEFILTER 3G
-.SH NAME
-.B "glGetSeparableFilter
-\- get separable convolution filter kernel images
-
-.SH C SPECIFICATION
-void \f3glGetSeparableFilter\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetSeparableFilter( 'u
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLvoid \fI*row\fP,
- GLvoid \fI*column\fP,
- GLvoid \fI*span\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-The separable filter to be retrieved.
-Must be
-\%\f3GL_SEPARABLE_2D\fP.
-.TP
-\f2format\fP
-Format of the output images.
-Must be one of
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Data type of components in the output images.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2row\fP
-Pointer to storage for the row filter image.
-.TP
-\f2column\fP
-Pointer to storage for the column filter image.
-.TP
-\f2span\fP
-Pointer to storage for the span filter image (currently unused).
-.SH DESCRIPTION
-\%\f3glGetSeparableFilter\fP returns the two one-dimensional filter kernel images for the
-current separable 2D convolution filter.
-The row image is placed in \f2row\fP and the column image is placed in
-\f2column\fP according to the specifications in \f2format\fP and \f2type\fP.
-(In the current implementation, \f2span\fP is not affected in any way.)
-No pixel transfer operations are performed on the images, but the relevant
-pixel storage modes are applied.
-.sp
-Color components that are present in \f2format\fP but not included in the
-internal of the filters are returned as zero.
-The assignments of internal color components to the components of \f2format\fP
-are as follows:
-.sp
-
-.TS
-center;
-cb cb
-l l.
-_
-Internal Component Resulting Component
-_
-Red Red
-Green Green
-Blue Blue
-Alpha Alpha
-Luminance Red
-Intensity Red
-_
-.TE
-
-.SH NOTES
-\%\f3glGetSeparableFilter\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.P
-Non-separable 2D filters must be retrieved with \%\f3glGetConvolutionFilter\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_SEPARABLE_2D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetSeparableFilter\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetConvolutionParameter\fP
-.SH SEE ALSO
-\%\f3glGetConvolutionFilter(3G)\fP,
-\%\f3glConvolutionParameter(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getstring.3gl b/doc/gl-docs/GL/gl/getstring.3gl
deleted file mode 100644
index 589570740..000000000
--- a/doc/gl-docs/GL/gl/getstring.3gl
+++ /dev/null
@@ -1,84 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 getstring
-.ds Xs 56397 5 getstring.gl
-.TH GLGETSTRING 3G
-.SH NAME
-.B "glGetString
-\- return a string describing the current GL connection
-
-.SH C SPECIFICATION
-const GLubyte* \f3glGetString\fP(
-GLenum \fIname\fP )
-.SH PARAMETERS
-.TP \w'\fIname\fP\ \ 'u
-\f2name\fP
-Specifies a symbolic constant, one of
-\%\f3GL_VENDOR\fP, \%\f3GL_RENDERER\fP, \%\f3GL_VERSION\fP, or \%\f3GL_EXTENSIONS\fP.
-.SH DESCRIPTION
-\%\f3glGetString\fP returns a pointer to a static string
-describing some aspect of the current GL connection.
-\f2name\fP can be one of the following:
-.TP 20
-\%\f3GL_VENDOR\fP
-Returns the company responsible for this GL implementation.
-This name does not change from release to release.
-.TP
-\%\f3GL_RENDERER\fP
-Returns the name of the renderer.
-This name is typically specific to a particular configuration of a hardware
-platform.
-It does not change from release to release.
-.TP
-\%\f3GL_VERSION\fP
-Returns a version or release number.
-.TP
-\%\f3GL_EXTENSIONS\fP
-Returns a space-separated list of supported extensions to GL.
-.P
-Because the GL does not include queries for the performance
-characteristics of an implementation, some applications are written to
-recognize known platforms and modify their GL usage based on known
-performance characteristics of these platforms.
-Strings \%\f3GL_VENDOR\fP and \%\f3GL_RENDERER\fP together uniquely specify
-a platform. They do not change from release to release and should be used
-by platform-recognition algorithms.
-.P
-Some applications want to make use of features that
-are not part of the standard GL. These features
-may be implemented as extensions to the standard GL.
-The \%\f3GL_EXTENSIONS\fP string is a space-separated
-list of supported GL extensions.
-(Extension names never contain a space character.)
-.P
-The \%\f3GL_VERSION\fP string begins with a version number.
-The version number uses one
-of these forms:
-.P
-\f2major_number.minor_number\fP
-.br
-\f2major_number.minor_number.release_number\fP
-.P
-Vendor-specific information may follow the version
-number. Its depends on the implementation, but
-a space always separates the version number and
-the vendor-specific information.
-.P
-All strings are null-terminated.
-.SH NOTES
-If an error is generated, \%\f3glGetString\fP returns 0.
-.P
-The client and server may support different versions or extensions.
-\%\f3glGetString\fP always returns a compatible version number or list of extensions.
-The release number always describes the server.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2name\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetString\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
diff --git a/doc/gl-docs/GL/gl/gettexenv.3gl b/doc/gl-docs/GL/gl/gettexenv.3gl
deleted file mode 100644
index f1bf03b54..000000000
--- a/doc/gl-docs/GL/gl/gettexenv.3gl
+++ /dev/null
@@ -1,80 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 gettexenv
-.ds Xs 32087 4 gettexenv.gl
-.TH GLGETTEXENV 3G
-.SH NAME
-.B "glGetTexEnvfv, glGetTexEnviv
-\- return texture environment parameters
-
-.SH C SPECIFICATION
-void \f3glGetTexEnvfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetTexEnvfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetTexEnviv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetTexEnviv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies a texture environment.
-Must be \%\f3GL_TEXTURE_ENV\fP.
-.TP
-\f2pname\fP
-Specifies the symbolic name of a texture environment parameter.
-Accepted values are \%\f3GL_TEXTURE_ENV_MODE\fP and \%\f3GL_TEXTURE_ENV_COLOR\fP.
-.TP
-\f2params\fP
-Returns the requested data.
-.SH DESCRIPTION
-\%\f3glGetTexEnv\fP returns in \f2params\fP selected values of a texture environment that
-was specified with \%\f3glTexEnv\fP.
-\f2target\fP specifies a texture environment.
-Currently, only one texture environment is defined and supported:
-\%\f3GL_TEXTURE_ENV\fP.
-.P
-\f2pname\fP names a specific texture environment parameter, as follows:
-.TP 10
-\%\f3GL_TEXTURE_ENV_MODE\fP
-\f2params\fP returns the single-valued texture environment mode,
-a symbolic constant. The initial value is \%\f3GL_MODULATE\fP.
-.TP
-\%\f3GL_TEXTURE_ENV_COLOR\fP
-\f2params\fP returns four integer or floating-point values that are the
-texture environment color.
-Integer values,
-when requested,
-are linearly mapped from the internal floating-point representation
-such that 1.0 maps to the most positive representable integer,
-and \-1.0 maps to the most negative representable integer. The initial
-value is (0, 0, 0, 0).
-.SH NOTES
-If an error is generated,
-no change is made to the contents of \f2params\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glGetTexEnv\fP returns
-the texture environment parameters for the active texture unit.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP or \f2pname\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetTexEnv\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glTexEnv(3G)\fP
diff --git a/doc/gl-docs/GL/gl/gettexgen.3gl b/doc/gl-docs/GL/gl/gettexgen.3gl
deleted file mode 100644
index 5397d53d7..000000000
--- a/doc/gl-docs/GL/gl/gettexgen.3gl
+++ /dev/null
@@ -1,107 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 gettexgen
-.ds Xs 2655 5 gettexgen.gl
-.TH GLGETTEXGEN 3G
-.SH NAME
-.B "glGetTexGendv, glGetTexGenfv, glGetTexGeniv
-\- return texture coordinate generation parameters
-
-.SH C SPECIFICATION
-void \f3glGetTexGendv\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglGetTexGendv( 'u
- GLenum \fIpname\fP,
- GLdouble \fI*params\fP )
-.fi
-void \f3glGetTexGenfv\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglGetTexGenfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetTexGeniv\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglGetTexGeniv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2coord\fP
-Specifies a texture coordinate.
-Must be
-\%\f3GL_S\fP,
-\%\f3GL_T\fP,
-\%\f3GL_R\fP, or
-\%\f3GL_Q\fP.
-.TP
-\f2pname\fP
-Specifies the symbolic name of the value(s) to be returned.
-Must be either \%\f3GL_TEXTURE_GEN_MODE\fP
-or the name of one of the texture generation plane equations:
-\%\f3GL_OBJECT_PLANE\fP or \%\f3GL_EYE_PLANE\fP.
-.TP
-\f2params\fP
-Returns the requested data.
-.SH DESCRIPTION
-\%\f3glGetTexGen\fP returns in \f2params\fP selected parameters of a texture coordinate
-generation function that was specified using \%\f3glTexGen\fP.
-\f2coord\fP names one of the (\f2s\fP, \f2t\fP, \f2r\fP, \f2q\fP)
-texture coordinates,
-using the symbolic constant
-\%\f3GL_S\fP,
-\%\f3GL_T\fP,
-\%\f3GL_R\fP, or
-\%\f3GL_Q\fP.
-.P
-\f2pname\fP specifies one of three symbolic names:
-.TP 28
-\%\f3GL_TEXTURE_GEN_MODE\fP
-\f2params\fP returns the single-valued texture generation function,
-a symbolic constant. The initial value is \%\f3GL_EYE_LINEAR\fP.
-.TP
-\%\f3GL_OBJECT_PLANE\fP
-\f2params\fP returns the four plane equation coefficients that specify
-object linear-coordinate generation.
-Integer values, when requested,
-are mapped directly from the internal floating-point representation.
-.BP
-.TP
-\%\f3GL_EYE_PLANE\fP
-\f2params\fP returns the four plane equation coefficients that specify
-eye linear-coordinate generation.
-Integer values,
-when requested,
-are mapped directly from the internal floating-point representation.
-The returned values are those maintained in eye coordinates.
-They are not equal to the values specified using \%\f3glTexGen\fP,
-unless the modelview matrix was identity when \%\f3glTexGen\fP was called.
-.SH NOTES
-If an error is generated,
-no change is made to the contents of \f2params\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glGetTexGen\fP returns
-the texture coordinate generation parameters for the active texture unit.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2coord\fP or \f2pname\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetTexGen\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glTexGen(3G)\fP
diff --git a/doc/gl-docs/GL/gl/getteximage.3gl b/doc/gl-docs/GL/gl/getteximage.3gl
deleted file mode 100644
index 41583d73d..000000000
--- a/doc/gl-docs/GL/gl/getteximage.3gl
+++ /dev/null
@@ -1,209 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 gettexima
-.ds Xs 2939 8 getteximage.gl
-.TH GLGETTEXIMAGE 3G
-.SH NAME
-.B "glGetTexImage
-\- return a texture image
-
-.SH C SPECIFICATION
-void \f3glGetTexImage\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetTexImage( 'u
- GLint \fIlevel\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies which texture is to be obtained.
-\%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP, and \%\f3GL_TEXTURE_3D\fP are accepted.
-.TP
-\f2level\fP
-Specifies the level-of-detail number of the desired image.
-Level 0 is the base image level.
-Level $n$ is the $n$th mipmap reduction image.
-.TP
-\f2format\fP
-Specifies a pixel for the returned data.
-The supported formats are
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies a pixel type for the returned data.
-The supported types are
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2pixels\fP
-Returns the texture image.
-Should be a pointer to an array of the type specified by \f2type\fP.
-.SH DESCRIPTION
-\%\f3glGetTexImage\fP returns a texture image into \f2pixels\fP.
-\f2target\fP specifies whether the desired texture image is one specified by
-\%\f3glTexImage1D\fP (\%\f3GL_TEXTURE_1D\fP),
-\%\f3glTexImage2D\fP (\%\f3GL_TEXTURE_2D\fP), or
-\%\f3glTexImage3D\fP (\%\f3GL_TEXTURE_3D\fP).
-\f2level\fP specifies the level-of-detail number of the desired image.
-\f2format\fP and \f2type\fP specify the and type of the desired image array.
-See the reference pages \%\f3glTexImage1D\fP and \%\f3glDrawPixels\fP
-for a description of the acceptable values for the \f2format\fP and \f2type\fP
-parameters, respectively.
-.P
-To understand the operation of \%\f3glGetTexImage\fP, consider the selected internal
-four-component texture image to be an RGBA color buffer the size of the image.
-The semantics of \%\f3glGetTexImage\fP are then identical to those of \%\f3glReadPixels\fP,
-with the exception that no pixel transfer operations are performed,
-when called with the same \f2format\fP and \f2type\fP,
-with \f2x\fP and \f2y\fP set to 0,
-\f2width\fP set to the width of the texture image
-(including border if one was specified),
-and \f2height\fP set to 1 for 1D images,
-or to the height of the texture image
-(including border if one was specified)
-for 2D images.
-.BP
-Because the internal texture image is an RGBA image,
-pixel formats \%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_STENCIL_INDEX\fP,
-and \%\f3GL_DEPTH_COMPONENT\fP are not accepted,
-and pixel type \%\f3GL_BITMAP\fP is not accepted.
-.P
-If the selected texture image does not contain four components,
-the following mappings are applied.
-Single-component textures are treated as RGBA buffers with red set
-to the single-component value,
-green set to 0, blue set to 0, and alpha set to 1.
-Two-component textures are treated as RGBA buffers with red set to
-the value of component zero,
-alpha set to the value of component one,
-and green and blue set to 0.
-Finally,
-three-component textures are treated as RGBA buffers with red set to
-component zero,
-green set to component one,
-blue set to component two,
-and alpha set to 1.
-.P
-To determine the required size of \f2pixels\fP,
-use \%\f3glGetTexLevelParameter\fP to determine the dimensions of the
-internal texture image,
-then scale the required number of pixels by the storage required for
-each pixel,
-based on \f2format\fP and \f2type\fP.
-Be sure to take the pixel storage parameters into account,
-especially \%\f3GL_PACK_ALIGNMENT\fP.
-.SH NOTES
-If an error is generated,
-no change is made to the contents of \f2pixels\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glGetTexImage\fP returns
-the texture image for the active texture unit.
-.P
-The types \%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP,
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP,
-and the formats
-\%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP are available only if the GL version is
-1.2 or greater.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP, \f2format\fP, or \f2type\fP is not
-an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $log sub 2 max$,
-where $max$ is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetTexImage\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is returned if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is returned if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP, and \f2format\fP is neither \%\f3GL_RGBA\fP
-or \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexLevelParameter\fP with argument \%\f3GL_TEXTURE_WIDTH\fP
-.br
-\%\f3glGetTexLevelParameter\fP with argument \%\f3GL_TEXTURE_HEIGHT\fP
-.br
-\%\f3glGetTexLevelParameter\fP with argument \%\f3GL_TEXTURE_BORDER\fP
-.br
-\%\f3glGetTexLevelParameter\fP with argument \%\f3GL_TEXTURE_INTERNALFORMAT\fP
-.br
-\%\f3glGet\fP with arguments \%\f3GL_PACK_ALIGNMENT\fP and others
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glReadPixels(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/gettexlevelparameter.3gl b/doc/gl-docs/GL/gl/gettexlevelparameter.3gl
deleted file mode 100644
index 9ed20da2b..000000000
--- a/doc/gl-docs/GL/gl/gettexlevelparameter.3gl
+++ /dev/null
@@ -1,182 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 gettexlev
-.ds Xs 50913 7 gettexlevelparameter.gl
-.TH GLGETTEXLEVELPARAMETER 3G
-.SH NAME
-.B "glGetTexLevelParameterfv, glGetTexLevelParameteriv
-\- return texture parameter values for a specific level of detail
-
-.SH C SPECIFICATION
-void \f3glGetTexLevelParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetTexLevelParameterfv( 'u
- GLint \fIlevel\fP,
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetTexLevelParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetTexLevelParameteriv( 'u
- GLint \fIlevel\fP,
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies the symbolic name of the target texture,
-either \%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP, \%\f3GL_TEXTURE_3D\fP,
-\%\f3GL_PROXY_TEXTURE_1D\fP, \%\f3GL_PROXY_TEXTURE_2D\fP, or
-\%\f3GL_PROXY_TEXTURE_3D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number of the desired image.
-Level 0 is the base image level.
-Level $n$ is the $n$th mipmap reduction image.
-.TP
-\f2pname\fP
-Specifies the symbolic name of a texture parameter.
-\%\f3GL_TEXTURE_WIDTH\fP,
-\%\f3GL_TEXTURE_HEIGHT\fP,
-\%\f3GL_TEXTURE_DEPTH\fP,
-\%\f3GL_TEXTURE_INTERNAL_FORMAT\fP,
-\%\f3GL_TEXTURE_BORDER\fP,
-\%\f3GL_TEXTURE_RED_SIZE\fP,
-\%\f3GL_TEXTURE_GREEN_SIZE\fP,
-\%\f3GL_TEXTURE_BLUE_SIZE\fP,
-\%\f3GL_TEXTURE_ALPHA_SIZE\fP,
-\%\f3GL_TEXTURE_LUMINANCE_SIZE\fP, and
-\%\f3GL_TEXTURE_INTENSITY_SIZE\fP are accepted.
-.TP
-\f2params\fP
-Returns the requested data.
-.SH DESCRIPTION
-\%\f3glGetTexLevelParameter\fP returns in \f2params\fP texture parameter values for a specific
-level-of-detail value,
-specified as \f2level\fP.
-\f2target\fP defines the target texture,
-either \%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP, \%\f3GL_TEXTURE_3D\fP,
-\%\f3GL_PROXY_TEXTURE_1D\fP,
-\%\f3GL_PROXY_TEXTURE_2D\fP, or
-\%\f3GL_PROXY_TEXTURE_3D\fP.
-.BR
-.P
-\%\f3GL_MAX_TEXTURE_SIZE\fP, and \%\f3GL_MAX_3D_TEXTURE_SIZE\fP are not really
-descriptive enough.
-It has to report the largest square texture image that can be
-accommodated with mipmaps and borders,
-but a long skinny texture, or a texture without mipmaps and borders, may
-easily fit in texture memory.
-The proxy targets allow the user to more accurately query
-whether the GL can accommodate a texture of a given configuration.
-If the texture cannot be accommodated, the texture state variables, which
-may be queried with \%\f3glGetTexLevelParameter\fP, are set to 0. If the texture can be accommodated,
-the texture state values will be set as they would be set for a
-non-proxy target.
-.P
-\f2pname\fP specifies the texture parameter whose value or values
-will be returned.
-.P
-The accepted parameter names are as follows:
-.TP 10
-\%\f3GL_TEXTURE_WIDTH\fP
-\f2params\fP returns a single value,
-the width of the texture image.
-This value includes the border of the texture image. The initial value is
-0.
-.TP
-\%\f3GL_TEXTURE_HEIGHT\fP
-\f2params\fP returns a single value,
-the height of the texture image.
-This value includes the border of the texture image. The initial value is
-0.
-.TP
-\%\f3GL_TEXTURE_DEPTH\fP
-\f2params\fP returns a single value,
-the depth of the texture image.
-This value includes the border of the texture image. The initial value is
-0.
-.TP
-\%\f3GL_TEXTURE_INTERNAL_FORMAT\fP
-\f2params\fP returns a single value,
-the internal of the texture image.
-.TP
-\%\f3GL_TEXTURE_BORDER\fP
-\f2params\fP returns a single value,
-the width in pixels of the border of the texture image. The initial value
-is 0.
-.TP
-\%\f3GL_TEXTURE_RED_SIZE\fP,
-.TP
-\%\f3GL_TEXTURE_GREEN_SIZE\fP,
-.TP
-\%\f3GL_TEXTURE_BLUE_SIZE\fP,
-.TP
-\%\f3GL_TEXTURE_ALPHA_SIZE\fP,
-.TP
-\%\f3GL_TEXTURE_LUMINANCE_SIZE\fP,
-.TP
-\%\f3GL_TEXTURE_INTENSITY_SIZE\fP
-The internal storage resolution of an individual component.
-The resolution chosen by the GL will be a close match for the resolution
-requested by the user with the component argument of \%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP, \%\f3glTexImage3D\fP, \%\f3glCopyTexImage1D\fP, and
-\%\f3glCopyTexImage2D\fP. The initial value is 0.
-.SH NOTES
-If an error is generated,
-no change is made to the contents of \f2params\fP.
-.P
-\%\f3GL_TEXTURE_INTERNAL_FORMAT\fP is available only if the GL version is
-1.1 or greater. In version 1.0, use \%\f3GL_TEXTURE_COMPONENTS\fP
-instead.
-.P
-\%\f3GL_PROXY_TEXTURE_1D\fP and \%\f3GL_PROXY_TEXTURE_2D\fP are
-available only if the GL version is 1.1 or greater.
-.P
-\%\f3GL_TEXTURE_3D\fP, \%\f3GL_PROXY_TEXTURE_3D\fP, and \%\f3GL_TEXTURE_DEPTH\fP
-are available only if the GL version is 1.2 or greater.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glGetTexLevelParameter\fP returns
-the texture level parameters for the active texture unit.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP or \f2pname\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $ log sub 2$ \f2max\fP,
-where \f2max\fP is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetTexLevelParameter\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glGetTexParameter(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/gettexparameter.3gl b/doc/gl-docs/GL/gl/gettexparameter.3gl
deleted file mode 100644
index 58283ebaa..000000000
--- a/doc/gl-docs/GL/gl/gettexparameter.3gl
+++ /dev/null
@@ -1,142 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 gettexpar
-.ds Xs 10274 6 gettexparameter.gl
-.TH GLGETTEXPARAMETER 3G
-.SH NAME
-.B "glGetTexParameterfv, glGetTexParameteriv
-\- return texture parameter values
-
-.SH C SPECIFICATION
-void \f3glGetTexParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetTexParameterfv( 'u
- GLenum \fIpname\fP,
- GLfloat \fI*params\fP )
-.fi
-void \f3glGetTexParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglGetTexParameteriv( 'u
- GLenum \fIpname\fP,
- GLint \fI*params\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies the symbolic name of the target texture.
-\%\f3GL_TEXTURE_1D\fP,\%\f3GL_TEXTURE_2D\fP, and \%\f3GL_TEXTURE_3D\fP are accepted.
-.TP
-\f2pname\fP
-Specifies the symbolic name of a texture parameter.
-\%\f3GL_TEXTURE_MAG_FILTER\fP,
-\%\f3GL_TEXTURE_MIN_FILTER\fP,
-\%\f3GL_TEXTURE_MIN_LOD\fP,
-\%\f3GL_TEXTURE_MAX_LOD\fP,
-\%\f3GL_TEXTURE_BASE_LEVEL\fP,
-\%\f3GL_TEXTURE_MAX_LEVEL\fP,
-\%\f3GL_TEXTURE_WRAP_S\fP,
-\%\f3GL_TEXTURE_WRAP_T\fP,
-\%\f3GL_TEXTURE_WRAP_R\fP,
-\%\f3GL_TEXTURE_BORDER_COLOR\fP,
-\%\f3GL_TEXTURE_PRIORITY\fP, and
-\%\f3GL_TEXTURE_RESIDENT\fP are accepted.
-.TP
-\f2params\fP
-Returns the texture parameters.
-.SH DESCRIPTION
-\%\f3glGetTexParameter\fP returns in \f2params\fP the value or values of the texture parameter
-specified as \f2pname\fP.
-\f2target\fP defines the target texture,
-either \%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP, or \%\f3GL_TEXTURE_3D\fP
-to specify one-, two-, or three-dimensional texturing.
-\f2pname\fP accepts the same symbols as \%\f3glTexParameter\fP,
-with the same interpretations:
-.TP 35
-\%\f3GL_TEXTURE_MAG_FILTER\fP
-Returns the single-valued texture magnification filter,
-a symbolic constant. The initial value is \%\f3GL_LINEAR\fP.
-.TP
-\%\f3GL_TEXTURE_MIN_FILTER\fP
-Returns the single-valued texture minification filter,
-a symbolic constant. The initial value is \%\f3GL_NEAREST_MIPMAP_LINEAR\fP.
-.TP
-\%\f3GL_TEXTURE_MIN_LOD\fP
-Returns the single-valued texture minimum level-of-detail value. The
-initial value is $-1000$.
-.TP
-\%\f3GL_TEXTURE_MAX_LOD\fP
-Returns the single-valued texture maximum level-of-detail value. The
-initial value is 1000.
-.TP
-\%\f3GL_TEXTURE_BASE_LEVEL\fP
-Returns the single-valued base texture mipmap level. The initial value is 0.
-.TP
-\%\f3GL_TEXTURE_MAX_LEVEL\fP
-Returns the single-valued maximum texture mipmap array level. The initial
-value is 1000.
-.TP
-\%\f3GL_TEXTURE_WRAP_S\fP
-Returns the single-valued wrapping function for texture coordinate $s$,
-a symbolic constant. The initial value is \%\f3GL_REPEAT\fP.
-.TP
-\%\f3GL_TEXTURE_WRAP_T\fP
-Returns the single-valued wrapping function for texture coordinate $t$,
-a symbolic constant. The initial value is \%\f3GL_REPEAT\fP.
-.TP
-\%\f3GL_TEXTURE_WRAP_R\fP
-Returns the single-valued wrapping function for texture coordinate $r$,
-a symbolic constant. The initial value is \%\f3GL_REPEAT\fP.
-.BP
-.TP
-\%\f3GL_TEXTURE_BORDER_COLOR\fP
-Returns four integer or floating-point numbers that comprise the RGBA color
-of the texture border.
-Floating-point values are returned in the range [0, 1].
-Integer values are returned as a linear mapping of the internal floating-point
-representation such that 1.0 maps to the most positive representable
-integer and \-1.0 maps to the most negative representable
-integer. The initial value is (0, 0, 0, 0).
-.TP
-\%\f3GL_TEXTURE_PRIORITY\fP
-Returns the residence priority of the target texture (or the named
-texture bound to it). The initial value is 1.
-See \%\f3glPrioritizeTextures\fP.
-.TP
-\%\f3GL_TEXTURE_RESIDENT\fP
-Returns the residence status of the target texture.
-If the value returned in \f2params\fP is \%\f3GL_TRUE\fP, the texture is
-resident in texture memory.
-See \%\f3glAreTexturesResident\fP.
-.SH NOTES
-\%\f3GL_TEXTURE_PRIORITY\fP and \%\f3GL_TEXTURE_RESIDENT\fP are
-available only if the GL version is 1.1 or greater.
-.P
-\%\f3GL_TEXTURE_3D\fP,
-\%\f3GL_TEXTURE_MIN_LOD\fP, \%\f3GL_TEXTURE_MAX_LOD\fP, \%\f3GL_TEXTURE_BASE_LEVEL\fP,
-\%\f3GL_TEXTURE_MAX_LEVEL\fP, and \%\f3GL_TEXTURE_WRAP_R\fP are available only
-if the GL version is 1.2 or greater.
-.P
-If an error is generated,
-no change is made to the contents of \f2params\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP or \f2pname\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGetTexParameter\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glAreTexturesResident(3G)\fP,
-\%\f3glPrioritizeTextures(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/hint.3gl b/doc/gl-docs/GL/gl/hint.3gl
deleted file mode 100644
index 956e91f0f..000000000
--- a/doc/gl-docs/GL/gl/hint.3gl
+++ /dev/null
@@ -1,104 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 hint.gl -
-.ds Xs 8452 5 hint.gl
-.TH GLHINT 3G
-.SH NAME
-.B "glHint
-\- specify implementation-specific hints
-
-.SH C SPECIFICATION
-void \f3glHint\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglHint( 'u
- GLenum \fImode\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies a symbolic constant indicating the behavior to be controlled.
-\%\f3GL_FOG_HINT\fP,
-\%\f3GL_LINE_SMOOTH_HINT\fP,
-\%\f3GL_PERSPECTIVE_CORRECTION_HINT\fP,
-\%\f3GL_POINT_SMOOTH_HINT\fP, and
-\%\f3GL_POLYGON_SMOOTH_HINT\fP are accepted.
-.TP
-\f2mode\fP
-Specifies a symbolic constant indicating the desired behavior.
-\%\f3GL_FASTEST\fP,
-\%\f3GL_NICEST\fP, and
-\%\f3GL_DONT_CARE\fP are accepted.
-.SH DESCRIPTION
-Certain aspects of GL behavior,
-when there is room for interpretation,
-can be controlled with hints.
-A hint is specified with two arguments.
-\f2target\fP is a symbolic
-constant indicating the behavior to be controlled,
-and \f2mode\fP is another symbolic constant indicating the desired
-behavior. The initial value for each \f2target\fP is \%\f3GL_DONT_CARE\fP.
-\f2mode\fP can be one of the following:
-.TP 20
-\%\f3GL_FASTEST\fP
-The most efficient option should be chosen.
-.TP
-\%\f3GL_NICEST\fP
-The most correct,
-or highest quality,
-option should be chosen.
-.TP
-\%\f3GL_DONT_CARE\fP
-No preference.
-.P
-Though the implementation aspects that can be hinted are well defined,
-the interpretation of the hints depends on the implementation.
-The hint aspects that can be specified with \f2target\fP,
-along with suggested semantics,
-are as follows:
-.TP 20
-\%\f3GL_FOG_HINT\fP
-Indicates the accuracy of fog calculation.
-If per-pixel fog calculation is not efficiently supported
-by the GL implementation,
-hinting \%\f3GL_DONT_CARE\fP or \%\f3GL_FASTEST\fP can result in per-vertex
-calculation of fog effects.
-.TP
-\%\f3GL_LINE_SMOOTH_HINT\fP
-Indicates the sampling quality of antialiased lines.
-If a larger filter function is applied, hinting \%\f3GL_NICEST\fP can
-result in more pixel fragments being generated during rasterization,
-.TP
-\%\f3GL_PERSPECTIVE_CORRECTION_HINT\fP
-Indicates the quality of color and texture coordinate interpolation.
-If perspective-corrected parameter interpolation is not efficiently supported
-by the GL implementation,
-hinting \%\f3GL_DONT_CARE\fP or \%\f3GL_FASTEST\fP can result in simple linear
-interpolation of colors and/or texture coordinates.
-.TP
-\%\f3GL_POINT_SMOOTH_HINT\fP
-Indicates the sampling quality of antialiased points.
-If a larger filter function is applied, hinting \%\f3GL_NICEST\fP can
-result in more pixel fragments being generated during rasterization,
-.TP
-\%\f3GL_POLYGON_SMOOTH_HINT\fP
-Indicates the sampling quality of antialiased polygons.
-Hinting \%\f3GL_NICEST\fP can result in more pixel fragments being generated
-during rasterization,
-if a larger filter function is applied.
-.SH NOTES
-The interpretation of hints depends on the implementation.
-Some implementations ignore \%\f3glHint\fP settings.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if either \f2target\fP or \f2mode\fP is not
-an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glHint\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
diff --git a/doc/gl-docs/GL/gl/histogram.3gl b/doc/gl-docs/GL/gl/histogram.3gl
deleted file mode 100644
index a659a4a12..000000000
--- a/doc/gl-docs/GL/gl/histogram.3gl
+++ /dev/null
@@ -1,138 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 histogram
-.ds Xs 13152 6 histogram.gl
-.TH GLHISTOGRAM 3G
-.SH NAME
-.B "glHistogram
-\- define histogram table
-
-.SH C SPECIFICATION
-void \f3glHistogram\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglHistogram( 'u
- GLsizei \fIwidth\fP,
- GLenum \fIinternalformat\fP,
- GLboolean \fIsink\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-The histogram whose parameters are to be set.
-Must be one of
-\%\f3GL_HISTOGRAM\fP or
-\%\f3GL_PROXY_HISTOGRAM\fP.
-.TP
-\f2width\fP
-The number of entries in the histogram table. Must be a power of 2.
-.TP
-\f2internalformat\fP
-The of entries in the histogram table.
-Must be one of
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2sink\fP
-If \%\f3GL_TRUE\fP, pixels will be consumed by the histogramming
-process and no drawing or texture loading will take place.
-If \%\f3GL_FALSE\fP, pixels will proceed to the minmax process after
-histogramming.
-.SH DESCRIPTION
-When \%\f3GL_HISTOGRAM\fP is enabled, RGBA color components are converted to
-histogram table indices by clamping to the range [0,1], multiplying by
-the width of the histogram table, and rounding to the nearest integer.
-The table entries selected by the RGBA indices are then incremented.
-(If the internal of the histogram table includes luminance, then
-the index derived from the R color component determines the luminance
-table entry to be incremented.) If a histogram table entry is incremented
-beyond its maximum value, then its value becomes undefined. (This is
-not an error.)
-.PP
-Histogramming is performed only for RGBA pixels (though these may
-be specified originally as color indices and converted to RGBA by
-index table lookup).
-Histogramming is enabled with \%\f3glEnable\fP and disabled with \%\f3glDisable\fP.
-.PP
-When \f2target\fP is \%\f3GL_HISTOGRAM\fP, \%\f3glHistogram\fP redefines the current
-histogram table to have \f2width\fP entries of the specified by
-\f2internalformat\fP.
-The entries are indexed 0 through $"width" ~-~ 1$, and
-all entries are initialized to zero.
-The values in the previous histogram table, if any, are lost.
-If \f2sink\fP is \%\f3GL_TRUE\fP, then pixels are discarded after histogramming;
-no further processing of the pixels takes place, and no drawing,
-texture loading, or pixel readback will result.
-.PP
-When \f2target\fP is \%\f3GL_PROXY_HISTOGRAM\fP, \%\f3glHistogram\fP computes all
-state information as if the histogram table were to be redefined,
-but does not actually define the new table.
-If the requested histogram table is too large to be supported, then the
-state information will be set to zero.
-This provides a way to determine if a histogram table with the given
-parameters can be supported.
-.PP
-.SH NOTES
-\%\f3glHistogram\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than zero or is
-not a power of 2.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_TABLE_TOO_LARGE\fP is generated if \f2target\fP is \%\f3GL_HISTOGRAM\fP
-and the histogram table specified is too large for the implementation.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glHistogram\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetHistogramParameter\fP
-.SH SEE ALSO
-\%\f3glGetHistogram(3G)\fP,
-\%\f3glResetHistogram(3G)\fP
diff --git a/doc/gl-docs/GL/gl/index.3gl b/doc/gl-docs/GL/gl/index.3gl
deleted file mode 100644
index 040174d63..000000000
--- a/doc/gl-docs/GL/gl/index.3gl
+++ /dev/null
@@ -1,99 +0,0 @@
-.\" $XFree86$
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 index.gl
-.ds Xs 37923 4 index.gl
-.TH GLINDEX 3G
-.SH NAME
-.B "glIndexd, glIndexf, glIndexi, glIndexs, glIndexub, glIndexdv, glIndexfv, glIndexiv, glIndexsv, glIndexubv
-\- set the current color index
-
-.P
-.SH C SPECIFICATION
-void \f3glIndexd\fP(
-GLdouble \fIc\fP )
-.nf
-.fi
-void \f3glIndexf\fP(
-GLfloat \fIc\fP )
-.nf
-.fi
-void \f3glIndexi\fP(
-GLint \fIc\fP )
-.nf
-.fi
-void \f3glIndexs\fP(
-GLshort \fIc\fP )
-.nf
-.fi
-void \f3glIndexub\fP(
-GLubyte c); \fI1.1\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f21.1\fP\ \ 'u
-\f21.1\fP
-Specifies the new value for the current color index.
-.P
-.SH C SPECIFICATION
-void \f3glIndexdv\fP(
-const GLdouble \fI*c\fP )
-.nf
-.fi
-void \f3glIndexfv\fP(
-const GLfloat \fI*c\fP )
-.nf
-.fi
-void \f3glIndexiv\fP(
-const GLint \fI*c\fP )
-.nf
-.fi
-void \f3glIndexsv\fP(
-const GLshort \fI*c\fP )
-.nf
-.fi
-void \f3glIndexubv\fP(
-const GLubyte *c); \fI1.1\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f21.1\fP
-Specifies a pointer to a one-element array that contains
-the new value for the current color index.
-.SH DESCRIPTION
-\%\f3glIndex\fP updates the current (single-valued) color index.
-It takes one argument, the new value for the current color index.
-.P
-The current index is stored as a floating-point value.
-Integer values are converted directly to floating-point values,
-with no special mapping.
-The initial value is 1.
-.P
-Index values outside the representable range of the color index buffer
-are not clamped.
-However,
-before an index is dithered (if enabled) and written to the frame buffer,
-it is converted to fixed-point .
-Any bits in the integer portion of the resulting fixed-point value
-that do not correspond to bits in the frame buffer are masked out.
-.SH NOTES
-\%\f3glIndexub\fP and \%\f3glIndexubv\fP are available only if the GL version is
-1.1 or greater.
-.P
-The current index can be updated at any time.
-In particular,
-\%\f3glIndex\fP can be called between a call to \%\f3glBegin\fP and the corresponding
-call to \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_INDEX\fP
-.SH SEE ALSO
-\%\f3glColor(3G)\fP,
-\%\f3glIndexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/indexmask.3gl b/doc/gl-docs/GL/gl/indexmask.3gl
deleted file mode 100644
index 06ccaa18d..000000000
--- a/doc/gl-docs/GL/gl/indexmask.3gl
+++ /dev/null
@@ -1,57 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 indexmask
-.ds Xs 54319 4 indexmask.gl
-.TH GLINDEXMASK 3G
-.SH NAME
-.B "glIndexMask
-\- control the writing of individual bits in the color index buffers
-
-.SH C SPECIFICATION
-void \f3glIndexMask\fP(
-GLuint \fImask\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mask\fP\ \ 'u
-\f2mask\fP
-Specifies a bit mask to enable and disable the writing of individual bits
-in the color index buffers.
-Initially, the mask is all 1's.
-.SH DESCRIPTION
-\%\f3glIndexMask\fP controls the writing of individual bits in the color index buffers.
-The least significant $n$ bits of \f2mask\fP,
-where $n$ is the number of bits in a color index buffer,
-specify a mask.
-Where a 1 (one) appears in the mask,
-it's possible to write to the corresponding bit in the color index
-buffer (or buffers).
-Where a 0 (zero) appears,
-the corresponding bit is write-protected.
-.P
-This mask is used only in color index mode,
-and it affects only the buffers currently selected for writing
-(see \%\f3glDrawBuffer\fP).
-Initially, all bits are enabled for writing.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glIndexMask\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_INDEX_WRITEMASK\fP
-.SH SEE ALSO
-\%\f3glColorMask(3G)\fP,
-\%\f3glDepthMask(3G)\fP,
-\%\f3glDrawBuffer(3G)\fP,
-\%\f3glIndex(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glStencilMask(3G)\fP
diff --git a/doc/gl-docs/GL/gl/indexpointer.3gl b/doc/gl-docs/GL/gl/indexpointer.3gl
deleted file mode 100644
index a22f18c67..000000000
--- a/doc/gl-docs/GL/gl/indexpointer.3gl
+++ /dev/null
@@ -1,114 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 indexpoin
-.ds Xs 54341 6 indexpointer.gl
-.TH GLINDEXPOINTER 3G
-.SH NAME
-.B "glIndexPointer
-\- define an array of color indexes
-
-.SH C SPECIFICATION
-void \f3glIndexPointer\fP(
-GLenum \fItype\fP,
-.nf
-.ta \w'\f3void \fPglIndexPointer( 'u
- GLsizei \fIstride\fP,
- const GLvoid \fI*ptr\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIstride\fP\ \ 'u
-\f2type\fP
-Specifies the data type of each color index in the array.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-and \%\f3GL_DOUBLE\fP
-are accepted. The initial value is \%\f3GL_FLOAT\fP.
-.TP
-\f2stride\fP
-Specifies the byte offset between consecutive color indexes.
-If \f2stride\fP is 0 (the initial value), the color indexes are understood to
-be tightly packed in the array.
-The initial value is 0.
-.TP
-\f2ptr\fP
-Specifies a pointer to the first index in the array.
-The initial value is 0.
-.SH DESCRIPTION
-\%\f3glIndexPointer\fP specifies the location and data of an array of color indexes
-to use when rendering.
-\f2type\fP specifies the data type of
-each color index and \f2stride\fP gives the byte stride from one
-color index to the next allowing vertices and attributes
-to be packed into a single array or stored in separate arrays.
-(Single-array storage may be more efficient on some implementations;
-see \%\f3glInterleavedArrays\fP.)
-.P
-\f2type\fP, \f2stride\fP, and \f2ptr\fP are saved as client-side
-state.
-.P
-The color index array is initially disabled. To enable and disable
-the array, call \%\f3glEnableClientState\fP and
-\%\f3glDisableClientState\fP with the argument \%\f3GL_INDEX_ARRAY\fP. If
-enabled, the color index array is used when \%\f3glDrawArrays\fP,
-\%\f3glDrawElements\fP or \%\f3glArrayElement\fP is called.
-.P
-Use \%\f3glDrawArrays\fP to construct a sequence of primitives (all of
-the same type) from prespecified vertex and vertex attribute arrays.
-Use \%\f3glArrayElement\fP to specify primitives
-by indexing vertices and vertex attributes and \%\f3glDrawElements\fP to
-construct a sequence of primitives by indexing vertices and vertex attributes.
-.SH NOTES
-\%\f3glIndexPointer\fP is available only if the GL version is 1.1 or greater.
-.P
-The color index array is initially disabled, and it isn't accessed when
-\%\f3glArrayElement\fP, \%\f3glDrawElements\fP, or \%\f3glDrawArrays\fP is called.
-.P
-Execution of \%\f3glIndexPointer\fP is not allowed between
-\%\f3glBegin\fP and the corresponding \%\f3glEnd\fP,
-but an error may or may not be generated. If an error is not generated,
-the operation is undefined.
-.P
-\%\f3glIndexPointer\fP is typically implemented on the client side.
-.P
-Since the color index array parameters are client-side state, they are
-not saved or restored by \%\f3glPushAttrib\fP and \%\f3glPopAttrib\fP.
-Use \%\f3glPushClientAttrib\fP and
-\%\f3glPopClientAttrib\fP instead.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2stride\fP is negative.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_INDEX_ARRAY\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_INDEX_ARRAY_TYPE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_INDEX_ARRAY_STRIDE\fP
-.br
-\%\f3glGetPointerv\fP with argument \%\f3GL_INDEX_ARRAY_POINTER\fP
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glPopClientAttrib(3G)\fP,
-\%\f3glPushClientAttrib(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/initnames.3gl b/doc/gl-docs/GL/gl/initnames.3gl
deleted file mode 100644
index bfcacfe05..000000000
--- a/doc/gl-docs/GL/gl/initnames.3gl
+++ /dev/null
@@ -1,38 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 initnames
-.ds Xs 2647 3 initnames.gl
-.TH GLINITNAMES 3G
-.SH NAME
-.B "glInitNames
-\- initialize the name stack
-
-.SH C SPECIFICATION
-void \f3glInitNames\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-The name stack is used during selection mode to allow sets of rendering
-commands to be uniquely identified.
-It consists of an ordered set of unsigned integers.
-\%\f3glInitNames\fP causes the name stack to be initialized to its default empty state.
-.P
-The name stack is always empty while the render mode is not \%\f3GL_SELECT\fP.
-Calls to \%\f3glInitNames\fP while the render mode is not \%\f3GL_SELECT\fP are ignored.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glInitNames\fP
-is executed between the execution of \%\f3glBegin\fP and the corresponding execution of
-\%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_NAME_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_NAME_STACK_DEPTH\fP
-.SH SEE ALSO
-\%\f3glLoadName(3G)\fP,
-\%\f3glPushName(3G)\fP,
-\%\f3glRenderMode(3G)\fP,
-\%\f3glSelectBuffer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/interleavedarrays.3gl b/doc/gl-docs/GL/gl/interleavedarrays.3gl
deleted file mode 100644
index fb30d7640..000000000
--- a/doc/gl-docs/GL/gl/interleavedarrays.3gl
+++ /dev/null
@@ -1,110 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 interleav
-.ds Xs 31502 6 interleavedarrays.gl
-.TH GLINTERLEAVEDARRAYS 3G
-.SH NAME
-.B "glInterleavedArrays
-\- simultaneously specify and enable several interleaved arrays
-
-.SH C SPECIFICATION
-void \f3glInterleavedArrays\fP(
-GLenum \fIformat\fP,
-.nf
-.ta \w'\f3void \fPglInterleavedArrays( 'u
- GLsizei \fIstride\fP,
- const GLvoid \fI*pointer\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIpointer\fP\ \ 'u
-\f2format\fP
-Specifies the type of array to enable. Symbolic constants
-\%\f3GL_V2F\fP,
-\%\f3GL_V3F\fP,
-\%\f3GL_C4UB_V2F\fP,
-\%\f3GL_C4UB_V3F\fP,
-\%\f3GL_C3F_V3F\fP,
-\%\f3GL_N3F_V3F\fP,
-\%\f3GL_C4F_N3F_V3F\fP,
-\%\f3GL_T2F_V3F\fP,
-\%\f3GL_T4F_V4F\fP,
-\%\f3GL_T2F_C4UB_V3F\fP,
-\%\f3GL_T2F_C3F_V3F\fP,
-\%\f3GL_T2F_N3F_V3F\fP,
-\%\f3GL_T2F_C4F_N3F_V3F\fP,
-and
-\%\f3GL_T4F_C4F_N3F_V4F\fP
-are accepted.
-.TP
-\f2stride\fP
-Specifies the offset in bytes between each aggregate array element.
-.SH DESCRIPTION
-\%\f3glInterleavedArrays\fP lets you specify and enable individual color,
-normal,
-texture and vertex
-arrays whose elements are part of a larger aggregate array element.
-For some implementations, this is more efficient than specifying the arrays
-separately.
-.P
-If \f2stride\fP is 0, the aggregate elements are stored consecutively.
-Otherwise, \f2stride\fP bytes occur between the beginning of one
-aggregate array element and the beginning of the next aggregate array
-element.
-.P
-\f2format\fP serves as a ``key''
-describing the extraction of individual arrays from the aggregate array.
-If \f2format\fP contains a T, then texture coordinates are
-extracted from the interleaved array. If C is present, color values
-are extracted. If N is present, normal coordinates are extracted.
-Vertex coordinates are always extracted.
-.P
-The digits 2, 3, and 4 denote how many values are extracted.
-F indicates that values are extracted as floating-point values.
-Colors may also be extracted as 4 unsigned bytes if 4UB follows the
-C. If a color is extracted as 4 unsigned bytes, the vertex
-array element which follows is located at the first possible
-floating-point aligned address.
-.SH NOTES
-\%\f3glInterleavedArrays\fP is available only if the GL version is 1.1 or greater.
-.P
-If \%\f3glInterleavedArrays\fP is called while compiling a display list, it is not
-compiled into the list, and it is executed immediately.
-.P
-Execution of \%\f3glInterleavedArrays\fP is not allowed between the execution of
-\%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP,
-but an error may or may not be generated. If no error is generated,
-the operation is undefined.
-.P
-\%\f3glInterleavedArrays\fP is typically implemented on the client side.
-.P
-Vertex array parameters are client-side state and are therefore not
-saved or restored by \%\f3glPushAttrib\fP and \%\f3glPopAttrib\fP.
-Use \%\f3glPushClientAttrib\fP and \%\f3glPopClientAttrib\fP instead.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glInterleavedArrays\fP
-only updates the texture coordinate array for the active active texture
-unit. The texture coordinate state for other client texture units is not
-update, regardless if they are enabled or not.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2stride\fP is negative.
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glClientActiveTextureARB(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glEnableClientState(3G)\fP,
-\%\f3glGetPointer(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/isenabled.3gl b/doc/gl-docs/GL/gl/isenabled.3gl
deleted file mode 100644
index 4f73bc574..000000000
--- a/doc/gl-docs/GL/gl/isenabled.3gl
+++ /dev/null
@@ -1,160 +0,0 @@
-'\" et
-'\"! eqn|tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 isenabled
-.ds Xs 14538 7 isenabled.gl
-.TH GLISENABLED 3G
-.SH NAME
-.B "glIsEnabled
-\- test whether a capability is enabled
-
-.SH C SPECIFICATION
-GLboolean \f3glIsEnabled\fP(
-GLenum \fIcap\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2cap\fP\ \ 'u
-\f2cap\fP
-Specifies a symbolic constant indicating a GL capability.
-.SH DESCRIPTION
-\%\f3glIsEnabled\fP returns \%\f3GL_TRUE\fP if \f2cap\fP is an enabled capability
-and returns \%\f3GL_FALSE\fP otherwise.
-Initially all capabilities except \%\f3GL_DITHER\fP are disabled;
-\%\f3GL_DITHER\fP is initially enabled.
-.P
-The following capabilities are accepted for \f2cap\fP:
-.P
-
-.TS
-lb lb
-l l.
-_
-Constant See
-_
-\%\f3GL_ALPHA_TEST\fP \%\f3glAlphaFunc\fP
-\%\f3GL_AUTO_NORMAL\fP \%\f3glEvalCoord\fP
-\%\f3GL_BLEND\fP \%\f3glBlendFunc\fP, \%\f3glLogicOp\fP
-\%\f3GL_CLIP_PLANE\fP\f2i\fP \%\f3glClipPlane\fP
-\%\f3GL_COLOR_ARRAY\fP \%\f3glColorPointer\fP
-\%\f3GL_COLOR_LOGIC_OP\fP \%\f3glLogicOp\fP
-\%\f3GL_COLOR_MATERIAL\fP \%\f3glColorMaterial\fP
-\%\f3GL_COLOR_TABLE\fP \%\f3glColorTable\fP
-\%\f3GL_CONVOLUTION_1D\fP \%\f3glConvolutionFilter1D\fP
-\%\f3GL_CONVOLUTION_2D\fP \%\f3glConvolutionFilter2D\fP
-\%\f3GL_CULL_FACE\fP \%\f3glCullFace\fP
-\%\f3GL_DEPTH_TEST\fP \%\f3glDepthFunc\fP, \%\f3glDepthRange\fP
-\%\f3GL_DITHER\fP \%\f3glEnable\fP
-\%\f3GL_EDGE_FLAG_ARRAY\fP \%\f3glEdgeFlagPointer\fP
-\%\f3GL_FOG\fP \%\f3glFog\fP
-\%\f3GL_HISTOGRAM\fP \%\f3glHistogram\fP
-\%\f3GL_INDEX_ARRAY\fP \%\f3glIndexPointer\fP
-\%\f3GL_INDEX_LOGIC_OP\fP \%\f3glLogicOp\fP
-\%\f3GL_LIGHT\fP\f2i\fP \%\f3glLightModel\fP, \%\f3glLight\fP
-\%\f3GL_LIGHTING\fP \%\f3glMaterial\fP, \%\f3glLightModel\fP, \%\f3glLight\fP
-\%\f3GL_LINE_SMOOTH\fP \%\f3glLineWidth\fP
-\%\f3GL_LINE_STIPPLE\fP \%\f3glLineStipple\fP
-\%\f3GL_MAP1_COLOR_4\fP \%\f3glMap1\fP
-\%\f3GL_MAP1_INDEX\fP \%\f3glMap1\fP
-\%\f3GL_MAP1_NORMAL\fP \%\f3glMap1\fP
-\%\f3GL_MAP1_TEXTURE_COORD_1\fP \%\f3glMap1\fP
-\%\f3GL_MAP1_TEXTURE_COORD_2\fP \%\f3glMap1\fP
-\%\f3GL_MAP1_TEXTURE_COORD_3\fP \%\f3glMap1\fP
-\%\f3GL_MAP1_TEXTURE_COORD_4\fP \%\f3glMap1\fP
-\%\f3GL_MAP2_COLOR_4\fP \%\f3glMap2\fP
-\%\f3GL_MAP2_INDEX\fP \%\f3glMap2\fP
-\%\f3GL_MAP2_NORMAL\fP \%\f3glMap2\fP
-\%\f3GL_MAP2_TEXTURE_COORD_1\fP \%\f3glMap2\fP
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP \%\f3glMap2\fP
-\%\f3GL_MAP2_TEXTURE_COORD_3\fP \%\f3glMap2\fP
-\%\f3GL_MAP2_TEXTURE_COORD_4\fP \%\f3glMap2\fP
-\%\f3GL_MAP2_VERTEX_3\fP \%\f3glMap2\fP
-\%\f3GL_MAP2_VERTEX_4\fP \%\f3glMap2\fP
-\%\f3GL_MINMAX\fP \%\f3glMinmax\fP
-\%\f3GL_NORMAL_ARRAY\fP \%\f3glNormalPointer\fP
-\%\f3GL_NORMALIZE\fP \%\f3glNormal\fP
-\%\f3GL_POINT_SMOOTH\fP \%\f3glPointSize\fP
-\%\f3GL_POLYGON_SMOOTH\fP \%\f3glPolygonMode\fP
-\%\f3GL_POLYGON_OFFSET_FILL\fP \%\f3glPolygonOffset\fP
-\%\f3GL_POLYGON_OFFSET_LINE\fP \%\f3glPolygonOffset\fP
-\%\f3GL_POLYGON_OFFSET_POINT\fP \%\f3glPolygonOffset\fP
-\%\f3GL_POLYGON_STIPPLE\fP \%\f3glPolygonStipple\fP
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP \%\f3glColorTable\fP
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP \%\f3glColorTable\fP
-\%\f3GL_RESCALE_NORMAL\fP \%\f3glNormal\fP
-\%\f3GL_SCISSOR_TEST\fP \%\f3glScissor\fP
-\%\f3GL_SEPARABLE_2D\fP \%\f3glSeparableFilter2D\fP
-\%\f3GL_STENCIL_TEST\fP \%\f3glStencilFunc\fP, \%\f3glStencilOp\fP
-\%\f3GL_TEXTURE_1D\fP \%\f3glTexImage1D\fP
-\%\f3GL_TEXTURE_2D\fP \%\f3glTexImage2D\fP
-\%\f3GL_TEXTURE_3D\fP \%\f3glTexImage3D\fP
-\%\f3GL_TEXTURE_COORD_ARRAY\fP \%\f3glTexCoordPointer\fP
-\%\f3GL_TEXTURE_GEN_Q\fP \%\f3glTexGen\fP
-\%\f3GL_TEXTURE_GEN_R\fP \%\f3glTexGen\fP
-\%\f3GL_TEXTURE_GEN_S\fP \%\f3glTexGen\fP
-\%\f3GL_TEXTURE_GEN_T\fP \%\f3glTexGen\fP
-\%\f3GL_VERTEX_ARRAY\fP \%\f3glVertexPointer\fP
-_
-.TE
-
-.SH NOTES
-If an error is generated,
-\%\f3glIsEnabled\fP returns 0.
-.P
-\%\f3GL_COLOR_LOGIC_OP\fP,
-\%\f3GL_COLOR_ARRAY\fP,
-\%\f3GL_EDGE_FLAG_ARRAY\fP,
-\%\f3GL_INDEX_ARRAY\fP,
-\%\f3GL_INDEX_LOGIC_OP\fP,
-\%\f3GL_NORMAL_ARRAY\fP,
-\%\f3GL_POLYGON_OFFSET_FILL\fP,
-\%\f3GL_POLYGON_OFFSET_LINE\fP,
-\%\f3GL_POLYGON_OFFSET_POINT\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY\fP, and
-\%\f3GL_VERTEX_ARRAY\fP
-are available only
-if the GL version is 1.1 or greater
-.P
-\%\f3GL_RESCALE_NORMAL\fP, and \%\f3GL_TEXTURE_3D\fP are available only if the GL
-version is 1.2 or greater.
-.P
-\%\f3GL_COLOR_TABLE\fP, \%\f3GL_CONVOLUTION_1D\fP, \%\f3GL_CONVOLUTION_2D\fP,
-\%\f3GL_HISTOGRAM\fP, \%\f3GL_MINMAX\fP,
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP,
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, and
-\%\f3GL_SEPARABLE_2D\fP are available only if \%\f3GL_ARB_imaging\fP is
-returned when \%\f3glGet\fP is called with \%\f3GL_EXTENSIONS\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, the following
-parameters return the associated value for the active texture unit.
-\%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_BINDING_1D\fP,
-\%\f3GL_TEXTURE_2D\fP, \%\f3GL_TEXTURE_BINDING_2D\fP,
-\%\f3GL_TEXTURE_3D\fP, \%\f3GL_TEXTURE_BINDING_3D\fP,
-\%\f3GL_TEXTURE_GEN_S\fP,
-\%\f3GL_TEXTURE_GEN_T\fP,
-\%\f3GL_TEXTURE_GEN_R\fP,
-\%\f3GL_TEXTURE_GEN_Q\fP,
-\%\f3GL_TEXTURE_MATRIX\fP, and
-\%\f3GL_TEXTURE_STACK_DEPTH\fP.
-Likewise, the following parameters return the associated value for the
-active client texture unit:
-\%\f3GL_TEXTURE_COORD_ARRAY\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_SIZE\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_STRIDE\fP,
-\%\f3GL_TEXTURE_COORD_ARRAY_TYPE\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2cap\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glIsEnabled\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glEnable(3G)\fP,
-\%\f3glEnableClientState(3G)\fP,
-\%\f3glGet(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/islist.3gl b/doc/gl-docs/GL/gl/islist.3gl
deleted file mode 100644
index 78a1471e3..000000000
--- a/doc/gl-docs/GL/gl/islist.3gl
+++ /dev/null
@@ -1,38 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 islist.gl
-.ds Xs 8931 3 islist.gl
-.TH GLISLIST 3G
-.SH NAME
-.B "glIsList
-\- determine if a name corresponds to a display-list
-
-.SH C SPECIFICATION
-GLboolean \f3glIsList\fP(
-GLuint \fIlist\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2list\fP\ \ 'u
-\f2list\fP
-Specifies a potential display-list name.
-.SH DESCRIPTION
-\%\f3glIsList\fP returns \%\f3GL_TRUE\fP if \f2list\fP is the name
-of a display list and returns \%\f3GL_FALSE\fP otherwise.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glIsList\fP
-is executed between the execution of
-\%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glCallList(3G)\fP,
-\%\f3glCallLists(3G)\fP,
-\%\f3glDeleteLists(3G)\fP,
-\%\f3glGenLists(3G)\fP,
-\%\f3glNewList(3G)\fP
diff --git a/doc/gl-docs/GL/gl/istexture.3gl b/doc/gl-docs/GL/gl/istexture.3gl
deleted file mode 100644
index db4c45552..000000000
--- a/doc/gl-docs/GL/gl/istexture.3gl
+++ /dev/null
@@ -1,46 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 istexture
-.ds Xs 34777 3 istexture.gl
-.TH GLISTEXTURE 3G
-.SH NAME
-.B "glIsTexture
-\- determine if a name corresponds to a texture
-
-.SH C SPECIFICATION
-GLboolean \f3glIsTexture\fP(
-GLuint \fItexture\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2texture\fP\ \ 'u
-\f2texture\fP
-Specifies a value that may be the name of a texture.
-.SH DESCRIPTION
-\%\f3glIsTexture\fP returns \%\f3GL_TRUE\fP if \f2texture\fP is currently the name of a texture.
-If \f2texture\fP is zero, or is a non-zero value that is not currently the
-name of a texture, or if an error occurs, \%\f3glIsTexture\fP returns \%\f3GL_FALSE\fP.
-.SH NOTES
-\%\f3glIsTexture\fP is available only if the GL version is 1.1 or greater.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glIsTexture\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glBindTexture(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glDeleteTextures(3G)\fP,
-\%\f3glGenTextures(3G)\fP,
-\%\f3glGet(3G)\fP,
-\%\f3glGetTexParameter(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/light.3gl b/doc/gl-docs/GL/gl/light.3gl
deleted file mode 100644
index 9d68261c1..000000000
--- a/doc/gl-docs/GL/gl/light.3gl
+++ /dev/null
@@ -1,253 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 light.gl
-.ds Xs 33725 10 light.gl
-.TH GLLIGHT 3G
-.SH NAME
-.B "glLightf, glLighti, glLightfv, glLightiv
-\- set light source parameters
-
-.SH C SPECIFICATION
-void \f3glLightf\fP(
-GLenum \fIlight\fP,
-.nf
-.ta \w'\f3void \fPglLightf( 'u
- GLenum \fIpname\fP,
- GLfloat \fIparam\fP )
-.fi
-void \f3glLighti\fP(
-GLenum \fIlight\fP,
-.nf
-.ta \w'\f3void \fPglLighti( 'u
- GLenum \fIpname\fP,
- GLint \fIparam\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2light\fP
-Specifies a light.
-The number of lights depends on the implementation,
-but at least eight lights are supported.
-They are identified by symbolic names of the form \%\f3GL_LIGHT\fP$i$
-where 0 \(<= $ i $ < \%\f3GL_MAX_LIGHTS\fP.
-.TP
-\f2pname\fP
-Specifies a single-valued light source parameter for \f2light\fP.
-\%\f3GL_SPOT_EXPONENT\fP,
-\%\f3GL_SPOT_CUTOFF\fP,
-\%\f3GL_CONSTANT_ATTENUATION\fP,
-\%\f3GL_LINEAR_ATTENUATION\fP, and
-\%\f3GL_QUADRATIC_ATTENUATION\fP are accepted.
-.TP
-\f2param\fP
-Specifies the value that parameter \f2pname\fP of light source \f2light\fP
-will be set to.
-.SH C SPECIFICATION
-void \f3glLightfv\fP(
-GLenum \fIlight\fP,
-.nf
-.ta \w'\f3void \fPglLightfv( 'u
- GLenum \fIpname\fP,
- const GLfloat \fI*params\fP )
-.fi
-void \f3glLightiv\fP(
-GLenum \fIlight\fP,
-.nf
-.ta \w'\f3void \fPglLightiv( 'u
- GLenum \fIpname\fP,
- const GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2light\fP
-Specifies a light.
-The number of lights depends on the implementation, but
-at least eight lights are supported.
-They are identified by symbolic names of the form \%\f3GL_LIGHT\fP$i$
-where 0 \(<= $ i $ < \%\f3GL_MAX_LIGHTS\fP.
-.TP
-\f2pname\fP
-Specifies a light source parameter for \f2light\fP.
-\%\f3GL_AMBIENT\fP,
-\%\f3GL_DIFFUSE\fP,
-\%\f3GL_SPECULAR\fP,
-\%\f3GL_POSITION\fP,
-\%\f3GL_SPOT_CUTOFF\fP,
-\%\f3GL_SPOT_DIRECTION\fP,
-\%\f3GL_SPOT_EXPONENT\fP,
-\%\f3GL_CONSTANT_ATTENUATION\fP,
-\%\f3GL_LINEAR_ATTENUATION\fP, and
-\%\f3GL_QUADRATIC_ATTENUATION\fP are accepted.
-.TP
-\f2params\fP
-Specifies a pointer to the value or values that parameter \f2pname\fP
-of light source \f2light\fP will be set to.
-.SH DESCRIPTION
-\%\f3glLight\fP sets the values of individual light source parameters.
-\f2light\fP names the light and is a symbolic name of the form \%\f3GL_LIGHT\fP$i$,
-where 0 \(<= i < \%\f3GL_MAX_LIGHTS\fP.
-\f2pname\fP specifies one of ten light source parameters,
-again by symbolic name.
-\f2params\fP is either a single value or a pointer to an array that contains
-the new values.
-.P
-To enable and disable lighting calculation, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument \%\f3GL_LIGHTING\fP. Lighting is
-initially disabled.
-When it is enabled,
-light sources that are enabled contribute to the lighting calculation.
-Light source $i$ is enabled and disabled using \%\f3glEnable\fP and
-\%\f3glDisable\fP with argument \%\f3GL_LIGHT\fP$i$.
-.P
-The ten light parameters are as follows:
-.TP 20
-\%\f3GL_AMBIENT\fP
-\f2params\fP contains four integer or floating-point values that specify
-the ambient RGBA intensity of the light.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-The initial ambient light intensity is (0, 0, 0, 1).
-.TP
-\%\f3GL_DIFFUSE\fP
-\f2params\fP contains four integer or floating-point values that specify
-the diffuse RGBA intensity of the light.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-The initial value
-for \%\f3GL_LIGHT0\fP is (1, 1, 1, 1); for other lights, the
-initial value is (0, 0, 0, 0).
-.TP
-\%\f3GL_SPECULAR\fP
-\f2params\fP contains four integer or floating-point values that specify
-the specular RGBA intensity of the light.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-The initial value
-for \%\f3GL_LIGHT0\fP is (1, 1, 1, 1); for other lights, the
-initial value is (0, 0, 0, 0).
-.TP
-\%\f3GL_POSITION\fP
-\f2params\fP contains four integer or floating-point values that specify
-the position of the light in homogeneous object coordinates.
-Both integer and floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-.IP
-The position is transformed by the modelview matrix when
-\%\f3glLight\fP is called (just as if it were a point),
-and it is stored in eye coordinates.
-If the $w$ component of the position is 0,
-the light is treated as a directional source.
-Diffuse and specular lighting calculations take the light's direction,
-but not its actual position,
-into account,
-and attenuation is disabled.
-Otherwise,
-diffuse and specular lighting calculations are based on the actual location
-of the light in eye coordinates,
-and attenuation is enabled.
-The initial position is (0, 0, 1, 0);
-thus, the initial light source is directional,
-parallel to, and in the direction of the $-z$ axis.
-.TP
-\%\f3GL_SPOT_DIRECTION\fP
-\f2params\fP contains three integer or floating-point values that specify
-the direction of the light in homogeneous object coordinates.
-Both integer and floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-.IP
-The spot direction is transformed by the inverse of the modelview matrix when
-\%\f3glLight\fP is called (just as if it were a normal),
-and it is stored in eye coordinates.
-It is significant only when \%\f3GL_SPOT_CUTOFF\fP is not 180,
-which it is initially.
-The initial direction is (0, 0, \-1).
-.TP
-\%\f3GL_SPOT_EXPONENT\fP
-\f2params\fP is a single integer or floating-point value that specifies
-the intensity distribution of the light.
-Integer and floating-point values are mapped directly.
-Only values in the range [0,128] are accepted.
-.IP
-Effective light intensity is attenuated by the cosine of the angle between
-the direction of the light and the direction from the light to the vertex
-being lighted,
-raised to the power of the spot exponent.
-Thus, higher spot exponents result in a more focused light source,
-regardless of the spot cutoff angle (see \%\f3GL_SPOT_CUTOFF\fP, next paragraph).
-The initial spot exponent is 0,
-resulting in uniform light distribution.
-.TP
-\%\f3GL_SPOT_CUTOFF\fP
-\f2params\fP is a single integer or floating-point value that specifies
-the maximum spread angle of a light source.
-Integer and floating-point values are mapped directly.
-Only values in the range [0,90] and the special value 180
-are accepted.
-If the angle between the direction of the light and the direction from the
-light to the vertex being lighted is greater than the spot cutoff angle,
-the light is completely masked.
-.BP
-Otherwise, its intensity is controlled by the spot exponent and the
-attenuation factors.
-The initial spot cutoff is 180,
-resulting in uniform light distribution.
-.TP
-\%\f3GL_CONSTANT_ATTENUATION\fP
-.TP
-\%\f3GL_LINEAR_ATTENUATION \fP
-.TP
-\%\f3GL_QUADRATIC_ATTENUATION\fP
-\f2params\fP is a single integer or floating-point value that specifies
-one of the three light attenuation factors.
-Integer and floating-point values are mapped directly.
-Only nonnegative values are accepted.
-If the light is positional,
-rather than directional,
-its intensity is attenuated by the reciprocal of the sum of the constant
-factor, the linear factor times the distance between the light
-and the vertex being lighted,
-and the quadratic factor times the square of the same distance.
-The initial attenuation factors are (1, 0, 0),
-resulting in no attenuation.
-.SH NOTES
-It is always the case that \%\f3GL_LIGHT\fP$i$ = \%\f3GL_LIGHT0\fP + $i$.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if either \f2light\fP or \f2pname\fP
-is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if a spot exponent value is specified
-outside the range [0,128],
-or if spot cutoff is specified outside the range [0,90] (except for the
-special value 180),
-or if a negative attenuation factor is specified.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLight\fP is executed between
-the execution of
-\%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetLight\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_LIGHTING\fP
-.SH SEE ALSO
-\%\f3glColorMaterial(3G)\fP,
-\%\f3glLightModel(3G)\fP,
-\%\f3glMaterial(3G)\fP
diff --git a/doc/gl-docs/GL/gl/lightmodel.3gl b/doc/gl-docs/GL/gl/lightmodel.3gl
deleted file mode 100644
index 538075d94..000000000
--- a/doc/gl-docs/GL/gl/lightmodel.3gl
+++ /dev/null
@@ -1,179 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 lightmode
-.ds Xs 22290 8 lightmodel.gl
-.TH GLLIGHTMODEL 3G
-.SH NAME
-.B "glLightModelf, glLightModeli, glLightModelfv, glLightModeliv
-\- set the lighting model parameters
-
-.SH C SPECIFICATION
-void \f3glLightModelf\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglLightModelf( 'u
- GLfloat \fIparam\fP )
-.fi
-void \f3glLightModeli\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglLightModeli( 'u
- GLint \fIparam\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2pname\fP
-Specifies a single-valued lighting model parameter.
-\%\f3GL_LIGHT_MODEL_LOCAL_VIEWER\fP,
-\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP, and
-\%\f3GL_LIGHT_MODEL_TWO_SIDE\fP are accepted.
-.TP
-\f2param\fP
-Specifies the value that \f2param\fP will be set to.
-.SH C SPECIFICATION
-void \f3glLightModelfv\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglLightModelfv( 'u
- const GLfloat \fI*params\fP )
-.fi
-void \f3glLightModeliv\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglLightModeliv( 'u
- const GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2pname\fP
-Specifies a lighting model parameter.
-\%\f3GL_LIGHT_MODEL_AMBIENT\fP,
-\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP,
-\%\f3GL_LIGHT_MODEL_LOCAL_VIEWER\fP, and
-\%\f3GL_LIGHT_MODEL_TWO_SIDE\fP are accepted.
-.TP
-\f2params\fP
-Specifies a pointer to the value or values that \f2params\fP will be set to.
-.SH DESCRIPTION
-\%\f3glLightModel\fP sets the lighting model parameter.
-\f2pname\fP names a parameter and \f2params\fP gives the new value.
-There are three lighting model parameters:
-.TP 10
-\%\f3GL_LIGHT_MODEL_AMBIENT\fP
-\f2params\fP contains four integer or floating-point values that specify
-the ambient RGBA intensity of the entire scene.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-The initial ambient scene intensity is (0.2, 0.2, 0.2, 1.0).
-.TP
-\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP
-\f2params\fP must be either \%\f3GL_SEPARATE_SPECULAR_COLOR\fP or
-\%\f3GL_SINGLE_COLOR\fP.
-\%\f3GL_SINGLE_COLOR\fP specifies that a single color is generated from the
-lighting computation for a vertex. \%\f3GL_SEPARATE_SPECULAR_COLOR\fP
-specifies that the specular color computation of lighting be stored
-separately from the remainder of the lighting computation. The specular
-color is summed into the generated fragment's color after the application
-of texture mapping (if enabled). The initial value is \%\f3GL_SINGLE_COLOR\fP.
-.TP
-\%\f3GL_LIGHT_MODEL_LOCAL_VIEWER\fP
-\f2params\fP is a single integer or floating-point value that specifies
-how specular reflection angles are computed.
-If \f2params\fP is 0 (or 0.0), specular reflection angles take the
-view direction to be parallel to and in the direction of the -\f2z\fP axis,
-regardless of the location of the vertex in eye coordinates.
-Otherwise, specular reflections are computed from the origin
-of the eye coordinate system.
-The initial value is 0.
-.TP
-\%\f3GL_LIGHT_MODEL_TWO_SIDE\fP
-\f2params\fP is a single integer or floating-point value that specifies
-whether one- or two-sided lighting calculations are done for polygons.
-It has no effect on the lighting calculations for points,
-lines,
-or bitmaps.
-If \f2params\fP is 0 (or 0.0), one-sided lighting is specified,
-and only the \f2front\fP material parameters are used in the
-lighting equation.
-Otherwise, two-sided lighting is specified.
-In this case, vertices of back-facing polygons are lighted using the
-\f2back\fP material parameters,
-and have their normals reversed before the lighting equation is evaluated.
-Vertices of front-facing polygons are always lighted using the
-\f2front\fP material parameters,
-with no change to their normals. The initial value is 0.
-.P
-In RGBA mode, the lighted color of a vertex is the sum of
-the material emission intensity,
-the product of the material ambient reflectance and the lighting model full-scene
-ambient intensity,
-and the contribution of each enabled light source.
-Each light source contributes the sum of three terms:
-ambient, diffuse, and specular.
-The ambient light source contribution is the product of the material ambient
-reflectance and the light's ambient intensity.
-The diffuse light source contribution is the product of the material diffuse
-reflectance,
-the light's diffuse intensity,
-and the dot product of the vertex's normal with the normalized vector from
-the vertex to the light source.
-The specular light source contribution is the product of the material specular
-reflectance,
-the light's specular intensity,
-and the dot product of the normalized vertex-to-eye and vertex-to-light
-vectors,
-raised to the power of the shininess of the material.
-All three light source contributions are attenuated equally based on
-the distance from the vertex to the light source and on light source
-direction, spread exponent, and spread cutoff angle.
-All dot products are replaced with 0 if they evaluate to a negative value.
-.P
-The alpha component of the resulting lighted color is set to the alpha value
-of the material diffuse reflectance.
-.P
-In color index mode,
-the value of the lighted index of a vertex ranges from the ambient
-to the specular values passed to \%\f3glMaterial\fP using \%\f3GL_COLOR_INDEXES\fP.
-Diffuse and specular coefficients,
-computed with a (.30, .59, .11) weighting of the lights' colors,
-the shininess of the material,
-and the same reflection and attenuation equations as in the RGBA case,
-determine how much above ambient the resulting index is.
-.SH NOTES
-\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP is available only if the GL version is
-1.2 or greater.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is
-\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP and \f2params\fP is not one of
-\%\f3GL_SINGLE_COLOR\fP or \%\f3GL_SEPARATE_SPECULAR_COLOR\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLightModel\fP is executed between
-the execution of \%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_LIGHT_MODEL_AMBIENT\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_LIGHT_MODEL_LOCAL_VIEWER\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_LIGHT_MODEL_TWO_SIDE\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_LIGHTING\fP
-.SH SEE ALSO
-\%\f3glLight(3G)\fP,
-\%\f3glMaterial(3G)\fP
diff --git a/doc/gl-docs/GL/gl/linestipple.3gl b/doc/gl-docs/GL/gl/linestipple.3gl
deleted file mode 100644
index f7e306f5e..000000000
--- a/doc/gl-docs/GL/gl/linestipple.3gl
+++ /dev/null
@@ -1,87 +0,0 @@
-.\" $XFree86$
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 linestipp
-.ds Xs 10486 5 linestipple.gl
-.TH GLLINESTIPPLE 3G
-.SH NAME
-.B "glLineStipple
-\- specify the line stipple pattern
-
-.SH C SPECIFICATION
-void \f3glLineStipple\fP(
-GLint \fIfactor\fP,
-.nf
-.ta \w'\f3void \fPglLineStipple( 'u
- GLushort \fIpattern\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIpattern\fP\ \ 'u
-\f2factor\fP
-Specifies a multiplier for each bit in the line stipple pattern.
-If \f2factor\fP is 3,
-for example,
-each bit in the pattern is used three times
-before the next bit in the pattern is used.
-\f2factor\fP is clamped to the range [1, 256] and defaults to 1.
-.TP
-\f2pattern\fP
-Specifies a 16-bit integer whose bit pattern determines
-which fragments of a line will be drawn when the line is rasterized.
-Bit zero is used first; the default pattern is all 1's.
-.SH DESCRIPTION
-Line stippling masks out certain fragments produced by rasterization;
-those fragments will not be drawn.
-The masking is achieved by using three parameters:
-the 16-bit line stipple pattern \f2pattern\fP,
-the repeat count \f2factor\fP,
-and an integer stipple counter $s$.
-.P
-Counter $s$ is reset to 0 whenever \%\f3glBegin\fP is called,
-and before each line segment of a \%\f3glBegin\fP(\%\f3GL_LINES\fP)/\%\f3glEnd\fP
-sequence is generated.
-It is incremented after each fragment of a unit width aliased line segment is generated,
-or after each $i$ fragments of an $i$ width line segment are generated.
-The $i$ fragments associated with count $s$ are masked out if
-.sp
-.ce
-\f2pattern\fP bit $(s ~/~ "factor") ~roman mod~ 16$
-.sp
-is 0, otherwise these fragments are sent to the frame buffer.
-Bit zero of \f2pattern\fP is the least significant bit.
-.P
-Antialiased lines are treated as a sequence of $1 times width$ rectangles
-for purposes of stippling.
-Whether rectangle $s$ is rasterized or not depends on the fragment rule
-described for aliased lines,
-counting rectangles rather than groups of fragments.
-.P
-To enable and disable line stippling, call \%\f3glEnable\fP and \%\f3glDisable\fP
-with argument \%\f3GL_LINE_STIPPLE\fP.
-When enabled,
-the line stipple pattern is applied as described above.
-When disabled,
-it is as if the pattern were all 1's.
-Initially, line stippling is disabled.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLineStipple\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_LINE_STIPPLE_PATTERN\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_LINE_STIPPLE_REPEAT\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_LINE_STIPPLE\fP
-.SH SEE ALSO
-\%\f3glLineWidth(3G)\fP,
-\%\f3glPolygonStipple(3G)\fP
diff --git a/doc/gl-docs/GL/gl/linewidth.3gl b/doc/gl-docs/GL/gl/linewidth.3gl
deleted file mode 100644
index 1006d3178..000000000
--- a/doc/gl-docs/GL/gl/linewidth.3gl
+++ /dev/null
@@ -1,96 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 linewidth
-.ds Xs 48623 5 linewidth.gl
-.TH GLLINEWIDTH 3G
-.SH NAME
-.B "glLineWidth
-\- specify the width of rasterized lines
-
-.SH C SPECIFICATION
-void \f3glLineWidth\fP(
-GLfloat \fIwidth\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2width\fP\ \ 'u
-\f2width\fP
-Specifies the width of rasterized lines.
-The initial value is 1.
-.SH DESCRIPTION
-\%\f3glLineWidth\fP specifies the rasterized width of both aliased and antialiased
-lines.
-Using a line width other than 1 has different effects,
-depending on whether line antialiasing is enabled.
-To enable and disable line antialiasing, call
-\%\f3glEnable\fP and \%\f3glDisable\fP
-with argument \%\f3GL_LINE_SMOOTH\fP. Line antialiasing is initially
-disabled.
-.P
-If line antialiasing is disabled,
-the actual width is determined by rounding the supplied width
-to the nearest integer.
-(If the rounding results in the value 0,
-it is as if the line width were 1.)
-If
-$| DELTA x | ~>=~ | DELTA y |$,
-\f2i\fP pixels are filled in each column that is rasterized,
-where \f2i\fP is the rounded value of \f2width\fP.
-Otherwise,
-\f2i\fP pixels are filled in each row that is rasterized.
-.P
-If antialiasing is enabled,
-line rasterization produces a fragment for each pixel square
-that intersects the region lying within the rectangle having width
-equal to the current line width,
-length equal to the actual length of the line,
-and centered on the mathematical line segment.
-The coverage value for each fragment is the window coordinate area
-of the intersection of the rectangular region with the corresponding
-pixel square.
-This value is saved and used in the final rasterization step.
-.P
-Not all widths can be supported when line antialiasing is enabled. If an
-unsupported width is requested, the nearest supported width is used.
-Only width 1 is guaranteed to be supported; others depend on the
-implementation. Likewise, there is a range for aliased line widths as well.
-To query the range of supported widths and the size
-difference between supported widths within the range, call \%\f3glGet\fP
-with arguments \%\f3GL_ALIASED_LINE_WIDTH_RANGE\fP,
-\%\f3GL_SMOOTH_LINE_WIDTH_RANGE\fP, \%\f3GL_SMOOTH_LINE_WIDTH_GRANULARITY\fP.
-.SH NOTES
-The line width specified by \%\f3glLineWidth\fP is always returned when \%\f3GL_LINE_WIDTH\fP
-is queried.
-Clamping and rounding for aliased and antialiased lines have no effect
-on the specified value.
-.P
-Nonantialiased line width may be clamped to an implementation-dependent
-maximum. Call \%\f3glGet\fP with \%\f3GL_ALIASED_LINE_WIDTH_RANGE\fP to
-determine the maximum width.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than or equal to 0.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLineWidth\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_LINE_WIDTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ALIASED_LINE_WIDTH_RANGE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_SMOOTH_LINE_WIDTH_RANGE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_SMOOTH_LINE_WIDTH_GRANULARITY\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_LINE_SMOOTH\fP
-.SH SEE ALSO
-\%\f3glEnable(3G)\fP
diff --git a/doc/gl-docs/GL/gl/listbase.3gl b/doc/gl-docs/GL/gl/listbase.3gl
deleted file mode 100644
index c29d2d3a3..000000000
--- a/doc/gl-docs/GL/gl/listbase.3gl
+++ /dev/null
@@ -1,39 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 listbase.
-.ds Xs 12110 3 listbase.gl
-.TH GLLISTBASE 3G
-.SH NAME
-.B "glListBase
-\- set the display-list base for \%\f3glCallLists\fP
-
-.SH C SPECIFICATION
-void \f3glListBase\fP(
-GLuint \fIbase\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2base\fP\ \ 'u
-\f2base\fP
-Specifies an integer offset that will be added to \%\f3glCallLists\fP
-offsets to generate display-list names.
-The initial value is 0.
-.SH DESCRIPTION
-\%\f3glCallLists\fP specifies an array of offsets.
-Display-list names are generated by adding \f2base\fP to each offset.
-Names that reference valid display lists are executed;
-the others are ignored.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glListBase\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_LIST_BASE\fP
-.SH SEE ALSO
-\%\f3glCallLists(3G)\fP
diff --git a/doc/gl-docs/GL/gl/loadidentity.3gl b/doc/gl-docs/GL/gl/loadidentity.3gl
deleted file mode 100644
index cb5648acd..000000000
--- a/doc/gl-docs/GL/gl/loadidentity.3gl
+++ /dev/null
@@ -1,56 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 loadident
-.ds Xs 65358 4 loadidentity.gl
-.TH GLLOADIDENTITY 3G
-.SH NAME
-.B "glLoadIdentity
-\- replace the current matrix with the identity matrix
-
-.SH C SPECIFICATION
-void \f3glLoadIdentity\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-\%\f3glLoadIdentity\fP replaces the current matrix with the identity matrix.
-It is semantically equivalent to calling \%\f3glLoadMatrix\fP
-with the identity matrix
-
-.ce
-
-.EQ
-left ( down 20 { ~ matrix {
- ccol { 1 above 0 above 0 above 0~ }
- ccol { 0 above 1 above 0 above 0~ }
- ccol { 0 above 0 above 1 above 0~ }
- ccol { 0 above 0 above 0 above 1 }
-} } ~~ right )
-.EN
-
-
-but in some cases it is more efficient.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLoadIdentity\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.SH SEE ALSO
-\%\f3glLoadMatrix(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glMultMatrix(3G)\fP,
-\%\f3glPushMatrix(3G)\fP
diff --git a/doc/gl-docs/GL/gl/loadmatrix.3gl b/doc/gl-docs/GL/gl/loadmatrix.3gl
deleted file mode 100644
index ce73f1270..000000000
--- a/doc/gl-docs/GL/gl/loadmatrix.3gl
+++ /dev/null
@@ -1,95 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 loadmatri
-.ds Xs 32571 5 loadmatrix.gl
-.TH GLLOADMATRIX 3G
-.SH NAME
-.B "glLoadMatrixd, glLoadMatrixf
-\- replace the current matrix with the specified matrix
-
-.SH C SPECIFICATION
-void \f3glLoadMatrixd\fP(
-const GLdouble \fI*m\fP )
-.nf
-.fi
-void \f3glLoadMatrixf\fP(
-const GLfloat \fI*m\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2m\fP\ \ 'u
-\f2m\fP
-Specifies a pointer to 16 consecutive values, which are used as the
-elements of a $4 ~times~ 4$ column-major matrix.
-.SH DESCRIPTION
-\%\f3glLoadMatrix\fP replaces the current matrix with the one whose elements are specified by
-\f2m\fP.
-The current matrix is the projection matrix,
-modelview matrix,
-or texture matrix,
-depending on the current matrix mode
-(see \%\f3glMatrixMode\fP).
-.P
-The current matrix, M, defines a transformation of coordinates.
-For instance, assume M refers to the modelview matrix.
-If $v ~=~ (v[0], v[1], v[2], v[3])$ is the set of object coordinates
-of a vertex,
-and \f2m\fP points to an array of $16$
-single- or double-precision
-floating-point values $m[0], m[1],. . .,m[15]$,
-then the modelview transformation $M(v)$ does the following:
-.P
-
-.ce
-.EQ
-down 130
-{M(v) ~ = ~
-{{ left ( matrix {
- ccol { ~m[0] above m[1] above m[2] above m[3] ~}
- ccol { ~m[4] above m[5] above m[6] above m[7] ~}
- ccol { ~m[8] above m[9] above m[10] above m[11] ~}
- ccol { ~m[12]~ above m[13]~ above m[14]~ above m[15]~}
-} right ) } ~~ times ~~
-{left ( matrix {
-ccol { ~v[0]~ above ~v[1]~ above ~v[2]~ above ~v[3]~ }
-} right )} }}
-.EN
-
-.sp
-.P
-Where ``$times$'' denotes matrix multiplication.
-.P
-Projection and texture transformations are similarly defined.
-.SH NOTES
-While the elements of the matrix may be specified with
-single or double precision, the GL implementation may
-store or operate on these values in less than single
-precision.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLoadMatrix\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.SH SEE ALSO
-\%\f3glLoadIdentity(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glMultMatrix(3G)\fP,
-\%\f3glPushMatrix(3G)\fP
diff --git a/doc/gl-docs/GL/gl/loadname.3gl b/doc/gl-docs/GL/gl/loadname.3gl
deleted file mode 100644
index 7f3301c1f..000000000
--- a/doc/gl-docs/GL/gl/loadname.3gl
+++ /dev/null
@@ -1,48 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 loadname.
-.ds Xs 53104 4 loadname.gl
-.TH GLLOADNAME 3G
-.SH NAME
-.B "glLoadName
-\- load a name onto the name stack
-
-.SH C SPECIFICATION
-void \f3glLoadName\fP(
-GLuint \fIname\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2name\fP\ \ 'u
-\f2name\fP
-Specifies a name that will replace the top value on the name stack.
-.SH DESCRIPTION
-The name stack is used during selection mode to allow sets of rendering
-commands to be uniquely identified.
-It consists of an ordered set of unsigned integers.
-\%\f3glLoadName\fP causes \f2name\fP to replace the value on the top of the name stack,
-which is initially empty.
-.P
-The name stack is always empty while the render mode is not \%\f3GL_SELECT\fP.
-Calls to \%\f3glLoadName\fP while the render mode is not \%\f3GL_SELECT\fP are ignored.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLoadName\fP is called while the
-name stack is empty.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLoadName\fP is executed between
-the execution of \%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_NAME_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_NAME_STACK_DEPTH\fP
-.SH SEE ALSO
-\%\f3glInitNames(3G)\fP,
-\%\f3glPushName(3G)\fP,
-\%\f3glRenderMode(3G)\fP,
-\%\f3glSelectBuffer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/logicop.3gl b/doc/gl-docs/GL/gl/logicop.3gl
deleted file mode 100644
index 5cc290066..000000000
--- a/doc/gl-docs/GL/gl/logicop.3gl
+++ /dev/null
@@ -1,112 +0,0 @@
-'\" et
-'\"! eqn|tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 logicop.g
-.ds Xs 60568 5 logicop.gl
-.TH GLLOGICOP 3G
-.SH NAME
-.B "glLogicOp
-\- specify a logical pixel operation for color index rendering
-
-.SH C SPECIFICATION
-void \f3glLogicOp\fP(
-GLenum \fIopcode\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2opcode\fP\ \ 'u
-\f2opcode\fP
-Specifies a symbolic constant that selects a logical operation.
-The following symbols are accepted:
-\%\f3GL_CLEAR\fP,
-\%\f3GL_SET\fP,
-\%\f3GL_COPY\fP,
-\%\f3GL_COPY_INVERTED\fP,
-\%\f3GL_NOOP\fP,
-\%\f3GL_INVERT\fP,
-\%\f3GL_AND\fP,
-\%\f3GL_NAND\fP,
-\%\f3GL_OR\fP,
-\%\f3GL_NOR\fP,
-\%\f3GL_XOR\fP,
-\%\f3GL_EQUIV\fP,
-\%\f3GL_AND_REVERSE\fP,
-\%\f3GL_AND_INVERTED\fP,
-\%\f3GL_OR_REVERSE\fP, and
-\%\f3GL_OR_INVERTED\fP. The initial value is \%\f3GL_COPY\fP.
-.SH DESCRIPTION
-\%\f3glLogicOp\fP specifies a logical operation that,
-when enabled,
-is applied between the incoming color index or RGBA color
-and the color index or RGBA color at the corresponding location in the
-frame buffer.
-To enable or disable the logical operation, call
-\%\f3glEnable\fP and \%\f3glDisable\fP
-using the symbolic constant \%\f3GL_COLOR_LOGIC_OP\fP for RGBA mode or
-\%\f3GL_INDEX_LOGIC_OP\fP for color index mode. The initial value is
-disabled for both operations.
-.P
-.ne
-.TS
-center;
-lb lb
-l c.
-_
-Opcode Resulting Operation
-_
-\%\f3GL_CLEAR\fP 0
-\%\f3GL_SET\fP 1
-\%\f3GL_COPY\fP s
-\%\f3GL_COPY_INVERTED\fP ~s
-\%\f3GL_NOOP\fP d
-\%\f3GL_INVERT\fP ~d
-\%\f3GL_AND\fP s & d
-\%\f3GL_NAND\fP ~(s & d)
-\%\f3GL_OR\fP s | d
-\%\f3GL_NOR\fP ~(s | d)
-\%\f3GL_XOR\fP s ^ d
-\%\f3GL_EQUIV\fP ~(s ^ d)
-\%\f3GL_AND_REVERSE\fP s & ~d
-\%\f3GL_AND_INVERTED\fP ~s & d
-\%\f3GL_OR_REVERSE\fP s | ~d
-\%\f3GL_OR_INVERTED\fP ~s | d
-_
-.TE
-
-\f2opcode\fP is a symbolic constant chosen from the list above.
-In the explanation of the logical operations,
-\f2s\fP represents the incoming color index and
-\f2d\fP represents the index in the frame buffer.
-Standard C-language operators are used.
-As these bitwise operators suggest,
-the logical operation is applied independently to each bit pair of the
-source and destination indices or colors.
-.SH NOTES
-Color index logical operations are always supported. RGBA logical
-operations are supported only if the GL version is 1.1 or greater.
-.P
-When more than one RGBA color or index buffer is enabled for drawing,
-logical operations are performed separately for each enabled buffer,
-using for the destination value the contents of that buffer
-(see \%\f3glDrawBuffer\fP).
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2opcode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glLogicOp\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_LOGIC_OP_MODE\fP.
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_COLOR_LOGIC_OP\fP or \%\f3GL_INDEX_LOGIC_OP\fP.
-.SH SEE ALSO
-\%\f3glAlphaFunc(3G)\fP,
-\%\f3glBlendFunc(3G)\fP,
-\%\f3glDrawBuffer(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glStencilOp(3G)\fP
diff --git a/doc/gl-docs/GL/gl/map1.3gl b/doc/gl-docs/GL/gl/map1.3gl
deleted file mode 100644
index 17d2c5d02..000000000
--- a/doc/gl-docs/GL/gl/map1.3gl
+++ /dev/null
@@ -1,271 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 map1.gl -
-.ds Xs 15186 10 map1.gl
-.TH GLMAP1 3G
-.SH NAME
-.B "glMap1d, glMap1f
-\- define a one-dimensional evaluator
-
-.SH C SPECIFICATION
-void \f3glMap1d\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMap1d( 'u
- GLdouble \fIu1\fP,
- GLdouble \fIu2\fP,
- GLint \fIstride\fP,
- GLint \fIorder\fP,
- const GLdouble \fI*points\fP )
-.fi
-void \f3glMap1f\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMap1f( 'u
- GLfloat \fIu1\fP,
- GLfloat \fIu2\fP,
- GLint \fIstride\fP,
- GLint \fIorder\fP,
- const GLfloat \fI*points\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies the kind of values that are generated by the evaluator.
-Symbolic constants
-\%\f3GL_MAP1_VERTEX_3\fP,
-\%\f3GL_MAP1_VERTEX_4\fP,
-\%\f3GL_MAP1_INDEX\fP,
-\%\f3GL_MAP1_COLOR_4\fP,
-\%\f3GL_MAP1_NORMAL\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_1\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_2\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_3\fP, and
-\%\f3GL_MAP1_TEXTURE_COORD_4\fP are accepted.
-.TP
-\f2u1\fP, \f2u2\fP
-Specify a linear mapping of $u$,
-as presented to \%\f3glEvalCoord1\fP,
-to $u hat$,
-the variable that is evaluated by the equations specified by this command.
-.TP
-\f2stride\fP
-Specifies the number of floats or doubles between
-the beginning of one control point and the beginning of the next one
-in the data structure referenced in \f2points\fP.
-This allows control points to be embedded in arbitrary data structures.
-The only constraint is that the values for a particular control point
-must occupy contiguous memory locations.
-.TP
-\f2order\fP
-Specifies the number of control points.
-Must be positive.
-.TP
-\f2points\fP
-Specifies a pointer to the array of control points.
-
-.SH DESCRIPTION
-Evaluators provide a way to use polynomial or rational polynomial mapping
-to produce vertices,
-normals,
-texture coordinates,
-and colors.
-The values produced by an evaluator are sent to further stages
-of GL processing just as if they had been presented using
-\%\f3glVertex\fP,
-\%\f3glNormal\fP,
-\%\f3glTexCoord\fP, and
-\%\f3glColor\fP commands,
-except that the generated values do not update the current normal,
-texture coordinates,
-or color.
-.P
-All polynomial or rational polynomial splines of any degree
-(up to the maximum degree supported by the GL implementation)
-can be described using evaluators.
-These include almost all splines used in computer graphics: B-splines,
-Bezier curves, Hermite splines, and so on.
-.P
-Evaluators define curves based on Bernstein polynomials.
-Define $p ( u hat ^) $ as
-.sp
-.ce
-$p ( u hat ^) ~~=~~ up 10 { sum from i=0 to n } B sub i sup n ( u hat ^) R sub i$
-.sp
-where
-$R sub i$
-is a control point and
-$B sub i sup n ( u hat ^)$
-is the $i$th Bernstein polynomial of degree $n$ (\f2order\fP = $n ~+~ 1$):
-.sp
-.ce
-$B sub i sup n ( u hat ^) ~~=~~ left ( down 20 {cpile { n above i }} ~~ right ) u hat sup i ( 1 - u hat ^) sup { n - i }$
-.sp
-Recall that
-.sp
-.ce
-$0 sup 0 ~==~ 1 $ and $ left ( down 20 {cpile { n above ~0 }} ~~ right ) ~~==~~ 1 $
-.P
-\%\f3glMap1\fP is used to define the basis and to specify what kind of values
-are produced.
-Once defined,
-a map can be enabled and disabled by calling \%\f3glEnable\fP and \%\f3glDisable\fP
-with the map name, one of the nine predefined values for \f2target\fP
-described below.
-\%\f3glEvalCoord1\fP evaluates the one-dimensional maps that are enabled.
-When
-.br
-\%\f3glEvalCoord1\fP presents a value $u$,
-the Bernstein functions are evaluated using $u hat$, where
-.br
-
-.ce
-$u hat ~~=~~ {u ~-~ "u1"} over {"u2" ~-~ "u1"}$
-
-.br
-.P
-\f2target\fP is a symbolic constant that indicates what kind of control points
-are provided in \f2points\fP,
-and what output is generated when the map is evaluated.
-It can assume one of nine predefined values:
-.TP 25
-\%\f3GL_MAP1_VERTEX_3\fP
-Each control point is three floating-point values representing
-$x$, $y$, and $z$.
-Internal \%\f3glVertex3\fP commands are generated when the map is evaluated.
-.TP
-\%\f3GL_MAP1_VERTEX_4\fP
-Each control point is four floating-point values representing
-$x$, $y$, $z$, and $w$.
-Internal \%\f3glVertex4\fP commands are generated when the map is evaluated.
-.TP
-\%\f3GL_MAP1_INDEX\fP
-Each control point is a single floating-point value representing a color index.
-Internal \%\f3glIndex\fP commands are generated when the map is evaluated
-but the current index is not updated with the value of these \%\f3glIndex\fP
-commands.
-.TP
-\%\f3GL_MAP1_COLOR_4\fP
-Each control point is four floating-point values representing
-red, green, blue, and alpha.
-Internal \%\f3glColor4\fP commands are generated when the map is
-evaluated but the current color is not updated with the value of these
-\%\f3glColor4\fP commands.
-.TP
-\%\f3GL_MAP1_NORMAL\fP
-Each control point is three floating-point values representing
-the $x$, $y$, and $z$ components of a normal vector.
-Internal \%\f3glNormal\fP commands are generated when the map is
-evaluated but the current normal is not updated with the value of
-these \%\f3glNormal\fP commands.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_1\fP
-Each control point is a single floating-point value representing
-the $s$ texture coordinate.
-Internal
-.br
-\%\f3glTexCoord1\fP commands are generated when the map is
-evaluated but the current texture coordinates are not updated with the value
-of these \%\f3glTexCoord\fP commands.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_2\fP
-Each control point is two floating-point values representing
-the $s$ and $t$ texture coordinates.
-Internal
-.br
-\%\f3glTexCoord2\fP commands are generated when the map is
-evaluated but the current texture coordinates are not updated with the value
-of these \%\f3glTexCoord\fP commands.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_3\fP
-Each control point is three floating-point values representing
-the $s$, $t$, and $r$ texture coordinates.
-Internal \%\f3glTexCoord3\fP commands are generated when the map is
-evaluated but the current texture coordinates are not updated with the value
-of these \%\f3glTexCoord\fP commands.
-.TP
-\%\f3GL_MAP1_TEXTURE_COORD_4\fP
-Each control point is four floating-point values representing
-the $s$, $t$, $r$, and $q$ texture coordinates.
-Internal
-.br
-\%\f3glTexCoord4\fP commands are generated when the map is evaluated but
-the current texture coordinates are not updated with the value
-of these \%\f3glTexCoord\fP commands.
-.P
-\f2stride\fP,
-\f2order\fP, and
-\f2points\fP define the array addressing for accessing the control points.
-\f2points\fP is the location of the first control point,
-which occupies one, two, three, or four contiguous memory locations,
-depending on which map is being defined.
-\f2order\fP is the number of control points in the array.
-\f2stride\fP specifies how many float or double locations to advance the internal
-memory pointer to reach the next control point.
-.SH NOTES
-As is the case with all GL commands that accept pointers to data,
-it is as if the contents of \f2points\fP were copied by \%\f3glMap1\fP before \%\f3glMap1\fP
-returns.
-Changes to the contents of \f2points\fP have no effect after \%\f3glMap1\fP is called.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2u1\fP is equal to \f2u2\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2stride\fP is less than the number
-of values in a control point.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2order\fP is less than 1 or
-greater than the return value of \%\f3GL_MAX_EVAL_ORDER\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glMap1\fP
-is executed between the execution of
-\%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported,
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glMap1\fP is called and the value
-of \%\f3GL_ACTIVE_TEXTURE_ARB\fP is not \%\f3GL_TEXTURE0_ARB\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetMap\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_EVAL_ORDER\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_VERTEX_3\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_VERTEX_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_INDEX\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_COLOR_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_NORMAL\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_TEXTURE_COORD_1\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_TEXTURE_COORD_2\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_TEXTURE_COORD_3\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP1_TEXTURE_COORD_4\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glColor(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glEvalCoord(3G)\fP,
-\%\f3glEvalMesh(3G)\fP,
-\%\f3glEvalPoint(3G)\fP,
-\%\f3glMap2(3G)\fP,
-\%\f3glMapGrid(3G)\fP,
-\%\f3glNormal(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glVertex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/map2.3gl b/doc/gl-docs/GL/gl/map2.3gl
deleted file mode 100644
index 1d629e7e7..000000000
--- a/doc/gl-docs/GL/gl/map2.3gl
+++ /dev/null
@@ -1,331 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 map2.gl -
-.ds Xs 16004 12 map2.gl
-.TH GLMAP2 3G
-.SH NAME
-.B "glMap2d, glMap2f
-\- define a two-dimensional evaluator
-
-.SH C SPECIFICATION
-void \f3glMap2d\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMap2d( 'u
- GLdouble \fIu1\fP,
- GLdouble \fIu2\fP,
- GLint \fIustride\fP,
- GLint \fIuorder\fP,
- GLdouble \fIv1\fP,
- GLdouble \fIv2\fP,
- GLint \fIvstride\fP,
- GLint \fIvorder\fP,
- const GLdouble \fI*points\fP )
-.fi
-void \f3glMap2f\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMap2f( 'u
- GLfloat \fIu1\fP,
- GLfloat \fIu2\fP,
- GLint \fIustride\fP,
- GLint \fIuorder\fP,
- GLfloat \fIv1\fP,
- GLfloat \fIv2\fP,
- GLint \fIvstride\fP,
- GLint \fIvorder\fP,
- const GLfloat \fI*points\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIustride\fP\ \ 'u
-\f2target\fP
-Specifies the kind of values that are generated by the evaluator.
-Symbolic constants
-\%\f3GL_MAP2_VERTEX_3\fP,
-\%\f3GL_MAP2_VERTEX_4\fP,
-\%\f3GL_MAP2_INDEX\fP,
-\%\f3GL_MAP2_COLOR_4\fP,
-\%\f3GL_MAP2_NORMAL\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_1\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_3\fP, and
-\%\f3GL_MAP2_TEXTURE_COORD_4\fP are accepted.
-.TP
-\f2u1\fP, \f2u2\fP
-Specify a linear mapping of $u$,
-as presented to \%\f3glEvalCoord2\fP,
-to $u hat$,
-one of the two variables that are evaluated by the equations specified
-by this command. Initially, \f2u1\fP is 0 and \f2u2\fP is 1.
-.TP
-\f2ustride\fP
-Specifies the number of floats or doubles between
-the beginning of control point
-$R sub ij$
-and the beginning of control point
-$R sub { (i+1) j }$,
-where $i$ and $j$ are the $u$ and $v$ control point indices, respectively.
-This allows control points to be embedded in arbitrary data structures.
-The only constraint is that the values for a particular control point
-must occupy contiguous memory locations. The initial value of \f2ustride\fP is 0.
-.TP
-\f2uorder\fP
-Specifies the dimension of the control point array in the $u$ axis.
-Must be positive. The initial value is 1.
-.TP
-\f2v1\fP, \f2v2\fP
-Specify a linear mapping of $v$,
-as presented to \%\f3glEvalCoord2\fP,
-to $v hat$,
-one of the two variables that are evaluated by the equations specified
-by this command. Initially, \f2v1\fP is 0 and \f2v2\fP is 1.
-.TP
-\f2vstride\fP
-Specifies the number of floats or doubles between
-the beginning of control point
-$R sub ij$
-and the beginning of control point
-$R sub { i (j+1) }$,
-where $i$ and $j$ are the $u$ and $v$ control point indices, respectively.
-This allows control points to be embedded in arbitrary data structures.
-The only constraint is that the values for a particular control point
-must occupy contiguous memory locations. The initial value of \f2vstride\fP is 0.
-.TP
-\f2vorder\fP
-Specifies the dimension of the control point array in the $v$ axis.
-Must be positive. The initial value is 1.
-.TP
-\f2points\fP
-Specifies a pointer to the array of control points.
-.SH DESCRIPTION
-Evaluators provide a way to use polynomial or rational polynomial mapping
-to produce vertices,
-normals,
-texture coordinates,
-and colors.
-The values produced by an evaluator are sent on to further stages
-of GL processing just as if they had been presented using
-\%\f3glVertex\fP,
-\%\f3glNormal\fP,
-\%\f3glTexCoord\fP, and
-\%\f3glColor\fP commands,
-except that the generated values do not update the current normal,
-texture coordinates,
-or color.
-.P
-All polynomial or rational polynomial splines of any degree
-(up to the maximum degree supported by the GL implementation)
-can be described using evaluators.
-These include almost all surfaces used in computer graphics,
-including B-spline surfaces,
-NURBS surfaces,
-Bezier surfaces, and so on.
-.P
-Evaluators define surfaces based on bivariate Bernstein polynomials.
-Define $p ( u hat , v hat ) $ as
-.ce
-.sp
-.EQ
-p ( u hat , v hat ) ~~=~~
- down 30 {{size 18 {sum}} from {size 8 {i~=~0}} to {size 9 {n}} } ~
- {{size 18 {sum}} from {size 8 {j~=~0}} to {size 9 {m}} } ~
- up 15 { B sub i sup n ( u hat ) ~ B sub j sup m ( v hat ) ~ R sub ij }
-.EN
-.sp
-.P
-where $R sub ij$ is a control point,
-$B sub i sup n ( u hat )$
-is the $i$th Bernstein polynomial of degree
-.br
-$n$ (\f2uorder\fP = $n ~+~ 1$)
-.ce
-.sp
-.EQ
-B sub i sup n ( u hat ) ~~=~~ left ( down 20 {cpile { n above i }} ~ right
-) u hat sup i ( 1 - u hat ) sup { n - i }
-.EN
-.sp
-and $B sub j sup m ( v hat )$
-is the $j$th Bernstein polynomial of degree $m$ (\f2vorder\fP = $m ~+~ 1$)
-.ce
-.sp
-.EQ
-B sub j sup m ( v hat ) ~~=~~ left ( ^down 20 {cpile { m above j }} ~^ right ) v hat sup j ( 1 - v hat ) sup { m - j }
-.EN
-.sp
-Recall that
-.ce
-$0 sup 0 ~==~ 1 $ and $ left ( ^ down 20 {cpile { n above 0 }} ~^ right ) ~~==~~ 1 $
-.sp
-\%\f3glMap2\fP is used to define the basis and to specify what kind of values
-are produced.
-Once defined,
-a map can be enabled and disabled by calling \%\f3glEnable\fP and \%\f3glDisable\fP
-with the map name, one of the nine predefined values for \f2target\fP,
-described below.
-When \%\f3glEvalCoord2\fP presents values $u$ and $v$,
-the bivariate Bernstein polynomials are evaluated using $u hat$ and $v hat$,
-where
-.sp
-.ce
-$u hat ~~=~~ {u ~-~ "u1"} over {"u2" ~-~ "u1"}$
-.sp
-.ce
-$v hat ~~=~~ {v ~-~ "v1"} over {"v2" ~-~ "v1"}$
-.sp
-\f2target\fP is a symbolic constant that indicates what kind of control points
-are provided in \f2points\fP,
-and what output is generated when the map is evaluated.
-It can assume one of nine predefined values:
-.TP 25
-\%\f3GL_MAP2_VERTEX_3\fP
-Each control point is three floating-point values representing
-$x$, $y$, and $z$.
-Internal \%\f3glVertex3\fP commands are generated when the map is evaluated.
-.TP
-\%\f3GL_MAP2_VERTEX_4\fP
-Each control point is four floating-point values representing
-$x$, $y$, $z$, and $w$.
-Internal \%\f3glVertex4\fP commands are generated when the map is evaluated.
-.TP
-\%\f3GL_MAP2_INDEX\fP
-Each control point is a single floating-point value representing a color index.
-Internal \%\f3glIndex\fP commands are generated when the map is evaluated
-but the current index is not updated with the value of these
-\%\f3glIndex\fP commands.
-.TP
-\%\f3GL_MAP2_COLOR_4\fP
-Each control point is four floating-point values representing
-red, green, blue, and alpha.
-Internal \%\f3glColor4\fP commands are generated when the map is
-evaluated but the current color is not updated with the value of
-these \%\f3glColor4\fP commands.
-.TP
-\%\f3GL_MAP2_NORMAL\fP
-Each control point is three floating-point values representing
-the $x$, $y$, and $z$ components of a normal vector.
-Internal \%\f3glNormal\fP commands are generated when the map is
-evaluated but the current normal is not updated with the value of
-these \%\f3glNormal\fP commands.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_1\fP
-Each control point is a single floating-point value representing
-the $s$ texture coordinate.
-Internal
-.br
-\%\f3glTexCoord1\fP commands are generated when the map is evaluated but
-the current texture coordinates are not updated with the value
-of these \%\f3glTexCoord\fP commands.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP
-Each control point is two floating-point values representing
-the $s$ and $t$ texture coordinates.
-Internal
-.br
-\%\f3glTexCoord2\fP commands are generated when the map is evaluated but
-the current texture coordinates are not updated with the value
-of these \%\f3glTexCoord\fP commands.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_3\fP
-Each control point is three floating-point values representing
-the $s$, $t$, and $r$ texture coordinates.
-Internal \%\f3glTexCoord3\fP commands are generated when the map is
-evaluated but the current texture coordinates are not updated with the value
-of these \%\f3glTexCoord\fP commands.
-.TP
-\%\f3GL_MAP2_TEXTURE_COORD_4\fP
-Each control point is four floating-point values representing
-the $s$, $t$, $r$, and $q$ texture coordinates.
-Internal
-.br
-\%\f3glTexCoord4\fP commands are generated when the map is evaluated but the current texture coordinates are not updated with the value
-of these \%\f3glTexCoord\fP commands.
-.P
-\f2ustride\fP,
-\f2uorder\fP,
-\f2vstride\fP,
-\f2vorder\fP, and
-\f2points\fP define the array addressing for accessing the control points.
-\f2points\fP is the location of the first control point,
-which occupies one, two, three, or four contiguous memory locations,
-depending on which map is being defined.
-There are $ "uorder" ~times~ "vorder" $ control points in the array.
-\f2ustride\fP specifies how many float or double locations are skipped to advance
-the internal memory pointer from control point
-$R sub {i j} $ to control point $R sub {(i+1) j} $.
-\f2vstride\fP specifies how many float or double locations are skipped to advance
-the internal memory pointer from control point
-$R sub {i j} $ to control point $R sub {i (j+1) } $.
-.SH NOTES
-As is the case with all GL commands that accept pointers to data,
-it is as if the contents of \f2points\fP were copied by \%\f3glMap2\fP before \%\f3glMap2\fP
-returns.
-Changes to the contents of \f2points\fP have no effect after \%\f3glMap2\fP is called.
-.P
-Initially, \%\f3GL_AUTO_NORMAL\fP is enabled. If \%\f3GL_AUTO_NORMAL\fP is enabled,
-normal vectors are generated when either
-\%\f3GL_MAP2_VERTEX_3\fP or \%\f3GL_MAP2_VERTEX_4\fP is used to generate
-vertices.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2u1\fP is equal to \f2u2\fP,
-or if \f2v1\fP is equal to \f2v2\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if either \f2ustride\fP or \f2vstride\fP
-is less than the number of values in a control point.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if either \f2uorder\fP or \f2vorder\fP
-is less than 1 or greater than the return value of \%\f3GL_MAX_EVAL_ORDER\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glMap2\fP
-is executed between the execution of
-\%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported,
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glMap2\fP is called and the value
-of \%\f3GL_ACTIVE_TEXTURE_ARB\fP is not \%\f3GL_TEXTURE0_ARB\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetMap\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_EVAL_ORDER\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_VERTEX_3\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_VERTEX_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_INDEX\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_COLOR_4\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_NORMAL\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_TEXTURE_COORD_1\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_TEXTURE_COORD_2\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_TEXTURE_COORD_3\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_MAP2_TEXTURE_COORD_4\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glColor(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glEvalCoord(3G)\fP,
-\%\f3glEvalMesh(3G)\fP,
-\%\f3glEvalPoint(3G)\fP,
-\%\f3glMap1(3G)\fP,
-\%\f3glMapGrid(3G)\fP,
-\%\f3glNormal(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glVertex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/mapgrid.3gl b/doc/gl-docs/GL/gl/mapgrid.3gl
deleted file mode 100644
index a329c5e25..000000000
--- a/doc/gl-docs/GL/gl/mapgrid.3gl
+++ /dev/null
@@ -1,141 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 mapgrid.g
-.ds Xs 53033 5 mapgrid.gl
-.TH GLMAPGRID 3G
-.SH NAME
-.B "glMapGrid1d, glMapGrid1f, glMapGrid2d, glMapGrid2f
-\- define a one- or two-dimensional mesh
-
-.SH C SPECIFICATION
-void \f3glMapGrid1d\fP(
-GLint \fIun\fP,
-.nf
-.ta \w'\f3void \fPglMapGrid1d( 'u
- GLdouble \fIu1\fP,
- GLdouble \fIu2\fP )
-.fi
-void \f3glMapGrid1f\fP(
-GLint \fIun\fP,
-.nf
-.ta \w'\f3void \fPglMapGrid1f( 'u
- GLfloat \fIu1\fP,
- GLfloat \fIu2\fP )
-.fi
-void \f3glMapGrid2d\fP(
-GLint \fIun\fP,
-.nf
-.ta \w'\f3void \fPglMapGrid2d( 'u
- GLdouble \fIu1\fP,
- GLdouble \fIu2\fP,
- GLint \fIvn\fP,
- GLdouble \fIv1\fP,
- GLdouble \fIv2\fP )
-.fi
-void \f3glMapGrid2f\fP(
-GLint \fIun\fP,
-.nf
-.ta \w'\f3void \fPglMapGrid2f( 'u
- GLfloat \fIu1\fP,
- GLfloat \fIu2\fP,
- GLint \fIvn\fP,
- GLfloat \fIv1\fP,
- GLfloat \fIv2\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2un\fP\ \ 'u
-\f2un\fP
-Specifies the number of partitions in the grid range interval
-[\f2u1\fP, \f2u2\fP].
-Must be positive.
-.TP
-\f2u1\fP, \f2u2\fP
-Specify the mappings for integer grid domain values $i~=~0$ and $i~=~"un"$.
-.TP
-\f2vn\fP
-Specifies the number of partitions in the grid range interval
-[\f2v1\fP, \f2v2\fP]
-.br
-(\%\f3glMapGrid2\fP only).
-.TP
-\f2v1\fP, \f2v2\fP
-Specify the mappings for integer grid domain values $j~=~0$ and $j~=~"vn"$
-.br
-(\%\f3glMapGrid2\fP only).
-.SH DESCRIPTION
-\%\f3glMapGrid\fP and \%\f3glEvalMesh\fP are used together to efficiently
-generate and evaluate a series of evenly-spaced map domain values.
-\%\f3glEvalMesh\fP steps through the integer domain
-of a one- or two-dimensional grid,
-whose range is the domain of the evaluation maps specified by
-\%\f3glMap1\fP and \%\f3glMap2\fP.
-.P
-\%\f3glMapGrid1\fP and \%\f3glMapGrid2\fP specify the linear grid mappings
-between the $i$
-(or $i$ and $j$)
-integer grid coordinates,
-to the $u$
-(or $u$ and $v$)
-floating-point evaluation map coordinates.
-See \%\f3glMap1\fP and \%\f3glMap2\fP for details of how $u$ and $v$ coordinates
-are evaluated.
-.P
-\%\f3glMapGrid1\fP specifies a single linear mapping
-such that integer grid coordinate 0 maps exactly to \f2u1\fP,
-and integer grid coordinate \f2un\fP maps exactly to \f2u2\fP.
-All other integer grid coordinates $i$ are mapped so that
-.sp
-.ce
-.EQ
-u ~=~ i ("u2" - "u1") / "un" ~+~ "u1"
-.EN
-.sp
-\%\f3glMapGrid2\fP specifies two such linear mappings.
-One maps integer grid coordinate $i~=~0$ exactly to \f2u1\fP,
-and integer grid coordinate $i~=~"un"$ exactly to \f2u2\fP.
-The other maps integer grid coordinate $j~=~0$ exactly to \f2v1\fP,
-and integer grid coordinate $j~=~"vn"$ exactly to \f2v2\fP.
-Other integer grid coordinates $i$ and $j$ are mapped such that
-.P
-.ce
-.EQ
-u ~=~ i ("u2" - "u1") / "un" ~+~ "u1"
-.EN
-.P
-.ce
-.EQ
-v ~=~ j ("v2" - "v1") / "vn" ~+~ "v1"
-.EN
-.P
-The mappings specified by \%\f3glMapGrid\fP are used identically by
-\%\f3glEvalMesh\fP and \%\f3glEvalPoint\fP.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if either \f2un\fP or \f2vn\fP is not
-positive.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glMapGrid\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MAP1_GRID_DOMAIN\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP2_GRID_DOMAIN\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP1_GRID_SEGMENTS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP2_GRID_SEGMENTS\fP
-.SH SEE ALSO
-\%\f3glEvalCoord(3G)\fP,
-\%\f3glEvalMesh(3G)\fP,
-\%\f3glEvalPoint(3G)\fP,
-\%\f3glMap1(3G)\fP,
-\%\f3glMap2(3G)\fP
diff --git a/doc/gl-docs/GL/gl/material.3gl b/doc/gl-docs/GL/gl/material.3gl
deleted file mode 100644
index 5e5e3b96e..000000000
--- a/doc/gl-docs/GL/gl/material.3gl
+++ /dev/null
@@ -1,213 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 material.
-.ds Xs 18013 8 material.gl
-.TH GLMATERIAL 3G
-.SH NAME
-.B "glMaterialf, glMateriali, glMaterialfv, glMaterialiv
-\- specify material parameters for the lighting model
-
-.SH C SPECIFICATION
-void \f3glMaterialf\fP(
-GLenum \fIface\fP,
-.nf
-.ta \w'\f3void \fPglMaterialf( 'u
- GLenum \fIpname\fP,
- GLfloat \fIparam\fP )
-.fi
-void \f3glMateriali\fP(
-GLenum \fIface\fP,
-.nf
-.ta \w'\f3void \fPglMateriali( 'u
- GLenum \fIpname\fP,
- GLint \fIparam\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2face\fP
-Specifies which face or faces are being updated.
-Must be one of
-\%\f3GL_FRONT\fP,
-\%\f3GL_BACK\fP, or
-\%\f3GL_FRONT_AND_BACK\fP.
-.TP
-\f2pname\fP
-Specifies the single-valued material parameter of the face or faces
-that is being updated.
-Must be \%\f3GL_SHININESS\fP.
-.TP
-\f2param\fP
-Specifies the value that parameter \%\f3GL_SHININESS\fP will be set to.
-.SH C SPECIFICATION
-void \f3glMaterialfv\fP(
-GLenum \fIface\fP,
-.nf
-.ta \w'\f3void \fPglMaterialfv( 'u
- GLenum \fIpname\fP,
- const GLfloat \fI*params\fP )
-.fi
-void \f3glMaterialiv\fP(
-GLenum \fIface\fP,
-.nf
-.ta \w'\f3void \fPglMaterialiv( 'u
- GLenum \fIpname\fP,
- const GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2face\fP
-Specifies which face or faces are being updated.
-Must be one of
-\%\f3GL_FRONT\fP,
-\%\f3GL_BACK\fP, or
-\%\f3GL_FRONT_AND_BACK\fP.
-.TP
-\f2pname\fP
-Specifies the material parameter of the face or faces that is being updated.
-Must be one of
-\%\f3GL_AMBIENT\fP,
-\%\f3GL_DIFFUSE\fP,
-\%\f3GL_SPECULAR\fP,
-\%\f3GL_EMISSION\fP,
-\%\f3GL_SHININESS\fP,
-\%\f3GL_AMBIENT_AND_DIFFUSE\fP, or
-\%\f3GL_COLOR_INDEXES\fP.
-.TP
-\f2params\fP
-Specifies a pointer to the value or values that \f2pname\fP will be set to.
-.SH DESCRIPTION
-\%\f3glMaterial\fP assigns values to material parameters.
-There are two matched sets of material parameters.
-One,
-the \f2front-facing\fP set,
-is used to shade points,
-lines,
-bitmaps,
-and all polygons
-(when two-sided lighting is disabled),
-or just front-facing polygons
-(when two-sided lighting is enabled).
-The other set,
-\f2back-facing\fP,
-is used to shade back-facing polygons only when two-sided lighting is enabled.
-Refer to the \%\f3glLightModel\fP reference page for details concerning one- and
-two-sided lighting calculations.
-.P
-\%\f3glMaterial\fP takes three arguments.
-The first,
-\f2face\fP,
-specifies whether the
-\%\f3GL_FRONT\fP materials, the
-\%\f3GL_BACK\fP materials, or both
-\%\f3GL_FRONT_AND_BACK\fP materials will be modified.
-The second,
-\f2pname\fP,
-specifies which of several parameters in one or both sets will be modified.
-The third,
-\f2params\fP,
-specifies what value or values will be assigned to the specified parameter.
-.P
-Material parameters are used in the lighting equation that is optionally
-applied to each vertex.
-The equation is discussed in the \%\f3glLightModel\fP reference page.
-The parameters that can be specified using \%\f3glMaterial\fP,
-and their interpretations by the lighting equation, are as follows:
-.TP 20
-\%\f3GL_AMBIENT\fP
-\f2params\fP contains four integer or floating-point values that specify
-the ambient RGBA reflectance of the material.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-The initial ambient reflectance for both front- and back-facing materials
-is (0.2, 0.2, 0.2, 1.0).
-.TP
-\%\f3GL_DIFFUSE\fP
-\f2params\fP contains four integer or floating-point values that specify
-the diffuse RGBA reflectance of the material.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-The initial diffuse reflectance for both front- and back-facing materials
-is (0.8, 0.8, 0.8, 1.0).
-.TP
-\%\f3GL_SPECULAR\fP
-\f2params\fP contains four integer or floating-point values that specify
-the specular RGBA reflectance of the material.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-The initial specular reflectance for both front- and back-facing materials
-is (0, 0, 0, 1).
-.TP
-\%\f3GL_EMISSION\fP
-\f2params\fP contains four integer or floating-point values that specify
-the RGBA emitted light intensity of the material.
-Integer values are mapped linearly such that the most positive representable
-value maps to 1.0,
-and the most negative representable value maps to \-1.0.
-Floating-point values are mapped directly.
-Neither integer nor floating-point values are clamped.
-The initial emission intensity for both front- and back-facing materials
-is (0, 0, 0, 1).
-.TP
-\%\f3GL_SHININESS\fP
-\f2params\fP is a single integer or floating-point value that specifies
-the RGBA specular exponent of the material.
-Integer and floating-point values are mapped directly.
-Only values in the range [0,128] are accepted.
-The initial specular exponent for both front- and back-facing materials
-is 0.
-.TP
-\%\f3GL_AMBIENT_AND_DIFFUSE\fP
-Equivalent to calling \%\f3glMaterial\fP twice with the same parameter values,
-once with \%\f3GL_AMBIENT\fP and once with \%\f3GL_DIFFUSE\fP.
-.TP
-\%\f3GL_COLOR_INDEXES\fP
-\f2params\fP contains three integer or floating-point values specifying
-the color indices for ambient,
-diffuse,
-and specular lighting.
-These three values,
-and \%\f3GL_SHININESS\fP,
-are the only material values used by the color index mode lighting equation.
-Refer to the \%\f3glLightModel\fP reference page for a discussion
-of color index lighting.
-.SH NOTES
-The material parameters can be updated at any time.
-In particular,
-\%\f3glMaterial\fP can be called between a call to \%\f3glBegin\fP and the corresponding
-call to \%\f3glEnd\fP.
-If only a single material parameter is to be changed per vertex,
-however,
-\%\f3glColorMaterial\fP is preferred over \%\f3glMaterial\fP
-(see \%\f3glColorMaterial\fP).
-.P
-While the ambient, diffuse, specular and emission material parameters
-all have alpha components, only the diffuse alpha component is used in
-the lighting computation.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if either \f2face\fP or \f2pname\fP is not
-an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if a specular exponent outside the range
-[0,128] is specified.
-.SH ASSOCIATED GETS
-\%\f3glGetMaterial\fP
-.SH SEE ALSO
-\%\f3glColorMaterial(3G)\fP,
-\%\f3glLight(3G)\fP,
-\%\f3glLightModel(3G)\fP
diff --git a/doc/gl-docs/GL/gl/matrixmode.3gl b/doc/gl-docs/GL/gl/matrixmode.3gl
deleted file mode 100644
index 264b25251..000000000
--- a/doc/gl-docs/GL/gl/matrixmode.3gl
+++ /dev/null
@@ -1,64 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 matrixmod
-.ds Xs 9532 4 matrixmode.gl
-.TH GLMATRIXMODE 3G
-.SH NAME
-.B "glMatrixMode
-\- specify which matrix is the current matrix
-
-.SH C SPECIFICATION
-void \f3glMatrixMode\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-Specifies which matrix stack is the target
-for subsequent matrix operations.
-Three values are accepted:
-\%\f3GL_MODELVIEW\fP,
-\%\f3GL_PROJECTION\fP, and
-\%\f3GL_TEXTURE\fP.
-The initial value is \%\f3GL_MODELVIEW\fP.
-.TE
-
-Additionally, if the \%\f3GL_ARB_imaging\fP extension is supported,
-\%\f3GL_COLOR\fP is also accepted.
-.SH DESCRIPTION
-\%\f3glMatrixMode\fP sets the current matrix mode.
-\f2mode\fP can assume one of four values:
-.TP 25
-\%\f3GL_MODELVIEW\fP
-Applies subsequent matrix operations to the modelview matrix stack.
-.TP
-\%\f3GL_PROJECTION\fP
-Applies subsequent matrix operations to the projection matrix stack.
-.TP
-\%\f3GL_TEXTURE\fP
-Applies subsequent matrix operations to the texture matrix stack.
-.TP
-\%\f3GL_COLOR\fP
-Applies subsequent matrix operations to the color matrix stack.
-.P
-To find out which matrix stack is currently the target of all matrix
-operations, call \%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP. The initial
-value is \%\f3GL_MODELVIEW\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glMatrixMode\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.SH SEE ALSO
-\%\f3glLoadMatrix(3G)\fP,
-\%\f3glPushMatrix(3G)\fP
diff --git a/doc/gl-docs/GL/gl/minmax.3gl b/doc/gl-docs/GL/gl/minmax.3gl
deleted file mode 100644
index 61c4a55dd..000000000
--- a/doc/gl-docs/GL/gl/minmax.3gl
+++ /dev/null
@@ -1,120 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 minmax.gl
-.ds Xs 45595 6 minmax.gl
-.TH GLMINMAX 3G
-.SH NAME
-.B "glMinmax
-\- define minmax table
-
-.SH C SPECIFICATION
-void \f3glMinmax\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMinmax( 'u
- GLenum \fIinternalformat\fP,
- GLboolean \fIsink\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-The minmax table whose parameters are to be set.
-Must be
-\%\f3GL_MINMAX\fP.
-.TP
-\f2internalformat\fP
-The of entries in the minmax table.
-Must be one of
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2sink\fP
-If \%\f3GL_TRUE\fP, pixels will be consumed by the minmax
-process and no drawing or texture loading will take place.
-If \%\f3GL_FALSE\fP, pixels will proceed to the final conversion process after
-minmax.
-.SH DESCRIPTION
-When \%\f3GL_MINMAX\fP is enabled, the RGBA components of incoming pixels are
-compared to the minimum and maximum values for each component, which are
-stored in the 2-element minmax table.
-(The first element stores the minima, and the second element stores
-the maxima.)
-If a pixel component is greater than the corresponding component
-in the maximum element, then the maximum element is updated with the
-pixel component value.
-If a pixel component is less than the corresponding component in
-the minimum element, then the minimum element is updated with the
-pixel component value.
-(In both cases, if the internal of the minmax table includes
-luminance, then the R color component of incoming pixels is used
-for comparison.)
-The contents of the minmax table may be retrieved at a later time
-by calling \%\f3glGetMinmax\fP.
-The minmax operation is enabled or disabled by calling \%\f3glEnable\fP or
-\%\f3glDisable\fP, respectively, with an argument of \%\f3GL_MINMAX\fP.
-.P
-\%\f3glMinmax\fP redefines the current minmax table to have entries of the
-specified by \f2internalformat\fP.
-The maximum element is initialized with the smallest possible component
-values, and the minimum element is initialized with the largest possible
-component values.
-The values in the previous minmax table, if any, are lost.
-If \f2sink\fP is \%\f3GL_TRUE\fP, then pixels are discarded after minmax;
-no further processing of the pixels takes place, and no drawing,
-texture loading, or pixel readback will result.
-.P
-.SH NOTES
-\%\f3glMinmax\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glMinmax\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetMinmaxParameter\fP
-.SH SEE ALSO
-\%\f3glGetMinmax(3G)\fP,
-\%\f3glResetMinmax(3G)\fP
diff --git a/doc/gl-docs/GL/gl/multitexcoordARB.3gl b/doc/gl-docs/GL/gl/multitexcoordARB.3gl
deleted file mode 100644
index a60b029dd..000000000
--- a/doc/gl-docs/GL/gl/multitexcoordARB.3gl
+++ /dev/null
@@ -1,301 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 19:43
-.ds Dm 01 multitexc
-.ds Xs 22 5 multitexcoordARB.gl
-.TH GLMULTITEXCOORDARB 3G
-.SH NAME
-.B "glMultiTexCoord1dARB, glMultiTexCoord1fARB, glMultiTexCoord1iARB, glMultiTexCoord1sARB, glMultiTexCoord2dARB, glMultiTexCoord2fARB, glMultiTexCoord2iARB, glMultiTexCoord2sARB, glMultiTexCoord3dARB, glMultiTexCoord3fARB, glMultiTexCoord3iARB, glMultiTexCoord3sARB, glMultiTexCoord4dARB, glMultiTexCoord4fARB, glMultiTexCoord4iARB, glMultiTexCoord4sARB, glMultiTexCoord1dvARB, glMultiTexCoord1fvARB, glMultiTexCoord1ivARB, glMultiTexCoord1svARB, glMultiTexCoord2dvARB, glMultiTexCoord2fvARB, glMultiTexCoord2ivARB, glMultiTexCoord2svARB, glMultiTexCoord3dvARB, glMultiTexCoord3fvARB, glMultiTexCoord3ivARB, glMultiTexCoord3svARB, glMultiTexCoord4dvARB, glMultiTexCoord4fvARB, glMultiTexCoord4ivARB, glMultiTexCoord4svARB
-\- set the current texture coordinates
-
-.SH C SPECIFICATION
-void \f3glMultiTexCoord1dARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord1dARB( 'u
- GLdouble \fIs\fP )
-.fi
-void \f3glMultiTexCoord1fARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord1fARB( 'u
- GLfloat \fIs\fP )
-.fi
-void \f3glMultiTexCoord1iARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord1iARB( 'u
- GLint \fIs\fP )
-.fi
-void \f3glMultiTexCoord1sARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord1sARB( 'u
- GLshort \fIs\fP )
-.fi
-void \f3glMultiTexCoord2dARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord2dARB( 'u
- GLdouble \fIs\fP,
- GLdouble \fIt\fP )
-.fi
-void \f3glMultiTexCoord2fARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord2fARB( 'u
- GLfloat \fIs\fP,
- GLfloat \fIt\fP )
-.fi
-void \f3glMultiTexCoord2iARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord2iARB( 'u
- GLint \fIs\fP,
- GLint \fIt\fP )
-.fi
-void \f3glMultiTexCoord2sARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord2sARB( 'u
- GLshort \fIs\fP,
- GLshort \fIt\fP )
-.fi
-void \f3glMultiTexCoord3dARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord3dARB( 'u
- GLdouble \fIs\fP,
- GLdouble \fIt\fP,
- GLdouble \fIr\fP )
-.fi
-void \f3glMultiTexCoord3fARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord3fARB( 'u
- GLfloat \fIs\fP,
- GLfloat \fIt\fP,
- GLfloat \fIr\fP )
-.fi
-void \f3glMultiTexCoord3iARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord3iARB( 'u
- GLint \fIs\fP,
- GLint \fIt\fP,
- GLint \fIr\fP )
-.fi
-void \f3glMultiTexCoord3sARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord3sARB( 'u
- GLshort \fIs\fP,
- GLshort \fIt\fP,
- GLshort \fIr\fP )
-.fi
-void \f3glMultiTexCoord4dARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord4dARB( 'u
- GLdouble \fIs\fP,
- GLdouble \fIt\fP,
- GLdouble \fIr\fP,
- GLdouble \fIq\fP )
-.fi
-void \f3glMultiTexCoord4fARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord4fARB( 'u
- GLfloat \fIs\fP,
- GLfloat \fIt\fP,
- GLfloat \fIr\fP,
- GLfloat \fIq\fP )
-.fi
-void \f3glMultiTexCoord4iARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord4iARB( 'u
- GLint \fIs\fP,
- GLint \fIt\fP,
- GLint \fIr\fP,
- GLint \fIq\fP )
-.fi
-void \f3glMultiTexCoord4sARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord4sARB( 'u
- GLshort \fIs\fP,
- GLshort \fIt\fP,
- GLshort \fIr\fP,
- GLshort \fIq\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies texture unit whose coordinates should be modified. The number
-of texture units is implementation dependent, but must be at least
-two. Must be one of \%\f3GL_TEXTURE\fP$i$\f3_ARB\fP where 0 \(<= $ i $ <
-\%\f3GL_MAX_TEXTURE_UNITS_ARB\fP, which is an implementation-dependent value.
-.TP
-\f2s\fP, \f2t\fP, \f2r\fP, \f2q\fP
-Specify \f2s\fP, \f2t\fP, \f2r\fP, and \f2q\fP texture coordinates for
-\f2target\fP texture unit. Not all parameters are present in all forms
-of the command.
-.SH C SPECIFICATION
-void \f3glMultiTexCoord1dvARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord1dvARB( 'u
- const GLdouble \fI*v\fP )
-.fi
-void \f3glMultiTexCoord1fvARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord1fvARB( 'u
- const GLfloat \fI*v\fP )
-.fi
-void \f3glMultiTexCoord1ivARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord1ivARB( 'u
- const GLint \fI*v\fP )
-.fi
-void \f3glMultiTexCoord1svARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord1svARB( 'u
- const GLshort \fI*v\fP )
-.fi
-void \f3glMultiTexCoord2dvARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord2dvARB( 'u
- const GLdouble \fI*v\fP )
-.fi
-void \f3glMultiTexCoord2fvARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord2fvARB( 'u
- const GLfloat \fI*v\fP )
-.fi
-void \f3glMultiTexCoord2ivARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord2ivARB( 'u
- const GLint \fI*v\fP )
-.fi
-void \f3glMultiTexCoord2svARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord2svARB( 'u
- const GLshort \fI*v\fP )
-.fi
-void \f3glMultiTexCoord3dvARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord3dvARB( 'u
- const GLdouble \fI*v\fP )
-.fi
-void \f3glMultiTexCoord3fvARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord3fvARB( 'u
- const GLfloat \fI*v\fP )
-.fi
-void \f3glMultiTexCoord3ivARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord3ivARB( 'u
- const GLint \fI*v\fP )
-.fi
-void \f3glMultiTexCoord3svARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord3svARB( 'u
- const GLshort \fI*v\fP )
-.fi
-void \f3glMultiTexCoord4dvARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord4dvARB( 'u
- const GLdouble \fI*v\fP )
-.fi
-void \f3glMultiTexCoord4fvARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord4fvARB( 'u
- const GLfloat \fI*v\fP )
-.fi
-void \f3glMultiTexCoord4ivARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord4ivARB( 'u
- const GLint \fI*v\fP )
-.fi
-void \f3glMultiTexCoord4svARB\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglMultiTexCoord4svARB( 'u
- const GLshort \fI*v\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2target\fP
-Specifies texture unit whose coordinates should be modified. The number
-of texture units is implementation dependent, but must be at least
-two. Must be one of \%\f3GL_TEXTURE\fP$i$\f3_ARB\fP,
-where 0 \(<= $ i $ < the implementation-dependent value of
-\%\f3GL_MAX_TEXTURE_UNITS_ARB\fP.
-.TP
-\f2v\fP
-Specifies a pointer to an array of one, two, three, or four elements,
-which in turn specify the \f2s\fP, \f2t\fP, \f2r\fP,
-and \f2q\fP texture coordinates.
-.SH DESCRIPTION
-\%\f3glMultiTexCoordARB\fP specifies texture coordinates in one, two, three, or four
-dimensions.
-\%\f3glMultiTexCoord1ARB\fP sets the current texture
-coordinates to (\f2s\fP,\ 0,\ 0,\ 1);
-a call to \%\f3glMultiTexCoord2ARB\fP
-sets them to (\f2s\fP,\ \f2t\fP,\ 0,\ 1).
-Similarly, \%\f3glMultiTexCoord3ARB\fP specifies the texture coordinates as
-(\f2s\fP,\ \f2t\fP,\ \f2r\fP,\ 1), and
-\%\f3glMultiTexCoord4ARB\fP
-defines all four components explicitly as
-(\f2s\fP,\ \f2t\fP,\ \f2r\fP,\ \f2q\fP).
-.P
-The current texture coordinates are part of the data
-that is associated with each vertex and with the current
-raster position.
-Initially, the values for
-\f2s\fP, \f2t\fP, \f2r\fP, \f2q\fP are (0,\ 0,\ 0,\ 1).
-.P
-.SH NOTES
-\%\f3glMultiTexCoordARB\fP is only supported if \%\f3GL_ARB_multitexture\fP is included in the
-string returned by \%\f3glGetString\fP when called with the argument
-\%\f3GL_EXTENSIONS\fP.
-.P
-The current texture coordinates can be updated at any time.
-In particular,
-\%\f3glMultiTexCoordARB\fP can be called between a call to \%\f3glBegin\fP and the corresponding
-call to \%\f3glEnd\fP.
-.P
-It is always the case that \%\f3GL_TEXTURE\fP$i$\f3_ARB\fP = \%\f3GL_TEXTURE0_ARB\fP + $i$.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_TEXTURE_COORDS\fP with appropriate
-texture unit selected.
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glClientActiveTextureARB(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/multmatrix.3gl b/doc/gl-docs/GL/gl/multmatrix.3gl
deleted file mode 100644
index faa9f9bc5..000000000
--- a/doc/gl-docs/GL/gl/multmatrix.3gl
+++ /dev/null
@@ -1,119 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 multmatri
-.ds Xs 32348 6 multmatrix.gl
-.TH GLMULTMATRIX 3G
-.SH NAME
-.B "glMultMatrixd, glMultMatrixf
-\- multiply the current matrix with the specified matrix
-
-.SH C SPECIFICATION
-void \f3glMultMatrixd\fP(
-const GLdouble \fI*m\fP )
-.nf
-.fi
-void \f3glMultMatrixf\fP(
-const GLfloat \fI*m\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2m\fP\ \ 'u
-\f2m\fP
-Points to 16 consecutive values that are used as the elements of
-a $4 ~times~ 4$ column-major matrix.
-.SH DESCRIPTION
-\%\f3glMultMatrix\fP multiplies the current matrix with the one specified using \f2m\fP, and
-replaces the current matrix with the product.
-.P
-The current matrix is determined by the current matrix mode (see \%\f3glMatrixMode\fP). It is either the projection matrix,
-modelview matrix,
-or the texture matrix.
-.SH EXAMPLES
-If the current matrix is $C$, and the coordinates
-to be transformed are, $v ~=~ (v[0], v[1], v[2], v[3])$.
-Then the current transformation is $C ~times~ v$, or
-.sp
-.ce
-.EQ
-down 130
-{{ left ( matrix {
- ccol { c[0] above c[1] above c[2] above c[3] }
- ccol { c[4] above c[5] above c[6] above c[7] }
- ccol { c[8] above c[9] above c[10] above c[11] }
- ccol { c[12]~ above c[13]~ above c[14]~ above c[15]~ }
-} right ) } ~~ times ~~
-{left ( matrix {
-ccol { v[0]~ above v[1]~ above v[2]~ above v[3]~ }
-} right )} }
-.EN
-.sp
-.P
-Calling \%\f3glMultMatrix\fP with an argument of $"m" ~=~ m[0], m[1], ..., m[15]$
-replaces the current transformation with $(C ~times~ M) ~times~ v$,
-or
-.sp
-.ce
-.EQ
-down 130
-{{ left ( matrix {
- ccol { c[0] above c[1] above c[2] above c[3] }
- ccol { c[4] above c[5] above c[6] above c[7] }
- ccol { c[8] above c[9] above c[10] above c[11] }
- ccol { c[12]~ above c[13]~ above c[14]~ above c[15]~ }
-} right ) } ~~ times ~~
-{ left ( matrix {
- ccol { m[0] above m[1] above m[2] above m[3] }
- ccol { m[4] above m[5] above m[6] above m[7] }
- ccol { m[8] above m[9] above m[10] above m[11] }
- ccol { m[12]~ above m[13]~ above m[14]~ above m[15]~ }
-} right ) } ~~ times ~~
-{left ( matrix {
-ccol { v[0]~ above v[1]~ above v[2]~ above v[3]~ }
-} right )} }
-.EN
-.sp
-.P
-Where '$times$' denotes matrix multiplication, and
-$v$ is represented as a $4 ~times~ 1$ matrix.
-.br
-.SH NOTES
-While the elements of the matrix may be specified with
-single or double precision, the GL may store or operate on these
-values in less than single precision.
-.P
-In many computer languages $4 ~times~ 4$ arrays are represented
-in row-major order. The transformations just described
-represent these matrices in column-major order.
-The order of the multiplication is important. For example, if the current
-transformation is a rotation, and \%\f3glMultMatrix\fP is called with a translation matrix,
-the translation is done directly on the coordinates to be transformed,
-while the rotation is done on the results of that translation.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glMultMatrix\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.SH SEE ALSO
-\%\f3glLoadIdentity(3G)\fP,
-\%\f3glLoadMatrix(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glPushMatrix(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/newlist.3gl b/doc/gl-docs/GL/gl/newlist.3gl
deleted file mode 100644
index f0c4de0ff..000000000
--- a/doc/gl-docs/GL/gl/newlist.3gl
+++ /dev/null
@@ -1,153 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 newlist.g
-.ds Xs 55434 7 newlist.gl
-.TH GLNEWLIST 3G
-.SH NAME
-.B "glNewList, glEndList
-\- create or replace a display list
-
-.SH C SPECIFICATION
-void \f3glNewList\fP(
-GLuint \fIlist\fP,
-.nf
-.ta \w'\f3void \fPglNewList( 'u
- GLenum \fImode\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2list\fP\ \ 'u
-\f2list\fP
-Specifies the display-list name.
-.TP
-\f2mode\fP
-Specifies the compilation mode,
-which can be
-\%\f3GL_COMPILE\fP or
-\%\f3GL_COMPILE_AND_EXECUTE\fP.
-.SH C SPECIFICATION
-void \f3glEndList\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-Display lists are groups of GL commands that have been stored
-for subsequent execution.
-Display lists are created with \%\f3glNewList\fP.
-All subsequent commands are placed in the display list,
-in the order issued,
-until \%\f3glEndList\fP is called.
-.P
-\%\f3glNewList\fP has two arguments.
-The first argument,
-\f2list\fP,
-is a positive integer that becomes the unique name for the display list.
-Names can be created and reserved with \%\f3glGenLists\fP
-and tested for uniqueness with \%\f3glIsList\fP.
-The second argument,
-\f2mode\fP,
-is a symbolic constant that can assume one of two values:
-.TP 30
-\%\f3GL_COMPILE\fP
-Commands are merely compiled.
-.TP
-\%\f3GL_COMPILE_AND_EXECUTE\fP
-Commands are executed as they are compiled into the display list.
-.P
-Certain commands are not compiled into the display list
-but are executed immediately,
-regardless of the display-list mode.
-These commands are
-\%\f3glAreTexturesResident\fP,
-\%\f3glColorPointer\fP,
-\%\f3glDeleteLists\fP,
-\%\f3glDeleteTextures\fP,
-\%\f3glDisableClientState\fP,
-\%\f3glEdgeFlagPointer\fP,
-\%\f3glEnableClientState\fP,
-\%\f3glFeedbackBuffer\fP,
-\%\f3glFinish\fP,
-\%\f3glFlush\fP,
-\%\f3glGenLists\fP,
-\%\f3glGenTextures\fP,
-\%\f3glIndexPointer\fP,
-\%\f3glInterleavedArrays\fP,
-\%\f3glIsEnabled\fP,
-\%\f3glIsList\fP,
-\%\f3glIsTexture\fP,
-\%\f3glNormalPointer\fP,
-\%\f3glPopClientAttrib\fP,
-\%\f3glPixelStore\fP,
-\%\f3glPushClientAttrib\fP,
-\%\f3glReadPixels\fP,
-\%\f3glRenderMode\fP,
-\%\f3glSelectBuffer\fP,
-\%\f3glTexCoordPointer\fP,
-\%\f3glVertexPointer\fP,
-and all of the \%\f3glGet\fP commands.
-.P
-Similarly,
-\%\f3glTexImage1D\fP, \%\f3glTexImage2D\fP, and \%\f3glTexImage3D\fP
-are executed immediately and not compiled into the display list when their
-first argument is \%\f3GL_PROXY_TEXTURE_1D\fP, \%\f3GL_PROXY_TEXTURE_1D\fP, or
-\%\f3GL_PROXY_TEXTURE_3D\fP, respectively.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported,
-\%\f3glHistogram\fP executes immediately when its argument is
-\%\f3GL_PROXY_HISTOGRAM\fP. Similarly, \%\f3glColorTable\fP executes
-immediately when its first argument is \%\f3glPROXY_COLOR_TABLE\fP,
-\%\f3glPROXY_POST_CONVOLUTION_COLOR_TABLE\fP, or
-\%\f3glPROXY_POST_COLOR_MATRIX_COLOR_TABLE\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported,
-\%\f3glClientActiveTextureARB\fP is not compiled into display lists, but
-executed immediately.
-.P
-When \%\f3glEndList\fP is encountered,
-the display-list definition is completed by associating the list
-with the unique name \f2list\fP
-(specified in the \%\f3glNewList\fP command).
-If a display list with name \f2list\fP already exists,
-it is replaced only when \%\f3glEndList\fP is called.
-.SH NOTES
-\%\f3glCallList\fP and \%\f3glCallLists\fP can be entered into display lists.
-Commands in the display list or lists executed by \%\f3glCallList\fP
-or \%\f3glCallLists\fP are not included in the display list being created,
-even if the list creation mode is \%\f3GL_COMPILE_AND_EXECUTE\fP.
-.P
-A display list is just a group of commands and arguments, so errors
-generated by commands in a display list must be generated when the list is
-executed. If the list is created in \%\f3GL_COMPILE\fP mode, errors are
-not generated until the list is executed.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2list\fP is 0.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glEndList\fP is called
-without a preceding \%\f3glNewList\fP,
-or if \%\f3glNewList\fP is called while a display list is being defined.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glNewList\fP or \%\f3glEndList\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_OUT_OF_MEMORY\fP is generated if there is insufficient memory to
-compile the display list. If the GL version is 1.1 or greater, no
-change is made to the previous contents of the display list, if any,
-and no other change is made to the GL state. (It is as if no attempt
-had been made to create the new display list.)
-.SH ASSOCIATED GETS
-\%\f3glIsList\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_LIST_INDEX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_LIST_MODE\fP
-.SH SEE ALSO
-\%\f3glCallList(3G)\fP,
-\%\f3glCallLists(3G)\fP,
-\%\f3glDeleteLists(3G)\fP,
-\%\f3glGenLists(3G)\fP
diff --git a/doc/gl-docs/GL/gl/normal.3gl b/doc/gl-docs/GL/gl/normal.3gl
deleted file mode 100644
index 650bbedb4..000000000
--- a/doc/gl-docs/GL/gl/normal.3gl
+++ /dev/null
@@ -1,123 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 normal.gl
-.ds Xs 22982 4 normal.gl
-.TH GLNORMAL 3G
-.SH NAME
-.B "glNormal3b, glNormal3d, glNormal3f, glNormal3i, glNormal3s, glNormal3bv, glNormal3dv, glNormal3fv, glNormal3iv, glNormal3sv
-\- set the current normal vector
-
-.EQ
-delim $$
-.EN
-.SH C SPECIFICATION
-void \f3glNormal3b\fP(
-GLbyte \fInx\fP,
-.nf
-.ta \w'\f3void \fPglNormal3b( 'u
- GLbyte \fIny\fP,
- GLbyte \fInz\fP )
-.fi
-void \f3glNormal3d\fP(
-GLdouble \fInx\fP,
-.nf
-.ta \w'\f3void \fPglNormal3d( 'u
- GLdouble \fIny\fP,
- GLdouble \fInz\fP )
-.fi
-void \f3glNormal3f\fP(
-GLfloat \fInx\fP,
-.nf
-.ta \w'\f3void \fPglNormal3f( 'u
- GLfloat \fIny\fP,
- GLfloat \fInz\fP )
-.fi
-void \f3glNormal3i\fP(
-GLint \fInx\fP,
-.nf
-.ta \w'\f3void \fPglNormal3i( 'u
- GLint \fIny\fP,
- GLint \fInz\fP )
-.fi
-void \f3glNormal3s\fP(
-GLshort \fInx\fP,
-.nf
-.ta \w'\f3void \fPglNormal3s( 'u
- GLshort \fIny\fP,
- GLshort \fInz\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2nx\fP\ \f2ny\fP\ \f2nz\fP\ \ 'u
-\f2nx\fP, \f2ny\fP, \f2nz\fP
-Specify the $x$, $y$, and $z$ coordinates of the new current normal.
-The initial value of the current normal is the unit vector, (0, 0, 1).
-.P
-.SH C SPECIFICATION
-void \f3glNormal3bv\fP(
-const GLbyte \fI*v\fP )
-.nf
-.fi
-void \f3glNormal3dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glNormal3fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glNormal3iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glNormal3sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f2v\fP
-Specifies a pointer to an array of three elements:
-the $x$, $y$, and $z$ coordinates of the new current normal.
-.P
-.SH DESCRIPTION
-The current normal is set to the given coordinates
-whenever \%\f3glNormal\fP is issued.
-Byte, short, or integer arguments are converted to floating-point
- with a linear mapping that maps the most positive representable integer
-value to 1.0,
-and the most negative representable integer value to \-1.0.
-.P
-Normals specified with \%\f3glNormal\fP need not have unit length.
-If \%\f3GL_NORMALIZE\fP is enabled,
-then normals of any length specified with \%\f3glNormal\fP are normalized after transformation.
-If \%\f3GL_RESCALE_NORMAL\fP is enabled, normals are scaled by a scaling factor
-derived from the modelview matrix. \%\f3GL_RESCALE_NORMAL\fP requires that the
-originally specified normals were of unit length, and that the modelview
-matrix contain only uniform scales for proper results.
-To enable and disable normalization, call \%\f3glEnable\fP and \%\f3glDisable\fP
-with either \%\f3GL_NORMALIZE\fP or \%\f3GL_RESCALE_NORMAL\fP.
-Normalization is initially disabled.
-.SH NOTES
-The current normal can be updated at any time.
-In particular, \%\f3glNormal\fP can be called between a call to \%\f3glBegin\fP and
-the corresponding call to \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_NORMAL\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_NORMALIZE\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_RESCALE_NORMAL\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glColor(3G)\fP,
-\%\f3glIndex(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glVertex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/normalpointer.3gl b/doc/gl-docs/GL/gl/normalpointer.3gl
deleted file mode 100644
index a1f23a43b..000000000
--- a/doc/gl-docs/GL/gl/normalpointer.3gl
+++ /dev/null
@@ -1,113 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 normalpoi
-.ds Xs 28721 6 normalpointer.gl
-.TH GLNORMALPOINTER 3G
-.SH NAME
-.B "glNormalPointer
-\- define an array of normals
-
-.SH C SPECIFICATION
-void \f3glNormalPointer\fP(
-GLenum \fItype\fP,
-.nf
-.ta \w'\f3void \fPglNormalPointer( 'u
- GLsizei \fIstride\fP,
- const GLvoid \fI*ptr\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIstride\fP\ \ 'u
-\f2type\fP
-Specifies the data type of each coordinate in the array.
-Symbolic constants
-\%\f3GL_BYTE\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP, and
-\%\f3GL_DOUBLE\fP
-are accepted. The initial value is \%\f3GL_FLOAT\fP.
-.TP
-\f2stride\fP
-Specifies the byte offset between consecutive normals. If \f2stride\fP is 0\-
-the initial value\-the normals are understood to be tightly packed in
-the array.
-The initial value is 0.
-.TP
-\f2ptr\fP
-Specifies a pointer to the first coordinate of the first normal in the
-array.
-The initial value is 0.
-.SH DESCRIPTION
-\%\f3glNormalPointer\fP specifies the location and data of an array of normals
-to use when rendering.
-\f2type\fP specifies the data type of
-the normal coordinates and \f2stride\fP gives the byte stride from one
-normal to the next, allowing vertices and attributes
-to be packed into a single array or stored in separate arrays.
-(Single-array storage may be more efficient on some implementations;
-see \%\f3glInterleavedArrays\fP.)
-When a normal array is specified, \f2type\fP, \f2stride\fP, and \f2ptr\fP are
-saved as client-side state.
-.P
-To enable and disable the normal array, call \%\f3glEnableClientState\fP and
-\%\f3glDisableClientState\fP with the argument \%\f3GL_NORMAL_ARRAY\fP. If
-enabled, the normal array is used
-when \%\f3glDrawArrays\fP, \%\f3glDrawElements\fP, or \%\f3glArrayElement\fP is called.
-.P
-Use \%\f3glDrawArrays\fP to construct a sequence of primitives (all of the
-same type) from prespecified vertex and vertex attribute arrays.
-Use \%\f3glArrayElement\fP to specify primitives
-by indexing vertices and vertex attributes and \%\f3glDrawElements\fP to
-construct a sequence of primitives by indexing vertices and vertex attributes.
-.SH NOTES
-\%\f3glNormalPointer\fP is available only if the GL version is 1.1 or greater.
-.P
-The normal array is initially disabled and isn't accessed when
-\%\f3glArrayElement\fP, \%\f3glDrawElements\fP, or \%\f3glDrawArrays\fP is called.
-.P
-Execution of \%\f3glNormalPointer\fP is not allowed between
-\%\f3glBegin\fP and the corresponding \%\f3glEnd\fP,
-but an error may or may not be generated. If an error is not generated,
-the operation is undefined.
-.P
-\%\f3glNormalPointer\fP is typically implemented on the client side.
-.P
-Since the normal array parameters are client-side state, they are not
-saved or restored by \%\f3glPushAttrib\fP and \%\f3glPopAttrib\fP.
-Use \%\f3glPushClientAttrib\fP and
-\%\f3glPopClientAttrib\fP instead.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2stride\fP is negative.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_NORMAL_ARRAY\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_NORMAL_ARRAY_TYPE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_NORMAL_ARRAY_STRIDE\fP
-.br
-\%\f3glGetPointerv\fP with argument \%\f3GL_NORMAL_ARRAY_POINTER\fP
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glPopClientAttrib(3G)\fP,
-\%\f3glPushClientAttrib(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/ortho.3gl b/doc/gl-docs/GL/gl/ortho.3gl
deleted file mode 100644
index 6f31b804e..000000000
--- a/doc/gl-docs/GL/gl/ortho.3gl
+++ /dev/null
@@ -1,105 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 ortho.gl
-.ds Xs 2001 5 ortho.gl
-.TH GLORTHO 3G
-.SH NAME
-.B "glOrtho
-\- multiply the current matrix with an orthographic matrix
-
-.SH C SPECIFICATION
-void \f3glOrtho\fP(
-GLdouble \fIleft\fP,
-.nf
-.ta \w'\f3void \fPglOrtho( 'u
- GLdouble \fIright\fP,
- GLdouble \fIbottom\fP,
- GLdouble \fItop\fP,
- GLdouble \fInear_val\fP,
- GLdouble \fIfar_val\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2left\fP\ \f2right\fP\ \ 'u
-\f2left\fP, \f2right\fP
-Specify the coordinates for the left and right vertical clipping planes.
-.TP
-\f2bottom\fP, \f2top\fP
-Specify the coordinates for the bottom and top horizontal clipping planes.
-.TP
-\f2near_val\fP, \f2far_val\fP
-Specify the distances to the nearer and farther depth clipping planes.
-These values are negative if the plane is to be behind the viewer.
-.SH DESCRIPTION
-\%\f3glOrtho\fP describes a transformation that produces a parallel projection.
-The current matrix (see \%\f3glMatrixMode\fP) is multiplied by this matrix
-and the result replaces the current matrix, as if
-\%\f3glMultMatrix\fP were called with the following matrix
-as its argument:
-.sp
-.ce
-.EQ
-left ( matrix {
- ccol { {2 over {"right" - "left"}} above 0 above 0 above 0 }
- ccol { 0 above {2 over {"top" - "bottom"}} above 0 above 0 }
- ccol { 0 above 0 above {-2 over {"far_val" - "near_val"}} above 0 }
- ccol { {t sub x}~ above {t sub y}~ above {t sub z}~ above 1~ }
-} right )
-.EN
-.BP
-.P
-where
-.ce
-.EQ
-t sub x ~=~ -^{{"right" ~+~ "left"} over {"right" ~-~ "left"}}
-.EN
-
-.ce
-.EQ
-t sub y ~=~ -^{{"top" ~+~ "bottom"} over {"top" ~-~ "bottom"}}
-.EN
-
-.ce
-.EQ
-t sub z ~=~ -^{{"far_val" ~+~ "near_val"} over {"far_val" ~-~ "near_val"}}
-.EN
-
-.RE
-.P
-Typically, the matrix mode is \%\f3GL_PROJECTION\fP, and
-(\f2left\fP, \f2bottom\fP, \-\f2near_val\fP) and (\f2right\fP, \f2top\fP, \-\f2near_val\fP)
-specify the points on the near clipping plane that are mapped
-to the lower left and upper right corners of the window,
-respectively,
-assuming that the eye is located at (0, 0, 0).
-\-\f2far_val\fP specifies the location of the far clipping plane.
-Both \f2near_val\fP and \f2far_val\fP can be either positive or negative.
-.P
-Use \%\f3glPushMatrix\fP and \%\f3glPopMatrix\fP to save and restore
-the current matrix stack.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glOrtho\fP
-is executed between the execution of
-\%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.SH SEE ALSO
-\%\f3glFrustum(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glMultMatrix(3G)\fP,
-\%\f3glPushMatrix(3G)\fP,
-\%\f3glViewport(3G)\fP
diff --git a/doc/gl-docs/GL/gl/passthrough.3gl b/doc/gl-docs/GL/gl/passthrough.3gl
deleted file mode 100644
index 0610a849c..000000000
--- a/doc/gl-docs/GL/gl/passthrough.3gl
+++ /dev/null
@@ -1,55 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 passthrou
-.ds Xs 49492 4 passthrough.gl
-.TH GLPASSTHROUGH 3G
-.SH NAME
-.B "glPassThrough
-\- place a marker in the feedback buffer
-
-.SH C SPECIFICATION
-void \f3glPassThrough\fP(
-GLfloat \fItoken\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2token\fP\ \ 'u
-\f2token\fP
-Specifies a marker value to be placed in the feedback buffer
-following a \%\f3GL_PASS_THROUGH_TOKEN\fP.
-.SH DESCRIPTION
-.P
-Feedback is a GL render mode.
-The mode is selected by calling
-\%\f3glRenderMode\fP with \%\f3GL_FEEDBACK\fP.
-When the GL is in feedback mode,
-no pixels are produced by rasterization.
-Instead,
-information about primitives that would have been rasterized
-is fed back to the application using the GL.
-See the \%\f3glFeedbackBuffer\fP reference page for a description of the
-feedback buffer and the values in it.
-.P
-\%\f3glPassThrough\fP inserts a user-defined marker in the feedback buffer
-when it is executed in feedback mode.
-\f2token\fP is returned as if it were a primitive;
-it is indicated with its own unique identifying value:
-\%\f3GL_PASS_THROUGH_TOKEN\fP.
-The order of \%\f3glPassThrough\fP commands with respect to the specification
-of graphics primitives is maintained.
-.SH NOTES
-\%\f3glPassThrough\fP is ignored if the GL is not in feedback mode.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPassThrough\fP is executed between
-the execution of \%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_RENDER_MODE\fP
-.SH SEE ALSO
-\%\f3glFeedbackBuffer(3G)\fP,
-\%\f3glRenderMode(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pixelmap.3gl b/doc/gl-docs/GL/gl/pixelmap.3gl
deleted file mode 100644
index 93640731c..000000000
--- a/doc/gl-docs/GL/gl/pixelmap.3gl
+++ /dev/null
@@ -1,252 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pixelmap.
-.ds Xs 20188 9 pixelmap.gl
-.TH GLPIXELMAP 3G
-.SH NAME
-.B "glPixelMapfv, glPixelMapuiv, glPixelMapusv
-\- set up pixel transfer maps
-
-.SH C SPECIFICATION
-void \f3glPixelMapfv\fP(
-GLenum \fImap\fP,
-.nf
-.ta \w'\f3void \fPglPixelMapfv( 'u
- GLint \fImapsize\fP,
- const GLfloat \fI*values\fP )
-.fi
-void \f3glPixelMapuiv\fP(
-GLenum \fImap\fP,
-.nf
-.ta \w'\f3void \fPglPixelMapuiv( 'u
- GLint \fImapsize\fP,
- const GLuint \fI*values\fP )
-.fi
-void \f3glPixelMapusv\fP(
-GLenum \fImap\fP,
-.nf
-.ta \w'\f3void \fPglPixelMapusv( 'u
- GLint \fImapsize\fP,
- const GLushort \fI*values\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fImapsize\fP\ \ 'u
-\f2map\fP
-.na
-Specifies a symbolic map name.
-Must be one of the following:
-\%\f3GL_PIXEL_MAP_I_TO_I\fP,
-\%\f3GL_PIXEL_MAP_S_TO_S\fP,
-\%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP,
-\%\f3GL_PIXEL_MAP_I_TO_A\fP,
-\%\f3GL_PIXEL_MAP_R_TO_R\fP,
-\%\f3GL_PIXEL_MAP_G_TO_G\fP,
-\%\f3GL_PIXEL_MAP_B_TO_B\fP, or
-\%\f3GL_PIXEL_MAP_A_TO_A\fP.
-.TP
-\f2mapsize\fP
-Specifies the size of the map being defined.
-.TP
-\f2values\fP
-Specifies an array of \f2mapsize\fP values.
-.SH DESCRIPTION
-\%\f3glPixelMap\fP sets up translation tables,
-or \f2maps\fP,
-used by
-\%\f3glCopyPixels\fP,
-\%\f3glCopyTexImage1D\fP,
-\%\f3glCopyTexImage2D\fP,
-\%\f3glCopyTexSubImage1D\fP,
-\%\f3glCopyTexSubImage2D\fP,
-\%\f3glCopyTexSubImage3D\fP,
-\%\f3glDrawPixels\fP,
-\%\f3glReadPixels\fP,
-\%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP,
-\%\f3glTexImage3D\fP,
-\%\f3glTexSubImage1D\fP,
-\%\f3glTexSubImage2D\fP, and
-\%\f3glTexSubImage3D\fP.
-Additionally, if the \%\f3GL_ARB_imaging\fP subset is supported, the
-routines
-\%\f3glColorTable\fP,
-\%\f3glColorSubTable\fP,
-\%\f3glConvolutionFilter1D\fP,
-\%\f3glConvolutionFilter2D\fP,
-\%\f3glHistogram\fP,
-\%\f3glMinmax\fP, and
-\%\f3glSeparableFilter2D\fP.
-Use of these maps is described completely in the
-\%\f3glPixelTransfer\fP reference page,
-and partly in the reference pages for the pixel and texture image commands.
-Only the specification of the maps is described in this reference page.
-.P
-\f2map\fP is a symbolic map name,
-indicating one of ten maps to set.
-\f2mapsize\fP specifies the number of entries in the map,
-and \f2values\fP is a pointer to an array of \f2mapsize\fP map values.
-.P
-The ten maps are as follows:
-.TP 30
-\%\f3GL_PIXEL_MAP_I_TO_I\fP
-Maps color indices to color indices.
-.TP
-\%\f3GL_PIXEL_MAP_S_TO_S\fP
-Maps stencil indices to stencil indices.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_R\fP
-Maps color indices to red components.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_G\fP
-Maps color indices to green components.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_B\fP
-Maps color indices to blue components.
-.TP
-\%\f3GL_PIXEL_MAP_I_TO_A\fP
-Maps color indices to alpha components.
-.TP
-\%\f3GL_PIXEL_MAP_R_TO_R\fP
-Maps red components to red components.
-.TP
-\%\f3GL_PIXEL_MAP_G_TO_G\fP
-Maps green components to green components.
-.TP
-\%\f3GL_PIXEL_MAP_B_TO_B\fP
-Maps blue components to blue components.
-.TP
-\%\f3GL_PIXEL_MAP_A_TO_A\fP
-Maps alpha components to alpha components.
-.P
-The entries in a map can be specified as single-precision
-floating-point numbers,
-unsigned short integers,
-or unsigned long integers.
-Maps that store color component values
-(all but \%\f3GL_PIXEL_MAP_I_TO_I\fP and \%\f3GL_PIXEL_MAP_S_TO_S\fP)
-retain their values in floating-point ,
-with unspecified mantissa and exponent sizes.
-Floating-point values specified by \%\f3glPixelMapfv\fP are converted directly
-to the internal floating-point of these maps,
-then clamped to the range [0,1].
-Unsigned integer values specified by \%\f3glPixelMapusv\fP and
-\%\f3glPixelMapuiv\fP are converted linearly such that
-the largest representable integer maps to 1.0,
-and 0 maps to 0.0.
-.P
-Maps that store indices,
-\%\f3GL_PIXEL_MAP_I_TO_I\fP and \%\f3GL_PIXEL_MAP_S_TO_S\fP,
-retain their values in fixed-point ,
-with an unspecified number of bits to the right of the binary point.
-Floating-point values specified by \%\f3glPixelMapfv\fP are converted directly
-to the internal fixed-point of these maps.
-Unsigned integer values specified by \%\f3glPixelMapusv\fP and
-\%\f3glPixelMapuiv\fP specify integer values,
-with all 0's to the right of the binary point.
-.P
-The following table shows the initial sizes and values for each of the maps.
-Maps that are indexed by either color or stencil indices must have
-\f2mapsize\fP = $2 sup n$ for some $n$ or the results are undefined.
-The maximum allowable size for each map depends on the implementation
-and can be determined by calling \%\f3glGet\fP with argument
-\%\f3GL_MAX_PIXEL_MAP_TABLE\fP.
-The single maximum applies to all maps; it is at
-least 32.
-.bp
-.TS
-center tab(:) delim($$) ;
-lb cb cb cb cb
-l c c c c.
-_
-\f2map\fP:Lookup Index:Lookup Value:Initial Size:Initial Value
-_
-\%\f3GL_PIXEL_MAP_I_TO_I\fP:color index:color index:1:0
-\%\f3GL_PIXEL_MAP_S_TO_S\fP:stencil index :stencil index :1:0
-\%\f3GL_PIXEL_MAP_I_TO_R\fP:color index :R:1:0
-\%\f3GL_PIXEL_MAP_I_TO_G\fP:color index :G:1:0
-\%\f3GL_PIXEL_MAP_I_TO_B\fP:color index:B:1:0
-\%\f3GL_PIXEL_MAP_I_TO_A\fP:color index:A:1:0
-\%\f3GL_PIXEL_MAP_R_TO_R\fP:R:R:1:0
-\%\f3GL_PIXEL_MAP_G_TO_G\fP:G:G:1:0
-\%\f3GL_PIXEL_MAP_B_TO_B\fP:B:B:1:0
-\%\f3GL_PIXEL_MAP_A_TO_A\fP:A:A:1:0
-_
-.TE
-
-.RE
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2map\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2mapsize\fP is less than one
-or larger than \%\f3GL_MAX_PIXEL_MAP_TABLE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2map\fP is
-\%\f3GL_PIXEL_MAP_I_TO_I\fP,
-\%\f3GL_PIXEL_MAP_S_TO_S\fP,
-\%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP, or
-\%\f3GL_PIXEL_MAP_I_TO_A\fP,
-and \f2mapsize\fP is not a power of two.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPixelMap\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetPixelMap\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_I_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_S_TO_S_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_R_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_G_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_B_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_I_TO_A_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_R_TO_R_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_G_TO_G_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_B_TO_B_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PIXEL_MAP_A_TO_A_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_PIXEL_MAP_TABLE\fP
-.SH SEE ALSO
-\%\f3glColorTable(3G)\fP,
-\%\f3glColorSubTable(3G)\fP,
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glHistogram(3G)\fP,
-\%\f3glMinmax(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glReadPixels(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pixelstore.3gl b/doc/gl-docs/GL/gl/pixelstore.3gl
deleted file mode 100644
index a9d68ea36..000000000
--- a/doc/gl-docs/GL/gl/pixelstore.3gl
+++ /dev/null
@@ -1,506 +0,0 @@
-.\" $XFree86$
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pixelstor
-.ds Xs 12758 17 pixelstore.gl
-.TH GLPIXELSTORE 3G
-.SH NAME
-.B "glPixelStoref, glPixelStorei
-\- set pixel storage modes
-
-.SH C SPECIFICATION
-void \f3glPixelStoref\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglPixelStoref( 'u
- GLfloat \fIparam\fP )
-.fi
-void \f3glPixelStorei\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglPixelStorei( 'u
- GLint \fIparam\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2pname\fP\ \ 'u
-\f2pname\fP
-Specifies the symbolic name of the parameter to be set.
-Six values affect the packing of pixel data into memory:
-\%\f3GL_PACK_SWAP_BYTES\fP,
-\%\f3GL_PACK_LSB_FIRST\fP,
-\%\f3GL_PACK_ROW_LENGTH\fP,
-\%\f3GL_PACK_IMAGE_HEIGHT\fP,
-\%\f3GL_PACK_SKIP_PIXELS\fP,
-\%\f3GL_PACK_SKIP_ROWS\fP,
-\%\f3GL_PACK_SKIP_IMAGES\fP, and
-\%\f3GL_PACK_ALIGNMENT\fP.
-Six more affect the unpacking of pixel data \f2from\fP memory:
-\%\f3GL_UNPACK_SWAP_BYTES\fP,
-\%\f3GL_UNPACK_LSB_FIRST\fP,
-\%\f3GL_UNPACK_ROW_LENGTH\fP,
-\%\f3GL_UNPACK_IMAGE_HEIGHT\fP,
-\%\f3GL_UNPACK_SKIP_PIXELS\fP,
-\%\f3GL_UNPACK_SKIP_ROWS\fP,
-\%\f3GL_UNPACK_SKIP_IMAGES\fP, and
-\%\f3GL_UNPACK_ALIGNMENT\fP.
-.TP
-\f2param\fP
-Specifies the value that \f2pname\fP is set to.
-.SH DESCRIPTION
-
-\%\f3glPixelStore\fP sets pixel storage modes that affect the operation of subsequent
-\%\f3glDrawPixels\fP and \%\f3glReadPixels\fP as well as the unpacking of
-polygon stipple patterns (see \%\f3glPolygonStipple\fP), bitmaps (see
-\%\f3glBitmap\fP), texture patterns (see \%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP, \%\f3glTexImage3D\fP, \%\f3glTexSubImage1D\fP,
-\%\f3glTexSubImage2D\fP, \%\f3glTexSubImage3D\fP).
-Additionally, if the \%\f3GL_ARB_imaging\fP extension is supported, pixle
-storage modes affect convlution filters
-(see \%\f3glConvolutionFilter1D\fP, \%\f3glConvolutionFilter2D\fP, and
-\%\f3glSeparableFilter2D\fP, color table (see \%\f3glColorTable\fP, and
-\%\f3glColorSubTable\fP, and unpacking histogram (See \%\f3glHistogram\fP),
-and minmax (See \%\f3glMinmax\fP) data.
-.P
-\f2pname\fP is a symbolic constant indicating the parameter to be set, and
-\f2param\fP is the new value. Six of the twelve storage parameters affect
-how pixel data is returned to client memory.
-They are as follows:
-.TP 10
-\%\f3GL_PACK_SWAP_BYTES\fP
-If true,
-byte ordering for multibyte color components,
-depth components,
-color indices,
-or stencil indices
-is reversed.
-That is,
-if a four-byte component consists of bytes
-$b sub 0$,
-$b sub 1$,
-$b sub 2$,
-$b sub 3$,
-it is stored in memory as
-$b sub 3$,
-$b sub 2$,
-$b sub 1$,
-$b sub 0$
-if \%\f3GL_PACK_SWAP_BYTES\fP is true.
-\%\f3GL_PACK_SWAP_BYTES\fP has no effect on the memory order of components
-within a pixel,
-only on the order of bytes within components or indices.
-For example,
-the three components of a \%\f3GL_RGB\fP pixel are always stored with
-red first,
-green second,
-and blue third,
-regardless of the value of \%\f3GL_PACK_SWAP_BYTES\fP.
-.TP
-\%\f3GL_PACK_LSB_FIRST\fP
-If true,
-bits are ordered within a byte from least significant to most significant;
-otherwise,
-the first bit in each byte is the most significant one.
-This parameter is significant for bitmap data only.
-.TP
-\%\f3GL_PACK_ROW_LENGTH\fP
-If greater than 0,
-\%\f3GL_PACK_ROW_LENGTH\fP defines the number of pixels in a row.
-If the first pixel of a row is placed at location $p$ in memory,
-then the location of the first pixel of the next row is obtained by skipping
-.sp
-.ce
-$k ~=~~ left { ^ lpile { n l above {a over s left ceiling { s n l } over a right ceiling}} ~~ lpile {s ~>=~ a above s ~<~ a }$
-.sp
-components or indices,
-where $n$ is the number of components or indices in a pixel,
-$l$ is the number of pixels in a row
-(\%\f3GL_PACK_ROW_LENGTH\fP if it is greater than 0,
-the $width$ argument to the pixel routine otherwise),
-$a$ is the value of \%\f3GL_PACK_ALIGNMENT\fP, and
-$s$ is the size, in bytes, of a single component
-(if $ a < s$, then it is as if $a ~=~ s$).
-In the case of 1-bit values,
-the location of the next row is obtained by skipping
-.sp
-.ce
-$k ~=~ 8 a left ceiling { n l } over { 8 a } ^ right ceiling$
-.sp
-components or indices.
-.IP
-The word \f2component\fP in this description refers to the nonindex values
-red,
-green,
-blue,
-alpha,
-and depth.
-Storage \%\f3GL_RGB\fP,
-for example,
-has three components per pixel:
-first red,
-then green,
-and finally blue.
-.TP
-\%\f3GL_PACK_IMAGE_HEIGHT\fP
-If greater than 0,
-\%\f3GL_PACK_IMAGE_HEIGHT\fP defines the number of pixels in an image
-three-dimensional texture volume.
-Where ``image'' is defined by all pixels sharing the same third
-dimension index.
-If the first pixel of a row is placed at location $p$ in memory,
-then the location of the first pixel of the next row is obtained by skipping
-.sp
-.ce
-$k ~=~~ left { ~ lpile { n l h above {a over s left ceiling { s n l h }
-over a ^ right ceiling}} ~~ lpile {s ~>=~ a above s ~<~ a }$
-.sp
-components or indices, where $n$ is the number of components or indices
-in a pixel, $l$ is the number of pixels in a row
-(\%\f3GL_PACK_ROW_LENGTH\fP if it is greater than 0, the
-$width$ argument to \%\f3glTexImage3d\fP otherwise), $h$ is the number of
-rows in a pixel image (\%\f3GL_PACK_IMAGE_HEIGHT\fP if it is greater than
-0, the $height$ argument to the \%\f3glTexImage3D\fP routine otherwise),
-$a$ is the value of
-\%\f3GL_PACK_ALIGNMENT\fP, and $s$ is the size, in bytes, of a single
-component (if $ a < s$, then it is as if $a = s$).
-.IP
-The word \f2component\fP in this description refers to the nonindex values
-red,
-green,
-blue,
-alpha,
-and depth.
-Storage \%\f3GL_RGB\fP,
-for example,
-has three components per pixel:
-first red,
-then green,
-and finally blue.
-.TP
-\%\f3GL_PACK_SKIP_PIXELS\fP, \%\f3GL_PACK_SKIP_ROWS\fP, and \%\f3GL_PACK_SKIP_IMAGES\fP
-These values are provided as a convenience to the programmer;
-they provide no functionality that cannot be duplicated simply by
-incrementing the pointer passed to \%\f3glReadPixels\fP.
-Setting \%\f3GL_PACK_SKIP_PIXELS\fP to $i$ is equivalent to incrementing
-the pointer by $i n$ components or indices,
-where $n$ is the number of components or indices in each pixel.
-Setting \%\f3GL_PACK_SKIP_ROWS\fP to $j$ is equivalent to incrementing
-the pointer by $j m$ components or indices,
-where $m$ is the number of components or indices per row,
-as just computed in the \%\f3GL_PACK_ROW_LENGTH\fP section.
-Setting \%\f3GL_PACK_SKIP_IMAGES\fP to $k$ is equivalent to incrementing
-the pointer by $k p$, where $p$ is the number of components or indices
-per image, as computed in the \%\f3GL_PACK_IMAGE_HEIGHT\fP section.
-.TP
-\%\f3GL_PACK_ALIGNMENT\fP
-Specifies the alignment requirements for the start of each pixel row in memory.
-The allowable values are
-1 (byte-alignment),
-2 (rows aligned to even-numbered bytes),
-4 (word-alignment), and
-8 (rows start on double-word boundaries).
-.P
-The other six of the twelve storage parameters affect how pixel data is
-read from client memory.
-These values are significant for \%\f3glDrawPixels\fP,
-\%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP,
-\%\f3glTexImage3D\fP,
-\%\f3glTexSubImage1D\fP,
-\%\f3glTexSubImage2D\fP,
-\%\f3glTexSubImage3D\fP,
-\%\f3glBitmap\fP, and
-\%\f3glPolygonStipple\fP.
-.P
-Additionally, if the \%\f3GL_ARB_imaging\fP extension is supported,
-\%\f3glColorTable\fP,
-\%\f3glColorSubTable\fP,
-\%\f3glConvolutionFilter1D\fP,
-\%\f3glConvolutionFilter2D\fP, and
-\%\f3glSeparableFilter2D\fP.
-They are as follows:
-.TP
-\%\f3GL_UNPACK_SWAP_BYTES\fP
-If true,
-byte ordering for multibyte color components,
-depth components,
-color indices,
-or stencil indices
-is reversed.
-That is,
-if a four-byte component consists of bytes
-$b sub 0$,
-$b sub 1$,
-$b sub 2$,
-$b sub 3$,
-it is taken from memory as
-$b sub 3$,
-$b sub 2$,
-$b sub 1$,
-$b sub 0$
-if \%\f3GL_UNPACK_SWAP_BYTES\fP is true.
-\%\f3GL_UNPACK_SWAP_BYTES\fP has no effect on the memory order of components
-within a pixel,
-only on the order of bytes within components or indices.
-For example,
-the three components of a \%\f3GL_RGB\fP pixel are always stored with
-red first,
-green second,
-and blue third,
-regardless of the value of \%\f3GL_UNPACK_SWAP_BYTES\fP.
-.TP
-\%\f3GL_UNPACK_LSB_FIRST\fP
-If true,
-bits are ordered within a byte from least significant to most significant;
-otherwise,
-the first bit in each byte is the most significant one.
-This is relevant only for bitmap data.
-.TP
-\%\f3GL_UNPACK_ROW_LENGTH\fP
-If greater than 0,
-\%\f3GL_UNPACK_ROW_LENGTH\fP defines the number of pixels in a row.
-If the first pixel of a row is placed at location $p$ in memory,
-then the location of the first pixel of the next row is obtained by skipping
-.sp
-.ce
-$k ~=~~ left { ~ lpile { n l above {a over s left ceiling { s n l }
-over a ^ right ceiling}} ~~ lpile {s ~>=~ a above s ~<~ a }$
-.sp
-components or indices,
-where $n$ is the number of components or indices in a pixel,
-$l$ is the number of pixels in a row
-(\%\f3GL_UNPACK_ROW_LENGTH\fP if it is greater than 0,
-the $width$ argument to the pixel routine otherwise),
-$a$ is the value of \%\f3GL_UNPACK_ALIGNMENT\fP, and
-$s$ is the size, in bytes, of a single component
-(if $ a < s$, then it is as if $a = s$).
-In the case of 1-bit values,
-the location of the next row is obtained by skipping
-.sp
-.ce
-$k ~=~ 8 a left ceiling { n l } over { 8 a } right ceiling$
-.sp
-components or indices.
-.IP
-The word \f2component\fP in this description refers to the nonindex values
-red,
-green,
-blue,
-alpha,
-and depth.
-Storage \%\f3GL_RGB\fP,
-for example,
-has three components per pixel:
-first red,
-then green,
-and finally blue.
-.TP
-\%\f3GL_UNPACK_IMAGE_HEIGHT\fP
-If greater than 0,
-\%\f3GL_UNPACK_IMAGE_HEIGHT\fP defines the number of pixels in an image of
-a three-dimensional texture volume. Where ``image'' is defined by all
-pixel sharing the same third dimension index.
-If the first pixel of a row is placed at location $p$ in memory,
-then the location of the first pixel of the next row is obtained by skipping
-.sp
-.ce
-$k ~=~~ left {~ lpile { n l h above {a over s left ceiling { s n l h }
-over a ^ right ceiling}} ~~ lpile {s ~ >=~ a above s ~<~ a }$
-.sp
-components or indices,
-where $n$ is the number of components or indices in a pixel,
-$l$ is the number of pixels in a row
-(\%\f3GL_UNPACK_ROW_LENGTH\fP if it is greater than 0,
-the $width$ argument to \%\f3glTexImage3D\fP otherwise),
-$h$ is the number of rows in an image (\%\f3GL_UNPACK_IMAGE_HEIGHT\fP if
-it is greater than 0, the $height$ argument to \%\f3glTexImage3D\fP otherwise),
-$a$ is the value of \%\f3GL_UNPACK_ALIGNMENT\fP, and
-$s$ is the size, in bytes, of a single component
-(if $ a < s$, then it is as if $a ~=~ s$).
-.IP
-The word \f2component\fP in this description refers to the nonindex values
-red,
-green,
-blue,
-alpha,
-and depth.
-Storage \%\f3GL_RGB\fP,
-for example,
-has three components per pixel:
-first red,
-then green,
-and finally blue.
-.TP
-\%\f3GL_UNPACK_SKIP_PIXELS\fP and \%\f3GL_UNPACK_SKIP_ROWS\fP
-These values are provided as a convenience to the programmer;
-they provide no functionality that cannot be duplicated by
-incrementing the pointer passed to
-\%\f3glDrawPixels\fP,
-\%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP,
-\%\f3glTexSubImage1D\fP,
-\%\f3glTexSubImage2D\fP,
-\%\f3glBitmap\fP, or
-\%\f3glPolygonStipple\fP.
-Setting \%\f3GL_UNPACK_SKIP_PIXELS\fP to $i$ is equivalent to incrementing
-the pointer by $i n$ components or indices,
-where $n$ is the number of components or indices in each pixel.
-Setting \%\f3GL_UNPACK_SKIP_ROWS\fP to $j$ is equivalent to incrementing
-the pointer by $j k$ components or indices,
-where $k$ is the number of components or indices per row,
-as just computed in the \%\f3GL_UNPACK_ROW_LENGTH\fP section.
-.TP
-\%\f3GL_UNPACK_ALIGNMENT\fP
-Specifies the alignment requirements for the start of each pixel row in memory.
-The allowable values are
-1 (byte-alignment),
-2 (rows aligned to even-numbered bytes),
-4 (word-alignment), and
-8 (rows start on double-word boundaries).
-.P
-The following table gives the type,
-initial value,
-and range of valid values for each storage parameter
-that can be set with \%\f3glPixelStore\fP.
-.sp
-
-.TS
-center tab(:) delim($$) ;
-lb cb cb cb
-l c c c.
-_
-\f2pname\fP:Type:Initial Value:Valid Range
-_
-\%\f3GL_PACK_SWAP_BYTES\fP:boolean:false:true or false
-\%\f3GL_PACK_LSB_FIRST\fP:boolean:false:true or false
-\%\f3GL_PACK_ROW_LENGTH\fP:integer:0:[0,\(if)
-\%\f3GL_PACK_IMAGE_HEIGHT\fP:integer:0:[0, \(if)
-\%\f3GL_PACK_SKIP_ROWS\fP:integer:0:[0,\(if)
-\%\f3GL_PACK_SKIP_PIXELS\fP:integer:0:[0,\(if)
-\%\f3GL_PACK_SKIP_IMAGES\fP:integer:0:[0,\(if)
-\%\f3GL_PACK_ALIGNMENT\fP:integer:4:1, 2, 4, or 8
-_
-\%\f3GL_UNPACK_SWAP_BYTES\fP:boolean:false:true or false
-\%\f3GL_UNPACK_LSB_FIRST\fP:boolean:false:true or false
-\%\f3GL_UNPACK_ROW_LENGTH\fP:integer:0:[0,\(if)
-\%\f3GL_UNPACK_IMAGE_HEIGHT\fP:integer:0:[0,\(if)
-\%\f3GL_UNPACK_SKIP_ROWS\fP:integer:0:[0,\(if)
-\%\f3GL_UNPACK_SKIP_PIXELS\fP:integer:0:[0,\(if)
-\%\f3GL_UNPACK_SKIP_IMAGES\fP:integer:0:[0,\(if)
-\%\f3GL_UNPACK_ALIGNMENT\fP:integer:4:1, 2, 4, or 8
-_
-.TE
-
-.sp
-\%\f3glPixelStoref\fP can be used to set any pixel store parameter.
-If the parameter type is boolean,
-then if \f2param\fP is 0,
-the parameter is false;
-otherwise it is set to true.
-If \f2pname\fP is a integer type parameter,
-\f2param\fP is rounded to the nearest integer.
-.P
-Likewise, \%\f3glPixelStorei\fP can also be used to set any of the
-pixel store parameters.
-Boolean parameters are set to false if \f2param\fP is 0 and true otherwise.
-.SH NOTES
-The pixel storage modes in effect when
-\%\f3glDrawPixels\fP,
-\%\f3glReadPixels\fP,
-\%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP,
-\%\f3glTexImage3D\fP,
-\%\f3glTexSubImage1D\fP,
-\%\f3glTexSubImage2D\fP,
-\%\f3glTexSubImage3D\fP,
-\%\f3glBitmap\fP,
-or \%\f3glPolygonStipple\fP is placed in a display list control the interpretation
-of memory data.
-Likewise, if the \%\f3GL_ARB_imaging\fP extension is supported, the pixel
-storage modes in effect when
-\%\f3glColorTable\fP,
-\%\f3glColorSubTable\fP,
-\%\f3glConvolutionFilter1D\fP,
-\%\f3glConvolutionFilter2D\fP, of
-\%\f3glSeparableFilter2D\fP is placed in a display list control the
-interpretation of memory data.
-The pixel storage modes in effect when a display list is executed are
-not significant.
-.P
-Pixel storage modes are client state and must be pushed and restored
-using
-.br
-\%\f3glPushClientAttrib\fP and \%\f3glPopClientAttrib\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if a negative row length,
-pixel skip,
-or row skip value is specified,
-or if alignment is specified as other than 1, 2, 4, or 8.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPixelStore\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_PACK_SWAP_BYTES\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PACK_LSB_FIRST\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PACK_ROW_LENGTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PACK_IMAGE_HEIGHT\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PACK_SKIP_ROWS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PACK_SKIP_PIXELS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PACK_SKIP_IMAGES\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PACK_ALIGNMENT\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_UNPACK_SWAP_BYTES\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_UNPACK_LSB_FIRST\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_UNPACK_ROW_LENGTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_UNPACK_IMAGE_HEIGHT\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_UNPACK_SKIP_ROWS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_UNPACK_SKIP_PIXELS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_UNPACK_SKIP_IMAGES\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_UNPACK_ALIGNMENT\fP
-.SH SEE ALSO
-\%\f3glBitmap(3G)\fP,
-\%\f3glColorTable(3G)\fP,
-\%\f3glColorSubTable(3G)\fP,
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glHistogram(3G)\fP,
-\%\f3glMinmax(3G)\fP,
-\%\f3glPixelMap(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glPixelZoom(3G)\fP,
-\%\f3glPolygonStipple(3G)\fP,
-\%\f3glPushClientAttrib(3G)\fP,
-\%\f3glReadPixels(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pixeltransfer.3gl b/doc/gl-docs/GL/gl/pixeltransfer.3gl
deleted file mode 100644
index 591607a62..000000000
--- a/doc/gl-docs/GL/gl/pixeltransfer.3gl
+++ /dev/null
@@ -1,439 +0,0 @@
-.\" $XFree86$
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pixeltran
-.ds Xs 52457 17 pixeltransfer.gl
-.TH GLPIXELTRANSFER 3G
-.SH NAME
-.B "glPixelTransferf, glPixelTransferi
-\- set pixel transfer modes
-
-.SH C SPECIFICATION
-void \f3glPixelTransferf\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglPixelTransferf( 'u
- GLfloat \fIparam\fP )
-.fi
-void \f3glPixelTransferi\fP(
-GLenum \fIpname\fP,
-.nf
-.ta \w'\f3void \fPglPixelTransferi( 'u
- GLint \fIparam\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2pname\fP\ \ 'u
-\f2pname\fP
-Specifies the symbolic name of the pixel transfer parameter to be set.
-Must be one of the following:
-\%\f3GL_MAP_COLOR\fP,
-\%\f3GL_MAP_STENCIL\fP,
-\%\f3GL_INDEX_SHIFT\fP,
-\%\f3GL_INDEX_OFFSET\fP,
-\%\f3GL_RED_SCALE\fP,
-\%\f3GL_RED_BIAS\fP,
-\%\f3GL_GREEN_SCALE\fP,
-\%\f3GL_GREEN_BIAS\fP,
-\%\f3GL_BLUE_SCALE\fP,
-\%\f3GL_BLUE_BIAS\fP,
-\%\f3GL_ALPHA_SCALE\fP,
-\%\f3GL_ALPHA_BIAS\fP,
-\%\f3GL_DEPTH_SCALE\fP, or
-\%\f3GL_DEPTH_BIAS\fP.
-.IP
-Additionally, if the \%\f3GL_ARB_imaging\fP extension is supported, the
-following symbolic names are accepted:
-\%\f3GL_POST_COLOR_MATRIX_RED_SCALE\fP,
-\%\f3GL_POST_COLOR_MATRIX_GREEN_SCALE\fP,
-\%\f3GL_POST_COLOR_MATRIX_BLUE_SCALE\fP,
-\%\f3GL_POST_COLOR_MATRIX_ALPHA_SCALE\fP,
-\%\f3GL_POST_COLOR_MATRIX_RED_BIAS\fP,
-\%\f3GL_POST_COLOR_MATRIX_GREEN_BIAS\fP,
-\%\f3GL_POST_COLOR_MATRIX_BLUE_BIAS\fP,
-\%\f3GL_POST_COLOR_MATRIX_ALPHA_BIAS\fP,
-\%\f3GL_POST_CONVOLUTION_RED_SCALE\fP,
-\%\f3GL_POST_CONVOLUTION_GREEN_SCALE\fP,
-\%\f3GL_POST_CONVOLUTION_BLUE_SCALE\fP,
-\%\f3GL_POST_CONVOLUTION_ALPHA_SCALE\fP,
-\%\f3GL_POST_CONVOLUTION_RED_BIAS\fP,
-\%\f3GL_POST_CONVOLUTION_GREEN_BIAS\fP,
-\%\f3GL_POST_CONVOLUTION_BLUE_BIAS\fP, and
-\%\f3GL_POST_CONVOLUTION_ALPHA_BIAS\fP.
-.TP
-\f2param\fP
-Specifies the value that \f2pname\fP is set to.
-.SH DESCRIPTION
-\%\f3glPixelTransfer\fP sets pixel transfer modes that affect the operation of subsequent
-\%\f3glCopyPixels\fP,
-\%\f3glCopyTexImage1D\fP,
-\%\f3glCopyTexImage2D\fP,
-\%\f3glCopyTexSubImage1D\fP,
-\%\f3glCopyTexSubImage2D\fP,
-\%\f3glCopyTexSubImage3D\fP,
-\%\f3glDrawPixels\fP,
-\%\f3glReadPixels\fP,
-\%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP,
-\%\f3glTexImage3D\fP,
-\%\f3glTexSubImage1D\fP,
-\%\f3glTexSubImage2D\fP, and
-\%\f3glTexSubImage3D\fP commands.
-Additionally, if the \%\f3GL_ARB_imaging\fP subset is supported, the
-routines
-\%\f3glColorTable\fP,
-\%\f3glColorSubTable\fP,
-\%\f3glConvolutionFilter1D\fP,
-\%\f3glConvolutionFilter2D\fP,
-\%\f3glHistogram\fP,
-\%\f3glMinmax\fP, and
-\%\f3glSeparableFilter2D\fP are also affected.
-The algorithms that are specified by pixel transfer modes operate on
-pixels after they are read from the frame buffer
-(\%\f3glCopyPixels\fP
-\%\f3glCopyTexImage1D\fP,
-\%\f3glCopyTexImage2D\fP,
-\%\f3glCopyTexSubImage1D\fP,
-\%\f3glCopyTexSubImage2D\fP,
-\%\f3glCopyTexSubImage3D\fP, and
-\%\f3glReadPixels\fP),
-or unpacked from client memory
-(\%\f3glDrawPixels\fP, \%\f3glTexImage1D\fP, \%\f3glTexImage2D\fP, \%\f3glTexImage3D\fP,
-\%\f3glTexSubImage1D\fP, \%\f3glTexSubImage2D\fP, and \%\f3glTexSubImage3D\fP).
-Pixel transfer operations happen in the same order,
-and in the same manner,
-regardless of the command that resulted in the pixel operation.
-Pixel storage modes
-(see \%\f3glPixelStore\fP)
-control the unpacking of pixels being read from client memory,
-and the packing of pixels being written back into client memory.
-.P
-Pixel transfer operations handle four fundamental pixel types:
-\f2color\fP,
-\f2color index\fP,
-\f2depth\fP, and
-\f2stencil\fP.
-\f2Color\fP pixels consist of four floating-point values
-with unspecified mantissa and exponent sizes,
-scaled such that 0 represents zero intensity
-and 1 represents full intensity.
-\f2Color indices\fP comprise a single fixed-point value,
-with unspecified precision to the right of the binary point.
-\f2Depth\fP pixels comprise a single floating-point value,
-with unspecified mantissa and exponent sizes,
-scaled such that 0.0 represents the minimum depth buffer value,
-and 1.0 represents the maximum depth buffer value.
-Finally,
-\f2stencil\fP pixels comprise a single fixed-point value,
-with unspecified precision to the right of the binary point.
-.BP
-.P
-The pixel transfer operations performed on the four basic pixel types are
-as follows:
-.TP 12
-Color
-Each of the four color components is multiplied by a scale factor,
-then added to a bias factor.
-That is,
-the red component is multiplied by \%\f3GL_RED_SCALE\fP,
-then added to \%\f3GL_RED_BIAS\fP;
-the green component is multiplied by \%\f3GL_GREEN_SCALE\fP,
-then added to \%\f3GL_GREEN_BIAS\fP;
-the blue component is multiplied by \%\f3GL_BLUE_SCALE\fP,
-then added to \%\f3GL_BLUE_BIAS\fP; and
-the alpha component is multiplied by \%\f3GL_ALPHA_SCALE\fP,
-then added to \%\f3GL_ALPHA_BIAS\fP.
-After all four color components are scaled and biased,
-each is clamped to the range [0,1].
-All color, scale, and bias values are specified with \%\f3glPixelTransfer\fP.
-.IP
-If \%\f3GL_MAP_COLOR\fP is true,
-each color component is scaled by the size of the corresponding
-color-to-color map,
-then replaced by the contents of that map indexed by the scaled component.
-That is,
-the red component is scaled by \%\f3GL_PIXEL_MAP_R_TO_R_SIZE\fP,
-then replaced by the contents of \%\f3GL_PIXEL_MAP_R_TO_R\fP indexed by itself.
-The green component is scaled by \%\f3GL_PIXEL_MAP_G_TO_G_SIZE\fP,
-then replaced by the contents of \%\f3GL_PIXEL_MAP_G_TO_G\fP indexed by itself.
-The blue component is scaled by \%\f3GL_PIXEL_MAP_B_TO_B_SIZE\fP,
-then replaced by the contents of \%\f3GL_PIXEL_MAP_B_TO_B\fP indexed by itself.
-And
-the alpha component is scaled by \%\f3GL_PIXEL_MAP_A_TO_A_SIZE\fP,
-then replaced by the contents of \%\f3GL_PIXEL_MAP_A_TO_A\fP indexed by itself.
-All components taken from the maps are then clamped to the range [0,1].
-\%\f3GL_MAP_COLOR\fP is specified with \%\f3glPixelTransfer\fP.
-The contents of the various maps are specified with \%\f3glPixelMap\fP.
-.IP
-If the \%\f3GL_ARB_imaging\fP extension is supported, each of the four
-color components may be scaled and biased after transformation by the
-color matrix.
-That is,
-the red component is multiplied by \%\f3GL_POST_COLOR_MATRIX_RED_SCALE\fP,
-then added to \%\f3GL_POST_COLOR_MATRIX_RED_BIAS\fP;
-the green component is multiplied by \%\f3GL_POST_COLOR_MATRIX_GREEN_SCALE\fP,
-then added to \%\f3GL_POST_COLOR_MATRIX_GREEN_BIAS\fP;
-the blue component is multiplied by \%\f3GL_POST_COLOR_MATRIX_BLUE_SCALE\fP,
-then added to \%\f3GL_POST_COLOR_MATRIX_BLUE_BIAS\fP; and
-the alpha component is multiplied by \%\f3GL_POST_COLOR_MATRIX_ALPHA_SCALE\fP,
-then added to \%\f3GL_POST_COLOR_MATRIX_ALPHA_BIAS\fP.
-After all four color components are scaled and biased,
-each is clamped to the range [0,1].
-.IP
-Similiarly, if the \%\f3GL_ARB_imaging\fP extension is supported, each of
-the four color components may be scaled and biased after processing by
-the enabled convolution filter.
-That is,
-the red component is multiplied by \%\f3GL_POST_CONVOLUTION_RED_SCALE\fP,
-then added to \%\f3GL_POST_CONVOLUTION_RED_BIAS\fP;
-the green component is multiplied by \%\f3GL_POST_CONVOLUTION_GREEN_SCALE\fP,
-then added to \%\f3GL_POST_CONVOLUTION_GREEN_BIAS\fP;
-the blue component is multiplied by \%\f3GL_POST_CONVOLUTION_BLUE_SCALE\fP,
-then added to \%\f3GL_POST_CONVOLUTION_BLUE_BIAS\fP; and
-the alpha component is multiplied by \%\f3GL_POST_CONVOLUTION_ALPHA_SCALE\fP,
-then added to \%\f3GL_POST_CONVOLUTION_ALPHA_BIAS\fP.
-After all four color components are scaled and biased,
-each is clamped to the range [0,1].
-.TP
-Color index
-Each color index is shifted left by \%\f3GL_INDEX_SHIFT\fP bits; any bits
-beyond the number of fraction bits carried
-by the fixed-point index are filled with zeros.
-If \%\f3GL_INDEX_SHIFT\fP is negative,
-the shift is to the right,
-again zero filled.
-Then \%\f3GL_INDEX_OFFSET\fP is added to the index.
-\%\f3GL_INDEX_SHIFT\fP and \%\f3GL_INDEX_OFFSET\fP are specified with
-.br
-\%\f3glPixelTransfer\fP.
-.IP
-From this point, operation diverges depending on the required of
-the resulting pixels.
-If the resulting pixels are to be written to a color index buffer,
-or if they are being read back to client memory in \%\f3GL_COLOR_INDEX\fP ,
-the pixels continue to be treated as indices.
-If \%\f3GL_MAP_COLOR\fP is true,
-each index is masked by $2 sup n ~-~ 1$,
-where $n$ is \%\f3GL_PIXEL_MAP_I_TO_I_SIZE\fP,
-then replaced by the contents of \%\f3GL_PIXEL_MAP_I_TO_I\fP indexed by the
-masked value.
-\%\f3GL_MAP_COLOR\fP is specified with \%\f3glPixelTransfer\fP.
-The contents of the index map is specified with \%\f3glPixelMap\fP.
-.IP
-If the resulting pixels are to be written to an RGBA color buffer,
-or if they are read back to client memory in a other than
-\%\f3GL_COLOR_INDEX\fP,
-the pixels are converted from indices to colors by referencing the
-four maps
-\%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP, and
-\%\f3GL_PIXEL_MAP_I_TO_A\fP.
-Before being dereferenced,
-the index is masked by $2 sup n ~-~ 1$,
-where $n$ is
-\%\f3GL_PIXEL_MAP_I_TO_R_SIZE\fP for the red map,
-\%\f3GL_PIXEL_MAP_I_TO_G_SIZE\fP for the green map,
-\%\f3GL_PIXEL_MAP_I_TO_B_SIZE\fP for the blue map, and
-\%\f3GL_PIXEL_MAP_I_TO_A_SIZE\fP for the alpha map.
-All components taken from the maps are then clamped to the range [0,1].
-The contents of the four maps is specified with \%\f3glPixelMap\fP.
-.TP
-Depth
-Each depth value is multiplied by \%\f3GL_DEPTH_SCALE\fP,
-added to \%\f3GL_DEPTH_BIAS\fP,
-then clamped to the range [0,1].
-.TP
-Stencil
-Each index is shifted \%\f3GL_INDEX_SHIFT\fP bits just as a color index is,
-then added to \%\f3GL_INDEX_OFFSET\fP.
-If \%\f3GL_MAP_STENCIL\fP is true,
-each index is masked by $2 sup n ~-~ 1$,
-where $n$ is \%\f3GL_PIXEL_MAP_S_TO_S_SIZE\fP,
-then replaced by the contents of \%\f3GL_PIXEL_MAP_S_TO_S\fP indexed by the
-masked value.
-.P
-The following table gives the type,
-initial value,
-and range of valid values for each of the pixel transfer parameters
-that are set with \%\f3glPixelTransfer\fP.
-.sp
-
-.TS
-center tab(:);
-lb cb cb cb
-l c c c.
-_
-\f2pname\fP:Type:Initial Value:Valid Range
-_
-\%\f3GL_MAP_COLOR\fP:boolean:false:true/false
-\%\f3GL_MAP_STENCIL\fP:boolean:false:true/false
-\%\f3GL_INDEX_SHIFT\fP:integer:0:(-\(if,\(if)
-\%\f3GL_INDEX_OFFSET\fP:integer:0:(-\(if,\(if)
-\%\f3GL_RED_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_GREEN_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_BLUE_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_ALPHA_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_DEPTH_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_RED_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_GREEN_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_BLUE_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_ALPHA_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_DEPTH_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_POST_COLOR_MATRIX_RED_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_POST_COLOR_MATRIX_GREEN_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_POST_COLOR_MATRIX_BLUE_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_POST_COLOR_MATRIX_ALPHA_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_POST_COLOR_MATRIX_RED_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_POST_COLOR_MATRIX_GREEN_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_POST_COLOR_MATRIX_BLUE_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_POST_COLOR_MATRIX_ALPHA_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_POST_CONVOLUTION_RED_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_POST_CONVOLUTION_GREEN_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_POST_CONVOLUTION_BLUE_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_POST_CONVOLUTION_ALPHA_SCALE\fP:float:1:(-\(if,\(if)
-\%\f3GL_POST_CONVOLUTION_RED_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_POST_CONVOLUTION_GREEN_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_POST_CONVOLUTION_BLUE_BIAS\fP:float:0:(-\(if,\(if)
-\%\f3GL_POST_CONVOLUTION_ALPHA_BIAS\fP:float:0:(-\(if,\(if)
-_
-.TE
-
-.sp
-\%\f3glPixelTransferf\fP can be used to set any pixel transfer parameter.
-If the parameter type is boolean,
-0 implies false and any other value implies true.
-If \f2pname\fP is an integer parameter,
-\f2param\fP is rounded to the nearest integer.
-.P
-Likewise,
-\%\f3glPixelTransferi\fP can be used to set any of the
-pixel transfer parameters.
-Boolean parameters are set to false if \f2param\fP is 0 and to true otherwise.
-\f2param\fP is converted to floating point before being assigned to real-valued parameters.
-.SH NOTES
-If a
-\%\f3glColorTable\fP,
-\%\f3glColorSubTable\fP,
-\%\f3glConvolutionFilter1D\fP,
-\%\f3glConvolutionFilter2D\fP,
-\%\f3glCopyPixels\fP,
-\%\f3glCopyTexImage1D\fP,
-\%\f3glCopyTexImage2D\fP,
-\%\f3glCopyTexSubImage1D\fP,
-\%\f3glCopyTexSubImage2D\fP,
-\%\f3glCopyTexSubImage3D\fP,
-\%\f3glDrawPixels\fP,
-\%\f3glReadPixels\fP,
-\%\f3glSeparableFilter2D\fP,
-\%\f3glTexImage1D\fP,
-\%\f3glTexImage2D\fP,
-\%\f3glTexImage3D\fP,
-\%\f3glTexSubImage1D\fP,
-\%\f3glTexSubImage2D\fP, or
-\%\f3glTexSubImage3D\fP.
-command is placed in a display list
-(see \%\f3glNewList\fP and \%\f3glCallList\fP),
-the pixel transfer mode settings in effect when the display list is
-.I executed
-are the ones that are used.
-They may be different from the settings when the command was compiled
-into the display list.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPixelTransfer\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MAP_COLOR\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAP_STENCIL\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_INDEX_SHIFT\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_INDEX_OFFSET\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_RED_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_RED_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_GREEN_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_GREEN_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_BLUE_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_BLUE_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ALPHA_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ALPHA_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_DEPTH_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_DEPTH_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_COLOR_MATRIX_RED_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_COLOR_MATRIX_RED_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_COLOR_MATRIX_GREEN_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_COLOR_MATRIX_GREEN_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_COLOR_MATRIX_BLUE_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_COLOR_MATRIX_BLUE_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_COLOR_MATRIX_ALPHA_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_COLOR_MATRIX_ALPHA_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_CONVOLUTION_RED_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_CONVOLUTION_RED_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_CONVOLUTION_GREEN_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_CONVOLUTION_GREEN_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_CONVOLUTION_BLUE_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_CONVOLUTION_BLUE_BIAS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_CONVOLUTION_ALPHA_SCALE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_POST_CONVOLUTION_ALPHA_BIAS\fP
-.SH SEE ALSO
-\%\f3glCallList(3G)\fP,
-\%\f3glColorTable(3G)\fP,
-\%\f3glColorSubTable(3G)\fP,
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glNewList(3G)\fP,
-\%\f3glPixelMap(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelZoom(3G)\fP,
-\%\f3glReadPixels(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pixelzoom.3gl b/doc/gl-docs/GL/gl/pixelzoom.3gl
deleted file mode 100644
index a331c32c9..000000000
--- a/doc/gl-docs/GL/gl/pixelzoom.3gl
+++ /dev/null
@@ -1,60 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pixelzoom
-.ds Xs 46374 4 pixelzoom.gl
-.TH GLPIXELZOOM 3G
-.SH NAME
-.B "glPixelZoom
-\- specify the pixel zoom factors
-
-.SH C SPECIFICATION
-void \f3glPixelZoom\fP(
-GLfloat \fIxfactor\fP,
-.nf
-.ta \w'\f3void \fPglPixelZoom( 'u
- GLfloat \fIyfactor\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2xfactor\fP\ \f2yfactor\fP\ \ 'u
-\f2xfactor\fP, \f2yfactor\fP
-Specify the $x$ and $y$ zoom factors for pixel write operations.
-.SH DESCRIPTION
-\%\f3glPixelZoom\fP specifies values for the $x$ and $y$ zoom factors.
-During the execution of \%\f3glDrawPixels\fP or \%\f3glCopyPixels\fP,
-if ($xr $, $yr $) is the current raster position,
-and a given element is in the $m$th row and $n$th column of the pixel rectangle,
-then pixels whose centers are in the rectangle with corners at
-.sp
-.ce
-($xr ~+~ n cdot "xfactor"$, $yr ~+~ m cdot "yfactor"$)
-.sp
-.ce
-($xr ~+~ (n+1) cdot "xfactor"$, $yr ~+~ (m+1) cdot "yfactor"$)
-.sp
-are candidates for replacement.
-Any pixel whose center lies on the bottom or left edge of this rectangular
-region is also modified.
-.P
-Pixel zoom factors are not limited to positive values.
-Negative zoom factors reflect the resulting image about the current
-raster position.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPixelZoom\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_ZOOM_X\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ZOOM_Y\fP
-.SH SEE ALSO
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glDrawPixels(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pointsize.3gl b/doc/gl-docs/GL/gl/pointsize.3gl
deleted file mode 100644
index 6de3fbe85..000000000
--- a/doc/gl-docs/GL/gl/pointsize.3gl
+++ /dev/null
@@ -1,128 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pointsize
-.ds Xs 46128 6 pointsize.gl
-.TH GLPOINTSIZE 3G
-.SH NAME
-.B "glPointSize
-\- specify the diameter of rasterized points
-
-.SH C SPECIFICATION
-void \f3glPointSize\fP(
-GLfloat \fIsize\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2size\fP\ \ 'u
-\f2size\fP
-Specifies the diameter of rasterized points.
-The initial value is 1.
-.SH DESCRIPTION
-\%\f3glPointSize\fP specifies the rasterized diameter of both aliased and antialiased
-points.
-Using a point size other than 1 has different effects,
-depending on whether point antialiasing is enabled.
-To enable and disable point antialiasing, call
-\%\f3glEnable\fP and \%\f3glDisable\fP
-with argument \%\f3GL_POINT_SMOOTH\fP. Point antialiasing is initially disabled.
-.P
-If point antialiasing is disabled,
-the actual size is determined by rounding the supplied size
-to the nearest integer.
-(If the rounding results in the value 0,
-it is as if the point size were 1.)
-If the rounded size is odd,
-then the center point
-($ x $, $ y $)
-of the pixel fragment that represents the point is computed as
-.sp
-.ce
-( $ \(lf ~ x sub w ~ \(rf ~+~ .5 $, $ \(lf ~ y sub w ~ \(rf ~+~ .5 $)
-.sp
-where $w$ subscripts indicate window coordinates.
-All pixels that lie within the square grid of the rounded size centered at
-($ x $, $ y $)
-make up the fragment.
-If the size is even,
-the center point is
-.sp
-.ce
-( $ \(lf ~ x sub w ~+~ .5 ~ \(rf$, $ \(lf ~ y sub w ~+~ .5 ~ \(rf $)
-.sp
-and the rasterized fragment's centers are the half-integer window coordinates
-within the square of the rounded size centered at
-($ x $, $ y $).
-All pixel fragments produced in rasterizing a nonantialiased point are
-assigned the same associated data,
-that of the vertex corresponding to the point.
-.P
-If antialiasing is enabled,
-then point rasterization produces a fragment for each pixel square
-that intersects the region lying within the circle having diameter
-equal to the current point size and centered at the point's
-($ x sub w $, $ y sub w $).
-The coverage value for each fragment is the window coordinate area
-of the intersection of the circular region with the corresponding pixel square.
-This value is saved and used in the final rasterization step.
-The data associated with each fragment is the data associated with
-the point being rasterized.
-.P
-Not all sizes are supported when point antialiasing is enabled.
-If an unsupported size is requested,
-the nearest supported size is used.
-Only size 1 is guaranteed to be supported;
-others depend on the implementation.
-To query the range of supported sizes and the size difference between
-supported sizes within the range, call
-\%\f3glGet\fP with arguments
-\%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP and
-\%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP.
-For aliased points, query the supported ranges and granularity with
-\%\f3glGet\fP with arguments
-\%\f3GL_ALIASED_POINT_SIZE_RANGE\fP and
-\%\f3GL_ALIASED_POINT_SIZE_GRANULARITY\fP.
-.SH NOTES
-The point size specified by \%\f3glPointSize\fP is always returned when \%\f3GL_POINT_SIZE\fP
-is queried.
-Clamping and rounding for aliased and antialiased points have no effect
-on the specified value.
-.P
-A non-antialiased point size may be clamped to an implementation-dependent
-maximum.
-Although this maximum cannot be queried,
-it must be no less than the maximum value for antialiased points,
-rounded to the nearest integer value.
-.P
-\%\f3GL_POINT_SIZE_RANGE\fP and \%\f3GL_POINT_SIZE_GRANULARITY\fP are
-deprecated in GL versions 1.2 and greater. Their functionality has been
-replaced by \%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP and
-\%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2size\fP is less than or equal to 0.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPointSize\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_POINT_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ALIASED_POINT_SIZE_RANGE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_ALIASED_POINT_SIZE_GRANULARITY\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_POINT_SMOOTH\fP
-.SH SEE ALSO
-\%\f3glEnable(3G)\fP
diff --git a/doc/gl-docs/GL/gl/polygonmode.3gl b/doc/gl-docs/GL/gl/polygonmode.3gl
deleted file mode 100644
index f4138678e..000000000
--- a/doc/gl-docs/GL/gl/polygonmode.3gl
+++ /dev/null
@@ -1,103 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 polygonmo
-.ds Xs 24991 5 polygonmode.gl
-.TH GLPOLYGONMODE 3G
-.SH NAME
-.B "glPolygonMode
-\- select a polygon rasterization mode
-
-.SH C SPECIFICATION
-void \f3glPolygonMode\fP(
-GLenum \fIface\fP,
-.nf
-.ta \w'\f3void \fPglPolygonMode( 'u
- GLenum \fImode\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2face\fP\ \ 'u
-\f2face\fP
-Specifies the polygons that \f2mode\fP applies to.
-Must be
-\%\f3GL_FRONT\fP for front-facing polygons,
-\%\f3GL_BACK\fP for back-facing polygons,
-or \%\f3GL_FRONT_AND_BACK\fP for front- and back-facing polygons.
-.TP
-\f2mode\fP
-Specifies how polygons will be rasterized.
-Accepted values are
-\%\f3GL_POINT\fP,
-\%\f3GL_LINE\fP, and
-\%\f3GL_FILL\fP.
-The initial value is \%\f3GL_FILL\fP for both front- and back-facing polygons.
-.SH DESCRIPTION
-\%\f3glPolygonMode\fP controls the interpretation of polygons for rasterization.
-\f2face\fP describes which polygons \f2mode\fP applies to:
-front-facing polygons (\%\f3GL_FRONT\fP),
-back-facing polygons (\%\f3GL_BACK\fP),
-or both (\%\f3GL_FRONT_AND_BACK\fP).
-The polygon mode affects only the final rasterization of polygons.
-In particular,
-a polygon's vertices are lit and
-the polygon is clipped and possibly culled before these modes are applied.
-.P
-Three modes are defined and can be specified in \f2mode\fP:
-.TP 14
-\%\f3GL_POINT\fP
-Polygon vertices that are marked as the start of a boundary edge
-are drawn as points.
-Point attributes such as
-\%\f3GL_POINT_SIZE\fP and
-\%\f3GL_POINT_SMOOTH\fP control
-the rasterization of the points.
-Polygon rasterization attributes other than \%\f3GL_POLYGON_MODE\fP have no effect.
-.TP
-\%\f3GL_LINE\fP
-Boundary edges of the polygon are drawn as line segments.
-They are treated as connected line segments for line stippling;
-the line stipple counter and pattern are not reset between segments
-(see \%\f3glLineStipple\fP).
-Line attributes such as
-\%\f3GL_LINE_WIDTH\fP and
-\%\f3GL_LINE_SMOOTH\fP control
-the rasterization of the lines.
-Polygon rasterization attributes other than \%\f3GL_POLYGON_MODE\fP have no effect.
-.TP
-\%\f3GL_FILL\fP
-The interior of the polygon is filled.
-Polygon attributes such as
-\%\f3GL_POLYGON_STIPPLE\fP and
-\%\f3GL_POLYGON_SMOOTH\fP control the rasterization of the polygon.
-.SH EXAMPLES
-To draw a surface with filled back-facing polygons
-and outlined front-facing polygons,
-call
-.Ex 1
-glPolygonMode(\%\f3GL_FRONT\fP, \%\f3GL_LINE\fP);
-.Ee
-.SH NOTES
-Vertices are marked as boundary or nonboundary with an edge flag.
-Edge flags are generated internally by the GL when it decomposes
-polygons; they can be set explicitly using \%\f3glEdgeFlag\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if either \f2face\fP or \f2mode\fP is not
-an accepted value.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPolygonMode\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_POLYGON_MODE\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glEdgeFlag(3G)\fP,
-\%\f3glLineStipple(3G)\fP,
-\%\f3glLineWidth(3G)\fP,
-\%\f3glPointSize(3G)\fP,
-\%\f3glPolygonStipple(3G)\fP
diff --git a/doc/gl-docs/GL/gl/polygonoffset.3gl b/doc/gl-docs/GL/gl/polygonoffset.3gl
deleted file mode 100644
index ec1b95b99..000000000
--- a/doc/gl-docs/GL/gl/polygonoffset.3gl
+++ /dev/null
@@ -1,73 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 polygonof
-.ds Xs 10762 4 polygonoffset.gl
-.TH GLPOLYGONOFFSET 3G
-.SH NAME
-.B "glPolygonOffset
-\- set the scale and units used to calculate depth values
-
-.SH C SPECIFICATION
-void \f3glPolygonOffset\fP(
-GLfloat \fIfactor\fP,
-.nf
-.ta \w'\f3void \fPglPolygonOffset( 'u
- GLfloat \fIunits\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2factor\fP\ \ 'u
-\f2factor\fP
-Specifies a scale factor that is used to create a variable
-depth offset for each polygon. The initial value is 0.
-.TP
-\f2units\fP
-Is multiplied by an implementation-specific value to
-create a constant depth offset. The initial value is 0.
-.SH DESCRIPTION
-When \%\f3GL_POLYGON_OFFSET_FILL\fP, \%\f3GL_POLYGON_OFFSET_LINE\fP, or
-\%\f3GL_POLYGON_OFFSET_POINT\fP is enabled, each
-fragment's \f2depth\fP value will be offset after it is interpolated
-from the \f2depth\fP values of the appropriate vertices.
-The value of the offset is $"factor" ~*~ DZ ~~+~~ r ~*~ "units"$,
-where $DZ~$ is a measurement of the change in depth relative to the screen
-area of the polygon, and $r$ is the smallest value that is guaranteed to
-produce a resolvable offset for a given implementation.
-The offset is added before the depth test is performed and before
-the value is written into the depth buffer.
-.P
-\%\f3glPolygonOffset\fP is useful for rendering hidden-line images, for applying decals
-to surfaces, and for rendering solids with highlighted edges.
-.SH NOTES
-\%\f3glPolygonOffset\fP is available only if the GL version is 1.1 or greater.
-.P
-\%\f3glPolygonOffset\fP has no effect on depth coordinates placed in the
-feedback buffer.
-.P
-\%\f3glPolygonOffset\fP has no effect on selection.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPolygonOffset\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.bp
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument
-\%\f3GL_POLYGON_OFFSET_FILL\fP,
-\%\f3GL_POLYGON_OFFSET_LINE\fP,
-or \%\f3GL_POLYGON_OFFSET_POINT\fP.
-.P
-\%\f3glGet\fP with argument \%\f3GL_POLYGON_OFFSET_FACTOR\fP or
-\%\f3GL_POLYGON_OFFSET_UNITS\fP.
-.SH SEE ALSO
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glGet(3G)\fP,
-\%\f3glIsEnabled(3G)\fP
diff --git a/doc/gl-docs/GL/gl/polygonstipple.3gl b/doc/gl-docs/GL/gl/polygonstipple.3gl
deleted file mode 100644
index e964abb75..000000000
--- a/doc/gl-docs/GL/gl/polygonstipple.3gl
+++ /dev/null
@@ -1,80 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 polygonst
-.ds Xs 22714 4 polygonstipple.gl
-.TH GLPOLYGONSTIPPLE 3G
-.SH NAME
-.B "glPolygonStipple
-\- set the polygon stippling pattern
-
-.SH C SPECIFICATION
-void \f3glPolygonStipple\fP(
-const GLubyte \fI*mask\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mask\fP\ \ 'u
-\f2mask\fP
-Specifies a pointer to a $32 ~times~ 32$ stipple pattern that will be unpacked
-from memory in the same way that \%\f3glDrawPixels\fP unpacks pixels.
-.SH DESCRIPTION
-Polygon stippling,
-like line stippling
-(see \%\f3glLineStipple\fP),
-masks out certain fragments produced by rasterization,
-creating a pattern.
-Stippling is independent of polygon antialiasing.
-.P
-\f2mask\fP is a pointer to a $32 ~times~ 32$ stipple pattern that is stored
-in memory just like the pixel data supplied to a \%\f3glDrawPixels\fP
-call with
-.I
-height
-and
-.I width
-both equal to 32, a pixel
-of \%\f3GL_COLOR_INDEX\fP, and data type
-of \%\f3GL_BITMAP\fP.
-That is,
-the stipple pattern is represented as a $32 ~times~ 32$ array
-of 1-bit color indices packed in unsigned bytes.
-\%\f3glPixelStore\fP parameters like \%\f3GL_UNPACK_SWAP_BYTES\fP
-and \%\f3GL_UNPACK_LSB_FIRST\fP affect the assembling of the bits into a
-stipple pattern.
-Pixel transfer operations
-(shift, offset, pixel map)
-are not applied to the stipple image,
-however.
-.P
-To enable and disable polygon stippling, call
-\%\f3glEnable\fP and \%\f3glDisable\fP
-with argument \%\f3GL_POLYGON_STIPPLE\fP. Polygon stippling is initially
-disabled. If it's enabled,
-a rasterized polygon fragment with window coordinates $x sub w$ and $y sub w$
-is sent to the next stage of the GL if and only if the
-($x sub w~roman mod~32$)th bit in the ($y sub w~roman mod~32$)th row
-of the stipple pattern is 1 (one).
-When polygon stippling is disabled, it is as if the stipple pattern
-consists of all 1's.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPolygonStipple\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetPolygonStipple\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_POLYGON_STIPPLE\fP
-.SH SEE ALSO
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glLineStipple(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/prioritizetextures.3gl b/doc/gl-docs/GL/gl/prioritizetextures.3gl
deleted file mode 100644
index 16f69a0a6..000000000
--- a/doc/gl-docs/GL/gl/prioritizetextures.3gl
+++ /dev/null
@@ -1,83 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 prioritiz
-.ds Xs 38862 5 prioritizetextures.gl
-.TH GLPRIORITIZETEXTURES 3G
-.SH NAME
-.B "glPrioritizeTextures
-\- set texture residence priority
-
-.SH C SPECIFICATION
-void \f3glPrioritizeTextures\fP(
-GLsizei \fIn\fP,
-.nf
-.ta \w'\f3void \fPglPrioritizeTextures( 'u
- const GLuint \fI*textures\fP,
- const GLclampf \fI*priorities\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIpriorities\fP\ \ 'u
-\f2n\fP
-Specifies the number of textures to be prioritized.
-.TP
-\f2textures\fP
-Specifies an array containing the names of the textures to be prioritized.
-.TP
-\f2priorities\fP
-Specifies an array containing the texture priorities.
-A priority given in an element of \f2priorities\fP applies to the texture
-named by the corresponding element of \f2textures\fP.
-.SH DESCRIPTION
-\%\f3glPrioritizeTextures\fP assigns the \f2n\fP texture priorities given in \f2priorities\fP to the
-\f2n\fP textures named in \f2textures\fP.
-.P
-The GL establishes
-a ``working set'' of textures that are resident in texture memory.
-These textures may be bound to a texture target much more efficiently
-than textures that are not resident.
-By specifying a priority for each texture,
-\%\f3glPrioritizeTextures\fP allows applications to guide the GL implementation in determining
-which textures should be resident.
-.P
-The priorities given in \f2priorities\fP are clamped to the range [0,\1]
-before they are assigned.
-0 indicates the lowest priority; textures with priority 0
-are least likely to be resident.
-1 indicates the highest priority; textures with priority 1
-are most likely to be resident.
-However, textures are not guaranteed to be resident until they are used.
-.P
-\%\f3glPrioritizeTextures\fP silently ignores attempts to prioritize texture 0, or any texture
-name that does not correspond to an existing texture.
-.P
-\%\f3glPrioritizeTextures\fP does not require that any of the textures named by \f2textures\fP
-be bound to a texture target.
-\%\f3glTexParameter\fP may also be used to set a texture's priority,
-but only if the texture is currently bound.
-This is the only way to set the priority of a default texture.
-.SH NOTES
-\%\f3glPrioritizeTextures\fP is available only if the GL version is 1.1 or greater.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2n\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPrioritizeTextures\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexParameter\fP with parameter name \%\f3GL_TEXTURE_PRIORITY\fP
-retrieves the priority of a currently bound texture.
-.SH SEE ALSO
-\%\f3glAreTexturesResident(3G)\fP,
-\%\f3glBindTexture(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pushattrib.3gl b/doc/gl-docs/GL/gl/pushattrib.3gl
deleted file mode 100644
index bd8a50155..000000000
--- a/doc/gl-docs/GL/gl/pushattrib.3gl
+++ /dev/null
@@ -1,267 +0,0 @@
-'\" et
-'\"! eqn|tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pushattri
-.ds Xs 21569 10 pushattrib.gl
-.TH GLPUSHATTRIB 3G
-.SH NAME
-.B "glPushAttrib, glPopAttrib
-\- push and pop the server attribute stack
-
-.SH C SPECIFICATION
-void \f3glPushAttrib\fP(
-GLbitfield \fImask\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2mask\fP\ \ 'u
-\f2mask\fP
-Specifies a mask that indicates which attributes to save. Values for
-\f2mask\fP are listed below.
-.SH C SPECIFICATION
-void \f3glPopAttrib\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-\%\f3glPushAttrib\fP takes one argument,
-a mask that indicates which groups of state variables
-to save on the attribute stack.
-Symbolic constants are used to set bits in the mask.
-\f2mask\fP
-is typically constructed by ORing several of these constants together.
-The special mask
-\%\f3GL_ALL_ATTRIB_BITS\fP
-can be used to save all stackable states.
-.P
-The symbolic mask constants and their associated GL state are as follows
-(the second column lists which attributes are saved):
-.P
-.TS
-;
-l l .
-\%\f3GL_ACCUM_BUFFER_BIT\fP Accumulation buffer clear value
-
-\%\f3GL_COLOR_BUFFER_BIT\fP \%\f3GL_ALPHA_TEST\fP enable bit
- Alpha test function and reference value
- \%\f3GL_BLEND\fP enable bit
- Blending source and destination functions
- Constant blend color
- Blending equation
- \%\f3GL_DITHER\fP enable bit
- \%\f3GL_DRAW_BUFFER\fP setting
- \%\f3GL_COLOR_LOGIC_OP\fP enable bit
- \%\f3GL_INDEX_LOGIC_OP\fP enable bit
- Logic op function
- Color mode and index mode clear values
- Color mode and index mode writemasks
-
-\%\f3GL_CURRENT_BIT\fP Current RGBA color
- Current color index
- Current normal vector
- Current texture coordinates
- Current raster position
- \%\f3GL_CURRENT_RASTER_POSITION_VALID\fP flag
- RGBA color associated with current raster position
- Color index associated with current raster position
- Texture coordinates associated with current raster position
- \%\f3GL_EDGE_FLAG\fP flag
-
-\%\f3GL_DEPTH_BUFFER_BIT\fP \%\f3GL_DEPTH_TEST\fP enable bit
- Depth buffer test function
- Depth buffer clear value
- \%\f3GL_DEPTH_WRITEMASK\fP enable bit
-
-\%\f3GL_ENABLE_BIT\fP \%\f3GL_ALPHA_TEST\fP flag
- \%\f3GL_AUTO_NORMAL\fP flag
- \%\f3GL_BLEND\fP flag
- Enable bits for the user-definable clipping planes
- \%\f3GL_COLOR_MATERIAL\fP
- \%\f3GL_CULL_FACE\fP flag
- \%\f3GL_DEPTH_TEST\fP flag
- \%\f3GL_DITHER\fP flag
- \%\f3GL_FOG\fP flag
- \%\f3GL_LIGHT\fP\f2i\fP where 0\ <= \f2i\fP<\%\f3GL_MAX_LIGHTS\fP
- \%\f3GL_LIGHTING\fP flag
- \%\f3GL_LINE_SMOOTH\fP flag
- \%\f3GL_LINE_STIPPLE\fP flag
- \%\f3GL_COLOR_LOGIC_OP\fP flag
- \%\f3GL_INDEX_LOGIC_OP\fP flag
- \%\f3GL_MAP1_\fP\f2x\fP where \f2x\fP is a map type
- \%\f3GL_MAP2_\fP\f2x\fP where \f2x\fP is a map type
- \%\f3GL_NORMALIZE\fP flag
- \%\f3GL_POINT_SMOOTH\fP flag
- \%\f3GL_POLYGON_OFFSET_LINE\fP flag
- \%\f3GL_POLYGON_OFFSET_FILL\fP flag
- \%\f3GL_POLYGON_OFFSET_POINT\fP flag
- \%\f3GL_POLYGON_SMOOTH\fP flag
- \%\f3GL_POLYGON_STIPPLE\fP flag
- \%\f3GL_SCISSOR_TEST\fP flag
- \%\f3GL_STENCIL_TEST\fP flag
- \%\f3GL_TEXTURE_1D\fP flag
- \%\f3GL_TEXTURE_2D\fP flag
- \%\f3GL_TEXTURE_3D\fP flag
- Flags \%\f3GL_TEXTURE_GEN_\fP\f2x\fP where \f2x\fP is S, T, R, or Q
-
-\%\f3GL_EVAL_BIT\fP \%\f3GL_MAP1_\fP\f2x\fP enable bits, where \f2x\fP is a map type
- \%\f3GL_MAP2_\fP\f2x\fP enable bits, where \f2x\fP is a map type
- 1D grid endpoints and divisions
- 2D grid endpoints and divisions
- \%\f3GL_AUTO_NORMAL\fP enable bit
-
-\%\f3GL_FOG_BIT\fP \%\f3GL_FOG\fP enable bit
- Fog color
- Fog density
- Linear fog start
- Linear fog end
- Fog index
- \%\f3GL_FOG_MODE\fP value
-
-\%\f3GL_HINT_BIT\fP \%\f3GL_PERSPECTIVE_CORRECTION_HINT\fP setting
- \%\f3GL_POINT_SMOOTH_HINT\fP setting
- \%\f3GL_LINE_SMOOTH_HINT\fP setting
- \%\f3GL_POLYGON_SMOOTH_HINT\fP setting
- \%\f3GL_FOG_HINT\fP setting
-
-\%\f3GL_LIGHTING_BIT\fP \%\f3GL_COLOR_MATERIAL\fP enable bit
- \%\f3GL_COLOR_MATERIAL_FACE\fP value
- Color material parameters that are tracking the current color
- Ambient scene color
- \%\f3GL_LIGHT_MODEL_LOCAL_VIEWER\fP value
- \%\f3GL_LIGHT_MODEL_TWO_SIDE\fP setting
- \%\f3GL_LIGHTING\fP enable bit
- Enable bit for each light
- Ambient, diffuse, and specular intensity for each light
- Direction, position, exponent, and cutoff angle for each light
- Constant, linear, and quadratic attenuation factors for each light
- Ambient, diffuse, specular, and emissive color for each material
- Ambient, diffuse, and specular color indices for each material
- Specular exponent for each material
- \%\f3GL_SHADE_MODEL\fP setting
-
-\%\f3GL_LINE_BIT\fP \%\f3GL_LINE_SMOOTH\fP flag
- \%\f3GL_LINE_STIPPLE\fP enable bit
- Line stipple pattern and repeat counter
- Line width
-
-\%\f3GL_LIST_BIT\fP \%\f3GL_LIST_BASE\fP setting
-
-\%\f3GL_PIXEL_MODE_BIT\fP \%\f3GL_RED_BIAS\fP and \%\f3GL_RED_SCALE\fP settings
- \%\f3GL_GREEN_BIAS\fP and \%\f3GL_GREEN_SCALE\fP values
- \%\f3GL_BLUE_BIAS\fP and \%\f3GL_BLUE_SCALE\fP
- \%\f3GL_ALPHA_BIAS\fP and \%\f3GL_ALPHA_SCALE\fP
- \%\f3GL_DEPTH_BIAS\fP and \%\f3GL_DEPTH_SCALE\fP
- \%\f3GL_INDEX_OFFSET\fP and \%\f3GL_INDEX_SHIFT\fP values
- \%\f3GL_MAP_COLOR\fP and \%\f3GL_MAP_STENCIL\fP flags
- \%\f3GL_ZOOM_X\fP and \%\f3GL_ZOOM_Y\fP factors
- \%\f3GL_READ_BUFFER\fP setting
-
-\%\f3GL_POINT_BIT\fP \%\f3GL_POINT_SMOOTH\fP flag
- Point size
-
-\%\f3GL_POLYGON_BIT\fP \%\f3GL_CULL_FACE\fP enable bit
- \%\f3GL_CULL_FACE_MODE\fP value
- \%\f3GL_FRONT_FACE\fP indicator
- \%\f3GL_POLYGON_MODE\fP setting
- \%\f3GL_POLYGON_SMOOTH\fP flag
- \%\f3GL_POLYGON_STIPPLE\fP enable bit
- \%\f3GL_POLYGON_OFFSET_FILL\fP flag
- \%\f3GL_POLYGON_OFFSET_LINE\fP flag
- \%\f3GL_POLYGON_OFFSET_POINT\fP flag
- \%\f3GL_POLYGON_OFFSET_FACTOR\fP
- \%\f3GL_POLYGON_OFFSET_UNITS\fP
-
-\%\f3GL_POLYGON_STIPPLE_BIT\fP Polygon stipple image
-
-\%\f3GL_SCISSOR_BIT\fP \%\f3GL_SCISSOR_TEST\fP flag
- Scissor box
-
-\%\f3GL_STENCIL_BUFFER_BIT\fP \%\f3GL_STENCIL_TEST\fP enable bit
- Stencil function and reference value
- Stencil value mask
- Stencil fail, pass, and depth buffer pass actions
- Stencil buffer clear value
- Stencil buffer writemask
-
-\%\f3GL_TEXTURE_BIT\fP Enable bits for the four texture coordinates
- Border color for each texture image
- Minification function for each texture image
- Magnification function for each texture image
- Texture coordinates and wrap mode for each texture image
- Color and mode for each texture environment
- Enable bits \%\f3GL_TEXTURE_GEN_\fP\f2x\fP, \f2x\fP is S, T, R, and Q
- \%\f3GL_TEXTURE_GEN_MODE\fP setting for S, T, R, and Q
- \%\f3glTexGen\fP plane equations for S, T, R, and Q
- Current texture bindings (for example, \%\f3GL_TEXTURE_BINDING_2D\fP)
-
-\%\f3GL_TRANSFORM_BIT\fP Coefficients of the six clipping planes
- Enable bits for the user-definable clipping planes
- \%\f3GL_MATRIX_MODE\fP value
- \%\f3GL_NORMALIZE\fP flag
- \%\f3GL_RESCALE_NORMAL\fP flag
-
-\%\f3GL_VIEWPORT_BIT\fP Depth range (near and far)
- Viewport origin and extent
-.TE
-.P
-\%\f3glPopAttrib\fP restores the values of the state variables saved with the last
-.br
-\%\f3glPushAttrib\fP command.
-Those not saved are left unchanged.
-.P
-It is an error to push attributes onto a full stack,
-or to pop attributes off an empty stack.
-In either case, the error flag is set
-and no other change is made to GL state.
-.P
-Initially, the attribute stack is empty.
-.SH NOTES
-Not all values for GL state can be saved on the attribute stack.
-For example,
-render mode state,
-and select and feedback state cannot be saved.
-Client state must be saved with
-\%\f3glPushClientAttrib\fP.
-.P
-The depth of the attribute stack depends on the implementation,
-but it must be at least 16.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, pushing and
-popping texture state apples to all supported texture units.
-.SH ERRORS
-\%\f3GL_STACK_OVERFLOW\fP is generated if \%\f3glPushAttrib\fP is called while
-the attribute stack is full.
-.P
-\%\f3GL_STACK_UNDERFLOW\fP is generated if \%\f3glPopAttrib\fP is called while
-the attribute stack is empty.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPushAttrib\fP or \%\f3glPopAttrib\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_ATTRIB_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_ATTRIB_STACK_DEPTH\fP
-.SH SEE ALSO
-\%\f3glGet(3G)\fP,
-\%\f3glGetClipPlane(3G)\fP,
-\%\f3glGetError(3G)\fP,
-\%\f3glGetLight(3G)\fP,
-\%\f3glGetMap(3G)\fP,
-\%\f3glGetMaterial(3G)\fP,
-.br
-\%\f3glGetPixelMap(3G)\fP,
-\%\f3glGetPolygonStipple(3G)\fP,
-\%\f3glGetString(3G)\fP,
-\%\f3glGetTexEnv(3G)\fP,
-\%\f3glGetTexGen(3G)\fP,
-\%\f3glGetTexImage(3G)\fP,
-\%\f3glGetTexLevelParameter(3G)\fP,
-\%\f3glGetTexParameter(3G)\fP,
-\%\f3glIsEnabled(3G)\fP,
-\%\f3glPushClientAttrib(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pushclientattrib.3gl b/doc/gl-docs/GL/gl/pushclientattrib.3gl
deleted file mode 100644
index 555afacaf..000000000
--- a/doc/gl-docs/GL/gl/pushclientattrib.3gl
+++ /dev/null
@@ -1,101 +0,0 @@
-.\" $XFree86$
-'\" et
-'\"! eqn|tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pushclien
-.ds Xs 42589 5 pushclientattrib.gl
-.TH GLPUSHCLIENTATTRIB 3G
-.SH NAME
-.B "glPushClientAttrib, glPopClientAttrib
-\- push and pop the client attribute stack
-
-.SH C SPECIFICATION
-void \f3glPushClientAttrib\fP(
-GLbitfield mask); \fI1.1\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f21.1\fP\ \ 'u
-\f21.1\fP
-Specifies a mask that indicates which attributes to save. Values for
-\f21.1\fP are listed below.
-.SH C SPECIFICATION
-void \f3glPopClientAttrib\fP(
-void); \fI1.1\fP )
-.nf
-.fi
-
-.SH DESCRIPTION
-\%\f3glPushClientAttrib\fP takes one argument,
-a mask that indicates which groups of client-state variables
-to save on the client attribute stack.
-Symbolic constants are used to set bits in the mask.
-\f21.1\fP
-is typically constructed by OR'ing several of these constants together.
-The special mask
-\%\f3GL_CLIENT_ALL_ATTRIB_BITS\fP
-can be used to save all stackable client state.
-.P
-The symbolic mask constants and their associated GL client state are as follows
-(the second column lists which attributes are saved):
-.P
-\%\f3GL_CLIENT_PIXEL_STORE_BIT\fP Pixel storage modes
-.br
-\%\f3GL_CLIENT_VERTEX_ARRAY_BIT\fP Vertex arrays (and enables)
-.P
-\%\f3glPopClientAttrib\fP restores the values of the client-state variables
-saved with the last \%\f3glPushClientAttrib\fP.
-Those not saved are left unchanged.
-.P
-It is an error to push attributes onto a full client attribute stack,
-or to pop attributes off an empty stack.
-In either case, the error flag is set,
-and no other change is made to GL state.
-.P
-Initially, the client attribute stack is empty.
-.SH NOTES
-\%\f3glPushClientAttrib\fP is available only if the GL version is 1.1 or greater.
-.P
-Not all values for GL client state can be saved on the attribute stack.
-For example, select and feedback state cannot be saved.
-.P
-The depth of the attribute stack depends on the implementation,
-but it must be at least 16.
-.P
-Use \%\f3glPushAttrib\fP and \%\f3glPopAttrib\fP to push and restore
-state which is kept on the server. Only pixel storage modes and
-vertex array state may be pushed and popped with
-\%\f3glPushClientAttrib\fP and \%\f3glPopClientAttrib\fP.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, pushing and
-popping client vertex array state apples to all supported texture units,
-and the active client texture state.
-.SH ERRORS
-\%\f3GL_STACK_OVERFLOW\fP is generated if \%\f3glPushClientAttrib\fP is called while
-the attribute stack is full.
-.P
-\%\f3GL_STACK_UNDERFLOW\fP is generated if \%\f3glPopClientAttrib\fP is called while
-the attribute stack is empty.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_ATTRIB_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_CLIENT_ATTRIB_STACK_DEPTH\fP
-.SH SEE ALSO
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDisableClientState(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glEnableClientState(3G)\fP,
-\%\f3glGet(3G)\fP,
-\%\f3glGetError(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glNewList(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPushAttrib(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pushmatrix.3gl b/doc/gl-docs/GL/gl/pushmatrix.3gl
deleted file mode 100644
index 294efd4a1..000000000
--- a/doc/gl-docs/GL/gl/pushmatrix.3gl
+++ /dev/null
@@ -1,92 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pushmatri
-.ds Xs 41127 5 pushmatrix.gl
-.TH GLPUSHMATRIX 3G
-.SH NAME
-.B "glPushMatrix, glPopMatrix
-\- push and pop the current matrix stack
-
-.SH C SPECIFICATION
-void \f3glPushMatrix\fP( void )
-.nf
-.fi
-
-.SH C SPECIFICATION
-void \f3glPopMatrix\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-There is a stack of matrices for each of the matrix modes.
-In \%\f3GL_MODELVIEW\fP mode,
-the stack depth is at least 32.
-In the other modes,
-\%\f3GL_COLOR\fP, const(PROJECTION), and \%\f3GL_TEXTURE\fP,
-the depth is at least 2.
-The current matrix in any mode is the matrix on the top of the stack
-for that mode.
-.P
-\%\f3glPushMatrix\fP pushes the current matrix stack down by one,
-duplicating the current matrix.
-That is,
-after a \%\f3glPushMatrix\fP call,
-the matrix on top of the stack is identical to the one below it.
-.P
-\%\f3glPopMatrix\fP pops the current matrix stack,
-replacing the current matrix with the one below it on the stack.
-.P
-Initially, each of the stacks contains one matrix, an identity matrix.
-.P
-It is an error to push a full matrix stack,
-or to pop a matrix stack that contains only a single matrix.
-In either case, the error flag is set
-and no other change is made to GL state.
-.SH ERRORS
-\%\f3GL_STACK_OVERFLOW\fP is generated if \%\f3glPushMatrix\fP is called while
-the current matrix stack is full.
-.P
-\%\f3GL_STACK_UNDERFLOW\fP is generated if \%\f3glPopMatrix\fP is called while
-the current matrix stack contains only a single matrix.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPushMatrix\fP or \%\f3glPopMatrix\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_MODELVIEW_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_PROJECTION_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_TEXTURE_STACK_DEPTH\fP
-.SH SEE ALSO
-\%\f3glFrustum(3G)\fP,
-\%\f3glLoadIdentity(3G)\fP,
-\%\f3glLoadMatrix(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glMultMatrix(3G)\fP,
-\%\f3glOrtho(3G)\fP,
-\%\f3glRotate(3G)\fP,
-\%\f3glScale(3G)\fP,
-\%\f3glTranslate(3G)\fP,
-\%\f3glViewport(3G)\fP
diff --git a/doc/gl-docs/GL/gl/pushname.3gl b/doc/gl-docs/GL/gl/pushname.3gl
deleted file mode 100644
index 72b22cb4f..000000000
--- a/doc/gl-docs/GL/gl/pushname.3gl
+++ /dev/null
@@ -1,68 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 pushname.
-.ds Xs 59541 4 pushname.gl
-.TH GLPUSHNAME 3G
-.SH NAME
-.B "glPushName, glPopName
-\- push and pop the name stack
-
-.SH C SPECIFICATION
-void \f3glPushName\fP(
-GLuint \fIname\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2name\fP\ \ 'u
-\f2name\fP
-Specifies a name that will be pushed onto the name stack.
-.SH C SPECIFICATION
-void \f3glPopName\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-The name stack is used during selection mode to allow sets of rendering
-commands to be uniquely identified.
-It consists of an ordered set of unsigned integers and is initially empty.
-.P
-\%\f3glPushName\fP causes \f2name\fP to be pushed onto the name stack.
-\%\f3glPopName\fP pops one name off the top of the stack.
-.P
-The maximum name stack depth is implementation-dependent; call
-\%\f3GL_MAX_NAME_STACK_DEPTH\fP to find out the value for a particular
-implementation. It is an
-error to push a name onto a full stack,
-or to pop a name off an empty stack.
-It is also an error to manipulate the name stack between the execution of
-\%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP.
-In any of these cases, the error flag is set and no other change is
-made to GL state.
-.P
-The name stack is always empty while the render mode is not \%\f3GL_SELECT\fP.
-Calls to \%\f3glPushName\fP or \%\f3glPopName\fP while the render mode is not
-\%\f3GL_SELECT\fP are ignored.
-.SH ERRORS
-\%\f3GL_STACK_OVERFLOW\fP is generated if \%\f3glPushName\fP is called while the
-name stack is full.
-.P
-\%\f3GL_STACK_UNDERFLOW\fP is generated if \%\f3glPopName\fP is called while the
-name stack is empty.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glPushName\fP or \%\f3glPopName\fP
-is executed between a call to \%\f3glBegin\fP and the corresponding call to
-\%\f3glEnd\fP.
-.bp
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_NAME_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_NAME_STACK_DEPTH\fP
-.SH SEE ALSO
-\%\f3glInitNames(3G)\fP,
-\%\f3glLoadName(3G)\fP,
-\%\f3glRenderMode(3G)\fP,
-\%\f3glSelectBuffer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/rasterpos.3gl b/doc/gl-docs/GL/gl/rasterpos.3gl
deleted file mode 100644
index f86baff79..000000000
--- a/doc/gl-docs/GL/gl/rasterpos.3gl
+++ /dev/null
@@ -1,287 +0,0 @@
-.\" $XFree86$
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 rasterpos
-.ds Xs 20383 7 rasterpos.gl
-.TH GLRASTERPOS 3G
-.SH NAME
-.B "glRasterPos2d, glRasterPos2f, glRasterPos2i, glRasterPos2s, glRasterPos3d, glRasterPos3f, glRasterPos3i, glRasterPos3s, glRasterPos4d, glRasterPos4f, glRasterPos4i, glRasterPos4s, glRasterPos2dv, glRasterPos2fv, glRasterPos2iv, glRasterPos2sv, glRasterPos3dv, glRasterPos3fv, glRasterPos3iv, glRasterPos3sv, glRasterPos4dv, glRasterPos4fv, glRasterPos4iv, glRasterPos4sv
-\- specify the raster position for pixel operations
-
-.SH C SPECIFICATION
-void \f3glRasterPos2d\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos2d( 'u
- GLdouble \fIy\fP )
-.fi
-void \f3glRasterPos2f\fP(
-GLfloat \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos2f( 'u
- GLfloat \fIy\fP )
-.fi
-void \f3glRasterPos2i\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos2i( 'u
- GLint \fIy\fP )
-.fi
-void \f3glRasterPos2s\fP(
-GLshort \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos2s( 'u
- GLshort \fIy\fP )
-.fi
-void \f3glRasterPos3d\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos3d( 'u
- GLdouble \fIy\fP,
- GLdouble \fIz\fP )
-.fi
-void \f3glRasterPos3f\fP(
-GLfloat \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos3f( 'u
- GLfloat \fIy\fP,
- GLfloat \fIz\fP )
-.fi
-void \f3glRasterPos3i\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos3i( 'u
- GLint \fIy\fP,
- GLint \fIz\fP )
-.fi
-void \f3glRasterPos3s\fP(
-GLshort \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos3s( 'u
- GLshort \fIy\fP,
- GLshort \fIz\fP )
-.fi
-void \f3glRasterPos4d\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos4d( 'u
- GLdouble \fIy\fP,
- GLdouble \fIz\fP,
- GLdouble \fIw\fP )
-.fi
-void \f3glRasterPos4f\fP(
-GLfloat \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos4f( 'u
- GLfloat \fIy\fP,
- GLfloat \fIz\fP,
- GLfloat \fIw\fP )
-.fi
-void \f3glRasterPos4i\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos4i( 'u
- GLint \fIy\fP,
- GLint \fIz\fP,
- GLint \fIw\fP )
-.fi
-void \f3glRasterPos4s\fP(
-GLshort \fIx\fP,
-.nf
-.ta \w'\f3void \fPglRasterPos4s( 'u
- GLshort \fIy\fP,
- GLshort \fIz\fP,
- GLshort \fIw\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \f2z\fP\ \f2w\fP\ \ 'u
-\f2x\fP, \f2y\fP, \f2z\fP, \f2w\fP
-Specify the $x$, $y$, $z$, and $w$ object coordinates
-(if present)
-for the raster position.
-.SH C SPECIFICATION
-void \f3glRasterPos2dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos2fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos2iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos2sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos3dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos3fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos3iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos3sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos4dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos4fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos4iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glRasterPos4sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f2v\fP
-Specifies a pointer to an array of two,
-three,
-or four elements,
-specifying $x$, $y$, $z$, and $w$ coordinates, respectively.
-.SH DESCRIPTION
-The GL maintains a 3D position in window coordinates.
-This position,
-called the raster position,
-is used to position pixel and bitmap write operations. It is
-maintained with subpixel accuracy.
-See \%\f3glBitmap\fP, \%\f3glDrawPixels\fP, and \%\f3glCopyPixels\fP.
-.P
-The current raster position consists of three window coordinates
-($x$, $y$, $z$),
-a clip coordinate value ($w$),
-an eye coordinate distance,
-a valid bit,
-and associated color data and texture coordinates.
-The $w$ coordinate is a clip coordinate,
-because $w$ is not projected to window coordinates.
-\%\f3glRasterPos4\fP specifies object coordinates $x$, $y$, $z$, and $w$
-explicitly.
-\%\f3glRasterPos3\fP specifies object coordinate $x$, $y$, and $z$ explicitly,
-while $w$ is implicitly set to 1.
-\%\f3glRasterPos2\fP uses the argument values for $x$ and $y$ while
-implicitly setting $z$ and $w$ to 0 and 1.
-.P
-The object coordinates presented by \%\f3glRasterPos\fP are treated just like those
-of a \%\f3glVertex\fP command:
-They are transformed by the current modelview and projection matrices
-and passed to the clipping stage.
-If the vertex is not culled,
-then it is projected and scaled to window coordinates,
-which become the new current raster position,
-and the \%\f3GL_CURRENT_RASTER_POSITION_VALID\fP flag is set.
-If the vertex
-.I is
-culled,
-then the valid bit is cleared and the current raster position
-and associated color and texture coordinates are undefined.
-.P
-The current raster position also includes some associated color data
-and texture coordinates.
-If lighting is enabled,
-then \%\f3GL_CURRENT_RASTER_COLOR\fP
-(in RGBA mode)
-or \%\f3GL_CURRENT_RASTER_INDEX\fP
-(in color index mode)
-is set to the color produced by the lighting calculation
-(see \%\f3glLight\fP, \%\f3glLightModel\fP, and
-.br
-\%\f3glShadeModel\fP).
-If lighting is disabled,
-current color
-(in RGBA mode, state variable \%\f3GL_CURRENT_COLOR\fP)
-or color index
-(in color index mode, state variable \%\f3GL_CURRENT_INDEX\fP)
-is used to update the current raster color.
-.P
-Likewise,
-\%\f3GL_CURRENT_RASTER_TEXTURE_COORDS\fP is updated as a function
-of \%\f3GL_CURRENT_TEXTURE_COORDS\fP,
-based on the texture matrix and the texture generation functions
-(see \%\f3glTexGen\fP).
-Finally,
-the distance from the origin of the eye coordinate system to the
-vertex as transformed by only the modelview matrix replaces
-\%\f3GL_CURRENT_RASTER_DISTANCE\fP.
-.P
-Initially, the current raster position is (0, 0, 0, 1),
-the current raster distance is 0,
-the valid bit is set,
-the associated RGBA color is (1, 1, 1, 1),
-the associated color index is 1,
-and the associated texture coordinates are (0, 0, 0, 1).
-In RGBA mode,
-\%\f3GL_CURRENT_RASTER_INDEX\fP is always 1;
-in color index mode,
-the current raster RGBA color always maintains its initial value.
-.SH NOTES
-The raster position is modified both by \%\f3glRasterPos\fP and by \%\f3glBitmap\fP.
-.P
-When the raster position coordinates are invalid,
-drawing commands that are based on the raster position are
-ignored (that is, they do not result in changes to GL state).
-.P
-Calling \%\f3glDrawElements\fP, or \%\f3glDrawRangeElements\fP may leave the
-current color or index indeterminate.
-If \%\f3glRasterPos\fP is executed while the current color or index is indeterminate, the
-current raster color or current raster index remains indeterminate.
-.P
-To set a valid raster position outside the viewport, first set a valid
-raster position, then call \%\f3glBitmap\fP with NULL as the \f2bitmap\fP
-parameter.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, there are distinct
-raster texture coordinates for each texture unit. Each texture unit's
-current raster texture coordinates are updated by \%\f3glRasterPos\fP.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glRasterPos\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_POSITION_VALID\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_DISTANCE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_COLOR\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_INDEX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_RASTER_TEXTURE_COORDS\fP
-.SH SEE ALSO
-\%\f3glBitmap(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glDrawRangeElements(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glVertex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/readbuffer.3gl b/doc/gl-docs/GL/gl/readbuffer.3gl
deleted file mode 100644
index 6e5e40ce7..000000000
--- a/doc/gl-docs/GL/gl/readbuffer.3gl
+++ /dev/null
@@ -1,81 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 readbuffe
-.ds Xs 2004 4 readbuffer.gl
-.TH GLREADBUFFER 3G
-.SH NAME
-.B "glReadBuffer
-\- select a color buffer source for pixels
-
-.SH C SPECIFICATION
-void \f3glReadBuffer\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-Specifies a color buffer.
-Accepted values are
-\%\f3GL_FRONT_LEFT\fP,
-\%\f3GL_FRONT_RIGHT\fP,
-\%\f3GL_BACK_LEFT\fP,
-\%\f3GL_BACK_RIGHT\fP,
-\%\f3GL_FRONT\fP,
-\%\f3GL_BACK\fP,
-\%\f3GL_LEFT\fP,
-\%\f3GL_RIGHT\fP, and
-\%\f3GL_AUX\fP\f2i\fP,
-where \f2i\fP is between 0 and \%\f3GL_AUX_BUFFERS\fP \-1.
-.SH DESCRIPTION
-\%\f3glReadBuffer\fP specifies a color buffer as the source for subsequent
-\%\f3glReadPixels\fP, \%\f3glCopyTexImage1D\fP, \%\f3glCopyTexImage2D\fP,
-\%\f3glCopyTexSubImage1D\fP, \%\f3glCopyTexSubImage2D\fP,
-\%\f3glCopyTexSubImage3D\fP, and
-\%\f3glCopyPixels\fP commands.
-\f2mode\fP accepts one of twelve or more predefined values.
-(\%\f3GL_AUX0\fP through \%\f3GL_AUX3\fP are always defined.)
-In a fully configured system,
-\%\f3GL_FRONT\fP,
-\%\f3GL_LEFT\fP, and
-\%\f3GL_FRONT_LEFT\fP all name the front left buffer,
-\%\f3GL_FRONT_RIGHT\fP and
-\%\f3GL_RIGHT\fP name the front right buffer, and
-\%\f3GL_BACK_LEFT\fP and
-\%\f3GL_BACK\fP name the back left buffer.
-.P
-Nonstereo double-buffered configurations have only a front left and a
-back left buffer.
-Single-buffered configurations have a front left and a front right
-buffer if stereo, and only a front left buffer if nonstereo.
-It is an error to specify a nonexistent buffer to \%\f3glReadBuffer\fP.
-.P
-\f2mode\fP is initially \%\f3GL_FRONT\fP in single-buffered configurations,
-and \%\f3GL_BACK\fP in double-buffered configurations.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not one of the twelve
-(or more) accepted values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2mode\fP specifies a buffer
-that does not exist.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glReadBuffer\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_READ_BUFFER\fP
-.SH SEE ALSO
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawBuffer(3G)\fP,
-\%\f3glReadPixels(3G)\fP
diff --git a/doc/gl-docs/GL/gl/readpixels.3gl b/doc/gl-docs/GL/gl/readpixels.3gl
deleted file mode 100644
index 5c44475a8..000000000
--- a/doc/gl-docs/GL/gl/readpixels.3gl
+++ /dev/null
@@ -1,348 +0,0 @@
-.\" $XFree86$
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 readpixel
-.ds Xs 11505 13 readpixels.gl
-.TH GLREADPIXELS 3G
-.SH NAME
-.B "glReadPixels
-\- read a block of pixels from the frame buffer
-
-.SH C SPECIFICATION
-void \f3glReadPixels\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglReadPixels( 'u
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \ 'u
-\f2x\fP, \f2y\fP
-Specify the window coordinates of the first pixel
-that is read from the frame buffer.
-This location is the lower left corner of a rectangular block of pixels.
-.TP
-\f2width\fP, \f2height\fP
-Specify the dimensions of the pixel rectangle.
-\f2width\fP and \f2height\fP of one correspond to a single pixel.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_STENCIL_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type of the pixel data.
-Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2pixels\fP
-Returns the pixel data.
-.SH DESCRIPTION
-\%\f3glReadPixels\fP returns pixel data from the frame buffer,
-starting with the pixel whose lower left corner
-is at location (\f2x\fP, \f2y\fP),
-into client memory starting at location \f2pixels\fP.
-Several parameters control the processing of the pixel data before
-it is placed into client memory.
-These parameters are set with three commands:
-\%\f3glPixelStore\fP,
-\%\f3glPixelTransfer\fP, and
-\%\f3glPixelMap\fP.
-This reference page describes the effects on \%\f3glReadPixels\fP of most,
-but not all of the parameters specified by these three commands.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the pixel data may
-be processed by additional operations including color table lookup,
-color matrix transformations, convolutions, histograms and minimum and
-maximun pixel value computations.
-.P
-\%\f3glReadPixels\fP returns values from each pixel with lower left corner at
-(\f2x\fP + $i$, \f2y\fP + $j$) for 0 \(<= $i$ < \f2width\fP and
-0 \(<= $j$ < \f2height\fP.
-This pixel is said to be the $i$th pixel in the $j$th row.
-Pixels are returned in row order from the lowest to the highest row,
-left to right in each row.
-.P
-\f2format\fP specifies the for the returned pixel values;
-accepted values are:
-.TP 10
-\%\f3GL_COLOR_INDEX\fP
-Color indices are read from the color buffer
-selected by \%\f3glReadBuffer\fP.
-Each index is converted to fixed point,
-shifted left or right depending on the value and sign of \%\f3GL_INDEX_SHIFT\fP,
-and added to \%\f3GL_INDEX_OFFSET\fP.
-If \%\f3GL_MAP_COLOR\fP is \%\f3GL_TRUE\fP,
-indices are replaced by their mappings in the table \%\f3GL_PIXEL_MAP_I_TO_I\fP.
-.TP
-\%\f3GL_STENCIL_INDEX\fP
-Stencil values are read from the stencil buffer.
-Each index is converted to fixed point,
-shifted left or right depending on the value and sign of \%\f3GL_INDEX_SHIFT\fP,
-and added to \%\f3GL_INDEX_OFFSET\fP.
-If \%\f3GL_MAP_STENCIL\fP is \%\f3GL_TRUE\fP,
-indices are replaced by their mappings in the table \%\f3GL_PIXEL_MAP_S_TO_S\fP.
-.TP
-\%\f3GL_DEPTH_COMPONENT\fP
-Depth values are read from the depth buffer.
-Each component is converted to floating point such that the minimum depth
-value maps to 0 and the maximum value maps to 1.
-Each component is then multiplied by \%\f3GL_DEPTH_SCALE\fP,
-added to \%\f3GL_DEPTH_BIAS\fP,
-and finally clamped to the range [0,1].
-.TP
-\%\f3GL_RED\fP
-.TP
-\%\f3GL_GREEN\fP
-.TP
-\%\f3GL_BLUE\fP
-.TP
-\%\f3GL_ALPHA\fP
-.TP
-\%\f3GL_RGB\fP
-.TP
-\%\f3GL_BGR\fP
-.TP
-\%\f3GL_RGBA\fP
-.TP
-\%\f3GL_BGRA\fP
-.TP
-\%\f3GL_LUMINANCE\fP
-.TP
-\%\f3GL_LUMINANCE_ALPHA\fP
-Processing differs depending on whether color buffers store color indices
-or RGBA color components.
-If color indices are stored,
-they are read from the color buffer selected by \%\f3glReadBuffer\fP.
-Each index is converted to fixed point,
-shifted left or right depending on the value and sign of \%\f3GL_INDEX_SHIFT\fP,
-and added to \%\f3GL_INDEX_OFFSET\fP.
-Indices are then replaced by the red,
-green,
-blue,
-and alpha values obtained by indexing the tables
-\%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP, and
-\%\f3GL_PIXEL_MAP_I_TO_A\fP.
-Each table must be of size $2 sup n$, but $n$ may be different for
-different tables.
-Before an index is used to look up a value in a table of
-size $2 sup n$, it must be masked against $2 sup n - 1$.
-.IP
-If RGBA color components are stored in the color buffers,
-they are read from the color buffer selected by \%\f3glReadBuffer\fP.
-Each color component is converted to floating point such that zero intensity
-maps to 0.0 and full intensity maps to 1.0.
-Each component is then multiplied by \%\f3GL_c_SCALE\fP and
-added to \%\f3GL_c_BIAS\fP,
-where \f2c\fP is RED, GREEN, BLUE, or ALPHA.
-Finally,
-if \%\f3GL_MAP_COLOR\fP is \%\f3GL_TRUE\fP,
-each component is clamped to the range [0,\ 1],
-scaled to the size of its corresponding table, and is then
-replaced by its mapping in the table
-\%\f3GL_PIXEL_MAP_c_TO_c\fP,
-where \f2c\fP is R, G, B, or A.
-.IP
-Unneeded data is then discarded.
-For example,
-\%\f3GL_RED\fP discards the green, blue, and alpha components,
-while \%\f3GL_RGB\fP discards only the alpha component.
-\%\f3GL_LUMINANCE\fP computes a single-component value as the sum of
-the red,
-green,
-and blue components,
-and \%\f3GL_LUMINANCE_ALPHA\fP does the same,
-while keeping alpha as a second value.
-The final values are clamped to the range [0,\ 1].
-.P
-The shift,
-scale,
-bias,
-and lookup factors just described are all specified by
-.br
-\%\f3glPixelTransfer\fP.
-The lookup table contents themselves are specified by \%\f3glPixelMap\fP.
-.P
-Finally, the indices or components
-are converted to the proper ,
-as specified by \f2type\fP.
-If \f2format\fP is \%\f3GL_COLOR_INDEX\fP or \%\f3GL_STENCIL_INDEX\fP
-and \f2type\fP is not \%\f3GL_FLOAT\fP,
-each index is masked with the mask value given in the following table.
-If \f2type\fP is \%\f3GL_FLOAT\fP, then each integer index is converted to
-single-precision floating-point .
-.P
-If \f2format\fP is
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP and \f2type\fP is not \%\f3GL_FLOAT\fP,
-each component is multiplied by the multiplier shown in the following table.
-If type is \%\f3GL_FLOAT\fP, then each component is passed as is
-(or converted to the client's single-precision floating-point if
-it is different from the one used by the GL).
-.P
-.TS
-center tab(:);
-l cb cb
-l c c.
-_
-\f2type\fP:index mask:component conversion
-_
-.sp .5
-\%\f3GL_UNSIGNED_BYTE\fP:$2"^"8 - 1$:$(2"^"8 - 1) c$
-\%\f3GL_BYTE\fP:$2"^"7 - 1$:$[(2"^"8 - 1) c - 1] / 2$
-\%\f3GL_BITMAP\fP:$1$:$1$
-\%\f3GL_UNSIGNED_SHORT\fP:$2"^"16 - 1$:$(2"^"16 - 1) c$
-\%\f3GL_SHORT\fP:$2"^"15 - 1$:$[(2"^"16 - 1) c - 1] / 2$
-\%\f3GL_UNSIGNED_INT\fP:$2"^"32 - 1$:$(2"^"32 - 1) c$
-\%\f3GL_INT\fP:$2"^"31 - 1$:$[(2"^"32 - 1) c - 1] / 2$
-\%\f3GL_FLOAT\fP:none:$c$
-_
-.TE
-.P
-Return values are placed in memory as follows.
-If \f2format\fP is
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_STENCIL_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP, or
-\%\f3GL_LUMINANCE\fP,
-a single value is returned and the data for the $i$th pixel in the $j$th row
-is placed in location $(j)~"width"~+~i$.
-\%\f3GL_RGB\fP and \%\f3GL_BGR\fP return three values,
-\%\f3GL_RGBA\fP and \%\f3GL_BGRA\fP return four values,
-and \%\f3GL_LUMINANCE_ALPHA\fP returns two values for each pixel,
-with all values corresponding to a single pixel occupying contiguous space
-in \f2pixels\fP.
-Storage parameters set by \%\f3glPixelStore\fP,
-such as \%\f3GL_PACK_LSB_FIRST\fP and \%\f3GL_PACK_SWAP_BYTES\fP,
-affect the way that data is written into memory.
-See \%\f3glPixelStore\fP for a description.
-.SH NOTES
-Values for pixels that lie outside the window
-connected to the current GL context are undefined.
-.P
-If an error is generated,
-no change is made to the contents of \f2pixels\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP or \f2type\fP is not an
-accepted value.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is \%\f3GL_BITMAP\fP and \f2format\fP is
-not \%\f3GL_COLOR_INDEX\fP or \%\f3GL_STENCIL_INDEX\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if either \f2width\fP or \f2height\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is \%\f3GL_COLOR_INDEX\fP
-and the color buffers store RGBA color components.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is \%\f3GL_STENCIL_INDEX\fP
-and there is no stencil buffer.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2format\fP is \%\f3GL_DEPTH_COMPONENT\fP
-and there is no depth buffer.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glReadPixels\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-The formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are available only if the GL version
-is 1.2 or greater.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_INDEX_MODE\fP
-.SH SEE ALSO
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glPixelMap(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-.br
-\%\f3glReadBuffer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/rect.3gl b/doc/gl-docs/GL/gl/rect.3gl
deleted file mode 100644
index 635c56c46..000000000
--- a/doc/gl-docs/GL/gl/rect.3gl
+++ /dev/null
@@ -1,117 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 rect.gl -
-.ds Xs 25554 4 rect.gl
-.TH GLRECT 3G
-.SH NAME
-.B "glRectd, glRectf, glRecti, glRects, glRectdv, glRectfv, glRectiv, glRectsv
-\- draw a rectangle
-
-.SH C SPECIFICATION
-void \f3glRectd\fP(
-GLdouble \fIx1\fP,
-.nf
-.ta \w'\f3void \fPglRectd( 'u
- GLdouble \fIy1\fP,
- GLdouble \fIx2\fP,
- GLdouble \fIy2\fP )
-.fi
-void \f3glRectf\fP(
-GLfloat \fIx1\fP,
-.nf
-.ta \w'\f3void \fPglRectf( 'u
- GLfloat \fIy1\fP,
- GLfloat \fIx2\fP,
- GLfloat \fIy2\fP )
-.fi
-void \f3glRecti\fP(
-GLint \fIx1\fP,
-.nf
-.ta \w'\f3void \fPglRecti( 'u
- GLint \fIy1\fP,
- GLint \fIx2\fP,
- GLint \fIy2\fP )
-.fi
-void \f3glRects\fP(
-GLshort \fIx1\fP,
-.nf
-.ta \w'\f3void \fPglRects( 'u
- GLshort \fIy1\fP,
- GLshort \fIx2\fP,
- GLshort \fIy2\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2x1\fP\ \f2y1\fP\ \ 'u
-\f2x1\fP, \f2y1\fP
-Specify one vertex of a rectangle.
-.TP
-\f2x2\fP, \f2y2\fP
-Specify the opposite vertex of the rectangle.
-.SH C SPECIFICATION
-void \f3glRectdv\fP(
-const GLdouble \fI*v1\fP,
-.nf
-.ta \w'\f3void \fPglRectdv( 'u
- const GLdouble \fI*v2\fP )
-.fi
-void \f3glRectfv\fP(
-const GLfloat \fI*v1\fP,
-.nf
-.ta \w'\f3void \fPglRectfv( 'u
- const GLfloat \fI*v2\fP )
-.fi
-void \f3glRectiv\fP(
-const GLint \fI*v1\fP,
-.nf
-.ta \w'\f3void \fPglRectiv( 'u
- const GLint \fI*v2\fP )
-.fi
-void \f3glRectsv\fP(
-const GLshort \fI*v1\fP,
-.nf
-.ta \w'\f3void \fPglRectsv( 'u
- const GLshort \fI*v2\fP )
-.fi
-
-.BP
-.SH PARAMETERS
-.TP
-\f2v1\fP
-Specifies a pointer to one vertex of a rectangle.
-.TP
-\f2v2\fP
-Specifies a pointer to the opposite vertex of the rectangle.
-.SH DESCRIPTION
-\%\f3glRect\fP supports efficient specification of rectangles as two corner points.
-Each
-rectangle command takes four arguments,
-organized either as two consecutive pairs of (\f2x\fP,\f2y\fP) coordinates,
-or as two pointers to arrays,
-each containing an (\f2x\fP,\f2y\fP) pair.
-The resulting rectangle is defined in the \f2z\fP = 0 plane.
-.P
-\%\f3glRect\fP(\f2x1\fP, \f2y1\fP, \f2x2\fP, \f2y2\fP)
-is exactly equivalent to the following sequence:
-.Ex 6
-glBegin(\%\f3GL_POLYGON\fP);
-glVertex2(\f2x1\fP, \f2y1\fP);
-glVertex2(\f2x2\fP, \f2y1\fP);
-glVertex2(\f2x2\fP, \f2y2\fP);
-glVertex2(\f2x1\fP, \f2y2\fP);
-glEnd();
-.Ee
-Note that if the second vertex is above and to the right of the first vertex,
-the rectangle is constructed with a counterclockwise winding.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glRect\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glVertex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/rendermode.3gl b/doc/gl-docs/GL/gl/rendermode.3gl
deleted file mode 100644
index 8727873ed..000000000
--- a/doc/gl-docs/GL/gl/rendermode.3gl
+++ /dev/null
@@ -1,107 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 rendermod
-.ds Xs 54049 5 rendermode.gl
-.TH GLRENDERMODE 3G
-.SH NAME
-.B "glRenderMode
-\- set rasterization mode
-
-.SH C SPECIFICATION
-GLint \f3glRenderMode\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-Specifies the rasterization mode.
-Three values are accepted:
-\%\f3GL_RENDER\fP,
-\%\f3GL_SELECT\fP, and
-\%\f3GL_FEEDBACK\fP.
-The initial value is \%\f3GL_RENDER\fP.
-.SH DESCRIPTION
-\%\f3glRenderMode\fP sets the rasterization mode.
-It takes one argument,
-\f2mode\fP,
-which can assume one of three predefined values:
-.TP 16
-\%\f3GL_RENDER\fP
-Render mode. Primitives are rasterized,
-producing pixel fragments,
-which are written into the frame buffer.
-This is the normal mode
-and also the default mode.
-.TP
-\%\f3GL_SELECT\fP
-Selection mode.
-No pixel fragments are produced,
-and no change to the frame buffer contents is made.
-Instead,
-a record of the names of primitives that would have been drawn
-if the render mode had been \%\f3GL_RENDER\fP is returned in a select buffer,
-which must be created (see \%\f3glSelectBuffer\fP) before selection mode
-is entered.
-.TP
-\%\f3GL_FEEDBACK\fP
-Feedback mode.
-No pixel fragments are produced,
-and no change to the frame buffer contents is made.
-Instead,
-the coordinates and attributes of vertices that would have been drawn
-if the render mode had been \%\f3GL_RENDER\fP is returned in a feedback buffer,
-which must be created (see \%\f3glFeedbackBuffer\fP) before feedback mode
-is entered.
-.P
-The return value of \%\f3glRenderMode\fP is determined by the render mode at the time
-\%\f3glRenderMode\fP is called,
-rather than by \f2mode\fP.
-The values returned for the three render modes are as follows:
-.TP 16
-\%\f3GL_RENDER\fP
-0.
-.TP
-\%\f3GL_SELECT\fP
-The number of hit records transferred to the select buffer.
-.TP
-\%\f3GL_FEEDBACK\fP
-The number of values (not vertices) transferred to the feedback buffer.
-.P
-See the \%\f3glSelectBuffer\fP and \%\f3glFeedbackBuffer\fP reference pages for
-more details concerning selection and feedback operation.
-.SH NOTES
-If an error is generated,
-\%\f3glRenderMode\fP returns 0 regardless of the current render mode.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is not one of the three
-accepted values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glSelectBuffer\fP is called
-while the render mode is \%\f3GL_SELECT\fP,
-or if \%\f3glRenderMode\fP is called with argument \%\f3GL_SELECT\fP before
-\%\f3glSelectBuffer\fP is called at least once.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glFeedbackBuffer\fP is called
-while the render mode is \%\f3GL_FEEDBACK\fP,
-or if \%\f3glRenderMode\fP is called with argument \%\f3GL_FEEDBACK\fP before
-\%\f3glFeedbackBuffer\fP is called at least once.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glRenderMode\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_RENDER_MODE\fP
-.SH SEE ALSO
-\%\f3glFeedbackBuffer(3G)\fP,
-\%\f3glInitNames(3G)\fP,
-\%\f3glLoadName(3G)\fP,
-\%\f3glPassThrough(3G)\fP,
-\%\f3glPushName(3G)\fP,
-\%\f3glSelectBuffer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/resethistogram.3gl b/doc/gl-docs/GL/gl/resethistogram.3gl
deleted file mode 100644
index ed656ad93..000000000
--- a/doc/gl-docs/GL/gl/resethistogram.3gl
+++ /dev/null
@@ -1,38 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 resethist
-.ds Xs 3266 3 resethistogram.gl
-.TH GLRESETHISTOGRAM 3G
-.SH NAME
-.B "glResetHistogram
-\- reset histogram table entries to zero
-
-.SH C SPECIFICATION
-void \f3glResetHistogram\fP(
-GLenum \fItarget\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be
-\%\f3GL_HISTOGRAM\fP.
-.SH DESCRIPTION
-\%\f3glResetHistogram\fP resets all the elements of the current histogram table to zero.
-.SH NOTES
-\%\f3glResetHistogram\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_HISTOGRAM\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glResetHistogram\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glHistogram(3G)\fP
diff --git a/doc/gl-docs/GL/gl/resetminmax.3gl b/doc/gl-docs/GL/gl/resetminmax.3gl
deleted file mode 100644
index 284615b4a..000000000
--- a/doc/gl-docs/GL/gl/resetminmax.3gl
+++ /dev/null
@@ -1,41 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 resetminm
-.ds Xs 18776 3 resetminmax.gl
-.TH GLRESETMINMAX 3G
-.SH NAME
-.B "glResetMinmax
-\- reset minmax table entries to initial values
-
-.SH C SPECIFICATION
-void \f3glResetMinmax\fP(
-GLenum \fItarget\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Must be
-\%\f3GL_MINMAX\fP.
-.SH DESCRIPTION
-\%\f3glResetMinmax\fP resets the elements of the current minmax table to their
-initial values: the ``maximum'' element receives the minimum possible
-component values, and the ``minimum'' element receives the maximum
-possible component values.
-.SH NOTES
-\%\f3glResetMinmax\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_MINMAX\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glResetMinmax\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.SH SEE ALSO
-\%\f3glMinmax(3G)\fP
diff --git a/doc/gl-docs/GL/gl/rotate.3gl b/doc/gl-docs/GL/gl/rotate.3gl
deleted file mode 100644
index 88b5805f7..000000000
--- a/doc/gl-docs/GL/gl/rotate.3gl
+++ /dev/null
@@ -1,110 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 rotate.gl
-.ds Xs 52762 5 rotate.gl
-.TH GLROTATE 3G
-.SH NAME
-.B "glRotated, glRotatef
-\- multiply the current matrix by a rotation matrix
-
-.SH C SPECIFICATION
-void \f3glRotated\fP(
-GLdouble \fIangle\fP,
-.nf
-.ta \w'\f3void \fPglRotated( 'u
- GLdouble \fIx\fP,
- GLdouble \fIy\fP,
- GLdouble \fIz\fP )
-.fi
-void \f3glRotatef\fP(
-GLfloat \fIangle\fP,
-.nf
-.ta \w'\f3void \fPglRotatef( 'u
- GLfloat \fIx\fP,
- GLfloat \fIy\fP,
- GLfloat \fIz\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2angle\fP\ \ 'u
-\f2angle\fP
-Specifies the angle of rotation, in degrees.
-.TP
-\f2x\fP, \f2y\fP, \f2z\fP
-Specify the \f2x\fP, \f2y\fP, and \f2z\fP coordinates of a vector, respectively.
-.SH DESCRIPTION
-\%\f3glRotate\fP produces a rotation of \f2angle\fP degrees around
-the vector $("x", "y", "z")$.
-The current matrix (see \%\f3glMatrixMode\fP) is multiplied by a rotation
-matrix with the product
-replacing the current matrix, as if \%\f3glMultMatrix\fP were called
-with the following matrix as its argument:
-.P
-.ce
-.EQ
-left ( ~ down 20 matrix {
- ccol {
- "x" sup 2 (1 ^-^ c)~+~ c above
- "y" "x" (1 ^-^ c)~+~ "z" s above
- "x" "z" (1 ^-^ c)~-~"y" s above
- ~0
- }
- ccol {
- ~~ "x" "y" (1 ^-^ c)~-~"z" s above
- ~~ "y" sup 2 (1 ^-^ c)~+~ c above
- ~~ "y" "z" (1 ^-^ c)~+~ "x" s above
- ~~ ~0
- }
- ccol {
- ~~ "x" "z" (1 ^-^ c)~+~ "y" s above
- ~~ "y" "z" (1 ^-^ c)~-~ "x" s above
- ~~ "z" sup 2 (1 ^-^ c) ~+~ c above
- ~~ ~0
- }
- ccol { ~0 above ~0 above ~0 above ~1}
-} ~~ right )
-.EN
-.P
-.sp
-Where $c ~=~ cos ("angle")$, $s ~=~ sin ("angle")$, and
-$||(~"x", "y", "z"~)|| ~=~ 1$ (if not, the GL
-will normalize this vector).
-.sp
-.sp
-.P
-If the matrix mode is either \%\f3GL_MODELVIEW\fP or \%\f3GL_PROJECTION\fP,
-all objects drawn after \%\f3glRotate\fP is called are rotated.
-Use \%\f3glPushMatrix\fP and \%\f3glPopMatrix\fP to save and restore
-the unrotated coordinate system.
-.SH NOTES
-This rotation follows the right-hand rule, so
-if the vector $("x", "y", "z")$ points toward the
-user, the rotation will be counterclockwise.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glRotate\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.SH SEE ALSO
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glMultMatrix(3G)\fP,
-\%\f3glPushMatrix(3G)\fP,
-\%\f3glScale(3G)\fP,
-\%\f3glTranslate(3G)\fP
diff --git a/doc/gl-docs/GL/gl/scale.3gl b/doc/gl-docs/GL/gl/scale.3gl
deleted file mode 100644
index 11c09e386..000000000
--- a/doc/gl-docs/GL/gl/scale.3gl
+++ /dev/null
@@ -1,92 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 scale.gl
-.ds Xs 39478 4 scale.gl
-.TH GLSCALE 3G
-.SH NAME
-.B "glScaled, glScalef
-\- multiply the current matrix by a general scaling matrix
-
-.SH C SPECIFICATION
-void \f3glScaled\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPglScaled( 'u
- GLdouble \fIy\fP,
- GLdouble \fIz\fP )
-.fi
-void \f3glScalef\fP(
-GLfloat \fIx\fP,
-.nf
-.ta \w'\f3void \fPglScalef( 'u
- GLfloat \fIy\fP,
- GLfloat \fIz\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \f2z\fP\ \ 'u
-\f2x\fP, \f2y\fP, \f2z\fP
-Specify scale factors along the \f2x\fP, \f2y\fP, and \f2z\fP axes, respectively.
-.SH DESCRIPTION
-\%\f3glScale\fP produces a nonuniform scaling along the \f2x\fP, \f2y\fP, and
-\f2z\fP axes.
-The three parameters indicate the desired scale factor along
-each of the three axes.
-.P
-The current matrix
-(see \%\f3glMatrixMode\fP)
-is multiplied by this scale matrix,
-and the product replaces the current matrix
-as if \%\f3glScale\fP were called with the following matrix
-as its argument:
-
-.P
-.ce
-.EQ
-left ( ~ down 20 matrix {
- ccol { ~"x" above ~0 above ~0 above ~0 }
- ccol { ~0 above ~"y" above ~0 above ~0 }
- ccol { ~0 above ~0 above ~"z" above ~0 }
- ccol { ~0 above ~0 above ~0 above ~1}
-} ~~ right )
-.EN
-.sp
-If the matrix mode is either \%\f3GL_MODELVIEW\fP or \%\f3GL_PROJECTION\fP,
-all objects drawn after \%\f3glScale\fP is called are scaled.
-.P
-Use \%\f3glPushMatrix\fP and \%\f3glPopMatrix\fP to save and restore
-the unscaled coordinate system.
-.SH NOTES
-If scale factors other than 1 are applied to the modelview matrix
-and lighting is enabled, lighting often appears wrong.
-In that case, enable automatic normalization of normals by
-calling \%\f3glEnable\fP with the argument \%\f3GL_NORMALIZE\fP.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glScale\fP
-is executed between the execution of
-\%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.SH SEE ALSO
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glMultMatrix(3G)\fP,
-\%\f3glPushMatrix(3G)\fP,
-\%\f3glRotate(3G)\fP,
-\%\f3glTranslate(3G)\fP
diff --git a/doc/gl-docs/GL/gl/scissor.3gl b/doc/gl-docs/GL/gl/scissor.3gl
deleted file mode 100644
index d60c22ff5..000000000
--- a/doc/gl-docs/GL/gl/scissor.3gl
+++ /dev/null
@@ -1,69 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 scissor.g
-.ds Xs 30565 4 scissor.gl
-.TH GLSCISSOR 3G
-.SH NAME
-.B "glScissor
-\- define the scissor box
-
-.SH C SPECIFICATION
-void \f3glScissor\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglScissor( 'u
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \ 'u
-\f2x\fP, \f2y\fP
-Specify the lower left corner of the scissor box.
-Initially (0, 0).
-.TP
-\f2width\fP, \f2height\fP
-Specify the width and height of the scissor box.
-When a GL context is first attached to a window,
-\f2width\fP and \f2height\fP are set to the dimensions of that window.
-.SH DESCRIPTION
-\%\f3glScissor\fP defines a rectangle, called the scissor box,
-in window coordinates.
-The first two arguments,
-\f2x\fP and \f2y\fP,
-specify the lower left corner of the box.
-\f2width\fP and \f2height\fP specify the width and height of the box.
-.P
-To enable and disable the scissor test, call
-\%\f3glEnable\fP and \%\f3glDisable\fP with argument
-\%\f3GL_SCISSOR_TEST\fP. The test is initially disabled.
-While the test is enabled, only pixels that lie within the scissor box
-can be modified by drawing commands.
-Window coordinates have integer values at the shared corners of
-frame buffer pixels.
-\f7glScissor(0,0,1,1)\fP allows modification of only the lower left
-pixel in the window, and \f7glScissor(0,0,0,0)\fP doesn't allow
-modification of any pixels in the window.
-.P
-When the scissor test is disabled,
-it is as though the scissor box includes the entire window.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if either \f2width\fP or \f2height\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glScissor\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.bp
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_SCISSOR_BOX\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_SCISSOR_TEST\fP
-.SH SEE ALSO
-\%\f3glEnable(3G)\fP,
-\%\f3glViewport(3G)\fP
diff --git a/doc/gl-docs/GL/gl/selectbuffer.3gl b/doc/gl-docs/GL/gl/selectbuffer.3gl
deleted file mode 100644
index 6bb102c18..000000000
--- a/doc/gl-docs/GL/gl/selectbuffer.3gl
+++ /dev/null
@@ -1,113 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 selectbuf
-.ds Xs 39171 6 selectbuffer.gl
-.TH GLSELECTBUFFER 3G
-.SH NAME
-.B "glSelectBuffer
-\- establish a buffer for selection mode values
-
-.SH C SPECIFICATION
-void \f3glSelectBuffer\fP(
-GLsizei \fIsize\fP,
-.nf
-.ta \w'\f3void \fPglSelectBuffer( 'u
- GLuint \fI*buffer\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIbuffer\fP\ \ 'u
-\f2size\fP
-Specifies the size of \f2buffer\fP.
-.TP
-\f2buffer\fP
-Returns the selection data.
-.SH DESCRIPTION
-\%\f3glSelectBuffer\fP has two arguments:
-\f2buffer\fP is a pointer to an array of unsigned integers,
-and \f2size\fP indicates the size of the array.
-\f2buffer\fP returns values from the name stack
-(see \%\f3glInitNames\fP, \%\f3glLoadName\fP, \%\f3glPushName\fP)
-when the rendering mode is \%\f3GL_SELECT\fP (see \%\f3glRenderMode\fP).
-\%\f3glSelectBuffer\fP must be issued before selection mode is enabled,
-and it must not be issued while the rendering mode is \%\f3GL_SELECT\fP.
-.P
-A programmer can use selection to determine which primitives
-are drawn into some region of a window.
-The region is defined by the current modelview and perspective matrices.
-.P
-In selection mode, no pixel fragments are produced from rasterization.
-Instead,
-if a primitive or a raster position intersects the clipping
-volume defined by the viewing frustum
-and the user-defined clipping planes,
-this primitive causes a selection hit.
-(With polygons, no hit occurs if the polygon is culled.)
-When a change is made to the name stack,
-or when \%\f3glRenderMode\fP is called,
-a hit record is copied to \f2buffer\fP if any hits have occurred since the
-last such event
-(name stack change or
-\%\f3glRenderMode\fP call).
-The hit record consists of the number of names in the name stack at the
-time of the event, followed by the minimum and maximum depth values
-of all vertices that hit since the previous event,
-followed by the name stack contents,
-bottom name first.
-.P
-Depth values (which are in the range [0,1]) are multiplied by 2^32 - 1,
-before being placed in the hit record.
-.P
-An internal index into \f2buffer\fP is reset to 0 whenever selection mode
-is entered.
-Each time a hit record is copied into \f2buffer\fP,
-the index is incremented to point to the cell just past the end
-of the block of names \- that is, to the next available cell.
-If the hit record is larger than the number of remaining locations in \f2buffer\fP,
-as much data as can fit is copied,
-and the overflow flag is set.
-If the name stack is empty when a hit record is copied,
-that record consists of 0 followed by the minimum and maximum depth values.
-.P
-To exit selection mode, call \%\f3glRenderMode\fP with an argument
-other than \%\f3GL_SELECT\fP.
-Whenever \%\f3glRenderMode\fP is called while the render mode is \%\f3GL_SELECT\fP,
-it returns the number of hit records copied to \f2buffer\fP,
-resets the overflow flag and the selection buffer pointer,
-and initializes the name stack to be empty.
-If the overflow bit was set when \%\f3glRenderMode\fP was called,
-a negative hit record count is returned.
-.SH NOTES
-The contents of \f2buffer\fP is undefined until \%\f3glRenderMode\fP is called
-with an argument other than \%\f3GL_SELECT\fP.
-.P
-\%\f3glBegin\fP/\%\f3glEnd\fP primitives and calls to \%\f3glRasterPos\fP
-can result in hits.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2size\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glSelectBuffer\fP is called while the
-render mode is \%\f3GL_SELECT\fP,
-or if \%\f3glRenderMode\fP is called with argument \%\f3GL_SELECT\fP before
-\%\f3glSelectBuffer\fP is called at least once.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glSelectBuffer\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_NAME_STACK_DEPTH\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_SELECTION_BUFFER_SIZE\fP
-.br
-\%\f3glGetPointerv\fP with argument \%\f3GL_SELECTION_BUFFER_POINTER\fP
-.SH SEE ALSO
-\%\f3glFeedbackBuffer(3G)\fP,
-\%\f3glInitNames(3G)\fP,
-\%\f3glLoadName(3G)\fP,
-\%\f3glPushName(3G)\fP,
-\%\f3glRenderMode(3G)\fP
diff --git a/doc/gl-docs/GL/gl/separablefilter2d.3gl b/doc/gl-docs/GL/gl/separablefilter2d.3gl
deleted file mode 100644
index 48190c7d4..000000000
--- a/doc/gl-docs/GL/gl/separablefilter2d.3gl
+++ /dev/null
@@ -1,245 +0,0 @@
-'\" t
-'\"! tbl | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 separable
-.ds Xs 28833 9 separablefilter2d.gl
-.TH GLSEPARABLEFILTER2D 3G
-.SH NAME
-.B "glSeparableFilter2D
-\- define a separable two-dimensional convolution filter
-
-.SH C SPECIFICATION
-void \f3glSeparableFilter2D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglSeparableFilter2D( 'u
- GLenum \fIinternalformat\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*row\fP,
- const GLvoid \fI*column\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIinternalformat\fP\ \ 'u
-\f2target\fP
-Must be \%\f3GL_SEPARABLE_2D\fP.
-.TP
-\f2internalformat\fP
-The internal of the convolution filter kernel.
-The allowable values are
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP
-The number of elements in the pixel array referenced by \f2row\fP.
-(This is the width of the separable filter kernel.)
-.TP
-\f2height\fP
-The number of elements in the pixel array referenced by \f2column\fP.
-(This is the height of the separable filter kernel.)
-.TP
-\f2format\fP
-The of the pixel data in \f2row\fP and \f2column\fP.
-The allowable values are
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-The type of the pixel data in \f2row\fP and \f2column\fP.
-Symbolic constants
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-are accepted.
-.TP
-\f2row\fP
-Pointer to a one-dimensional array of pixel data that is processed to
-build the row filter kernel.
-.TP
-\f2column\fP
-Pointer to a one-dimensional array of pixel data that is processed to
-build the column filter kernel.
-.SH DESCRIPTION
-\%\f3glSeparableFilter2D\fP builds a two-dimensional separable convolution filter kernel from
-two arrays of pixels.
-.sp
-The pixel arrays specified by (\f2width\fP, \f2format\fP, \f2type\fP, \f2row\fP)
-and (\f2height\fP, \f2format\fP, \f2type\fP, \f2column\fP) are processed just as if
-they had been passed to \%\f3glDrawPixels\fP,
-but processing stops after the final expansion to RGBA is completed.
-.sp
-Next, the R, G, B, and A components of all pixels in both arrays are scaled
-by the four separable 2D \%\f3GL_CONVOLUTION_FILTER_SCALE\fP parameters and
-biased by the four separable 2D \%\f3GL_CONVOLUTION_FILTER_BIAS\fP parameters.
-(The scale and bias parameters are set by \%\f3glConvolutionParameter\fP
-using the \%\f3GL_SEPARABLE_2D\fP target and the names
-\%\f3GL_CONVOLUTION_FILTER_SCALE\fP and \%\f3GL_CONVOLUTION_FILTER_BIAS\fP.
-The parameters themselves are vectors of four values that are applied to red,
-green, blue, and alpha, in that order.)
-The R, G, B, and A values are not clamped to [0,1] at any time during this
-process.
-.sp
-Each pixel is then converted to the internal specified by
-\f2internalformat\fP.
-This conversion simply maps the component values of the pixel (R, G, B,
-and A) to the values included in the internal (red, green, blue,
-alpha, luminance, and intensity). The mapping is as follows:
-.bp
-.TS
-center;
-l c c c c c c.
-_
-Internal Format Red Green Blue Alpha Luminance Intensity
-_
-\%\f3GL_LUMINANCE\fP R
-\%\f3GL_LUMINANCE_ALPHA\fP A R
-\%\f3GL_INTENSITY\fP R
-\%\f3GL_RGB\fP R G B
-\%\f3GL_RGBA\fP R G B A
-_
-.TE
-
-.sp
-The red, green, blue, alpha, luminance, and/or intensity components of
-the resulting pixels are stored in floating-point rather than integer
-.
-They form two one-dimensional filter kernel images.
-The row image is indexed by coordinate \f2i\fP starting at zero and
-increasing from left to right.
-Each location in the row image is derived from element \f2i\fP of \f2row\fP.
-The column image is indexed by coordinate \f2j\fP starting at zero
-and increasing from bottom to top.
-Each location in the column image is derived from element \f2j\fP of \f2column\fP.
-.PP
-Note that after a convolution is performed, the resulting color
-components are also scaled by their corresponding
-\%\f3GL_POST_CONVOLUTION_c_SCALE\fP parameters and biased by their
-corresponding \%\f3GL_POST_CONVOLUTION_c_BIAS\fP parameters (where
-\f2c\fP takes on the values \f3RED\fP, \f3GREEN\fP, \f3BLUE\fP, and
-\f3ALPHA\fP).
-These parameters are set by \%\f3glPixelTransfer\fP.
-.SH NOTES
-\%\f3glSeparableFilter2D\fP is present only if \%\f3GL_ARB_imaging\fP is returned when \%\f3glGetString\fP
-is called with an argument of \%\f3GL_EXTENSIONS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not
-\%\f3GL_SEPARABLE_2D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2internalformat\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than zero or greater
-than the maximum supported value.
-This value may be queried with \%\f3glGetConvolutionParameter\fP
-using target \%\f3GL_SEPARABLE_2D\fP and name
-\%\f3GL_MAX_CONVOLUTION_WIDTH\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2height\fP is less than zero or greater
-than the maximum supported value.
-This value may be queried with \%\f3glGetConvolutionParameter\fP
-using target \%\f3GL_SEPARABLE_2D\fP and name
-\%\f3GL_MAX_CONVOLUTION_HEIGHT\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not one of the allowable
-values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glSeparableFilter2D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2height\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2height\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetConvolutionParameter\fP, \%\f3glGetSeparableFilter\fP
-.SH SEE ALSO
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glConvolutionParameter(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/shademodel.3gl b/doc/gl-docs/GL/gl/shademodel.3gl
deleted file mode 100644
index 74c54245d..000000000
--- a/doc/gl-docs/GL/gl/shademodel.3gl
+++ /dev/null
@@ -1,87 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 shademode
-.ds Xs 4246 5 shademodel.gl
-.TH GLSHADEMODEL 3G
-.SH NAME
-.B "glShadeModel
-\- select flat or smooth shading
-
-.SH C SPECIFICATION
-void \f3glShadeModel\fP(
-GLenum \fImode\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mode\fP\ \ 'u
-\f2mode\fP
-Specifies a symbolic value representing a shading technique.
-Accepted values are \%\f3GL_FLAT\fP and \%\f3GL_SMOOTH\fP.
-The initial value is \%\f3GL_SMOOTH\fP.
-.SH DESCRIPTION
-GL primitives can have either flat or smooth shading.
-Smooth shading,
-the default,
-causes the computed colors of vertices to be interpolated as the
-primitive is rasterized,
-typically assigning different colors to each resulting pixel fragment.
-Flat shading selects the computed color of just one vertex
-and assigns it to all the pixel fragments
-generated by rasterizing a single primitive.
-In either case, the computed color of a vertex is the result of
-lighting if lighting is enabled,
-or it is the current color at the time the vertex was specified if
-lighting is disabled.
-.P
-Flat and smooth shading are indistinguishable for points.
-Starting when \%\f3glBegin\fP is issued and counting vertices and
-primitives from 1, the GL gives each flat-shaded line segment $i$ the
-computed color of vertex $i ~+~ 1$, its second vertex.
-Counting similarly from 1,
-the GL gives each flat-shaded polygon the computed color of the vertex listed
-in the following table.
-This is the last vertex to specify the polygon in all cases except single
-polygons,
-where the first vertex specifies the flat-shaded color.
-.sp
-.TS
-center;
-lb cb
-l c .
-_
-Primitive Type of Polygon $i$ Vertex
-_
-Single polygon ($ i ~==~ 1 $) 1
-Triangle strip $i ~+~ 2$
-Triangle fan $i ~+~ 2$
-Independent triangle $ 3 i$
-Quad strip $2 i ~+~ 2$
-Independent quad $ 4 i $
-_
-.TE
-.sp
-Flat and smooth shading are specified by \%\f3glShadeModel\fP with \f2mode\fP set to
-\%\f3GL_FLAT\fP and \%\f3GL_SMOOTH\fP, respectively.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2mode\fP is any value other than
-\%\f3GL_FLAT\fP or \%\f3GL_SMOOTH\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glShadeModel\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_SHADE_MODEL\fP
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glColor(3G)\fP,
-\%\f3glLight(3G)\fP,
-\%\f3glLightModel(3G)\fP
diff --git a/doc/gl-docs/GL/gl/stencilfunc.3gl b/doc/gl-docs/GL/gl/stencilfunc.3gl
deleted file mode 100644
index ba01c37e4..000000000
--- a/doc/gl-docs/GL/gl/stencilfunc.3gl
+++ /dev/null
@@ -1,147 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 stencilfu
-.ds Xs 21383 6 stencilfunc.gl
-.TH GLSTENCILFUNC 3G
-.SH NAME
-.B "glStencilFunc
-\- set function and reference value for stencil testing
-
-.EQ
-delim $$
-.EN
-.SH C SPECIFICATION
-void \f3glStencilFunc\fP(
-GLenum \fIfunc\fP,
-.nf
-.ta \w'\f3void \fPglStencilFunc( 'u
- GLint \fIref\fP,
- GLuint \fImask\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2func\fP\ \ 'u
-\f2func\fP
-Specifies the test function.
-Eight tokens are valid:
-\%\f3GL_NEVER\fP,
-\%\f3GL_LESS\fP,
-\%\f3GL_LEQUAL\fP,
-\%\f3GL_GREATER\fP,
-\%\f3GL_GEQUAL\fP,
-\%\f3GL_EQUAL\fP,
-\%\f3GL_NOTEQUAL\fP, and
-\%\f3GL_ALWAYS\fP. The initial value is \%\f3GL_ALWAYS\fP.
-.TP
-\f2ref\fP
-Specifies the reference value for the stencil test.
-\f2ref\fP is clamped to the range [0,$2 sup n - 1$],
-where $n$ is the number of bitplanes in the stencil buffer. The
-initial value is 0.
-.TP
-\f2mask\fP
-Specifies a mask that is ANDed with both the reference value
-and the stored stencil value when the test is done. The initial value
-is all 1's.
-.SH DESCRIPTION
-Stenciling,
-like depth-buffering,
-enables and disables drawing on a per-pixel basis.
-You draw into the stencil planes using GL drawing primitives,
-then render geometry and images,
-using the stencil planes to mask out portions of the screen.
-Stenciling is typically used in multipass rendering algorithms
-to achieve special effects,
-such as decals,
-outlining,
-and constructive solid geometry rendering.
-.P
-The stencil test conditionally eliminates a pixel based on the outcome
-of a comparison between the reference value
-and the value in the stencil buffer.
-To enable and disable the test, call \%\f3glEnable\fP and \%\f3glDisable\fP
-with argument \%\f3GL_STENCIL_TEST\fP.
-To specify actions based on the outcome of the stencil test, call
-\%\f3glStencilOp\fP.
-.P
-\f2func\fP is a symbolic constant that determines the stencil comparison function.
-It accepts one of eight values,
-shown in the following list.
-\f2ref\fP is an integer reference value that is used in the stencil comparison.
-It is clamped to the range [0,$2 sup n - 1$],
-where $n$ is the number of bitplanes in the stencil buffer.
-\f2mask\fP is bitwise ANDed with both the reference value
-and the stored stencil value,
-with the ANDed values participating in the comparison.
-.P
-If \f2stencil\fP represents the value stored in the corresponding
-stencil buffer location,
-the following list shows the effect of each comparison function
-that can be specified by \f2func\fP.
-Only if the comparison succeeds is the pixel passed through
-to the next stage in the rasterization process
-(see \%\f3glStencilOp\fP).
-All tests treat \f2stencil\fP values as unsigned integers in the range
-[0,$2 sup n - 1$],
-where $n$ is the number of bitplanes in the stencil buffer.
-.P
-The following values are accepted by \f2func\fP:
-.TP 18
-\%\f3GL_NEVER\fP
-Always fails.
-.TP
-\%\f3GL_LESS\fP
-Passes if ( \f2ref\fP & \f2mask\fP ) < ( \f2stencil\fP & \f2mask\fP ).
-.TP
-\%\f3GL_LEQUAL\fP
-Passes if ( \f2ref\fP & \f2mask\fP ) \(<= ( \f2stencil\fP & \f2mask\fP ).
-.TP
-\%\f3GL_GREATER\fP
-Passes if ( \f2ref\fP & \f2mask\fP ) > ( \f2stencil\fP & \f2mask\fP ).
-.TP
-\%\f3GL_GEQUAL\fP
-Passes if ( \f2ref\fP & \f2mask\fP ) \(>= ( \f2stencil\fP & \f2mask\fP ).
-.TP
-\%\f3GL_EQUAL\fP
-Passes if ( \f2ref\fP & \f2mask\fP ) = ( \f2stencil\fP & \f2mask\fP ).
-.TP
-\%\f3GL_NOTEQUAL\fP
-Passes if ( \f2ref\fP & \f2mask\fP ) \(!= ( \f2stencil\fP & \f2mask\fP ).
-.TP
-\%\f3GL_ALWAYS\fP
-Always passes.
-.SH NOTES
-Initially, the stencil test is disabled.
-If there is no stencil buffer,
-no stencil modification can occur and it is as if
-the stencil test always passes.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2func\fP is not one of the eight
-accepted values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glStencilFunc\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_FUNC\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_VALUE_MASK\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_REF\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_BITS\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_STENCIL_TEST\fP
-.SH SEE ALSO
-\%\f3glAlphaFunc(3G)\fP,
-\%\f3glBlendFunc(3G)\fP,
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glIsEnabled(3G)\fP,
-\%\f3glLogicOp(3G)\fP,
-\%\f3glStencilOp(3G)\fP
diff --git a/doc/gl-docs/GL/gl/stencilmask.3gl b/doc/gl-docs/GL/gl/stencilmask.3gl
deleted file mode 100644
index cbb79212e..000000000
--- a/doc/gl-docs/GL/gl/stencilmask.3gl
+++ /dev/null
@@ -1,53 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 stencilma
-.ds Xs 54403 4 stencilmask.gl
-.TH GLSTENCILMASK 3G
-.SH NAME
-.B "glStencilMask
-\- control the writing of individual bits in the stencil planes
-
-.SH C SPECIFICATION
-void \f3glStencilMask\fP(
-GLuint \fImask\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2mask\fP\ \ 'u
-\f2mask\fP
-Specifies a bit mask to enable and disable writing of individual bits
-in the stencil planes.
-Initially, the mask is all 1's.
-.SH DESCRIPTION
-\%\f3glStencilMask\fP controls the writing of individual bits in the stencil planes.
-The least significant $n$ bits of \f2mask\fP,
-where $n$ is the number of bits in the stencil buffer,
-specify a mask.
-Where a 1 appears in the mask,
-it's possible to write to the corresponding bit in the stencil buffer.
-Where a 0 appears,
-the corresponding bit is write-protected.
-Initially, all bits are enabled for writing.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glStencilMask\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_WRITEMASK\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_BITS\fP
-.SH SEE ALSO
-\%\f3glColorMask(3G)\fP,
-\%\f3glDepthMask(3G)\fP,
-\%\f3glIndexMask(3G)\fP,
-\%\f3glStencilFunc(3G)\fP,
-\%\f3glStencilOp(3G)\fP
diff --git a/doc/gl-docs/GL/gl/stencilop.3gl b/doc/gl-docs/GL/gl/stencilop.3gl
deleted file mode 100644
index b0af24edc..000000000
--- a/doc/gl-docs/GL/gl/stencilop.3gl
+++ /dev/null
@@ -1,143 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 stencilop
-.ds Xs 3015 6 stencilop.gl
-.TH GLSTENCILOP 3G
-.SH NAME
-.B "glStencilOp
-\- set stencil test actions
-
-.EQ
-delim $$
-.EN
-.SH C SPECIFICATION
-void \f3glStencilOp\fP(
-GLenum \fIfail\fP,
-.nf
-.ta \w'\f3void \fPglStencilOp( 'u
- GLenum \fIzfail\fP,
- GLenum \fIzpass\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIzfail\fP\ \ 'u
-\f2fail\fP
-Specifies the action to take when the stencil test fails.
-Six symbolic constants are accepted:
-\%\f3GL_KEEP\fP,
-\%\f3GL_ZERO\fP,
-\%\f3GL_REPLACE\fP,
-\%\f3GL_INCR\fP,
-\%\f3GL_DECR\fP, and
-\%\f3GL_INVERT\fP. The initial value is \%\f3GL_KEEP\fP.
-.TP
-\f2zfail\fP
-Specifies the stencil action when the stencil test passes,
-but the depth test fails.
-\f2zfail\fP accepts the same symbolic constants as \f2fail\fP. The initial value
-is \%\f3GL_KEEP\fP.
-.TP
-\f2zpass\fP
-Specifies the stencil action when both the stencil test and the depth
-test pass, or when the stencil test passes and either there is no
-depth buffer or depth testing is not enabled.
-\f2zpass\fP accepts the same symbolic constants as \f2fail\fP. The initial value
-is \%\f3GL_KEEP\fP.
-.SH DESCRIPTION
-Stenciling,
-like depth-buffering,
-enables and disables drawing on a per-pixel basis.
-You draw into the stencil planes using GL drawing primitives,
-then render geometry and images,
-using the stencil planes to mask out portions of the screen.
-Stenciling is typically used in multipass rendering algorithms
-to achieve special effects,
-such as decals,
-outlining,
-and constructive solid geometry rendering.
-.P
-The stencil test conditionally eliminates a pixel based on the outcome
-of a comparison between the value in the stencil buffer and a
-reference value. To enable and disable the test, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument
-\%\f3GL_STENCIL_TEST\fP; to control it, call \%\f3glStencilFunc\fP.
-.P
-\%\f3glStencilOp\fP takes three arguments that indicate what happens
-to the stored stencil value while stenciling is enabled.
-If the stencil test fails,
-no change is made to the pixel's color or depth buffers,
-and \f2fail\fP specifies what happens to the stencil buffer contents.
-The following six actions are possible.
-.TP 16
-\%\f3GL_KEEP\fP
-Keeps the current value.
-.TP
-\%\f3GL_ZERO\fP
-Sets the stencil buffer value to 0.
-.TP
-\%\f3GL_REPLACE\fP
-Sets the stencil buffer value to \f2ref\fP,
-as specified by \%\f3glStencilFunc\fP.
-.TP
-\%\f3GL_INCR\fP
-Increments the current stencil buffer value.
-Clamps to the maximum representable unsigned value.
-.TP
-\%\f3GL_DECR\fP
-Decrements the current stencil buffer value.
-Clamps to 0.
-.TP
-\%\f3GL_INVERT\fP
-Bitwise inverts the current stencil buffer value.
-.P
-Stencil buffer values are treated as unsigned integers.
-When incremented and decremented,
-values are clamped to 0 and $2 sup n - 1$,
-where $n$ is the value returned by querying \%\f3GL_STENCIL_BITS\fP.
-.P
-The other two arguments to \%\f3glStencilOp\fP specify stencil buffer actions
-that depend on whether subsequent depth buffer tests succeed (\f2zpass\fP)
-or fail (\f2zfail\fP) (see
-.br
-\%\f3glDepthFunc\fP).
-The actions are specified using the same six symbolic constants as \f2fail\fP.
-Note that \f2zfail\fP is ignored when there is no depth buffer,
-or when the depth buffer is not enabled.
-In these cases, \f2fail\fP and \f2zpass\fP specify stencil action when the
-stencil test fails and passes,
-respectively.
-.SH NOTES
-Initially the stencil test is disabled.
-If there is no stencil buffer,
-no stencil modification can occur
-and it is as if the stencil tests always pass,
-regardless of any call to \%\f3glStencilOp\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2fail\fP,
-\f2zfail\fP, or \f2zpass\fP is any value other than the six defined constant values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glStencilOp\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_FAIL\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_PASS_DEPTH_PASS\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_PASS_DEPTH_FAIL\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_STENCIL_BITS\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_STENCIL_TEST\fP
-.SH SEE ALSO
-\%\f3glAlphaFunc(3G)\fP,
-\%\f3glBlendFunc(3G)\fP,
-\%\f3glDepthFunc(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glLogicOp(3G)\fP,
-\%\f3glStencilFunc(3G)\fP
diff --git a/doc/gl-docs/GL/gl/texcoord.3gl b/doc/gl-docs/GL/gl/texcoord.3gl
deleted file mode 100644
index ac6aff049..000000000
--- a/doc/gl-docs/GL/gl/texcoord.3gl
+++ /dev/null
@@ -1,237 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 texcoord.
-.ds Xs 3537 4 texcoord.gl
-.TH GLTEXCOORD 3G
-.SH NAME
-.B "glTexCoord1d, glTexCoord1f, glTexCoord1i, glTexCoord1s, glTexCoord2d, glTexCoord2f, glTexCoord2i, glTexCoord2s, glTexCoord3d, glTexCoord3f, glTexCoord3i, glTexCoord3s, glTexCoord4d, glTexCoord4f, glTexCoord4i, glTexCoord4s, glTexCoord1dv, glTexCoord1fv, glTexCoord1iv, glTexCoord1sv, glTexCoord2dv, glTexCoord2fv, glTexCoord2iv, glTexCoord2sv, glTexCoord3dv, glTexCoord3fv, glTexCoord3iv, glTexCoord3sv, glTexCoord4dv, glTexCoord4fv, glTexCoord4iv, glTexCoord4sv
-\- set the current texture coordinates
-
-.SH C SPECIFICATION
-void \f3glTexCoord1d\fP(
-GLdouble \fIs\fP )
-.nf
-.fi
-void \f3glTexCoord1f\fP(
-GLfloat \fIs\fP )
-.nf
-.fi
-void \f3glTexCoord1i\fP(
-GLint \fIs\fP )
-.nf
-.fi
-void \f3glTexCoord1s\fP(
-GLshort \fIs\fP )
-.nf
-.fi
-void \f3glTexCoord2d\fP(
-GLdouble \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord2d( 'u
- GLdouble \fIt\fP )
-.fi
-void \f3glTexCoord2f\fP(
-GLfloat \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord2f( 'u
- GLfloat \fIt\fP )
-.fi
-void \f3glTexCoord2i\fP(
-GLint \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord2i( 'u
- GLint \fIt\fP )
-.fi
-void \f3glTexCoord2s\fP(
-GLshort \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord2s( 'u
- GLshort \fIt\fP )
-.fi
-void \f3glTexCoord3d\fP(
-GLdouble \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord3d( 'u
- GLdouble \fIt\fP,
- GLdouble \fIr\fP )
-.fi
-void \f3glTexCoord3f\fP(
-GLfloat \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord3f( 'u
- GLfloat \fIt\fP,
- GLfloat \fIr\fP )
-.fi
-void \f3glTexCoord3i\fP(
-GLint \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord3i( 'u
- GLint \fIt\fP,
- GLint \fIr\fP )
-.fi
-void \f3glTexCoord3s\fP(
-GLshort \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord3s( 'u
- GLshort \fIt\fP,
- GLshort \fIr\fP )
-.fi
-void \f3glTexCoord4d\fP(
-GLdouble \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord4d( 'u
- GLdouble \fIt\fP,
- GLdouble \fIr\fP,
- GLdouble \fIq\fP )
-.fi
-void \f3glTexCoord4f\fP(
-GLfloat \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord4f( 'u
- GLfloat \fIt\fP,
- GLfloat \fIr\fP,
- GLfloat \fIq\fP )
-.fi
-void \f3glTexCoord4i\fP(
-GLint \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord4i( 'u
- GLint \fIt\fP,
- GLint \fIr\fP,
- GLint \fIq\fP )
-.fi
-void \f3glTexCoord4s\fP(
-GLshort \fIs\fP,
-.nf
-.ta \w'\f3void \fPglTexCoord4s( 'u
- GLshort \fIt\fP,
- GLshort \fIr\fP,
- GLshort \fIq\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2s\fP\ \f2t\fP\ \f2r\fP\ \f2q\fP\ \ 'u
-\f2s\fP, \f2t\fP, \f2r\fP, \f2q\fP
-Specify \f2s\fP, \f2t\fP, \f2r\fP, and \f2q\fP texture coordinates.
-Not all parameters are present in all forms of the command.
-.SH C SPECIFICATION
-void \f3glTexCoord1dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord1fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord1iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord1sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord2dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord2fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord2iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord2sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord3dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord3fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord3iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord3sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord4dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord4fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord4iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glTexCoord4sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f2v\fP
-Specifies a pointer to an array of one, two, three, or four elements,
-which in turn specify the
-\f2s\fP,
-\f2t\fP,
-\f2r\fP, and
-\f2q\fP texture coordinates.
-.SH DESCRIPTION
-\%\f3glTexCoord\fP specifies texture coordinates in
-one,
-two,
-three, or
-four dimensions.
-\%\f3glTexCoord1\fP sets the current texture coordinates to
-(\f2s\fP, 0, 0, 1);
-a call to
-.br
-\%\f3glTexCoord2\fP sets them to
-(\f2s\fP, \f2t\fP, 0, 1).
-.BP
-Similarly, \%\f3glTexCoord3\fP specifies the texture coordinates as
-(\f2s\fP, \f2t\fP, \f2r\fP, 1), and
-\%\f3glTexCoord4\fP defines all four components explicitly as
-(\f2s\fP, \f2t\fP, \f2r\fP, \f2q\fP).
-.P
-The current texture coordinates are part of the data
-that is associated with each vertex and with the current
-raster position.
-Initially, the values for
-\f2s\fP,
-\f2t\fP,
-\f2r\fP, and
-\f2q\fP
-are (0, 0, 0, 1).
-.P
-.SH NOTES
-The current texture coordinates can be updated at any time.
-In particular,
-\%\f3glTexCoord\fP can be called between a call to \%\f3glBegin\fP and the corresponding
-call to \%\f3glEnd\fP.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, \%\f3glTexCoord\fP always
-updates texture unit \%\f3GL_TEXTURE0_ARB\fP.
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_CURRENT_TEXTURE_COORDS\fP
-.SH SEE ALSO
-\%\f3glTexCoordPointer(3G)\fP,
-\%\f3glVertex(3G)\fP
diff --git a/doc/gl-docs/GL/gl/texcoordpointer.3gl b/doc/gl-docs/GL/gl/texcoordpointer.3gl
deleted file mode 100644
index 9944db69f..000000000
--- a/doc/gl-docs/GL/gl/texcoordpointer.3gl
+++ /dev/null
@@ -1,132 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 texcoordp
-.ds Xs 65158 7 texcoordpointer.gl
-.TH GLTEXCOORDPOINTER 3G
-.SH NAME
-.B "glTexCoordPointer
-\- define an array of texture coordinates
-
-.SH C SPECIFICATION
-void \f3glTexCoordPointer\fP(
-GLint \fIsize\fP,
-.nf
-.ta \w'\f3void \fPglTexCoordPointer( 'u
- GLenum \fItype\fP,
- GLsizei \fIstride\fP,
- const GLvoid \fI*ptr\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIstride\fP\ \ 'u
-\f2size\fP
-Specifies the number of coordinates per array element. Must be 1, 2, 3
-or 4. The initial value is 4.
-.TP
-\f2type\fP
-Specifies the data type of each texture coordinate.
-Symbolic constants
-\%\f3GL_SHORT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-or \%\f3GL_DOUBLE\fP
-are accepted. The initial value is \%\f3GL_FLOAT\fP.
-.TP
-\f2stride\fP
-Specifies the byte offset between consecutive array elements.
-If \f2stride\fP is 0, the array elements are understood
-to be tightly packed. The initial value is 0.
-.TP
-\f2ptr\fP
-Specifies a pointer to the first coordinate of the first element in the
-array. The initial value is 0.
-.SH DESCRIPTION
-\%\f3glTexCoordPointer\fP specifies the location and data of an array of texture
-coordinates to use when rendering.
-\f2size\fP specifies the number of coordinates per
-element, and must be 1, 2, 3, or 4.
-\f2type\fP specifies the data type of each texture coordinate
-and \f2stride\fP specifies the byte stride from one
-array element to the next allowing vertices and attributes
-to be packed into a single array or stored in separate arrays.
-(Single-array storage may be more efficient on some implementations;
-see
-.br
-\%\f3glInterleavedArrays\fP.)
-When a texture
-coordinate array is specified, \f2size\fP, \f2type\fP, \f2stride\fP, and \f2ptr\fP
-are saved client-side state.
-.P
-To enable and disable the texture coordinate array, call
-\%\f3glEnableClientState\fP and \%\f3glDisableClientState\fP with the argument
-\%\f3GL_TEXTURE_COORD_ARRAY\fP. If
-enabled, the texture coordinate array is used
-when \%\f3glDrawArrays\fP, \%\f3glDrawElements\fP, \%\f3glDrawRangeElements\fP or
-\%\f3glArrayElement\fP is called.
-.P
-Use \%\f3glDrawArrays\fP to construct a sequence of primitives (all of the
-same type) from prespecified vertex and vertex attribute arrays.
-Use \%\f3glArrayElement\fP to specify primitives
-by indexing vertices and vertex attributes and \%\f3glDrawElements\fP to
-construct a sequence of primitives by indexing vertices and vertex attributes.
-.SH NOTES
-\%\f3glTexCoordPointer\fP is available only if the GL version is 1.1 or greater.
-.P
-The texture coordinate array is initially disabled and it won't be
-accessed when
-\%\f3glArrayElement\fP, \%\f3glDrawElements\fP, \%\f3glDrawRangeElements\fP, or
-\%\f3glDrawArrays\fP is called.
-.P
-Execution of \%\f3glTexCoordPointer\fP is not allowed between the execution of
-\%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP,
-but an error may or may not be generated. If no error is generated,
-the operation is undefined.
-.P
-\%\f3glTexCoordPointer\fP is typically implemented on the client side with no protocol.
-.P
-The texture coordinate array parameters are client-side state and are
-therefore not saved or restored by \%\f3glPushAttrib\fP and \%\f3glPopAttrib\fP.
-Use \%\f3glPushClientAttrib\fP and
-\%\f3glPopClientAttrib\fP instead.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, \%\f3glTexCoordPointer\fP updates the
-texture coordinate array state of the active client texture unit,
-specified with \%\f3glClientActiveTextureARB\fP.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2size\fP is not 1, 2, 3, or 4.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2stride\fP is negative.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_COORD_ARRAY\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_COORD_ARRAY_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_COORD_ARRAY_TYPE\fP
-.br
-\%\f3glGetPointerv\fP with argument \%\f3GL_TEXTURE_COORD_ARRAY_POINTER\fP
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glClientActiveTextureARB(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glDrawRangeElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glPopClientAttrib(3G)\fP,
-\%\f3glPushClientAttrib(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/texenv.3gl b/doc/gl-docs/GL/gl/texenv.3gl
deleted file mode 100644
index 171f78e5c..000000000
--- a/doc/gl-docs/GL/gl/texenv.3gl
+++ /dev/null
@@ -1,196 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 texenv.gl
-.ds Xs 19951 8 texenv.gl
-.TH GLTEXENV 3G
-.SH NAME
-.B "glTexEnvf, glTexEnvi, glTexEnvfv, glTexEnviv
-\- set texture environment parameters
-
-.SH C SPECIFICATION
-void \f3glTexEnvf\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexEnvf( 'u
- GLenum \fIpname\fP,
- GLfloat \fIparam\fP )
-.fi
-void \f3glTexEnvi\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexEnvi( 'u
- GLenum \fIpname\fP,
- GLint \fIparam\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies a texture environment.
-Must be \%\f3GL_TEXTURE_ENV\fP.
-.TP
-\f2pname\fP
-Specifies the symbolic name of a single-valued texture environment parameter.
-Must be \%\f3GL_TEXTURE_ENV_MODE\fP.
-.TP
-\f2param\fP
-Specifies a single symbolic constant, one of \%\f3GL_MODULATE\fP,
-\%\f3GL_DECAL\fP, \%\f3GL_BLEND\fP, or \%\f3GL_REPLACE\fP.
-.SH C SPECIFICATION
-void \f3glTexEnvfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexEnvfv( 'u
- GLenum \fIpname\fP,
- const GLfloat \fI*params\fP )
-.fi
-void \f3glTexEnviv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexEnviv( 'u
- GLenum \fIpname\fP,
- const GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2target\fP
-Specifies a texture environment.
-Must be \%\f3GL_TEXTURE_ENV\fP.
-.TP
-\f2pname\fP
-Specifies the symbolic name of a texture environment parameter.
-Accepted values are \%\f3GL_TEXTURE_ENV_MODE\fP and \%\f3GL_TEXTURE_ENV_COLOR\fP.
-.TP
-\f2params\fP
-Specifies a pointer to a parameter array that contains
-either a single symbolic constant or an RGBA color.
-.SH DESCRIPTION
-A texture environment specifies how texture values are interpreted
-when a fragment is textured.
-\f2target\fP must be \%\f3GL_TEXTURE_ENV\fP.
-\f2pname\fP can be either \%\f3GL_TEXTURE_ENV_MODE\fP or \%\f3GL_TEXTURE_ENV_COLOR\fP.
-.P
-If \f2pname\fP is \%\f3GL_TEXTURE_ENV_MODE\fP,
-then \f2params\fP is (or points to) the symbolic name of a texture function.
-Four texture functions may be specified:
-\%\f3GL_MODULATE\fP,
-\%\f3GL_DECAL\fP,
-\%\f3GL_BLEND\fP, and
-\%\f3GL_REPLACE\fP.
-.P
-A texture function acts on the fragment to be textured using
-the texture image value that applies to the fragment
-(see \%\f3glTexParameter\fP)
-and produces an RGBA color for that fragment.
-The following table shows how the RGBA color is produced for each
-of the three texture functions that can be chosen.
-$C$ is a triple of color values (RGB) and $A$ is the associated alpha value.
-RGBA values extracted from a texture image are in the range [0,1].
-The subscript $f$ refers to the incoming fragment,
-the subscript $t$ to the texture image,
-the subscript $c$ to the texture environment color,
-and subscript $v$ indicates a value produced by the texture function.
-.P
-A texture image can have up to four components per texture element
-(see \%\f3glTexImage1D\fP, \%\f3glTexImage2D\fP, \%\f3glTexImage3D\fP,
-\%\f3glCopyTexImage1D\fP, and \%\f3glCopyTexImage2D\fP).
-In a one-component image,
-$L sub t$ indicates that single component.
-A two-component image uses $L sub t$ and $A sub t$.
-A three-component image has only a color value, $C sub t$.
-A four-component image has both a color value $C sub t$
-and an alpha value $A sub t$.
-.sp
-.ne
-.TS
-center tab(:) ;
-cb cb s s s
-ci c c c c
-c c c c c.
-_
-Base internal:Texture functions
-:\%\f3GL_MODULATE\fP:\%\f3GL_DECAL\fP:\%\f3GL_BLEND\fP:\%\f3GL_REPLACE\fP
-_
-\%\f3GL_ALPHA\fP:$C sub v ~=~ C sub f$:undefined:$C sub v ~=~ C sub f$:$C sub v ~=~ C sub f$
-\^ :$A sub v ~=~ A sub f A sub t$:\^:$A sub v ~=~ A sub f$:$A sub v ~=~ A sub t$
-_
-\%\f3GL_LUMINANCE\fP:$C sub v ~=~ L sub t C sub f$:undefined:$C sub v ~=~ ( 1 - L sub t ) C sub f$:$C sub v ~=~ L sub t$
-: : :$+ L sub t C sub c$:
-1: $A sub v ~=~ A sub f$:\^: $A sub v ~=~ A sub f$:$A sub v ~=~ A sub f$
-_
-\%\f3GL_LUMINANCE\fP:$C sub v ~=~ L sub t C sub f$:undefined:$C sub v ~=~ ( 1 - L sub t ) C sub f $:$C sub v ~=~ L sub t$
-\\f3_ALPHA\fP: : : $+ L sub t C sub c$
-2:$A sub v ~=~ A sub t A sub f$:\^:$A sub v ~=~ A sub t A sub f$:$A sub v ~=~ A sub t$
-_
-\%\f3GL_INTENSITY\fP:$C sub v ~=~ C sub f I sub t$:undefined:$C sub v ~=~ ( 1 - I sub t ) C sub f$ :$C sub v ~=~ I sub t$
-: : :$+ I sub t C sub c$
-c\^ :$A sub v ~=~ A sub f I sub t$:\^:$A sub v ~=~ ( 1 - I sub t ) A sub f $:$A sub v ~=~ I sub t$
-: : :$+ I sub t A sub c$:
-_
-\%\f3GL_RGB\fP:$C sub v ~=~ C sub t C sub f$:$C sub v ~=~ C sub t$:$C sub v ~=~ (1 - C sub t) C sub f $:$C sub v ~=~ C sub t$
-: : : $+ C sub t C sub c$
-3:$A sub v ~=~ A sub f$:$A sub v ~=~ A sub f$:$A sub v ~=~ A sub f$:$A sub v ~=~ A sub f$
-_
-\%\f3GL_RGBA\fP:$C sub v ~=~ C sub t C sub f$:$C sub v ~=~ ( 1 - A sub t ) C sub f $:$C sub v ~=~ (1 - C sub t) C sub f $:$C sub v ~=~ C sub t$
-: :$+ A sub t C sub t$: $+ C sub t C sub c$
-4:$A sub v ~=~ A sub t A sub f$:$A sub v ~=~ A sub f$:$A sub v ~=~ A sub t A sub f$:$A sub v ~=~ A sub t$
-_
-.TE
-.bp
-If \f2pname\fP is \%\f3GL_TEXTURE_ENV_COLOR\fP,
-\f2params\fP is a pointer to an array that holds an RGBA color consisting of four
-values.
-Integer color components are interpreted linearly such that the most
-positive integer maps to 1.0,
-and the most negative integer maps to -1.0.
-The values are clamped to the range [0,1] when they are specified.
-$C sub c$ takes these four values.
-.P
-\%\f3GL_TEXTURE_ENV_MODE\fP defaults to \%\f3GL_MODULATE\fP and
-\%\f3GL_TEXTURE_ENV_COLOR\fP defaults to (0, 0, 0, 0).
-.SH NOTES
-\%\f3GL_REPLACE\fP may only be used if the GL version is 1.1 or greater.
-.P
-Internal formats other than 1, 2, 3, or 4 may only be used if the GL
-version is 1.1 or greater.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexEnv\fP controls
-the texture environment for the current active texture unit, selected by
-\%\f3glActiveTextureARB\fP.
-.sh ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated when \f2target\fP or \f2pname\fP is not
-one of the accepted defined values,
-or when \f2params\fP should have a defined constant value
-(based on the value of \f2pname\fP)
-and does not.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexEnv\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexEnv\fP
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/texgen.3gl b/doc/gl-docs/GL/gl/texgen.3gl
deleted file mode 100644
index 9f77b6dbd..000000000
--- a/doc/gl-docs/GL/gl/texgen.3gl
+++ /dev/null
@@ -1,270 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 texgen.gl
-.ds Xs 27155 9 texgen.gl
-.TH GLTEXGEN 3G
-.SH NAME
-.B "glTexGend, glTexGenf, glTexGeni, glTexGendv, glTexGenfv, glTexGeniv
-\- control the generation of texture coordinates
-
-.SH C SPECIFICATION
-void \f3glTexGend\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglTexGend( 'u
- GLenum \fIpname\fP,
- GLdouble \fIparam\fP )
-.fi
-void \f3glTexGenf\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglTexGenf( 'u
- GLenum \fIpname\fP,
- GLfloat \fIparam\fP )
-.fi
-void \f3glTexGeni\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglTexGeni( 'u
- GLenum \fIpname\fP,
- GLint \fIparam\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIparams\fP\ \ 'u
-\f2coord\fP
-Specifies a texture coordinate.
-Must be one of \%\f3GL_S\fP, \%\f3GL_T\fP, \%\f3GL_R\fP, or \%\f3GL_Q\fP.
-.TP
-\f2pname\fP
-Specifies the symbolic name of the texture-coordinate generation function.
-Must be \%\f3GL_TEXTURE_GEN_MODE\fP.
-.TP
-\f2param\fP
-Specifies a single-valued texture generation parameter,
-one of \%\f3GL_OBJECT_LINEAR\fP, \%\f3GL_EYE_LINEAR\fP, or \%\f3GL_SPHERE_MAP\fP.
-.SH C SPECIFICATION
-void \f3glTexGendv\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglTexGendv( 'u
- GLenum \fIpname\fP,
- const GLdouble \fI*params\fP )
-.fi
-void \f3glTexGenfv\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglTexGenfv( 'u
- GLenum \fIpname\fP,
- const GLfloat \fI*params\fP )
-.fi
-void \f3glTexGeniv\fP(
-GLenum \fIcoord\fP,
-.nf
-.ta \w'\f3void \fPglTexGeniv( 'u
- GLenum \fIpname\fP,
- const GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2coord\fP
-Specifies a texture coordinate.
-Must be one of \%\f3GL_S\fP, \%\f3GL_T\fP, \%\f3GL_R\fP, or \%\f3GL_Q\fP.
-.TP
-\f2pname\fP
-Specifies the symbolic name of the texture-coordinate generation function
-or function parameters.
-Must be
-\%\f3GL_TEXTURE_GEN_MODE\fP,
-\%\f3GL_OBJECT_PLANE\fP, or
-\%\f3GL_EYE_PLANE\fP.
-.TP
-\f2params\fP
-Specifies a pointer to an array of texture generation parameters.
-If \f2pname\fP is \%\f3GL_TEXTURE_GEN_MODE\fP,
-then the array must contain a single symbolic constant,
-one of
-\%\f3GL_OBJECT_LINEAR\fP,
-\%\f3GL_EYE_LINEAR\fP, or
-\%\f3GL_SPHERE_MAP\fP.
-Otherwise,
-\f2params\fP holds the coefficients for the texture-coordinate generation function
-specified by \f2pname\fP.
-.SH DESCRIPTION
-\%\f3glTexGen\fP selects a texture-coordinate generation function
-or supplies coefficients for one of the functions.
-\f2coord\fP names one of the (\f2s\fP, \f2t\fP, \f2r\fP, \f2q\fP) texture
-coordinates; it must be one of the symbols
-\%\f3GL_S\fP,
-\%\f3GL_T\fP,
-\%\f3GL_R\fP, or
-\%\f3GL_Q\fP.
-\f2pname\fP must be one of three symbolic constants:
-\%\f3GL_TEXTURE_GEN_MODE\fP,
-\%\f3GL_OBJECT_PLANE\fP, or
-\%\f3GL_EYE_PLANE\fP.
-If \f2pname\fP is \%\f3GL_TEXTURE_GEN_MODE\fP,
-then \f2params\fP chooses a mode,
-one of
-\%\f3GL_OBJECT_LINEAR\fP,
-\%\f3GL_EYE_LINEAR\fP, or
-\%\f3GL_SPHERE_MAP\fP.
-If \f2pname\fP is either \%\f3GL_OBJECT_PLANE\fP or \%\f3GL_EYE_PLANE\fP,
-\f2params\fP contains coefficients for the corresponding
-texture generation function.
-.P
-If the texture generation function is \%\f3GL_OBJECT_LINEAR\fP,
-the function
-.P
-.ce
-$g ~=~ p sub 1^x sub o ~+~ p sub 2^y sub o ~+~ p sub 3^z sub o ~+~ p sub 4^w sub o$
-.P
-.br
-is used, where $g$ is the value computed for the coordinate named in \f2coord\fP,
-$p sub 1$,
-$p sub 2$,
-$p sub 3$,
-and
-$p sub 4$ are the four values supplied in \f2params\fP, and
-$x sub o$,
-$y sub o$,
-$z sub o$, and
-$w sub o$ are the object coordinates of the vertex.
-This function can be used, for example, to texture-map terrain using sea level
-as a reference plane
-(defined by $p sub 1$, $p sub 2$, $p sub 3$, and $p sub 4$).
-The altitude of a terrain vertex is computed by the \%\f3GL_OBJECT_LINEAR\fP
-coordinate generation function as its distance from sea level;
-that altitude can then be used to index the texture image to map white snow
-onto peaks and green grass onto foothills.
-.P
-If the texture generation function is \%\f3GL_EYE_LINEAR\fP, the function
-.P
-.ce
-$g ~=~ p sub 1 sup prime ^x sub e ~+~ p sub 2 sup prime ^y sub e ~+~ p sub 3 sup prime ^z sub e ~+~ p sub 4 sup prime ^w sub e$
-.P
-.br
-is used, where
-.P
-.ce
-$( p sub 1 sup prime
-~~p sub 2 sup prime~~p sub 3 sup prime~~
-{ p sub 4 sup prime}) ~=~ ( p sub 1~~ p sub 2~~ p sub 3~~ p sub 4 ) ~M sup -1$
-.P
-.br
-and
-$x sub e$,
-$y sub e$,
-$z sub e$, and
-$w sub e$ are the eye coordinates of the vertex,
-$p sub 1$,
-$p sub 2$,
-$p sub 3$,
-and
-$p sub 4$ are the values supplied in \f2params\fP, and
-$M$ is the modelview matrix when \%\f3glTexGen\fP is invoked.
-If $M$ is poorly conditioned or singular,
-texture coordinates generated by the resulting function may be inaccurate
-or undefined.
-.P
-Note that the values in \f2params\fP define a reference plane in eye coordinates.
-The modelview matrix that is applied to them may not be the same one
-in effect when the polygon vertices are transformed.
-This function establishes a field of texture coordinates
-that can produce dynamic contour lines on moving objects.
-.P
-If \f2pname\fP is \%\f3GL_SPHERE_MAP\fP and \f2coord\fP is either
-\%\f3GL_S\fP or
-\%\f3GL_T\fP,
-$s$ and $t$ texture coordinates are generated as follows.
-Let \f2u\fP be the unit vector pointing from the origin to the polygon vertex
-(in eye coordinates).
-Let \f2n\fP sup prime be the current normal,
-after transformation to eye coordinates.
-Let
-.P
-.ce
-$f ~=~ ( f sub x~~f sub y~~f sub z ) sup T$
-be the reflection vector such that
-.P
-.ce
-$f ~=~ u ~-~ 2 n sup prime n sup prime sup T u$
-.br
-.P
-Finally, let $ m ~=~ 2 sqrt { f sub x sup {~2} ~+~ f sub y sup {~2} ~+~ (f sub z ~+~ 1 ) sup 2}$.
-Then the values assigned to the $s$ and $t$ texture coordinates are
-.P
-.ce 1
-$s ~=~ f sub x over m ~+~ 1 over 2$
-.sp
-.ce 1
-$t ~=~ f sub y over m ~+~ 1 over 2$
-.P
-To enable or disable a texture-coordinate generation function, call
-\%\f3glEnable\fP or \%\f3glDisable\fP
-with one of the symbolic texture-coordinate names
-(\%\f3GL_TEXTURE_GEN_S\fP,
-\%\f3GL_TEXTURE_GEN_T\fP,
-\%\f3GL_TEXTURE_GEN_R\fP, or
-\%\f3GL_TEXTURE_GEN_Q\fP) as the argument.
-When enabled,
-the specified texture coordinate is computed
-according to the generating function associated with that coordinate.
-When disabled,
-subsequent vertices take the specified texture coordinate
-from the current set of texture coordinates. Initially, all texture
-generation functions are set to \%\f3GL_EYE_LINEAR\fP and are disabled.
-Both $s$ plane equations are (1, 0, 0, 0),
-both $t$ plane equations are (0, 1, 0, 0),
-and all $r$ and $q$ plane equations are (0, 0, 0, 0).
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexGen\fP set the
-texture generation parameters for the currently active texture unit,
-selected with \%\f3glActiveTextureARB\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated when \f2coord\fP or \f2pname\fP is not an
-accepted defined value,
-or when \f2pname\fP is \%\f3GL_TEXTURE_GEN_MODE\fP and \f2params\fP is not an
-accepted defined value.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated when \f2pname\fP is \%\f3GL_TEXTURE_GEN_MODE\fP,
-\f2params\fP is \%\f3GL_SPHERE_MAP\fP,
-and \f2coord\fP is either \%\f3GL_R\fP or \%\f3GL_Q\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexGen\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexGen\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_GEN_S\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_GEN_T\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_GEN_R\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_GEN_Q\fP
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
diff --git a/doc/gl-docs/GL/gl/teximage1d.3gl b/doc/gl-docs/GL/gl/teximage1d.3gl
deleted file mode 100644
index d1962be8e..000000000
--- a/doc/gl-docs/GL/gl/teximage1d.3gl
+++ /dev/null
@@ -1,449 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 teximage1
-.ds Xs 26416 17 teximage1d.gl
-.TH GLTEXIMAGE1D 3G
-.SH NAME
-.B "glTexImage1D
-\- specify a one-dimensional texture image
-
-.SH C SPECIFICATION
-void \f3glTexImage1D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexImage1D( 'u
- GLint \fIlevel\fP,
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLint \fIborder\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_1D\fP or \%\f3GL_PROXY_TEXTURE_1D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2internalFormat\fP
-Specifies the number of color components in the texture.
-Must be 1, 2, 3, or 4, or one of the following symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP
-Specifies the width of the texture image.
-Must be $2 sup n + 2 ( "border" )$ for some integer $n$. All
-implementations support texture images that are at least 64 texels
-wide. The height of the 1D texture image is 1.
-.TP
-\f2border\fP
-Specifies the width of the border.
-Must be either 0 or 1.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2pixels\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-Texturing maps a portion of a specified texture image
-onto each graphical primitive for which texturing is enabled.
-To enable and disable one-dimensional texturing, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument \%\f3GL_TEXTURE_1D\fP.
-.P
-Texture images are defined with \%\f3glTexImage1D\fP.
-The arguments describe the parameters of the texture image,
-such as width,
-width of the border,
-level-of-detail number
-(see \%\f3glTexParameter\fP),
-and the internal resolution and used to store the image.
-The last three arguments describe how the image is represented in
-memory; they are identical to the pixel formats used for
-\%\f3glDrawPixels\fP.
-.P
-If \f2target\fP is \%\f3GL_PROXY_TEXTURE_1D\fP, no data is read from \f2pixels\fP, but
-all of the texture image state is recalculated, checked for
-consistency, and checked against the implementation's capabilities.
-If the implementation cannot handle a texture of the
-requested texture size, it sets all of the image state to 0,
-but does not generate an error (see \%\f3glGetError\fP). To query for an
-entire mipmap array, use an image array level greater than or equal to
-1.
-.P
-If \f2target\fP is \%\f3GL_TEXTURE_1D\fP,
-data is read from \f2pixels\fP as a sequence of signed or unsigned bytes,
-shorts,
-or longs,
-or single-precision floating-point values,
-depending on \f2type\fP.
-These values are grouped into sets of one,
-two,
-three,
-or four values,
-depending on \f2format\fP,
-to form elements.
-If \f2type\fP is \%\f3GL_BITMAP\fP,
-the data is considered as a string of unsigned bytes
-(and \f2format\fP must be \%\f3GL_COLOR_INDEX\fP).
-Each data byte is treated as eight 1-bit elements,
-with bit ordering determined by \%\f3GL_UNPACK_LSB_FIRST\fP
-(see \%\f3glPixelStore\fP).
-.P
-The first element corresponds to the left end of the texture array.
-Subsequent elements progress left-to-right through the remaining texels
-in the texture array.
-The final element corresponds to the right end of the texture array.
-.P
-\f2format\fP determines the composition of each element in \f2pixels\fP.
-It can assume one of eleven symbolic values:
-.TP 10
-\%\f3GL_COLOR_INDEX\fP
-Each element is a single value,
-a color index.
-The GL converts it to fixed point
-(with an unspecified number of zero bits to the right of the binary point),
-shifted left or right depending on the value and sign of \%\f3GL_INDEX_SHIFT\fP,
-and added to \%\f3GL_INDEX_OFFSET\fP
-(see \%\f3glPixelTransfer\fP).
-The resulting index is converted to a set of color components
-using the
-\%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP, and
-\%\f3GL_PIXEL_MAP_I_TO_A\fP tables,
-and clamped to the range [0,1].
-.TP
-\%\f3GL_RED\fP
-Each element is a single red component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for green and blue, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP.
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_GREEN\fP
-Each element is a single green component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red and blue, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_BLUE\fP
-Each element is a single blue component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red and green, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_ALPHA\fP
-Each element is a single alpha component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red, green, and blue.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_RGB\fP
-.TP
-\%\f3GL_BGR\fP
-Each element is an RGB triple.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_RGBA\fP
-.TP
-\%\f3GL_BGRA\fP
-Each element contains all four components.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_LUMINANCE\fP
-Each element is a single luminance value.
-The GL converts it to floating point,
-then assembles it into an RGBA element by replicating the luminance value
-three times for red, green, and blue and attaching 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_LUMINANCE_ALPHA\fP
-Each element is a luminance/alpha pair.
-The GL converts it to floating point,
-then assembles it into an RGBA element by replicating the luminance value
-three times for red, green, and blue.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1] (see \%\f3glPixelTransfer\fP).
-.P
-If an application wants to store the texture at a certain
-resolution or in a certain , it can request the resolution
-and with \f2internalFormat\fP. The GL will choose an internal
-representation that closely approximates that requested by \f2internalFormat\fP, but
-it may not match exactly.
-(The representations specified by \%\f3GL_LUMINANCE\fP, \%\f3GL_LUMINANCE_ALPHA\fP, \%\f3GL_RGB\fP,
-and \%\f3GL_RGBA\fP must match exactly. The numeric values 1, 2, 3, and 4 may also be used to
-specify the preceding representations.)
-.P
-Use the \%\f3GL_PROXY_TEXTURE_1D\fP target to try out a resolution and
-. The implementation will
-update and recompute its best match for the requested storage resolution
-and . To query this state, call \%\f3glGetTexLevelParameter\fP.
-If the texture cannot be accommodated, texture state is set to 0.
-.P
-A one-component texture image uses only the red component of the RGBA
-color from \f2pixels\fP.
-A two-component image uses the R and A values.
-A three-component image uses the R, G, and B values.
-A four-component image uses all of the RGBA components.
-.SH NOTES
-Texturing has no effect in color index mode.
-.P
-If the \%\f3GL_ARB_imaging\fP extension is supported, RGBA elements may
-also be processed by the imaging pipeline. The following stages may be
-applied to an RGBA color before color component clamping to the range
-[0,\ 1]:
-.TP 3
-1. Color component replacement by the color table specified for
-\%\f3GL_COLOR_TABLE\fP, if enabled. See \%\f3glColorTable\fP.
-.TP
-2. One-dimensional convolution filtering, if enabled. See
-\%\f3glConvolutionFilter1D\fP.
-.IP
-If a convolution filter changes the __width of the texture (by
-processing with a \%\f3GL_CONVOLUTION_BORDER_MODE\fP of \%\f3GL_REDUCE\fP, for
-example), the \f2width\fP must $2 sup n + 2 ( "border" )$, for some
-integer $n$, after filtering.
-.TP
-3. RGBA components may be multiplied by \%\f3GL_POST_CONVOLUTION_c_SCALE\fP,
-and added to \%\f3GL_POST_CONVOLUTION_c_BIAS\fP, if enabled. See
-\%\f3glPixelTransfer\fP.
-.TP
-4. Color component replacement by the color table specified for
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, if enabled. See \%\f3glColorTable\fP.
-.TP
-5. Transformation by the color matrix. See \%\f3glMatrixMode\fP.
-.TP
-6. RGBA components may be multiplied by \%\f3GL_POST_COLOR_MATRIX_c_SCALE\fP,
-and added to \%\f3GL_POST_COLOR_MATRIX_c_BIAS\fP, if enabled. See
-\%\f3glPixelTransfer\fP.
-.TP
-7. Color component replacement by the color table specified for
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP, if enabled. See \%\f3glColorTable\fP.
-.P
-The texture image can be represented by the same data formats
-as the pixels in a \%\f3glDrawPixels\fP command,
-except that \%\f3GL_STENCIL_INDEX\fP and \%\f3GL_DEPTH_COMPONENT\fP
-cannot be used.
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-\%\f3GL_PROXY_TEXTURE_1D\fP may be used only if the GL version is 1.1 or greater.
-.P
-Internal formats other than 1, 2, 3, or 4 may be
-used only if the GL version is 1.1 or greater.
-.P
-In GL version 1.1 or greater,
-\f2pixels\fP may be a null pointer. In this case texture memory is
-allocated to accommodate a texture of width \f2width\fP.
-You can then download subtextures to initialize the
-texture memory. The image is undefined if the program tries to apply
-an uninitialized portion of the texture image to a primitive.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are available only if the GL version
-is 1.2 or greater.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexImage1D\fP
-specifies the one-dimensional texture for the current texture unit,
-specified with \%\f3glActiveTextureARB\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_1D\fP
-or \%\f3GL_PROXY_TEXTURE_1D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not an accepted
- constant.
-Format constants other than \%\f3GL_STENCIL_INDEX\fP and \%\f3GL_DEPTH_COMPONENT\fP
-are accepted.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not a type constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is \%\f3GL_BITMAP\fP and
-\f2format\fP is not \%\f3GL_COLOR_INDEX\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater than $log
-sub 2$\f2max\fP,
-where \f2max\fP is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2internalFormat\fP is not 1, 2, 3, 4, or
-one of the accepted resolution and symbolic constants.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than 0
-or greater than 2 + \%\f3GL_MAX_TEXTURE_SIZE\fP,
-or if it cannot be represented as $2 sup n ~+~ 2("border")$
-for some integer value of \f2n\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2border\fP is not 0 or 1.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexImage1D\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_1D\fP
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glColorTable(3G)\fP,
-\%\f3glConvolutionFilter1D(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/teximage2d.3gl b/doc/gl-docs/GL/gl/teximage2d.3gl
deleted file mode 100644
index b50d74632..000000000
--- a/doc/gl-docs/GL/gl/teximage2d.3gl
+++ /dev/null
@@ -1,478 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 teximage2
-.ds Xs 14330 17 teximage2d.gl
-.TH GLTEXIMAGE2D 3G
-.SH NAME
-.B "glTexImage2D
-\- specify a two-dimensional texture image
-
-.SH C SPECIFICATION
-void \f3glTexImage2D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexImage2D( 'u
- GLint \fIlevel\fP,
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLint \fIborder\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_2D\fP or \%\f3GL_PROXY_TEXTURE_2D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2internalFormat\fP
-Specifies the number of color components in the texture.
-Must be 1, 2, 3, or 4, or one of the following symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP
-Specifies the width of the texture image.
-Must be $2 sup n ~+~ 2 ( "border" )$ for some integer $n$. All
-implementations support texture images that are at least 64 texels
-wide.
-.TP
-\f2height\fP
-Specifies the height of the texture image.
-Must be $2 sup m ~+~ 2 ( "border" )$ for some integer $m$. All
-implementations support texture images that are at least 64 texels
-high.
-.TP
-\f2border\fP
-Specifies the width of the border.
-Must be either 0 or 1.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2pixels\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-Texturing maps a portion of a specified texture image
-onto each graphical primitive for which texturing is enabled.
-To enable and disable two-dimensional texturing, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument \%\f3GL_TEXTURE_2D\fP.
-.P
-To define texture images, call \%\f3glTexImage2D\fP.
-The arguments describe the parameters of the texture image,
-such as height,
-width,
-width of the border,
-level-of-detail number
-(see \%\f3glTexParameter\fP),
-and number of color components provided.
-The last three arguments describe how the image is represented in memory;
-they are identical to the pixel formats used for \%\f3glDrawPixels\fP.
-.P
-If \f2target\fP is \%\f3GL_PROXY_TEXTURE_2D\fP, no data is read from \f2pixels\fP, but
-all of the texture image state is recalculated, checked for
-consistency, and checked
-against the implementation's capabilities. If the implementation cannot
-handle a texture of the requested texture size, it sets
-all of the image state to 0,
-but does not generate an error (see \%\f3glGetError\fP). To query for an
-entire mipmap array, use an image array level greater than or equal to
-1.
-.P
-If \f2target\fP is \%\f3GL_TEXTURE_2D\fP,
-data is read from \f2pixels\fP as a sequence of signed or unsigned bytes,
-shorts,
-or longs,
-or single-precision floating-point values,
-depending on \f2type\fP.
-These values are grouped into sets of one,
-two,
-three,
-or four values,
-depending on \f2format\fP,
-to form elements.
-If \f2type\fP is \%\f3GL_BITMAP\fP,
-the data is considered as a string of unsigned bytes (and
-\f2format\fP must be \%\f3GL_COLOR_INDEX\fP).
-.bp
-Each data byte is treated as eight 1-bit elements,
-with bit ordering determined by \%\f3GL_UNPACK_LSB_FIRST\fP
-(see \%\f3glPixelStore\fP).
-.P
-The first element corresponds to the lower left corner of the texture
-image.
-Subsequent elements progress left-to-right through the remaining texels
-in the lowest row of the texture image, and then in successively higher
-rows of the texture image.
-The final element corresponds to the upper right corner of the texture
-image.
-.P
-\f2format\fP determines the composition of each element in \f2pixels\fP.
-It can assume one of eleven symbolic values:
-.TP 10
-\%\f3GL_COLOR_INDEX\fP
-Each element is a single value,
-a color index.
-The GL converts it to fixed point
-(with an unspecified number of zero bits to the right of the binary point),
-shifted left or right depending on the value and sign of \%\f3GL_INDEX_SHIFT\fP,
-and added to \%\f3GL_INDEX_OFFSET\fP
-(see
-.br
-\%\f3glPixelTransfer\fP).
-The resulting index is converted to a set of color components
-using the
-\%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP, and
-\%\f3GL_PIXEL_MAP_I_TO_A\fP tables,
-and clamped to the range [0,1].
-.TP
-\%\f3GL_RED\fP
-Each element is a single red component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for green and blue, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_GREEN\fP
-Each element is a single green component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red and blue, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_BLUE\fP
-Each element is a single blue component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red and green, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_ALPHA\fP
-Each element is a single alpha component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red, green, and blue.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_RGB\fP
-.TP
-\%\f3GL_BGR\fP
-Each element is an RGB triple.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see
-.br
-\%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_RGBA\fP
-.TP
-\%\f3GL_BGRA\fP
-Each element contains all four components.
-Each component is multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_LUMINANCE\fP
-Each element is a single luminance value.
-The GL converts it to floating point,
-then assembles it into an RGBA element by replicating the luminance value
-three times for red, green, and blue and attaching 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_LUMINANCE_ALPHA\fP
-Each element is a luminance/alpha pair.
-The GL converts it to floating point,
-then assembles it into an RGBA element by replicating the luminance value
-three times for red, green, and blue.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see
-.br
-\%\f3glPixelTransfer\fP).
-.P
-Refer to the \%\f3glDrawPixels\fP reference page for a description of
-the acceptable values for the \f2type\fP parameter.
-.P
-If an application wants to store the texture at a certain
-resolution or in a certain , it can request the resolution
-and with \f2internalFormat\fP. The GL will choose an internal
-representation that closely approximates that requested by \f2internalFormat\fP, but
-it may not match exactly.
-(The representations specified by \%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP, \%\f3GL_RGB\fP,
-and \%\f3GL_RGBA\fP must match exactly. The numeric values 1, 2, 3, and 4
-may also be used to specify the above representations.)
-.P
-Use the \%\f3GL_PROXY_TEXTURE_2D\fP target to try out a resolution and
-. The implementation will
-update and recompute its best match for the requested storage resolution
-and . To then query this state, call
-\%\f3glGetTexLevelParameter\fP.
-If the texture cannot be accommodated, texture state is set to 0.
-.P
-A one-component texture image uses only the red component of the RGBA
-color extracted from \f2pixels\fP.
-A two-component image uses the R and A values.
-A three-component image uses the R, G, and B values.
-A four-component image uses all of the RGBA components.
-.SH NOTES
-Texturing has no effect in color index mode.
-.P
-If the \%\f3GL_ARB_imaging\fP extension is supported, RGBA elements may
-also be processed by the imaging pipeline. The following stages may be
-applied to an RGBA color before color component clamping to the range
-[0,\ 1]:
-.TP 3
-1. Color component replacement by the color table specified for
-\%\f3GL_COLOR_TABLE\fP, if enabled. See \%\f3glColorTable\fP.
-.TP
-2. Two-dimensional Convolution filtering, if enabled. See
-\%\f3glConvolutionFilter1D\fP.
-.IP
-If a convolution filter changes the __width of the texture (by
-processing with a \%\f3GL_CONVOLUTION_BORDER_MODE\fP of \%\f3GL_REDUCE\fP, for
-example), the \f2width\fP must $2 sup n + 2 ( "height" )$, for some
-integer $n$, and \f2height\fP must be $2 sup m + ( "border" )$, for some
-integer $m$, after filtering.
-.TP
-3. RGBA components may be multiplied by \%\f3GL_POST_CONVOLUTION_c_SCALE\fP,
-and added to \%\f3GL_POST_CONVOLUTION_c_BIAS\fP, if enabled. See
-\%\f3glPixelTransfer\fP.
-.TP
-4. Color component replacement by the color table specified for
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, if enabled. See \%\f3glColorTable\fP.
-.TP
-5. Transformation by the color matrix. See \%\f3glMatrixMode\fP.
-.TP
-6. RGBA components may be multiplied by \%\f3GL_POST_COLOR_MATRIX_c_SCALE\fP,
-and added to \%\f3GL_POST_COLOR_MATRIX_c_BIAS\fP, if enabled. See
-\%\f3glPixelTransfer\fP.
-.TP
-7. Color component replacement by the color table specified for
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP, if enabled. See
-\%\f3glColorTable\fP.
-.P
-The texture image can be represented by the same data formats
-as the pixels in a \%\f3glDrawPixels\fP command,
-except that \%\f3GL_STENCIL_INDEX\fP and \%\f3GL_DEPTH_COMPONENT\fP
-cannot be used.
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-.P
-\%\f3glTexImage2D\fP and \%\f3GL_PROXY_TEXTURE_2D\fP are available only if the GL
-version is 1.1 or greater.
-.P
-Internal formats other than 1, 2, 3, or 4 may be used only if the GL
-version is 1.1 or greater.
-.P
-In GL version 1.1 or greater, \f2pixels\fP may be a null pointer.
-In this case texture memory is
-allocated to accommodate a texture of width \f2width\fP and height \f2height\fP.
-You can then download subtextures to initialize this
-texture memory.
-The image is undefined if the user tries to apply
-an uninitialized portion of the texture image to a primitive.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are available only if the GL version
-is 1.2 or greater.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexImage2D\fP
-specifies the two-dimensional texture for the current texture unit,
-specified with \%\f3glActiveTextureARB\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_2D\fP
-or \%\f3GL_PROXY_TEXTURE_2D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not an accepted
- constant.
-Format constants other than \%\f3GL_STENCIL_INDEX\fP and \%\f3GL_DEPTH_COMPONENT\fP
-are accepted.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not a type constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is \%\f3GL_BITMAP\fP and
-\f2format\fP is not \%\f3GL_COLOR_INDEX\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater than $log
-sub 2$\f2max\fP,
-where \f2max\fP is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2internalFormat\fP is not 1, 2, 3, 4, or one of the
-accepted resolution and symbolic constants.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP or \f2height\fP is less than 0
-or greater than 2 + \%\f3GL_MAX_TEXTURE_SIZE\fP,
-or if either cannot be represented as $2 sup k ~+~ 2("border")$ for some
-integer value of \f2k\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2border\fP is not 0 or 1.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexImage2D\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_2D\fP
-.SH SEE ALSO
-\%\f3glColorTable(3G)\fP,
-\%\f3glConvolutionFilter2D(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glSeparableFilter2D(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/teximage3d.3gl b/doc/gl-docs/GL/gl/teximage3d.3gl
deleted file mode 100644
index 2911d8843..000000000
--- a/doc/gl-docs/GL/gl/teximage3d.3gl
+++ /dev/null
@@ -1,470 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 teximage3
-.ds Xs 11081 17 teximage3d.gl
-.TH GLTEXIMAGE3D 3G
-.SH NAME
-.B "glTexImage3D
-\- specify a three-dimensional texture image
-
-.SH C SPECIFICATION
-void \f3glTexImage3D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexImage3D( 'u
- GLint \fIlevel\fP,
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLsizei \fIdepth\fP,
- GLint \fIborder\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_3D\fP or \%\f3GL_PROXY_TEXTURE_3D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level $n$ is the $n sup th$ mipmap reduction image.
-.TP
-\f2internalFormat\fP
-Specifies the number of color components in the texture.
-Must be 1, 2, 3, or 4, or one of the following symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP
-Specifies the width of the texture image.
-Must be $2 sup n ~+~ 2 ( "border" )$ for some integer $n$. All
-implementations support texture images that are at least 64 texels
-wide.
-.TP
-\f2height\fP
-Specifies the height of the texture image.
-Must be $2 sup m ~+~ 2 ( "border" )$ for some integer $m$. All
-implementations support texture images that are at least 64 texels
-high.
-.TP
-\f2depth\fP
-Specifies the depth of the texture image.
-Must be $2 sup k ~+~ 2 ( "border" )$ for some integer $k$. All
-implementations support texture images that are at least 64 texels
-deep.
-.TP
-\f2border\fP
-Specifies the width of the border.
-Must be either 0 or 1.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2pixels\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-Texturing maps a portion of a specified texture image
-onto each graphical primitive for which texturing is enabled.
-To enable and disable three-dimensional texturing, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument \%\f3GL_TEXTURE_3D\fP.
-.P
-To define texture images, call \%\f3glTexImage3D\fP.
-The arguments describe the parameters of the texture image,
-such as height,
-width, depth,
-width of the border,
-level-of-detail number
-(see \%\f3glTexParameter\fP),
-and number of color components provided.
-The last three arguments describe how the image is represented in memory;
-they are identical to the pixel formats used for \%\f3glDrawPixels\fP.
-.P
-If \f2target\fP is \%\f3GL_PROXY_TEXTURE_3D\fP, no data is read from \f2pixels\fP, but
-all of the texture image state is recalculated, checked for
-consistency, and checked
-against the implementation's capabilities. If the implementation cannot
-handle a texture of the requested texture size, it sets
-all of the image state to 0,
-but does not generate an error (see \%\f3glGetError\fP). To query for an
-entire mipmap array, use an image array level greater than or equal to
-1.
-.P
-If \f2target\fP is \%\f3GL_TEXTURE_3D\fP,
-data is read from \f2pixels\fP as a sequence of signed or unsigned bytes,
-shorts,
-or longs,
-or single-precision floating-point values,
-depending on \f2type\fP.
-These values are grouped into sets of one,
-two,
-three,
-or four values,
-depending on \f2format\fP,
-to form elements.
-If \f2type\fP is \%\f3GL_BITMAP\fP,
-the data is considered as a string of unsigned bytes (and
-\f2format\fP must be \%\f3GL_COLOR_INDEX\fP).
-Each data byte is treated as eight 1-bit elements,
-with bit ordering determined by \%\f3GL_UNPACK_LSB_FIRST\fP
-(see \%\f3glPixelStore\fP).
-.P
-The first element corresponds to the lower left corner of the texture
-image.
-Subsequent elements progress left-to-right through the remaining texels
-in the lowest row of the texture image, and then in successively higher
-rows of the texture image.
-The final element corresponds to the upper right corner of the texture
-image.
-.P
-\f2format\fP determines the composition of each element in \f2pixels\fP.
-It can assume one of eleven symbolic values:
-.TP 10
-\%\f3GL_COLOR_INDEX\fP
-Each element is a single value,
-a color index.
-The GL converts it to fixed point
-(with an unspecified number of zero bits to the right of the binary point),
-shifted left or right depending on the value and sign of \%\f3GL_INDEX_SHIFT\fP,
-and added to \%\f3GL_INDEX_OFFSET\fP
-(see
-.br
-\%\f3glPixelTransfer\fP).
-The resulting index is converted to a set of color components
-using the
-\%\f3GL_PIXEL_MAP_I_TO_R\fP,
-\%\f3GL_PIXEL_MAP_I_TO_G\fP,
-\%\f3GL_PIXEL_MAP_I_TO_B\fP, and
-\%\f3GL_PIXEL_MAP_I_TO_A\fP tables,
-and clamped to the range [0,1].
-.TP
-\%\f3GL_RED\fP
-Each element is a single red component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for green and blue, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_GREEN\fP
-Each element is a single green component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red and blue, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_BLUE\fP
-Each element is a single blue component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red and green, and 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_ALPHA\fP
-Each element is a single alpha component.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 0 for red, green, and blue.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_RGB\fP
-.TP
-\%\f3GL_BGR\fP
-Each element is an RGB triple.
-The GL converts it to floating point and assembles it into an RGBA element
-by attaching 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see
-.br
-\%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_RGBA\fP
-.TP
-\%\f3GL_BGRA\fP
-Each element contains all four components.
-Each component is multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_LUMINANCE\fP
-Each element is a single luminance value.
-The GL converts it to floating point,
-then assembles it into an RGBA element by replicating the luminance value
-three times for red, green, and blue and attaching 1 for alpha.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see \%\f3glPixelTransfer\fP).
-.TP
-\%\f3GL_LUMINANCE_ALPHA\fP
-Each element is a luminance/alpha pair.
-The GL converts it to floating point,
-then assembles it into an RGBA element by replicating the luminance value
-three times for red, green, and blue.
-Each component is then multiplied by the signed scale factor \%\f3GL_c_SCALE\fP,
-added to the signed bias \%\f3GL_c_BIAS\fP,
-and clamped to the range [0,1]
-(see
-.br
-\%\f3glPixelTransfer\fP).
-.P
-Refer to the \%\f3glDrawPixels\fP reference page for a description of
-the acceptable values for the \f2type\fP parameter.
-.P
-If an application wants to store the texture at a certain
-resolution or in a certain , it can request the resolution
-and with \f2internalFormat\fP. The GL will choose an internal
-representation that closely approximates that requested by \f2internalFormat\fP, but
-it may not match exactly.
-(The representations specified by \%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP, \%\f3GL_RGB\fP,
-and \%\f3GL_RGBA\fP must match exactly. The numeric values 1, 2, 3, and 4
-may also be used to specify the above representations.)
-.P
-Use the \%\f3GL_PROXY_TEXTURE_3D\fP target to try out a resolution and
-. The implementation will
-update and recompute its best match for the requested storage resolution
-and . To then query this state, call
-\%\f3glGetTexLevelParameter\fP.
-If the texture cannot be accommodated, texture state is set to 0.
-.P
-A one-component texture image uses only the red component of the RGBA
-color extracted from \f2pixels\fP.
-A two-component image uses the R and A values.
-A three-component image uses the R, G, and B values.
-A four-component image uses all of the RGBA components.
-.SH NOTES
-Texturing has no effect in color index mode.
-.P
-The texture image can be represented by the same data formats
-as the pixels in a \%\f3glDrawPixels\fP command,
-except that \%\f3GL_STENCIL_INDEX\fP and \%\f3GL_DEPTH_COMPONENT\fP
-cannot be used.
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-.P
-\%\f3glTexImage3D\fP is available only if the GL version is 1.2 or greater.
-.P
-Internal formats other than 1, 2, 3, or 4 may be used only if the GL
-version is 1.1 or greater.
-.P
-\f2pixels\fP may be a null pointer.
-In this case texture memory is
-allocated to accommodate a texture of width \f2width\fP, height \f2height\fP,
-and depth \f2depth\fP.
-You can then download subtextures to initialize this
-texture memory.
-The image is undefined if the user tries to apply
-an uninitialized portion of the texture image to a primitive.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are available only if the GL version
-is 1.2 or greater.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexImage3D\fP
-specifies the three-dimensional texture for the current texture unit,
-specified with \%\f3glActiveTextureARB\fP.
-.P
-If the \%\f3GL_ARB_imaging\fP extension is supported, RGBA elements may
-also be processed by the imaging pipeline. The following stages may be
-applied to an RGBA color before color component clamping to the range
-[0,\ 1]:
-.TP 3
-1. Color component replacement by the color table specified for
-\%\f3GL_COLOR_TABLE\fP, if enabled. See \%\f3glColorTable\fP.
-.TP
-2. Color component replacement by the color table specified for
-\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP, if enabled. See \%\f3glColorTable\fP.
-.TP
-3. Transformation by the color matrix. See \%\f3glMatrixMode\fP.
-.TP
-4. RGBA components may be multiplied by \%\f3GL_POST_COLOR_MATRIX_c_SCALE\fP,
-and added to \%\f3GL_POST_COLOR_MATRIX_c_BIAS\fP, if enabled. See
-\%\f3glPixelTransfer\fP.
-.TP
-5. Color component replacement by the color table specified for
-\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP, if enabled. See
-\%\f3glColorTable\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_3D\fP
-or \%\f3GL_PROXY_TEXTURE_3D\fP.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not an accepted
- constant.
-Format constants other than \%\f3GL_STENCIL_INDEX\fP and \%\f3GL_DEPTH_COMPONENT\fP
-are accepted.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not a type constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is \%\f3GL_BITMAP\fP and
-\f2format\fP is not \%\f3GL_COLOR_INDEX\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater than $log
-sub 2$\f2max\fP,
-where \f2max\fP is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2internalFormat\fP is not 1, 2, 3, 4, or one of the
-accepted resolution and symbolic constants.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP, \f2height\fP, or \f2depth\fP
-is less than 0 or greater than 2 + \%\f3GL_MAX_TEXTURE_SIZE\fP,
-or if either cannot be represented as $2 sup k ~+~ 2( "border" )$ for some
-integer value of \f2k\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2border\fP is not 0 or 1.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexImage3D\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_3D\fP
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
-
-
diff --git a/doc/gl-docs/GL/gl/texparameter.3gl b/doc/gl-docs/GL/gl/texparameter.3gl
deleted file mode 100644
index e556444c5..000000000
--- a/doc/gl-docs/GL/gl/texparameter.3gl
+++ /dev/null
@@ -1,348 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 texparame
-.ds Xs 38873 13 texparameter.gl
-.TH GLTEXPARAMETER 3G
-.SH NAME
-.B "glTexParameterf, glTexParameteri, glTexParameterfv, glTexParameteriv
-\- set texture parameters
-
-.SH C SPECIFICATION
-void \f3glTexParameterf\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexParameterf( 'u
- GLenum \fIpname\fP,
- GLfloat \fIparam\fP )
-.fi
-void \f3glTexParameteri\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexParameteri( 'u
- GLenum \fIpname\fP,
- GLint \fIparam\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2target\fP\ \ 'u
-\f2target\fP
-Specifies the target texture,
-which must be either \%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP, or
-\%\f3GL_TEXTURE_3D\fP.
-.TP
-\f2pname\fP
-Specifies the symbolic name of a single-valued texture parameter.
-\f2pname\fP can be one of the following:
-\%\f3GL_TEXTURE_MIN_FILTER\fP,
-\%\f3GL_TEXTURE_MAG_FILTER\fP,
-\%\f3GL_TEXTURE_MIN_LOD\fP,
-\%\f3GL_TEXTURE_MAX_LOD\fP,
-\%\f3GL_TEXTURE_BASE_LEVEL\fP,
-\%\f3GL_TEXTURE_MAX_LEVEL\fP,
-\%\f3GL_TEXTURE_WRAP_S\fP,
-\%\f3GL_TEXTURE_WRAP_T\fP,
-\%\f3GL_TEXTURE_WRAP_R\fP, or
-\%\f3GL_TEXTURE_PRIORITY\fP.
-.TP
-\f2param\fP
-Specifies the value of \f2pname\fP.
-.SH C SPECIFICATION
-void \f3glTexParameterfv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexParameterfv( 'u
- GLenum \fIpname\fP,
- const GLfloat \fI*params\fP )
-.fi
-void \f3glTexParameteriv\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexParameteriv( 'u
- GLenum \fIpname\fP,
- const GLint \fI*params\fP )
-.fi
-
-.SH PARAMETERS
-.TP
-\f2target\fP
-Specifies the target texture,
-which must be either \%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP or
-\%\f3GL_TEXTURE_3D\fP.
-.TP
-\f2pname\fP
-Specifies the symbolic name of a texture parameter.
-\f2pname\fP can be one of the following:
-\%\f3GL_TEXTURE_MIN_FILTER\fP,
-\%\f3GL_TEXTURE_MAG_FILTER\fP,
-\%\f3GL_TEXTURE_MIN_LOD\fP,
-\%\f3GL_TEXTURE_MAX_LOD\fP,
-\%\f3GL_TEXTURE_BASE_LEVEL\fP,
-\%\f3GL_TEXTURE_MAX_LEVEL\fP,
-\%\f3GL_TEXTURE_WRAP_S\fP,
-\%\f3GL_TEXTURE_WRAP_T\fP,
-\%\f3GL_TEXTURE_WRAP_R\fP,
-\%\f3GL_TEXTURE_BORDER_COLOR\fP, or
-\%\f3GL_TEXTURE_PRIORITY\fP.
-.TP
-\f2params\fP
-Specifies a pointer to an array where the value or values of \f2pname\fP
-are stored.
-.SH DESCRIPTION
-Texture mapping is a technique that applies an image onto an object's surface
-as if the image were a decal or cellophane shrink-wrap.
-The image is created in texture space,
-with an ($s$, $t$) coordinate system.
-A texture is a one- or two-dimensional image and a set of parameters
-that determine how samples are derived from the image.
-.P
-\%\f3glTexParameter\fP assigns the value or values in \f2params\fP to the texture parameter
-specified as \f2pname\fP.
-\f2target\fP defines the target texture,
-either \%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP, or \%\f3GL_TEXTURE_3D\fP.
-The following symbols are accepted in \f2pname\fP:
-.TP 10
-\%\f3GL_TEXTURE_MIN_FILTER\fP
-The texture minifying function is used whenever the pixel being textured
-maps to an area greater than one texture element.
-There are six defined minifying functions.
-Two of them use the nearest one or nearest four texture elements
-to compute the texture value.
-The other four use mipmaps.
-.IP
-A mipmap is an ordered set of arrays representing the same image
-at progressively lower resolutions.
-If the texture has dimensions $2 sup n ~times~ 2 sup m$, there are
-$ bold max ( n, m ) + 1 $ mipmaps.
-The first mipmap is the original texture,
-with dimensions $2 sup n ~times~ 2 sup m$.
-Each subsequent mipmap has dimensions $2 sup { k - 1 } ~times~ 2 sup { l - 1 }$,
-where $2 sup k ~times~ 2 sup l$ are the dimensions of the previous mipmap,
-until either $k ~=~ 0$ or $l~=~0$.
-At that point,
-subsequent mipmaps have dimension $ 1 ~times~ 2 sup { l - 1 } $
-or $ 2 sup { k - 1} ~times~ 1 $ until the final mipmap,
-which has dimension $1 ~times~ 1$.
-To define the mipmaps, call \%\f3glTexImage1D\fP, \%\f3glTexImage2D\fP,
-\%\f3glTexImage3D\fP,
-\%\f3glCopyTexImage1D\fP, or \%\f3glCopyTexImage2D\fP
-with the \f2level\fP argument indicating the order of the mipmaps.
-Level 0 is the original texture;
-level $ bold max ( n, m ) $ is the final $1 ~times~ 1$ mipmap.
-.IP
-\f2params\fP supplies a function for minifying the texture as one of the following:
-.RS 10
-.TP 10
-\%\f3GL_NEAREST\fP
-Returns the value of the texture element that is nearest
-(in Manhattan distance)
-to the center of the pixel being textured.
-.TP
-\%\f3GL_LINEAR\fP
-Returns the weighted average of the four texture elements
-that are closest to the center of the pixel being textured.
-These can include border texture elements,
-depending on the values of \%\f3GL_TEXTURE_WRAP_S\fP and \%\f3GL_TEXTURE_WRAP_T\fP,
-and on the exact mapping.
-.TP
-\%\f3GL_NEAREST_MIPMAP_NEAREST\fP
-Chooses the mipmap that most closely matches the size of the pixel
-being textured and uses the \%\f3GL_NEAREST\fP criterion
-(the texture element nearest to the center of the pixel)
-to produce a texture value.
-.TP
-\%\f3GL_LINEAR_MIPMAP_NEAREST\fP
-Chooses the mipmap that most closely matches the size of the pixel
-being textured and uses the \%\f3GL_LINEAR\fP criterion
-(a weighted average of the four texture elements that are closest
-to the center of the pixel)
-to produce a texture value.
-.TP
-\%\f3GL_NEAREST_MIPMAP_LINEAR\fP
-Chooses the two mipmaps that most closely match the size of the pixel
-being textured and uses the \%\f3GL_NEAREST\fP criterion
-(the texture element nearest to the center of the pixel)
-to produce a texture value from each mipmap.
-The final texture value is a weighted average of those two values.
-.TP
-\%\f3GL_LINEAR_MIPMAP_LINEAR\fP
-Chooses the two mipmaps that most closely match the size of the pixel
-being textured and uses the \%\f3GL_LINEAR\fP criterion
-(a weighted average of the four texture elements that are closest
-to the center of the pixel)
-to produce a texture value from each mipmap.
-The final texture value is a weighted average of those two values.
-.RE
-.IP
-As more texture elements are sampled in the minification process,
-fewer aliasing artifacts will be apparent.
-While the \%\f3GL_NEAREST\fP and \%\f3GL_LINEAR\fP minification functions can be
-faster than the other four,
-they sample only one or four texture elements to determine the texture value
-of the pixel being rendered and can produce moire patterns
-or ragged transitions.
-The initial value of \%\f3GL_TEXTURE_MIN_FILTER\fP is
-\%\f3GL_NEAREST_MIPMAP_LINEAR\fP.
-.TP 10
-\%\f3GL_TEXTURE_MAG_FILTER\fP
-The texture magnification function is used when the pixel being textured
-maps to an area less than or equal to one texture element.
-It sets the texture magnification function to either \%\f3GL_NEAREST\fP
-or \%\f3GL_LINEAR\fP (see below). \%\f3GL_NEAREST\fP is generally faster
-than \%\f3GL_LINEAR\fP,
-but it can produce textured images with sharper edges
-because the transition between texture elements is not as smooth.
-The initial value of \%\f3GL_TEXTURE_MAG_FILTER\fP is \%\f3GL_LINEAR\fP.
-.RS 10
-.TP 10
-\%\f3GL_NEAREST\fP
-Returns the value of the texture element that is nearest
-(in Manhattan distance)
-to the center of the pixel being textured.
-.TP
-\%\f3GL_LINEAR\fP
-Returns the weighted average of the four texture elements
-that are closest to the center of the pixel being textured.
-These can include border texture elements,
-depending on the values of \%\f3GL_TEXTURE_WRAP_S\fP and \%\f3GL_TEXTURE_WRAP_T\fP,
-and on the exact mapping.
-.P
-.RE
-.P
-.TP 10
-\%\f3GL_TEXTURE_MIN_LOD\fP
-Sets the minimum level-of-detail parameter. This floating-point value
-limits the selection of highest resolution mipmap (lowest mipmap
-level). The initial value is -1000.
-.P
-.TP 10
-\%\f3GL_TEXTURE_MAX_LOD\fP
-Sets the maximum level-of-detail parameter. This floating-point value
-limits the selection of the lowest resolution mipmap (highest mipmap
-level). The initial value is 1000.
-.P
-.TP 10
-\%\f3GL_TEXTURE_BASE_LEVEL\fP
-Specifies the index of the lowest defined mipmap level. This is an
-integer value. The initial value is 0.
-.P
-.TP 10
-\%\f3GL_TEXTURE_MAX_LEVEL\fP
-Sets the index of the highest defined mipmap level. This is an integer
-value. The initial value is 1000.
-.P
-.TP 10
-\%\f3GL_TEXTURE_WRAP_S\fP
-Sets the wrap parameter for texture coordinate $s$ to either
-\%\f3GL_CLAMP\fP, \%\f3GL_CLAMP_TO_EDGE\fP, or \%\f3GL_REPEAT\fP.
-\%\f3GL_CLAMP\fP causes $s$ coordinates to be clamped to the range [0,1]
-and is useful for preventing wrapping artifacts when mapping
-a single image onto an object.
-\%\f3GL_CLAMP_TO_EDGE\fP causes $s$ coordinates to be clamped to the range
-$left [ {1 over 2N}, 1 - {1 over 2N} right ]$, where $N$ is the size
-of the texture in the direction of clamping.
-\%\f3GL_REPEAT\fP causes the integer part of the $s$ coordinate to be ignored;
-the GL uses only the fractional part,
-thereby creating a repeating pattern.
-Border texture elements are accessed only if wrapping is set to \%\f3GL_CLAMP\fP.
-Initially, \%\f3GL_TEXTURE_WRAP_S\fP is set to \%\f3GL_REPEAT\fP.
-.P
-.TP 10
-\%\f3GL_TEXTURE_WRAP_T\fP
-Sets the wrap parameter for texture coordinate $t$ to either
-\%\f3GL_CLAMP\fP, \%\f3GL_CLAMP_TO_EDGE\fP, or \%\f3GL_REPEAT\fP.
-See the discussion under \%\f3GL_TEXTURE_WRAP_S\fP.
-Initially, \%\f3GL_TEXTURE_WRAP_T\fP is set to \%\f3GL_REPEAT\fP.
-.TP 10
-\%\f3GL_TEXTURE_WRAP_R\fP
-Sets the wrap parameter for texture coordinate $r$ to either
-\%\f3GL_CLAMP\fP, \%\f3GL_CLAMP_TO_EDGE\fP, or \%\f3GL_REPEAT\fP.
-See the discussion under \%\f3GL_TEXTURE_WRAP_S\fP.
-Initially, \%\f3GL_TEXTURE_WRAP_R\fP is set to \%\f3GL_REPEAT\fP.
-.TP
-\%\f3GL_TEXTURE_BORDER_COLOR\fP
-Sets a border color.
-\f2params\fP contains four values that comprise the RGBA color
-of the texture border.
-Integer color components are interpreted linearly such that the most
-positive integer maps to 1.0,
-and the most negative integer maps to -1.0.
-The values are clamped to the range [0,1] when they are specified.
-Initially, the border color is (0, 0, 0, 0).
-.TP 10
-\%\f3GL_TEXTURE_PRIORITY\fP
-Specifies the texture residence priority of the currently bound texture.
-Permissible values are in the range [0,\ 1].
-See \%\f3glPrioritizeTextures\fP and \%\f3glBindTexture\fP for more information.
-.SH NOTES
-\%\f3GL_TEXTURE_3D\fP, \%\f3GL_TEXTURE_MIN_LOD\fP, \%\f3GL_TEXTURE_MAX_LOD\fP,
-\%\f3GL_TEXTURE_BASE_LEVEL\fP, and \%\f3GL_TEXTURE_MAX_LEVEL\fP are only
-available if the GL version is 1.2 or greater.
-.P
-Suppose that a program has enabled texturing
-(by calling \%\f3glEnable\fP
-with argument \%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_2D\fP, or \%\f3GL_TEXTURE_3D\fP)
-and has set \%\f3GL_TEXTURE_MIN_FILTER\fP to one of the functions
-that requires a mipmap.
-If either the dimensions of the texture images currently defined
-(with previous calls to \%\f3glTexImage1D\fP, \%\f3glTexImage2D\fP,
-\%\f3glTexImage3D\fP,
-\%\f3glCopyTexImage1D\fP, or \%\f3glCopyTexImage2D\fP)
-do not follow the proper sequence for mipmaps
-(described above),
-or there are fewer texture images defined than are needed,
-or the set of texture images have differing numbers of texture components,
-then it is as if texture mapping were disabled.
-.P
-Linear filtering accesses the four nearest texture elements only in 2D
-textures.
-In 1D textures, linear filtering accesses the two nearest texture
-elements.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexParameter\fP
-specifies the texture parameters for the active texture unit, specified
-by calling \%\f3glActiveTextureARB\fP.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP or \f2pname\fP is not
-one of the accepted defined values.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2params\fP should have a defined
-constant value (based on the value of \f2pname\fP) and does not.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexParameter\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexParameter\fP
-.br
-\%\f3glGetTexLevelParameter\fP
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glBindTexture(3G)\fP,
-\%\f3glCopyPixels(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glPrioritizeTextures(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
-
-
diff --git a/doc/gl-docs/GL/gl/texsubimage1d.3gl b/doc/gl-docs/GL/gl/texsubimage1d.3gl
deleted file mode 100644
index 6a9e0c4d5..000000000
--- a/doc/gl-docs/GL/gl/texsubimage1d.3gl
+++ /dev/null
@@ -1,207 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 texsubima
-.ds Xs 43886 8 texsubimage1d.gl
-.TH GLTEXSUBIMAGE1D 3G
-.SH NAME
-.B "glTexSubImage1D
-\- specify a one-dimensional texture subimage
-
-.SH C SPECIFICATION
-void \f3glTexSubImage1D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexSubImage1D( 'u
- GLint \fIlevel\fP,
- GLint \fIxoffset\fP,
- GLsizei \fIwidth\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIxoffset\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_1D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2xoffset\fP
-Specifies a texel offset in the x direction within the texture array.
-.TP
-\f2width\fP
-Specifies the width of the texture subimage.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2pixels\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-Texturing maps a portion of a specified texture image
-onto each graphical primitive for which texturing is enabled.
-To enable or disable one-dimensional texturing, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument \%\f3GL_TEXTURE_1D\fP.
-.P
-\%\f3glTexSubImage1D\fP redefines a contiguous subregion of an existing one-dimensional
-texture image.
-The texels referenced by \f2pixels\fP replace the portion of the
-existing texture array with x indices \f2xoffset\fP and
-$"xoffset"~+~"width"~-~1$,inclusive.
-This region may not include any texels outside the range of the
-texture array as it was originally specified.
-It is not an error to specify a subtexture with width of 0, but
-such a specification has no effect.
-.SH NOTES
-\%\f3glTexSubImage1D\fP is available only if the GL version is 1.1 or greater.
-.P
-Texturing has no effect in color index mode.
-.P
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are available only if the GL version
-is 1.2 or greater.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexSubImage1D\fP
-specifies a one-dimensional sub texture for the current texture unit,
-specified with \%\f3glActiveTextureARB\fP.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the RGBA components
-specified in \f2pixels\fP may be processed by the imaging pipeline. See
-\%\f3glTexImage1D\fP for specific details.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not one of the
-allowable values.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if the texture array has not
-been defined by a previous \%\f3glTexImage1D\fP operation.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $log sub 2$\f2max\fP,
-where \f2max\fP is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if $"xoffset" ~<~ ~-b$,
-or if $("xoffset"~+~"width") ~>~ (w ~-~ b)$,
-where $w$ is the \%\f3GL_TEXTURE_WIDTH\fP, and $b$ is
-the width of the \%\f3GL_TEXTURE_BORDER\fP
-of the texture image being modified.
-Note that $w$ includes twice the border width.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP is less than 0.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not an accepted
- constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not a type constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is \%\f3GL_BITMAP\fP and
-\f2format\fP is not \%\f3GL_COLOR_INDEX\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexSubImage1D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_1D\fP
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/texsubimage2d.3gl b/doc/gl-docs/GL/gl/texsubimage2d.3gl
deleted file mode 100644
index 854c96518..000000000
--- a/doc/gl-docs/GL/gl/texsubimage2d.3gl
+++ /dev/null
@@ -1,216 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 texsubima
-.ds Xs 33804 8 texsubimage2d.gl
-.TH GLTEXSUBIMAGE2D 3G
-.SH NAME
-.B "glTexSubImage2D
-\- specify a two-dimensional texture subimage
-
-.SH C SPECIFICATION
-void \f3glTexSubImage2D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexSubImage2D( 'u
- GLint \fIlevel\fP,
- GLint \fIxoffset\fP,
- GLint \fIyoffset\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIxoffset\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_2D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2xoffset\fP
-Specifies a texel offset in the x direction within the texture array.
-.TP
-\f2yoffset\fP
-Specifies a texel offset in the y direction within the texture array.
-.TP
-\f2width\fP
-Specifies the width of the texture subimage.
-.TP
-\f2height\fP
-Specifies the height of the texture subimage.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2pixels\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-Texturing maps a portion of a specified texture image
-onto each graphical primitive for which texturing is enabled.
-To enable and disable two-dimensional texturing, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument \%\f3GL_TEXTURE_2D\fP.
-.P
-\%\f3glTexSubImage2D\fP redefines a contiguous subregion of an existing two-dimensional
-texture image.
-The texels referenced by \f2pixels\fP replace the portion of the
-existing texture array with x indices \f2xoffset\fP and $"xoffset"~+~"width"~-~1$,
-inclusive,
-and y indices \f2yoffset\fP and $"yoffset"~+~"height"~-~1$, inclusive.
-This region may not include any texels outside the range of the
-texture array as it was originally specified.
-It is not an error to specify a subtexture with zero width or height, but
-such a specification has no effect.
-.SH NOTES
-\%\f3glTexSubImage2D\fP is available only if the GL version is 1.1 or greater.
-.P
-Texturing has no effect in color index mode.
-.P
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are available only if the GL version
-is 1.2 or greater.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexSubImage2D\fP
-specifies a two-dimensional sub texture for the current texture unit,
-specified with \%\f3glActiveTextureARB\fP.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the RGBA components
-specified in \f2pixels\fP may be processed by the imaging pipeline. See
-\%\f3glTexImage1D\fP for specific details.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_2D\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if the texture array has not
-been defined by a previous \%\f3glTexImage2D\fP operation.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $log sub 2$\f2max\fP,
-where \f2max\fP is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if $"xoffset" ~<~ ~-b$,
-$("xoffset"~+~"width") ~>~ (w~-~b)$,
-$"yoffset" ~<~ ~-b$, or $("yoffset" ~+~ "height") ~>~ (h~-~b)$,
-where $w$ is the \%\f3GL_TEXTURE_WIDTH\fP,
-$h$ is the \%\f3GL_TEXTURE_HEIGHT\fP, and $b$ is the border width
-of the texture image being modified.
-Note that $w$ and $h$ include twice the border width.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP or \f2height\fP is less than 0.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not an accepted
- constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not a type constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is \%\f3GL_BITMAP\fP and
-\f2format\fP is not \%\f3GL_COLOR_INDEX\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexSubImage2D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_2D\fP
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage3D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/texsubimage3d.3gl b/doc/gl-docs/GL/gl/texsubimage3d.3gl
deleted file mode 100644
index 72dad17a2..000000000
--- a/doc/gl-docs/GL/gl/texsubimage3d.3gl
+++ /dev/null
@@ -1,227 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 texsubima
-.ds Xs 43161 9 texsubimage3d.gl
-.TH GLTEXSUBIMAGE3D 3G
-.SH NAME
-.B "glTexSubImage3D
-\- specify a three-dimensional texture subimage
-
-.SH C SPECIFICATION
-void \f3glTexSubImage3D\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3void \fPglTexSubImage3D( 'u
- GLint \fIlevel\fP,
- GLint \fIxoffset\fP,
- GLint \fIyoffset\fP,
- GLint \fIzoffset\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLsizei \fIdepth\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const GLvoid \fI*pixels\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIxoffset\fP\ \ 'u
-\f2target\fP
-Specifies the target texture.
-Must be \%\f3GL_TEXTURE_3D\fP.
-.TP
-\f2level\fP
-Specifies the level-of-detail number.
-Level 0 is the base image level.
-Level \f2n\fP is the \f2n\fPth mipmap reduction image.
-.TP
-\f2xoffset\fP
-Specifies a texel offset in the x direction within the texture array.
-.TP
-\f2yoffset\fP
-Specifies a texel offset in the y direction within the texture array.
-.TP
-\f2zoffset\fP
-Specifies a texel offset in the z direction within the texture array.
-.TP
-\f2width\fP
-Specifies the width of the texture subimage.
-.TP
-\f2height\fP
-Specifies the height of the texture subimage.
-.TP
-\f2depth\fP
-Specifies the depth of the texture subimage.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type of the pixel data.
-The following symbolic values are accepted:
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2pixels\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-Texturing maps a portion of a specified texture image
-onto each graphical primitive for which texturing is enabled.
-To enable and disable three-dimensional texturing, call \%\f3glEnable\fP
-and \%\f3glDisable\fP with argument \%\f3GL_TEXTURE_3D\fP.
-.P
-\%\f3glTexSubImage3D\fP redefines a contiguous subregion of an existing three-dimensional
-texture image.
-The texels referenced by \f2pixels\fP replace the portion of the
-existing texture array with x indices \f2xoffset\fP and
-$"xoffset" ~+~ "width" ~-~ 1$, inclusive,
-y indices \f2yoffset\fP and $"yoffset" ~+~ "height" ~-~ 1$, inclusive,
-and z indices \f2zoffset\fP and $"zoffset" ~+~ "depth" ~-~ 1$, inclusive.
-This region may not include any texels outside the range of the
-texture array as it was originally specified.
-It is not an error to specify a subtexture with zero width, height, or
-depth but such a specification has no effect.
-.SH NOTES
-\%\f3glTexSubImage3D\fP is available only if the GL version is 1.2 or greater.
-.P
-Texturing has no effect in color index mode.
-.P
-\%\f3glPixelStore\fP and \%\f3glPixelTransfer\fP modes affect texture images
-in exactly the way they affect \%\f3glDrawPixels\fP.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are available only if the GL version
-is 1.2 or greater.
-.P
-When the \%\f3GL_ARB_multitexture\fP extension is supported, \%\f3glTexSubImage3D\fP
-specifies a three-dimensional sub texture for the current texture unit,
-specified with \%\f3glActiveTextureARB\fP.
-.P
-When the \%\f3GL_ARB_imaging\fP extension is supported, the RGBA components
-specified in \f2pixels\fP may be processed by the imaging pipeline. See
-\%\f3glTexImage3D\fP for specific details.
-.SH ERRORS
-\%\f3GL_INVALID_ENUM\fP is generated if \f2target\fP is not \%\f3GL_TEXTURE_3D\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if the texture array has not
-been defined by a previous \%\f3glTexImage3D\fP operation.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2level\fP is less than 0.
-.P
-\%\f3GL_INVALID_VALUE\fP may be generated if \f2level\fP is greater
-than $log sub 2$\f2max\fP,
-where \f2max\fP is the returned value of \%\f3GL_MAX_TEXTURE_SIZE\fP.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if $"xoffset" ~<~ ~-b$,
-$("xoffset" ~+~ "width") ~>~ (w~-~b)$,
-$"yoffset" ~<~ ~-b$, or $("yoffset" ~+~ "height") ~>~ (h~-~b)$,
-or $"zoffset" ~<~ ~-b$, or $("zoffset" ~+~ "depth") ~>~ (d~-~b)$,
-where $w$ is the \%\f3GL_TEXTURE_WIDTH\fP,
-$h$ is the \%\f3GL_TEXTURE_HEIGHT\fP, $d$ is the \%\f3GL_TEXTURE_DEPTH\fP
-and $b$ is the border width of the texture image being modified.
-Note that $w$, $h$, and $d$ include twice the border width.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2width\fP, \f2height\fP, or \f2depth\fP
-is less than 0.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2format\fP is not an accepted
- constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is not a type constant.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is \%\f3GL_BITMAP\fP and
-\f2format\fP is not \%\f3GL_COLOR_INDEX\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTexSubImage3D\fP is executed
-between the execution of \%\f3glBegin\fP and the corresponding
-execution of \%\f3glEnd\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP, or
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \f2type\fP is one of
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH ASSOCIATED GETS
-\%\f3glGetTexImage\fP
-.br
-\%\f3glIsEnabled\fP with argument \%\f3GL_TEXTURE_3D\fP
-.SH SEE ALSO
-\%\f3glActiveTextureARB(3G)\fP,
-\%\f3glCopyTexImage1D(3G)\fP,
-\%\f3glCopyTexImage2D(3G)\fP,
-\%\f3glCopyTexSubImage1D(3G)\fP,
-\%\f3glCopyTexSubImage2D(3G)\fP,
-\%\f3glCopyTexSubImage3D(3G)\fP,
-\%\f3glDrawPixels(3G)\fP,
-\%\f3glPixelStore(3G)\fP,
-\%\f3glPixelTransfer(3G)\fP,
-\%\f3glTexEnv(3G)\fP,
-\%\f3glTexGen(3G)\fP,
-\%\f3glTexImage1D(3G)\fP,
-\%\f3glTexImage2D(3G)\fP,
-\%\f3glTexImage3D(3G)\fP,
-\%\f3glTexSubImage1D(3G)\fP,
-\%\f3glTexSubImage2D(3G)\fP,
-\%\f3glTexParameter(3G)\fP
-
diff --git a/doc/gl-docs/GL/gl/translate.3gl b/doc/gl-docs/GL/gl/translate.3gl
deleted file mode 100644
index c70232a25..000000000
--- a/doc/gl-docs/GL/gl/translate.3gl
+++ /dev/null
@@ -1,87 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 translate
-.ds Xs 47827 4 translate.gl
-.TH GLTRANSLATE 3G
-.SH NAME
-.B "glTranslated, glTranslatef
-\- multiply the current matrix by a translation matrix
-
-.SH C SPECIFICATION
-void \f3glTranslated\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPglTranslated( 'u
- GLdouble \fIy\fP,
- GLdouble \fIz\fP )
-.fi
-void \f3glTranslatef\fP(
-GLfloat \fIx\fP,
-.nf
-.ta \w'\f3void \fPglTranslatef( 'u
- GLfloat \fIy\fP,
- GLfloat \fIz\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \f2z\fP\ \ 'u
-\f2x\fP, \f2y\fP, \f2z\fP
-Specify the \f2x\fP, \f2y\fP, and \f2z\fP coordinates of a translation vector.
-.SH DESCRIPTION
-\%\f3glTranslate\fP produces a translation by
-$("x","y","z")$.
-The current matrix
-(see
-.br
-\%\f3glMatrixMode\fP)
-is multiplied by this translation matrix,
-with the product replacing the current matrix, as if
-\%\f3glMultMatrix\fP were called with the following matrix
-for its argument:
-.sp
-.ce
-.EQ
-left ( ~ down 20 matrix {
- ccol { 1~~ above 0~~ above 0~~ above 0~~ }
- ccol { 0~~ above 1~~ above 0~~ above 0~~ }
- ccol { 0~~ above 0~~ above 1~~ above 0~~ }
- ccol { "x"~ above "y"~ above "z"~ above 1}
-} ~~right )
-.EN
-.sp
-.RE
-If the matrix mode is either \%\f3GL_MODELVIEW\fP or \%\f3GL_PROJECTION\fP,
-all objects drawn after a call to \%\f3glTranslate\fP are translated.
-.P
-Use \%\f3glPushMatrix\fP and
-\%\f3glPopMatrix\fP to save and restore
-the untranslated coordinate system.
-.SH ERRORS
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glTranslate\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.bp
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_MATRIX_MODE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_COLOR_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MODELVIEW_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_PROJECTION_MATRIX\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_TEXTURE_MATRIX\fP
-.SH SEE ALSO
-\%\f3glMatrixMode(3G)\fP,
-\%\f3glMultMatrix(3G)\fP,
-\%\f3glPushMatrix(3G)\fP,
-\%\f3glRotate(3G)\fP,
-\%\f3glScale(3G)\fP
diff --git a/doc/gl-docs/GL/gl/vertex.3gl b/doc/gl-docs/GL/gl/vertex.3gl
deleted file mode 100644
index b5ad5ab68..000000000
--- a/doc/gl-docs/GL/gl/vertex.3gl
+++ /dev/null
@@ -1,189 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 vertex.gl
-.ds Xs 13679 4 vertex.gl
-.TH GLVERTEX 3G
-.SH NAME
-.B "glVertex2d, glVertex2f, glVertex2i, glVertex2s, glVertex3d, glVertex3f, glVertex3i, glVertex3s, glVertex4d, glVertex4f, glVertex4i, glVertex4s, glVertex2dv, glVertex2fv, glVertex2iv, glVertex2sv, glVertex3dv, glVertex3fv, glVertex3iv, glVertex3sv, glVertex4dv, glVertex4fv, glVertex4iv, glVertex4sv
-\- specify a vertex
-
-.SH C SPECIFICATION
-void \f3glVertex2d\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex2d( 'u
- GLdouble \fIy\fP )
-.fi
-void \f3glVertex2f\fP(
-GLfloat \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex2f( 'u
- GLfloat \fIy\fP )
-.fi
-void \f3glVertex2i\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex2i( 'u
- GLint \fIy\fP )
-.fi
-void \f3glVertex2s\fP(
-GLshort \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex2s( 'u
- GLshort \fIy\fP )
-.fi
-void \f3glVertex3d\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex3d( 'u
- GLdouble \fIy\fP,
- GLdouble \fIz\fP )
-.fi
-void \f3glVertex3f\fP(
-GLfloat \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex3f( 'u
- GLfloat \fIy\fP,
- GLfloat \fIz\fP )
-.fi
-void \f3glVertex3i\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex3i( 'u
- GLint \fIy\fP,
- GLint \fIz\fP )
-.fi
-void \f3glVertex3s\fP(
-GLshort \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex3s( 'u
- GLshort \fIy\fP,
- GLshort \fIz\fP )
-.fi
-void \f3glVertex4d\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex4d( 'u
- GLdouble \fIy\fP,
- GLdouble \fIz\fP,
- GLdouble \fIw\fP )
-.fi
-void \f3glVertex4f\fP(
-GLfloat \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex4f( 'u
- GLfloat \fIy\fP,
- GLfloat \fIz\fP,
- GLfloat \fIw\fP )
-.fi
-void \f3glVertex4i\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex4i( 'u
- GLint \fIy\fP,
- GLint \fIz\fP,
- GLint \fIw\fP )
-.fi
-void \f3glVertex4s\fP(
-GLshort \fIx\fP,
-.nf
-.ta \w'\f3void \fPglVertex4s( 'u
- GLshort \fIy\fP,
- GLshort \fIz\fP,
- GLshort \fIw\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \f2z\fP\ \f2w\fP\ \ 'u
-\f2x\fP, \f2y\fP, \f2z\fP, \f2w\fP
-Specify \f2x\fP, \f2y\fP, \f2z\fP, and \f2w\fP coordinates of a vertex.
-Not all parameters are present in all forms of the command.
-.SH C SPECIFICATION
-void \f3glVertex2dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glVertex2fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glVertex2iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glVertex2sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glVertex3dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glVertex3fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glVertex3iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glVertex3sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-void \f3glVertex4dv\fP(
-const GLdouble \fI*v\fP )
-.nf
-.fi
-void \f3glVertex4fv\fP(
-const GLfloat \fI*v\fP )
-.nf
-.fi
-void \f3glVertex4iv\fP(
-const GLint \fI*v\fP )
-.nf
-.fi
-void \f3glVertex4sv\fP(
-const GLshort \fI*v\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP
-\f2v\fP
-Specifies a pointer to an array of two, three, or four elements.
-The elements of a two-element array are \f2x\fP and \f2y\fP;
-of a three-element array, \f2x\fP, \f2y\fP, and \f2z\fP;
-and of a four-element array, \f2x\fP, \f2y\fP, \f2z\fP, and \f2w\fP.
-.SH DESCRIPTION
-\%\f3glVertex\fP commands are used within \%\f3glBegin\fP/\%\f3glEnd\fP pairs to specify
-point, line, and polygon vertices.
-The current color,
-normal,
-and texture coordinates are associated with the vertex when \%\f3glVertex\fP is called.
-.P
-When only \f2x\fP and \f2y\fP are specified,
-\f2z\fP defaults to 0 and \f2w\fP defaults to 1.
-When \f2x, y,\fP and \f2z\fP are specified,
-\f2w\fP defaults to 1.
-.SH NOTES
-Invoking \%\f3glVertex\fP outside of a \%\f3glBegin\fP/\%\f3glEnd\fP pair
-results in undefined behavior.
-.SH SEE ALSO
-\%\f3glBegin(3G)\fP,
-\%\f3glCallList(3G)\fP,
-\%\f3glColor(3G)\fP,
-\%\f3glEdgeFlag(3G)\fP,
-\%\f3glEvalCoord(3G)\fP,
-\%\f3glIndex(3G)\fP,
-\%\f3glMaterial(3G)\fP,
-.br
-\%\f3glNormal(3G)\fP,
-\%\f3glRect(3G)\fP,
-\%\f3glTexCoord(3G)\fP,
-\%\f3glVertexPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/vertexpointer.3gl b/doc/gl-docs/GL/gl/vertexpointer.3gl
deleted file mode 100644
index f60631f04..000000000
--- a/doc/gl-docs/GL/gl/vertexpointer.3gl
+++ /dev/null
@@ -1,124 +0,0 @@
-'\" te
-'\"! tbl|eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 vertexpoi
-.ds Xs 51670 6 vertexpointer.gl
-.TH GLVERTEXPOINTER 3G
-.SH NAME
-.B "glVertexPointer
-\- define an array of vertex data
-
-.SH C SPECIFICATION
-void \f3glVertexPointer\fP(
-GLint \fIsize\fP,
-.nf
-.ta \w'\f3void \fPglVertexPointer( 'u
- GLenum \fItype\fP,
- GLsizei \fIstride\fP,
- const GLvoid \fI*ptr\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIstride\fP\ \ 'u
-\f2size\fP
-Specifies the number of coordinates per vertex; must be 2, 3, or
-4. The initial value is 4.
-.TP
-\f2type\fP
-Specifies the data type of each coordinate in the array.
-Symbolic constants
-\%\f3GL_SHORT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-and \%\f3GL_DOUBLE\fP
-are accepted. The initial value is \%\f3GL_FLOAT\fP.
-.TP
-\f2stride\fP
-Specifies the byte offset between consecutive
-vertices. If \f2stride\fP is 0, the vertices are understood to be tightly packed in
-the array. The initial value
-is 0.
-.TP
-\f2ptr\fP
-Specifies a pointer to the first coordinate of the first vertex in the
-array. The initial value is 0.
-.SH DESCRIPTION
-\%\f3glVertexPointer\fP specifies the location and data of an array of vertex coordinates
-to use when rendering.
-\f2size\fP specifies the number of coordinates per vertex and
-\f2type\fP the data type of
-the coordinates. \f2stride\fP specifies the byte stride from one
-vertex to the next allowing vertices and attributes
-to be packed into a single array or stored in separate arrays.
-(Single-array storage may be more efficient on some implementations;
-see \%\f3glInterleavedArrays\fP.)
-When a vertex array is
-specified, \f2size\fP, \f2type\fP, \f2stride\fP, and \f2ptr\fP are saved as client-side
-state.
-.P
-To enable and disable the vertex array, call \%\f3glEnableClientState\fP and
-.br
-\%\f3glDisableClientState\fP with the argument \%\f3GL_VERTEX_ARRAY\fP. If
-enabled, the vertex array is used when
-\%\f3glDrawArrays\fP, \%\f3glDrawElements\fP, or \%\f3glArrayElement\fP is called.
-.P
-Use \%\f3glDrawArrays\fP to construct a sequence of primitives (all of
-the same type)
-from prespecified vertex and vertex attribute arrays.
-Use \%\f3glArrayElement\fP to specify primitives
-by indexing vertices and vertex attributes and \%\f3glDrawElements\fP to
-construct a sequence of primitives by indexing vertices and vertex attributes.
-.SH NOTES
-\%\f3glVertexPointer\fP is available only if the GL version is 1.1 or greater.
-.P
-The vertex array is initially disabled and isn't accessed when
-\%\f3glArrayElement\fP, \%\f3glDrawElements\fP or \%\f3glDrawArrays\fP is called.
-.P
-Execution of \%\f3glVertexPointer\fP is not allowed between the execution of
-\%\f3glBegin\fP and the corresponding execution of \%\f3glEnd\fP,
-but an error may or may not be generated. If no error is generated,
-the operation is undefined.
-.P
-\%\f3glVertexPointer\fP is typically implemented on the client side.
-.P
-Vertex array parameters are client-side state and are therefore not
-saved or restored by \%\f3glPushAttrib\fP and \%\f3glPopAttrib\fP.
-Use \%\f3glPushClientAttrib\fP and \%\f3glPopClientAttrib\fP instead.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if \f2size\fP is not 2, 3, or 4.
-.P
-\%\f3GL_INVALID_ENUM\fP is generated if \f2type\fP is is not an accepted value.
-.P
-\%\f3GL_INVALID_VALUE\fP is generated if \f2stride\fP is negative.
-.SH ASSOCIATED GETS
-\%\f3glIsEnabled\fP with argument \%\f3GL_VERTEX_ARRAY\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_VERTEX_ARRAY_SIZE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_VERTEX_ARRAY_TYPE\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_VERTEX_ARRAY_STRIDE\fP
-.br
-\%\f3glGetPointerv\fP with argument \%\f3GL_VERTEX_ARRAY_POINTER\fP
-.SH SEE ALSO
-\%\f3glArrayElement(3G)\fP,
-\%\f3glColorPointer(3G)\fP,
-\%\f3glDrawArrays(3G)\fP,
-\%\f3glDrawElements(3G)\fP,
-\%\f3glDrawRangeElements(3G)\fP,
-\%\f3glEdgeFlagPointer(3G)\fP,
-\%\f3glEnable(3G)\fP,
-\%\f3glGetPointerv(3G)\fP,
-\%\f3glIndexPointer(3G)\fP,
-\%\f3glInterleavedArrays(3G)\fP,
-\%\f3glNormalPointer(3G)\fP,
-\%\f3glPopClientAttrib(3G)\fP,
-\%\f3glPushClientAttrib(3G)\fP,
-\%\f3glTexCoordPointer(3G)\fP
diff --git a/doc/gl-docs/GL/gl/viewport.3gl b/doc/gl-docs/GL/gl/viewport.3gl
deleted file mode 100644
index 1636ee1f2..000000000
--- a/doc/gl-docs/GL/gl/viewport.3gl
+++ /dev/null
@@ -1,72 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 24 September 1999
-.ds Re Release 1.2.1
-.ds Dp Jan 14 18:30
-.ds Dm 01 viewport.
-.ds Xs 35742 4 viewport.gl
-.TH GLVIEWPORT 3G
-.SH NAME
-.B "glViewport
-\- set the viewport
-
-.SH C SPECIFICATION
-void \f3glViewport\fP(
-GLint \fIx\fP,
-.nf
-.ta \w'\f3void \fPglViewport( 'u
- GLint \fIy\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \ 'u
-\f2x\fP, \f2y\fP
-Specify the lower left corner of the viewport rectangle,
-in pixels. The initial value is (0,0).
-.TP
-\f2width\fP, \f2height\fP
-Specify the width and height
-of the viewport.
-When a GL context is first attached to a window,
-\f2width\fP and \f2height\fP are set to the dimensions of that window.
-.SH DESCRIPTION
-\%\f3glViewport\fP specifies the affine transformation of $x$ and $y$ from
-normalized device coordinates to window coordinates.
-Let ($x sub nd$, $y sub nd$) be normalized device coordinates.
-Then the window coordinates ($x sub w$, $y sub w$) are computed as follows:
-.sp
-.ce
-.EQ
-x sub w ~=~ ( x sub nd ~+~ 1 ) left ( "width" over 2 right ) ~+~ "x"
-.EN
-.sp
-.ce
-.EQ
-y sub w ~=~ ( y sub nd ~+~ 1 ) left ( "height" over 2 right ) ~+~ "y"
-.EN
-.RE
-.P
-Viewport width and height are silently clamped
-to a range that depends on the implementation.
-To query this range, call \%\f3glGet\fP with argument
-\%\f3GL_MAX_VIEWPORT_DIMS\fP.
-.SH ERRORS
-\%\f3GL_INVALID_VALUE\fP is generated if either \f2width\fP or \f2height\fP is negative.
-.P
-\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glViewport\fP
-is executed between the execution of \%\f3glBegin\fP
-and the corresponding execution of \%\f3glEnd\fP.
-.bp
-.SH ASSOCIATED GETS
-\%\f3glGet\fP with argument \%\f3GL_VIEWPORT\fP
-.br
-\%\f3glGet\fP with argument \%\f3GL_MAX_VIEWPORT_DIMS\fP
-.SH SEE ALSO
-\%\f3glDepthRange(3G)\fP
diff --git a/doc/gl-docs/GL/glx/Imakefile b/doc/gl-docs/GL/glx/Imakefile
deleted file mode 100644
index 8cb90eb4c..000000000
--- a/doc/gl-docs/GL/glx/Imakefile
+++ /dev/null
@@ -1,77 +0,0 @@
-XCOMM The contents of this file are subject to the GLX Public License Version 1.0
-XCOMM (the "License"). You may not use this file except in compliance with the
-XCOMM License. You may obtain a copy of the License at Silicon Graphics, Inc.,
-XCOMM attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043
-XCOMM or at http://www.sgi.com/software/opensource/glx/license.html.
-XCOMM
-XCOMM Software distributed under the License is distributed on an "AS IS"
-XCOMM basis. ALL WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY
-XCOMM IMPLIED WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR
-XCOMM PURPOSE OR OF NON- INFRINGEMENT. See the License for the specific
-XCOMM language governing rights and limitations under the License.
-XCOMM
-XCOMM The Original Software is GLX version 1.2 source code, released February,
-XCOMM 1999. The developer of the Original Software is Silicon Graphics, Inc.
-XCOMM Those portions of the Subject Software created by Silicon Graphics, Inc.
-XCOMM are Copyright (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved.
-XCOMM
-XCOMM $XFree86: xc/doc/man/GL/glx/Imakefile,v 1.3 1999/03/07 14:23:30 dawes Exp $
-
-MANDIR = $(LIBMANDIR)
-MANSUFFIX = $(LIBMANSUFFIX)
-MSUFF = man
-
-InstallManPage(glXChooseVisual,$(MANDIR))
-InstallManPage(glXCopyContext,$(MANDIR))
-InstallManPage(glXCreateContext,$(MANDIR))
-InstallManPage(glXCreateGLXPixmap,$(MANDIR))
-InstallManPage(glXDestroyContext,$(MANDIR))
-InstallManPage(glXDestroyGLXPixmap,$(MANDIR))
-InstallManPage(glXFreeContextEXT,$(MANDIR))
-InstallManPage(glXGetClientString,$(MANDIR))
-InstallManPage(glXGetConfig,$(MANDIR))
-InstallManPage(glXGetContextIDEXT,$(MANDIR))
-InstallManPage(glXGetCurrentContext,$(MANDIR))
-InstallManPage(glXGetCurrentDisplay,$(MANDIR))
-InstallManPage(glXGetCurrentDrawable,$(MANDIR))
-InstallManPage(glXImportContextEXT,$(MANDIR))
-InstallManPage(glXIntro,$(MANDIR))
-InstallManPage(glXIsDirect,$(MANDIR))
-InstallManPage(glXMakeCurrent,$(MANDIR))
-InstallManPage(glXQueryContextInfoEXT,$(MANDIR))
-InstallManPage(glXQueryExtension,$(MANDIR))
-InstallManPage(glXQueryExtensionsString,$(MANDIR))
-InstallManPage(glXQueryServerString,$(MANDIR))
-InstallManPage(glXQueryVersion,$(MANDIR))
-InstallManPage(glXSwapBuffers,$(MANDIR))
-InstallManPage(glXUseXFont,$(MANDIR))
-InstallManPage(glXWaitGL,$(MANDIR))
-InstallManPage(glXWaitX,$(MANDIR))
-
-LinkFile(glXChooseVisual.$(MSUFF), xchoosevisual.3gl)
-LinkFile(glXCopyContext.$(MSUFF), xcopycontext.3gl)
-LinkFile(glXCreateContext.$(MSUFF), xcreatecontext.3gl)
-LinkFile(glXCreateGLXPixmap.$(MSUFF), xcreateglxpixmap.3gl)
-LinkFile(glXDestroyContext.$(MSUFF), xdestroycontext.3gl)
-LinkFile(glXDestroyGLXPixmap.$(MSUFF), xdestroyglxpixmap.3gl)
-LinkFile(glXFreeContextEXT.$(MSUFF), xfreecontextext.3gl)
-LinkFile(glXGetClientString.$(MSUFF), xgetclientstring.3gl)
-LinkFile(glXGetConfig.$(MSUFF), xgetconfig.3gl)
-LinkFile(glXGetContextIDEXT.$(MSUFF), xgetcontextidext.3gl)
-LinkFile(glXGetCurrentContext.$(MSUFF), xgetcurrentcontext.3gl)
-LinkFile(glXGetCurrentDisplay.$(MSUFF), xgetcurrentdisplay.3gl)
-LinkFile(glXGetCurrentDrawable.$(MSUFF), xgetcurrentdrawable.3gl)
-LinkFile(glXImportContextEXT.$(MSUFF), ximportcontextext.3gl)
-LinkFile(glXIntro.$(MSUFF), xintro.3gl)
-LinkFile(glXIsDirect.$(MSUFF), xisdirect.3gl)
-LinkFile(glXMakeCurrent.$(MSUFF), xmakecurrent.3gl)
-LinkFile(glXQueryContextInfoEXT.$(MSUFF), xquerycontextinfoext.3gl)
-LinkFile(glXQueryExtension.$(MSUFF), xqueryextension.3gl)
-LinkFile(glXQueryExtensionsString.$(MSUFF), xqueryextensionsstring.3gl)
-LinkFile(glXQueryServerString.$(MSUFF), xqueryserverstring.3gl)
-LinkFile(glXQueryVersion.$(MSUFF), xqueryversion.3gl)
-LinkFile(glXSwapBuffers.$(MSUFF), xswapbuffers.3gl)
-LinkFile(glXUseXFont.$(MSUFF), xusexfont.3gl)
-LinkFile(glXWaitGL.$(MSUFF), xwaitgl.3gl)
-LinkFile(glXWaitX.$(MSUFF), xwaitx.3gl)
-
diff --git a/doc/gl-docs/GL/glx/Makefile b/doc/gl-docs/GL/glx/Makefile
deleted file mode 100644
index 35ae034a3..000000000
--- a/doc/gl-docs/GL/glx/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $OpenBSD: Makefile,v 1.1 2012/08/07 21:10:35 matthieu Exp $
-
-X11BASE?= /usr/X11R6
-MANDIR?= ${X11BASE}/man/man
-
-MAN += glXChooseVisual.3 xchoosevisual.3gl
-MAN += glXCopyContext.3 xcopycontext.3gl
-MAN += glXCreateContext.3 xcreatecontext.3gl
-MAN += glXCreateGLXPixmap.3 xcreateglxpixmap.3gl
-MAN += glXDestroyContext.3 xdestroycontext.3gl
-MAN += glXDestroyGLXPixmap.3 xdestroyglxpixmap.3gl
-MAN += glXFreeContextEXT.3 xfreecontextext.3gl
-MAN += glXGetClientString.3 xgetclientstring.3gl
-MAN += glXGetConfig.3 xgetconfig.3gl
-MAN += glXGetContextIDEXT.3 xgetcontextidext.3gl
-MAN += glXGetCurrentContext.3 xgetcurrentcontext.3gl
-MAN += glXGetCurrentDisplay.3 xgetcurrentdisplay.3gl
-MAN += glXGetCurrentDrawable.3 xgetcurrentdrawable.3gl
-MAN += glXImportContextEXT.3 ximportcontextext.3gl
-MAN += glXIntro.3 xintro.3gl
-MAN += glXIsDirect.3 xisdirect.3gl
-MAN += glXMakeCurrent.3 xmakecurrent.3gl
-MAN += glXQueryContextInfoEXT.3 xquerycontextinfoext.3gl
-MAN += glXQueryExtension.3 xqueryextension.3gl
-MAN += glXQueryExtensionsString.3 xqueryextensionsstring.3gl
-MAN += glXQueryServerString.3 xqueryserverstring.3gl
-MAN += glXQueryVersion.3 xqueryversion.3gl
-MAN += glXSwapBuffers.3 xswapbuffers.3gl
-MAN += glXUseXFont.3 xusexfont.3gl
-MAN += glXWaitGL.3 xwaitgl.3gl
-MAN += glXWaitX.3 xwaitx.3gl
-
-.include "../../Makefile.inc"
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GL/glx/xchoosevisual.3gl b/doc/gl-docs/GL/glx/xchoosevisual.3gl
deleted file mode 100644
index 28b2ebb37..000000000
--- a/doc/gl-docs/GL/glx/xchoosevisual.3gl
+++ /dev/null
@@ -1,225 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 58988 14 xchoosevisual.gl
-.TH GLXCHOOSEVISUAL 3
-.SH NAME
-glXChooseVisual
-\- return a visual that matches specified attributes
-
-.SH C SPECIFICATION
-XVisualInfo* \f3glXChooseVisual\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3XVisualInfo* \fPglXChooseVisual( 'u
- int \fIscreen\fP,
- int \fI*attribList\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIattribList\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2screen\fP
-Specifies the screen number.
-.TP
-\f2attribList\fP
-Specifies a list of boolean attributes and integer attribute/value pairs.
-The last attribute must be \f3None\fP.
-.SH DESCRIPTION
-\f3glXChooseVisual\fP returns a pointer to an XVisualInfo structure describing the visual
-that best meets a minimum specification.
-The boolean GLX attributes of the visual that is returned will match the
-specified values,
-and the integer GLX attributes will meet or exceed the specified
-minimum values.
-If all other attributes are equivalent, then TrueColor and PseudoColor
-visuals have priority over DirectColor and StaticColor visuals,
-respectively.
-If no conforming visual exists, \f3NULL\fP is returned.
-To free the data returned by this function, use \f3XFree\fP.
-.P
-All boolean GLX attributes default to \f3False\fP
-except \f3GLX_USE_GL\fP,
-which defaults to \f3True\fP.
-All integer GLX attributes default to zero.
-Default specifications are superseded by attributes included in \f2attribList\fP.
-Boolean attributes included in \f2attribList\fP are understood to be \f3True\fP.
-Integer attributes and enumerated type attributes are followed immediately
-by the corresponding desired or
-minimum value.
-The list must be terminated with \f3None\fP.
-.P
-The interpretations of the various GLX visual attributes are as follows:
-.TP 22
-\f3GLX_USE_GL\fP
-Ignored.
-Only visuals that can be rendered with GLX are considered.
-.TP
-\f3GLX_BUFFER_SIZE\fP
-Must be followed by a nonnegative integer that indicates the desired
-color index buffer size.
-The smallest index buffer of at least the specified size is preferred.
-Ignored if \f3GLX_RGBA\fP is asserted.
-.BP
-.TP
-\f3GLX_LEVEL\fP
-Must be followed by an integer buffer-level specification.
-This specification is honored exactly.
-Buffer level zero corresponds to the main frame buffer of the display.
-Buffer level one is the first overlay frame buffer, level two the second
-overlay frame buffer, and so on.
-Negative buffer levels correspond to underlay frame buffers.
-.TP
-\f3GLX_RGBA\fP
-If present,
-only TrueColor and DirectColor visuals are considered.
-Otherwise,
-only PseudoColor and StaticColor visuals are considered.
-.TP
-\f3GLX_DOUBLEBUFFER\fP
-If present,
-only double-buffered visuals are considered.
-.BR
-Otherwise,
-only single-buffered visuals are considered.
-.TP
-\f3GLX_STEREO\fP
-If present,
-only stereo visuals are considered.
-Otherwise,
-only monoscopic visuals are considered.
-.TP
-\f3GLX_AUX_BUFFERS\fP
-Must be followed by a nonnegative integer that indicates the desired
-number of auxiliary buffers.
-Visuals with the
-.BR
-smallest number of auxiliary buffers that meets or exceeds
-the specified number are preferred.
-.TP
-\f3GLX_RED_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-the smallest available red buffer is preferred.
-Otherwise, the largest available red buffer of at least the minimum size
-is preferred.
-.TP
-\f3GLX_GREEN_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-the smallest available green buffer is preferred.
-Otherwise, the largest available green buffer of at least the minimum size
-is preferred.
-.TP
-\f3GLX_BLUE_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-the smallest available blue buffer is preferred.
-Otherwise, the largest available blue buffer of at least the minimum size
-is preferred.
-.TP
-\f3GLX_ALPHA_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-the smallest available alpha buffer is preferred.
-Otherwise, the largest available alpha buffer of at least the minimum size
-is preferred.
-.TP
-\f3GLX_DEPTH_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-visuals with no depth buffer are preferred.
-Otherwise, the largest available depth buffer of at least the minimum size
-is preferred.
-.TP
-\f3GLX_STENCIL_SIZE\fP
-Must be followed by a nonnegative integer that indicates the desired
-number of stencil bitplanes.
-The smallest stencil buffer of at least the specified size is preferred.
-If the desired value is zero,
-visuals with no stencil buffer are preferred.
-.TP
-\f3GLX_ACCUM_RED_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-visuals with no red accumulation buffer are preferred.
-Otherwise, the largest possible red accumulation buffer
-of at least the minimum size is preferred.
-.TP
-\f3GLX_ACCUM_GREEN_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-visuals with no green accumulation buffer are preferred.
-Otherwise, the largest possible green accumulation buffer
-of at least the minimum size is preferred.
-.TP
-\f3GLX_ACCUM_BLUE_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-visuals with no blue accumulation buffer are preferred.
-Otherwise, the largest possible blue accumulation buffer
-of at least the minimum size is preferred.
-.TP
-\f3GLX_ACCUM_ALPHA_SIZE\fP
-Must be followed by a nonnegative minimum size specification.
-If this value is zero,
-visuals with no alpha accumulation buffer are preferred.
-Otherwise, the largest possible alpha accumulation buffer
-of at least the minimum size is preferred.
-.TE
-.SH EXAMPLES
-.TP 12
-\f2attribList\fP =
-{\f3GLX_RGBA\fP,
-\f3GLX_RED_SIZE\fP, 4,
-\f3GLX_GREEN_SIZE\fP, 4,
-\f3GLX_BLUE_SIZE\fP, 4,
-\f3None\fP};
-.P
-Specifies a single-buffered RGB visual in the normal frame buffer,
-not an overlay or underlay buffer.
-The returned visual supports at least four bits each of red,
-green, and blue,
-and possibly no bits of alpha.
-It does not support color index mode,
-double-buffering, or stereo display.
-It may or may not have one or more auxiliary color buffers,
-a depth buffer,
-a stencil buffer,
-or an accumulation buffer.
-.SH NOTES
-\f3XVisualInfo\fP is defined in \f2Xutil.h.\fP
-It is a structure that includes \f2visual\fP, \f2visualID\fP, \f2screen\fP, and
-\f2depth\fP elements.
-.P
-\f3glXChooseVisual\fP is implemented as a client-side utility using only \f3XGetVisualInfo\fP
-and \f3glXGetConfig\fP.
-Calls to these two routines can be used to implement selection algorithms
-other than the generic one implemented by \f3glXChooseVisual\fP.
-.P
-GLX implementers are strongly discouraged,
-but not proscribed,
-from changing the selection algorithm used by \f3glXChooseVisual\fP.
-Therefore, selections may change from release to release
-of the client-side library.
-.P
-There is no direct filter for picking only visuals that
-support GLXPixmaps.
-GLXPixmaps are supported for visuals whose
-\f3GLX_BUFFER_SIZE\fP
-is one of the pixmap depths supported by the X server.
-.SH ERRORS
-\f3NULL\fP is returned if an undefined GLX attribute is encountered in
-\f2attribList\fP.
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXGetConfig\fP
diff --git a/doc/gl-docs/GL/glx/xcopycontext.3gl b/doc/gl-docs/GL/glx/xcopycontext.3gl
deleted file mode 100644
index 8e18ccee3..000000000
--- a/doc/gl-docs/GL/glx/xcopycontext.3gl
+++ /dev/null
@@ -1,98 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 49166 6 xcopycontext.gl
-.TH GLXCOPYCONTEXT 3
-.SH NAME
-glXCopyContext
-\- copy state from one rendering context to another
-
-.SH C SPECIFICATION
-void \f3glXCopyContext\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3void \fPglXCopyContext( 'u
- GLXContext \fIsrc\fP,
- GLXContext \fIdst\fP,
- unsigned long \fImask\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fImask\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2src\fP
-Specifies the source context.
-.TP
-\f2dst\fP
-Specifies the destination context.
-.TP
-\f2mask\fP
-Specifies which portions of \f2src\fP state are to be copied to \f2dst\fP.
-.SH DESCRIPTION
-\f3glXCopyContext\fP copies selected groups of state variables from \f2src\fP to \f2dst\fP.
-\f2mask\fP indicates which groups of state variables are to be copied.
-\f2mask\fP contains the bitwise OR of the same symbolic names that are
-passed to the GL command \f3glPushAttrib\fP.
-The single symbolic constant \f3GL_ALL_ATTRIB_BITS\fP can be used to
-copy the maximum possible portion of rendering state.
-.P
-The copy can be done only if the renderers named by \f2src\fP and \f2dst\fP
-share an address space.
-Two rendering contexts share an address space if both are nondirect
-using the same server,
-or if both are direct and owned by a single process.
-Note that in the nondirect case it is not necessary for the calling
-threads to share an address space,
-only for their related rendering contexts to share an address space.
-.P
-Not all values for GL state can be copied.
-For example,
-pixel pack and unpack state,
-render mode state,
-and select and feedback state are not copied.
-The state that can be copied is exactly the state that is manipulated
-by the GL command
-.br
-\f3glPushAttrib\fP.
-.P
-An implicit \f3glFlush\fP is done by \f3glXCopyContext\fP if \f2src\fP is the current
-context for the calling thread.
-.SH NOTES
-.P
-A \f2process\fP is a single execution environment,
-implemented in a single address space,
-consisting of one or more threads.
-.P
-A \f2thread\fP is one of a set of subprocesses that share
-a single address space,
-but maintain separate program counters,
-stack spaces,
-and other related global data.
-A \f2thread\fP that is the only member of its subprocess group
-is equivalent to a \f2process\fP.
-.SH ERRORS
-\f3BadMatch\fP is generated if rendering contexts \f2src\fP and \f2dst\fP
-do not share an address space
-or were not created with respect to the same screen.
-.P
-\f3BadAccess\fP is generated if \f2dst\fP is current to any thread
-(including the calling thread) at the time \f3glXCopyContext\fP is called.
-.P
-\f3GLXBadCurrentWindow\fP is generated if \f2src\fP is the current
-context and the current drawable is a window that is no longer valid.
-.P
-\f3GLXBadContext\fP is generated if either \f2src\fP or \f2dst\fP is not
-a valid GLX context.
-.SH SEE ALSO
-\f3glPushAttrib\fP,
-\f3glXCreateContext\fP,
-\f3glXIsDirect\fP
diff --git a/doc/gl-docs/GL/glx/xcreatecontext.3gl b/doc/gl-docs/GL/glx/xcreatecontext.3gl
deleted file mode 100644
index c49bcf5d3..000000000
--- a/doc/gl-docs/GL/glx/xcreatecontext.3gl
+++ /dev/null
@@ -1,117 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 16965 8 xcreatecontext.gl
-.TH GLXCREATECONTEXT 3
-.SH NAME
-glXCreateContext
-\- create a new GLX rendering context
-
-.SH C SPECIFICATION
-GLXContext \f3glXCreateContext\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3GLXContext \fPglXCreateContext( 'u
- XVisualInfo \fI*vis\fP,
- GLXContext \fIshareList\fP,
- Bool \fIdirect\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIshareList\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2vis\fP
-Specifies the visual that defines the frame buffer resources available to
-the rendering context.
-It is a pointer to an \f3XVisualInfo\fP structure,
-not a visual ID or a pointer to a \f3Visual\fP.
-.TP
-\f2shareList\fP
-Specifies the context with which to share display lists.
-\f3NULL\fP indicates that no sharing is to take place.
-.TP
-\f2direct\fP
-Specifies whether rendering is to be done with a direct connection
-to the graphics system if possible (\f3True\fP)
-or through the X server (\f3False\fP).
-.SH DESCRIPTION
-\f3glXCreateContext\fP creates a GLX rendering context and returns its handle.
-This context can be used to render into both windows and GLX pixmaps.
-If \f3glXCreateContext\fP fails to create a rendering context,
-\f3NULL\fP is returned.
-.P
-If \f2direct\fP is \f3True\fP,
-then a direct rendering context is created if the
-implementation supports direct rendering, if the connection is to an X
-server that is local, and if a direct rendering context is available. (An implementation may return an indirect context when \f2direct\fP is \f3True\fP).
-If \f2direct\fP is \f3False\fP,
-then a rendering context that renders through the X server is always created.
-Direct rendering provides a performance advantage in some implementations.
-However, direct rendering contexts cannot be shared outside a single process,
-and they may be unable to render to GLX pixmaps.
-.P
-If \f2shareList\fP is not \f3NULL\fP,
-then all display-list indexes and definitions are shared by
-context \f2shareList\fP and by the newly created context.
-An arbitrary number of contexts can share a single display-list space.
-However,
-all rendering contexts that share a single display-list space must
-themselves exist in the same address space.
-Two rendering contexts share an address space if both are nondirect
-using the same server,
-or if both are direct and owned by a single process.
-Note that in the nondirect case, it is not necessary for the calling
-threads to share an address space,
-only for their related rendering contexts to share an address space.
-.P
-If the GL version is 1.1 or greater,
-then all texture objects except object 0,
-are shared by any contexts that share display lists.
-.SH NOTES
-\f3XVisualInfo\fP is defined in \f2Xutil.h.\fP
-It is a structure that includes \f2visual\fP, \f2visualID\fP, \f2screen\fP, and
-\f2depth\fP elements.
-.P
-A \f2process\fP is a single execution environment,
-implemented in a single address space,
-consisting of one or more threads.
-.P
-A \f2thread\fP is one of a set of subprocesses that share
-a single address space,
-but maintain separate program counters,
-stack spaces,
-and other related global data.
-A \f2thread\fP that is the only member of its subprocess group
-is equivalent to a \f2process\fP.
-.P
-It may not be possible to render to a GLX pixmap with a direct rendering
-context.
-.SH ERRORS
-\f3NULL\fP is returned if execution fails on the client side.
-.P
-\f3BadMatch\fP is generated if the context to be created would not
-share the address space or the screen of the context specified by \f2shareList\fP.
-.P
-\f3BadValue\fP is generated if \f2vis\fP is not a valid visual (for
-example, if a particular GLX implementation does not support it).
-.P
-\f3GLXBadContext\fP is generated if \f2shareList\fP is not a GLX context
-and is not \f3NULL\fP.
-.P
-\f3BadAlloc\fP is generated if the server does not have enough
-resources to allocate the new context.
-.SH SEE ALSO
-\f3glXDestroyContext\fP,
-\f3glXGetConfig\fP,
-\f3glXIsDirect\fP,
-\f3glXMakeCurrent\fP
-
diff --git a/doc/gl-docs/GL/glx/xcreateglxpixmap.3gl b/doc/gl-docs/GL/glx/xcreateglxpixmap.3gl
deleted file mode 100644
index b37bdbb5d..000000000
--- a/doc/gl-docs/GL/glx/xcreateglxpixmap.3gl
+++ /dev/null
@@ -1,76 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 62493 5 xcreateglxpixmap.gl
-.TH GLXCREATEGLXPIXMAP 3
-.SH NAME
-glXCreateGLXPixmap
-\- create an off-screen GLX rendering area
-
-.SH C SPECIFICATION
-GLXPixmap \f3glXCreateGLXPixmap\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3GLXPixmap \fPglXCreateGLXPixmap( 'u
- XVisualInfo \fI*vis\fP,
- Pixmap \fIpixmap\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIpixmap\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2vis\fP
-Specifies the visual that defines the structure of the rendering area.
-It is a pointer to an \f3XVisualInfo\fP structure,
-not a visual ID or a pointer to a \f3Visual\fP.
-.TP
-\f2pixmap\fP
-Specifies the X pixmap that will be used as the front left color buffer
-of the off-screen rendering area.
-.SH DESCRIPTION
-\f3glXCreateGLXPixmap\fP creates an off-screen rendering area and returns its XID.
-Any GLX rendering context that was created with respect to \f2vis\fP
-can be used to render into this off-screen area.
-Use \f3glXMakeCurrent\fP to associate the rendering area with a GLX
-rendering context.
-.P
-The X pixmap identified by \f2pixmap\fP is used as the front left buffer of the
-resulting off-screen rendering area.
-All other buffers specified by \f2vis\fP,
-including color buffers other than the front left buffer,
-are created without externally visible names.
-GLX pixmaps with double-buffering are supported.
-However, \f3glXSwapBuffers\fP is ignored by these pixmaps.
-.P
-Some implementations may not support GLX pixmaps with direct rendering
-contexts.
-.SH NOTES
-\f3XVisualInfo\fP is defined in \f2Xutil.h.\fP
-It is a structure that includes \f2visual\fP, \f2visualID\fP, \f2screen\fP, and
-\f2depth\fP elements.
-.SH ERRORS
-\f3BadMatch\fP is generated if the depth of \f2pixmap\fP does not match
-the depth value reported by core X11 for \f2vis\fP,
-or if \f2pixmap\fP was not created with respect to the same screen as \f2vis\fP.
-.P
-\f3BadValue\fP is generated
-if \f2vis\fP is not a valid XVisualInfo pointer (for example, if a
-particular GLX implementation does not support this visual).
-.P
-\f3BadPixmap\fP is generated if \f2pixmap\fP is not a valid pixmap.
-.P
-\f3BadAlloc\fP is generated if the server cannot allocate the GLX
-pixmap.
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXIsDirect\fP,
-\f3glXMakeCurrent\fP
diff --git a/doc/gl-docs/GL/glx/xdestroycontext.3gl b/doc/gl-docs/GL/glx/xdestroycontext.3gl
deleted file mode 100644
index 2809fae14..000000000
--- a/doc/gl-docs/GL/glx/xdestroycontext.3gl
+++ /dev/null
@@ -1,44 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 5532 2 xdestroycontext.gl
-.TH GLXDESTROYCONTEXT 3
-.SH NAME
-glXDestroyContext
-\- destroy a GLX context
-
-.SH C SPECIFICATION
-void \f3glXDestroyContext\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3void \fPglXDestroyContext( 'u
- GLXContext \fIctx\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2dpy\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2ctx\fP
-Specifies the GLX context to be destroyed.
-.SH DESCRIPTION
-If the GLX rendering context \f2ctx\fP is not current to any thread,
-\f3glXDestroyContext\fP
-destroys it immediately.
-Otherwise,
-\f2ctx\fP is destroyed when it becomes not current to any thread.
-In either case, the resource ID
-referenced by \f2ctx\fP is freed immediately.
-.SH ERRORS
-\f3GLXBadContext\fP is generated if \f2ctx\fP is not a valid GLX context.
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXMakeCurrent\fP
diff --git a/doc/gl-docs/GL/glx/xdestroyglxpixmap.3gl b/doc/gl-docs/GL/glx/xdestroyglxpixmap.3gl
deleted file mode 100644
index 409062e8b..000000000
--- a/doc/gl-docs/GL/glx/xdestroyglxpixmap.3gl
+++ /dev/null
@@ -1,43 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 2275 2 xdestroyglxpixmap.gl
-.TH GLXDESTROYGLXPIXMAP 3
-.SH NAME
-glXDestroyGLXPixmap
-\- destroy a GLX pixmap
-
-.SH C SPECIFICATION
-void \f3glXDestroyGLXPixmap\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3void \fPglXDestroyGLXPixmap( 'u
- GLXPixmap \fIpix\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2dpy\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2pix\fP
-Specifies the GLX pixmap to be destroyed.
-.SH DESCRIPTION
-If the GLX pixmap \f2pix\fP is not current to any client,
-\f3glXDestroyGLXPixmap\fP destroys it immediately.
-Otherwise,
-\f2pix\fP is destroyed when it becomes not current to any client.
-In either case, the resource ID
-is freed immediately.
-.SH ERRORS
-\f3GLXBadPixmap\fP is generated if \f2pix\fP is not a valid GLX pixmap.
-.SH SEE ALSO
-\f3glXCreateGLXPixmap\fP,
-\f3glXMakeCurrent\fP
diff --git a/doc/gl-docs/GL/glx/xfreecontextext.3gl b/doc/gl-docs/GL/glx/xfreecontextext.3gl
deleted file mode 100644
index 550f1bf79..000000000
--- a/doc/gl-docs/GL/glx/xfreecontextext.3gl
+++ /dev/null
@@ -1,54 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 37853 3 xfreecontextext.gl
-.TH GLXFREECONTEXTEXT 3
-.SH NAME
-glXFreeContextEXT
-\- free client-side memory for imported context
-
-.SH C SPECIFICATION
-void \f3glXFreeContextEXT\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3void \fPglXFreeContextEXT( 'u
- GLXContext \fIctx\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2dpy\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-
-.TP
-\f2ctx\fP
-Specifies a GLX rendering context.
-
-.SH DESCRIPTION
-\f3glXFreeContextEXT\fP frees the client-side part of a GLXContext that
-was created with \f3glXImportContext\fP. \f3glXFreeContextEXT\fP does not
-free the server-side context information or the XID
-associated with the server-side context.
-.P
-\f3glXFreeContextEXT\fP is part of the \f3EXT_import_context\fP extension,
-not part of the core GLX command set. If \f3GLX_EXT_import_context\fP
-is included in the string returned by \f3glXQueryExtensionsString\fP,
-when called with argument \f3GLX_EXTENSIONS\fP,
-extension \f3EXT_vertex_array\fP is supported.
-
-.SH ERRORS
-\f3GLXBadContext\fP is generated if \f2ctx\fP does not
-refer to a valid context.
-
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXQueryVersion\fP,
-\f3glXQueryExtensionsString\fP,
-\f3glXImportContextEXT\fP
diff --git a/doc/gl-docs/GL/glx/xgetclientstring.3gl b/doc/gl-docs/GL/glx/xgetclientstring.3gl
deleted file mode 100644
index f4c9c87a3..000000000
--- a/doc/gl-docs/GL/glx/xgetclientstring.3gl
+++ /dev/null
@@ -1,64 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 29851 4 xgetclientstring.gl
-.TH GLXGETCLIENTSTRING 3
-.SH NAME
-glXGetClientString
-\- return a string describing the client
-
-.SH C SPECIFICATION
-const char * \f3glXGetClientString\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3const char * \fPglXGetClientString( 'u
- int \fIname\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIname\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2name\fP
-Specifies which string is returned.
-One of \f3GLX_VENDOR\fP, \f3GLX_VERSION\fP, or \f3GLX_EXTENSIONS\fP.
-.SH DESCRIPTION
-\f3glXGetClientString\fP returns a string
-describing some aspect of the client library. The possible values for \f2name\fP
-are \f3GLX_VENDOR\fP, \f3GLX_VERSION\fP, and
-\f3GLX_EXTENSIONS\fP. If \f2name\fP
-is not set to one of these values, \f3glXGetClientString\fP returns \f3NULL\fP.
-The format and contents of the vendor string is implementation dependent.
-.P
-The extensions string is null-terminated and contains a
-space-separated list of extension names. (The extension names never
-contain spaces.)
-If there are no extensions to GLX, then the empty string is returned.
-.P
-The version string is laid out as follows:
-.sp
-<major_version.minor_version><space><vendor-specific info>
-.sp
-Both the major and minor portions of the version number are of arbitrary
-length. The vendor-specific information is optional. However, if it is
-present, the format and contents are implementation specific.
-.SH NOTES
-\f3glXGetClientString\fP is available only if the GLX version is 1.1 or greater.
-.P
-If the GLX version is 1.1 or 1.0, the GL version must be 1.0.
-If the GLX version is 1.2, then the GL version must be 1.1.
-.P
-\f3glXGetClientString\fP only returns information about GLX extensions supported by the client.
-Call \f3glGetString\fP to get a list of GL extensions supported by the server.
-.SH SEE ALSO
-\f3glXQueryVersion\fP,
-\f3glXQueryExtensionsString\fP,
-\f3glXQueryServerString\fP
diff --git a/doc/gl-docs/GL/glx/xgetconfig.3gl b/doc/gl-docs/GL/glx/xgetconfig.3gl
deleted file mode 100644
index 297620c51..000000000
--- a/doc/gl-docs/GL/glx/xgetconfig.3gl
+++ /dev/null
@@ -1,177 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 60987 10 xgetconfig.gl
-.TH GLXGETCONFIG 3
-.SH NAME
-glXGetConfig
-\- return information about GLX visuals
-
-.SH C SPECIFICATION
-int \f3glXGetConfig\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3int \fPglXGetConfig( 'u
- XVisualInfo \fI*vis\fP,
- int \fIattrib\fP,
- int \fI*value\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIattrib\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2vis\fP
-Specifies the visual to be queried.
-It is a pointer to an \f3XVisualInfo\fP structure,
-not a visual ID or a pointer to a \f3Visual\fP.
-.TP
-\f2attrib\fP
-Specifies the visual attribute to be returned.
-.TP
-\f2value\fP
-Returns the requested value.
-.SH DESCRIPTION
-\f3glXGetConfig\fP sets \f2value\fP to the \f2attrib\fP value of windows or GLX pixmaps
-created with respect to \f2vis\fP.
-\f3glXGetConfig\fP returns an error code if it fails for any reason.
-Otherwise, zero is returned.
-.P
-\f2attrib\fP is one of the following:
-.P
-.TP 22
-\f3GLX_USE_GL\fP
-\f3True\fP if OpenGL rendering is supported by this visual,
-\f3False\fP otherwise.
-.TP
-\f3GLX_BUFFER_SIZE\fP
-Number of bits per color buffer.
-For RGBA visuals, \f3GLX_BUFFER_SIZE\fP is the sum of
-\f3GLX_RED_SIZE\fP,
-\f3GLX_GREEN_SIZE\fP,
-\f3GLX_BLUE_SIZE\fP, and
-\f3GLX_ALPHA_SIZE\fP.
-For color index visuals, \f3GLX_BUFFER_SIZE\fP is the size of the
-color indexes.
-.TP
-\f3GLX_LEVEL\fP
-Frame buffer level of the visual.
-Level zero is the default frame buffer.
-Positive levels correspond to frame buffers that overlay the default buffer,
-and negative levels correspond to frame buffers that underlay the default
-buffer.
-.TP
-\f3GLX_RGBA\fP
-\f3True\fP if color buffers store red, green, blue, and alpha values.
-\f3False\fP if they store color indexes.
-.TP
-\f3GLX_DOUBLEBUFFER\fP
-\f3True\fP if color buffers exist in front/back pairs that can be swapped,
-\f3False\fP otherwise.
-.TP
-\f3GLX_STEREO\fP
-\f3True\fP if color buffers exist in left/right pairs,
-\f3False\fP otherwise.
-.TP
-\f3GLX_AUX_BUFFERS\fP
-Number of auxiliary color buffers that are available.
-Zero indicates that no auxiliary color buffers exist.
-.TP
-\f3GLX_RED_SIZE\fP
-Number of bits of red stored in each color buffer.
-Undefined if \f3GLX_RGBA\fP is \f3False\fP.
-.TP
-\f3GLX_GREEN_SIZE\fP
-Number of bits of green stored in each color buffer.
-Undefined if \f3GLX_RGBA\fP is \f3False\fP.
-.TP
-\f3GLX_BLUE_SIZE\fP
-Number of bits of blue stored in each color buffer.
-Undefined if \f3GLX_RGBA\fP is \f3False\fP.
-.TP
-\f3GLX_ALPHA_SIZE\fP
-Number of bits of alpha stored in each color buffer.
-Undefined if \f3GLX_RGBA\fP is \f3False\fP.
-.TP
-\f3GLX_DEPTH_SIZE\fP
-Number of bits in the depth buffer.
-.TP
-\f3GLX_STENCIL_SIZE\fP
-Number of bits in the stencil buffer.
-.TP
-\f3GLX_ACCUM_RED_SIZE\fP
-Number of bits of red stored in the accumulation buffer.
-.TP
-\f3GLX_ACCUM_GREEN_SIZE\fP
-Number of bits of green stored in the accumulation buffer.
-.TP
-\f3GLX_ACCUM_BLUE_SIZE\fP
-Number of bits of blue stored in the accumulation buffer.
-.TP
-\f3GLX_ACCUM_ALPHA_SIZE\fP
-Number of bits of alpha stored in the accumulation buffer.
-.TE
-.P
-The X protocol allows a single visual ID to be instantiated with
-different numbers of bits per pixel.
-Windows or GLX pixmaps that will be rendered with OpenGL, however,
-must be instantiated with a color buffer depth of \f3GLX_BUFFER_SIZE\fP.
-.P
-Although a GLX implementation can export many visuals that support GL
-rendering,
-it must support
-at least one RGBA visual. This visual must have at
-least one color buffer,
-a stencil buffer of at least 1 bit,
-a depth buffer of at least 12 bits,
-and an accumulation buffer.
-Alpha bitplanes are optional in this visual.
-However,
-its color buffer size must be as great as that of the
-deepest \f3TrueColor\fP, \f3DirectColor\fP,
-\f3PseudoColor\fP, or \f3StaticColor\fP visual supported on level zero,
-and it must itself be made available on level zero.
-.P
-In addition, if the X server exports a \f3PseudoColor\fP
-or \f3StaticColor\fP visual on framebuffer level 0, a color index
-visual is also required on that level.
-It must have
-at least one color buffer,
-a stencil buffer of at least 1 bit,
-and a depth buffer of at least 12 bits.
-This visual must
-have as many
-color bitplanes as the deepest
-\f3PseudoColor\fP or \f3StaticColor\fP visual supported on level 0.
-.P
-Applications are best written to select the visual that most closely
-meets their requirements.
-Creating windows or GLX pixmaps with unnecessary buffers can result in
-reduced rendering performance as well as poor resource allocation.
-.SH NOTES
-\f3XVisualInfo\fP is defined in \f2Xutil.h.\fP
-It is a structure that includes \f2visual\fP, \f2visualID\fP, \f2screen\fP, and
-\f2depth\fP elements.
-.SH ERRORS
-\f3GLX_NO_EXTENSION\fP is returned if \f2dpy\fP does not support the GLX
-extension.
-.P
-\f3GLX_BAD_SCREEN\fP is returned if the screen of \f2vis\fP does not correspond
-to a screen.
-.P
-\f3GLX_BAD_ATTRIBUTE\fP is returned if \f2attrib\fP is not a valid GLX attribute.
-.P
-\f3GLX_BAD_VISUAL\fP is returned if \f2vis\fP doesn't support GLX and an
-attribute other than \f3GLX_USE_GL\fP is requested.
-.SH SEE ALSO
-\f3glXChooseVisual\fP,
-\f3glXCreateContext\fP
-
diff --git a/doc/gl-docs/GL/glx/xgetcontextidext.3gl b/doc/gl-docs/GL/glx/xgetcontextidext.3gl
deleted file mode 100644
index 863ac5a15..000000000
--- a/doc/gl-docs/GL/glx/xgetcontextidext.3gl
+++ /dev/null
@@ -1,47 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 25633 3 xgetcontextidext.gl
-.TH GLXGETCONTEXTIDEXT 3
-.SH NAME
-glXGetContextIDEXT
-\- get the XID for a context.
-
-.SH C SPECIFICATION
-GLXContextID \f3glXGetContextIDEXT\fP(
-const GLXContext \fIctx\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2ctx\fP\ \ 'u
-\f2ctx\fP
-Specifies a GLX rendering context.
-
-.SH DESCRIPTION
-\f3glXGetContextIDEXT\fP returns the XID associated with a GLXContext.
-.P
-No round trip is forced to the server; unlike most X calls that
-return a value, \f3glXGetContextIDEXT\fP does not flush any pending events.
-.P
-\f3glXGetContextIDEXT\fP is part of the \f3EXT_import_context\fP extension,
-not part of the core GLX command set. If \f3GLX_EXT_import_context\fP
-is included in the string returned by \f3glXQueryExtensionsString\fP,
-when called with argument \f3GLX_EXTENSIONS\fP,
-extension \f3EXT_import_context\fP is supported.
-
-.SH ERRORS
-\f3GLXBadContext\fP is generated if \f2ctx\fP does not
-refer to a valid context.
-
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXQueryVersion\fP,
-\f3glXQueryExtensionsString\fP
diff --git a/doc/gl-docs/GL/glx/xgetcurrentcontext.3gl b/doc/gl-docs/GL/glx/xgetcurrentcontext.3gl
deleted file mode 100644
index 2a67ae38e..000000000
--- a/doc/gl-docs/GL/glx/xgetcurrentcontext.3gl
+++ /dev/null
@@ -1,30 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 49308 2 xgetcurrentcontext.gl
-.TH GLXGETCURRENTCONTEXT 3
-.SH NAME
-glXGetCurrentContext
-\- return the current context
-
-.SH C SPECIFICATION
-GLXContext \f3glXGetCurrentContext\fP( void )
-.nf
-.fi
-
-
-.SH DESCRIPTION
-\f3glXGetCurrentContext\fP returns the current context,
-as specified by \f3glXMakeCurrent\fP.
-If there is no current context,
-\f3NULL\fP is returned.
-
-\f3glXGetCurrentContext\fP returns client-side information.
-It does not make a round trip to the server.
-
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXMakeCurrent\fP
diff --git a/doc/gl-docs/GL/glx/xgetcurrentdisplay.3gl b/doc/gl-docs/GL/glx/xgetcurrentdisplay.3gl
deleted file mode 100644
index dbe449987..000000000
--- a/doc/gl-docs/GL/glx/xgetcurrentdisplay.3gl
+++ /dev/null
@@ -1,33 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 59497 2 xgetcurrentdisplay.gl
-.TH GLXGETCURRENTDISPLAY 3
-.SH NAME
-glXGetCurrentDisplay
-\- get display for current context
-
-.SH C SPECIFICATION
-Display * \f3glXGetCurrentDisplay\fP( void )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH DESCRIPTION
-\f3glXGetCurrentDisplay\fP returns the display for the current context. If no
-context is current, NULL is returned.
-.P
-\f3glXGetCurrentDisplay\fP returns client-side information. It does not make a round trip
-to the server, and therefore does not flush any pending events.
-.SH NOTES
-\f3glXGetCurrentDisplay\fP is only supported if the GLX version is 1.2 or greater.
-.SH SEE ALSO
-\f3glXQueryVersion\fP,
-\f3glXQueryExtensionsString\fP
-
diff --git a/doc/gl-docs/GL/glx/xgetcurrentdrawable.3gl b/doc/gl-docs/GL/glx/xgetcurrentdrawable.3gl
deleted file mode 100644
index 38212ad81..000000000
--- a/doc/gl-docs/GL/glx/xgetcurrentdrawable.3gl
+++ /dev/null
@@ -1,28 +0,0 @@
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 49921 2 xgetcurrentdrawable.gl
-.TH GLXGETCURRENTDRAWABLE 3
-.SH NAME
-glXGetCurrentDrawable
-\- return the current drawable
-
-.SH C SPECIFICATION
-GLXDrawable \f3glXGetCurrentDrawable\fP( void )
-.nf
-.fi
-
-.SH DESCRIPTION
-\f3glXGetCurrentDrawable\fP returns the current drawable,
-as specified by \f3glXMakeCurrent\fP.
-If there is no current drawable,
-\f3None\fP is returned.
-.P
-\f3glXGetCurrentDrawable\fP returns client-side information.
-It does not make a round trip to the server.
-.SH SEE ALSO
-\f3glXCreateGLXPixmap\fP,
-\f3glXMakeCurrent\fP
diff --git a/doc/gl-docs/GL/glx/ximportcontextext.3gl b/doc/gl-docs/GL/glx/ximportcontextext.3gl
deleted file mode 100644
index f0798c1f0..000000000
--- a/doc/gl-docs/GL/glx/ximportcontextext.3gl
+++ /dev/null
@@ -1,71 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 38402 4 ximportcontextext.gl
-.TH GLXIMPORTCONTEXTEXT 3
-.SH NAME
-glXImportContextEXT
-\- import another process's indirect rendering context.
-
-.SH C SPECIFICATION
-GLXContext \f3glXImportContextEXT\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3GLXContext \fPglXImportContextEXT( 'u
- GLXContextID \fIcontextID\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIcontextID\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-
-.TP
-\f2contextID\fP
-Specifies a GLX rendering context.
-
-.SH DESCRIPTION
-\f3glXImportContextEXT\fP creates a GLXContext given the XID of an existing GLXContext.
-It may be used in place of \f3glXCreateContext\fP,
-to share another process's indirect rendering context.
-.P
-Only the server-side context information can be shared between
-X clients; client-side state, such as pixel storage modes,
-cannot be shared. Thus, \f3glXImportContextEXT\fP must allocate memory to store
-client-side information. This memory is freed by calling
-\f3glXFreeContextEXT\fP.
-.P
-This call does not create a new XID. It merely makes an
-existing object available to the importing client (Display *).
-Like any XID, it goes away when the creating client drops its
-connection or the ID is explicitly deleted. Note that this is
-when the XID goes away. The object goes away when the XID
-goes away AND the context is not current to any thread.
-.P
-If \f2contextID\fP refers to a
-direct rendering context then no error is generated but
-\f3glXImportContextEXT\fP returns NULL.
-.P
-\f3glXImportContextEXT\fP is part of the \f3EXT_import_context\fP extension,
-not part of the core GLX command set. If \f3GLX_EXT_import_context\fP
-is included in the string returned by \f3glXQueryExtensionsString\fP,
-when called with argument \f3GLX_EXTENSIONS\fP,
-extension \f3EXT_import_context\fP is supported.
-
-.SH ERRORS
-\f3GLXBadContext\fP is generated if \f2contextID\fP does not
-refer to a valid context.
-
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXQueryVersion\fP,
-\f3glXQueryExtensionsString\fP,
-\f3glXGetContextIDEXT\fP,
-\f3glXFreeContextEXT\fP
diff --git a/doc/gl-docs/GL/glx/xintro.3gl b/doc/gl-docs/GL/glx/xintro.3gl
deleted file mode 100644
index 2018b4361..000000000
--- a/doc/gl-docs/GL/glx/xintro.3gl
+++ /dev/null
@@ -1,239 +0,0 @@
-.\" $XFree86$
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 32008 15 xintro.gl
-.TH GLXINTRO 3
-.SH NAME
-glXIntro
-\- Introduction to OpenGL in the X window system
-
-.SH OVERVIEW
-OpenGL (called GL in other pages) is a high-performance 3D-oriented renderer.
-It is available in the X window system through the GLX extension.
-To determine whether the GLX extension is supported by an X server,
-and if so, what version is supported, call \f3glXQueryExtension\fP
-and \f3glXQueryVersion\fP.
-.P
-GLX extended servers make a subset of their visuals available
-for OpenGL rendering.
-Drawables created with these visuals can also be rendered using
-the core X renderer
-and with the renderer of any other X extension that is compatible
-with all core X visuals.
-.P
-GLX extends drawables with several buffers other than
-the standard color buffer.
-These buffers include back and auxiliary color buffers,
-a depth buffer,
-a stencil buffer,
-and a color accumulation buffer.
-Some or all are included in each X visual that supports OpenGL.
-.P
-To render using OpenGL into an X drawable,
-you must first choose a visual that defines the required OpenGL buffers.
-\f3glXChooseVisual\fP can be used to simplify selecting a compatible visual.
-If more control of the selection process is required,
-use \f3XGetVisualInfo\fP and \f3glXGetConfig\fP to select among
-all the available visuals.
-.P
-Use the selected visual to create both a GLX context and an X
-drawable.
-GLX contexts are created with \f3glXCreateContext\fP,
-and drawables are created with either \f3XCreateWindow\fP or
-\f3glXCreateGLXPixmap\fP.
-Finally,
-bind the context and the drawable together using \f3glXMakeCurrent\fP.
-This context/drawable pair becomes the current context and current
-drawable,
-and it is used by all OpenGL commands until \f3glXMakeCurrent\fP is
-called with different arguments.
-.P
-Both core X and OpenGL commands can be used to operate on the
-current drawable.
-The X and OpenGL command streams are not synchronized,
-however,
-except at explicitly created boundaries generated by calling
-\f3glXWaitGL\fP, \f3glXWaitX\fP, \f3XSync\fP, and \f3glFlush\fP.
-.SH EXAMPLES
-Below is the minimum code required to create an RGBA-format,
-X window that's compatible with OpenGL and to clear it to yellow.
-The code is correct,
-but it does not include any error checking.
-Return values \f2dpy\fP,
-\f2vi\fP,
-\f2cx\fP,
-\f2cmap\fP, and
-\f2win\fP should all be tested.
-.P
-.Ex
-\&#include <GL/glx.h>
-\&#include <GL/gl.h>
-\&#include <unistd.h>
-
-static int attributeListSgl[] = {
- GLX_RGBA,
- GLX_RED_SIZE, 1, /*get the deepest buffer with 1 red bit*/
- GLX_GREEN_SIZE, 1,
- GLX_BLUE_SIZE, 1,
- None };
-
-static int attributeListDbl[] = {
- GLX_RGBA,
- GLX_DOUBLE_BUFFER, /*In case single buffering is not supported*/
- GLX_RED_SIZE, 1,
- GLX_GREEN_SIZE, 1,
- GLX_BLUE_SIZE, 1,
- None };
-
-
-static Bool WaitForNotify(Display *d, XEvent *e, char *arg) {
- return (e->type == MapNotify) && (e->xmap.window == (Window)arg);
-}
-
-int main(int argc, char **argv) {
- Display *dpy;
- XVisualInfo *vi;
- Colormap cmap;
- XSetWindowAttributes swa;
- Window win;
- GLXContext cx;
- XEvent event;
- int swap_flag = FALSE;
-
-
- /* get a connection */
- dpy = XOpenDisplay(0);
-
- /* get an appropriate visual */
- vi = glXChooseVisual(dpy, DefaultScreen(dpy), attributeListSgl);
- if (vi == NULL) {
- vi = glXChooseVisual(dpy, DefaultScreen(dpy), attributeListDbl);
- swap_flag = TRUE;
- }
-
- /* create a GLX context */
- cx = glXCreateContext(dpy, vi, 0, GL_TRUE);
-
- /* create a color map */
- cmap = XCreateColormap(dpy, RootWindow(dpy, vi->screen),
- vi->visual, AllocNone);
-
- /* create a window */
- swa.colormap = cmap;
- swa.border_pixel = 0;
- swa.event_mask = StructureNotifyMask;
- win = XCreateWindow(dpy, RootWindow(dpy, vi->screen), 0, 0, 100, 100,
- 0, vi->depth, InputOutput, vi->visual,
- CWBorderPixel|CWColormap|CWEventMask, &swa);
- XMapWindow(dpy, win);
- XIfEvent(dpy, &event, WaitForNotify, (char*)win);
-
- /* connect the context to the window */
- glXMakeCurrent(dpy, win, cx);
-
- /* clear the buffer */
- glClearColor(1,1,0,1);
- glClear(GL_COLOR_BUFFER_BIT);
- glFlush();
- if (swap_flag) glXSwapBuffers(dpy,win);
-
- /* wait a while */
- sleep(10);
-}
-.Ee
-.SH NOTES
-A color map must be created and passed to \f3XCreateWindow\fP.
-See the preceding example code.
-.P
-A GLX context must be created and attached to an X drawable before
-OpenGL commands can be executed.
-OpenGL commands issued while no context/drawable pair is current
-result in undefined behavior.
-.P
-Exposure events indicate that \f2all\fP buffers associated with the
-specified window may be damaged and should be repainted.
-Although certain buffers of some visuals on some systems
-may never require repainting
-(the depth buffer, for example),
-it is incorrect to write a program assuming that these buffers will
-not be damaged.
-.P
-GLX commands manipulate XVisualInfo structures rather than pointers to
-visuals or visual IDs.
-XVisualInfo structures contain \f2visual\fP,
-\f2visualID\fP,
-\f2screen\fP, and
-\f2depth\fP elements,
-as well as other X-specific information.
-.SH USING GLX EXTENSIONS
-All supported GLX extensions will have a corresponding definition in glx.h
-and a token in the extension string returned by \f3glXQueryExtensionsString\fP.
-For example, if the \f3EXT_visual_info\fP extension is supported,
-then this token will be defined in glx.h and \f3EXT_visual_info\fP
-will appear in the extension
-string returned by \f3glXQueryExtensionsString\fP. The definitions in glx.h
-can be used at compile time to determine if procedure calls corresponding
-to an extension exist in the library.
-.P
-OpenGL itself has also been extended. Refer to \f3glIntro\fP for more
-information.
-.P
-.SH GLX 1.1 and GLX 1.2
-GLX 1.2 is now supported. It is backward compatible with GLX 1.1 and
-GLX 1.0.
-.P
-GLX 1.2 corresponds to OpenGL version 1.1 and introduces the following
-new call: \f3glGetCurrentDisplay\fP.
-.P
-GLX 1.1 corresponds to OpenGL version 1.0 and introduces the
-following new calls:
-\f3glXQueryExtensionsString\fP, \f3glXQueryServerString\fP, and
-\f3glXGetClientString\fP.
-.P
-Call \f3glQueryVersion\fP
-to determine at runtime what version of GLX is available. \f3glQueryVersion\fP
-returns the version that is supported on the connection. Thus
-if 1.2 is returned, both the client and server support GLX 1.2.
-You can also check the GLX version at compile time: GLX_VERSION_1_1
-will be defined in glx.h if GLX 1.1 calls are supported and
-GLX_VERSION_1_2 will be defined if GLX 1.2 calls are supported.
-.SH SEE ALSO
-\f3glIntro\fP,
-\f3glFinish\fP,
-\f3glFlush\fP,
-\f3glXChooseVisual\fP,
-\f3glXCopyContext\fP,
-.br
-\f3glXCreateContext\fP,
-\f3glXCreateGLXPixmap\fP,
-\f3glXDestroyContext\fP,
-.br
-\f3glXGetClientString\fP,
-\f3glXGetConfig\fP,
-\f3glXIsDirect\fP,
-\f3glXMakeCurrent\fP,
-.br
-\f3glXQueryExtension\fP,
-\f3glXQueryExtensionsString\fP,
-\f3glXQueryServerString\fP,
-\f3glXQueryVersion\fP,
-\f3glXSwapBuffers\fP,
-\f3glXUseXFont\fP,
-\f3glXWaitGL\fP,
-\f3glXWaitX\fP,
-\f3XCreateColormap\fP,
-\f3XCreateWindow\fP,
-\f3XSync\fP
-
-
-
-
-
-
-
-
diff --git a/doc/gl-docs/GL/glx/xisdirect.3gl b/doc/gl-docs/GL/glx/xisdirect.3gl
deleted file mode 100644
index 6a6d8f96a..000000000
--- a/doc/gl-docs/GL/glx/xisdirect.3gl
+++ /dev/null
@@ -1,42 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 12384 2 xisdirect.gl
-.TH GLXISDIRECT 3
-.SH NAME
-glXIsDirect
-\- indicate whether direct rendering is enabled
-
-.SH C SPECIFICATION
-Bool \f3glXIsDirect\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3Bool \fPglXIsDirect( 'u
- GLXContext \fIctx\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2dpy\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2ctx\fP
-Specifies the GLX context that is being queried.
-.SH DESCRIPTION
-\f3glXIsDirect\fP returns \f3True\fP if \f2ctx\fP is a direct rendering context,
-\f3False\fP otherwise.
-Direct rendering contexts pass rendering commands directly from the calling
-process's address space to the rendering system,
-bypassing the X server.
-Nondirect rendering contexts pass all rendering commands to the X server.
-.SH ERRORS
-\f3GLXBadContext\fP is generated if \f2ctx\fP is not a valid GLX context.
-.SH SEE ALSO
-\f3glXCreateContext\fP
diff --git a/doc/gl-docs/GL/glx/xmakecurrent.3gl b/doc/gl-docs/GL/glx/xmakecurrent.3gl
deleted file mode 100644
index 2cbb6166e..000000000
--- a/doc/gl-docs/GL/glx/xmakecurrent.3gl
+++ /dev/null
@@ -1,107 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 28564 7 xmakecurrent.gl
-.TH GLXMAKECURRENT 3
-.SH NAME
-glXMakeCurrent
-\- attach a GLX context to a window or a GLX pixmap
-
-.SH C SPECIFICATION
-Bool \f3glXMakeCurrent\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3Bool \fPglXMakeCurrent( 'u
- GLXDrawable \fIdrawable\fP,
- GLXContext \fIctx\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIdrawable\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2drawable\fP
-Specifies a GLX drawable.
-Must be either an X window ID or a GLX pixmap ID.
-.TP
-\f2ctx\fP
-Specifies a GLX rendering context that is to be attached to \f2drawable\fP.
-.SH DESCRIPTION
-\f3glXMakeCurrent\fP does two things:
-It makes \f2ctx\fP the current GLX rendering context of the calling thread,
-replacing the previously current context if there was one,
-and it attaches \f2ctx\fP to a GLX drawable,
-either a window or a GLX pixmap.
-As a result of these two actions,
-subsequent GL rendering calls
-use rendering context \f2ctx\fP to modify GLX drawable \f2drawable\fP.
-Because \f3glXMakeCurrent\fP always replaces the current rendering context with \f2ctx\fP,
-there can be only one current context per thread.
-.P
-Pending commands to the
-previous context, if any, are flushed before it is released.
-.P
-The first time \f2ctx\fP is made current to any thread,
-its viewport is set to the full size of \f2drawable\fP.
-Subsequent calls by any thread to \f3glXMakeCurrent\fP with \f2ctx\fP
-have no effect on its viewport.
-.P
-To release the current context without assigning a new one,
-call \f3glXMakeCurrent\fP with \f2drawable\fP set \f3None\fP and \f2ctx\fP
-set to \f3NULL\fP
-.P
-\f3glXMakeCurrent\fP returns \f3True\fP if it is successful,
-\f3False\fP otherwise.
-If \f3False\fP is returned, the previously current rendering context
-and drawable (if any) remain unchanged.
-.SH NOTES
-A \f2process\fP is a single-execution environment,
-implemented in a single address space,
-consisting of one or more threads.
-.P
-A \f2thread\fP is one of a set of subprocesses that share
-a single address space,
-but maintain separate program counters,
-stack spaces,
-and other related global data.
-A \f2thread\fP that is the only member of its subprocess group
-is equivalent to a \f2process\fP.
-.SH ERRORS
-\f3BadMatch\fP is generated if \f2drawable\fP was not
-created with the same X screen and visual as \f2ctx\fP.
-It is also generated if \f2drawable\fP is \f3None\fP and \f2ctx\fP is not
-\f3NULL\fP.
-.P
-\f3BadAccess\fP is generated if \f2ctx\fP was current to another thread
-at the time \f3glXMakeCurrent\fP was called.
-.P
-\f3GLXBadDrawable\fP is generated if \f2drawable\fP is not a valid GLX drawable.
-.P
-\f3GLXBadContext\fP is generated if \f2ctx\fP is not a valid GLX context.
-.P
-\f3GLXBadContextState\fP is generated if \f3glXMakeCurrent\fP is executed between
-the execution of \f3glBegin\fP and the corresponding execution of \f3glEnd\fP.
-.P
-\f3GLXBadContextState\fP is also generated if the rendering context current
-to the calling thread has GL renderer state \f3GL_FEEDBACK\fP or
-\f3GL_SELECT\fP.
-.P
-\f3GLXBadCurrentWindow\fP is generated if there are pending GL
-commands for the previous context and the current drawable is
-a window that is no longer valid.
-.P
-\f3BadAlloc\fP may be generated if the server has delayed allocation
-of ancillary buffers until \f3glXMakeCurrent\fP is called, only to find that it has
-insufficient resources to complete the allocation.
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXCreateGLXPixmap\fP
-
diff --git a/doc/gl-docs/GL/glx/xquerycontextinfoext.3gl b/doc/gl-docs/GL/glx/xquerycontextinfoext.3gl
deleted file mode 100644
index 855c17dcd..000000000
--- a/doc/gl-docs/GL/glx/xquerycontextinfoext.3gl
+++ /dev/null
@@ -1,67 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 51469 3 xquerycontextinfoext.gl
-.TH GLXQUERYCONTEXTINFOEXT 3
-.SH NAME
-glXQueryContextInfoEXT
-\- query context information
-
-.SH C SPECIFICATION
-int \f3glXQueryContextInfoEXT\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3int \fPglXQueryContextInfoEXT( 'u
- GLXContext \fIctx\fP,
- int \fIattribute\fP,
- int \fI*value\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIattribute\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-
-.TP
-\f2ctx\fP
-Specifies a GLX rendering context.
-
-.TP
-\f2attribute\fP
-The visual ID that the context was created with.
-
-.TP
-\f2value\fP
-The X screen the the context was created for.
-
-.TP
-_param5
-The context with which this context shares display lists.
-or \f3NULL\fP if this context does not share display lists.
-
-.SH DESCRIPTION
-\f3glXQueryContextInfoEXT\fP returns the the visual id, screen number, and share list
-of \f2ctx\fP. This call may cause a round trip to the server.
-.P
-\f3glXQueryContextInfoEXT\fP is part of the \f3EXT_import_context\fP extension,
-not part of the core GLX command set. If \f3GLX_EXT_import_context\fP
-is included in the string returned by \f3glXQueryExtensionsString\fP,
-when called with argument \f3GLX_EXTENSIONS\fP,
-extension \f3EXT_import_context\fP is supported.
-
-.SH ERRORS
-\f3GLXBadContext\fP is generated if \f2ctx\fP does not
-refer to a valid context.
-
-.SH SEE ALSO
-\f3glXCreateContext\fP,
-\f3glXQueryVersion\fP,
-\f3glXQueryExtensionsString\fP
-
diff --git a/doc/gl-docs/GL/glx/xqueryextension.3gl b/doc/gl-docs/GL/glx/xqueryextension.3gl
deleted file mode 100644
index e5396a11a..000000000
--- a/doc/gl-docs/GL/glx/xqueryextension.3gl
+++ /dev/null
@@ -1,52 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 25267 2 xqueryextension.gl
-.TH GLXQUERYEXTENSION 3
-.SH NAME
-glXQueryExtension
-\- indicate whether the GLX extension is supported
-
-.SH C SPECIFICATION
-Bool \f3glXQueryExtension\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3Bool \fPglXQueryExtension( 'u
- int \fI*errorBase\fP,
- int \fI*eventBase\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIerrorBase\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2errorBase\fP
-Returns the base error code of the GLX server extension.
-.TP
-\f2eventBase\fP
-Returns the base event code of the GLX server extension.
-.SH DESCRIPTION
-\f3glXQueryExtension\fP returns \f3True\fP if the X server of
-connection \f2dpy\fP supports the GLX extension,
-\f3False\fP otherwise.
-If \f3True\fP is returned,
-then \f2errorBase\fP and \f2eventBase\fP return the error base and event base of
-the GLX extension.
-Otherwise, \f2errorBase\fP and \f2eventBase\fP are unchanged.
-.P
-\f2errorBase\fP and \f2eventBase\fP do not return values if they are specified
-as \f3NULL\fP.
-.SH NOTES
-\f2eventBase\fP is included for future extensions.
-GLX does not currently define any events.
-.SH SEE ALSO
-\f3glXQueryVersion\fP
-
diff --git a/doc/gl-docs/GL/glx/xqueryextensionsstring.3gl b/doc/gl-docs/GL/glx/xqueryextensionsstring.3gl
deleted file mode 100644
index f98137563..000000000
--- a/doc/gl-docs/GL/glx/xqueryextensionsstring.3gl
+++ /dev/null
@@ -1,48 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 26309 3 xqueryextensionsstring.gl
-.TH GLXQUERYEXTENSIONSSTRING 3
-.SH NAME
-glXQueryExtensionsString
-\- return list of supported extensions
-
-.SH C SPECIFICATION
-const char * \f3glXQueryExtensionsString\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3const char * \fPglXQueryExtensionsString( 'u
- int \fIscreen\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIscreen\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2screen\fP
-Specifies the screen.
-.SH DESCRIPTION
-\f3glXQueryExtensionsString\fP returns a pointer to a string describing
-which GLX extensions are supported on the connection. The string
-is null-terminated and contains a space-separated list of
-extension names. (The extension names themselves never contain
-spaces.) If there are no extensions to GLX, then the empty string is
-returned.
-.SH NOTES
-\f3glXQueryExtensionsString\fP is available only if the GLX version is 1.1 or greater.
-.P
-\f3glXQueryExtensionsString\fP only returns information about GLX extensions. Call
-\f3glGetString\fP to get a list of GL extensions.
-.SH SEE ALSO
-\f3glGetString\fP,
-\f3glXQueryVersion\fP,
-\f3glXQueryServerString\fP,
-\f3glXGetClientString\fP
diff --git a/doc/gl-docs/GL/glx/xqueryserverstring.3gl b/doc/gl-docs/GL/glx/xqueryserverstring.3gl
deleted file mode 100644
index 3201a7141..000000000
--- a/doc/gl-docs/GL/glx/xqueryserverstring.3gl
+++ /dev/null
@@ -1,58 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 52600 3 xqueryserverstring.gl
-.TH GLXQUERYSERVERSTRING 3
-.SH NAME
-glXQueryServerString
-\- return string describing the server
-
-.SH C SPECIFICATION
-const char * \f3glXQueryServerString\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3const char * \fPglXQueryServerString( 'u
- int \fIscreen\fP,
- int \fIname\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIscreen\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2screen\fP
-Specifies the screen number.
-.TP
-\f2name\fP
-Specifies which string is returned.
-One of \f3GLX_VENDOR\fP, \f3GLX_VERSION\fP, or \f3GLX_EXTENSIONS\fP.
-.SH DESCRIPTION
-\f3glXQueryServerString\fP
-returns a pointer to a static, null-terminated string
-describing some aspect of the server's GLX extension. The possible values for
-\f2name\fP and the format of the strings is the same as for
-\f3glXGetClientString\fP. If \f2name\fP is not set to a recognized value,
-\f3NULL\fP is returned.
-.SH NOTES
-\f3glXQueryServerString\fP is available only if the GLX version is 1.1 or greater.
-.P
-If the GLX version is 1.1 or 1.0, the GL version must be 1.0.
-If the GLX version is 1.2, the GL version must be 1.1.
-.P
-\f3glXQueryServerString\fP only returns information about GLX extensions supported by the server.
-Call \f3glGetString\fP to get a list of GL extensions.
-Call \f3glXGetClientString\fP to get a list of GLX extensions supported by the
-client.
-.SH SEE ALSO
-\f3glXQueryVersion\fP,
-\f3glXGetClientString\fP,
-\f3glXQueryExtensionsString\fP
-
diff --git a/doc/gl-docs/GL/glx/xqueryversion.3gl b/doc/gl-docs/GL/glx/xqueryversion.3gl
deleted file mode 100644
index 47c95b57d..000000000
--- a/doc/gl-docs/GL/glx/xqueryversion.3gl
+++ /dev/null
@@ -1,51 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 36423 3 xqueryversion.gl
-.TH GLXQUERYVERSION 3
-.SH NAME
-glXQueryVersion
-\- return the version numbers of the GLX extension
-
-.SH C SPECIFICATION
-Bool \f3glXQueryVersion\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3Bool \fPglXQueryVersion( 'u
- int \fI*major\fP,
- int \fI*minor\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fImajor\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2major\fP
-Returns the major version number of the GLX server extension.
-.TP
-\f2minor\fP
-Returns the minor version number of the GLX server extension.
-.SH DESCRIPTION
-\f3glXQueryVersion\fP returns the major and minor version numbers of the GLX extension
-implemented by the server associated with connection \f2dpy\fP.
-Implementations with the same major version number are upward compatible,
-meaning that the implementation with the higher minor number is a superset
-of the version with the lower minor number.
-.P
-\f2major\fP and \f2minor\fP do not return values if they are specified as
-\f3NULL\fP.
-.SH ERRORS
-\f3glXQueryVersion\fP returns \f3False\fP if it fails,
-\f3True\fP otherwise.
-.P
-\f2major\fP and \f2minor\fP are not updated when \f3False\fP is returned.
-.SH SEE ALSO
-\f3glXQueryExtension\fP
diff --git a/doc/gl-docs/GL/glx/xswapbuffers.3gl b/doc/gl-docs/GL/glx/xswapbuffers.3gl
deleted file mode 100644
index 9675b79c2..000000000
--- a/doc/gl-docs/GL/glx/xswapbuffers.3gl
+++ /dev/null
@@ -1,72 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:56
-.ds Dm Feb 10 17:2
-.ds Xs 58040 5 xswapbuffers.gl
-.TH GLXSWAPBUFFERS 3
-.SH NAME
-glXSwapBuffers
-\- exchange front and back buffers
-
-.SH C SPECIFICATION
-void \f3glXSwapBuffers\fP(
-Display \fI*dpy\fP,
-.nf
-.ta \w'\f3void \fPglXSwapBuffers( 'u
- GLXDrawable \fIdrawable\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIdrawable\fP\ \ 'u
-\f2dpy\fP
-Specifies the connection to the X server.
-.TP
-\f2drawable\fP
-Specifies the drawable whose buffers are to be swapped.
-.SH DESCRIPTION
-\f3glXSwapBuffers\fP promotes the contents of the back buffer of \f2drawable\fP to become
-the contents of the front buffer of \f2drawable\fP.
-The contents of the back buffer then become undefined.
-The update typically takes place during the vertical retrace of
-the monitor,
-rather than immediately after \f3glXSwapBuffers\fP is called.
-.P
-\f3glXSwapBuffers\fP performs an implicit \f3glFlush\fP before it returns.
-Subsequent OpenGL commands may be issued immediately after calling \f3glXSwapBuffers\fP,
-but are not executed until the buffer exchange is completed.
-.P
-If \f2drawable\fP was not created with respect to a double-buffered visual,
-\f3glXSwapBuffers\fP has no effect,
-and no error is generated.
-.SH NOTES
-The contents of the back buffer become undefined after
-a swap. Note that this applies to pbuffers as well as windows.
-.P
-All GLX rendering contexts share the same notion of which are front buffers
-and which are back buffers.
-One consequence is that when multiple clients are rendering to the same
-double-buffered window,
-all of them should finish rendering before one of them issues the command
-to swap buffers.
-The clients are responsible for implementing this synchronization.
-Typically this is accomplished by executing \f3glFinish\fP and then
-using a semaphore in shared memory to rendezvous before swapping.
-.SH ERRORS
-\f3GLXBadDrawable\fP is generated if \f2drawable\fP is not a valid GLX drawable.
-.P
-\f3GLXBadCurrentWindow\fP is generated if \f2dpy\fP and \f2drawable\fP are
-respectively the display and drawable associated with the current
-context of the calling thread, and \f2drawable\fP identifies a window that
-is no longer valid.
-.SH SEE ALSO
-\f3glFlush\fP,
-\f3glXBindSwapBarrierSGIX\fP,
-\f3glXJoinSwapGroupSGIX\fP,
-\f3glXSwapIntervalSGI\fP
-
diff --git a/doc/gl-docs/GL/glx/xusexfont.3gl b/doc/gl-docs/GL/glx/xusexfont.3gl
deleted file mode 100644
index b48af5cb3..000000000
--- a/doc/gl-docs/GL/glx/xusexfont.3gl
+++ /dev/null
@@ -1,76 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:57
-.ds Dm Feb 10 17:2
-.ds Xs 55673 5 xusexfont.gl
-.TH GLXUSEXFONT 3
-.SH NAME
-glXUseXFont
-\- create bitmap display lists from an X font
-
-.SH C SPECIFICATION
-void \f3glXUseXFont\fP(
-Font \fIfont\fP,
-.nf
-.ta \w'\f3void \fPglXUseXFont( 'u
- int \fIfirst\fP,
- int \fIcount\fP,
- int \fIlistBase\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIlistBase\fP\ \ 'u
-\f2font\fP
-Specifies the font from which character glyphs are to be taken.
-.TP
-\f2first\fP
-Specifies the index of the first glyph to be taken.
-.TP
-\f2count\fP
-Specifies the number of glyphs to be taken.
-.TP
-\f2listBase\fP
-Specifies the index of the first display list to be generated.
-.SH DESCRIPTION
-\f3glXUseXFont\fP generates \f2count\fP display lists,
-named \f2listBase\fP through \f2listBase\fP\&+\&\f2count\fP\&\-\&1,
-each containing a single \f3glBitmap\fP command.
-The parameters of the \f3glBitmap\fP command of display list \f2listBase\fP\&+\f2i\fP
-are derived from glyph \f2first\fP\&+\f2i\fP.
-Bitmap parameters \f2xorig, yorig, width,\fP and \f2height\fP
-are computed from font metrics as
-\f2descent\-1, \-lbearing,\fP
-\f2rbearing\-lbearing,\fP and \f2ascent+descent\fP, respectively.
-\f2xmove\fP is taken from the glyph's \f2width\fP metric,
-and \f2ymove\fP is set to zero.
-Finally,
-the glyph's image is converted to the appropriate format for \f3glBitmap\fP.
-.P
-Using \f3glXUseXFont\fP may be more efficient than accessing the X font and generating
-the display lists explicitly,
-both because the display lists are created on the server without requiring
-a round trip of the glyph data,
-and because the server may choose to delay the creation of each
-bitmap until it is accessed.
-.P
-Empty display lists are created for all glyphs that are requested and
-are not defined in \f2font\fP.
-\f3glXUseXFont\fP is ignored if there is no current GLX context.
-.SH ERRORS
-\f3BadFont\fP is generated if \f2font\fP is not a valid font.
-.P
-\f3GLXBadContextState\fP is generated if the current GLX context is
-in display-list construction mode.
-.P
-\f3GLXBadCurrentWindow\fP is generated if the drawable associated
-with the current context of the calling thread is a window, and that
-window is no longer valid.
-.SH SEE ALSO
-\f3glBitmap\fP,
-\f3glXMakeCurrent\fP
diff --git a/doc/gl-docs/GL/glx/xwaitgl.3gl b/doc/gl-docs/GL/glx/xwaitgl.3gl
deleted file mode 100644
index 4111c80e3..000000000
--- a/doc/gl-docs/GL/glx/xwaitgl.3gl
+++ /dev/null
@@ -1,42 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:57
-.ds Dm Feb 10 17:2
-.ds Xs 20224 2 xwaitgl.gl
-.TH GLXWAITGL 3
-.SH NAME
-glXWaitGL
-\- complete GL execution prior to subsequent X calls
-
-.SH C SPECIFICATION
-void \f3glXWaitGL\fP( void )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH DESCRIPTION
-GL rendering calls made prior to \f3glXWaitGL\fP are guaranteed to be
-executed before X rendering calls made after \f3glXWaitGL\fP.
-Although this same result can be achieved using \f3glFinish\fP,
-\f3glXWaitGL\fP does not require a round trip to the server,
-and it is therefore more efficient in cases where client and server
-are on separate machines.
-.P
-\f3glXWaitGL\fP is ignored if there is no current GLX context.
-.SH NOTES
-\f3glXWaitGL\fP may or may not flush the X stream.
-.SH ERRORS
-\f3GLXBadCurrentWindow\fP is generated if the drawable associated
-with the current context of the calling thread is a window, and that
-window is no longer valid.
-.SH SEE ALSO
-\f3glFinish\fP,
-\f3glFlush\fP,
-\f3glXWaitX\fP,
-\f3XSync\fP
-
diff --git a/doc/gl-docs/GL/glx/xwaitx.3gl b/doc/gl-docs/GL/glx/xwaitx.3gl
deleted file mode 100644
index af4ea2193..000000000
--- a/doc/gl-docs/GL/glx/xwaitx.3gl
+++ /dev/null
@@ -1,42 +0,0 @@
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp Feb 16 02:57
-.ds Dm Feb 10 17:2
-.ds Xs 20029 2 xwaitx.gl
-.TH GLXWAITX 3
-.SH NAME
-glXWaitX
-\- complete X execution prior to subsequent GL calls
-
-.SH C SPECIFICATION
-void \f3glXWaitX\fP( void )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH DESCRIPTION
-X rendering calls made prior to \f3glXWaitX\fP are guaranteed to be
-executed before GL rendering calls made after \f3glXWaitX\fP.
-Although the same result can be achieved using \f3XSync\fP,
-\f3glXWaitX\fP does not require a round trip to the server,
-and it is therefore more efficient in cases where client and server
-are on separate machines.
-.P
-\f3glXWaitX\fP is ignored if there is no current GLX context.
-.SH NOTES
-\f3glXWaitX\fP may or may not flush the GL stream.
-.SH ERRORS
-\f3GLXBadCurrentWindow\fP is generated if the drawable associated
-with the current context of the calling thread is a window, and that
-window is no longer valid.
-.SH SEE ALSO
-\f3glFinish\fP,
-\f3glFlush\fP,
-\f3glXWaitGL\fP,
-\f3XSync\fP
-
diff --git a/doc/gl-docs/GLU/Imakefile b/doc/gl-docs/GLU/Imakefile
deleted file mode 100644
index 567dcafef..000000000
--- a/doc/gl-docs/GLU/Imakefile
+++ /dev/null
@@ -1,150 +0,0 @@
-XCOMM $XFree86: xc/doc/man/GLU/Imakefile,v 1.2 2001/01/16 02:23:46 dawes Exp $
-
-XCOMM License Applicability. Except to the extent portions of this file are
-XCOMM made subject to an alternative license as permitted in the SGI Free
-XCOMM Software License B, Version 1.1 (the "License"), the contents of this
-XCOMM file are subject only to the provisions of the License. You may not use
-XCOMM this file except in compliance with the License. You may obtain a copy
-XCOMM of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
-XCOMM Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
-XCOMM
-XCOMM http://oss.sgi.com/projects/FreeB
-XCOMM
-XCOMM Note that, as provided in the License, the Software is distributed on an
-XCOMM "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
-XCOMM DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
-XCOMM CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
-XCOMM PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
-XCOMM
-XCOMM Original Code. The Original Code is: OpenGL Sample Implementation,
-XCOMM Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
-XCOMM Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
-XCOMM Copyright in any portions created by third parties is as indicated
-XCOMM elsewhere herein. All Rights Reserved.
-XCOMM
-XCOMM Additional Notice Provisions: The application programming interfaces
-XCOMM established by SGI in conjunction with the Original Code are The
-XCOMM OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
-XCOMM April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
-XCOMM 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
-XCOMM Window System(R) (Version 1.3), released October 19, 1998. This software
-XCOMM was created using the OpenGL(R) version 1.2.1 Sample Implementation
-XCOMM published by SGI, but has not been independently verified as being
-XCOMM compliant with the OpenGL(R) version 1.2.1 Specification.
-XCOMM
-
-MANDIR = $(LIBMANDIR)
-MANSUFFIX = $(LIBMANSUFFIX)
-MSUFF = man
-
-InstallManPage(gluBeginCurve,$(MANDIR))
-InstallManPageAliases(gluBeginCurve,$(MANDIR),gluEndCurve)
-InstallManPage(gluBeginPolygon,$(MANDIR))
-InstallManPageAliases(gluBeginPolygon,$(MANDIR),gluEndPolygon)
-InstallManPage(gluBeginSurface,$(MANDIR))
-InstallManPageAliases(gluBeginSurface,$(MANDIR),gluEndSurface)
-InstallManPage(gluBeginTrim,$(MANDIR))
-InstallManPageAliases(gluBeginTrim,$(MANDIR),gluEndTrim)
-InstallManPage(gluBuild1DMipmaps,$(MANDIR))
-InstallManPage(gluBuild2DMipmaps,$(MANDIR))
-InstallManPage(gluCylinder,$(MANDIR))
-InstallManPage(gluDeleteNurbsRenderer,$(MANDIR))
-InstallManPage(gluDeleteQuadric,$(MANDIR))
-InstallManPage(gluDeleteTess,$(MANDIR))
-InstallManPage(gluDisk,$(MANDIR))
-InstallManPage(gluErrorString,$(MANDIR))
-InstallManPage(gluGetNurbsProperty,$(MANDIR))
-InstallManPage(gluGetString,$(MANDIR))
-InstallManPage(gluGetTessProperty,$(MANDIR))
-InstallManPage(gluLoadSamplingMatrices,$(MANDIR))
-InstallManPage(gluLookAt,$(MANDIR))
-InstallManPage(gluNewNurbsRenderer,$(MANDIR))
-InstallManPage(gluNewQuadric,$(MANDIR))
-InstallManPage(gluNewTess,$(MANDIR))
-InstallManPage(gluNextContour,$(MANDIR))
-InstallManPage(gluNurbsCallback,$(MANDIR))
-InstallManPage(gluNurbsCallbackDataEXT,$(MANDIR))
-InstallManPage(gluNurbsCurve,$(MANDIR))
-InstallManPage(gluNurbsProperty,$(MANDIR))
-InstallManPage(gluNurbsSurface,$(MANDIR))
-InstallManPage(gluOrtho2D,$(MANDIR))
-InstallManPage(gluPartialDisk,$(MANDIR))
-InstallManPage(gluPerspective,$(MANDIR))
-InstallManPage(gluPickMatrix,$(MANDIR))
-InstallManPage(gluProject,$(MANDIR))
-InstallManPage(gluPwlCurve,$(MANDIR))
-InstallManPage(gluQuadricCallback,$(MANDIR))
-InstallManPage(gluQuadricDrawStyle,$(MANDIR))
-InstallManPage(gluQuadricNormals,$(MANDIR))
-InstallManPage(gluQuadricOrientation,$(MANDIR))
-InstallManPage(gluQuadricTexture,$(MANDIR))
-InstallManPage(gluScaleImage,$(MANDIR))
-InstallManPage(gluSphere,$(MANDIR))
-InstallManPage(gluTessBeginContour,$(MANDIR))
-InstallManPageAliases(gluTessBeginContour,$(MANDIR),gluTessEndContour)
-InstallManPage(gluTessBeginPolygon,$(MANDIR))
-InstallManPage(gluTessCallback,$(MANDIR))
-InstallManPage(gluTessEndPolygon,$(MANDIR))
-InstallManPage(gluTessNormal,$(MANDIR))
-InstallManPage(gluTessProperty,$(MANDIR))
-InstallManPage(gluTessVertex,$(MANDIR))
-InstallManPage(gluUnProject,$(MANDIR))
-
-
-#if 0
-GLUMANDIR = $(OGLSAMPLESRCDIR)/main/doc/man/manglu/standard
-GLUSUFFIX = gl
-#else
-GLUMANDIR = .
-GLUSUFFIX = 3gl
-#endif
-
-
-LinkFile(gluBeginCurve.$(MSUFF), $(GLUMANDIR)/begincurve.$(GLUSUFFIX))
-LinkFile(gluBeginPolygon.$(MSUFF), $(GLUMANDIR)/beginpolygon.$(GLUSUFFIX))
-LinkFile(gluBeginSurface.$(MSUFF), $(GLUMANDIR)/beginsurface.$(GLUSUFFIX))
-LinkFile(gluBeginTrim.$(MSUFF), $(GLUMANDIR)/begintrim.$(GLUSUFFIX))
-LinkFile(gluBuild1DMipmaps.$(MSUFF), $(GLUMANDIR)/build1dmipmaps.$(GLUSUFFIX))
-LinkFile(gluBuild2DMipmaps.$(MSUFF), $(GLUMANDIR)/build2dmipmaps.$(GLUSUFFIX))
-LinkFile(gluCylinder.$(MSUFF), $(GLUMANDIR)/cylinder.$(GLUSUFFIX))
-LinkFile(gluDeleteNurbsRenderer.$(MSUFF), $(GLUMANDIR)/deletenurbsrenderer.$(GLUSUFFIX))
-LinkFile(gluDeleteQuadric.$(MSUFF), $(GLUMANDIR)/deletequadric.$(GLUSUFFIX))
-LinkFile(gluDeleteTess.$(MSUFF), $(GLUMANDIR)/deletetess.$(GLUSUFFIX))
-LinkFile(gluDisk.$(MSUFF), $(GLUMANDIR)/disk.$(GLUSUFFIX))
-LinkFile(gluErrorString.$(MSUFF), $(GLUMANDIR)/errorstring.$(GLUSUFFIX))
-LinkFile(gluGetNurbsProperty.$(MSUFF), $(GLUMANDIR)/getnurbsproperty.$(GLUSUFFIX))
-LinkFile(gluGetString.$(MSUFF), $(GLUMANDIR)/getstring.$(GLUSUFFIX))
-LinkFile(gluGetTessProperty.$(MSUFF), $(GLUMANDIR)/gettessproperty.$(GLUSUFFIX))
-LinkFile(gluLoadSamplingMatrices.$(MSUFF), $(GLUMANDIR)/loadsamplingmatrices.$(GLUSUFFIX))
-LinkFile(gluLookAt.$(MSUFF), $(GLUMANDIR)/lookat.$(GLUSUFFIX))
-LinkFile(gluNewNurbsRenderer.$(MSUFF), $(GLUMANDIR)/newnurbsrenderer.$(GLUSUFFIX))
-LinkFile(gluNewQuadric.$(MSUFF), $(GLUMANDIR)/newquadric.$(GLUSUFFIX))
-LinkFile(gluNewTess.$(MSUFF), $(GLUMANDIR)/newtess.$(GLUSUFFIX))
-LinkFile(gluNextContour.$(MSUFF), $(GLUMANDIR)/nextcontour.$(GLUSUFFIX))
-LinkFile(gluNurbsCallback.$(MSUFF), $(GLUMANDIR)/nurbscallback.$(GLUSUFFIX))
-LinkFile(gluNurbsCallbackDataEXT.$(MSUFF), $(GLUMANDIR)/nurbscallbackdataext.$(GLUSUFFIX))
-LinkFile(gluNurbsCurve.$(MSUFF), $(GLUMANDIR)/nurbscurve.$(GLUSUFFIX))
-LinkFile(gluNurbsProperty.$(MSUFF), $(GLUMANDIR)/nurbsproperty.$(GLUSUFFIX))
-LinkFile(gluNurbsSurface.$(MSUFF), $(GLUMANDIR)/nurbssurface.$(GLUSUFFIX))
-LinkFile(gluOrtho2D.$(MSUFF), $(GLUMANDIR)/ortho2d.$(GLUSUFFIX))
-LinkFile(gluPartialDisk.$(MSUFF), $(GLUMANDIR)/partialdisk.$(GLUSUFFIX))
-LinkFile(gluPerspective.$(MSUFF), $(GLUMANDIR)/perspective.$(GLUSUFFIX))
-LinkFile(gluPickMatrix.$(MSUFF), $(GLUMANDIR)/pickmatrix.$(GLUSUFFIX))
-LinkFile(gluProject.$(MSUFF), $(GLUMANDIR)/project.$(GLUSUFFIX))
-LinkFile(gluPwlCurve.$(MSUFF), $(GLUMANDIR)/pwlcurve.$(GLUSUFFIX))
-LinkFile(gluQuadricCallback.$(MSUFF), $(GLUMANDIR)/quadriccallback.$(GLUSUFFIX))
-LinkFile(gluQuadricDrawStyle.$(MSUFF), $(GLUMANDIR)/quadricdrawstyle.$(GLUSUFFIX))
-LinkFile(gluQuadricNormals.$(MSUFF), $(GLUMANDIR)/quadricnormals.$(GLUSUFFIX))
-LinkFile(gluQuadricOrientation.$(MSUFF), $(GLUMANDIR)/quadricorientation.$(GLUSUFFIX))
-LinkFile(gluQuadricTexture.$(MSUFF), $(GLUMANDIR)/quadrictexture.$(GLUSUFFIX))
-LinkFile(gluScaleImage.$(MSUFF), $(GLUMANDIR)/scaleimage.$(GLUSUFFIX))
-LinkFile(gluSphere.$(MSUFF), $(GLUMANDIR)/sphere.$(GLUSUFFIX))
-LinkFile(gluTessBeginContour.$(MSUFF), $(GLUMANDIR)/tessbegincontour.$(GLUSUFFIX))
-LinkFile(gluTessBeginPolygon.$(MSUFF), $(GLUMANDIR)/tessbeginpolygon.$(GLUSUFFIX))
-LinkFile(gluTessCallback.$(MSUFF), $(GLUMANDIR)/tesscallback.$(GLUSUFFIX))
-LinkFile(gluTessEndPolygon.$(MSUFF), $(GLUMANDIR)/tessendpolygon.$(GLUSUFFIX))
-LinkFile(gluTessNormal.$(MSUFF), $(GLUMANDIR)/tessnormal.$(GLUSUFFIX))
-LinkFile(gluTessProperty.$(MSUFF), $(GLUMANDIR)/tessproperty.$(GLUSUFFIX))
-LinkFile(gluTessVertex.$(MSUFF), $(GLUMANDIR)/tessvertex.$(GLUSUFFIX))
-LinkFile(gluUnProject.$(MSUFF), $(GLUMANDIR)/unproject.$(GLUSUFFIX))
-
diff --git a/doc/gl-docs/GLU/Makefile b/doc/gl-docs/GLU/Makefile
deleted file mode 100644
index db0ffdb77..000000000
--- a/doc/gl-docs/GLU/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# $OpenBSD: Makefile,v 1.1 2012/08/07 21:10:35 matthieu Exp $
-
-X11BASE?= /usr/X11R6
-MANDIR?= ${X11BASE}/man/man
-
-MAN += gluBeginCurve.3 begincurve.3gl
-MAN += gluBeginPolygon.3 beginpolygon.3gl
-MAN += gluBeginSurface.3 beginsurface.3gl
-MAN += gluBeginTrim.3 begintrim.3gl
-MAN += gluBuild1DMipmaps.3 build1dmipmaps.3gl
-MAN += gluBuild2DMipmaps.3 build2dmipmaps.3gl
-MAN += gluCylinder.3 cylinder.3gl
-MAN += gluDeleteNurbsRenderer.3 deletenurbsrenderer.3gl
-MAN += gluDeleteQuadric.3 deletequadric.3gl
-MAN += gluDeleteTess.3 deletetess.3gl
-MAN += gluDisk.3 disk.3gl
-MAN += gluErrorString.3 errorstring.3gl
-MAN += gluGetNurbsProperty.3 getnurbsproperty.3gl
-MAN += gluGetString.3 getstring.3gl
-MAN += gluGetTessProperty.3 gettessproperty.3gl
-MAN += gluLoadSamplingMatrices.3 loadsamplingmatrices.3gl
-MAN += gluLookAt.3 lookat.3gl
-MAN += gluNewNurbsRenderer.3 newnurbsrenderer.3gl
-MAN += gluNewQuadric.3 newquadric.3gl
-MAN += gluNewTess.3 newtess.3gl
-MAN += gluNextContour.3 nextcontour.3gl
-MAN += gluNurbsCallback.3 nurbscallback.3gl
-MAN += gluNurbsCallbackDataEXT.3 nurbscallbackdataext.3gl
-MAN += gluNurbsCurve.3 nurbscurve.3gl
-MAN += gluNurbsProperty.3 nurbsproperty.3gl
-MAN += gluNurbsSurface.3 nurbssurface.3gl
-MAN += gluOrtho2D.3 ortho2d.3gl
-MAN += gluPartialDisk.3 partialdisk.3gl
-MAN += gluPerspective.3 perspective.3gl
-MAN += gluPickMatrix.3 pickmatrix.3gl
-MAN += gluProject.3 project.3gl
-MAN += gluPwlCurve.3 pwlcurve.3gl
-MAN += gluQuadricCallback.3 quadriccallback.3gl
-MAN += gluQuadricDrawStyle.3 quadricdrawstyle.3gl
-MAN += gluQuadricNormals.3 quadricnormals.3gl
-MAN += gluQuadricOrientation.3 quadricorientation.3gl
-MAN += gluQuadricTexture.3 quadrictexture.3gl
-MAN += gluScaleImage.3 scaleimage.3gl
-MAN += gluSphere.3 sphere.3gl
-MAN += gluTessBeginContour.3 tessbegincontour.3gl
-MAN += gluTessBeginPolygon.3 tessbeginpolygon.3gl
-MAN += gluTessCallback.3 tesscallback.3gl
-MAN += gluTessEndPolygon.3 tessendpolygon.3gl
-MAN += gluTessNormal.3 tessnormal.3gl
-MAN += gluTessProperty.3 tessproperty.3gl
-MAN += gluTessVertex.3 tessvertex.3gl
-MAN += gluUnProject.3 unproject.3gl
-
-
-LINKS += gluBeginCurve.3 gluEndCurve.3
-LINKS += gluBeginPolygon.3 gluEndPolygon.3
-LINKS += gluBeginSurface.3 gluEndSurface.3
-LINKS += gluBeginTrim.3 gluEndTrim.3
-LINKS += gluTessBeginContour.3 gluTessEndContour.3
-
-.include "../Makefile.inc"
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GLU/begincurve.3gl b/doc/gl-docs/GLU/begincurve.3gl
deleted file mode 100644
index 6956baf68..000000000
--- a/doc/gl-docs/GLU/begincurve.3gl
+++ /dev/null
@@ -1,65 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 begincurv
-.ds Xs 19309 4 begincurve.gl
-.TH GLUBEGINCURVE 3G
-.SH NAME
-.B "gluBeginCurve, gluEndCurve
-\- delimit a NURBS curve definition
-
-.SH C SPECIFICATION
-void \f3gluBeginCurve\fP(
-GLUnurbs* \fInurb\fP )
-.nf
-.fi
-
-void \f3gluEndCurve\fP(
-GLUnurbs* \fInurb\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2nurb\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.SH DESCRIPTION
-Use \%\f3gluBeginCurve\fP to mark the beginning of a NURBS
-curve definition.
-After
-calling \%\f3gluBeginCurve\fP, make one or more calls to
-\%\f3gluNurbsCurve\fP to define the attributes of the curve.
-Exactly one of the calls to \%\f3gluNurbsCurve\fP must have
-a curve type of \%\f3GL_MAP1_VERTEX_3\fP or \%\f3GL_MAP1_VERTEX_4\fP.
-To mark the end of the NURBS curve definition, call \%\f3gluEndCurve\fP.
-.P
-GL evaluators are used to render the NURBS curve as a series of line
-segments.
-Evaluator state is preserved during rendering
-with \f3glPushAttrib\fP(\%\f3GL_EVAL_BIT\fP) and
-\f3glPopAttrib\fP().
-See the \f3glPushAttrib\fP reference page for details on exactly what state
-these calls preserve.
-.SH EXAMPLE
-The following commands render a textured NURBS curve with normals;
-texture coordinates and normals are also specified as NURBS curves:
-.sp
-.Ex
-gluBeginCurve(nobj);
- gluNurbsCurve(nobj, ..., GL_MAP1_TEXTURE_COORD_2);
- gluNurbsCurve(nobj, ..., GL_MAP1_NORMAL);
- gluNurbsCurve(nobj, ..., GL_MAP1_VERTEX_4);
-gluEndCurve(nobj);
-.Ee
-.SH SEE ALSO
-\%\f3gluBeginSurface(3G)\fP, \%\f3gluBeginTrim(3G)\fP, \%\f3gluNewNurbsRenderer(3G)\fP,
-\%\f3gluNurbsCurve(3G)\fP,
-\f3glPopAttrib(3G)\fP, \f3glPushAttrib(3G)\fP
-
diff --git a/doc/gl-docs/GLU/beginpolygon.3gl b/doc/gl-docs/GLU/beginpolygon.3gl
deleted file mode 100644
index 6e8e50d91..000000000
--- a/doc/gl-docs/GLU/beginpolygon.3gl
+++ /dev/null
@@ -1,76 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 beginpoly
-.ds Xs 33625 4 beginpolygon.gl
-.TH GLUBEGINPOLYGON 3G
-.SH NAME
-.B "gluBeginPolygon, gluEndPolygon
-\- delimit a polygon description
-
-.SH C SPECIFICATION
-void \f3gluBeginPolygon\fP(
-GLUtesselator* \fItess\fP )
-.nf
-.fi
-
-void \f3gluEndPolygon\fP(
-GLUtesselator* \fItess\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2tess\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.SH DESCRIPTION
-\%\f3gluBeginPolygon\fP and \%\f3gluEndPolygon\fP delimit the definition of a
-nonconvex polygon.
-To define such a polygon, first call \%\f3gluBeginPolygon\fP.
-Then define the contours of the polygon
-by calling
-\%\f3gluTessVertex\fP for each vertex
-and \%\f3gluNextContour\fP to start each new contour.
-Finally, call \%\f3gluEndPolygon\fP
-to signal the end of the definition.
-See the \%\f3gluTessVertex\fP and
-\%\f3gluNextContour\fP reference pages for more details.
-.P
-Once \%\f3gluEndPolygon\fP is called, the polygon is tessellated, and the
-resulting triangles are described through callbacks.
-See \%\f3gluTessCallback\fP for descriptions of the callback functions.
-.SH NOTES
-This command is obsolete and is provided for backward compatibility
-only. Calls to \%\f3gluBeginPolygon\fP are mapped to
-\%\f3gluTessBeginPolygon\fP
-followed by
-\%\f3gluTessBeginContour\fP. Calls to \%\f3gluEndPolygon\fP are mapped
-to \%\f3gluTessEndContour\fP followed by \%\f3gluTessEndPolygon\fP.
-.SH EXAMPLE
-A quadrilateral with a triangular hole in it can be described like this:
-.sp
-.Ex
-gluBeginPolygon(tobj);
- gluTessVertex(tobj, v1, v1);
- gluTessVertex(tobj, v2, v2);
- gluTessVertex(tobj, v3, v3);
- gluTessVertex(tobj, v4, v4);
-gluNextContour(tobj, GLU_INTERIOR);
- gluTessVertex(tobj, v5, v5);
- gluTessVertex(tobj, v6, v6);
- gluTessVertex(tobj, v7, v7);
-gluEndPolygon(tobj);
-.Ee
-.SH SEE ALSO
-\%\f3gluNewTess(3G)\fP, \%\f3gluNextContour(3G)\fP, \%\f3gluTessCallback(3G)\fP, \%\f3gluTessVertex(3G)\fP,
-\%\f3gluTessBeginPolygon(3G)\fP, \%\f3gluTessBeginContour(3G)\fP
-
-
-
diff --git a/doc/gl-docs/GLU/beginsurface.3gl b/doc/gl-docs/GLU/beginsurface.3gl
deleted file mode 100644
index 4a7ff6b1e..000000000
--- a/doc/gl-docs/GLU/beginsurface.3gl
+++ /dev/null
@@ -1,70 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 beginsurf
-.ds Xs 47264 4 beginsurface.gl
-.TH GLUBEGINSURFACE 3G
-.SH NAME
-.B "gluBeginSurface, gluEndSurface
-\- delimit a NURBS surface definition
-
-.SH C SPECIFICATION
-void \f3gluBeginSurface\fP(
-GLUnurbs* \fInurb\fP )
-.nf
-.fi
-
-void \f3gluEndSurface\fP(
-GLUnurbs* \fInurb\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2nurb\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.SH DESCRIPTION
-Use \%\f3gluBeginSurface\fP to mark the beginning of a NURBS
-surface definition. After
-calling \%\f3gluBeginSurface\fP, make one or more calls to
-\%\f3gluNurbsSurface\fP to define the attributes of the surface.
-Exactly one of these calls to \%\f3gluNurbsSurface\fP must have a
-surface type of \%\f3GL_MAP2_VERTEX_3\fP or \%\f3GL_MAP2_VERTEX_4\fP.
-To mark the end of the NURBS surface definition, call
-\%\f3gluEndSurface\fP.
-.P
-Trimming of NURBS surfaces is supported with \%\f3gluBeginTrim\fP,
-\%\f3gluPwlCurve\fP, \%\f3gluNurbsCurve\fP, and \%\f3gluEndTrim\fP. See the
-\%\f3gluBeginTrim\fP reference page for details.
-.P
-GL evaluators are used to render the NURBS surface as a set of polygons.
-Evaluator state is preserved during rendering
-with \f3glPushAttrib\fP(\%\f3GL_EVAL_BIT\fP) and
-\f3glPopAttrib\fP().
-See the \f3glPushAttrib\fP reference page for details on exactly what state
-these calls preserve.
-.SH EXAMPLE
-The following commands render a textured NURBS surface with normals;
-the texture coordinates and normals are also described as NURBS surfaces:
-.sp
-.Ex
-gluBeginSurface(nobj);
- gluNurbsSurface(nobj, ..., GL_MAP2_TEXTURE_COORD_2);
- gluNurbsSurface(nobj, ..., GL_MAP2_NORMAL);
- gluNurbsSurface(nobj, ..., GL_MAP2_VERTEX_4);
-gluEndSurface(nobj);
-.Ee
-.sp
-.SH SEE ALSO
-\%\f3gluBeginCurve(3G)\fP, \%\f3gluBeginTrim(3G)\fP, \%\f3gluNewNurbsRenderer(3G)\fP,
-\%\f3gluNurbsCurve(3G)\fP, \%\f3gluNurbsSurface(3G)\fP, \%\f3gluPwlCurve(3G)\fP
-
-
-
diff --git a/doc/gl-docs/GLU/begintrim.3gl b/doc/gl-docs/GLU/begintrim.3gl
deleted file mode 100644
index 028fcd1a4..000000000
--- a/doc/gl-docs/GLU/begintrim.3gl
+++ /dev/null
@@ -1,106 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 begintrim
-.ds Xs 15822 6 begintrim.gl
-.TH GLUBEGINTRIM 3G
-.SH NAME
-.B "gluBeginTrim, gluEndTrim
-\- delimit a NURBS trimming loop definition
-
-.SH C SPECIFICATION
-void \f3gluBeginTrim\fP(
-GLUnurbs* \fInurb\fP )
-.nf
-.fi
-
-void \f3gluEndTrim\fP(
-GLUnurbs* \fInurb\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2nurb\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.SH DESCRIPTION
-Use \%\f3gluBeginTrim\fP to mark the beginning of a
-trimming loop, and \%\f3gluEndTrim\fP to mark the end
-of a trimming loop. A trimming loop is
-a set of oriented curve segments (forming a closed curve) that
-define boundaries of a NURBS surface. You include these
-trimming loops in the definition of a NURBS
-surface, between calls to \%\f3gluBeginSurface\fP and \%\f3gluEndSurface\fP.
-.P
-The definition for a NURBS surface can contain many
-trimming loops. For example, if you wrote a definition
-for a NURBS surface that resembled a rectangle with
-a hole punched out, the definition would contain two
-trimming loops. One loop would define the outer edge
-of the rectangle; the other would define
-the hole punched out of the rectangle. The definitions
-of each of these trimming loops would be bracketed by a
-\%\f3gluBeginTrim\fP/\%\f3gluEndTrim\fP pair.
-.P
-The definition of a single closed trimming loop can consist
-of multiple curve segments, each described as a piecewise
-linear curve (see \%\f3gluPwlCurve\fP) or as a single NURBS
-curve (see \%\f3gluNurbsCurve\fP), or as a combination of
-both in any order. The only library calls that can
-appear in a trimming loop definition (between the calls
-to \%\f3gluBeginTrim\fP and \%\f3gluEndTrim\fP) are
-\%\f3gluPwlCurve\fP and \%\f3gluNurbsCurve\fP.
-.P
-The area of the NURBS surface that is displayed is the
-region in the domain to the left of the trimming curve
-as the curve parameter increases. Thus, the retained
-region of the NURBS surface is inside a
-counterclockwise trimming loop and outside a clockwise
-trimming loop. For the rectangle mentioned earlier,
-the trimming loop for the outer edge of the rectangle runs
-counterclockwise, while the trimming loop for the punched-out hole
-runs clockwise.
-.P
-If you use more than one curve to define a single trimming
-loop, the curve segments must form a closed loop (that is,
-the endpoint of each curve must be the starting point of the
-next curve, and the endpoint of the final curve must
-be the starting point of the first curve). If the
-endpoints of the curve are sufficiently close together
-but not exactly coincident, they will be coerced to match.
-If the endpoints are not sufficiently close, an error results
-(see \%\f3gluNurbsCallback\fP).
-.P
-If a trimming loop definition contains multiple curves,
-the direction of the curves must be consistent (that is, the
-inside must be to the left of all of the curves). Nested
-trimming loops are legal as long as the curve orientations
-alternate correctly.
-If trimming curves are self-intersecting,
-or intersect one another, an error results.
-.P
-If no trimming information is given
-for a NURBS surface, the entire surface is drawn.
-.SH EXAMPLE
-This code fragment defines a trimming loop that consists of one
-piecewise linear curve, and two NURBS curves:
-.sp
-.Ex
-gluBeginTrim(nobj);
- gluPwlCurve(..., GLU_MAP1_TRIM_2);
- gluNurbsCurve(..., GLU_MAP1_TRIM_2);
- gluNurbsCurve(..., GLU_MAP1_TRIM_3);
-gluEndTrim(nobj);
-.Ee
-.SH SEE ALSO
-\%\f3gluBeginSurface(3G)\fP, \%\f3gluNewNurbsRenderer(3G)\fP, \%\f3gluNurbsCallback(3G)\fP,
-\%\f3gluNurbsCurve(3G)\fP, \%\f3gluPwlCurve(3G)\fP
-
-
diff --git a/doc/gl-docs/GLU/build1dmipmaplevels.3gl b/doc/gl-docs/GLU/build1dmipmaplevels.3gl
deleted file mode 100644
index 06a32827c..000000000
--- a/doc/gl-docs/GLU/build1dmipmaplevels.3gl
+++ /dev/null
@@ -1,228 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 build1dmi
-.ds Xs 15416 9 build1dmipmaplevels.gl
-.TH GLUBUILD1DMIPMAPLEVELS 3G
-.SH NAME
-.B "gluBuild1DMipmapLevels
-\- builds a subset of one-dimensional mipmap levels
-
-.SH C SPECIFICATION
-GLint \f3gluBuild1DMipmapLevels\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3GLint \fPgluBuild1DMipmapLevels( 'u
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLint \fIlevel\fP,
- GLint \fIbase\fP,
- GLint \fImax\fP,
- const void \fI*data\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture. Must be \%\f3GL_TEXTURE_1D\fP.
-.TP
-\f2internalFormat\fP
-Requests the internal storage of the texture image. The most
-current version of the SGI implementation of GLU does not check this
-value for validity before passing it on to the underlying OpenGL
-implementation. A value that is not accepted by the OpenGL
-implementation will lead to an OpenGL error. The benefit of not
-checking this value at the GLU level is that OpenGL extensions can add
-new internal texture formats without requiring a revision of the GLU
-implementation. Older implementations of GLU check this value and
-raise a GLU error if it is not 1, 2, 3, or 4 or one of the following
-symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP
-Specifies the width in pixels of the texture image.
-This should be a power of 2.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-Must be one of:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type for \f2data\fP.
-Must be one of: \%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2level\fP
-Specifies the mipmap level of the image data.
-.TP
-\f2base\fP
-Specifies the minimum mipmap level to pass to \f3glTexImage1D\fP.
-.TP
-\f2max\fP
-Specifies the maximum mipmap level to pass to \f3glTexImage1D\fP.
-.TP
-\f2data\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-\%\f3gluBuild1DMipmapLevels\fP builds a subset of prefiltered one-dimensional texture maps of decreasing
-resolutions called a mipmap. This is used for the antialiasing of
-texture mapped primitives.
-.P
-A return value of zero indicates success, otherwise a GLU error code is
-returned (see \%\f3gluErrorString\fP).
-.P
-A series of mipmap levels from \f2base\fP to \f2max\fP is built by decimating
-\f2data\fP in half
-until size $1 ~times~ 1$ is reached. At each level, each texel in the
-halved mipmap level is an average of the corresponding two texels in the larger
-mipmap level.
-\f3glTexImage1D\fP is called to load these mipmap levels from \f2base\fP
-to \f2max\fP. If \f2max\fP is larger than the highest mipmap level for the
-texture of the specified size, then a GLU error code is returned (see
-\%\f3gluErrorString\fP) and nothing is loaded.
-.P
-For example, if \f2level\fP is 2 and \f2width\fP is 16, the
-following levels are possible: $16 ~times~ 1$, $8 ~times~ 1$, $4 ~times~ 1$,
-$2 ~times~ 1$, $1 ~times~ 1$. These correspond
-to levels 2 through 6 respectively.
-If \f2base\fP is 3 and \f2max\fP is 5, then only mipmap levels $8 ~times~ 1$,
-$4 ~times~ 1$ and $2 ~times~ 1$ are
-loaded. However, if \f2max\fP is 7 then an error is returned and nothing is
-loaded since \f2max\fP is larger than the highest mipmap level which is, in
-this case, 6.
-.P
-The highest mipmap level can be derived from the formula
-${log sub 2} (\f2width\fP^{2 sup \f2level\fP})$.
-.P
-See the \f3glTexImage1D\fP reference page for a description of the
-acceptable values for \f2type\fP parameter. See the \f3glDrawPixels\fP
-reference page for a description of the acceptable values
-for \f2level\fP parameter.
-.bp
-.SH NOTES
-\%\f3gluBuild1DMipmapLevels\fP is only available if the GLU version is 1.3 or greater.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP, and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are only available if the GL version
-is 1.2 or greater.
-.SH ERRORS
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2level\fP > \f2base\fP, \f2base\fP < 0,
-\f2max\fP < \f2base\fP or \f2max\fP is > the highest mipmap level for \f2data\fP.
-.P
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2width\fP is < 1.
-.P
-\%\f3GLU_INVALID_ENUM\fP is returned if \f2internalFormat\fP, \f2format\fP, or \f2type\fP are not
-legal.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_BYTE_3_3_2\fP or \%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_6_5\fP or \%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP or \%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP or \%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_8_8_8_8\fP or \%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_10_10_10_2\fP or \%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\f3glDrawPixels(3G)\fP, \f3glTexImage1D(3G)\fP, \f3glTexImage2D(3G)\fP,
-\f3glTexImage3D(3G)\fP,
-\%\f3gluBuild1DMipmaps(3G)\fP, \%\f3gluBuild2DMipmaps(3G)\fP, \%\f3gluBuild3DMipmaps(3G)\fP,
-\%\f3gluErrorString(3G)\fP,
-\f3glGetTexImage(3G)\fP,
-\f3glGetTexLevelParameter(3G)\fP,
-\%\f3gluBuild2DMipmapLevels(3G)\fP, \%\f3gluBuild3DMipmapLevels(3G)\fP
diff --git a/doc/gl-docs/GLU/build1dmipmaps.3gl b/doc/gl-docs/GLU/build1dmipmaps.3gl
deleted file mode 100644
index 22577b198..000000000
--- a/doc/gl-docs/GLU/build1dmipmaps.3gl
+++ /dev/null
@@ -1,228 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 build1dmi
-.ds Xs 40806 9 build1dmipmaps.gl
-.TH GLUBUILD1DMIPMAPS 3G
-.SH NAME
-.B "gluBuild1DMipmaps
-\- builds a one-dimensional mipmap
-
-.SH C SPECIFICATION
-GLint \f3gluBuild1DMipmaps\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3GLint \fPgluBuild1DMipmaps( 'u
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const void \fI*data\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture. Must be \%\f3GL_TEXTURE_1D\fP.
-.TP
-\f2internalFormat\fP
-Requests the internal storage of the texture image. The most
-current version of the SGI implementation of GLU does not check this
-value for validity before passing it on to the underlying OpenGL
-implementation. A value that is not accepted by the OpenGL
-implementation will lead to an OpenGL error. The benefit of not
-checking this value at the GLU level is that OpenGL extensions can add
-new internal texture formats without requiring a revision of the GLU
-implementation. Older implementations of GLU check this value and
-raise a GLU error if it is not 1, 2, 3, or 4 or one of the following
-symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP
-Specifies the width, in pixels, of the texture image.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-Must be one of
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type for \f2data\fP.
-Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2data\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-\%\f3gluBuild1DMipmaps\fP builds a series of prefiltered one-dimensional texture maps of decreasing
-resolutions called a mipmap. This is used for the antialiasing of
-texture mapped primitives.
-.P
-A return value of zero indicates success, otherwise a GLU error code is
-returned (see \%\f3gluErrorString\fP).
-.P
-Initially, the \f2width\fP of \f2data\fP is checked to see if it is
-a power of 2. If not, a copy of \f2data\fP is scaled up or down to the
-nearest power of 2. (If \f2width\fP is exactly between powers of 2, then
-the copy of \f2data\fP will scale upwards.) This copy will be used for
-subsequent mipmapping operations described below.
-For example, if \f2width\fP is 57 then a copy of \f2data\fP
-will scale up to 64 before mipmapping
-takes place.
-.P
-Then, proxy textures (see \f3glTexImage1D\fP) are used to determine if
-the implementation can fit the requested texture. If not, \f2width\fP is
-continually halved until it fits.
-.P
-Next, a series of mipmap levels is built by decimating a copy of
-\f2data\fP in half
-until size $1 ~times~ 1$ is reached. At each level, each texel in the
-halved mipmap level is an average of the corresponding two texels in the larger
-mipmap level.
-.P
-\f3glTexImage1D\fP is called to load each of these mipmap levels.
-Level 0 is a copy of \f2data\fP.
-The highest level is ${log sub 2}(\f2width\fP)$.
-For example, if \f2width\fP is 64 and the implementation can store a texture of
-this size, the following mipmap levels are
-built: $64 ~times~ 1$, $32 ~times~ 1$, $16 ~times~ 1$, $8 ~times~ 1$,
-$4 ~times~ 1$, $2 ~times~ 1$ and $1 ~times~ 1$. These correspond to
-levels 0 through 6, respectively.
-.P
-See the \f3glTexImage1D\fP reference page for a description of the
-acceptable values for the \f2type\fP parameter. See the \f3glDrawPixels\fP
-reference page for a description of the acceptable values
-for the \f2data\fP parameter.
-.SH NOTES
-Note that there is no direct way of querying the maximum level. This can
-be derived indirectly via \f3glGetTexLevelParameter\fP. First, query
-for the
-width actually used at level 0.
-(The width may not be equal to \f2width\fP since
-proxy textures might have scaled it to fit the implementation.)
-Then the maximum
-level can be derived from the formula ${log sub 2}(\f2width\fP)$.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP, and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are only available if the GL version
-is 1.2 or greater, and if the GLU version is 1.3 or greater.
-.SH ERRORS
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2width\fP is < 1.
-.P
-\%\f3GLU_INVALID_ENUM\fP is returned if \f2format\fP or \f2type\fP are not legal.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_BYTE_3_3_2\fP or \%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_6_5\fP or \%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP or \%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP or \%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_8_8_8_8\fP or \%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_10_10_10_2\fP or \%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\f3glDrawPixels(3G)\fP,
-\f3glTexImage1D(3G)\fP,
-\f3glTexImage2D(3G)\fP,
-\f3glTexImage3D(3G)\fP,
-\%\f3gluBuild2DMipmaps(3G)\fP,
-\%\f3gluBuild3DMipmaps(3G)\fP,
-\%\f3gluErrorString(3G)\fP,
-\f3glGetTexImage(3G)\fP,
-\f3glGetTexLevelParameter(3G)\fP,
-\%\f3gluBuild1DMipmapLevels(3G)\fP,
-\%\f3gluBuild2DMipmapLevels(3G)\fP,
-\%\f3gluBuild3DMipmapLevels(3G)\fP
diff --git a/doc/gl-docs/GLU/build2dmipmaplevels.3gl b/doc/gl-docs/GLU/build2dmipmaplevels.3gl
deleted file mode 100644
index 37cdf02b4..000000000
--- a/doc/gl-docs/GLU/build2dmipmaplevels.3gl
+++ /dev/null
@@ -1,234 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 build2dmi
-.ds Xs 35570 9 build2dmipmaplevels.gl
-.TH GLUBUILD2DMIPMAPLEVELS 3G
-.SH NAME
-.B "gluBuild2DMipmapLevels
-\- builds a subset of two-dimensional mipmap levels
-
-.SH C SPECIFICATION
-GLint \f3gluBuild2DMipmapLevels\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3GLint \fPgluBuild2DMipmapLevels( 'u
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLint \fIlevel\fP,
- GLint \fIbase\fP,
- GLint \fImax\fP,
- const void \fI*data\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture. Must be \%\f3GL_TEXTURE_2D\fP.
-.TP
-\f2internalFormat\fP
-Requests the internal storage of the texture image. The most
-current version of the SGI implementation of GLU does not check this
-value for validity before passing it on to the underlying OpenGL
-implementation. A value that is not accepted by the OpenGL
-implementation will lead to an OpenGL error. The benefit of not
-checking this value at the GLU level is that OpenGL extensions can add
-new internal texture formats without requiring a revision of the GLU
-implementation. Older implementations of GLU check this value and
-raise a GLU error if it is not 1, 2, 3, or 4 or one of the following
-symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP, \f2height\fP
-Specifies the width and height, respectively, in pixels of the texture image.
-These should be a power of 2.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-Must be one of
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type for \f2data\fP.
-Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2level\fP
-Specifies the mipmap level of the image data.
-.TP
-\f2base\fP
-Specifies the minimum mipmap level to pass to \f3glTexImage2D\fP.
-.TP
-\f2max\fP
-Specifies the maximum mipmap level to pass to \f3glTexImage2D\fP.
-.TP
-\f2data\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-\%\f3gluBuild2DMipmapLevels\fP builds a subset of prefiltered two-dimensional texture maps of decreasing
-resolutions called a mipmap. This is used for the antialiasing of
-texture mapped primitives.
-.P
-A return value of zero indicates success, otherwise a GLU error code is
-returned (see \%\f3gluErrorString\fP).
-.P
-A series of mipmap levels from \f2base\fP to \f2max\fP is built by decimating
-\f2data\fP in half along
-both dimensions until size $1 ~times~ 1$ is reached. At each level, each texel in the
-halved mipmap level is an average of the corresponding four texels in the larger
-mipmap level. (In the case of rectangular images, the decimation will ultimately
-reach an $N ~times~ 1$ or $1 ~times~ N$ configuration. Here, two texels are
-averaged instead.)
-\f3glTexImage2D\fP is called to load these mipmap levels from \f2base\fP
-to \f2max\fP. If \f2max\fP is larger than the highest mipmap level for the
-texture of the specified size, then a GLU error code is returned (see
-\%\f3gluErrorString\fP) and nothing is loaded.
-.P
-For example, if \f2level\fP is 2 and \f2width\fP is 16 and \f2height\fP is 8, the
-following levels are possible: $16 ~times~ 8$, $8 ~times~ 4$, $4 ~times~ 2$,
-$2 ~times~ 1$, $1 ~times~ 1$. These correspond to levels 2 through 6
-respectively. If \f2base\fP is 3 and \f2max\fP is 5, then only mipmap levels
-$8 ~times~ 4$, $4 ~times~ 2$ and $2 ~times~ 1$ are loaded. However, if \f2max\fP
-is 7 then an error is returned and nothing is loaded since \f2max\fP is
-larger than the highest mipmap level which is, in this case, 6.
-.P
-The highest mipmap level can be derived from the formula
-log2(max(\f2width\fP,\f2height\fP)*(2^\f2level\fP)).
-.P
-See the \f3glTexImage1D\fP reference page for a description of the
-acceptable values for \f2format\fP parameter. See the \f3glDrawPixels\fP
-reference page for a description of the acceptable values
-for \f2type\fP parameter.
-.SH NOTES
-\%\f3gluBuild2DMipmapLevels\fP is only available if the GLU version is 1.3 or greater.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP, and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are only available if the GL version
-is 1.2 or greater.
-.SH ERRORS
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2level\fP > \f2base\fP, \f2base\fP < 0,
-\f2max\fP < \f2base\fP or \f2max\fP is > the highest mipmap level for \f2data\fP.
-.P
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2width\fP or \f2height\fP is < 1.
-.P
-\%\f3GLU_INVALID_ENUM\fP is returned if \f2internalFormat\fP, \f2format\fP, or \f2type\fP is not
-legal.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_BYTE_3_3_2\fP or \%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_6_5\fP or \%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP or \%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP or \%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_8_8_8_8\fP or \%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_10_10_10_2\fP or \%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\f3glDrawPixels(3G)\fP,
-\f3glTexImage1D(3G)\fP,
-\f3glTexImage2D(3G)\fP,
-\f3glTexImage3D(3G)\fP,
-\%\f3gluBuild1DMipmaps(3G)\fP,
-\%\f3gluBuild2DMipmaps(3G)\fP,
-\%\f3gluBuild3DMipmaps(3G)\fP,
-\%\f3gluErrorString(3G)\fP,
-\f3glGetTexImage(3G)\fP,
-\f3glGetTexLevelParameter(3G)\fP,
-\%\f3gluBuild1DMipmapLevels(3G)\fP,
-\%\f3gluBuild3DMipmapLevels(3G)\fP
diff --git a/doc/gl-docs/GLU/build2dmipmaps.3gl b/doc/gl-docs/GLU/build2dmipmaps.3gl
deleted file mode 100644
index e7d970c64..000000000
--- a/doc/gl-docs/GLU/build2dmipmaps.3gl
+++ /dev/null
@@ -1,236 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 build2dmi
-.ds Xs 21901 10 build2dmipmaps.gl
-.TH GLUBUILD2DMIPMAPS 3G
-.SH NAME
-.B "gluBuild2DMipmaps
-\- builds a two-dimensional mipmap
-
-.SH C SPECIFICATION
-GLint \f3gluBuild2DMipmaps\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3GLint \fPgluBuild2DMipmaps( 'u
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const void \fI*data\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture. Must be \%\f3GL_TEXTURE_2D\fP.
-.TP
-\f2internalFormat\fP
-Requests the internal storage of the texture image. The most
-current version of the SGI implementation of GLU does not check this
-value for validity before passing it on to the underlying OpenGL
-implementation. A value that is not accepted by the OpenGL
-implementation will lead to an OpenGL error. The benefit of not
-checking this value at the GLU level is that OpenGL extensions can add
-new internal texture formats without requiring a revision of the GLU
-implementation. Older implementations of GLU check this value and
-raise a GLU error if it is not 1, 2, 3, or 4 or one of the following
-symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP, \f2height\fP
-Specifies in pixels the width and height, respectively, of the texture image.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-Must be one of
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type for \f2data\fP.
-Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2data\fP
-Specifies a pointer to the image data in memory.
-
-
-.SH DESCRIPTION
-\%\f3gluBuild2DMipmaps\fP builds a series of prefiltered two-dimensional texture maps of decreasing
-resolutions called a mipmap. This is used for the antialiasing of
-texture-mapped primitives.
-.P
-A return value of zero indicates success, otherwise a GLU error code is
-returned (see \%\f3gluErrorString\fP).
-.P
-Initially, the \f2width\fP and \f2height\fP of \f2data\fP are checked to see if they
-are a power of 2. If not, a copy of \f2data\fP (not \f2data\fP), is scaled up
-or down to the nearest power of 2. This copy will be used for subsequent
-mipmapping operations described below. (If \f2width\fP or \f2height\fP is exactly
-between powers of 2, then the copy of \f2data\fP will scale upwards.) For
-example, if \f2width\fP is 57 and \f2height\fP is 23 then a copy of \f2data\fP will
-scale up to 64 in \f2width\fP and down to 16 in depth, before mipmapping takes
-place.
-.P
-Then, proxy textures (see \f3glTexImage2D\fP) are used to determine if
-the implementation can fit the requested texture. If not, both dimensions
-are continually halved until it fits. (If the OpenGL version is \(<= 1.0,
-both maximum texture dimensions are clamped to the value returned
-by \f3glGetIntegerv\fP with the argument \%\f3GL_MAX_TEXTURE_SIZE\fP.)
-.P
-Next, a series of mipmap levels is built by decimating a copy of \f2data\fP
-in half along both dimensions until size $1 ~times~ 1$ is reached. At
-each level,
-each texel in the halved mipmap level is an average of the corresponding
-four texels in the larger mipmap level. (In the case of rectangular
-images, the decimation will ultimately reach an $N ~times~ 1$ or
-$1 ~times~ N$ configuration. Here, two texels are averaged instead.)
-.P
-\f3glTexImage2D\fP is called to load each of these mipmap levels.
-Level 0 is a copy of \f2data\fP. The highest level is
-${log sub 2} ( max ("width","height"))$. For example,
-if \f2width\fP is 64 and \f2height\fP is 16
-and the implementation can store a texture of this size, the following
-mipmap levels are built: $64 ~times~ 16$, $32 ~times~ 8$, $16 ~times~ 4$,
-$8 ~times~ 2$, $4 ~times~ 1$, $2 ~times~ 1$ and $1 ~times~ 1$. These correspond to
-levels 0 through 6, respectively.
-.P
-See the \f3glTexImage1D\fP reference page for a description of the
-acceptable values for \f2format\fP parameter. See the \f3glDrawPixels\fP
-reference page for a description of the acceptable values
-for \f2type\fP parameter.
-.SH NOTES
-
-Note that there is no direct way of querying the maximum level. This can
-be derived indirectly via \f3glGetTexLevelParameter\fP. First, query
-for the width and height actually used at level 0. (The width and
-height may not be equal to \f2width\fP and \f2height\fP respectively since proxy
-textures might have scaled them to fit the implementation.) Then the
-maximum level can be derived from the formula
-${log sub 2}( max (\f2width\fP,\f2height\fP))$.
-.SH NOTES
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP, and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are only available if the GL version
-is 1.2 or greater and if the GLU version is 1.3 or greater.
-.SH ERRORS
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2width\fP, or \f2height\fP is < 1.
-.P
-\%\f3GLU_INVALID_ENUM\fP is returned if \f2internalFormat\fP, \f2format\fP, or \f2type\fP is not
-legal.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_BYTE_3_3_2\fP or \%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_6_5\fP or \%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP or \%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP or \%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_8_8_8_8\fP or \%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_10_10_10_2\fP or \%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\f3glDrawPixels(3G)\fP,
-\f3glTexImage1D(3G)\fP,
-\f3glTexImage2D(3G)\fP,
-\f3glTexImage3D(3G)\fP,
-\%\f3gluBuild1DMipmaps(3G)\fP,
-\%\f3gluBuild3DMipmaps(3G)\fP,
-\%\f3gluErrorString(3G)\fP,
-\f3glGetTexImage(3G)\fP,
-\f3glGetTexLevelParameter(3G)\fP,
-\%\f3gluBuild1DMipmapLevels(3G)\fP,
-\%\f3gluBuild2DMipmapLevels(3G)\fP,
-\%\f3gluBuild3DMipmapLevels(3G)\fP
diff --git a/doc/gl-docs/GLU/build3dmipmaplevels.3gl b/doc/gl-docs/GLU/build3dmipmaplevels.3gl
deleted file mode 100644
index 768398349..000000000
--- a/doc/gl-docs/GLU/build3dmipmaplevels.3gl
+++ /dev/null
@@ -1,237 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 build3dmi
-.ds Xs 53966 9 build3dmipmaplevels.gl
-.TH GLUBUILD3DMIPMAPLEVELS 3G
-.SH NAME
-.B "gluBuild3DMipmapLevels
-\- builds a subset of three-dimensional mipmap levels
-
-.SH C SPECIFICATION
-GLint \f3gluBuild3DMipmapLevels\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3GLint \fPgluBuild3DMipmapLevels( 'u
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLsizei \fIdepth\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- GLint \fIlevel\fP,
- GLint \fIbase\fP,
- GLint \fImax\fP,
- const void \fI*data\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture. Must be \%\f3GL_TEXTURE_3D\fP.
-.TP
-\f2internalFormat\fP
-Requests the internal storage of the texture image. The most
-current version of the SGI implementation of GLU does not check this
-value for validity before passing it on to the underlying OpenGL
-implementation. A value that is not accepted by the OpenGL
-implementation will lead to an OpenGL error. The benefit of not
-checking this value at the GLU level is that OpenGL extensions can add
-new internal texture formats without requiring a revision of the GLU
-implementation. Older implementations of GLU check this value and
-raise a GLU error if it is not 1, 2, 3, or 4 or one of the following
-symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP, \f2height\fP, \f2depth\fP
-Specifies in pixels the width, height and depth respectively, of the texture
-image. These should be a power of 2.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-Must be one of
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type for \f2data\fP.
-Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2level\fP
-Specifies the mipmap level of the image data.
-.TP
-\f2base\fP
-Specifies the minimum mipmap level to pass to \f3glTexImage3D\fP.
-.TP
-\f2max\fP
-Specifies the maximum mipmap level to pass to \f3glTexImage3D\fP.
-.TP
-\f2data\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-\%\f3gluBuild3DMipmapLevels\fP builds a subset of prefiltered three-dimensional texture maps of
-decreasing resolutions called a mipmap. This is used for the antialiasing of
-texture mapped primitives.
-.P
-A return value of zero indicates success, otherwise a GLU error code is
-returned (see \%\f3gluErrorString\fP).
-.P
-A series of mipmap levels from \f2base\fP to \f2max\fP is built by
-decimating \f2data\fP in half along both dimensions until size $1 ~times~ 1
-~times~ 1$ is reached. At each level, each texel in the halved mipmap
-level is an average of the corresponding eight texels in the larger
-mipmap level. (If exactly one of the dimensions is 1, four texels are
-averaged. If exactly two of the dimensions are 1, two texels are
-averaged.) \f3glTexImage3D\fP is called to load these mipmap levels
-from \f2base\fP to \f2max\fP. If \f2max\fP is larger than the highest mipmap
-level for the texture of the specified size, then a GLU error code is
-returned (see \%\f3gluErrorString\fP) and nothing is loaded.
-.P
-For example, if \f2level\fP is 2 and \f2width\fP is 16, \f2height\fP is 8 and \f2depth\fP
-is 4, the following levels are possible: $16 ~times~ 8 ~times~ 4$, $8 ~times~
-4 ~times~ 2$, $4 ~times~ 2 ~times~ 1$, $2 ~times~ 1 ~times~ 1$,
-$1 ~times~ 1 ~times~ 1$.
-These correspond to levels 2 through 6 respectively. If \f2base\fP is
-3 and \f2max\fP is 5, then only mipmap levels $8 ~times~ 4 ~times~ 2$, $4
-~times~ 2 ~times~ 1$ and $2 ~times~ 1 ~times~ 1$ are loaded. However, if
-\f2max\fP is 7 then an error is returned and nothing is loaded, since
-\f2max\fP is larger than the highest mipmap level which is, in this case,
-6.
-.P
-The highest mipmap level can be derived from the formula
-${log sub 2} ( max ("width","height","depth")^{2 sup "level"})$.
-.P
-See the \f3glTexImage1D\fP reference page for a description of the
-acceptable values for \f2format\fP parameter. See the \f3glDrawPixels\fP
-reference page for a description of the acceptable values
-for \f2type\fP parameter.
-.SH NOTES
-\%\f3gluBuild3DMipmapLevels\fP is only available if the GLU version is 1.3 or greater.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP, and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are only available if the GL version
-is 1.2 or greater.
-.SH ERRORS
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2level\fP > \f2base\fP, \f2base\fP < 0,
-\f2max\fP < \f2base\fP or \f2max\fP is > the highest mipmap level for \f2data\fP.
-.P
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2width\fP, \f2height\fP, or \f2depth\fP is < 1.
-.P
-\%\f3GLU_INVALID_ENUM\fP is returned if \f2internalFormat\fP, \f2format\fP, or \f2type\fP is not
-legal.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_BYTE_3_3_2\fP or \%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_6_5\fP or \%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP or \%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP or \%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_8_8_8_8\fP or \%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_10_10_10_2\fP or \%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\f3glDrawPixels(3G)\fP,
-\f3glTexImage1D(3G)\fP,
-\f3glTexImage2D(3G)\fP,
-\f3glTexImage3D(3G)\fP,
-\%\f3gluBuild1DMipmaps(3G)\fP,
-\%\f3gluBuild2DMipmaps(3G)\fP,
-\%\f3gluBuild3DMipmaps(3G)\fP,
-\%\f3gluErrorString(3G)\fP,
-\f3glGetTexImage(3G)\fP,
-\f3glGetTexLevelParameter(3G)\fP,
-\%\f3gluBuild1DMipmapLevels(3G)\fP,
-\%\f3gluBuild2DMipmapLevels(3G)\fP
diff --git a/doc/gl-docs/GLU/build3dmipmaps.3gl b/doc/gl-docs/GLU/build3dmipmaps.3gl
deleted file mode 100644
index 7df39c2c3..000000000
--- a/doc/gl-docs/GLU/build3dmipmaps.3gl
+++ /dev/null
@@ -1,238 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 build3dmi
-.ds Xs 62292 10 build3dmipmaps.gl
-.TH GLUBUILD3DMIPMAPS 3G
-.SH NAME
-.B "gluBuild3DMipmaps
-\- builds a three-dimensional mipmap
-
-.SH C SPECIFICATION
-GLint \f3gluBuild3DMipmaps\fP(
-GLenum \fItarget\fP,
-.nf
-.ta \w'\f3GLint \fPgluBuild3DMipmaps( 'u
- GLint \fIinternalFormat\fP,
- GLsizei \fIwidth\fP,
- GLsizei \fIheight\fP,
- GLsizei \fIdepth\fP,
- GLenum \fIformat\fP,
- GLenum \fItype\fP,
- const void \fI*data\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIinternalFormat\fP\ \ 'u
-\f2target\fP
-Specifies the target texture. Must be \%\f3GL_TEXTURE_3D\fP.
-.TP
-\f2internalFormat\fP
-Requests the internal storage of the texture image. The most
-current version of the SGI implementation of GLU does not check this
-value for validity before passing it on to the underlying OpenGL
-implementation. A value that is not accepted by the OpenGL
-implementation will lead to an OpenGL error. The benefit of not
-checking this value at the GLU level is that OpenGL extensions can add
-new internal texture formats without requiring a revision of the GLU
-implementation. Older implementations of GLU check this value and
-raise a GLU error if it is not 1, 2, 3, or 4 or one of the following
-symbolic constants:
-\%\f3GL_ALPHA\fP,
-\%\f3GL_ALPHA4\fP,
-\%\f3GL_ALPHA8\fP,
-\%\f3GL_ALPHA12\fP,
-\%\f3GL_ALPHA16\fP,
-\%\f3GL_LUMINANCE\fP,
-\%\f3GL_LUMINANCE4\fP,
-\%\f3GL_LUMINANCE8\fP,
-\%\f3GL_LUMINANCE12\fP,
-\%\f3GL_LUMINANCE16\fP,
-\%\f3GL_LUMINANCE_ALPHA\fP,
-\%\f3GL_LUMINANCE4_ALPHA4\fP,
-\%\f3GL_LUMINANCE6_ALPHA2\fP,
-\%\f3GL_LUMINANCE8_ALPHA8\fP,
-\%\f3GL_LUMINANCE12_ALPHA4\fP,
-\%\f3GL_LUMINANCE12_ALPHA12\fP,
-\%\f3GL_LUMINANCE16_ALPHA16\fP,
-\%\f3GL_INTENSITY\fP,
-\%\f3GL_INTENSITY4\fP,
-\%\f3GL_INTENSITY8\fP,
-\%\f3GL_INTENSITY12\fP,
-\%\f3GL_INTENSITY16\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_R3_G3_B2\fP,
-\%\f3GL_RGB4\fP,
-\%\f3GL_RGB5\fP,
-\%\f3GL_RGB8\fP,
-\%\f3GL_RGB10\fP,
-\%\f3GL_RGB12\fP,
-\%\f3GL_RGB16\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_RGBA2\fP,
-\%\f3GL_RGBA4\fP,
-\%\f3GL_RGB5_A1\fP,
-\%\f3GL_RGBA8\fP,
-\%\f3GL_RGB10_A2\fP,
-\%\f3GL_RGBA12\fP, or
-\%\f3GL_RGBA16\fP.
-.TP
-\f2width\fP, \f2height\fP, \f2depth\fP
-Specifies in pixels the width, height and depth respectively, in pixels
-of the texture image.
-.TP
-\f2format\fP
-Specifies the of the pixel data.
-Must be one of
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, or
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2type\fP
-Specifies the data type for \f2data\fP.
-Must be one of:
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2data\fP
-Specifies a pointer to the image data in memory.
-.SH DESCRIPTION
-\%\f3gluBuild3DMipmaps\fP builds a series of prefiltered three-dimensional texture maps of
-decreasing resolutions called a mipmap. This is used for the antialiasing of
-texture-mapped primitives.
-.P
-A return value of zero indicates success, otherwise a GLU error code is
-returned (see \%\f3gluErrorString\fP).
-.P
-Initially, the \f2width\fP, \f2height\fP and \f2depth\fP of \f2data\fP are checked to
-see if they are a power of 2. If not, a copy of \f2data\fP (not \f2data\fP),
-is scaled up or down to the nearest power of 2. (If \f2width\fP, \f2height\fP or
-\f2depth\fP is exactly between powers of 2, then the copy of \f2data\fP will
-scale upwards.) This copy will be used for subsequent mipmapping
-operations described below. For example, if \f2width\fP is 57, \f2height\fP is
-23 and \f2depth\fP is 24 then a copy of \f2data\fP will scale up to 64 in
-width, down to 16 in height and up to 32 in depth, before mipmapping
-takes place.
-.P
-Then, proxy textures (see \f3glTexImage3D\fP) are used to determine if
-the implementation can fit the requested texture. If not, all three dimensions
-are continually halved until it fits.
-.P
-Next, a series of mipmap levels is built by decimating a copy of \f2data\fP
-in half along all three dimensions until size $1 ~times~ 1 ~times~ 1$ is
-reached. At each level, each texel in the halved mipmap level is an
-average of the corresponding eight texels in the larger mipmap
-level. (If exactly one of the dimensions is 1, four texels are averaged.
-If exactly two of the dimensions are 1, two texels are averaged.)
-.P
-\f3glTexImage3D\fP is called to load each of these mipmap levels.
-Level 0 is a copy of \f2data\fP. The highest level is
-${log sub 2} ( max ("width","height","depth"))$.
-For example, if \f2width\fP is 64, \f2height\fP is
-16 and \f2depth\fP is 32, and the implementation can store a texture of this
-size, the following mipmap levels are built: $64 ~times~ 16 ~times~ 32$,
-$32 ~times~ 8 ~times~ 16$, $16 ~times~ 4 ~times~ 8$,
-$8 ~times~ 2 ~times~ 4$, $4 ~times~ 1 ~times~ 2$,
-$2 ~times~ 1 ~times~ 1$
-and $1 ~times~ 1 ~times~ 1$. These correspond
-to levels 0 through 6, respectively.
-.P
-See the \f3glTexImage1D\fP reference page for a description of the
-acceptable values for \f2format\fP parameter. See the \f3glDrawPixels\fP
-reference page for a description of the acceptable values
-for \f2type\fP parameter.
-.SH NOTES
-Note that there is no direct way of querying the maximum level. This can
-be derived indirectly via \f3glGetTexLevelParameter\fP. First, query
-for the width, height and depth actually used at level 0. (The width,
-height and depth may not be equal to \f2width\fP, \f2height\fP and \f2depth\fP
-respectively since proxy textures might have scaled them to fit the
-implementation.) Then the maximum level can be derived from the formula
-${log sub 2} ( max ("width","height","depth"))$.
-.P
-\%\f3gluBuild3DMipmaps\fP is only available if the GLU version is 1.3 or greater.
-.P
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP, and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are only available if the GL version
-is 1.2 or greater.
-.SH ERRORS
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2width\fP, \f2height\fP, or \f2depth\fP is < 1.
-.P
-\%\f3GLU_INVALID_ENUM\fP is returned if \f2internalFormat\fP, \f2format\fP, or \f2type\fP is not
-legal.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_BYTE_3_3_2\fP or \%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_6_5\fP or \%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP or \%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP or \%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_8_8_8_8\fP or \%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2type\fP is \%\f3GL_UNSIGNED_INT_10_10_10_2\fP or \%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\f3glDrawPixels(3G)\fP,
-\f3glTexImage1D(3G)\fP,
-\f3glTexImage2D(3G)\fP,
-\f3glTexImage3D(3G)\fP,
-\%\f3gluBuild1DMipmaps(3G)\fP,
-\%\f3gluBuild3DMipmaps(3G)\fP,
-\%\f3gluErrorString(3G)\fP,
-\f3glGetTexImage(3G)\fP,
-\f3glGetTexLevelParameter(3G)\fP,
-\%\f3gluBuild1DMipmapLevels(3G)\fP,
-\%\f3gluBuild2DMipmapLevels(3G)\fP,
-\%\f3gluBuild3DMipmapLevels(3G)\fP
diff --git a/doc/gl-docs/GLU/checkextension.3gl b/doc/gl-docs/GLU/checkextension.3gl
deleted file mode 100644
index da57be3e7..000000000
--- a/doc/gl-docs/GLU/checkextension.3gl
+++ /dev/null
@@ -1,53 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 checkexte
-.ds Xs 16492 4 checkextension.gl
-.TH GLUCHECKEXTENSION 3G
-.SH NAME
-.B "gluCheckExtension
-\- determines if an extension name is supported
-
-.SH C SPECIFICATION
-GLboolean \f3gluCheckExtension\fP(
-const GLubyte \fI*extName\fP,
-.nf
-.ta \w'\f3GLboolean \fPgluCheckExtension( 'u
- const GLubyte \fI*extString\fP )
-.fi
-
-.SH PARAMETERS
-.TP \w'\fIextString\fP\ \ 'u
-\f2extName\fP
-Specifies an extension name.
-.TP
-\f2extString\fP
-Specifies a space-separated list of extension names supported.
-.SH DESCRIPTION
-\%\f3gluCheckExtension\fP returns \%\f3GL_TRUE\fP if \f2extName\fP is supported otherwise
-\%\f3GL_FALSE\fP is returned.
-.P
-This is used to check for the presence for OpenGL, GLU or GLX extension names
-by passing the extension strings returned by \f3glGetString\fP,
-\%\f3gluGetString\fP, \f3glXGetClientString\fP,
-\f3glXQueryExtensionsString\fP, or \f3glXQueryServerString\fP,
-respectively, as \f2extString\fP.
-.SH NOTES
-Cases where one extension name is a substring of another are
-correctly handled.
-.P
-There may or may not be leading or trailing blanks in \f2extString\fP.
-.P
-Extension names should not contain embedded spaces.
-.P
-All strings are null-terminated.
-.SH SEE ALSO
-\f3glGetString(3G)\fP,
-\%\f3gluGetString(3G)\fP,
-\f3glXGetClientString(3G)\fP,
-\f3glXQueryExtensionsString(3G)\fP,
-\f3glXQueryServerString(3G)\fP
diff --git a/doc/gl-docs/GLU/cylinder.3gl b/doc/gl-docs/GLU/cylinder.3gl
deleted file mode 100644
index af9ed0ac2..000000000
--- a/doc/gl-docs/GLU/cylinder.3gl
+++ /dev/null
@@ -1,70 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 cylinder.
-.ds Xs 15544 4 cylinder.gl
-.TH GLUCYLINDER 3G
-.SH NAME
-.B "gluCylinder
-\- draw a cylinder
-
-.SH C SPECIFICATION
-void \f3gluCylinder\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluCylinder( 'u
- GLdouble \fIbase\fP,
- GLdouble \fItop\fP,
- GLdouble \fIheight\fP,
- GLint \fIslices\fP,
- GLint \fIstacks\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIheight\fP\ \ 'u
-\f2quad\fP
-Specifies the quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2base\fP
-Specifies the radius of the cylinder at \f2z\fP = 0.
-.TP
-\f2top\fP
-Specifies the radius of the cylinder at \f2z\fP = \f2height\fP.
-.TP
-\f2height\fP
-Specifies the height of the cylinder.
-.TP
-\f2slices\fP
-Specifies the number of subdivisions around the \f2z\fP axis.
-.TP
-\f2stacks\fP
-Specifies the number of subdivisions along the \f2z\fP axis.
-.SH DESCRIPTION
-\%\f3gluCylinder\fP draws a cylinder oriented along the \f2z\fP axis. The base of the cylinder
-is placed at \f2z\fP = 0, and the top at $ z ~=~ "height" $. Like a sphere,
-a cylinder is subdivided around the \f2z\fP axis into slices, and along the
-\f2z\fP axis into stacks.
-.P
-Note that if \f2top\fP is set to 0.0, this routine generates a cone.
-.P
-If the orientation is set to \%\f3GLU_OUTSIDE\fP
-(with \%\f3gluQuadricOrientation\fP), then any generated normals
-point away from the \f2z\fP axis. Otherwise, they point toward the
-\f2z\fP axis.
-.P
-If texturing is turned on (with \%\f3gluQuadricTexture\fP), then texture
-coordinates are generated so that \f2t\fP ranges linearly from 0.0
-at \f2z\fP = 0 to 1.0 at \f2z\fP = \f2height\fP, and \f2s\fP
-ranges from 0.0 at the +\f2y\fP axis, to 0.25 at the +\f2x\fP axis,
-to 0.5 at the -\f2y\fP axis, to 0.75 at the \-\f2x\fP axis,
-and back to 1.0 at the +\f2y\fP axis.
-.SH SEE ALSO
-\%\f3gluDisk(3G)\fP, \%\f3gluNewQuadric(3G)\fP, \%\f3gluPartialDisk(3G)\fP, \%\f3gluQuadricTexture(3G)\fP,
-\%\f3gluSphere(3G)\fP
diff --git a/doc/gl-docs/GLU/deletenurbsrenderer.3gl b/doc/gl-docs/GLU/deletenurbsrenderer.3gl
deleted file mode 100644
index 13823fb15..000000000
--- a/doc/gl-docs/GLU/deletenurbsrenderer.3gl
+++ /dev/null
@@ -1,34 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 deletenur
-.ds Xs 47695 3 deletenurbsrenderer.gl
-.TH GLUDELETENURBSRENDERER 3G
-.SH NAME
-.B "gluDeleteNurbsRenderer
-\- destroy a NURBS object
-
-.SH C SPECIFICATION
-void \f3gluDeleteNurbsRenderer\fP(
-GLUnurbs* \fInurb\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2nurb\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object to be destroyed.
-.SH DESCRIPTION
-\%\f3gluDeleteNurbsRenderer\fP destroys the NURBS object (which was created with
-\%\f3gluNewNurbsRenderer\fP) and frees any memory it uses.
-Once
-\%\f3gluDeleteNurbsRenderer\fP has been called, \f2nurb\fP cannot be used again.
-.SH SEE ALSO
-\%\f3gluNewNurbsRenderer(3G)\fP
diff --git a/doc/gl-docs/GLU/deletequadric.3gl b/doc/gl-docs/GLU/deletequadric.3gl
deleted file mode 100644
index 610d6d809..000000000
--- a/doc/gl-docs/GLU/deletequadric.3gl
+++ /dev/null
@@ -1,34 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 deletequa
-.ds Xs 13251 3 deletequadric.gl
-.TH GLUDELETEQUADRIC 3G
-.SH NAME
-.B "gluDeleteQuadric
-\- destroy a quadrics object
-
-.SH C SPECIFICATION
-void \f3gluDeleteQuadric\fP(
-GLUquadric* \fIquad\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2quad\fP\ \ 'u
-\f2quad\fP
-Specifies the quadrics object to be destroyed.
-.SH DESCRIPTION
-\%\f3gluDeleteQuadric\fP destroys the quadrics object (created with \%\f3gluNewQuadric\fP)
-and frees any memory it uses.
-Once \%\f3gluDeleteQuadric\fP has been called, \f2quad\fP cannot be used again.
-.SH SEE ALSO
-\%\f3gluNewQuadric(3G)\fP
-
diff --git a/doc/gl-docs/GLU/deletetess.3gl b/doc/gl-docs/GLU/deletetess.3gl
deleted file mode 100644
index 5d4325b2c..000000000
--- a/doc/gl-docs/GLU/deletetess.3gl
+++ /dev/null
@@ -1,33 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 deletetes
-.ds Xs 7423 3 deletetess.gl
-.TH GLUDELETETESS 3G
-.SH NAME
-.B "gluDeleteTess
-\- destroy a tessellation object
-
-.SH C SPECIFICATION
-void \f3gluDeleteTess\fP(
-GLUtesselator* \fItess\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2tess\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object to destroy.
-.SH DESCRIPTION
-\%\f3gluDeleteTess\fP destroys the indicated tessellation object (which was created
-with \%\f3gluNewTess\fP) and frees any memory that it used.
-.SH SEE ALSO
-\%\f3gluBeginPolygon(3G)\fP, \%\f3gluNewTess(3G)\fP, \%\f3gluTessCallback(3G)\fP
-
diff --git a/doc/gl-docs/GLU/disk.3gl b/doc/gl-docs/GLU/disk.3gl
deleted file mode 100644
index 843d5a83f..000000000
--- a/doc/gl-docs/GLU/disk.3gl
+++ /dev/null
@@ -1,70 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 disk.gl -
-.ds Xs 8360 4 disk.gl
-.TH GLUDISK 3G
-.SH NAME
-.B "gluDisk
-\- draw a disk
-
-.SH C SPECIFICATION
-void \f3gluDisk\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluDisk( 'u
- GLdouble \fIinner\fP,
- GLdouble \fIouter\fP,
- GLint \fIslices\fP,
- GLint \fIloops\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIslices\fP\ \ 'u
-\f2quad\fP
-Specifies the quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2inner\fP
-Specifies the inner radius of the disk (may be 0).
-.TP
-\f2outer\fP
-Specifies the outer radius of the disk.
-.TP
-\f2slices\fP
-Specifies the number of subdivisions around the \f2z\fP axis.
-.TP
-\f2loops\fP
-Specifies the number of concentric rings about the origin into which
-the disk is subdivided.
-.SH DESCRIPTION
-\%\f3gluDisk\fP renders a disk on the \f2z\fP = 0 plane. The disk has a radius of
-\f2outer\fP, and contains a concentric circular hole with a radius
-of \f2inner\fP. If \f2inner\fP is 0, then no hole is generated. The disk is
-subdivided around the \f2z\fP axis into slices (like pizza slices), and also
-about the \f2z\fP axis into rings
-(as specified by \f2slices\fP and \f2loops\fP, respectively).
-.P
-With respect to orientation, the +\f2z\fP side of the disk is considered to be
-"outside" (see \%\f3gluQuadricOrientation\fP).
-This means that if the
-orientation is set to \%\f3GLU_OUTSIDE\fP, then any normals generated
-point along the +\f2z\fP axis. Otherwise, they point along the \-\f2z\fP
-axis.
-.P
-If texturing has been turned on (with \%\f3gluQuadricTexture\fP),
-texture coordinates are generated
-linearly such that where $ r ~=~ "outer" $, the value at (\f2r\fP, 0, 0) is
-(1, 0.5), at (0, \f2r\fP, 0) it is (0.5, 1), at (\-\f2r\fP, 0, 0)
-it is (0, 0.5), and
-at (0, \-\f2r\fP, 0) it is (0.5, 0).
-.SH SEE ALSO
-\%\f3gluCylinder(3G)\fP, \%\f3gluNewQuadric(3G)\fP, \%\f3gluPartialDisk(3G)\fP,
-\%\f3gluQuadricOrientation(3G)\fP,
-\%\f3gluQuadricTexture(3G)\fP, \%\f3gluSphere(3G)\fP
diff --git a/doc/gl-docs/GLU/errorstring.3gl b/doc/gl-docs/GLU/errorstring.3gl
deleted file mode 100644
index 31207ae7a..000000000
--- a/doc/gl-docs/GLU/errorstring.3gl
+++ /dev/null
@@ -1,47 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 errorstri
-.ds Xs 24940 3 errorstring.gl
-.TH GLUERRORSTRING 3G
-.SH NAME
-.B "gluErrorString
-\- produce an error string from a GL or GLU error code
-
-.SH C SPECIFICATION
-const GLubyte * \f3gluErrorString\fP(
-GLenum \fIerror\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2error\fP\ \ 'u
-\f2error\fP
-Specifies a GL or GLU error code.
-.SH DESCRIPTION
-\%\f3gluErrorString\fP produces an error string from a GL or GLU error code. The string
-is in ISO Latin 1 . For example,
-\%\f3gluErrorString\fP(\%\f3GL_OUT_OF_MEMORY\fP) returns the string
-\f2out of memory\fP.
-.P
-The standard GLU error codes are \%\f3GLU_INVALID_ENUM\fP,
-\%\f3GLU_INVALID_VALUE\fP,
-and \%\f3GLU_OUT_OF_MEMORY\fP.
-Certain other GLU functions can return specialized error codes
-through callbacks.
-See the \f3glGetError\fP reference page for the list of
-GL error codes.
-.SH ERRORS
-\%\f3NULL\fP is returned if \f2error\fP is not a valid GL or GLU error code.
-.SH SEE ALSO
-\f3glGetError(3G)\fP,
-\%\f3gluNurbsCallback(3G)\fP,
-\%\f3gluQuadricCallback(3G)\fP,
-\%\f3gluTessCallback(3G)\fP
diff --git a/doc/gl-docs/GLU/getnurbsproperty.3gl b/doc/gl-docs/GLU/getnurbsproperty.3gl
deleted file mode 100644
index 44f4bfd06..000000000
--- a/doc/gl-docs/GLU/getnurbsproperty.3gl
+++ /dev/null
@@ -1,55 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 getnurbsp
-.ds Xs 29302 3 getnurbsproperty.gl
-.TH GLUGETNURBSPROPERTY 3G
-.SH NAME
-.B "gluGetNurbsProperty
-\- get a NURBS property
-
-.SH C SPECIFICATION
-void \f3gluGetNurbsProperty\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluGetNurbsProperty( 'u
- GLenum \fIproperty\fP,
- GLfloat* \fIdata\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIproperty\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2property\fP
-Specifies the property whose value is to be fetched. Valid values are
-\%\f3GLU_CULLING\fP,
-\%\f3GLU_SAMPLING_TOLERANCE\fP,
-\%\f3GLU_DISPLAY_MODE\fP,
-\%\f3GLU_AUTO_LOAD_MATRIX\fP,
-\%\f3GLU_PARAMETRIC_TOLERANCE\fP,
-\%\f3GLU_SAMPLING_METHOD\fP,
-\%\f3GLU_U_STEP\fP,
-\%\f3GLU_V_STEP\fP and
-\%\f3GLU_NURBS_MODE\fP.
-.TP
-\f2data\fP
-Specifies a pointer to the location into which the value of the
-named property is written.
-.SH DESCRIPTION
-\%\f3gluGetNurbsProperty\fP retrieves properties stored in a NURBS object. These
-properties affect the way that NURBS curves and surfaces
-are rendered. See the
-\%\f3gluNurbsProperty\fP reference page for information about what the
-properties are and what they do.
-.SH SEE ALSO
-\%\f3gluNewNurbsRenderer(3G)\fP,
-\%\f3gluNurbsProperty(3G)\fP
diff --git a/doc/gl-docs/GLU/getstring.3gl b/doc/gl-docs/GLU/getstring.3gl
deleted file mode 100644
index 3eb4b1c4d..000000000
--- a/doc/gl-docs/GLU/getstring.3gl
+++ /dev/null
@@ -1,65 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 getstring
-.ds Xs 20129 4 getstring.gl
-.TH GLUGETSTRING 3G
-.SH NAME
-.B "gluGetString
-\- return a string describing the GLU version or GLU extensions
-
-.SH C SPECIFICATION
-const GLubyte * \f3gluGetString\fP(
-GLenum \fIname\fP )
-.nf
-.fi
-
-.SH PARAMETERS
-.TP \w'\f2name\fP\ \ 'u
-\f2name\fP
-Specifies a symbolic constant, one of
-\%\f3GLU_VERSION\fP, or \%\f3GLU_EXTENSIONS\fP.
-.SH DESCRIPTION
-\%\f3gluGetString\fP returns a pointer to a static string describing the
-GLU version or the GLU extensions that are supported.
-.P
-The version number is one of the following
-forms:
-.P
-\f2major_number.minor_number\fP
-.br
-\f2major_number.minor_number.release_number\fP.
-.P
-The version string is of the following form:
-.P
-\f2version number<space>vendor-specific information\fP
-.P
-Vendor-specific information is optional.
-Its and contents depend on the implementation.
-.P
-The standard GLU contains a basic set of features and capabilities.
-If a company or group of companies wish to support other features,
-these may be included as extensions to the GLU.
-If \f2name\fP is
-\%\f3GLU_EXTENSIONS\fP, then \%\f3gluGetString\fP
-returns a space-separated list of names of supported GLU extensions.
-(Extension names never contain spaces.)
-.P
-All strings are null-terminated.
-.SH NOTES
-\%\f3gluGetString\fP only returns information about GLU extensions. Call
-\f3glGetString\fP to get a list of GL extensions.
-.P
-\%\f3gluGetString\fP is an initialization routine. Calling it after
-a \f3glNewList\fP results in undefined behavior.
-.SH ERRORS
-NULL is returned if \f2name\fP is not
-\%\f3GLU_VERSION\fP or \%\f3GLU_EXTENSIONS\fP.
-.P
-.SH SEE ALSO
-\f3glGetString(3G)\fP
-
diff --git a/doc/gl-docs/GLU/gettessproperty.3gl b/doc/gl-docs/GLU/gettessproperty.3gl
deleted file mode 100644
index eb69f5c03..000000000
--- a/doc/gl-docs/GLU/gettessproperty.3gl
+++ /dev/null
@@ -1,50 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 gettesspr
-.ds Xs 26656 3 gettessproperty.gl
-.TH GLUGETTESSPROPERTY 3G
-.SH NAME
-.B "gluGetTessProperty
-\- get a tessellation object property
-
-.SH C SPECIFICATION
-void \f3gluGetTessProperty\fP(
-GLUtesselator* \fItess\fP,
-.nf
-.ta \w'\f3void \fPgluGetTessProperty( 'u
- GLenum \fIwhich\fP,
- GLdouble* \fIdata\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIwhich\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.TP
-\f2which\fP
-Specifies the property whose value is to be fetched. Valid values are
-\%\f3GLU_TESS_WINDING_RULE\fP,
-\%\f3GLU_TESS_BOUNDARY_ONLY\fP, and
-\%\f3GLU_TESS_TOLERANCE\fP.
-.TP
-\f2data\fP
-Specifies a pointer to the location into which the value of the
-named property is written.
-.SH DESCRIPTION
-\%\f3gluGetTessProperty\fP retrieves properties stored in a tessellation object. These
-properties affect the way that tessellation objects
-are interpreted and rendered. See the
-\%\f3gluTessProperty\fP reference page for information about the
-properties and what they do.
-.SH SEE ALSO
-\%\f3gluNewTess(3G)\fP,
-\%\f3gluTessProperty(3G)\fP
-
diff --git a/doc/gl-docs/GLU/loadsamplingmatrices.3gl b/doc/gl-docs/GLU/loadsamplingmatrices.3gl
deleted file mode 100644
index 54b3f2840..000000000
--- a/doc/gl-docs/GLU/loadsamplingmatrices.3gl
+++ /dev/null
@@ -1,60 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm :37 loadsamp
-.ds Xs 25465 4 loadsamplingmatrices.gl
-.TH GLULOADSAMPLINGMATRICES 3G
-.SH NAME
-.B "gluLoadSamplingMatrices
-\- load NURBS sampling and culling matrices
-
-.SH C SPECIFICATION
-void \f3gluLoadSamplingMatrices\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluLoadSamplingMatrices( 'u
- const GLfloat \fI*model\fP,
- const GLfloat \fI*perspective\fP,
- const GLint \fI*view\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIperspective\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2model\fP
-Specifies a modelview matrix (as from a \f3glGetFloatv\fP call).
-.TP
-\f2perspective\fP
-Specifies a projection matrix (as from a \f3glGetFloatv\fP call).
-.TP
-\f2view\fP
-Specifies a viewport (as from a \f3glGetIntegerv\fP call).
-.SH DESCRIPTION
-\%\f3gluLoadSamplingMatrices\fP uses \f2model\fP, \f2perspective\fP, and \f2view\fP to recompute the sampling and culling
-matrices stored in \f2nurb\fP.
-The sampling matrix determines how finely a NURBS curve or surface
-must be tessellated to satisfy the sampling tolerance (as determined by the
-\%\f3GLU_SAMPLING_TOLERANCE\fP property).
-The culling matrix is used in deciding if a NURBS curve or surface
-should be culled before
-rendering (when the \%\f3GLU_CULLING\fP property is turned on).
-.P
-\%\f3gluLoadSamplingMatrices\fP is necessary only if the \%\f3GLU_AUTO_LOAD_MATRIX\fP property is turned
-off (see \%\f3gluNurbsProperty\fP).
-Although it can be convenient to leave the \%\f3GLU_AUTO_LOAD_MATRIX\fP
-property turned on, there can be a performance penalty for doing so.
-(A round trip to the GL server is needed to fetch the current values
-of the modelview matrix, projection matrix, and viewport.)
-.SH SEE ALSO
-\%\f3gluGetNurbsProperty(3G)\fP,
-\%\f3gluNewNurbsRenderer(3G)\fP,
-\%\f3gluNurbsProperty(3G)\fP
diff --git a/doc/gl-docs/GLU/lookat.3gl b/doc/gl-docs/GLU/lookat.3gl
deleted file mode 100644
index e4a10d486..000000000
--- a/doc/gl-docs/GLU/lookat.3gl
+++ /dev/null
@@ -1,101 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 lookat.gl
-.ds Xs 1014 4 lookat.gl
-.TH GLULOOKAT 3G
-.SH NAME
-.B "gluLookAt
-\- define a viewing transformation
-
-.SH C SPECIFICATION
-void \f3gluLookAt\fP(
-GLdouble \fIeyeX\fP,
-.nf
-.ta \w'\f3void \fPgluLookAt( 'u
- GLdouble \fIeyeY\fP,
- GLdouble \fIeyeZ\fP,
- GLdouble \fIcenterX\fP,
- GLdouble \fIcenterY\fP,
- GLdouble \fIcenterZ\fP,
- GLdouble \fIupX\fP,
- GLdouble \fIupY\fP,
- GLdouble \fIupZ\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2eyeX\fP\ \f2eyeY\fP\ \f2eyeZ\fP\ \ 'u
-\f2eyeX\fP, \f2eyeY\fP, \f2eyeZ\fP
-Specifies the position of the eye point.
-.TP
-\f2centerX\fP, \f2centerY\fP, \f2centerZ\fP
-Specifies the position of the reference point.
-.TP
-\f2upX\fP, \f2upY\fP, \f2upZ\fP
-Specifies the direction of the \f2up\fP vector.
-.SH DESCRIPTION
-\%\f3gluLookAt\fP creates a viewing matrix derived from an eye point, a reference
-point indicating the center of the scene, and an \f2UP\fP vector.
-.P
-The matrix
-maps the reference point to the negative \f2z\fP axis and the
-eye point to the origin.
-When a typical projection matrix is used,
-the center of the scene therefore maps to the center of the viewport.
-Similarly, the direction described by the \f2UP\fP
-vector projected onto the viewing plane is mapped to the positive \f2y\fP
-axis so that it points upward in the viewport.
-The \f2UP\fP vector must not be parallel to the line of sight from the
-eye point to the reference point.
-.P
-Let
-.sp
-.EQ
-F ~=~ left ( down 20 { ~ matrix {
- ccol {"centerX" above "centerY" above "centerZ"}
- ccol { ~-~ above ~-~ above ~-~}
- ccol {"eyeX" above "eyeY" above "eyeZ"}
-} } ~~ right )
-
-.EN
-
-.sp
-Let \f2UP\fP be the vector $("upX", "upY", "upZ")$.
-.P
-Then normalize as follows:
-.EQ
-f ~=~ F over {|| F ||}
-.EN
-.P
-.EQ
-UP sup prime ~=~ UP over {|| UP ||}
-.EN
-.sp
-.P
-Finally, let $s ~=~ f ~times~ UP sup prime$, and $u ~=~ s ~times~ f$.
-.P
-.sp
-M is then constructed as follows:
-.EQ
-M ~=~ left ( matrix {
- ccol { ~s[0] above ~u[0] above -f[0] above 0 }
- ccol { ~s[1] above ~u[1] above -f[1] above 0 }
- ccol { ~s[2] above ~u[2] above -f[2] above 0 }
- ccol { 0 above 0 above 0 above 1 }
-} ~~right )
-.EN
-.P
-and \%\f3gluLookAt\fP is equivalent to
-.Ex
-glMultMatrixf(M);
-glTranslated (-eyex, -eyey, -eyez);
-.Ee
-.SH SEE ALSO
-\f3glFrustum(3G)\fP, \%\f3gluPerspective(3G)\fP
diff --git a/doc/gl-docs/GLU/newnurbsrenderer.3gl b/doc/gl-docs/GLU/newnurbsrenderer.3gl
deleted file mode 100644
index f9a8a5198..000000000
--- a/doc/gl-docs/GLU/newnurbsrenderer.3gl
+++ /dev/null
@@ -1,31 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 newnurbsr
-.ds Xs 53296 3 newnurbsrenderer.gl
-.TH GLUNEWNURBSRENDERER 3G
-.SH NAME
-.B "gluNewNurbsRenderer
-\- create a NURBS object
-
-.SH C SPECIFICATION
-GLUnurbs* \f3gluNewNurbsRenderer\fP( void )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH DESCRIPTION
-\%\f3gluNewNurbsRenderer\fP creates and returns a pointer to
-a new NURBS object.
-This object must be referred to when calling
-NURBS rendering and control functions. A return value of
-0 means that there is not enough memory to allocate the object.
-.SH SEE ALSO
-\%\f3gluBeginCurve(3G)\fP, \%\f3gluBeginSurface(3G)\fP, \%\f3gluBeginTrim(3G)\fP, \%\f3gluDeleteNurbsRenderer(3G)\fP, \%\f3gluNurbsCallback(3G)\fP, \%\f3gluNurbsProperty(3G)\fP
-
diff --git a/doc/gl-docs/GLU/newquadric.3gl b/doc/gl-docs/GLU/newquadric.3gl
deleted file mode 100644
index 68cd7a515..000000000
--- a/doc/gl-docs/GLU/newquadric.3gl
+++ /dev/null
@@ -1,33 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 newquadri
-.ds Xs 35023 3 newquadric.gl
-.TH GLUNEWQUADRIC 3G
-.SH NAME
-.B "gluNewQuadric
-\- create a quadrics object
-
-.SH C SPECIFICATION
-GLUquadric* \f3gluNewQuadric\fP( void )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH DESCRIPTION
-\%\f3gluNewQuadric\fP creates and returns a pointer to
-a new quadrics object. This object must be referred to when
-calling quadrics rendering and control functions. A return value of
-0 means that there is not enough memory to allocate the object.
-.SH SEE ALSO
-\%\f3gluCylinder(3G)\fP, \%\f3gluDeleteQuadric(3G)\fP, \%\f3gluDisk(3G)\fP,
-\%\f3gluPartialDisk(3G)\fP, \%\f3gluQuadricCallback(3G)\fP, \%\f3gluQuadricDrawStyle(3G)\fP,
-\%\f3gluQuadricNormals(3G)\fP, \%\f3gluQuadricOrientation(3G)\fP,
-\%\f3gluQuadricTexture(3G)\fP,
-\%\f3gluSphere(3G)\fP
diff --git a/doc/gl-docs/GLU/newtess.3gl b/doc/gl-docs/GLU/newtess.3gl
deleted file mode 100644
index 8f57025a3..000000000
--- a/doc/gl-docs/GLU/newtess.3gl
+++ /dev/null
@@ -1,30 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 newtess.g
-.ds Xs 16871 3 newtess.gl
-.TH GLUNEWTESS 3G
-.SH NAME
-.B "gluNewTess
-\- create a tessellation object
-
-.SH C SPECIFICATION
-GLUtesselator* \f3gluNewTess\fP( void )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH DESCRIPTION
-\%\f3gluNewTess\fP creates and returns a pointer to a new tessellation object.
-This object must be referred to when calling
-tessellation functions. A return value of
-0 means that there is not enough memory to allocate the object.
-.SH SEE ALSO
-\%\f3gluTessBeginPolygon(3G)\fP, \%\f3gluDeleteTess(3G)\fP, \%\f3gluTessCallback(3G)\fP
-
diff --git a/doc/gl-docs/GLU/nextcontour.3gl b/doc/gl-docs/GLU/nextcontour.3gl
deleted file mode 100644
index 6640a6a72..000000000
--- a/doc/gl-docs/GLU/nextcontour.3gl
+++ /dev/null
@@ -1,102 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 nextconto
-.ds Xs 37451 5 nextcontour.gl
-.TH GLUNEXTCONTOUR 3G
-.SH NAME
-.B "gluNextContour
-\- mark the beginning of another contour
-
-.SH C SPECIFICATION
-void \f3gluNextContour\fP(
-GLUtesselator* \fItess\fP,
-.nf
-.ta \w'\f3void \fPgluNextContour( 'u
- GLenum \fItype\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2tess\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.TP
-\f2type\fP
-Specifies the type of the contour being defined. Valid values are
-\%\f3GLU_EXTERIOR\fP,
-\%\f3GLU_INTERIOR\fP,
-\%\f3GLU_UNKNOWN\fP,
-\%\f3GLU_CCW\fP, and
-\%\f3GLU_CW\fP.
-.SH DESCRIPTION
-\%\f3gluNextContour\fP is used in describing polygons with multiple contours. After the first
-contour has been described through a series of \%\f3gluTessVertex\fP calls,
-a \%\f3gluNextContour\fP call indicates that the previous contour is complete and that the
-next contour is about to begin.
-Another series of \%\f3gluTessVertex\fP calls is then used to describe the new
-contour. This process can be repeated until all contours have been described.
-.P
-\f2type\fP defines what type of contour follows.
-The legal contour types are as follows:
-.TP 18
-\%\f3GLU_EXTERIOR\fP
-An exterior contour defines an exterior boundary of the polygon.
-.TP
-\%\f3GLU_INTERIOR\fP
-An interior contour defines an interior boundary of the polygon (such as
-a hole).
-.TP
-\%\f3GLU_UNKNOWN\fP
-An unknown contour is analyzed by the library to determine if it is interior
-or exterior.
-.TP
-\%\f3GLU_CCW\fP,
-.TP
-\%\f3GLU_CW\fP
-The first \%\f3GLU_CCW\fP or \%\f3GLU_CW\fP contour defined is considered to
-be exterior. All other contours are considered to be exterior if they
-are oriented in the same direction (clockwise or counterclockwise) as
-the first contour, and interior if they are not.
-.P
-If one contour is of type \%\f3GLU_CCW\fP or \%\f3GLU_CW\fP, then all
-contours must be of the same type (if they are not, then all \%\f3GLU_CCW\fP
-and \%\f3GLU_CW\fP contours will be changed to \%\f3GLU_UNKNOWN\fP).
-.P
-Note that there is no real difference between the \%\f3GLU_CCW\fP and
-\%\f3GLU_CW\fP contour types.
-.P
-Before the first contour is described, \%\f3gluNextContour\fP can be called to
-define the type of the first contour.
-If \%\f3gluNextContour\fP is not called before the first contour, then the first contour is
-marked \%\f3GLU_EXTERIOR\fP.
-.P
-This command is obsolete and is provided for backward compatibility
-only. Calls to \%\f3gluNextContour\fP are mapped to \%\f3gluTessEndContour\fP
-followed by
-\%\f3gluTessBeginContour\fP.
-.SH EXAMPLE
-A quadrilateral with a triangular hole in it can be described as follows:
-.sp
-.Ex
-gluBeginPolygon(tobj);
- gluTessVertex(tobj, v1, v1);
- gluTessVertex(tobj, v2, v2);
- gluTessVertex(tobj, v3, v3);
- gluTessVertex(tobj, v4, v4);
-gluNextContour(tobj, GLU_INTERIOR);
- gluTessVertex(tobj, v5, v5);
- gluTessVertex(tobj, v6, v6);
- gluTessVertex(tobj, v7, v7);
-gluEndPolygon(tobj);
-.Ee
-.SH SEE ALSO
-\%\f3gluBeginPolygon(3G)\fP, \%\f3gluNewTess(3G)\fP, \%\f3gluTessCallback(3G)\fP, \%\f3gluTessVertex(3G)\fP,
-\%\f3gluTessBeginContour(3G)\fP
-
diff --git a/doc/gl-docs/GLU/nurbscallback.3gl b/doc/gl-docs/GLU/nurbscallback.3gl
deleted file mode 100644
index d418fa553..000000000
--- a/doc/gl-docs/GLU/nurbscallback.3gl
+++ /dev/null
@@ -1,228 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 nurbscall
-.ds Xs 14092 10 nurbscallback.gl
-.TH GLUNURBSCALLBACK 3G
-.SH NAME
-.B "gluNurbsCallback
-\- define a callback for a NURBS object
-
-.SH C SPECIFICATION
-void \f3gluNurbsCallback\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluNurbsCallback( 'u
- GLenum \fIwhich\fP,
- _GLUfuncptr \fICallBackFunc\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fICallBackFunc\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2which\fP
-Specifies the callback being defined.
-Valid values are \%\f3GLU_NURBS_BEGIN\fP, \%\f3GLU_NURBS_VERTEX\fP, \%\f3GLU_NURBS_NORMAL\fP, \%\f3GLU_NURBS_COLOR\fP, \%\f3GLU_NURBS_TEXTURE_COORD\fP, \%\f3GLU_NURBS_END\fP, \%\f3GLU_NURBS_BEGIN_DATA\fP, \%\f3GLU_NURBS_VERTEX_DATA\fP, \%\f3GLU_NURBS_NORMAL_DATA\fP, \%\f3GLU_NURBS_COLOR_DATA\fP, \%\f3GLU_NURBS_TEXTURE_COORD_DATA\fP, \%\f3GLU_NURBS_END_DATA\fP, and \%\f3GLU_NURBS_ERROR\fP.
-.TP
-\f2CallBackFunc\fP
-Specifies the function that the callback calls.
-.SH DESCRIPTION
-\%\f3gluNurbsCallback\fP is used to define a callback to be used by a NURBS
-object.
-If the specified callback is already defined, then it is replaced. If
-\f2CallBackFunc\fP is NULL, then this callback will not get
-invoked and the related data, if any, will be lost.
-.P
-Except the error callback, these callbacks are used by NURBS tessellator (when \%\f3GLU_NURBS_MODE\fP is set to be \%\f3GLU_NURBS_TESSELLATOR\fP) to return back the OpenGL
-polygon primitives resulting from the tessellation. Note that there are two
-versions of each callback: one with a user data pointer and one without. If both versions for a particular callback are specified then the callback with
-the user data pointer will be used. Note that ``userData'' is a copy of the pointer that was specified at the last call to \%\f3gluNurbsCallbackData\fP.
-.P
-The error callback function is effective no matter which value that
-\%\f3GLU_NURBS_MODE\fP is set to.
-All other callback functions are effective only when \%\f3GLU_NURBS_MODE\fP
-is set to \%\f3GLU_NURBS_TESSELLATOR\fP.
-.P
-The legal callbacks are as follows:
-.TP 10
-\%\f3GLU_NURBS_BEGIN\fP
-The begin callback indicates the start of a primitive. The function
-takes a single argument of type GLenum, which can be one of
-\%\f3GL_LINES\fP, \%\f3GL_LINE_STRIP\fP, \%\f3GL_TRIANGLE_FAN\fP, \%\f3GL_TRIANGLE_STRIP\fP, \%\f3GL_TRIANGLES\fP, or \%\f3GL_QUAD_STRIP\fP. The
-default begin callback function is NULL. The function prototype
-for this callback looks like:
-.RS
-.Ex
-void begin ( GLenum type );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_BEGIN_DATA\fP
-The same as the \%\f3GLU_NURBS_BEGIN\fP callback except that it takes an
-additional pointer argument. This pointer is a copy of the pointer that
-was specified at the last call to \%\f3gluNurbsCallbackData\fP. The
-default callback function is NULL. The function prototype for this
-callback function looks like:
-.RS
-.Ex
-void beginData (GLenum type, void *userData);
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_VERTEX\fP
-The vertex callback indicates a vertex of the primitive. The
-coordinates of the vertex are stored in the parameter ``vertex''. All
-the generated vertices have dimension 3, that is, homogeneous
-coordinates have been transformed into affine coordinates. The default
-vertex callback function is NULL. The function prototype for this
-callback function looks like:
-.RS
-.Ex
-void vertex ( GLfloat *vertex );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_VERTEX_DATA\fP
-This is the same as the \%\f3GLU_NURBS_VERTEX\fP callback, except that
-it takes an additional pointer argument. This pointer is a copy of the
-pointer that was specified at the last call to
-\%\f3gluNurbsCallbackData\fP. The default callback function is NULL. The
-function prototype for this callback function looks like:
-.RS
-.Ex
-void vertexData ( GLfloat *vertex, void *userData );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_NORMAL\fP
-The normal callback is invoked as the vertex normal is generated.
-The components of the normal are stored in the parameter ``normal''.
-In the case of a NURBS curve, the callback function is effective only when
-the user provides a normal map (\%\f3GL_MAP1_NORMAL\fP).
-In the case of a NURBS surface, if a normal map (\%\f3GL_MAP2_NORMAL\fP) is provided, then the generated normal is computed from the normal map.
-If a normal map is not provided then a surface normal is computed in
-a manner similar to that described for evaluators when \%\f3GL_AUTO_NORMAL\fP
-is enabled.
-.bp
-The default normal callback function is NULL. The function
-prototype for this callback function looks like:
-.RS
-.Ex
-void normal ( GLfloat *normal );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_NORMAL_DATA\fP
-The same as the \%\f3GLU_NURBS_NORMAL\fP callback except that it
-takes an additional pointer argument. This pointer is a copy of the pointer
-that was specified at the last call to \%\f3gluNurbsCallbackData\fP. The default callback function is NULL. The function prototype for this callback function looks like:
-.RS
-.Ex
-void normalData ( GLfloat *normal, void *userData );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_COLOR\fP
-The color callback is invoked as the color of a vertex is generated.
-The components of the color are stored in the parameter ``color''.
-This callback is effective only when the user provides a color map
-(\%\f3GL_MAP1_COLOR_4\fP or \%\f3GL_MAP2_COLOR_4\fP). ``color'' contains four components: R,G,B,A. The default color callback function is NULL. The prototype for
-this callback function looks like:
-.RS
-.Ex
-void color ( GLfloat *color );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_COLOR_DATA\fP
-The same as the \%\f3GLU_NURBS_COLOR\fP callback except that it
-takes an additional pointer argument. This pointer is a copy of the pointer
-that was specified at the last call to \%\f3gluNurbsCallbackData\fP. The default callback function is NULL. The function prototype for this callback function looks like:
-.RS
-.Ex
-void colorData ( GLfloat *color, void *userData );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_TEXTURE_COORD\fP
-The texture callback is invoked as the texture coordinates
-of a vertex are generated. These coordinates are stored in the parameter
-``texCoord''. The number of texture coordinates can be 1, 2, 3, or 4 depending
-on which type of texture map is specified
-(\%\f3GL_MAP1_TEXTURE_COORD_1\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_2\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_3\fP,
-\%\f3GL_MAP1_TEXTURE_COORD_4\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_1\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_2\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_3\fP,
-\%\f3GL_MAP2_TEXTURE_COORD_4\fP).
-If no texture map is specified, this callback function will not be called.
-.bp
-The default texture callback function is NULL. The function prototype
-for this callback function looks like:
-.RS
-.Ex
-void texCoord ( GLfloat *texCoord );
-.Ee
-.RE
-.TP
- \%\f3GLU_NURBS_TEXTURE_COORD_DATA\fP
-This is the same as the \%\f3GLU_NURBS_TEXTURE_COORD\fP callback, except that it
-takes an additional pointer argument. This pointer is a copy of the pointer
-that was specified at the last call to \%\f3gluNurbsCallbackData\fP. The default callback function is NULL. The function prototype for this callback function looks like:
-.RS
-.Ex
-void texCoordData (GLfloat *texCoord, void *userData);
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_END\fP
-The end callback is invoked at the end of a primitive. The default end callback function is NULL. The function prototype for this callback function looks like:
-.RS
-.Ex
-void end ( void );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_END_DATA\fP
-This is the same as the \%\f3GLU_NURBS_END\fP callback, except that it
-takes an additional pointer argument. This pointer is a copy of the pointer
-that was specified at the last call to \%\f3gluNurbsCallbackData\fP. The default callback function is NULL. The function prototype for this callback function looks like:
-.RS
-.Ex
-void endData ( void *userData );
-.Ee
-.RE
-.TP
-\%\f3GLU_NURBS_ERROR\fP
-The error function is called when an error is encountered.
-Its single argument
-is of type GLenum, and it indicates the specific error that occurred.
-There are 37 errors unique to NURBS named
-\%\f3GLU_NURBS_ERROR1\fP through \%\f3GLU_NURBS_ERROR37\fP.
-Character strings describing these errors can be retrieved with
-\%\f3gluErrorString\fP.
-.bp
-.SH NOTES
-\%\f3gluNurbsCallback\fP is available only if the GLU version is 1.2 or greater.
-.P
-GLU version 1.2 supports only the \%\f3GLU_ERROR\fP parameter for
-\f2which\fP. The \%\f3GLU_ERROR\fP value is deprecated in GLU version 1.3 in
-favor of \%\f3GLU_NURBS_ERROR\fP. All other accepted values for \f2CallBackFunc\fP
-are available only if the GLU version is 1.3 or greater.
-.SH SEE ALSO
-\%\f3gluErrorString(3G)\fP,
-\%\f3gluNewNurbsRenderer(3G)\fP,
-\%\f3gluNurbsCallbackData(3G)\fP,
-\%\f3gluNurbsProperty(3G)\fP
-
diff --git a/doc/gl-docs/GLU/nurbscallbackdata.3gl b/doc/gl-docs/GLU/nurbscallbackdata.3gl
deleted file mode 100644
index a0a45f2d6..000000000
--- a/doc/gl-docs/GLU/nurbscallbackdata.3gl
+++ /dev/null
@@ -1,41 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 nurbscall
-.ds Xs 16331 3 nurbscallbackdata.gl
-.TH GLUNURBSCALLBACKDATA 3G
-.SH NAME
-.B "gluNurbsCallbackData
-\- set a user data pointer
-
-.SH C SPECIFICATION
-void \f3gluNurbsCallbackData\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluNurbsCallbackData( 'u
- GLvoid* \fIuserData\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIuserData\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2userData\fP
-Specifies a pointer to the user's data.
-.SH DESCRIPTION
-\%\f3gluNurbsCallbackData\fP is used to pass a pointer to the application's data to NURBS
-tessellator. A copy of this pointer will be passed by the tessellator
-in the NURBS callback functions (set by \%\f3gluNurbsCallback\fP).
-.SH NOTES
-\%\f3gluNurbsCallbackData\fP is available only if the GLU version is 1.3 or greater.
-.SH SEE ALSO
-\%\f3gluNewNurbsRenderer(3G)\fP,
-\%\f3gluNurbsCallback(3G)\fP
diff --git a/doc/gl-docs/GLU/nurbscallbackdataext.3gl b/doc/gl-docs/GLU/nurbscallbackdataext.3gl
deleted file mode 100644
index 8ff424ea6..000000000
--- a/doc/gl-docs/GLU/nurbscallbackdataext.3gl
+++ /dev/null
@@ -1,38 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm :37 nurbscal
-.ds Xs 36770 3 nurbscallbackdataext.gl
-.TH GLUNURBSCALLBACKDATAEXT 3G
-.SH NAME
-.B "gluNurbsCallbackDataEXT
-\- set a user data pointer
-
-.SH C SPECIFICATION
-void \f3gluNurbsCallbackDataEXT\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluNurbsCallbackDataEXT( 'u
- GLvoid* \fIuserData\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIuserData\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2userData\fP
-Specifies a pointer to the user's data.
-.SH DESCRIPTION
-\%\f3gluNurbsCallbackDataEXT\fP is used to pass a pointer to the application's data to NURBS
-tessellator. A copy of this pointer will be passed by the tessellator
-in the NURBS callback functions (set by \%\f3gluNurbsCallback\fP).
-.SH SEE ALSO
-\%\f3gluNurbsCallback(3G)\fP
diff --git a/doc/gl-docs/GLU/nurbscurve.3gl b/doc/gl-docs/GLU/nurbscurve.3gl
deleted file mode 100644
index b528cbbbc..000000000
--- a/doc/gl-docs/GLU/nurbscurve.3gl
+++ /dev/null
@@ -1,99 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 nurbscurv
-.ds Xs 25594 5 nurbscurve.gl
-.TH GLUNURBSCURVE 3G
-.SH NAME
-.B "gluNurbsCurve
-\- define the shape of a NURBS curve
-
-.SH C SPECIFICATION
-void \f3gluNurbsCurve\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluNurbsCurve( 'u
- GLint \fIknotCount\fP,
- GLfloat \fI*knots\fP,
- GLint \fIstride\fP,
- GLfloat \fI*control\fP,
- GLint \fIorder\fP,
- GLenum \fItype\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIknotCount\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2knotCount\fP
-Specifies the number of knots in \f2knots\fP.
-\f2knotCount\fP equals the number of control points plus the order.
-.TP
-\f2knots\fP
-Specifies an array of \f2knotCount\fP nondecreasing knot values.
-.TP
-\f2stride\fP
-Specifies the offset (as a number of single-precision floating-point values)
-between successive curve control points.
-.TP
-\f2control\fP
-Specifies a pointer to an array of control points. The coordinates must
-agree with \f2type\fP, specified below.
-.TP
-\f2order\fP
-Specifies the order of the NURBS curve. \f2order\fP equals degree + 1, hence
-a cubic curve has an order of 4.
-.TP
-\f2type\fP
-Specifies the type of the curve. If this curve is defined within a
-\%\f3gluBeginCurve\fP/\%\f3gluEndCurve\fP pair, then
-the type can be any of the valid
-one-dimensional evaluator types (such as \%\f3GL_MAP1_VERTEX_3\fP or
-\%\f3GL_MAP1_COLOR_4\fP). Between a \%\f3gluBeginTrim\fP/\%\f3gluEndTrim\fP pair,
-the only valid types are \%\f3GLU_MAP1_TRIM_2\fP and \%\f3GLU_MAP1_TRIM_3\fP.
-.SH DESCRIPTION
-Use \%\f3gluNurbsCurve\fP to describe a NURBS curve.
-.P
-When \%\f3gluNurbsCurve\fP appears between a \%\f3gluBeginCurve\fP/\%\f3gluEndCurve\fP pair, it is
-used to describe a curve to be rendered.
-Positional, texture, and color coordinates are associated
-by presenting each as a separate \%\f3gluNurbsCurve\fP between a
-\%\f3gluBeginCurve\fP/\%\f3gluEndCurve\fP pair. No more than
-one call to \%\f3gluNurbsCurve\fP for each of color, position, and texture
-data can be made within a single \%\f3gluBeginCurve\fP/\%\f3gluEndCurve\fP
-pair. Exactly one call must be made to describe the position of the
-curve (a \f2type\fP of \%\f3GL_MAP1_VERTEX_3\fP or \%\f3GL_MAP1_VERTEX_4\fP).
-.P
-When \%\f3gluNurbsCurve\fP appears between a \%\f3gluBeginTrim\fP/\%\f3gluEndTrim\fP pair, it is
-used to describe a trimming curve on a NURBS surface. If \f2type\fP is
-\%\f3GLU_MAP1_TRIM_2\fP, then it describes a curve in two-dimensional (\f2u\fP
-and \f2v\fP)
-parameter space. If it is \%\f3GLU_MAP1_TRIM_3\fP, then it describes a
-curve in two-dimensional homogeneous (\f2u\fP, \f2v\fP, and \f2w\fP)
-parameter space.
-See the \%\f3gluBeginTrim\fP reference page for more discussion about trimming
-curves.
-.SH EXAMPLE
-The following commands render a textured NURBS curve with normals:
-.sp
-.Ex
-gluBeginCurve(nobj);
- gluNurbsCurve(nobj, ..., GL_MAP1_TEXTURE_COORD_2);
- gluNurbsCurve(nobj, ..., GL_MAP1_NORMAL);
- gluNurbsCurve(nobj, ..., GL_MAP1_VERTEX_4);
-gluEndCurve(nobj);
-.Ee
-.sp
-.SH NOTES
-To define trim curves which stitch well, use \%\f3gluPwlCurve\fP.
-.SH SEE ALSO
-\%\f3gluBeginCurve(3G)\fP, \%\f3gluBeginTrim(3G)\fP, \%\f3gluNewNurbsRenderer(3G)\fP, \%\f3gluPwlCurve(3G)\fP
-
diff --git a/doc/gl-docs/GLU/nurbsproperty.3gl b/doc/gl-docs/GLU/nurbsproperty.3gl
deleted file mode 100644
index eec82105f..000000000
--- a/doc/gl-docs/GLU/nurbsproperty.3gl
+++ /dev/null
@@ -1,202 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 nurbsprop
-.ds Xs 47701 10 nurbsproperty.gl
-.TH GLUNURBSPROPERTY 3G
-.SH NAME
-.B "gluNurbsProperty
-\- set a NURBS property
-
-.SH C SPECIFICATION
-void \f3gluNurbsProperty\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluNurbsProperty( 'u
- GLenum \fIproperty\fP,
- GLfloat \fIvalue\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIproperty\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2property\fP
-Specifies the property to be set. Valid values are
-\%\f3GLU_SAMPLING_TOLERANCE\fP,
-\%\f3GLU_DISPLAY_MODE\fP,
-\%\f3GLU_CULLING\fP,
-\%\f3GLU_AUTO_LOAD_MATRIX\fP,
-\%\f3GLU_PARAMETRIC_TOLERANCE\fP,
-\%\f3GLU_SAMPLING_METHOD\fP,
-\%\f3GLU_U_STEP\fP,
-\%\f3GLU_V_STEP\fP, or
-\%\f3GLU_NURBS_MODE\fP.
-.TP
-\f2value\fP
-Specifies the value of the indicated property.
-It may be a numeric value, or one of
-\%\f3GLU_OUTLINE_POLYGON\fP,
-\%\f3GLU_FILL\fP,
-\%\f3GLU_OUTLINE_PATCH\fP,
-\%\f3GL_TRUE\fP,
-\%\f3GL_FALSE\fP,
-\%\f3GLU_PATH_LENGTH\fP,
-\%\f3GLU_PARAMETRIC_ERROR\fP,
-\%\f3GLU_DOMAIN_DISTANCE\fP,
-\%\f3GLU_NURBS_RENDERER\fP, or
-\%\f3GLU_NURBS_TESSELLATOR\fP.
-.SH DESCRIPTION
-\%\f3gluNurbsProperty\fP is used to control properties stored in a NURBS object. These
-properties affect the way that a NURBS curve is rendered. The accepted
-values for \f2property\fP are as follows:
-.TP 15
-\%\f3GLU_NURBS_MODE\fP
-\f2value\fP should be set to be either \%\f3GLU_NURBS_RENDERER\fP or
-\%\f3GLU_NURBS_TESSELLATOR\fP. When set to \%\f3GLU_NURBS_RENDERER\fP, NURBS objects
-are tessellated into OpenGL primitives and sent to the pipeline for
-rendering. When set to \%\f3GLU_NURBS_TESSELLATOR\fP, NURBS objects are
-tessellated into OpenGL primitives but the vertices, normals, colors, and/or textures are
-retrieved back through a callback interface (see \%\f3gluNurbsCallback\fP). This allows the user to cache the
-tessellated results for further processing.
-The initial value is \%\f3GLU_NURBS_RENDERER\fP.
-.TP
-\%\f3GLU_SAMPLING_METHOD\fP
-Specifies how a NURBS surface should be
-tessellated.
-\f2value\fP may be one of \%\f3GLU_PATH_LENGTH\fP,
-\%\f3GLU_PARAMETRIC_ERROR\fP, \%\f3GLU_DOMAIN_DISTANCE\fP,
-\%\f3GLU_OBJECT_PATH_LENGTH\fP, or
-\%\f3GLU_OBJECT_PARAMETRIC_ERROR\fP.
-When set to \%\f3GLU_PATH_LENGTH\fP, the surface is rendered so that
-the maximum length, in
-pixels, of the edges of the tessellation polygons is no greater than
-what is specified by \%\f3GLU_SAMPLING_TOLERANCE\fP.
-.IP
-\%\f3GLU_PARAMETRIC_ERROR\fP specifies that the surface is rendered in such a
-way that the value specified by \%\f3GLU_PARAMETRIC_TOLERANCE\fP describes the
-maximum distance, in pixels, between the tessellation polygons and the
-surfaces they approximate.
-.IP
-\%\f3GLU_DOMAIN_DISTANCE\fP allows users to specify, in parametric coordinates,
-how many sample points per unit length are taken in \f2u\fP, \f2v\fP
-direction.
-.IP
-\%\f3GLU_OBJECT_PATH_LENGTH\fP is similar to \%\f3GLU_PATH_LENGTH\fP
-except that it is view independent, that is, the surface is rendered so that the maximum length, in object space, of edges of the tessellation polygons is no greater than what is specified by \%\f3GLU_SAMPLING_TOLERANCE\fP.
-.IP
-\%\f3GLU_OBJECT_PARAMETRIC_ERROR\fP is similar to \%\f3GLU_PARAMETRIC_ERROR\fP except that it is view independent, that is, the surface is rendered in such a way that the value specified by \%\f3GLU_PARAMETRIC_TOLERANCE\fP describes the maximum distance, in object space, between the tessellation polygons and the surfaces they approximate.
-.IP
-The initial value of \%\f3GLU_SAMPLING_METHOD\fP is \%\f3GLU_PATH_LENGTH\fP.
-.TP
-\%\f3GLU_SAMPLING_TOLERANCE\fP
-Specifies the maximum length, in pixels or in object space length unit,
-to use when the sampling method is set to \%\f3GLU_PATH_LENGTH\fP or
-\%\f3GLU_OBJECT_PATH_LENGTH\fP.
-The NURBS code is conservative when rendering a curve
-or surface, so the actual length can be somewhat shorter. The initial
-value is 50.0 pixels.
-.TP
-\%\f3GLU_PARAMETRIC_TOLERANCE\fP
-Specifies the maximum distance, in pixels or in object space length unit,
-to use when the sampling method is \%\f3GLU_PARAMETRIC_ERROR\fP or
-\%\f3GLU_OBJECT_PARAMETRIC_ERROR\fP.
-The initial value is 0.5.
-.TP
-\%\f3GLU_U_STEP\fP
-Specifies the number of sample points per unit length taken
-along the \f2u\fP axis in parametric coordinates. It is needed when
-\%\f3GLU_SAMPLING_METHOD\fP is set to \%\f3GLU_DOMAIN_DISTANCE\fP.
-The initial value is 100.
-.TP
-\%\f3GLU_V_STEP\fP
-Specifies the number of sample points per unit length taken
-along the \f2v\fP axis in parametric coordinate. It is needed when
-\%\f3GLU_SAMPLING_METHOD\fP is set to \%\f3GLU_DOMAIN_DISTANCE\fP. The initial
-value is 100.
-.TP
-\%\f3GLU_DISPLAY_MODE\fP
-\f2value\fP can be set to
-\%\f3GLU_OUTLINE_POLYGON\fP, \%\f3GLU_FILL\fP, or
-\%\f3GLU_OUTLINE_PATCH\fP.
-When \%\f3GLU_NURBS_MODE\fP is set to be \%\f3GLU_NURBS_RENDERER\fP,
-\f2value\fP defines how a NURBS surface should be rendered.
-When \f2value\fP is set to \%\f3GLU_FILL\fP, the surface is rendered as a
-set of polygons. When \f2value\fP is set to
-\%\f3GLU_OUTLINE_POLYGON\fP, the NURBS library draws only the outlines
-of the polygons created by tessellation. When \f2value\fP is set to
-\%\f3GLU_OUTLINE_PATCH\fP just the outlines of patches and trim
-curves defined by the user are drawn.
-.IP
-When \%\f3GLU_NURBS_MODE\fP is set to be \%\f3GLU_NURBS_TESSELLATOR\fP,
-\f2value\fP defines how a NURBS surface should be tessellated.
-When \%\f3GLU_DISPLAY_MODE\fP is set to \%\f3GLU_FILL\fP or
-\%\f3GLU_OUTLINE_POLYGON\fP,
-the NURBS surface is tessellated into OpenGL triangle primitives which can be
-retrieved back through callback functions. If \%\f3GLU_DISPLAY_MODE\fP is set to
-\%\f3GLU_OUTLINE_PATCH\fP, only the outlines of the patches and trim curves are generated as a sequence of line strips which can be retrieved back through callback functions.
-.IP
-The initial value is \%\f3GLU_FILL\fP.
-.TP
-\%\f3GLU_CULLING\fP
-\f2value\fP is a boolean value that, when set to \%\f3GL_TRUE\fP, indicates that
-a NURBS curve should be discarded prior to tessellation if its control points
-lie outside the current viewport. The initial value is \%\f3GL_FALSE\fP.
-.TP
-\%\f3GLU_AUTO_LOAD_MATRIX\fP
-\f2value\fP is a boolean value. When set to \%\f3GL_TRUE\fP, the NURBS code
-downloads the projection matrix, the modelview matrix, and the
-viewport from the GL server to compute sampling and
-culling
-matrices for each NURBS curve that is rendered. Sampling and culling matrices
-are required to determine the tessellation of a NURBS surface into line segments
-or polygons and to cull a NURBS surface if it lies outside the viewport.
-.IP
-If this mode is set to \%\f3GL_FALSE\fP, then the program needs
-to provide a projection matrix, a modelview matrix, and a viewport
-for the NURBS renderer to use to construct sampling and culling matrices.
-This can be done with the \%\f3gluLoadSamplingMatrices\fP function.
-This mode is initially set to \%\f3GL_TRUE\fP.
-Changing it from \%\f3GL_TRUE\fP to \%\f3GL_FALSE\fP does not affect
-the sampling and culling matrices until
-\%\f3gluLoadSamplingMatrices\fP
-is called.
-.SH NOTES
-If \%\f3GLU_AUTO_LOAD_MATRIX\fP is true, sampling and culling may be
-executed incorrectly if NURBS routines are compiled into a display list.
-.P
-A \f2property\fP of
-\%\f3GLU_PARAMETRIC_TOLERANCE\fP,
-\%\f3GLU_SAMPLING_METHOD\fP,
-\%\f3GLU_U_STEP\fP, or
-\%\f3GLU_V_STEP\fP,
-or a \f2value\fP of
-\%\f3GLU_PATH_LENGTH\fP,
-\%\f3GLU_PARAMETRIC_ERROR\fP,
-\%\f3GLU_DOMAIN_DISTANCE\fP
-are only available if the GLU version is 1.1 or greater. They are not
-valid parameters in GLU 1.0.
-.P
-\%\f3gluGetString\fP can
-be used to determine the GLU version.
-.P
-\%\f3GLU_NURBS_MODE\fP is only availble if the GLU version is 1.3 or
-greater.
-.P
-The \%\f3GLU_OBJECT_PATH_LENGTH\fP and \%\f3GLU_OBJECT_PARAMETRIC_ERROR\fP
-values for the \%\f3GLU_SAMPLING_METHOD\fP property are only available if
-the GLU version is 1.3 or greater.
-.SH SEE ALSO
-\%\f3gluGetNurbsProperty(3G)\fP,
-\%\f3gluLoadSamplingMatrices(3G)\fP,
-\%\f3gluNewNurbsRenderer(3G)\fP,
-\%\f3gluGetString(3G)\fP,
-\%\f3gluNurbsCallback(3G)\fP
diff --git a/doc/gl-docs/GLU/nurbssurface.3gl b/doc/gl-docs/GLU/nurbssurface.3gl
deleted file mode 100644
index 6199f88fb..000000000
--- a/doc/gl-docs/GLU/nurbssurface.3gl
+++ /dev/null
@@ -1,124 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 nurbssurf
-.ds Xs 28728 6 nurbssurface.gl
-.TH GLUNURBSSURFACE 3G
-.SH NAME
-.B "gluNurbsSurface
-\- define the shape of a NURBS surface
-
-.SH C SPECIFICATION
-void \f3gluNurbsSurface\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluNurbsSurface( 'u
- GLint \fIsKnotCount\fP,
- GLfloat* \fIsKnots\fP,
- GLint \fItKnotCount\fP,
- GLfloat* \fItKnots\fP,
- GLint \fIsStride\fP,
- GLint \fItStride\fP,
- GLfloat* \fIcontrol\fP,
- GLint \fIsOrder\fP,
- GLint \fItOrder\fP,
- GLenum \fItype\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIsKnotCount\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2sKnotCount\fP
-Specifies the number of knots in the parametric \f2u\fP direction.
-.TP
-\f2sKnots\fP
-Specifies an array of \f2sKnotCount\fP nondecreasing knot values in the parametric
-\f2u\fP direction.
-.TP
-\f2tKnotCount\fP
-Specifies the number of knots in the parametric \f2v\fP direction.
-.TP
-\f2tKnots\fP
-Specifies an array of \f2tKnotCount\fP nondecreasing knot values in the parametric
-\f2v\fP direction.
-.TP
-\f2sStride\fP
-Specifies the offset (as a number of single-precision floating point values)
-between successive control points in the parametric \f2u\fP direction
-in \f2control\fP.
-.TP
-\f2tStride\fP
-Specifies the offset (in single-precision floating-point values)
-between successive control points in the parametric \f2v\fP direction
-in \f2control\fP.
-.TP
-\f2control\fP
-Specifies an array containing control points for the NURBS surface.
-The offsets between successive control points in the parametric \f2u\fP
-and \f2v\fP directions are given by \f2sStride\fP and \f2tStride\fP.
-.TP
-\f2sOrder\fP
-Specifies the order of the NURBS surface in the parametric \f2u\fP
-direction. The order is one more than the degree, hence
-a surface that is cubic in \f2u\fP has a \f2u\fP order of 4.
-.TP
-\f2tOrder\fP
-Specifies the order of the NURBS surface in the parametric \f2v\fP
-direction. The order is one more than the degree, hence
-a surface that is cubic in \f2v\fP has a \f2v\fP order of 4.
-.TP
-\f2type\fP
-Specifies type of the surface. \f2type\fP can be any of the valid
-two-dimensional evaluator types (such as \%\f3GL_MAP2_VERTEX_3\fP or
-\%\f3GL_MAP2_COLOR_4\fP).
-.SH DESCRIPTION
-Use \%\f3gluNurbsSurface\fP within a NURBS (Non-Uniform Rational B-Spline) surface
-definition to describe the shape of a NURBS surface (before
-any trimming). To mark the beginning of
-a NURBS surface definition, use the \%\f3gluBeginSurface\fP command.
-To mark the end of a NURBS surface definition, use the
-\%\f3gluEndSurface\fP command. Call \%\f3gluNurbsSurface\fP within a NURBS
-surface definition only.
-.P
-Positional, texture, and color coordinates are associated
-with a surface by presenting each as a separate \%\f3gluNurbsSurface\fP between a
-\%\f3gluBeginSurface\fP/\%\f3gluEndSurface\fP pair. No more than
-one call to \%\f3gluNurbsSurface\fP for each of color, position, and texture
-data can be made within a single \%\f3gluBeginSurface\fP/\%\f3gluEndSurface\fP
-pair. Exactly one call must be made to describe the position of the
-surface (a \f2type\fP of \%\f3GL_MAP2_VERTEX_3\fP or \%\f3GL_MAP2_VERTEX_4\fP).
-.P
-A NURBS surface can be trimmed by using the commands
-\%\f3gluNurbsCurve\fP and \%\f3gluPwlCurve\fP between calls to
-\%\f3gluBeginTrim\fP and \%\f3gluEndTrim\fP.
-.P
-Note that a \%\f3gluNurbsSurface\fP with \f2sKnotCount\fP knots in the \f2u\fP direction
-and \f2tKnotCount\fP knots in the \f2v\fP direction with orders
-\f2sOrder\fP and \f2tOrder\fP must have
-(\f2sKnotCount\fP - \f2sOrder\fP) $times$ (\f2tKnotCount\fP - \f2tOrder\fP) control points.
-.SH EXAMPLE
-The following commands render a textured NURBS surface with normals;
-the texture coordinates and normals are also NURBS surfaces:
-.sp
-.Ex
-gluBeginSurface(nobj);
- gluNurbsSurface(nobj, ..., GL_MAP2_TEXTURE_COORD_2);
- gluNurbsSurface(nobj, ..., GL_MAP2_NORMAL);
- gluNurbsSurface(nobj, ..., GL_MAP2_VERTEX_4);
-gluEndSurface(nobj);
-.Ee
-.sp
-.SH SEE ALSO
-\%\f3gluBeginSurface(3G)\fP, \%\f3gluBeginTrim(3G)\fP, \%\f3gluNewNurbsRenderer(3G)\fP,
-\%\f3gluNurbsCurve(3G)\fP,
-\%\f3gluPwlCurve(3G)\fP
-
diff --git a/doc/gl-docs/GLU/ortho2d.3gl b/doc/gl-docs/GLU/ortho2d.3gl
deleted file mode 100644
index 02c38a9ee..000000000
--- a/doc/gl-docs/GLU/ortho2d.3gl
+++ /dev/null
@@ -1,41 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 ortho2d.g
-.ds Xs 62574 3 ortho2d.gl
-.TH GLUORTHO2D 3G
-.SH NAME
-.B "gluOrtho2D
-\- define a 2D orthographic projection matrix
-
-.SH C SPECIFICATION
-void \f3gluOrtho2D\fP(
-GLdouble \fIleft\fP,
-.nf
-.ta \w'\f3void \fPgluOrtho2D( 'u
- GLdouble \fIright\fP,
- GLdouble \fIbottom\fP,
- GLdouble \fItop\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2left\fP\ \f2right\fP\ \ 'u
-\f2left\fP, \f2right\fP
-Specify the coordinates for the left and right vertical clipping planes.
-.TP
-\f2bottom\fP, \f2top\fP
-Specify the coordinates for the bottom and top horizontal clipping planes.
-.SH DESCRIPTION
-\%\f3gluOrtho2D\fP sets up a two-dimensional orthographic viewing region.
-This is equivalent to calling \f3glOrtho\fP with $ near ~=~ -1 $ and
-$ far ~=~ 1 $.
-.SH SEE ALSO
-\f3glOrtho(3G)\fP, \%\f3gluPerspective(3G)\fP
-
diff --git a/doc/gl-docs/GLU/partialdisk.3gl b/doc/gl-docs/GLU/partialdisk.3gl
deleted file mode 100644
index 3794081e3..000000000
--- a/doc/gl-docs/GLU/partialdisk.3gl
+++ /dev/null
@@ -1,87 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 partialdi
-.ds Xs 56621 5 partialdisk.gl
-.TH GLUPARTIALDISK 3G
-.SH NAME
-.B "gluPartialDisk
-\- draw an arc of a disk
-
-.SH C SPECIFICATION
-void \f3gluPartialDisk\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluPartialDisk( 'u
- GLdouble \fIinner\fP,
- GLdouble \fIouter\fP,
- GLint \fIslices\fP,
- GLint \fIloops\fP,
- GLdouble \fIstart\fP,
- GLdouble \fIsweep\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIslices\fP\ \ 'u
-\f2quad\fP
-Specifies a quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2inner\fP
-Specifies the inner radius of the partial disk (can be 0).
-.TP
-\f2outer\fP
-Specifies the outer radius of the partial disk.
-.TP
-\f2slices\fP
-Specifies the number of subdivisions around the \f2z\fP axis.
-.TP
-\f2loops\fP
-Specifies the number of concentric rings about the origin into which
-the partial disk is subdivided.
-.TP
-\f2start\fP
-Specifies the starting angle, in degrees, of the disk portion.
-.TP
-\f2sweep\fP
-Specifies the sweep angle, in degrees, of the disk portion.
-.SH DESCRIPTION
-\%\f3gluPartialDisk\fP renders a partial disk on the $ z ~=~ 0 $ plane. A partial disk is
-similar to a full disk, except that only the subset of the disk from
-\f2start\fP through \f2start\fP + \f2sweep\fP is included (where 0 degrees is along the
-+\f2y\f axis,
-90 degrees along the +\f2x\fP axis, 180 degrees along the \-\f2y\fP axis, and
-270 degrees along the \-\f2x\fP axis).
-.P
-The partial disk has a radius of
-\f2outer\fP, and contains a concentric circular hole with a radius
-of \f2inner\fP. If \f2inner\fP is 0, then no hole is generated. The partial disk is
-subdivided around the \f2z\fP axis into slices (like pizza slices), and also
-about the \f2z\fP axis into rings
-(as specified by \f2slices\fP and \f2loops\fP, respectively).
-.P
-With respect to orientation, the +\f2z\fP
-side of the partial disk is considered to
-be outside (see \%\f3gluQuadricOrientation\fP).
-This means that if the
-orientation is set to \%\f3GLU_OUTSIDE\fP, then any normals generated
-point along the +\f2z\fP axis. Otherwise, they point along the \-\f2z\fP
-axis.
-.P
-If texturing is turned on (with \%\f3gluQuadricTexture\fP), texture
-coordinates are generated
-linearly such that where $ r ~=~ "outer" $, the value at (\f2r\fP, 0, 0) is
-(1.0, 0.5), at (0, \f2r\fP, 0) it is (0.5, 1.0), at (\-\f2r\fP, 0, 0)
-it is (0.0, 0.5), and
-at (0, \-\f2r\fP, 0) it is (0.5, 0.0).
-.SH SEE ALSO
-\%\f3gluCylinder(3G)\fP, \%\f3gluDisk(3G)\fP, \%\f3gluNewQuadric(3G)\fP, \%\f3gluQuadricOrientation(3G)\fP,
-\%\f3gluQuadricTexture(3G)\fP,
-\%\f3gluSphere(3G)\fP
-
diff --git a/doc/gl-docs/GLU/perspective.3gl b/doc/gl-docs/GLU/perspective.3gl
deleted file mode 100644
index e3df546ec..000000000
--- a/doc/gl-docs/GLU/perspective.3gl
+++ /dev/null
@@ -1,96 +0,0 @@
-.\" $XFree86$
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 perspecti
-.ds Xs 14699 5 perspective.gl
-.TH GLUPERSPECTIVE 3G
-.SH NAME
-.B "gluPerspective
-\- set up a perspective projection matrix
-
-.SH C SPECIFICATION
-void \f3gluPerspective\fP(
-GLdouble \fIfovy\fP,
-.nf
-.ta \w'\f3void \fPgluPerspective( 'u
- GLdouble \fIaspect\fP,
- GLdouble \fIzNear\fP,
- GLdouble \fIzFar\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIaspect\fP\ \ 'u
-\f2fovy\fP
-Specifies the field of view angle, in degrees, in the \f2y\fP direction.
-.TP
-\f2aspect\fP
-Specifies the aspect ratio that determines
-the field of view in the \f2x\fP direction.
-The aspect ratio is the ratio of \f2x\fP (width) to \f2y\fP (height).
-.TP
-\f2zNear\fP
-Specifies the distance from the viewer to the near clipping plane
-(always positive).
-.TP
-\f2zFar\fP
-Specifies the distance from the viewer to the far clipping plane
-(always positive).
-.SH DESCRIPTION
-\%\f3gluPerspective\fP specifies a viewing frustum into the world coordinate system.
-In general, the aspect ratio in \%\f3gluPerspective\fP should match the aspect ratio
-of the associated viewport. For example, $ "aspect" ~=~ 2.0 $ means
-the viewer's
-angle of view is twice as wide in \f2x\fP as it is in \f2y\fP.
-If the viewport is
-twice as wide as it is tall, it displays the image without distortion.
-.P
-The matrix generated by \%\f3gluPerspective\fP is multiplied by the current matrix,
-just as if \f3glMultMatrix\fP were called with the generated matrix.
-To load the perspective matrix onto the current matrix stack instead,
-precede the call to \%\f3gluPerspective\fP with a call to \f3glLoadIdentity\fP.
-.P
-Given \f2f\fP defined as follows:
-.sp
-.ce
-.EQ
-f ~=~ cotangent"("{"fovy" over 2}")"
-.EN
-.bp
-The generated matrix is
-.sp
-.ce
-.EQ
-left ( ~~ down 130 { matrix {
- ccol { {f over "aspect"} above 0 above 0 above 0 }
- ccol { 0 above f above 0 above 0 }
- ccol { 0 above 0 above {{"zFar" + "zNear"} over {"zNear" - "zFar"}} above -1 }
- ccol { 0 above 0 above {{2 * "zFar" * "zNear"} over {"zNear" - "zFar"}} above 0}
-}} ~~~ right )
-.EN
-
-.SH NOTES
-Depth buffer precision is affected by the values specified for
-\f2zNear\fP and \f2zFar\fP.
-The greater the ratio of \f2zFar\fP to \f2zNear\fP is,
-the less effective the depth buffer will be at distinguishing between
-surfaces that are near each other.
-If
-.sp
-.ce
-$r ~=~ "zFar" over "zNear"$
-.sp
-.P
-roughly $log sub 2 r$ bits of depth buffer precision are lost.
-Because $r$ approaches infinity as \f2zNear\fP approaches 0,
-\f2zNear\fP must never be set to 0.
-.SH SEE ALSO
-\f3glFrustum(3G)\fP, \f3glLoadIdentity(3G)\fP,
-\f3glMultMatrix(3G)\fP, \%\f3gluOrtho2D(3G)\fP
diff --git a/doc/gl-docs/GLU/pickmatrix.3gl b/doc/gl-docs/GLU/pickmatrix.3gl
deleted file mode 100644
index 3b5a15018..000000000
--- a/doc/gl-docs/GLU/pickmatrix.3gl
+++ /dev/null
@@ -1,94 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 pickmatri
-.ds Xs 64359 5 pickmatrix.gl
-.TH GLUPICKMATRIX 3G
-.SH NAME
-.B "gluPickMatrix
-\- define a picking region
-
-.SH C SPECIFICATION
-void \f3gluPickMatrix\fP(
-GLdouble \fIx\fP,
-.nf
-.ta \w'\f3void \fPgluPickMatrix( 'u
- GLdouble \fIy\fP,
- GLdouble \fIdelX\fP,
- GLdouble \fIdelY\fP,
- GLint \fI*viewport\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2x\fP\ \f2y\fP\ \ 'u
-\f2x\fP, \f2y\fP
-Specify the center of a picking region in window coordinates.
-.TP
-\f2delX\fP, \f2delY\fP
-Specify the width and height, respectively, of the picking region in window
-coordinates.
-.TP
-\f2viewport\fP
-Specifies the current viewport (as from a \f3glGetIntegerv\fP call).
-.SH DESCRIPTION
-\%\f3gluPickMatrix\fP creates a projection matrix that can be used to restrict drawing
-to a small region of the viewport.
-This is typically useful to
-determine what objects are being drawn near the cursor.
-Use \%\f3gluPickMatrix\fP to
-restrict drawing to a small region around the cursor.
-Then,
-enter selection mode (with \f3glRenderMode\fP) and rerender the scene.
-All primitives that would have been drawn near
-the cursor are identified and stored in the selection buffer.
-.P
-The matrix created by \%\f3gluPickMatrix\fP is multiplied by the current matrix just
-as if \f3glMultMatrix\fP is called with the generated matrix.
-To effectively use the generated pick matrix for picking,
-first call \f3glLoadIdentity\fP to load an identity matrix onto the
-perspective matrix stack.
-Then call \%\f3gluPickMatrix\fP,
-and finally, call a command (such as \%\f3gluPerspective\fP)
-to multiply the perspective matrix by the pick matrix.
-.P
-When using \%\f3gluPickMatrix\fP to pick NURBS, be careful to turn off the NURBS
-property
-\%\f3GLU_AUTO_LOAD_MATRIX\fP. If \%\f3GLU_AUTO_LOAD_MATRIX\fP is not
-turned off, then any NURBS surface rendered is subdivided differently with
-the pick matrix than the way it was subdivided without the pick matrix.
-.bp
-.SH EXAMPLE
-When rendering a scene as follows:
-.sp
-.Ex
-glMatrixMode(GL_PROJECTION);
-glLoadIdentity();
-gluPerspective(...);
-glMatrixMode(GL_MODELVIEW);
-/* Draw the scene */
-.Ee
-.sp
-a portion of the viewport can be selected as a pick region like this:
-.sp
-.Ex
-glMatrixMode(GL_PROJECTION);
-glLoadIdentity();
-gluPickMatrix(x, y, width, height, viewport);
-gluPerspective(...);
-glMatrixMode(GL_MODELVIEW);
-/* Draw the scene */
-.Ee
-.SH SEE ALSO
-\f3glGet(3G)\fP,
-\f3glLoadIndentity(3G)\fP,
-\f3glMultMatrix(3G)\fP,
-\f3glRenderMode(3G)\fP,
-\%\f3gluPerspective(3G)\fP
-
diff --git a/doc/gl-docs/GLU/project.3gl b/doc/gl-docs/GLU/project.3gl
deleted file mode 100644
index 2f6267c99..000000000
--- a/doc/gl-docs/GLU/project.3gl
+++ /dev/null
@@ -1,88 +0,0 @@
-.\" $XFree86$
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 project.g
-.ds Xs 21974 4 project.gl
-.TH GLUPROJECT 3G
-.SH NAME
-.B "gluProject
-\- map object coordinates to window coordinates
-
-.SH C SPECIFICATION
-GLint \f3gluProject\fP(
-GLdouble \fIobjX\fP,
-.nf
-.ta \w'\f3GLint \fPgluProject( 'u
- GLdouble \fIobjY\fP,
- GLdouble \fIobjZ\fP,
- const GLdouble \fI*model\fP,
- const GLdouble \fI*proj\fP,
- const GLint \fI*view\fP,
- GLdouble* \fIwinX\fP,
- GLdouble* \fIwinY\fP,
- GLdouble* \fIwinZ\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2objX\fP\ \f2objY\fP\ \f2objZ\fP\ \ 'u
-\f2objX\fP, \f2objY\fP, \f2objZ\fP
-Specify the object coordinates.
-.TP
-\f2model\fP
-Specifies the current modelview matrix (as from a \f3glGetDoublev\fP call).
-.TP
-\f2proj\fP
-Specifies the current projection matrix (as from a \f3glGetDoublev\fP call).
-.TP
-\f2view\fP
-Specifies the current viewport (as from a \f3glGetIntegerv\fP call).
-.TP
-\f2winX\fP, \f2winY\fP, \f2winZ\fP
-Return the computed window coordinates.
-.SH DESCRIPTION
-\%\f3gluProject\fP transforms the specified object coordinates into window coordinates
-using \f2model\fP, \f2proj\fP, and \f2view\fP. The result is stored
-in \f2winX\fP, \f2winY\fP, and \f2winZ\fP. A return value of
-\%\f3GL_TRUE\fP indicates success, a return value of \%\f3GL_FALSE\fP
-indicates failure.
-.P
-To compute the coordinates,
-let $v ~=~ ("objX", "objY", "objZ", 1.0)$
-represented as a matrix with 4 rows and 1 column.
-Then \%\f3gluProject\fP computes $v sup prime$
-as follows:
-.sp
-.EQ
-v sup prime ~=~ P ~times~ M ~times~ v
-.EN
-.sp
-where $P$ is the current projection matrix \f2proj\fP, $M$ is the current
-modelview matrix \f2model\fP (both represented as
-$4 times 4$ matrices in column-major order) and '$times$' represents
-matrix multiplication.
-.P
-The window coordinates are then computed as follows:
-.sp
-.EQ
-"winX" ~=~ "view" (0) ~+~ "view" (2) ~*~ (v sup prime (0) ~+~ 1)~/~2
-.EN
-.sp
-.EQ
-"winY" ~=~ "view" (1) ~+~ "view" (3)~*~(v sup prime (1) ~+~ 1)~/~2
-.EN
-.sp
-.EQ
-"winZ" ~=~ (v sup prime (2) ~+~ 1)~/~ 2
-.EN
-.sp
-.SH SEE ALSO
-\f3glGet(3G)\fP, \%\f3gluUnProject(3G)\fP
-
diff --git a/doc/gl-docs/GLU/pwlcurve.3gl b/doc/gl-docs/GLU/pwlcurve.3gl
deleted file mode 100644
index a30b7726f..000000000
--- a/doc/gl-docs/GLU/pwlcurve.3gl
+++ /dev/null
@@ -1,69 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 pwlcurve.
-.ds Xs 35475 4 pwlcurve.gl
-.TH GLUPWLCURVE 3G
-.SH NAME
-.B "gluPwlCurve
-\- describe a piecewise linear NURBS trimming curve
-
-.SH C SPECIFICATION
-void \f3gluPwlCurve\fP(
-GLUnurbs* \fInurb\fP,
-.nf
-.ta \w'\f3void \fPgluPwlCurve( 'u
- GLint \fIcount\fP,
- GLfloat* \fIdata\fP,
- GLint \fIstride\fP,
- GLenum \fItype\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIstride\fP\ \ 'u
-\f2nurb\fP
-Specifies the NURBS object (created with \%\f3gluNewNurbsRenderer\fP).
-.TP
-\f2count\fP
-Specifies the number of points on the curve.
-.TP
-\f2data\fP
-Specifies an array containing the curve points.
-.TP
-\f2stride\fP
-Specifies the offset (a number of single-precision floating-point values)
-between points on the curve.
-.TP
-\f2type\fP
-Specifies the type of curve.
-Must be either \%\f3GLU_MAP1_TRIM_2\fP or \%\f3GLU_MAP1_TRIM_3\fP.
-.SH DESCRIPTION
-\%\f3gluPwlCurve\fP describes a piecewise linear trimming curve for a NURBS surface.
-A piecewise linear curve consists of a list of
-coordinates of points in the parameter space for the
-NURBS surface to be trimmed. These points are connected
-with line segments to form a curve. If the curve is
-an approximation to a curve that is not piecewise linear,
-the points should be close enough in parameter space that the
-resulting path appears curved at the resolution used in the application.
-.P
-If \f2type\fP is
-\%\f3GLU_MAP1_TRIM_2\fP, then it describes a curve in two-dimensional (\f2u\fP
-and \f2v\fP) parameter space. If it is \%\f3GLU_MAP1_TRIM_3\fP, then it
-describes a curve in two-dimensional homogeneous (\f2u\fP, \f2v\fP,
-and \f2w\fP) parameter space.
-See the \%\f3gluBeginTrim\fP reference page for more information
-about trimming curves.
-.SH NOTES
-To describe a trim curve that closely follows the contours of a NURBS
-surface, call \%\f3gluNurbsCurve\fP.
-.SH SEE ALSO
-\%\f3gluBeginCurve(3G)\fP, \%\f3gluBeginTrim(3G)\fP, \%\f3gluNewNurbsRenderer(3G)\fP, \%\f3gluNurbsCurve(3G)\fP
-
diff --git a/doc/gl-docs/GLU/quadriccallback.3gl b/doc/gl-docs/GLU/quadriccallback.3gl
deleted file mode 100644
index 3976acf6d..000000000
--- a/doc/gl-docs/GLU/quadriccallback.3gl
+++ /dev/null
@@ -1,51 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 quadricca
-.ds Xs 46833 3 quadriccallback.gl
-.TH GLUQUADRICCALLBACK 3G
-.SH NAME
-.B "gluQuadricCallback
-\- define a callback for a quadrics object
-
-.SH C SPECIFICATION
-void \f3gluQuadricCallback\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluQuadricCallback( 'u
- GLenum \fIwhich\fP,
- _GLUfuncptr \fICallBackFunc\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fICallBackFunc\fP\ \ 'u
-\f2quad\fP
-Specifies the quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2which\fP
-Specifies the callback being defined.
-The only valid value is \%\f3GLU_ERROR\fP.
-.TP
-\f2CallBackFunc\fP
-Specifies the function to be called.
-.SH DESCRIPTION
-\%\f3gluQuadricCallback\fP is used to define a new callback to be used by a quadrics object.
-If the specified callback is already defined, then it is replaced. If
-\f2CallBackFunc\fP is NULL, then any existing callback is erased.
-.P
-The one legal callback is \%\f3GLU_ERROR\fP:
-.TP 15
-\%\f3GLU_ERROR\fP
-The function is called when an error is encountered. Its single argument
-is of type GLenum, and it indicates the specific error that occurred.
-Character strings describing these errors can be retrieved with the
-\%\f3gluErrorString\fP call.
-.SH SEE ALSO
-\%\f3gluErrorString(3G)\fP, \%\f3gluNewQuadric(3G)\fP
diff --git a/doc/gl-docs/GLU/quadricdrawstyle.3gl b/doc/gl-docs/GLU/quadricdrawstyle.3gl
deleted file mode 100644
index 6fa2a3423..000000000
--- a/doc/gl-docs/GLU/quadricdrawstyle.3gl
+++ /dev/null
@@ -1,57 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 quadricdr
-.ds Xs 39695 4 quadricdrawstyle.gl
-.TH GLUQUADRICDRAWSTYLE 3G
-.SH NAME
-.B "gluQuadricDrawStyle
-\- specify the draw style desired for quadrics
-
-.SH C SPECIFICATION
-void \f3gluQuadricDrawStyle\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluQuadricDrawStyle( 'u
- GLenum \fIdraw\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2quad\fP\ \ 'u
-\f2quad\fP
-Specifies the quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2draw\fP
-Specifies the desired draw style. Valid values are
-\%\f3GLU_FILL\fP,
-\%\f3GLU_LINE\fP,
-\%\f3GLU_SILHOUETTE\fP, and
-\%\f3GLU_POINT\fP.
-.SH DESCRIPTION
-\%\f3gluQuadricDrawStyle\fP specifies the draw style for quadrics rendered with
-\f2quad\fP. The legal values are as follows:
-.TP 15
-\%\f3GLU_FILL\fP
-Quadrics are rendered with polygon primitives. The polygons
-are drawn in a counterclockwise fashion with respect to their
-normals (as defined with \%\f3gluQuadricOrientation\fP).
-.TP
-\%\f3GLU_LINE\fP
-Quadrics are rendered as a set of lines.
-.TP
-\%\f3GLU_SILHOUETTE\fP
-Quadrics are rendered as a set of lines, except that edges separating
-coplanar faces will not be drawn.
-.TP
-\%\f3GLU_POINT\fP
-Quadrics are rendered as a set of points.
-.SH SEE ALSO
-\%\f3gluNewQuadric(3G)\fP, \%\f3gluQuadricNormals(3G)\fP, \%\f3gluQuadricOrientation(3G)\fP,
-\%\f3gluQuadricTexture(3G)\fP
diff --git a/doc/gl-docs/GLU/quadricnormals.3gl b/doc/gl-docs/GLU/quadricnormals.3gl
deleted file mode 100644
index 9e09fd439..000000000
--- a/doc/gl-docs/GLU/quadricnormals.3gl
+++ /dev/null
@@ -1,51 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 quadricno
-.ds Xs 40719 3 quadricnormals.gl
-.TH GLUQUADRICNORMALS 3G
-.SH NAME
-.B "gluQuadricNormals
-\- specify what kind of normals are desired for quadrics
-
-.SH C SPECIFICATION
-void \f3gluQuadricNormals\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluQuadricNormals( 'u
- GLenum \fInormal\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fInormal\fP\ \ 'u
-\f2quad\fP
-Specifes the quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2normal\fP
-Specifies the desired type of normals. Valid values are
-\%\f3GLU_NONE\fP,
-\%\f3GLU_FLAT\fP, and
-\%\f3GLU_SMOOTH\fP.
-.SH DESCRIPTION
-\%\f3gluQuadricNormals\fP specifies what kind of normals are desired for quadrics rendered with
-\f2quad\fP. The legal values are as follows:
-.TP 15
-\%\f3GLU_NONE\fP
-No normals are generated.
-.TP
-\%\f3GLU_FLAT\fP
-One normal is generated for every facet of a quadric.
-.TP
-\%\f3GLU_SMOOTH\fP
-One normal is generated for every vertex of a quadric. This is the
-initial value.
-.SH SEE ALSO
-\%\f3gluNewQuadric(3G)\fP, \%\f3gluQuadricDrawStyle(3G)\fP, \%\f3gluQuadricOrientation(3G)\fP,
-\%\f3gluQuadricTexture(3G)\fP
diff --git a/doc/gl-docs/GLU/quadricorientation.3gl b/doc/gl-docs/GLU/quadricorientation.3gl
deleted file mode 100644
index 1de2ad220..000000000
--- a/doc/gl-docs/GLU/quadricorientation.3gl
+++ /dev/null
@@ -1,49 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 quadricor
-.ds Xs 27503 3 quadricorientation.gl
-.TH GLUQUADRICORIENTATION 3G
-.SH NAME
-.B "gluQuadricOrientation
-\- specify inside/outside orientation for quadrics
-
-.SH C SPECIFICATION
-void \f3gluQuadricOrientation\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluQuadricOrientation( 'u
- GLenum \fIorientation\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIorientation\fP\ \ 'u
-\f2quad\fP
-Specifies the quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2orientation\fP
-Specifies the desired orientation. Valid values are
-\%\f3GLU_OUTSIDE\fP and
-\%\f3GLU_INSIDE\fP.
-.SH DESCRIPTION
-\%\f3gluQuadricOrientation\fP specifies what kind of orientation is desired for quadrics rendered
-with \f2quad\fP. The \f2orientation\fP values are as follows:
-.TP 15
-\%\f3GLU_OUTSIDE\fP
-Quadrics are drawn with normals pointing outward (the initial value).
-.TP
-\%\f3GLU_INSIDE\fP
-Quadrics are drawn with normals pointing inward.
-.P
-Note that the interpretation of \f2outward\fP and \f2inward\fP depends on the
-quadric being drawn.
-.SH SEE ALSO
-\%\f3gluNewQuadric(3G)\fP, \%\f3gluQuadricDrawStyle(3G)\fP, \%\f3gluQuadricNormals(3G)\fP,
-\%\f3gluQuadricTexture(3G)\fP
diff --git a/doc/gl-docs/GLU/quadrictexture.3gl b/doc/gl-docs/GLU/quadrictexture.3gl
deleted file mode 100644
index 3f5c77f51..000000000
--- a/doc/gl-docs/GLU/quadrictexture.3gl
+++ /dev/null
@@ -1,45 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 quadricte
-.ds Xs 18441 3 quadrictexture.gl
-.TH GLUQUADRICTEXTURE 3G
-.SH NAME
-.B "gluQuadricTexture
-\- specify if texturing is desired for quadrics
-
-.SH C SPECIFICATION
-void \f3gluQuadricTexture\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluQuadricTexture( 'u
- GLboolean \fItexture\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fItexture\fP\ \ 'u
-\f2quad\fP
-Specifies the quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2texture\fP
-Specifies a flag indicating if texture coordinates should be generated.
-.SH DESCRIPTION
-\%\f3gluQuadricTexture\fP specifies if texture coordinates should be generated
-for quadrics rendered with \f2quad\fP.
-If the value of \f2texture\fP is \%\f3GL_TRUE\fP, then texture coordinates
-are generated, and if \f2texture\fP is \%\f3GL_FALSE\fP, they are not. The
-initial value is \%\f3GL_FALSE\fP.
-.P
-The manner in which texture coordinates are generated depends
-upon the specific quadric rendered.
-.SH SEE ALSO
-\%\f3gluNewQuadric(3G)\fP, \%\f3gluQuadricDrawStyle(3G)\fP, \%\f3gluQuadricNormals(3G)\fP,
-\%\f3gluQuadricOrientation(3G)\fP
-
diff --git a/doc/gl-docs/GLU/scaleimage.3gl b/doc/gl-docs/GLU/scaleimage.3gl
deleted file mode 100644
index e71e1ab00..000000000
--- a/doc/gl-docs/GLU/scaleimage.3gl
+++ /dev/null
@@ -1,172 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 scaleimag
-.ds Xs 38480 7 scaleimage.gl
-.TH GLUSCALEIMAGE 3G
-.SH NAME
-.B "gluScaleImage
-\- scale an image to an arbitrary size
-
-.SH C SPECIFICATION
-GLint \f3gluScaleImage\fP(
-GLenum \fIformat\fP,
-.nf
-.ta \w'\f3GLint \fPgluScaleImage( 'u
- GLsizei \fIwIn\fP,
- GLsizei \fIhIn\fP,
- GLenum \fItypeIn\fP,
- const void \fI*dataIn\fP,
- GLsizei \fIwOut\fP,
- GLsizei \fIhOut\fP,
- GLenum \fItypeOut\fP,
- GLvoid* \fIdataOut\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fItypeOut\fP\ \ 'u
-\f2format\fP
-Specifies the of the pixel data.
-The following symbolic values are valid:
-\%\f3GL_COLOR_INDEX\fP,
-\%\f3GL_STENCIL_INDEX\fP,
-\%\f3GL_DEPTH_COMPONENT\fP,
-\%\f3GL_RED\fP,
-\%\f3GL_GREEN\fP,
-\%\f3GL_BLUE\fP,
-\%\f3GL_ALPHA\fP,
-\%\f3GL_RGB\fP,
-\%\f3GL_RGBA\fP,
-\%\f3GL_BGR\fP,
-\%\f3GL_BGRA\fP,
-\%\f3GL_LUMINANCE\fP, and
-\%\f3GL_LUMINANCE_ALPHA\fP.
-.TP
-\f2wIn\fP, \f2hIn\fP
-Specify in pixels the width and height, respectively, of the source image.
-.TP
-\f2typeIn\fP
-Specifies the data type for \f2dataIn\fP. Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2dataIn\fP
-Specifies a pointer to the source image.
-.TP
-\f2wOut\fP, \f2hOut\fP
-Specify the width and height, respectively, in pixels of the destination image.
-.TP
-\f2typeOut\fP
-Specifies the data type for \f2dataOut\fP. Must be one of
-\%\f3GL_UNSIGNED_BYTE\fP,
-\%\f3GL_BYTE\fP,
-\%\f3GL_BITMAP\fP,
-\%\f3GL_UNSIGNED_SHORT\fP,
-\%\f3GL_SHORT\fP,
-\%\f3GL_UNSIGNED_INT\fP,
-\%\f3GL_INT\fP,
-\%\f3GL_FLOAT\fP,
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, or
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP.
-.TP
-\f2dataOut\fP
-Specifies a pointer to the destination image.
-.SH DESCRIPTION
-\%\f3gluScaleImage\fP scales a pixel image using the appropriate pixel store modes to
-unpack data from the source image and pack data into the destination image.
-.P
-When shrinking an image, \%\f3gluScaleImage\fP uses a box filter to sample the source image
-and create pixels for the destination image. When magnifying an image,
-the pixels from the source image are linearly interpolated to create the
-destination image.
-.P
-A return value of zero indicates success, otherwise a GLU error code is returned (see \%\f3gluErrorString\fP).
-.P
-See the \f3glReadPixels\fP reference page for a description of
-the acceptable values for the \f2format\fP, \f2typeIn\fP, and \f2typeOut\fP parameters.
-.SH NOTES
-Formats \%\f3GL_BGR\fP, and \%\f3GL_BGRA\fP, and types
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP,
-\%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP,
-\%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP,
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP,
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP,
-\%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP,
-\%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP,
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP, and
-\%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP are only available if the GL version
-is 1.2 or greater.
-.SH ERRORS
-\%\f3GLU_INVALID_VALUE\fP is returned if \f2wIn\fP, \f2hIn\fP, \f2wOut\fP, or \f2hOut\fP
-is negative.
-.P
-\%\f3GLU_INVALID_ENUM\fP is returned if \f2format\fP, \f2typeIn\fP, or \f2typeOut\fP is not
-legal.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2typeIn\fP or \f2typeOut\fP is
-\%\f3GL_UNSIGNED_BYTE_3_3_2\fP or \%\f3GL_UNSIGNED_BYTE_2_3_3_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2typeIn\fP or \f2typeOut\fP is
-\%\f3GL_UNSIGNED_SHORT_5_6_5\fP or \%\f3GL_UNSIGNED_SHORT_5_6_5_REV\fP
-and \f2format\fP is not \%\f3GL_RGB\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2typeIn\fP or \f2typeOut\fP is
-\%\f3GL_UNSIGNED_SHORT_4_4_4_4\fP or \%\f3GL_UNSIGNED_SHORT_4_4_4_4_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2typeIn\fP or \f2typeOut\fP is
-\%\f3GL_UNSIGNED_SHORT_5_5_5_1\fP or \%\f3GL_UNSIGNED_SHORT_1_5_5_5_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2typeIn\fP or \f2typeOut\fP is
-\%\f3GL_UNSIGNED_INT_8_8_8_8\fP or \%\f3GL_UNSIGNED_INT_8_8_8_8_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.P
-\%\f3GLU_INVALID_OPERATION\fP is returned if \f2typeIn\fP or \f2typeOut\fP is
-\%\f3GL_UNSIGNED_INT_10_10_10_2\fP or \%\f3GL_UNSIGNED_INT_2_10_10_10_REV\fP
-and \f2format\fP is neither \%\f3GL_RGBA\fP nor \%\f3GL_BGRA\fP.
-.SH SEE ALSO
-\f3glDrawPixels(3G)\fP, \f3glReadPixels(3G)\fP, \%\f3gluBuild1DMipmaps(3G)\fP, \%\f3gluBuild2DMipmaps(3G)\fP,
-\%\f3gluBuild3DMipmaps(3G)\fP,
-.BR
-\%\f3gluErrorString(3G)\fP
-
diff --git a/doc/gl-docs/GLU/sphere.3gl b/doc/gl-docs/GLU/sphere.3gl
deleted file mode 100644
index 229cee65c..000000000
--- a/doc/gl-docs/GLU/sphere.3gl
+++ /dev/null
@@ -1,66 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 sphere.gl
-.ds Xs 36748 4 sphere.gl
-.TH GLUSPHERE 3G
-.SH NAME
-.B "gluSphere
-\- draw a sphere
-
-.SH C SPECIFICATION
-void \f3gluSphere\fP(
-GLUquadric* \fIquad\fP,
-.nf
-.ta \w'\f3void \fPgluSphere( 'u
- GLdouble \fIradius\fP,
- GLint \fIslices\fP,
- GLint \fIstacks\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIradius\fP\ \ 'u
-\f2quad\fP
-Specifies the quadrics object (created with \%\f3gluNewQuadric\fP).
-.TP
-\f2radius\fP
-Specifies the radius of the sphere.
-.TP
-\f2slices\fP
-Specifies the number of subdivisions around the \f2z\fP axis
-(similar to lines of longitude).
-.TP
-\f2stacks\fP
-Specifies the number of subdivisions along the \f2z\fP axis
-(similar to lines of latitude).
-.SH DESCRIPTION
-\%\f3gluSphere\fP draws a sphere of the given radius centered around the origin. The
-sphere is subdivided around the \f2z\fP axis into slices and along the
-\f2z\fP axis
-into stacks (similar to lines of longitude and latitude).
-.P
-If the orientation is set to \%\f3GLU_OUTSIDE\fP
-(with \%\f3gluQuadricOrientation\fP), then any normals generated
-point away from the center of the sphere.
-Otherwise, they point toward the center of the sphere.
-.P
-If texturing is turned on (with \%\f3gluQuadricTexture\fP), then texture
-coordinates are
-generated so that \f2t\fP ranges from 0.0 at $ z ~=~ -^"radius" $ to 1.0 at
-$ z ~=~ "radius" $ (\f2t\fP increases linearly along longitudinal
-lines),
-and \f2s\fP ranges from 0.0 at the +\f2y\fP axis, to 0.25 at the
-+\f2x\fP axis,
-to 0.5 at the \-\f2y\fP axis, to 0.75 at the \-\f2x\fP axis, and back to 1.0
-at the +\f2y\fP axis.
-.SH SEE ALSO
-\%\f3gluCylinder(3G)\fP, \%\f3gluDisk(3G)\fP, \%\f3gluNewQuadric(3G)\fP,
-\%\f3gluPartialDisk(3G)\fP, \%\f3gluQuadricOrientation(3G)\fP,
-\%\f3gluQuadricTexture(3G)\fP
diff --git a/doc/gl-docs/GLU/tessbegincontour.3gl b/doc/gl-docs/GLU/tessbegincontour.3gl
deleted file mode 100644
index 0f0b7f07a..000000000
--- a/doc/gl-docs/GLU/tessbegincontour.3gl
+++ /dev/null
@@ -1,44 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 tessbegin
-.ds Xs 52199 3 tessbegincontour.gl
-.TH GLUTESSBEGINCONTOUR 3G
-.SH NAME
-.B "gluTessBeginContour, gluTessEndContour
-\- delimit a contour description
-
-.SH C SPECIFICATION
-void \f3gluTessBeginContour\fP(
-GLUtesselator* \fItess\fP )
-.nf
-.fi
-
-void \f3gluTessEndContour\fP(
-GLUtesselator* \fItess\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2tess\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.SH DESCRIPTION
-\%\f3gluTessBeginContour\fP and \%\f3gluTessEndContour\fP delimit the definition of a
-polygon contour. Within each \%\f3gluTessBeginContour\fP/\%\f3gluTessEndContour\fP
-pair, there can be zero or more calls to \%\f3gluTessVertex\fP. The vertices
-specify a closed contour (the last vertex of each contour is automatically linked
-to the first). See the \%\f3gluTessVertex\fP reference page for more details.
-\%\f3gluTessBeginContour\fP can only be called between \%\f3gluTessBeginPolygon\fP and \%\f3gluTessEndPolygon\fP.
-.SH SEE ALSO
-\%\f3gluNewTess(3G)\fP, \%\f3gluTessBeginPolygon(3G)\fP, \%\f3gluTessVertex(3G)\fP,
-\%\f3gluTessCallback(3G)\fP,
-\%\f3gluTessProperty(3G)\fP, \%\f3gluTessNormal(3G)\fP,
-\%\f3gluTessEndPolygon\fP
diff --git a/doc/gl-docs/GLU/tessbeginpolygon.3gl b/doc/gl-docs/GLU/tessbeginpolygon.3gl
deleted file mode 100644
index 8adf8550b..000000000
--- a/doc/gl-docs/GLU/tessbeginpolygon.3gl
+++ /dev/null
@@ -1,73 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 tessbegin
-.ds Xs 55678 4 tessbeginpolygon.gl
-.TH GLUTESSBEGINPOLYGON 3G
-.SH NAME
-.B "gluTessBeginPolygon
-\- delimit a polygon description
-
-.SH C SPECIFICATION
-void \f3gluTessBeginPolygon\fP(
-GLUtesselator* \fItess\fP,
-.nf
-.ta \w'\f3void \fPgluTessBeginPolygon( 'u
- GLvoid* \fIdata\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2tess\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.TP
-\f2data\fP
-Specifies a pointer to user polygon data.
-.SH DESCRIPTION
-\%\f3gluTessBeginPolygon\fP and \%\f3gluTessEndPolygon\fP delimit the definition of a
-convex, concave or self-intersecting polygon. Within each \%\f3gluTessBeginPolygon\fP/\%\f3gluTessEndPolygon\fP
-pair, there must be one or more calls to \%\f3gluTessBeginContour\fP/\%\f3gluTessEndContour\fP.
-Within each contour, there are zero or more calls to \%\f3gluTessVertex\fP. The vertices
-specify a closed contour (the last vertex of each contour is automatically linked
-to the first). See the \%\f3gluTessVertex\fP, \%\f3gluTessBeginContour\fP, and
-\%\f3gluTessEndContour\fP reference pages for more details.
-.P
-\f2data\fP is a pointer to a user-defined data structure. If the appropriate callback(s)
-are specified (see \%\f3gluTessCallback\fP), then this pointer is returned to the
-callback function(s). Thus, it is a convenient way to store per-polygon information.
-.P
-Once \%\f3gluTessEndPolygon\fP is called, the polygon is tessellated, and the
-resulting triangles are described through callbacks.
-See \%\f3gluTessCallback\fP for descriptions of the callback functions.
-.SH EXAMPLE
-A quadrilateral with a triangular hole in it can be described as follows:
-.sp
-.Ex
-gluTessBeginPolygon(tobj, NULL);
- gluTessBeginContour(tobj);
- gluTessVertex(tobj, v1, v1);
- gluTessVertex(tobj, v2, v2);
- gluTessVertex(tobj, v3, v3);
- gluTessVertex(tobj, v4, v4);
- gluTessEndContour(tobj);
-.bp
- gluTessBeginContour(tobj);
- gluTessVertex(tobj, v5, v5);
- gluTessVertex(tobj, v6, v6);
- gluTessVertex(tobj, v7, v7);
- gluTessEndContour(tobj);
-gluTessEndPolygon(tobj);
-.Ee
-.sp
-.SH SEE ALSO
-\%\f3gluNewTess(3G)\fP, \%\f3gluTessBeginContour(3G)\fP, \%\f3gluTessVertex(3G)\fP,
-\%\f3gluTessCallback(3G)\fP,
-\%\f3gluTessProperty(3G)\fP, \%\f3gluTessNormal(3G)\fP,
-\%\f3gluTessEndPolygon(3G)\fP
diff --git a/doc/gl-docs/GLU/tesscallback.3gl b/doc/gl-docs/GLU/tesscallback.3gl
deleted file mode 100644
index 67325f6d6..000000000
--- a/doc/gl-docs/GLU/tesscallback.3gl
+++ /dev/null
@@ -1,294 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 tesscallb
-.ds Xs 14825 12 tesscallback.gl
-.TH GLUTESSCALLBACK 3G
-.SH NAME
-.B "gluTessCallback
-\- define a callback for a tessellation object
-
-.SH C SPECIFICATION
-void \f3gluTessCallback\fP(
-GLUtesselator* \fItess\fP,
-.nf
-.ta \w'\f3void \fPgluTessCallback( 'u
- GLenum \fIwhich\fP,
- _GLUfuncptr \fICallBackFunc\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fICallBackFunc\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.TP
-\f2which\fP
-Specifies the callback being defined. The following values are valid:
-\%\f3GLU_TESS_BEGIN\fP,
-\%\f3GLU_TESS_BEGIN_DATA\fP,
-\%\f3GLU_TESS_EDGE_FLAG\fP,
-\%\f3GLU_TESS_EDGE_FLAG_DATA\fP,
-\%\f3GLU_TESS_VERTEX\fP,
-\%\f3GLU_TESS_VERTEX_DATA\fP,
-\%\f3GLU_TESS_END\fP,
-\%\f3GLU_TESS_END_DATA\fP,
-\%\f3GLU_TESS_COMBINE\fP,
-\%\f3GLU_TESS_COMBINE_DATA\fP,
-\%\f3GLU_TESS_ERROR\fP, and
-\%\f3GLU_TESS_ERROR_DATA\fP.
-.TP
-\f2CallBackFunc\fP
-Specifies the function to be called.
-.SH DESCRIPTION
-\%\f3gluTessCallback\fP is used to indicate a callback to be used by a tessellation object.
-If the specified callback is already defined, then it is replaced. If
-\f2CallBackFunc\fP is NULL, then the existing callback becomes undefined.
-.P
-These callbacks are used by the tessellation object to describe how a
-polygon specified by the user is broken into triangles. Note that there
-are two versions of each callback: one with user-specified polygon data
-and one without. If both versions of a particular callback are specified,
-then the callback with user-specified polygon data will be used. Note
-that the \f2polygon_data\fP parameter used by some of the functions is
-a copy of the pointer that was specified when
-\%\f3gluTessBeginPolygon\fP was called. The legal callbacks are as follows:
-.TP 10
-\%\f3GLU_TESS_BEGIN\fP
-The begin callback is invoked like \f3glBegin\fP to indicate the start of
-a (triangle) primitive. The function takes a single argument of type
-GLenum. If the \%\f3GLU_TESS_BOUNDARY_ONLY\fP property is set to
-\%\f3GL_FALSE\fP, then the argument is set to either
-\%\f3GL_TRIANGLE_FAN\fP, \%\f3GL_TRIANGLE_STRIP\fP, or \%\f3GL_TRIANGLES\fP. If
-the \%\f3GLU_TESS_BOUNDARY_ONLY\fP property is set to \%\f3GL_TRUE\fP,
-then the argument will be set to \%\f3GL_LINE_LOOP\fP. The function
-prototype for this callback is:
-.RS
-.Ex
-void begin ( GLenum type );
-.Ee
-.RE
-.TP
-\%\f3GLU_TESS_BEGIN_DATA\fP
-The same as the \%\f3GLU_TESS_BEGIN\fP callback except that it
-takes an additional pointer argument. This pointer is identical to the
-opaque pointer provided when
-\%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback
-is:
-.RS
-.Ex
-void beginData ( GLenum type, void *polygon_data );
-.Ee
-.RE
-.TP
-\%\f3GLU_TESS_EDGE_FLAG\fP
-The edge flag callback is similar to \f3glEdgeFlag\fP. The function
-takes a single boolean flag that indicates which edges lie on the
-polygon boundary. If the flag is \%\f3GL_TRUE\fP, then each vertex
-that follows begins an edge that lies on the polygon boundary, that is,
-an edge that separates an interior region from an exterior one.
-If the flag is \%\f3GL_FALSE\fP, then each vertex that follows begins an edge
-that lies in the polygon interior. The edge flag callback (if defined) is
-invoked before the first vertex callback.
-.IP
-Since triangle fans and triangle strips do not support edge flags, the begin
-callback is not called with \%\f3GL_TRIANGLE_FAN\fP or \%\f3GL_TRIANGLE_STRIP\fP
-if a non-NULL edge flag callback is provided. (If the callback is
-initialized to NULL, there is no impact on performance). Instead, the fans and
-strips are converted to independent triangles. The function prototype
-for this callback is:
-.RS
-.Ex
-void edgeFlag ( GLboolean flag );
-.Ee
-.RE
-.TP
-\%\f3GLU_TESS_EDGE_FLAG_DATA\fP
-The same as the \%\f3GLU_TESS_EDGE_FLAG\fP callback except that it takes an additional pointer
-argument. This pointer is identical to the opaque pointer provided when
-\%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback
-is:
-.RS
-.Ex
-void edgeFlagData ( GLboolean flag, void *polygon_data );
-.Ee
-.RE
-.TP
-\%\f3GLU_TESS_VERTEX\fP
-The vertex callback is invoked between the begin and end callbacks.
-It is similar to \f3glVertex\fP, and it defines the vertices of the triangles
-created by the tessellation process. The function
-takes a pointer as its only argument. This pointer is identical to
-the opaque pointer provided by the user when the vertex was described
-(see \%\f3gluTessVertex\fP). The function prototype for this callback is:
-.RS
-.Ex
-void vertex ( void *vertex_data );
-.Ee
-.RE
-.TP
-\%\f3GLU_TESS_VERTEX_DATA\fP
-The same as the \%\f3GLU_TESS_VERTEX\fP callback except that it takes an additional pointer
-argument. This pointer is identical to the opaque pointer provided when
-\%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback
-is:
-.RS
-.Ex
-void vertexData ( void *vertex_data, void *polygon_data );
-.Ee
-.RE
-.TP
-\%\f3GLU_TESS_END\fP
-The end callback serves the same purpose as \f3glEnd\fP. It indicates the
-end of a primitive and it takes no arguments. The function prototype for this
-callback is:
-.RS
-.Ex
-void end ( void );
-.Ee
-.RE
-.TP
-\%\f3GLU_TESS_END_DATA\fP
-The same as the \%\f3GLU_TESS_END\fP callback except that it takes an additional pointer
-argument. This pointer is identical to the opaque pointer provided when
-\%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback
-is:
-.RS
-.Ex
-void endData ( void *polygon_data);
-.Ee
-.RE
-.TP 10
-\%\f3GLU_TESS_COMBINE\fP
-The combine callback is called to create a new vertex when the tessellation
-detects an intersection, or wishes to merge features. The function takes
-four arguments: an array of three elements each of type GLdouble, an array
-of four pointers, an array of four elements each of type GLfloat, and a
-pointer to a pointer. The prototype is:
-.RS
-.Ex
-void combine( GLdouble coords[3], void *vertex_data[4],
- GLfloat weight[4], void **outData );
-.Ee
-.RE
-.IP
-The vertex is defined as a linear combination of up to four existing vertices,
-stored in \f2vertex_data\fP. The coefficients of the linear
-combination are given by \f2weight\fP; these weights always add up to 1.
-All vertex pointers are valid even when some of the weights are 0.
-\f2coords\fP gives the location of the new vertex.
-.IP
-The user must allocate another vertex, interpolate parameters using
-\f2vertex_data\fP and \f2weight\fP, and return the new vertex pointer in
-\f2outData\fP. This handle is supplied during rendering callbacks.
-The user is responsible for freeing the memory some time after
-\%\f3gluTessEndPolygon\fP is called.
-.IP
-For example, if the polygon lies in an arbitrary plane in 3-space,
-and a color is associated with each vertex, the
-\%\f3GLU_TESS_COMBINE\fP callback might look like this:
-.RS
-.Ex
-void myCombine( GLdouble coords[3], VERTEX *d[4],
- GLfloat w[4], VERTEX **dataOut )
-{
- VERTEX *new = new_vertex();
-
- new->x = coords[0];
- new->y = coords[1];
- new->z = coords[2];
- new->r = w[0]*d[0]->r + w[1]*d[1]->r + w[2]*d[2]->r + w[3]*d[3]->r;
- new->g = w[0]*d[0]->g + w[1]*d[1]->g + w[2]*d[2]->g + w[3]*d[3]->g;
- new->b = w[0]*d[0]->b + w[1]*d[1]->b + w[2]*d[2]->b + w[3]*d[3]->b;
- new->a = w[0]*d[0]->a + w[1]*d[1]->a + w[2]*d[2]->a + w[3]*d[3]->a;
- *dataOut = new;
-}
-.Ee
-.RE
-.IP
-If the tessellation detects an intersection, then the \%\f3GLU_TESS_COMBINE\fP or
-\%\f3GLU_TESS_COMBINE_DATA\fP callback (see below) must be defined, and it must
-write a non-NULL pointer into \f2dataOut\fP. Otherwise the
-\%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP error occurs, and no
-output is generated.
-.TP
-\%\f3GLU_TESS_COMBINE_DATA\fP
-The same as the \%\f3GLU_TESS_COMBINE\fP callback except that it takes an additional pointer
-argument. This pointer is identical to the opaque pointer provided when
-\%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback
-is:
-.RS
-.Ex
-void combineData ( GLdouble coords[3], void *vertex_data[4],
- GLfloat weight[4], void **outData,
- void *polygon_data );
-.Ee
-.RE
-.TP 10
-\%\f3GLU_TESS_ERROR\fP
-The error callback is called when an error is encountered. The one argument
-is of type GLenum; it indicates the specific error that occurred and will be
-set to one of \%\f3GLU_TESS_MISSING_BEGIN_POLYGON\fP, \%\f3GLU_TESS_MISSING_END_POLYGON\fP,
-\%\f3GLU_TESS_MISSING_BEGIN_CONTOUR\fP, \%\f3GLU_TESS_MISSING_END_CONTOUR\fP,
-\%\f3GLU_TESS_COORD_TOO_LARGE\fP, \%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP or
-\%\f3GLU_OUT_OF_MEMORY\fP. Character
-strings describing these errors can be retrieved with the
-\%\f3gluErrorString\fP call. The function prototype for this callback is:
-.RS
-.Ex
-void error ( GLenum errno );
-.Ee
-.RE
-.IP
-The GLU library will recover from the first four
-errors by inserting the missing call(s).
-\%\f3GLU_TESS_COORD_TOO_LARGE\fP indicates that some vertex coordinate exceeded
-the predefined constant \%\f3GLU_TESS_MAX_COORD\fP in absolute value, and
-that the value has been clamped. (Coordinate values must be small
-enough so that two can be multiplied together without overflow.)
-\%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP indicates that the tessellation
-detected an intersection between two edges in the input data, and the
-\%\f3GLU_TESS_COMBINE\fP or \%\f3GLU_TESS_COMBINE_DATA\fP callback was
-not provided. No output is generated. \%\f3GLU_OUT_OF_MEMORY\fP indicates
-that there is not enough memory so no output is generated.
-.TP
-\%\f3GLU_TESS_ERROR_DATA\fP
-The same as the \%\f3GLU_TESS_ERROR\fP callback except that it takes an additional pointer
-argument. This pointer is identical to the opaque pointer provided when
-\%\f3gluTessBeginPolygon\fP was called. The function prototype for this callback
-is:
-.RS
-.Ex
-void errorData ( GLenum errno, void *polygon_data );
-.Ee
-.RE
-.SH EXAMPLE
-Polygons tessellated can be rendered directly like this:
-.sp
-.Ex
-gluTessCallback(tobj, GLU_TESS_BEGIN, glBegin);
-gluTessCallback(tobj, GLU_TESS_VERTEX, glVertex3dv);
-gluTessCallback(tobj, GLU_TESS_END, glEnd);
-gluTessCallback(tobj, GLU_TESS_COMBINE, myCombine);
-gluTessBeginPolygon(tobj, NULL);
- gluTessBeginContour(tobj);
- gluTessVertex(tobj, v, v);
- ...
- gluTessEndContour(tobj);
-gluTessEndPolygon(tobj);
-.Ee
-.sp
-Typically, the tessellated polygon should be stored in a display list so that
-it does not need to be retessellated every time it is rendered.
-.SH SEE ALSO
-\f3glBegin(3G)\fP, \f3glEdgeFlag(3G)\fP, \f3glVertex(3G)\fP, \%\f3gluNewTess(3G)\fP,
-\%\f3gluErrorString(3G)\fP, \%\f3gluTessVertex(3G)\fP,
-\%\f3gluTessBeginPolygon(3G)\fP,
-\%\f3gluTessBeginContour(3G)\fP, \%\f3gluTessProperty(3G)\fP, \%\f3gluTessNormal(3G)\fP
-
diff --git a/doc/gl-docs/GLU/tessendpolygon.3gl b/doc/gl-docs/GLU/tessendpolygon.3gl
deleted file mode 100644
index e334e401a..000000000
--- a/doc/gl-docs/GLU/tessendpolygon.3gl
+++ /dev/null
@@ -1,68 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 tessendpo
-.ds Xs 16616 4 tessendpolygon.gl
-.TH GLUTESSENDPOLYGON 3G
-.SH NAME
-.B "gluTessEndPolygon
-\- delimit a polygon description
-
-.SH C SPECIFICATION
-void \f3gluTessEndPolygon\fP(
-GLUtesselator* \fItess\fP )
-.nf
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2tess\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.SH DESCRIPTION
-\%\f3gluTessBeginPolygon\fP and \%\f3gluTessEndPolygon\fP delimit the definition of a
-convex, concave or self-intersecting polygon. Within each \%\f3gluTessBeginPolygon\fP/\%\f3gluTessEndPolygon\fP
-pair, there must be one or more calls to \%\f3gluTessBeginContour\fP/\%\f3gluTessEndContour\fP.
-Within each contour, there are zero or more calls to \%\f3gluTessVertex\fP. The vertices
-specify a closed contour (the last vertex of each contour is automatically linked
-to the first). See the \%\f3gluTessVertex\fP, \%\f3gluTessBeginContour\fP and
-\%\f3gluTessEndContour\fP reference pages for more details.
-.P
-Once \%\f3gluTessEndPolygon\fP is called, the polygon is tessellated, and the
-resulting triangles are described through callbacks.
-See \%\f3gluTessCallback\fP for descriptions of the callback functions.
-.SH EXAMPLE
-A quadrilateral with a triangular hole in it can be described like this:
-.sp
-.Ex
-gluTessBeginPolygon(tobj, NULL);
- gluTessBeginContour(tobj);
- gluTessVertex(tobj, v1, v1);
- gluTessVertex(tobj, v2, v2);
- gluTessVertex(tobj, v3, v3);
- gluTessVertex(tobj, v4, v4);
- gluTessEndContour(tobj);
- gluTessBeginContour(tobj);
- gluTessVertex(tobj, v5, v5);
- gluTessVertex(tobj, v6, v6);
- gluTessVertex(tobj, v7, v7);
- gluTessEndContour(tobj);
-gluTessEndPolygon(tobj);
-.Ee
-.bp
-In the above example the pointers, $v1$ through $v7$,
-should point to different
-addresses,
-since the values stored at these addresses will not be read by
-the tesselator until \%\f3gluTessEndPolygon\fP is called.
-.SH SEE ALSO
-\%\f3gluNewTess(3G)\fP, \%\f3gluTessBeginContour(3G)\fP, \%\f3gluTessVertex(3G)\fP,
-\%\f3gluTessCallback(3G)\fP,
-\%\f3gluTessProperty(3G)\fP, \%\f3gluTessNormal(3G)\fP,
-\%\f3gluTessBeginPolygon(3G)\fP
diff --git a/doc/gl-docs/GLU/tessnormal.3gl b/doc/gl-docs/GLU/tessnormal.3gl
deleted file mode 100644
index 4d98298b4..000000000
--- a/doc/gl-docs/GLU/tessnormal.3gl
+++ /dev/null
@@ -1,67 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 tessnorma
-.ds Xs 47097 4 tessnormal.gl
-.TH GLUTESSNORMAL 3G
-.SH NAME
-.B "gluTessNormal
-\- specify a normal for a polygon
-
-.SH C SPECIFICATION
-void \f3gluTessNormal\fP(
-GLUtesselator* \fItess\fP,
-.nf
-.ta \w'\f3void \fPgluTessNormal( 'u
- GLdouble \fIvalueX\fP,
- GLdouble \fIvalueY\fP,
- GLdouble \fIvalueZ\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIvalueX\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.TP
-\f2valueX\fP
-Specifies the first component of the normal.
-.TP
-\f2valueY\fP
-Specifies the second component of the normal.
-.TP
-\f2valueZ\fP
-Specifies the third component of the normal.
-.SH DESCRIPTION
-\%\f3gluTessNormal\fP describes a normal for a polygon that the program is defining.
-All input data will be projected onto a plane perpendicular to one of
-the three coordinate axes before tessellation and all output triangles
-will be oriented CCW with
-respect to the normal (CW orientation can be obtained by reversing the
-sign of the supplied normal). For example, if you know that all polygons
-lie in the x-y plane, call \%\f3gluTessNormal\fP(tess, 0.0, 0.0, 1.0)
-before rendering any polygons.
-.P
-If the supplied normal is (0.0, 0.0, 0.0) (the initial value), the normal is
-determined as follows. The direction of the normal, up to its sign, is
-found by fitting a plane to the vertices, without regard to how the
-vertices are connected. It is expected that the input data lies approximately
-in the plane; otherwise, projection perpendicular to one of the three
-coordinate axes may substantially change the geometry. The sign of the
-normal is chosen so that the sum of the signed areas of all input
-contours is nonnegative (where a CCW contour has positive area).
-.P
-The supplied normal persists until it is changed by another call to
-\%\f3gluTessNormal\fP.
-.SH SEE ALSO
-\%\f3gluTessBeginPolygon(3G)\fP,
-\%\f3gluTessEndPolygon(3G)\fP
-
-
-
diff --git a/doc/gl-docs/GLU/tessproperty.3gl b/doc/gl-docs/GLU/tessproperty.3gl
deleted file mode 100644
index d5a34f9c4..000000000
--- a/doc/gl-docs/GLU/tessproperty.3gl
+++ /dev/null
@@ -1,99 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 tessprope
-.ds Xs 36693 6 tessproperty.gl
-.TH GLUTESSPROPERTY 3G
-.SH NAME
-.B "gluTessProperty
-\- set a tessellation object property
-
-.SH C SPECIFICATION
-void \f3gluTessProperty\fP(
-GLUtesselator* \fItess\fP,
-.nf
-.ta \w'\f3void \fPgluTessProperty( 'u
- GLenum \fIwhich\fP,
- GLdouble \fIdata\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIwhich\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.TP
-\f2which\fP
-Specifies the property to be set. Valid values are
-\%\f3GLU_TESS_WINDING_RULE\fP,
-\%\f3GLU_TESS_BOUNDARY_ONLY\fP,
-\%\f3GLU_TESS_TOLERANCE\fP.
-.TP
-\f2data\fP
-Specifies the value of the indicated property.
-.SH DESCRIPTION
-\%\f3gluTessProperty\fP is used to control properties stored in a tessellation object. These
-properties affect the way that the polygons are interpreted and rendered.
-The legal values for \f2which\fP are as follows:
-.TP 15
-\%\f3GLU_TESS_WINDING_RULE\fP
-Determines which parts of the polygon are on the "interior".
-\f2data\fP may be set to one of \%\f3GLU_TESS_WINDING_ODD\fP,
-\%\f3GLU_TESS_WINDING_NONZERO\fP, \%\f3GLU_TESS_WINDING_POSITIVE\fP, or
-\%\f3GLU_TESS_WINDING_NEGATIVE\fP, or \%\f3GLU_TESS_WINDING_ABS_GEQ_TWO\fP.
-.IP
-To understand how the winding rule works, consider that the input
-contours partition the plane into regions. The winding rule determines which
-of these regions are inside the polygon.
-.IP
-For a single contour C, the winding number of a point x is simply the signed
-number of revolutions we make around x as we travel once around C
-(where CCW is positive). When there are several contours, the individual
-winding numbers are summed. This procedure associates a signed integer
-value with each point x in the plane. Note that the winding number is the
-same for all points in a single region.
-.bp
-.IP
-The winding rule classifies a region as "inside" if its winding number
-belongs to the chosen category (odd, nonzero, positive, negative, or
-absolute value of at least two). The previous GLU tessellator (prior to
-GLU 1.2) used the "odd" rule. The "nonzero" rule is another common way to
-define the interior. The other three rules are useful for polygon CSG
-operations.
-.TP
-\%\f3GLU_TESS_BOUNDARY_ONLY\fP
-Is a boolean value ("value" should be set
-to GL_TRUE or GL_FALSE). When set to GL_TRUE, a set of closed contours
-separating the polygon interior and exterior are returned instead of a
-tessellation. Exterior contours are oriented CCW with respect to the
-normal; interior contours are oriented CW. The \%\f3GLU_TESS_BEGIN\fP
-and \%\f3GLU_TESS_BEGIN_DATA\fP callbacks use the type GL_LINE_LOOP for
-each contour.
-.TP
-\%\f3GLU_TESS_TOLERANCE\fP
-Specifies a tolerance for merging features to reduce the size of the output.
-For example, two vertices that are very close to each other might be
-replaced by a single vertex. The tolerance is multiplied by the largest
-coordinate magnitude of any input vertex; this specifies the maximum
-distance that any feature can move as the result of a single merge
-operation. If a single feature takes part in several merge operations, the
-total distance moved could be larger.
-.IP
-Feature merging is completely optional; the tolerance is only a hint.
-The implementation is free to merge in some cases and not in others, or to
-never merge features at all. The initial tolerance is 0.
-.IP
-The current implementation merges vertices only if they are exactly
-coincident, regardless of the current tolerance. A vertex is spliced into
-an edge only if the implementation is unable to distinguish which side of
-the edge the vertex lies on. Two edges are merged only when both endpoints
-are identical.
-.SH SEE ALSO
-\%\f3gluGetTessProperty(3G)\fP,
-\%\f3gluNewTess(3G)\fP
diff --git a/doc/gl-docs/GLU/tessvertex.3gl b/doc/gl-docs/GLU/tessvertex.3gl
deleted file mode 100644
index dcfce2801..000000000
--- a/doc/gl-docs/GLU/tessvertex.3gl
+++ /dev/null
@@ -1,99 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 tessverte
-.ds Xs 55990 5 tessvertex.gl
-.TH GLUTESSVERTEX 3G
-.SH NAME
-.B "gluTessVertex
-\- specify a vertex on a polygon
-
-.SH C SPECIFICATION
-void \f3gluTessVertex\fP(
-GLUtesselator* \fItess\fP,
-.nf
-.ta \w'\f3void \fPgluTessVertex( 'u
- GLdouble \fI*location\fP,
- GLvoid* \fIdata\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\fIlocation\fP\ \ 'u
-\f2tess\fP
-Specifies the tessellation object (created with \%\f3gluNewTess\fP).
-.TP
-\f2location\fP
-Specifies the location of the vertex.
-.TP
-\f2data\fP
-Specifies an opaque pointer passed back to the program with the vertex callback
-(as specified by \%\f3gluTessCallback\fP).
-.SH DESCRIPTION
-\%\f3gluTessVertex\fP describes a vertex on a polygon that the program defines. Successive
-\%\f3gluTessVertex\fP calls describe a closed contour. For example,
-to describe a quadrilateral \%\f3gluTessVertex\fP should be called four times.
-\%\f3gluTessVertex\fP can only be called between \%\f3gluTessBeginContour\fP and
-\%\f3gluTessEndContour\fP.
-.P
-\f2data\fP normally points to a structure containing the vertex
-location, as well as other per-vertex attributes such as color and normal.
-This pointer is passed back to the user through the \%\f3GLU_TESS_VERTEX\fP
-or \%\f3GLU_TESS_VERTEX_DATA\fP callback after tessellation
-(see the \%\f3gluTessCallback\fP reference page).
-.SH EXAMPLE
-A quadrilateral with a triangular hole in it can be described as follows:
-.sp
-.Ex
-gluTessBeginPolygon(tobj, NULL);
- gluTessBeginContour(tobj);
- gluTessVertex(tobj, v1, v1);
- gluTessVertex(tobj, v2, v2);
- gluTessVertex(tobj, v3, v3);
- gluTessVertex(tobj, v4, v4);
- gluTessEndContour(tobj);
- gluTessBeginContour(tobj);
- gluTessVertex(tobj, v5, v5);
- gluTessVertex(tobj, v6, v6);
- gluTessVertex(tobj, v7, v7);
- gluTessEndContour(tobj);
-gluTessEndPolygon(tobj);
-.Ee
-.sp
-.SH NOTES
-It is a common error to use a local variable for \f2location\fP or \f2data\fP and store
-values into it as part of a loop.
-For example:
-.Ex
-for (i = 0; i < NVERTICES; ++i) {
- GLdouble data[3];
- data[0] = vertex[i][0];
- data[1] = vertex[i][1];
- data[2] = vertex[i][2];
- gluTessVertex(tobj, data, data);
- }
-.Ee
-.P
-This doesn't work.
-Because the pointers specified by \f2location\fP and \f2data\fP might not be
-dereferenced until \%\f3gluTessEndPolygon\fP is executed,
-all the vertex coordinates but the very last set could be overwritten
-before tessellation begins.
-.P
-Two common symptoms of this problem are consists of a single point
-(when a local variable is used for \f2data\fP) and a
-\%\f3GLU_TESS_NEED_COMBINE_CALLBACK\fP error (when a local variable is
-used for \f2location\fP).
-.SH SEE ALSO
-\%\f3gluTessBeginPolygon(3G)\fP, \%\f3gluNewTess(3G)\fP, \%\f3gluTessBeginContour(3G)\fP,
-\%\f3gluTessCallback(3G)\fP,
-\%\f3gluTessProperty(3G)\fP, \%\f3gluTessNormal(3G)\fP,
-\%\f3gluTessEndPolygon(3G)\fP
-
-
diff --git a/doc/gl-docs/GLU/unproject.3gl b/doc/gl-docs/GLU/unproject.3gl
deleted file mode 100644
index 8dafdcf6d..000000000
--- a/doc/gl-docs/GLU/unproject.3gl
+++ /dev/null
@@ -1,78 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 unproject
-.ds Xs 63442 4 unproject.gl
-.TH GLUUNPROJECT 3G
-.SH NAME
-.B "gluUnProject
-\- map window coordinates to object coordinates
-
-.SH C SPECIFICATION
-GLint \f3gluUnProject\fP(
-GLdouble \fIwinX\fP,
-.nf
-.ta \w'\f3GLint \fPgluUnProject( 'u
- GLdouble \fIwinY\fP,
- GLdouble \fIwinZ\fP,
- const GLdouble \fI*model\fP,
- const GLdouble \fI*proj\fP,
- const GLint \fI*view\fP,
- GLdouble* \fIobjX\fP,
- GLdouble* \fIobjY\fP,
- GLdouble* \fIobjZ\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2winX\fP\ \f2winY\fP\ \f2winZ\fP\ \ 'u
-\f2winX\fP, \f2winY\fP, \f2winZ\fP
-Specify the window coordinates to be mapped.
-.TP
-\f2model\fP
-Specifies the modelview matrix (as from a \f3glGetDoublev\fP call).
-.TP
-\f2proj\fP
-Specifies the projection matrix (as from a \f3glGetDoublev\fP call).
-.TP
-\f2view\fP
-Specifies the viewport (as from a \f3glGetIntegerv\fP call).
-.TP
-\f2objX\fP, \f2objY\fP, \f2objZ\fP
-Returns the computed object coordinates.
-.SH DESCRIPTION
-\%\f3gluUnProject\fP maps the specified window coordinates into object
-coordinates using \f2model\fP, \f2proj\fP, and \f2view\fP.
-The result is stored in \f2objX\fP, \f2objY\fP, and \f2objZ\fP. A return value of
-\%\f3GL_TRUE\fP indicates success; a return value of \%\f3GL_FALSE\fP
-indicates failure.
-.P
-To compute the coordinates (\f2objX\fP, \f2objY\fP, and \f2objZ\fP),
-\%\f3gluUnProject\fP multiplies the normalized device coordinates by the inverse of
-\f2model\fP*\f2proj\fP as follows:
-
-.P
-.ce
-.EQ
-left ( down 70 {cpile { ~"objX" above ~"objY" above ~"objZ"
-above ~W}} ~~ right ) ~=~ INV(P M)
-left ( down 140 {cpile {
-{ {2("winX" ~-~ "view"[0])} over {"view" [2]} ~-~ 1 }
-above
-{ {2("winY" ~-~ "view"[1])} over {"view"[3]} ~-~ 1 }
-above
-{ 2("winZ") ~-~ 1 }
-above
-1}} ~~ right )
-.EN
-.bp
-$INV()$ denotes matrix inversion.
-W is an unused variable, included for consistent matrix notation.
-.SH SEE ALSO
-\f3glGet(3G)\fP, \%\f3gluProject(3G)\fP
diff --git a/doc/gl-docs/GLU/unproject4.3gl b/doc/gl-docs/GLU/unproject4.3gl
deleted file mode 100644
index 72e755d2c..000000000
--- a/doc/gl-docs/GLU/unproject4.3gl
+++ /dev/null
@@ -1,103 +0,0 @@
-'\" e
-'\"! eqn | mmdoc
-'\"macro stdmacro
-.ds Vn Version 1.2
-.ds Dt 6 March 1997
-.ds Re Release 1.2.0
-.ds Dp May 02 11:53
-.ds Dm 37 unproject
-.ds Xs 13294 5 unproject4.gl
-.TH GLUUNPROJECT4 3G
-.SH NAME
-.B "gluUnProject4
-\- map window and clip coordinates to object coordinates
-
-.SH C SPECIFICATION
-GLint \f3gluUnProject4\fP(
-GLdouble \fIwinX\fP,
-.nf
-.ta \w'\f3GLint \fPgluUnProject4( 'u
- GLdouble \fIwinY\fP,
- GLdouble \fIwinZ\fP,
- GLdouble \fIclipW\fP,
- const GLdouble \fI*model\fP,
- const GLdouble \fI*proj\fP,
- const GLint \fI*view\fP,
- GLdouble \fInear\fP,
- GLdouble \fIfar\fP,
- GLdouble* \fIobjX\fP,
- GLdouble* \fIobjY\fP,
- GLdouble* \fIobjZ\fP,
- GLdouble* \fIobjW\fP )
-.fi
-
-.EQ
-delim $$
-.EN
-.SH PARAMETERS
-.TP \w'\f2winX\fP\ \f2winY\fP\ \f2winZ\fP\ \ 'u
-\f2winX\fP, \f2winY\fP, \f2winZ\fP
-Specify the window coordinates to be mapped.
-.TP
-\f2clipW\fP
-Specify the clip w coordinate to be mapped.
-.TP
-\f2model\fP
-Specifies the modelview matrix (as from a \f3glGetDoublev\fP call).
-.TP
-\f2proj\fP
-Specifies the projection matrix (as from a \f3glGetDoublev\fP call).
-.TP
-\f2view\fP
-Specifies the viewport (as from a \f3glGetIntegerv\fP call).
-.TP
-\f2near\fP, \f2far\fP
-Specifies the near and far planes (as from a \f3glGetDoublev\fP call).
-.TP
-\f2objX\fP, \f2objY\fP, \f2objZ\fP, \f2objW\fP
-Returns the computed object coordinates.
-.SH DESCRIPTION
-\%\f3gluUnProject4\fP maps the specified window coordinates \f2winX\fP, \f2winY\fP and \f2winZ\fP
-and its clip w coordinate \f2clipW\fP
-into object
-coordinates (\f2objX\fP, \f2objY\fP, \f2objZ\fP, \f2objW\fP)
-using \f2model\fP, \f2proj\fP and \f2view\fP. \f2clipW\fP can be other than
-1 as for vertices in \f3glFeedbackBuffer\fP when data type
-\%\f3GL_4D_COLOR_TEXTURE\fP is returned.
-This also handles the case
-where the \f2near\fP and \f2far\fP planes are different from the default,
-0 and 1, respectively.
-A return
-value of \%\f3GL_TRUE\fP indicates success; a return value of \%\f3GL_FALSE\fP
-indicates failure.
-.P
-To compute the coordinates (\f2objX\fP, \f2objY\fP, \f2objZ\fP and \f2objW\fP),
-\%\f3gluUnProject4\fP multiplies the normalized device coordinates by the inverse of
-\f2model\fP*\f2proj\fP as follows:
-
-.P
-.ce
-.EQ
-left ( down 70 {cpile { ~"objX" above ~"objY" above ~"objZ"
-above ~"objW"}} ~~ right ) ~=~ INV(P M)
-left ( down 140 {cpile {
-{ {2("winX" ~-~ "view"[0])} over {"view"[2]} ~-~ 1 }
-above
-{ {2("winY" ~-~ "view"[1])} over {"view"[3]} ~-~ 1 }
-above
-{ {2("winZ" ~-~ "near")} over {("far" ~-~ "near")} ~-~ 1 }
-above
-"clipW"}} ~~ right )
-.EN
-.sp
-$INV()$ denotes matrix inversion.
-.P
-\%\f3gluUnProject4\fP is equivalent to \%\f3gluUnProject\fP when \f2clipW\fP is 1, \f2near\fP is 0 and
-\f2far\fP is 1.
-.SH NOTES
-\%\f3gluUnProject4\fP is available only if the GLU version is 1.3 or greater.
-.SH SEE ALSO
-\f3glGet(3G)\fP,
-\f3glFeedbackBuffer(3G)\fP,
-\%\f3gluProject(3G)\fP,
-\%\f3gluUnProject(3G)\fP
diff --git a/doc/gl-docs/GLw/Imakefile b/doc/gl-docs/GLw/Imakefile
deleted file mode 100644
index 88f62cb61..000000000
--- a/doc/gl-docs/GLw/Imakefile
+++ /dev/null
@@ -1,25 +0,0 @@
-XCOMM $XFree86$
-
-MANDIR = $(LIBMANDIR)
-MANSUFFIX = $(LIBMANSUFFIX)
-
-#if ExpandManNames
-InstallManPageLong(GLwCMDrA,$(MANDIR),GLwCreateMDrawingArea)
-InstallManPageLong(GLwDrawA,$(MANDIR),GLwDrawingArea)
-InstallManPageAliases(GLwDrawingArea,$(MANDIR),GLwMDrawingArea)
-InstallManPageLong(GLwDrAMC,$(MANDIR),GLwDrawingAreaMakeCurrent)
-InstallManPageLong(GLwDrASB,$(MANDIR),GLwDrawingAreaSwapBuffers)
-#else
-InstallManPage(GLwCMDrA,$(MANDIR))
-InstallManPage(GLwDrawA,$(MANDIR))
-InstallManPage(GLwDrAMC,$(MANDIR))
-InstallManPage(GLwDrASB,$(MANDIR))
-#endif
-
-GLWMANDIR = .
-
-LinkFile(GLwCMDrA.man, $(GLWMANDIR)/glwcreatemdrawingarea.gl)
-LinkFile(GLwDrawA.man, $(GLWMANDIR)/glwdrawingarea.gl)
-LinkFile(GLwDrAMC.man, $(GLWMANDIR)/glwdrawingareamakecurrent.gl)
-LinkFile(GLwDrASB.man, $(GLWMANDIR)/glwdrawingareaswapbuffers.gl)
-
diff --git a/doc/gl-docs/GLw/Makefile b/doc/gl-docs/GLw/Makefile
deleted file mode 100644
index 4f1fab8f6..000000000
--- a/doc/gl-docs/GLw/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-# $OpenBSD: Makefile,v 1.1 2012/08/07 21:10:35 matthieu Exp $
-
-X11BASE?= /usr/X11R6
-MANDIR?= ${X11BASE}/man/man
-
-MAN += GLwCreateMDrawingArea.3 glwcreatemdrawingarea.gl
-MAN += GLwDrawingArea.3 glwdrawingarea.gl
-MAN += GLwDrawingAreaMakeCurrent.3 glwdrawingareamakecurrent.gl
-MAN += GLwDrawingAreaSwapBuffers.3 glwdrawingareaswapbuffers.gl
-
-LINKS += GLwDrawingArea.3 GLwMDrawingArea.3
-
-.include "../Makefile.inc"
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/GLw/glwcreatemdrawingarea.gl b/doc/gl-docs/GLw/glwcreatemdrawingarea.gl
deleted file mode 100644
index 54c3f2778..000000000
--- a/doc/gl-docs/GLw/glwcreatemdrawingarea.gl
+++ /dev/null
@@ -1,50 +0,0 @@
-.\" **
-.\" ** (c) Copyright 1993, 1994, 1995, 1996 Silicon Graphics, Inc.
-.\" **
-.\" ** (c) Copyright 1989, 1990, 1991 Open Software Foundation, Inc.
-.\" ** All Rights Reserved.
-.\" **
-.\" ** (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company
-.\" **
-.\" ** (c) Copyright 1987, 1988 by Digital Equipment Corporation,
-.\" ** Maynard, MA. All Rights Reserved.
-.\" **
-.\" **
-.TH GLwCreateMDrawingArea 3X "" "" ""
-.SH NAME
-\fBGLwCreateMDrawingArea \(em Create a Motif/OpenGL Drawing Widget.\fP
-.iX "GLwCreateMDrawingArea"
-.iX "creation functions"
-.sp 1
-.SH SYNOPSIS
-\fB#include <GL/GLwMDrawA.h>\fP
-.br
-Widget \fBGLwCreateMDrawingArea\fP( Widget \fIparent\fP,
- String \fIname\fP,
- ArgList \fIarglist\fP,
- Cardinal \fIargcount\fP )
-.fi
-\fP
-.SH DESCRIPTION
-\fBGLwCreateMDrawingArea\fP creates an instance of a GLwMDrawingArea
-widget and returns the associated widget ID.
-.sp 1
-.IP "\fIparent\fP" .95i
-Specifies the parent widget ID
-.IP "\fIname\fP" .95i
-Specifies the name of the created widget
-.IP "\fIarglist\fP" .95i
-Specifies the argument list
-.IP "\fIargcount\fP" .95i
-Specifies the number of attribute/value pairs in the argument list
-(\fIarglist\fP)
-.sp 1
-.PP
-For a complete definition of GLwMDrawingArea and its associated resources, see
-\fBGLwDrawingArea(3X)\fP.
-.sp 1
-.SH RETURN VALUE
-Returns the GLwMDrawingArea widget ID.
-.sp 1
-.SH SEE ALSO
-\fBGLwDrawingArea(3X)\fP.
diff --git a/doc/gl-docs/GLw/glwdrawingarea.gl b/doc/gl-docs/GLw/glwdrawingarea.gl
deleted file mode 100644
index a70372294..000000000
--- a/doc/gl-docs/GLw/glwdrawingarea.gl
+++ /dev/null
@@ -1,485 +0,0 @@
-.\" **
-.\" ** (c) Copyright 1993, 1994, 1995, 1996 Silicon Graphics, Inc.
-.\" **
-.\" ** (c) Copyright 1989, 1990, 1991 Open Software Foundation, Inc.
-.\" ** All Rights Reserved.
-.\" **
-.\" ** (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company
-.\" **
-.\" ** (c) Copyright 1987, 1988 by Digital Equipment Corporation,
-.\" ** Maynard, MA. All Rights Reserved.
-.\" **
-.\" **
-.TH GLwDrawingArea 3X "" "" ""
-.SH NAME
-\fBGLwDrawingArea, GLwMDrawingArea \(em OpenGL drawing widgets.\fP
-.iX "GLwDrawingArea" "GLwMDrawingArea"
-.iX "widget class" "OpenGL" "Draw"
-.sp 1
-.SH SYNOPSIS
-\fB#include <GL/GLwDrawA.h>
-.br
-\fBld ... -lGLw -lGL -l<anywidgetlibrary> -lXext -lXt -lX11 -lm
-.sp
-\fB#include <GL/GLwMDrawA.h>
-.br
-\fBld ... -lGLw -lGL -lXm -lXext -lXt -lX11 -lm
-.sp 1
-.SH DESCRIPTION
-\fBGLwDrawingArea\fP and \fBGLwMDrawingArea\fP are widgets suitable
-for OpenGL drawing. They
-provide a window with the appropriate visual and colormaps needed for
-OpenGL, based on supplied parameters. GLwDrawingArea and
-GLwMDrawingArea also provide
-callbacks for redraw, resize, input, and initialization.
-.PP
-GLwDrawingArea is not a part of any widget set, but depends only on Xt.
-GLwDrawingArea can be used with any widget set. GLwMDrawingArea
-is identical to
-GLwDrawingArea except that it is a subclass of the Motif\(Tm widget
-class XmPrimitive and
-has resources and defaults suitable for use with Motif. For example,
-GLwMDrawingArea provides the default Motif background and foreground colors
-for resources, and deals better with keyboard traversal. Although the
-GLwDrawingArea widget can be used in a Motif program, it is recommended that
-GLwMDrawingArea be used instead.
-.PP
-Since both GLwDrawingArea and GLwMDrawingArea
-widgets behave almost identically, the
-remainder of this manual page will refer only to GLwDrawingArea, except when
-the behaviors differ. Unless explicitly stated, all statements
-about GLwDrawingArea also apply to GLwMDrawingArea.
-.PP
-Among the information provided when creating a GLwDrawingArea is
-information necessary to determine the visual. This may be provided
-in three ways, all of them through resources. A specific visualInfo
-structure may be passed in. (This visualInfo must have been obtained
-elsewhere; it is the application designer's responsibility to make
-sure that it is compatible with the OpenGL rendering done by the
-application). Alternatively, an attribute list may be provided. This
-attribute list is formatted identically to that used for direct open
-GL programming. Finally, each attribute can be specified as an
-individual resource. The latter method is the simplest, and is the
-only method that works from resource files.
-.PP
-In addition to allocating the visual, the GLwDrawingArea will also
-allocate the colormap unless one is provided by the application. (If
-one is provided it is the application writer's responsibility to
-guarantee compatibility between the colormap and the visual). If
-an application creates multiple GLwDrawingAreas with the same visual,
-the same colormap will be used. (However the colormap
-will not be shared among separate applications).
-.PP
-Creating the widget does not actually create the window until it is
-realized, and consequently, the application should not perform any
-OpenGL operations
-to the window immediately after creation. Instead the application
-must wait until after it has realized the window. Alternatively, the
-\fBginit\fP callback may be used to indicate when the window has been
-created. Upon receiving this callback, the application can perform
-all OpenGL initialization for the window, and can subsequently perform
-other operations on it. The initialization is discussed in more
-detail below.
-.PP
-Applications select which GLwDrawingArea they are accessing using either
-\fBglXMakeCurrent\fP or the convenience function
-\fBGLwDrawingAreaMakeCurrent\fP which uses a widget instead of a
-display and window. If there is only one GLwDrawingArea this need
-only be called once, however if there is more than one GLwDrawingArea
-it should be called at the start of each callback.
-Callbacks in this case include not only
-callbacks provided by the widget itself, but any other callback that
-leads to GL activity such as a timeout or a workproc.
-.PP
-If an application is using double buffering, it may call
-\fBGLwDrawingAreaSwapBuffers\fP instead of \fBglXSwapBuffers\fP. This
-allows the use of the widget instead of the display and window.
-.ne 5
-.SS "GLwDrawingArea Classes"
-GLwDrawingArea inherits behavior and resources from the \fBCore\fP class.
-.br
-The class pointer is \fBglwDrawingAreaWidgetClass\fP.
-.br
-The class name is \fBGLwDrawingArea\fP.
-.PP
-.ne 5
-.SS "GLwMDrawingArea Classes"
-GLwMDrawingArea inherits behavior and resources from the
-\fBXmPrimitive\fP and \fBCore\fP classes.
-.br
-The class pointer is \fBglwMDrawingAreaWidgetClass\fP.
-.br
-The class name is \fBGLwMDrawingArea\fP.
-.sp 1
-.SS "New Resources"
-The following tables define a set of widget resources used by the programmer
-to specify data. The programmer can also set the resource values for the
-inherited classes to set attributes for this widget. To reference a
-resource by name or by class in a .Xdefaults file, remove the \fBGLwN\fP or
-\fBGLwC\fP prefix and use the remaining letters.
-There are two tables included. The first table includes resources
-that correspond directly to the attributes used by \fBglXChooseVisual\fP.
-As with \fBglXChooseVisual\fP, all Boolean resources default to FALSE
-and all integer resources default to 0, except redSize, greenSize and
-blueSize which default to 1. These resources can all be
-set only at creation time, and are used to determine the visual. If
-either the \fIGLwNattribList\fP or \fIGLwNvisualInfo\fP resource is
-set, these resources are ignored. The specific meaning of these
-resources is discussed in the \fBglXChooseVisual\fP manual page and
-will not be discussed here.
-.sp 1
-.ne 18
-.TS
-center allbox;
-lBp8 lBp8 lBp8 lBp8
-lp8 lp8 lp8 lp8.
-Name Class Type OpenGL attribute
-GLwNbufferSize GLwCBufferSize int GLX_BUFFER_SIZE
-GLwNlevel GLwCLevel int GLX_LEVEL
-GLwNrgba GLwCRgba Boolean GLX_RGBA
-GLwNdoublebuffer GLwCDoublebuffer Boolean GLX_DOUBLEBUFFER
-GLwNstereo GLwCStereo Boolean GLX_STEREO
-GLwNauxBuffers GLwCAuxBuffers Boolean GLX_AUX_BUFFERS
-GLwNredSize GLwCColorSize int GLX_RED_SIZE
-GLwNgreenSize GLwCColorSize int GLX_GREEN_SIZE
-GLwNblueSize GLwCColorSize int GLX_BLUE_SIZE
-GLwNalphaSize GLwCAlphaSize int GLX_ALPHA_SIZE
-GLwNdepthSize GLwCDepthSize int GLX_DEPTH_SIZE
-GLwNstencilSize GLwCStencilSize int GLX_STENCIL_SIZE
-GLwNaccumRedSize GLwCAccumColorSize int GLX_ACCUM_RED_SIZE
-GLwNaccumGreenSize GLwCAccumColorSize int GLX_ACCUM_GREEN_SIZE
-GLwNaccumBlueSize GLwCAccumColorSize int GLX_ACCUM_BLUE_SIZE
-GLwNaccumAlphaSize GLwCAccumAlphaSize int GLX_ACCUM_ALPHA_SIZE
-.TE
-.sp 1
-.PP
-The following table lists other resources of the GLwDrawingArea
-widget. each of these will be described subsequently.
-The codes in the access column indicate if the given resource can be
-set at creation time (\fBC\fP),
-set by using \fBXtSetValues\fP (\fBS\fP),
-retrieved by using \fBXtGetValues\fP (\fBG\fP), or is not applicable
-(\fBN/A\fP).
-.sp 1
-.ne 12
-.TS
-center;
-lp8B lp8B lp8B lp8B lp8B
-lp8 lp8 lp8 lp8 lp8.
-Name Class Type Def Acc
-_
-GLwNallocateBackground GLwCAllocateColors Boolean F CG
-GLwNallocateOtherColors GLwCAllocateColors Boolean F CG
-GLwNattribList GLwCAttribList int * NULL CG
-GLwNexposeCallback GLwCCallback XtCallbackList NULL C
-GLwNginitCallback GLwCCallback XtCallbackList NULL C
-GLwNinputCallback GLwCCallback XtCallbackList NULL C
-GLwNinstallBackground GLwCInstallBackground Boolean T CG
-GLwNinstallColormap GLwCInstallColormap Boolean T CG
-GLwNresizeCallback GLwCCallback XtCallbackList NULL C
-GLwNvisualInfo GLwCVisualInfo XVisualInfo* NULL CG
-.TE
-.sp 1
-.IP "\fBGLwNallocateBackground\fP"
-If TRUE, the background pixel and pixmap will be allocated if
-appropriate using the newly calculated colormap and visual. If FALSE,
-they will retain values calculated using the parent's colormap and
-visual. Applications which wish to have X clear their background for
-them will usually set this to TRUE. Applications clearing their own
-background will often set this to FALSE, although they may set this to
-TRUE if they query the background for their own use. One reason to
-leave this resource FALSE is that if color index mode is in use this
-avoid using up a pixel from the newly allocated colormap. Also, on
-hardware that supports only one colormap, the application may need to
-do more careful color allocation to avoid flashing between the OpenGL
-colormap and the default X colormap.
-(Note that because of the way Xt works, the background colors
-are originally calculated using the default colormap; if this resource
-is set they can be recalculated correctly. If a colormap was
-explicitly supplied to the widget rather than being dynamically
-calculated, these resources are always calculated using that colormap.)
-.IP "\fBGLwNallocateOtherColors\fP"
-This is similar to \fBGLwNallocateBackground\fP, but allocates other
-colors normally allocated by widgets. Although the GLwDrawingArea
-and GLwMDrawingArea widget do not make use of these colors the
-application may choose to query them. For the non-Motif
-GLwDrawingArea widget there are no other colors allocated, so this
-resource is a no-op. For the Motif GLwMDrawingArea are widget, the
-XmPrimitive resources \fBXmNforeground\fP, \fBXmNhighlightColor\fP,
-and \fBXmNhighlightPixmap\fP are calculated.
-.IP "\fBGLwNattribList\fP"
-Contains the list of attributes suitable for a call to
-\fBglXChooseVisual\fP. If this resource is NULL, it is calculated
-based on the attribute resources. If it is not NULL, the attribute
-resources are ignored.
-.IP "\fBGLwNexposeCallback\fP"
-Specifies the list of callbacks that is
-called when the widget receives an exposure event.
-The callback reason is \fBGLwCR_EXPOSE\fP.
-The callback structure also includes the exposure event. The
-application will generally want to redraw the scene.
-.IP "\fBGLwNginitCallback\fP"
-Specifies the list of callbacks that is
-called when the widget is first realized. Since no OpenGL operations can
-be done before the widget is realized, this callback can be used to
-perform any appropriate OpenGL initialization such as creating a context.
-The callback reason is \fBGLwCR_GINIT\fP.
-.IP "\fBGLwNinputCallback\fP"
-Specifies the list of callbacks that is
-called when the widget receives a keyboard
-or mouse event. By default, the input callback is called on each key
-press and key release, on each mouse button press and release, and
-whenever the mouse is moved while a button is pressed. However this
-can be changed by providing a different translation table.
-The callback structure also includes the input event.
-The callback reason is \fBGLwCR_INPUT\fP.
-.IP ""
-The input callback is provided as a programming convenience, as it
-provides a convenient way to catch all input events. However, a more
-modular program can often be obtained by providing specific actions and
-translations in the application rather than using a single catch all
-callback. Use of explicit translations can also provide for more
-customization.
-.IP "\fBGLwNinstallBackground\fP"
-If set to TRUE, the background is installed on the window. If set to
-FALSE, the window has no background. This resource has no effect
-unless \fBGLwNallocateBackground\fP is also TRUE.
-.IP "\fBGLwNinstallColormap\fP"
-If set to TRUE, the widget will call \fIXSetWMColormapWindows\fP to
-tell the window manager to install the colormap when the window's
-shell has focus. If set to FALSE, this will not be called. For
-applications with multiple GLwDrawingAreas sharing a single colormap,
-it is most efficient to set this resource to TRUE for exactly one
-GLwDrawingArea with each colormap. If an application needs
-additional control over the order of colormaps, this resource can be
-set to FALSE, with the application calling \fIXSetWMColormapWindows\fP
-explicitly.
-.IP "\fBGLwNresizeCallback\fP"
-Specifies the list of callbacks that is
-called when the GLwDrawingArea is resized.
-The callback reason is \fBGLwCR_RESIZE\fP.
-.IP "\fBGLwNvisualInfo\fP"
-Contains a pointer to the window's visual info structure. If NULL,
-the visualInfo is calculated at widget creation time based on the
-\fIGLwNattributeList\fP resource (which is itself calculated from the
-various resources). If \fBGLwNvisualInfo\fP is not NULL the
-\fIGLwNattributList\fP and the attribute resources are ignored.
-.sp 1
-.SS "Inherited Resources"
-Both GLwDrawingArea and GLwMDrawingArea inherit behavior and resources
-from the core superclass. Other than the behavior of the colormap and
-background resources described previously, all defaults are the same as
-for core.
-.PP
-In addition, the Motif version GLwMDrawingArea also inherits from XmPrimitive.
-The behavior of the color resources has been described previously.
-The \fITraversalOn\fP resource is disabled for this widget, but if
-keyboard input is required it should be enabled. (Also, the
-application should call \fBXmProcessTraversal(widget, XmTRAVERSE_CURRENT)\fP
-whenever mouse button 1 is clicked in the widget. This is similar to
-the requirements of the Motif Drawing area.) Because Motif gets
-confused by having multiple visuals in one top level shell,
-\fBXmNhighlightOnEnter\fP has been disabled, and
-\fBXmNhighlightThickness\fP has been set to 0.
-.SS "Callback Information"
-A pointer to the following structure is passed to each callback:
-.sp 1
-.ne 6
-.nf
-.ta .25i 1.3i
-\fBtypedef struct\fP
-{
- \fBint\fP \fIreason\fP;
- \fBXEvent\fP \fI*event\fP;
- \fBDimension\fP \fIwidth, height\fP;
-} \fBGLwDrawingAreaCallbackStruct\fP;
-.fi
-.sp 1
-.IP "\fIreason\fP" .75i
-Indicates why the callback was invoked. Appropriate values are
-stated in the above resource descriptions. For Motif programmers, the
-values \fBGLwCR_EXPOSE\fP, \fBGLwCR_RESIZE\fP, and \fBGLwCR_INPUT\fP
-are equal to \fBXmCR_EXPOSE\fP, \fBXmCR_RESIZE\fP, and
-\fBXmCR_INPUT\fP respectively. \fBGLwCR_GINIT\fP does not have a
-Motif equivalent.
-.IP "\fIevent\fP" .75i
-Points to the \fBXEvent\fP that triggered the callback.
-This is NULL for \fBGLwNginitCallback and \fBGLwNresizeCallback\fP.
-.IP "\fIwidth\fP and \fIheight\fP" .75i
-Are set to the width and height of the window.
-.br
-.ne 10
-.sp 1 \"Adds space before the SS
-.SS "Translations"
-GLwDrawingArea has the translations listed below.
-\fB
-.nf
-.ta 1.5i
-.ne 5
-<KeyDown>: glwInput()
-<KeyUp>: glwInput()
-<BtnDown>: glwInput()
-<BtnUp>: glwInput()
-<BtnMotion>: glwInput()
-.fi
-.PP
-GLwMDrawingArea has the following additional translation:
-\fB
-.nf
-.ta 1.5i
-<Key>osfHelp: PrimitiveHelp()
-.fi
-.PP
-An application wishing to catch other events than these defaults can
-do so by installing a different translation table.
-\fP
-.sp 1 \"Adds space before the SS
-.SS "Action Routines"
-The GLwDrawingArea has the following action routine:
-.IP "\fBglwInput()\fP:"
-Called whenever one of the above translations specifies that input has
-occurred. Its sole purpose is to call the input callback.
-.sp 1
-.SH INITIALIZATION
-.PP
-When the widget is initially created (e.g. through
-\fBXtCreateWidget(3X)\fP) the associated window is not actually
-created. Instead, window creation is delayed until the widget is
-realized. However, \fBglXchooseVisual\fP is called immediately, so
-information based on its results is available.
-.PP
-Between the time the widget is created and it is realized,
-the following apply:
-.TP
-\(bu
-No OpenGL operations can be done to the window
-.TP
-\(bu
-No resize callbacks are generated.
-.TP
-\(bu
-The normal window is available (XtWindow returns NULL).
-.TP
-\(bu
-\fBGLwDrawingAreaMakeCurrent\fP (and \fBglXMakeCurrent\fP) should not
-be called.
-.PP
-When the widget is realized, the following actions take place:
-.PP
-.TP
-\(bu
-The window is created.
-.TP
-\(bu
-The \fBginit\fP callback is called. The user may use this callback to
-perform any needed OpenGL initialization to the window.
-.sp 1
-.SH NOTES
-.PP
-When using the input callback to receive keyboard input, the keycode
-in the event must be converted to a KeySym. Use
-\fBXLookupKeysym(3X)\fP or \fBXLookupString(3X)\fP to do the
-conversion. Keyboard input can also be dealt using translations, in
-which case no such conversion is required.
-.PP
-Motif programmers should keep in mind that OSF uses virtual
-bindings and replaces some of the key bindings. As a common example,
-if the ESC key is to be used to exit the program (as it often is in GL
-programs), the translation should specify <key>osfCancel instead of
-<key>Escape.
-.PP
-Motif programmers may also create a GLwMDrawingArea widget with the Motif
-style \fBGLwCreateMDrawingArea\fP.
-.sp 1
-.ne 10
-.SH EXAMPLE
-Here are some code fragments that create a GLwDrawingArea widget, and manage
-the appropriate callbacks.
-.sp
-.nf
-\f(CW
- #include <stdlib.h>
- #include <GL/GLwDrawA.h>
- static GLXContext glx_context; /* assume only one context */
- . . .
-
- main()
- {
- Arg args[10];
- int n;
-
- Widget parent; /* The parent of the gl widget */
- Widget glw; /* The GLwDrawingArea widget */
- . . .
-
- /* Create the widget using RGB mode. This can also be set
- * in an X Defaults file
- */
- n = 0;
- XtSetArg(args[n], GLwNrgba, True); n++;
- glw = XtCreateManagedWidget("glw", glwDrawingAreaWidgetClass,
- parent, args, n);
- XtAddCallback(glw, GLwNexposeCallback, exposeCB, NULL);
- XtAddCallback(glw, GLwNresizeCallback, resizeCB, NULL);
- XtAddCallback(glw, GLwNginitCallback, ginitCB, NULL);
- /* Also add input callback if needed */
- . . .
- }
-
- static void
- exposeCB(Widget w, XtPointer client_data,
- GLwDrawingAreaCallbackStruct *call_data)
- {
- GLwDrawingAreaMakeCurrent(w, glx_context);
- /* redraw the display */
- }
-
- static void
- resizeCB(Widget w, XtPointer client_data,
- GLwDrawingAreaCallbackStruct *call_data)
- {
- GLwDrawingAreaMakeCurrent(w, glx_context);
- /* perform any resize actions */
- }
-
- static void
- ginitCB(Widget w, XtPointer client_data,
- GLwDrawingAreaCallbackStruct *call_data)
- {
- Arg args[1];
- XVisualInfo *vi;
-
- XtSetArg(args[0], GLwNvisualInfo, &vi);
- XtGetValues(w, args, 1);
-
- /* create a visual context */
- glx_context = glXCreateContext(XtDisplay(w), vi,
- NULL, GL_FALSE);
- GLwDrawingAreaMakeCurrent(w, glx_context);
- /* Perform any necessary graphics initialization.*/
- }
-\fP
-.fi
-.P
-The Motif program need only differ by including
-\fBGLwMDrawingArea.h\fP instead of \fBGLwDrawingArea.h\fP and by creating a widget of type
-\fBGLwMDrawingAreaWidgetClass\fP instead of \fBGLwDrawingAreaWidgetClass\fP. As an
-alternative, the Motif program could use \fBGLwCreateMDraw(3X)\fP instead.
-.sp 1
-.SH WARNINGS
-.PP
-If a GLwDrawingArea widget is created as a child of an already realized
-widget, the GLwDrawingArea widget will be created immediately, without giving
-the user an opportunity to add the \fBginit\fP callback. In such a
-case, initialization should be done immediately after creating the
-widget rather than by using the callback.
-.PP
-If the non-Motif GLwDrawingArea widget is used in a Motif program and
-keyboard traversal is attempted, the behavior is undefined if the user
-traverses into the GLwDrawingArea widget.
-.SH SEE ALSO
-\fBglXChooseVisual(3G)\fP, \fBGLwDrawingAreaMakeCurrent(3X)\fP,
-\fBglXMakeCurrent(3G)\fP, \fBGLwDrawingAreaSwapBuffers(3X)\fP
-\fBGLwCreateMDraw(3X)\fP, \fBCore(3X)\fP, \fBXmPrimitive(3X)\fP,
-\fBVirtualBindings(3X)\fP, \fBXSetWMColormapWindows(3X11)\fP
-and the OpenGL spec.
diff --git a/doc/gl-docs/GLw/glwdrawingareamakecurrent.gl b/doc/gl-docs/GLw/glwdrawingareamakecurrent.gl
deleted file mode 100644
index 6484ecc79..000000000
--- a/doc/gl-docs/GLw/glwdrawingareamakecurrent.gl
+++ /dev/null
@@ -1,30 +0,0 @@
-.\" **
-.\" ** (c) Copyright 1993, 1994, 1995, 1996 Silicon Graphics, Inc.
-.\" **
-.\" ** (c) Copyright 1989, 1990, 1991 Open Software Foundation, Inc.
-.\" ** All Rights Reserved.
-.\" **
-.\" ** (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company
-.\" **
-.\" ** (c) Copyright 1987, 1988 by Digital Equipment Corporation,
-.\" ** Maynard, MA. All Rights Reserved.
-.\" **
-.\" **
-.TH GLwDrawingAreaMakeCurrent 3X "" "" ""
-.SH NAME
-\fBGLwDrawingAreaMakeCurrent \(em Make the current GLwDrawingArea current.\fP
-.iX "GLwDrawingAreaMakeCurrent"
-.iX "GLwDrawingArea"
-.sp 1
-.SH SYNOPSIS
-\fB#include <GL/GLwDraw.h>\fP
-.br
-void \fBGLwDrawingAreaMakeCurrent\fP( Widget \fIw\fP,
- GLXContext \fIctx\fP )
-.fi
-.SH DESCRIPTION
-\fBGLwDrawingAreaMakeCurrent\fP is a front end to \fBglXMakeCurrent\fP,
-however instead of passing in a Display and a Window, a Widget is
-passed in.
-.SH SEE ALSO
-\fBGLwMDrawingArea(3X)\fP, \fBglXMakeCurrent(3G)\fP.
diff --git a/doc/gl-docs/GLw/glwdrawingareaswapbuffers.gl b/doc/gl-docs/GLw/glwdrawingareaswapbuffers.gl
deleted file mode 100644
index cda0e8e07..000000000
--- a/doc/gl-docs/GLw/glwdrawingareaswapbuffers.gl
+++ /dev/null
@@ -1,30 +0,0 @@
-.\" **
-.\" ** (c) Copyright 1993, 1994, 1995, 1996 Silicon Graphics, Inc.
-.\" **
-.\" ** (c) Copyright 1989, 1990, 1991 Open Software Foundation, Inc.
-.\" ** All Rights Reserved.
-.\" **
-.\" ** (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company
-.\" **
-.\" ** (c) Copyright 1987, 1988 by Digital Equipment Corporation,
-.\" ** Maynard, MA. All Rights Reserved.
-.\" **
-.\" **
-.TH GLwDrawingAreaSwapBuffers 3X "" "" ""
-.SH NAME
-\fBGLwDrawingAreaSwapBuffers \(em Swap buffers in a GLwDrawingArea.\fP
-.iX "GLwDrawingAreaSwapBuffers"
-.iX "GLwDrawingArea"
-.sp 1
-.SH SYNOPSIS
-\fB#include <GL/GLwDraw.h>\fP
-.br
-void \fBGLwDrawingAreaSwapBuffers\fP( Widget \fIw\fP )
-.br
-.fi
-.SH DESCRIPTION
-\fBGLwDrawingAreaSwapBuffers\fP is a front end to \fBglXSwapBuffers\fP,
-however instead of passing in a Display and a Window, a Widget is
-passed in.
-.SH SEE ALSO
-\fBGLwMDrawingArea(3X)\fP, \fBglXSwapBuffers(3G)\fP.
diff --git a/doc/gl-docs/Makefile b/doc/gl-docs/Makefile
deleted file mode 100644
index 88718722b..000000000
--- a/doc/gl-docs/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-# $OpenBSD: Makefile,v 1.2 2015/07/19 10:41:31 matthieu Exp $
-
-SUBDIR= GL/gl GL/glx GLU GLw
-
-.include <bsd.subdir.mk>
-.include <bsd.xorg.mk>
diff --git a/doc/gl-docs/Makefile.inc b/doc/gl-docs/Makefile.inc
deleted file mode 100644
index 6eefa770d..000000000
--- a/doc/gl-docs/Makefile.inc
+++ /dev/null
@@ -1,28 +0,0 @@
-# $OpenBSD: Makefile.inc,v 1.1 2012/08/07 21:10:35 matthieu Exp $
-
-all:
-
-cleandir:
-
-.SUFFIXES: .3 .3gl
-
-.for page source in $(MAN)
-_INST_MAN = ${DESTDIR}${MANDIR}$(page:E)/$(page:T)
-${_INST_MAN}: ${source}
- ${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
- ${.ALLSRC} ${.TARGET}
-
-install: ${_INST_MAN}
-
-.PHONY: ${_INST_MAN}
-.endfor
-
-install:
-.for lnk file in $(LINKS)
- @l=${DESTDIR}${MANDIR}${lnk:E}/${lnk}; \
- t=${DESTDIR}${MANDIR}${file:E}/${file}; \
- echo $$t -\> $$l; \
- rm -f $$t; ln $$l $$t;
-.endfor
-
-NOOBJ=