91ea19f893f35722ff6b93b0a330d19d3eafbc52
[mesa.git] / src / mesa / glapi / glapioffsets.h
1 /* $Id: glapioffsets.h,v 1.3 2000/02/11 21:14:28 brianp Exp $ */
2
3 /*
4 * Mesa 3-D graphics library
5 * Version: 3.3
6 *
7 * Copyright (C) 1999 Brian Paul All Rights Reserved.
8 *
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 */
26
27
28 /*
29 * This file defines a static offset for all GL functions within the
30 * dispatch table.
31 *
32 * Eventually a replacement for this file will be available from SGI
33 * or the ARB so all vendors have the same info.
34 *
35 * XXX this file is incomplete - many more extension functions left to add
36 */
37
38
39
40 #ifndef _glextfunc_h_
41 #define _glextfunc_h_
42
43 #define _BASE 0
44
45
46 /* GL 1.1 */
47 #define _gloffset_Accum (_BASE + 1)
48 #define _gloffset_AlphaFunc (_BASE + 2)
49 #define _gloffset_Begin (_BASE + 3)
50 #define _gloffset_Bitmap (_BASE + 4)
51 #define _gloffset_BlendFunc (_BASE + 5)
52 #define _gloffset_CallList (_BASE + 6)
53 #define _gloffset_CallLists (_BASE + 7)
54 #define _gloffset_Clear (_BASE + 8)
55 #define _gloffset_ClearAccum (_BASE + 9)
56 #define _gloffset_ClearColor (_BASE + 10)
57 #define _gloffset_ClearDepth (_BASE + 11)
58 #define _gloffset_ClearIndex (_BASE + 12)
59 #define _gloffset_ClearStencil (_BASE + 13)
60 #define _gloffset_ClipPlane (_BASE + 14)
61 #define _gloffset_Color3b (_BASE + 15)
62 #define _gloffset_Color3bv (_BASE + 16)
63 #define _gloffset_Color3d (_BASE + 17)
64 #define _gloffset_Color3dv (_BASE + 18)
65 #define _gloffset_Color3f (_BASE + 19)
66 #define _gloffset_Color3fv (_BASE + 20)
67 #define _gloffset_Color3i (_BASE + 21)
68 #define _gloffset_Color3iv (_BASE + 22)
69 #define _gloffset_Color3s (_BASE + 23)
70 #define _gloffset_Color3sv (_BASE + 24)
71 #define _gloffset_Color3ub (_BASE + 25)
72 #define _gloffset_Color3ubv (_BASE + 26)
73 #define _gloffset_Color3ui (_BASE + 27)
74 #define _gloffset_Color3uiv (_BASE + 28)
75 #define _gloffset_Color3us (_BASE + 29)
76 #define _gloffset_Color3usv (_BASE + 30)
77 #define _gloffset_Color4b (_BASE + 31)
78 #define _gloffset_Color4bv (_BASE + 32)
79 #define _gloffset_Color4d (_BASE + 33)
80 #define _gloffset_Color4dv (_BASE + 34)
81 #define _gloffset_Color4f (_BASE + 35)
82 #define _gloffset_Color4fv (_BASE + 36)
83 #define _gloffset_Color4i (_BASE + 37)
84 #define _gloffset_Color4iv (_BASE + 38)
85 #define _gloffset_Color4s (_BASE + 39)
86 #define _gloffset_Color4sv (_BASE + 40)
87 #define _gloffset_Color4ub (_BASE + 41)
88 #define _gloffset_Color4ubv (_BASE + 42)
89 #define _gloffset_Color4ui (_BASE + 43)
90 #define _gloffset_Color4uiv (_BASE + 44)
91 #define _gloffset_Color4us (_BASE + 45)
92 #define _gloffset_Color4usv (_BASE + 46)
93 #define _gloffset_ColorMask (_BASE + 47)
94 #define _gloffset_ColorMaterial (_BASE + 48)
95 #define _gloffset_CopyPixels (_BASE + 49)
96 #define _gloffset_CullFace (_BASE + 50)
97 #define _gloffset_DeleteLists (_BASE + 51)
98 #define _gloffset_DepthFunc (_BASE + 52)
99 #define _gloffset_DepthMask (_BASE + 53)
100 #define _gloffset_DepthRange (_BASE + 54)
101 #define _gloffset_Disable (_BASE + 55)
102 #define _gloffset_DrawBuffer (_BASE + 56)
103 #define _gloffset_DrawPixels (_BASE + 57)
104 #define _gloffset_EdgeFlag (_BASE + 58)
105 #define _gloffset_EdgeFlagv (_BASE + 59)
106 #define _gloffset_Enable (_BASE + 60)
107 #define _gloffset_End (_BASE + 61)
108 #define _gloffset_EndList (_BASE + 62)
109 #define _gloffset_EvalCoord1d (_BASE + 63)
110 #define _gloffset_EvalCoord1dv (_BASE + 64)
111 #define _gloffset_EvalCoord1f (_BASE + 65)
112 #define _gloffset_EvalCoord1fv (_BASE + 66)
113 #define _gloffset_EvalCoord2d (_BASE + 67)
114 #define _gloffset_EvalCoord2dv (_BASE + 68)
115 #define _gloffset_EvalCoord2f (_BASE + 69)
116 #define _gloffset_EvalCoord2fv (_BASE + 70)
117 #define _gloffset_EvalMesh1 (_BASE + 71)
118 #define _gloffset_EvalMesh2 (_BASE + 72)
119 #define _gloffset_EvalPoint1 (_BASE + 73)
120 #define _gloffset_EvalPoint2 (_BASE + 74)
121 #define _gloffset_FeedbackBuffer (_BASE + 75)
122 #define _gloffset_Finish (_BASE + 76)
123 #define _gloffset_Flush (_BASE + 77)
124 #define _gloffset_Fogf (_BASE + 78)
125 #define _gloffset_Fogfv (_BASE + 79)
126 #define _gloffset_Fogi (_BASE + 80)
127 #define _gloffset_Fogiv (_BASE + 81)
128 #define _gloffset_FrontFace (_BASE + 82)
129 #define _gloffset_Frustum (_BASE + 83)
130 #define _gloffset_GenLists (_BASE + 84)
131 #define _gloffset_GetBooleanv (_BASE + 85)
132 #define _gloffset_GetClipPlane (_BASE + 86)
133 #define _gloffset_GetDoublev (_BASE + 87)
134 #define _gloffset_GetError (_BASE + 88)
135 #define _gloffset_GetFloatv (_BASE + 89)
136 #define _gloffset_GetIntegerv (_BASE + 90)
137 #define _gloffset_GetLightfv (_BASE + 91)
138 #define _gloffset_GetLightiv (_BASE + 92)
139 #define _gloffset_GetMapdv (_BASE + 93)
140 #define _gloffset_GetMapfv (_BASE + 94)
141 #define _gloffset_GetMapiv (_BASE + 95)
142 #define _gloffset_GetMaterialfv (_BASE + 96)
143 #define _gloffset_GetMaterialiv (_BASE + 97)
144 #define _gloffset_GetPixelMapfv (_BASE + 98)
145 #define _gloffset_GetPixelMapuiv (_BASE + 99)
146 #define _gloffset_GetPixelMapusv (_BASE + 100)
147 #define _gloffset_GetPolygonStipple (_BASE + 101)
148 #define _gloffset_GetString (_BASE + 102)
149 #define _gloffset_GetTexEnvfv (_BASE + 103)
150 #define _gloffset_GetTexEnviv (_BASE + 104)
151 #define _gloffset_GetTexGendv (_BASE + 105)
152 #define _gloffset_GetTexGenfv (_BASE + 106)
153 #define _gloffset_GetTexGeniv (_BASE + 107)
154 #define _gloffset_GetTexImage (_BASE + 108)
155 #define _gloffset_GetTexLevelParameterfv (_BASE + 109)
156 #define _gloffset_GetTexLevelParameteriv (_BASE + 110)
157 #define _gloffset_GetTexParameterfv (_BASE + 111)
158 #define _gloffset_GetTexParameteriv (_BASE + 112)
159 #define _gloffset_Hint (_BASE + 113)
160 #define _gloffset_IndexMask (_BASE + 114)
161 #define _gloffset_Indexd (_BASE + 115)
162 #define _gloffset_Indexdv (_BASE + 116)
163 #define _gloffset_Indexf (_BASE + 117)
164 #define _gloffset_Indexfv (_BASE + 118)
165 #define _gloffset_Indexi (_BASE + 119)
166 #define _gloffset_Indexiv (_BASE + 120)
167 #define _gloffset_Indexs (_BASE + 121)
168 #define _gloffset_Indexsv (_BASE + 122)
169 #define _gloffset_InitNames (_BASE + 123)
170 #define _gloffset_IsEnabled (_BASE + 124)
171 #define _gloffset_IsList (_BASE + 125)
172 #define _gloffset_LightModelf (_BASE + 126)
173 #define _gloffset_LightModelfv (_BASE + 127)
174 #define _gloffset_LightModeli (_BASE + 128)
175 #define _gloffset_LightModeliv (_BASE + 129)
176 #define _gloffset_Lightf (_BASE + 130)
177 #define _gloffset_Lightfv (_BASE + 131)
178 #define _gloffset_Lighti (_BASE + 132)
179 #define _gloffset_Lightiv (_BASE + 133)
180 #define _gloffset_LineStipple (_BASE + 134)
181 #define _gloffset_LineWidth (_BASE + 135)
182 #define _gloffset_ListBase (_BASE + 136)
183 #define _gloffset_LoadIdentity (_BASE + 137)
184 #define _gloffset_LoadMatrixd (_BASE + 138)
185 #define _gloffset_LoadMatrixf (_BASE + 139)
186 #define _gloffset_LoadName (_BASE + 140)
187 #define _gloffset_LogicOp (_BASE + 141)
188 #define _gloffset_Map1d (_BASE + 142)
189 #define _gloffset_Map1f (_BASE + 143)
190 #define _gloffset_Map2d (_BASE + 144)
191 #define _gloffset_Map2f (_BASE + 145)
192 #define _gloffset_MapGrid1d (_BASE + 146)
193 #define _gloffset_MapGrid1f (_BASE + 147)
194 #define _gloffset_MapGrid2d (_BASE + 148)
195 #define _gloffset_MapGrid2f (_BASE + 149)
196 #define _gloffset_Materialf (_BASE + 150)
197 #define _gloffset_Materialfv (_BASE + 151)
198 #define _gloffset_Materiali (_BASE + 152)
199 #define _gloffset_Materialiv (_BASE + 153)
200 #define _gloffset_MatrixMode (_BASE + 154)
201 #define _gloffset_MultMatrixd (_BASE + 155)
202 #define _gloffset_MultMatrixf (_BASE + 156)
203 #define _gloffset_NewList (_BASE + 157)
204 #define _gloffset_Normal3b (_BASE + 158)
205 #define _gloffset_Normal3bv (_BASE + 159)
206 #define _gloffset_Normal3d (_BASE + 160)
207 #define _gloffset_Normal3dv (_BASE + 161)
208 #define _gloffset_Normal3f (_BASE + 162)
209 #define _gloffset_Normal3fv (_BASE + 163)
210 #define _gloffset_Normal3i (_BASE + 164)
211 #define _gloffset_Normal3iv (_BASE + 165)
212 #define _gloffset_Normal3s (_BASE + 166)
213 #define _gloffset_Normal3sv (_BASE + 167)
214 #define _gloffset_Ortho (_BASE + 168)
215 #define _gloffset_PassThrough (_BASE + 169)
216 #define _gloffset_PixelMapfv (_BASE + 170)
217 #define _gloffset_PixelMapuiv (_BASE + 171)
218 #define _gloffset_PixelMapusv (_BASE + 172)
219 #define _gloffset_PixelStoref (_BASE + 173)
220 #define _gloffset_PixelStorei (_BASE + 174)
221 #define _gloffset_PixelTransferf (_BASE + 175)
222 #define _gloffset_PixelTransferi (_BASE + 176)
223 #define _gloffset_PixelZoom (_BASE + 177)
224 #define _gloffset_PointSize (_BASE + 178)
225 #define _gloffset_PolygonMode (_BASE + 179)
226 #define _gloffset_PolygonOffset (_BASE + 180)
227 #define _gloffset_PolygonStipple (_BASE + 181)
228 #define _gloffset_PopAttrib (_BASE + 182)
229 #define _gloffset_PopMatrix (_BASE + 183)
230 #define _gloffset_PopName (_BASE + 184)
231 #define _gloffset_PushAttrib (_BASE + 185)
232 #define _gloffset_PushMatrix (_BASE + 186)
233 #define _gloffset_PushName (_BASE + 187)
234 #define _gloffset_RasterPos2d (_BASE + 188)
235 #define _gloffset_RasterPos2dv (_BASE + 189)
236 #define _gloffset_RasterPos2f (_BASE + 190)
237 #define _gloffset_RasterPos2fv (_BASE + 191)
238 #define _gloffset_RasterPos2i (_BASE + 192)
239 #define _gloffset_RasterPos2iv (_BASE + 193)
240 #define _gloffset_RasterPos2s (_BASE + 194)
241 #define _gloffset_RasterPos2sv (_BASE + 195)
242 #define _gloffset_RasterPos3d (_BASE + 196)
243 #define _gloffset_RasterPos3dv (_BASE + 197)
244 #define _gloffset_RasterPos3f (_BASE + 198)
245 #define _gloffset_RasterPos3fv (_BASE + 199)
246 #define _gloffset_RasterPos3i (_BASE + 200)
247 #define _gloffset_RasterPos3iv (_BASE + 201)
248 #define _gloffset_RasterPos3s (_BASE + 202)
249 #define _gloffset_RasterPos3sv (_BASE + 203)
250 #define _gloffset_RasterPos4d (_BASE + 204)
251 #define _gloffset_RasterPos4dv (_BASE + 205)
252 #define _gloffset_RasterPos4f (_BASE + 206)
253 #define _gloffset_RasterPos4fv (_BASE + 207)
254 #define _gloffset_RasterPos4i (_BASE + 208)
255 #define _gloffset_RasterPos4iv (_BASE + 209)
256 #define _gloffset_RasterPos4s (_BASE + 210)
257 #define _gloffset_RasterPos4sv (_BASE + 211)
258 #define _gloffset_ReadBuffer (_BASE + 212)
259 #define _gloffset_ReadPixels (_BASE + 213)
260 #define _gloffset_Rectd (_BASE + 214)
261 #define _gloffset_Rectdv (_BASE + 215)
262 #define _gloffset_Rectf (_BASE + 216)
263 #define _gloffset_Rectfv (_BASE + 217)
264 #define _gloffset_Recti (_BASE + 218)
265 #define _gloffset_Rectiv (_BASE + 219)
266 #define _gloffset_Rects (_BASE + 220)
267 #define _gloffset_Rectsv (_BASE + 221)
268 #define _gloffset_RenderMode (_BASE + 222)
269 #define _gloffset_Rotated (_BASE + 223)
270 #define _gloffset_Rotatef (_BASE + 224)
271 #define _gloffset_Scaled (_BASE + 225)
272 #define _gloffset_Scalef (_BASE + 226)
273 #define _gloffset_Scissor (_BASE + 227)
274 #define _gloffset_SelectBuffer (_BASE + 228)
275 #define _gloffset_ShadeModel (_BASE + 229)
276 #define _gloffset_StencilFunc (_BASE + 230)
277 #define _gloffset_StencilMask (_BASE + 231)
278 #define _gloffset_StencilOp (_BASE + 232)
279 #define _gloffset_TexCoord1d (_BASE + 233)
280 #define _gloffset_TexCoord1dv (_BASE + 234)
281 #define _gloffset_TexCoord1f (_BASE + 235)
282 #define _gloffset_TexCoord1fv (_BASE + 236)
283 #define _gloffset_TexCoord1i (_BASE + 237)
284 #define _gloffset_TexCoord1iv (_BASE + 238)
285 #define _gloffset_TexCoord1s (_BASE + 239)
286 #define _gloffset_TexCoord1sv (_BASE + 240)
287 #define _gloffset_TexCoord2d (_BASE + 241)
288 #define _gloffset_TexCoord2dv (_BASE + 242)
289 #define _gloffset_TexCoord2f (_BASE + 243)
290 #define _gloffset_TexCoord2fv (_BASE + 244)
291 #define _gloffset_TexCoord2i (_BASE + 245)
292 #define _gloffset_TexCoord2iv (_BASE + 246)
293 #define _gloffset_TexCoord2s (_BASE + 247)
294 #define _gloffset_TexCoord2sv (_BASE + 248)
295 #define _gloffset_TexCoord3d (_BASE + 249)
296 #define _gloffset_TexCoord3dv (_BASE + 250)
297 #define _gloffset_TexCoord3f (_BASE + 251)
298 #define _gloffset_TexCoord3fv (_BASE + 252)
299 #define _gloffset_TexCoord3i (_BASE + 253)
300 #define _gloffset_TexCoord3iv (_BASE + 254)
301 #define _gloffset_TexCoord3s (_BASE + 255)
302 #define _gloffset_TexCoord3sv (_BASE + 256)
303 #define _gloffset_TexCoord4d (_BASE + 257)
304 #define _gloffset_TexCoord4dv (_BASE + 258)
305 #define _gloffset_TexCoord4f (_BASE + 259)
306 #define _gloffset_TexCoord4fv (_BASE + 260)
307 #define _gloffset_TexCoord4i (_BASE + 261)
308 #define _gloffset_TexCoord4iv (_BASE + 262)
309 #define _gloffset_TexCoord4s (_BASE + 263)
310 #define _gloffset_TexCoord4sv (_BASE + 264)
311 #define _gloffset_TexEnvf (_BASE + 265)
312 #define _gloffset_TexEnvfv (_BASE + 266)
313 #define _gloffset_TexEnvi (_BASE + 267)
314 #define _gloffset_TexEnviv (_BASE + 268)
315 #define _gloffset_TexGend (_BASE + 269)
316 #define _gloffset_TexGendv (_BASE + 270)
317 #define _gloffset_TexGenf (_BASE + 271)
318 #define _gloffset_TexGenfv (_BASE + 272)
319 #define _gloffset_TexGeni (_BASE + 273)
320 #define _gloffset_TexGeniv (_BASE + 274)
321 #define _gloffset_TexImage1D (_BASE + 275)
322 #define _gloffset_TexImage2D (_BASE + 276)
323 #define _gloffset_TexParameterf (_BASE + 277)
324 #define _gloffset_TexParameterfv (_BASE + 278)
325 #define _gloffset_TexParameteri (_BASE + 279)
326 #define _gloffset_TexParameteriv (_BASE + 280)
327 #define _gloffset_Translated (_BASE + 281)
328 #define _gloffset_Translatef (_BASE + 282)
329 #define _gloffset_Vertex2d (_BASE + 283)
330 #define _gloffset_Vertex2dv (_BASE + 284)
331 #define _gloffset_Vertex2f (_BASE + 285)
332 #define _gloffset_Vertex2fv (_BASE + 286)
333 #define _gloffset_Vertex2i (_BASE + 287)
334 #define _gloffset_Vertex2iv (_BASE + 288)
335 #define _gloffset_Vertex2s (_BASE + 289)
336 #define _gloffset_Vertex2sv (_BASE + 290)
337 #define _gloffset_Vertex3d (_BASE + 291)
338 #define _gloffset_Vertex3dv (_BASE + 292)
339 #define _gloffset_Vertex3f (_BASE + 293)
340 #define _gloffset_Vertex3fv (_BASE + 294)
341 #define _gloffset_Vertex3i (_BASE + 295)
342 #define _gloffset_Vertex3iv (_BASE + 296)
343 #define _gloffset_Vertex3s (_BASE + 297)
344 #define _gloffset_Vertex3sv (_BASE + 298)
345 #define _gloffset_Vertex4d (_BASE + 299)
346 #define _gloffset_Vertex4dv (_BASE + 300)
347 #define _gloffset_Vertex4f (_BASE + 301)
348 #define _gloffset_Vertex4fv (_BASE + 302)
349 #define _gloffset_Vertex4i (_BASE + 303)
350 #define _gloffset_Vertex4iv (_BASE + 304)
351 #define _gloffset_Vertex4s (_BASE + 305)
352 #define _gloffset_Vertex4sv (_BASE + 306)
353 #define _gloffset_Viewport (_BASE + 307)
354
355 /* GL 1.1 */
356 #define _gloffset_AreTexturesResident (_BASE + 308)
357 #define _gloffset_ArrayElement (_BASE + 309)
358 #define _gloffset_BindTexture (_BASE + 310)
359 #define _gloffset_ColorPointer (_BASE + 311)
360 #define _gloffset_CopyTexImage1D (_BASE + 312)
361 #define _gloffset_CopyTexImage2D (_BASE + 313)
362 #define _gloffset_CopyTexSubImage1D (_BASE + 314)
363 #define _gloffset_CopyTexSubImage2D (_BASE + 315)
364 #define _gloffset_DeleteTextures (_BASE + 316)
365 #define _gloffset_DisableClientState (_BASE + 317)
366 #define _gloffset_DrawArrays (_BASE + 318)
367 #define _gloffset_DrawElements (_BASE + 319)
368 #define _gloffset_EdgeFlagPointer (_BASE + 320)
369 #define _gloffset_EnableClientState (_BASE + 321)
370 #define _gloffset_GenTextures (_BASE + 322)
371 #define _gloffset_GetPointerv (_BASE + 323)
372 #define _gloffset_IndexPointer (_BASE + 324)
373 #define _gloffset_Indexub (_BASE + 325)
374 #define _gloffset_Indexubv (_BASE + 326)
375 #define _gloffset_InterleavedArrays (_BASE + 327)
376 #define _gloffset_IsTexture (_BASE + 328)
377 #define _gloffset_NormalPointer (_BASE + 329)
378 #define _gloffset_PopClientAttrib (_BASE + 330)
379 #define _gloffset_PrioritizeTextures (_BASE + 331)
380 #define _gloffset_PushClientAttrib (_BASE + 332)
381 #define _gloffset_TexCoordPointer (_BASE + 333)
382 #define _gloffset_TexSubImage1D (_BASE + 334)
383 #define _gloffset_TexSubImage2D (_BASE + 335)
384 #define _gloffset_VertexPointer (_BASE + 336)
385
386 /* GL 1.2 */
387 #define _gloffset_CopyTexSubImage3D (_BASE + 337)
388 #define _gloffset_DrawRangeElements (_BASE + 338)
389 #define _gloffset_TexImage3D (_BASE + 339)
390 #define _gloffset_TexSubImage3D (_BASE + 340)
391
392 /* GL_ARB_imaging */
393 #define _gloffset_BlendColor (_BASE + 341)
394 #define _gloffset_BlendEquation (_BASE + 342)
395 #define _gloffset_ColorSubTable (_BASE + 343)
396 #define _gloffset_ColorTable (_BASE + 344)
397 #define _gloffset_ColorTableParameterfv (_BASE + 345)
398 #define _gloffset_ColorTableParameteriv (_BASE + 346)
399 #define _gloffset_ConvolutionFilter1D (_BASE + 347)
400 #define _gloffset_ConvolutionFilter2D (_BASE + 348)
401 #define _gloffset_ConvolutionParameterf (_BASE + 349)
402 #define _gloffset_ConvolutionParameterfv (_BASE + 350)
403 #define _gloffset_ConvolutionParameteri (_BASE + 351)
404 #define _gloffset_ConvolutionParameteriv (_BASE + 352)
405 #define _gloffset_CopyColorSubTable (_BASE + 353)
406 #define _gloffset_CopyColorTable (_BASE + 354)
407 #define _gloffset_CopyConvolutionFilter1D (_BASE + 355)
408 #define _gloffset_CopyConvolutionFilter2D (_BASE + 356)
409 #define _gloffset_GetColorTable (_BASE + 357)
410 #define _gloffset_GetColorTableParameterfv (_BASE + 358)
411 #define _gloffset_GetColorTableParameteriv (_BASE + 359)
412 #define _gloffset_GetConvolutionFilter (_BASE + 360)
413 #define _gloffset_GetConvolutionParameterfv (_BASE + 361)
414 #define _gloffset_GetConvolutionParameteriv (_BASE + 362)
415 #define _gloffset_GetHistogram (_BASE + 363)
416 #define _gloffset_GetHistogramParameterfv (_BASE + 364)
417 #define _gloffset_GetHistogramParameteriv (_BASE + 365)
418 #define _gloffset_GetMinmax (_BASE + 366)
419 #define _gloffset_GetMinmaxParameterfv (_BASE + 367)
420 #define _gloffset_GetMinmaxParameteriv (_BASE + 368)
421 #define _gloffset_GetSeparableFilter (_BASE + 369)
422 #define _gloffset_Histogram (_BASE + 370)
423 #define _gloffset_Minmax (_BASE + 371)
424 #define _gloffset_ResetHistogram (_BASE + 372)
425 #define _gloffset_ResetMinmax (_BASE + 373)
426 #define _gloffset_SeparableFilter2D (_BASE + 374)
427
428 /* GL_ARB_multitexture */
429 #define _gloffset_ActiveTextureARB (_BASE + 375)
430 #define _gloffset_ClientActiveTextureARB (_BASE + 376)
431 #define _gloffset_MultiTexCoord1dARB (_BASE + 377)
432 #define _gloffset_MultiTexCoord1dvARB (_BASE + 378)
433 #define _gloffset_MultiTexCoord1fARB (_BASE + 379)
434 #define _gloffset_MultiTexCoord1fvARB (_BASE + 380)
435 #define _gloffset_MultiTexCoord1iARB (_BASE + 381)
436 #define _gloffset_MultiTexCoord1ivARB (_BASE + 382)
437 #define _gloffset_MultiTexCoord1sARB (_BASE + 383)
438 #define _gloffset_MultiTexCoord1svARB (_BASE + 384)
439 #define _gloffset_MultiTexCoord2dARB (_BASE + 385)
440 #define _gloffset_MultiTexCoord2dvARB (_BASE + 386)
441 #define _gloffset_MultiTexCoord2fARB (_BASE + 387)
442 #define _gloffset_MultiTexCoord2fvARB (_BASE + 388)
443 #define _gloffset_MultiTexCoord2iARB (_BASE + 389)
444 #define _gloffset_MultiTexCoord2ivARB (_BASE + 390)
445 #define _gloffset_MultiTexCoord2sARB (_BASE + 391)
446 #define _gloffset_MultiTexCoord2svARB (_BASE + 392)
447 #define _gloffset_MultiTexCoord3dARB (_BASE + 393)
448 #define _gloffset_MultiTexCoord3dvARB (_BASE + 394)
449 #define _gloffset_MultiTexCoord3fARB (_BASE + 395)
450 #define _gloffset_MultiTexCoord3fvARB (_BASE + 396)
451 #define _gloffset_MultiTexCoord3iARB (_BASE + 397)
452 #define _gloffset_MultiTexCoord3ivARB (_BASE + 398)
453 #define _gloffset_MultiTexCoord3sARB (_BASE + 399)
454 #define _gloffset_MultiTexCoord3svARB (_BASE + 400)
455 #define _gloffset_MultiTexCoord4dARB (_BASE + 401)
456 #define _gloffset_MultiTexCoord4dvARB (_BASE + 402)
457 #define _gloffset_MultiTexCoord4fARB (_BASE + 403)
458 #define _gloffset_MultiTexCoord4fvARB (_BASE + 404)
459 #define _gloffset_MultiTexCoord4iARB (_BASE + 405)
460 #define _gloffset_MultiTexCoord4ivARB (_BASE + 406)
461 #define _gloffset_MultiTexCoord4sARB (_BASE + 407)
462 #define _gloffset_MultiTexCoord4svARB (_BASE + 408)
463
464
465
466 #define _EXTBASE (_BASE + 409)
467
468
469 /* 1. GL_EXT_abgr - no functions */
470
471 /* 2. GL_EXT_blend_color */
472 #define _gloffset_BlendColorEXT (_EXTBASE + 0)
473
474 /* 3. GL_EXT_polygon_offset */
475 #define _gloffset_PolygonOffsetEXT (_EXTBASE + 1)
476
477 /* 4. GL_EXT_texture - no functions */
478
479 /* 5. ??? */
480
481 /* 6. GL_EXT_texture3D */
482 #define _gloffset_CopyTexSubImage3DEXT (_EXTBASE + 2)
483 #define _gloffset_TexImage3DEXT (_EXTBASE + 3)
484 #define _gloffset_TexSubImage3DEXT (_EXTBASE + 4)
485
486 /* 7. GL_SGI_texture_filter4 */
487 #define _gloffset_GetTexFilterFuncSGIS (_EXTBASE + 5)
488 #define _gloffset_TexFilterFuncSGIS (_EXTBASE + 6)
489
490 /* 8. ??? */
491
492 /* 9. GL_EXT_subtexture */
493 #define _gloffset_TexSubImage1DEXT (_EXTBASE + 7)
494 #define _gloffset_TexSubImage2DEXT (_EXTBASE + 8)
495 /*#define _gloffset_TexSubImage3DEXT*/
496
497 /* 10. GL_EXT_copy_texture */
498 #define _gloffset_CopyTexImage1DEXT (_EXTBASE + 9)
499 #define _gloffset_CopyTexImage2DEXT (_EXTBASE + 10)
500 #define _gloffset_CopyTexSubImage1DEXT (_EXTBASE + 11)
501 #define _gloffset_CopyTexSubImage2DEXT (_EXTBASE + 12)
502 /*#define _gloffset_CopyTexSubImage3DEXT*/
503
504 /* 11. GL_EXT_histogram */
505 #define _gloffset_GetHistogramEXT (_EXTBASE + 13)
506 #define _gloffset_GetHistogramParameterfvEXT (_EXTBASE + 15)
507 #define _gloffset_GetHistogramParameterivEXT (_EXTBASE + 14)
508 #define _gloffset_GetMinmaxEXT (_EXTBASE + 16)
509 #define _gloffset_GetMinmaxParameterfvEXT (_EXTBASE + 18)
510 #define _gloffset_GetMinmaxParameterivEXT (_EXTBASE + 17)
511 #define _gloffset_HistogramEXT (_EXTBASE + 19)
512 #define _gloffset_MinmaxEXT (_EXTBASE + 20)
513 #define _gloffset_ResetHistogramEXT (_EXTBASE + 21)
514 #define _gloffset_ResetMinmaxEXT (_EXTBASE + 22)
515
516 /* 12. GL_EXT_convolution */
517 #define _gloffset_ConvolutionFilter1DEXT (_EXTBASE + 23)
518 #define _gloffset_ConvolutionFilter2DEXT (_EXTBASE + 24)
519 #define _gloffset_ConvolutionParameterfEXT (_EXTBASE + 25)
520 #define _gloffset_ConvolutionParameterfvEXT (_EXTBASE + 26)
521 #define _gloffset_ConvolutionParameteriEXT (_EXTBASE + 27)
522 #define _gloffset_ConvolutionParameterivEXT (_EXTBASE + 28)
523 #define _gloffset_CopyConvolutionFilter1DEXT (_EXTBASE + 29)
524 #define _gloffset_CopyConvolutionFilter2DEXT (_EXTBASE + 30)
525 #define _gloffset_GetConvolutionFilterEXT (_EXTBASE + 31)
526 #define _gloffset_GetConvolutionParameterivEXT (_EXTBASE + 32)
527 #define _gloffset_GetConvolutionParameterfvEXT (_EXTBASE + 33)
528 #define _gloffset_GetSeparableFilterEXT (_EXTBASE + 34)
529 #define _gloffset_SeparableFilter2DEXT (_EXTBASE + 35)
530
531 /* 13. GL_SGI_color_matrix - no functions */
532
533 /* 14. GL_SGI_color_table */
534 #define _gloffset_ColorTableSGI (_EXTBASE + 36)
535 #define _gloffset_ColorTableParameterfvSGI (_EXTBASE + 37)
536 #define _gloffset_ColorTableParameterivSGI (_EXTBASE + 38)
537 #define _gloffset_CopyColorTableSGI (_EXTBASE + 39)
538 #define _gloffset_GetColorTableSGI (_EXTBASE + 40)
539 #define _gloffset_GetColorTableParameterfvSGI (_EXTBASE + 41)
540 #define _gloffset_GetColorTableParameterivSGI (_EXTBASE + 42)
541
542 /* 15. GL_SGIS_pixel_texture */
543 #define _gloffset_PixelTexGenParameterfSGIS (_EXTBASE + 43)
544 #define _gloffset_PixelTexGenParameteriSGIS (_EXTBASE + 44)
545 #define _gloffset_GetPixelTexGenParameterfvSGIS (_EXTBASE + 45)
546 #define _gloffset_GetPixelTexGenParameterivSGIS (_EXTBASE + 46)
547
548 /* 16. GL_SGIS_texture4D */
549 #define _gloffset_TexImage4DSGIS (_EXTBASE + 47)
550 #define _gloffset_TexSubImage4DSGIS (_EXTBASE + 48)
551
552 /* 17. GL_SGI_texture_color_table - no functions */
553
554 /* 18. GL_EXT_cmyka - no functions */
555
556 /* 19. ??? */
557
558 /* 20. GL_EXT_texture_object */
559 #define _gloffset_AreTexturesResidentEXT (_EXTBASE + 49)
560 #define _gloffset_BindTextureEXT (_EXTBASE + 50)
561 #define _gloffset_DeleteTexturesEXT (_EXTBASE + 51)
562 #define _gloffset_GenTexturesEXT (_EXTBASE + 52)
563 #define _gloffset_IsTextureEXT (_EXTBASE + 53)
564 #define _gloffset_PrioritizeTexturesEXT (_EXTBASE + 54)
565
566 /* 21. GL_SGIS_detail_texture */
567 #define _gloffset_DetailTexFuncSGIS (_EXTBASE + 55)
568 #define _gloffset_GetDetailTexFuncSGIS (_EXTBASE + 56)
569
570 /* 22. GL_SGIS_sharpen_texture */
571 #define _gloffset_GetSharpenTexFuncSGIS (_EXTBASE + 57)
572 #define _gloffset_SharpenTexFuncSGIS (_EXTBASE + 58)
573
574 /* 23. GL_EXT_packed_pixels - no functions */
575
576 /* 24. GL_SGIS_texture_lod - no functions */
577
578 /* 25. GL_SGIS_multisample */
579 #define _gloffset_SampleMaskSGIS (_EXTBASE + 54)
580 #define _gloffset_SamplePatternSGIS (_EXTBASE + 55)
581
582 /* 26. ??? */
583
584 /* 27. GL_EXT_rescale_normal - no functions */
585
586 /* 28. GLX_EXT_visual_info - no functions */
587
588 /* 29. ??? */
589
590 /* 30. GL_EXT_vertex_array */
591 #define _gloffset_ArrayElementEXT (_EXTBASE + 56)
592 #define _gloffset_ColorPointerEXT (_EXTBASE + 57)
593 #define _gloffset_DrawArraysEXT (_EXTBASE + 58)
594 #define _gloffset_EdgeFlagPointerEXT (_EXTBASE + 59)
595 #define _gloffset_GetPointervEXT (_EXTBASE + 60)
596 #define _gloffset_IndexPointerEXT (_EXTBASE + 61)
597 #define _gloffset_NormalPointerEXT (_EXTBASE + 62)
598 #define _gloffset_TexCoordPointerEXT (_EXTBASE + 63)
599 #define _gloffset_VertexPointerEXT (_EXTBASE + 64)
600
601 /* 31. GL_EXT_misc_attribute - no functions */
602
603 /* 32. GL_SGIS_generate_mipmap - no functions */
604
605 /* 33. GL_SGIX_clipmap - no functions */
606
607 /* 34. GL_SGIX_shadow - no functions */
608
609 /* 35. GL_SGIS_texture_edge_clamp - no functions */
610
611 /* 36. GL_SGIS_texture_border_clamp - no functions */
612
613 /* 37. GL_EXT_blend_minmax */
614 #define _gloffset_BlendEquationEXT (_EXTBASE + 65)
615
616 /* 38. GL_EXT_blend_subtract - no functions */
617
618 /* 39. GL_EXT_blend_logic_op - no functions */
619
620 /* 40. GLX_SGI_swap_control - GLX functions */
621
622 /* 41. GLX_SGI_video_sync - GLX functions */
623
624 /* 42. GLX_SGI_make_current_read - GLX functions */
625
626 /* 43. GLX_SGIX_video_source - GLX functions */
627
628 /* 44. GLX_EXT_visual_rating - no functions */
629
630 /* 45. GL_SGIX_interlace - no functions */
631
632 /* 46. ??? */
633
634 /* 47. GLX_EXT_import_context - GLX functions */
635
636 /* 48. ??? */
637
638 /* 49. GLX_SGIX_fbconfig - some GLX functions */
639
640 /* 50. GLX_SGIX_pbuffer - GLX functions */
641
642 /* 51. GL_SGIS_texture_select - no functions */
643
644 /* 52. GL_SGIX_sprite */
645 #define _gloffset_SpriteParameterfSGIX (_EXTBASE + 66)
646 #define _gloffset_SpriteParameterfvSGIX (_EXTBASE + 67)
647 #define _gloffset_SpriteParameteriSGIX (_EXTBASE + 68)
648 #define _gloffset_SpriteParameterivSGIX (_EXTBASE + 69)
649
650 /* 53. ??? */
651
652 /* 54. GL_EXT_point_parameters */
653 #define _gloffset_PointParameterfEXT (_EXTBASE + 70)
654 #define _gloffset_PointParameterfvEXT (_EXTBASE + 71)
655
656 /* 55. GL_SGIX_instruments */
657 #define _gloffset_InstrumentsBufferSGIX (_EXTBASE + 72)
658 #define _gloffset_StartInstrumentsSGIX (_EXTBASE + 73)
659 #define _gloffset_StopInstrumentsSGIX (_EXTBASE + 74)
660 #define _gloffset_ReadInstrumentsSGIX (_EXTBASE + 75)
661 #define _gloffset_PollInstrumentsSGIX (_EXTBASE + 76)
662 #define _gloffset_GetInstrumentsSGIX (_EXTBASE + 77)
663
664 /* 56. GL_SGIX_texture_scale_bias - no functions */
665
666 /* 57. GL_SGIX_framezoom */
667 #define _gloffset_FrameZoomSGIX (_EXTBASE + 78)
668
669 /* 58. GL_SGIX_tag_sample_buffer - no functions */
670
671 /* 59. ??? */
672
673 /* 60. GL_SGIX_reference_plane */
674 #define _gloffset_ReferencePlaneSGIX (_EXTBASE + 79)
675
676 /* 61. GL_SGIX_flush_raster */
677 #define _gloffset_FlushRasterSGIX (_EXTBASE + 80)
678
679 /* 62. GLX_SGI_cushion - GLX functions */
680
681 /* 63. GL_SGIX_depth_texture - no functions */
682
683 /* 64. ??? */
684
685 /* 65. GL_SGIX_fog_offset - no functions */
686
687 /* 66. GL_HP_image_transform */
688 #define _gloffset_GetImageTransformParameterfvHP (_EXTBASE + 81)
689 #define _gloffset_GetImageTransformParameterivHP (_EXTBASE + 82)
690 #define _gloffset_ImageTransformParameterfHP (_EXTBASE + 83)
691 #define _gloffset_ImageTransformParameterfvHP (_EXTBASE + 84)
692 #define _gloffset_ImageTransformParameteriHP (_EXTBASE + 85)
693 #define _gloffset_ImageTransformParameterivHP (_EXTBASE + 86)
694
695 /* 67. GL_HP_convolution_border_modes - no functions */
696
697 /* 68. ??? */
698
699 /* 69. GL_SGIX_texture_add_env - no functions */
700
701 /* 70. ??? */
702
703 /* 71. ??? */
704
705 /* 72. ??? */
706
707 /* 73. ??? */
708
709 /* 74. GL_EXT_color_subtable */
710 #define _gloffset_ColorSubTableEXT (_EXTBASE + 87)
711 #define _gloffset_CopyColorSubTableEXT (_EXTBASE + 88)
712
713 /* 75. GLU_EXT_object_space_tess - GLU functions */
714
715 /* 76. GL_PGI_vertex_hints - no functions */
716
717 /* 77. GL_PGI_misc_hints */
718 #define _gloffset_HintPGI (_EXTBASE + 89)
719
720 /* 78. GL_EXT_paletted_texture */
721 /* ColorSubTableEXT already defined */
722 #define _gloffset_ColorTableEXT (_EXTBASE + 91)
723 #define _gloffset_GetColorTableEXT (_EXTBASE + 92)
724 #define _gloffset_GetColorTableParameterfvEXT (_EXTBASE + 93)
725 #define _gloffset_GetColorTableParameterivEXT (_EXTBASE + 94)
726
727 /* 79. GL_EXT_clip_volume_hint - no functions */
728
729 /* 80. GL_SGIX_list_priority */
730 #define _gloffset_GetListParameterfvSGIX (_EXTBASE + 95)
731 #define _gloffset_GetListParameterivSGIX (_EXTBASE + 96)
732 #define _gloffset_ListParameterfSGIX (_EXTBASE + 97)
733 #define _gloffset_ListParameterfvSGIX (_EXTBASE + 98)
734 #define _gloffset_ListParameteriSGIX (_EXTBASE + 99)
735 #define _gloffset_ListParameterivSGIX (_EXTBASE + 100)
736
737 /* 81. GL_SGIX_ir_instrument1 - no functions */
738
739 /* 82. ??? */
740
741 /* 83. GLX_SGIX_video_resize - GLX functions */
742
743 /* 84. GL_SGIX_texture_lod_bias - no functions */
744
745 /* 85. GLU_SGI_filter4_parameters - GLU functions */
746
747 /* 86. GLX_SGIX_dm_buffer - GLX functions */
748
749 /* 87. ??? */
750
751 /* 88. ??? */
752
753 /* 89. ??? */
754
755 /* 90. ??? */
756
757 /* 91. GLX_SGIX_swap_group - GLX functions */
758
759 /* 92. GLX_SGIX_swap_barrier - GLX functions */
760
761 /* 93. GL_EXT_index_texture - no functions */
762
763 /* 94. GL_EXT_index_material */
764 #define _gloffset_IndexMaterialEXT (_EXTBASE + 101)
765
766 /* 95. GL_EXT_index_func */
767 #define _gloffset_IndexFuncEXT (_EXTBASE + 102)
768
769 /* 96. GL_EXT_index_array_formats - no functions */
770
771 /* 97. GL_EXT_compiled_vertex_array */
772 #define _gloffset_LockArraysEXT (_EXTBASE + 103)
773 #define _gloffset_UnlockArraysEXT (_EXTBASE + 104)
774
775 /* 98. GL_EXT_cull_vertex */
776 #define _gloffset_CullParameterfvEXT (_EXTBASE + 105)
777 #define _gloffset_CullParameterdvEXT (_EXTBASE + 106)
778
779 /* 99. ??? */
780
781 /* 100. GLU_EXT_nurbs_tessellator - GLU functions */
782
783 /* 173. GL_EXT/INGR_blend_func_separate */
784 #define _gloffset_BlendFuncSeparateINGR (_EXTBASE + 107)
785
786 /* GL_MESA_window_pos */
787 #define _gloffset_WindowPos2dMESA (_EXTBASE + 108)
788 #define _gloffset_WindowPos2dvMESA (_EXTBASE + 109)
789 #define _gloffset_WindowPos2fMESA (_EXTBASE + 110)
790 #define _gloffset_WindowPos2fvMESA (_EXTBASE + 111)
791 #define _gloffset_WindowPos2iMESA (_EXTBASE + 112)
792 #define _gloffset_WindowPos2ivMESA (_EXTBASE + 113)
793 #define _gloffset_WindowPos2sMESA (_EXTBASE + 114)
794 #define _gloffset_WindowPos2svMESA (_EXTBASE + 115)
795 #define _gloffset_WindowPos3dMESA (_EXTBASE + 116)
796 #define _gloffset_WindowPos3dvMESA (_EXTBASE + 117)
797 #define _gloffset_WindowPos3fMESA (_EXTBASE + 118)
798 #define _gloffset_WindowPos3fvMESA (_EXTBASE + 119)
799 #define _gloffset_WindowPos3iMESA (_EXTBASE + 120)
800 #define _gloffset_WindowPos3ivMESA (_EXTBASE + 121)
801 #define _gloffset_WindowPos3sMESA (_EXTBASE + 122)
802 #define _gloffset_WindowPos3svMESA (_EXTBASE + 123)
803 #define _gloffset_WindowPos4dMESA (_EXTBASE + 124)
804 #define _gloffset_WindowPos4dvMESA (_EXTBASE + 125)
805 #define _gloffset_WindowPos4fMESA (_EXTBASE + 126)
806 #define _gloffset_WindowPos4fvMESA (_EXTBASE + 127)
807 #define _gloffset_WindowPos4iMESA (_EXTBASE + 128)
808 #define _gloffset_WindowPos4ivMESA (_EXTBASE + 129)
809 #define _gloffset_WindowPos4sMESA (_EXTBASE + 130)
810 #define _gloffset_WindowPos4svMESA (_EXTBASE + 131)
811
812 /* GL_MESA_resize_buffers */
813 #define _gloffset_ResizeBuffersMESA (_EXTBASE + 132)
814
815 /* GL_ARB_transpose_matrix */
816 #define _gloffset_LoadTransposeMatrixdARB (_EXTBASE + 133)
817 #define _gloffset_LoadTransposeMatrixfARB (_EXTBASE + 134)
818 #define _gloffset_MultTransposeMatrixdARB (_EXTBASE + 135)
819 #define _gloffset_MultTransposeMatrixfARB (_EXTBASE + 136)
820
821
822
823 #endif
824