home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / include2 / GL / gl.h next >
C/C++ Source or Header  |  1998-11-06  |  66KB  |  1,546 lines

  1. /* IBM_PROLOG_BEGIN_TAG                                                   */
  2. /* This is an automatically generated prolog.                             */
  3. /*                                                                        */
  4. /* gos42G src/gos/3d/OPENGL/include/GL/gl.h 1.18                          */
  5. /*                                                                        */
  6. /* Licensed Materials - Property of IBM                                   */
  7. /*                                                                        */
  8. /* (C) COPYRIGHT International Business Machines Corp. 1992,1995          */
  9. /* All Rights Reserved                                                    */
  10. /*                                                                        */
  11. /* US Government Users Restricted Rights - Use, duplication or            */
  12. /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
  13. /*                                                                        */
  14. /* IBM_PROLOG_END_TAG                                                     */
  15. /* @(#)67    1.18  src/gos/3d/OPENGL/include/GL/gl.h, glxlib, gos42G 10/22/96 16:41:25 */
  16.  
  17. #ifndef __gl_h_
  18. #define __gl_h_
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. #if defined (NT)
  25. #include "wtypes.h"
  26. #endif /* NT */
  27.  
  28. #if defined (OS2) && !defined (NT)
  29. #ifdef __BORLANDC__
  30. #define APIENTRY __syscall
  31. #endif
  32. //#if defined(__IBMC__) || defined(__WATCOMC__) || defined(__EMX__)
  33. #if defined(__IBMC__) || defined(__WATCOMC__)
  34. #define APIENTRY _System
  35. #endif
  36. #else /* !OS2 */
  37. #if !defined (NT)
  38. #define APIENTRY
  39. #endif /* NT */
  40. #endif /* OS2 */
  41.  
  42.  
  43. /*
  44. ** Copyright 1996 Silicon Graphics, Inc.
  45. ** All Rights Reserved.
  46. ** 
  47. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  48. ** the contents of this file may not be disclosed to third parties, copied or
  49. ** duplicated in any form, in whole or in part, without the prior written
  50. ** permission of Silicon Graphics, Inc.
  51. ** 
  52. ** RESTRICTED RIGHTS LEGEND:
  53. ** Use, duplication or disclosure by the Government is subject to restrictions
  54. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  55. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  56. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  57. ** rights reserved under the Copyright Laws of the United States.
  58. */
  59.  
  60. typedef unsigned long GLenum;
  61. typedef unsigned char GLboolean;
  62. typedef unsigned long GLbitfield;
  63. typedef signed char GLbyte;
  64. typedef short GLshort;
  65. typedef long GLint;
  66. typedef long GLsizei;
  67. typedef unsigned char GLubyte;
  68. typedef unsigned short GLushort;
  69. typedef unsigned long GLuint;
  70. typedef float GLfloat;
  71. typedef float GLclampf;
  72. typedef double GLdouble;
  73. typedef double GLclampd;
  74. typedef void GLvoid;
  75.  
  76. /*************************************************************/
  77.  
  78. /* Version */
  79. #define GL_VERSION_1_1                    1
  80.  
  81. /* AccumOp */
  82. #define GL_ACCUM                          0x0100
  83. #define GL_LOAD                           0x0101
  84. #define GL_RETURN                         0x0102
  85. #define GL_MULT                           0x0103
  86. #define GL_ADD                            0x0104
  87.  
  88. /* AlphaFunction */
  89. #define GL_NEVER                          0x0200
  90. #define GL_LESS                           0x0201
  91. #define GL_EQUAL                          0x0202
  92. #define GL_LEQUAL                         0x0203
  93. #define GL_GREATER                        0x0204
  94. #define GL_NOTEQUAL                       0x0205
  95. #define GL_GEQUAL                         0x0206
  96. #define GL_ALWAYS                         0x0207
  97.  
  98. /* AttribMask */
  99. #define GL_CURRENT_BIT                    0x00000001
  100. #define GL_POINT_BIT                      0x00000002
  101. #define GL_LINE_BIT                       0x00000004
  102. #define GL_POLYGON_BIT                    0x00000008
  103. #define GL_POLYGON_STIPPLE_BIT            0x00000010
  104. #define GL_PIXEL_MODE_BIT                 0x00000020
  105. #define GL_LIGHTING_BIT                   0x00000040
  106. #define GL_FOG_BIT                        0x00000080
  107. #define GL_DEPTH_BUFFER_BIT               0x00000100
  108. #define GL_ACCUM_BUFFER_BIT               0x00000200
  109. #define GL_STENCIL_BUFFER_BIT             0x00000400
  110. #define GL_VIEWPORT_BIT                   0x00000800
  111. #define GL_TRANSFORM_BIT                  0x00001000
  112. #define GL_ENABLE_BIT                     0x00002000
  113. #define GL_COLOR_BUFFER_BIT               0x00004000
  114. #define GL_HINT_BIT                       0x00008000
  115. #define GL_EVAL_BIT                       0x00010000
  116. #define GL_LIST_BIT                       0x00020000
  117. #define GL_TEXTURE_BIT                    0x00040000
  118. #define GL_SCISSOR_BIT                    0x00080000
  119. #define GL_ALL_ATTRIB_BITS                0x000fffff
  120.  
  121. /* BeginMode */
  122. #define GL_POINTS                         0x0000
  123. #define GL_LINES                          0x0001
  124. #define GL_LINE_LOOP                      0x0002
  125. #define GL_LINE_STRIP                     0x0003
  126. #define GL_TRIANGLES                      0x0004
  127. #define GL_TRIANGLE_STRIP                 0x0005
  128. #define GL_TRIANGLE_FAN                   0x0006
  129. #define GL_QUADS                          0x0007
  130. #define GL_QUAD_STRIP                     0x0008
  131. #define GL_POLYGON                        0x0009
  132.  
  133. /* BlendEquationModeEXT */
  134. /*      GL_LOGIC_OP */
  135. /*      GL_FUNC_ADD_EXT */
  136. /*      GL_MIN_EXT */
  137. /*      GL_MAX_EXT */
  138. /*      GL_FUNC_SUBTRACT_EXT */
  139. /*      GL_FUNC_REVERSE_SUBTRACT_EXT */
  140.  
  141. /* BlendingFactorDest */
  142. #define GL_ZERO                           0
  143. #define GL_ONE                            1
  144. #define GL_SRC_COLOR                      0x0300
  145. #define GL_ONE_MINUS_SRC_COLOR            0x0301
  146. #define GL_SRC_ALPHA                      0x0302
  147. #define GL_ONE_MINUS_SRC_ALPHA            0x0303
  148. #define GL_DST_ALPHA                      0x0304
  149. #define GL_ONE_MINUS_DST_ALPHA            0x0305
  150. /*      GL_CONSTANT_COLOR_EXT */
  151. /*      GL_ONE_MINUS_CONSTANT_COLOR_EXT */
  152. /*      GL_CONSTANT_ALPHA_EXT */
  153. /*      GL_ONE_MINUS_CONSTANT_ALPHA_EXT */
  154.  
  155. /* BlendingFactorSrc */
  156. /*      GL_ZERO */
  157. /*      GL_ONE */
  158. #define GL_DST_COLOR                      0x0306
  159. #define GL_ONE_MINUS_DST_COLOR            0x0307
  160. #define GL_SRC_ALPHA_SATURATE             0x0308
  161. /*      GL_SRC_ALPHA */
  162. /*      GL_ONE_MINUS_SRC_ALPHA */
  163. /*      GL_DST_ALPHA */
  164. /*      GL_ONE_MINUS_DST_ALPHA */
  165. /*      GL_CONSTANT_COLOR_EXT */
  166. /*      GL_ONE_MINUS_CONSTANT_COLOR_EXT */
  167. /*      GL_CONSTANT_ALPHA_EXT */
  168. /*      GL_ONE_MINUS_CONSTANT_ALPHA_EXT */
  169.  
  170. /* Boolean */
  171. #define GL_TRUE                           1
  172. #define GL_FALSE                          0
  173.  
  174. /* ClearBufferMask */
  175. /*      GL_COLOR_BUFFER_BIT */
  176. /*      GL_ACCUM_BUFFER_BIT */
  177. /*      GL_STENCIL_BUFFER_BIT */
  178. /*      GL_DEPTH_BUFFER_BIT */
  179.  
  180. /* ClientArrayType */
  181. /*      GL_VERTEX_ARRAY */
  182. /*      GL_NORMAL_ARRAY */
  183. /*      GL_COLOR_ARRAY */
  184. /*      GL_INDEX_ARRAY */
  185. /*      GL_TEXTURE_COORD_ARRAY */
  186. /*      GL_EDGE_FLAG_ARRAY */
  187.  
  188. /* ClipPlaneName */
  189. #define GL_CLIP_PLANE0                    0x3000
  190. #define GL_CLIP_PLANE1                    0x3001
  191. #define GL_CLIP_PLANE2                    0x3002
  192. #define GL_CLIP_PLANE3                    0x3003
  193. #define GL_CLIP_PLANE4                    0x3004
  194. #define GL_CLIP_PLANE5                    0x3005
  195.  
  196. /* ColorMaterialFace */
  197. /*      GL_FRONT */
  198. /*      GL_BACK */
  199. /*      GL_FRONT_AND_BACK */
  200.  
  201. /* ColorMaterialParameter */
  202. /*      GL_AMBIENT */
  203. /*      GL_DIFFUSE */
  204. /*      GL_SPECULAR */
  205. /*      GL_EMISSION */
  206. /*      GL_AMBIENT_AND_DIFFUSE */
  207.  
  208. /* ColorPointerType */
  209. /*      GL_BYTE */
  210. /*      GL_UNSIGNED_BYTE */
  211. /*      GL_SHORT */
  212. /*      GL_UNSIGNED_SHORT */
  213. /*      GL_INT */
  214. /*      GL_UNSIGNED_INT */
  215. /*      GL_FLOAT */
  216. /*      GL_DOUBLE */
  217.  
  218. /* CullFaceMode */
  219. /*      GL_FRONT */
  220. /*      GL_BACK */
  221. /*      GL_FRONT_AND_BACK */
  222.  
  223. /* DataType */
  224. #define GL_BYTE                           0x1400
  225. #define GL_UNSIGNED_BYTE                  0x1401
  226. #define GL_SHORT                          0x1402
  227. #define GL_UNSIGNED_SHORT                 0x1403
  228. #define GL_INT                            0x1404
  229. #define GL_UNSIGNED_INT                   0x1405
  230. #define GL_FLOAT                          0x1406
  231. #define GL_2_BYTES                        0x1407
  232. #define GL_3_BYTES                        0x1408
  233. #define GL_4_BYTES                        0x1409
  234. #define GL_DOUBLE                         0x140A
  235.  
  236. /* DepthFunction */
  237. /*      GL_NEVER */
  238. /*      GL_LESS */
  239. /*      GL_EQUAL */
  240. /*      GL_LEQUAL */
  241. /*      GL_GREATER */
  242. /*      GL_NOTEQUAL */
  243. /*      GL_GEQUAL */
  244. /*      GL_ALWAYS */
  245.  
  246. /* DrawBufferMode */
  247. #define GL_NONE                           0
  248. #define GL_FRONT_LEFT                     0x0400
  249. #define GL_FRONT_RIGHT                    0x0401
  250. #define GL_BACK_LEFT                      0x0402
  251. #define GL_BACK_RIGHT                     0x0403
  252. #define GL_FRONT                          0x0404
  253. #define GL_BACK                           0x0405
  254. #define GL_LEFT                           0x0406
  255. #define GL_RIGHT                          0x0407
  256. #define GL_FRONT_AND_BACK                 0x0408
  257. #define GL_AUX0                           0x0409
  258. #define GL_AUX1                           0x040A
  259. #define GL_AUX2                           0x040B
  260. #define GL_AUX3                           0x040C
  261.  
  262. /* Enable */
  263. /*      GL_FOG */
  264. /*      GL_LIGHTING */
  265. /*      GL_TEXTURE_1D */
  266. /*      GL_TEXTURE_2D */
  267. /*      GL_LINE_STIPPLE */
  268. /*      GL_POLYGON_STIPPLE */
  269. /*      GL_CULL_FACE */
  270. /*      GL_ALPHA_TEST */
  271. /*      GL_BLEND */
  272. /*      GL_INDEX_LOGIC_OP */
  273. /*      GL_COLOR_LOGIC_OP */
  274. /*      GL_DITHER */
  275. /*      GL_STENCIL_TEST */
  276. /*      GL_DEPTH_TEST */
  277. /*      GL_CLIP_PLANE0 */
  278. /*      GL_CLIP_PLANE1 */
  279. /*      GL_CLIP_PLANE2 */
  280. /*      GL_CLIP_PLANE3 */
  281. /*      GL_CLIP_PLANE4 */
  282. /*      GL_CLIP_PLANE5 */
  283. /*      GL_LIGHT0 */
  284. /*      GL_LIGHT1 */
  285. /*      GL_LIGHT2 */
  286. /*      GL_LIGHT3 */
  287. /*      GL_LIGHT4 */
  288. /*      GL_LIGHT5 */
  289. /*      GL_LIGHT6 */
  290. /*      GL_LIGHT7 */
  291. /*      GL_TEXTURE_GEN_S */
  292. /*      GL_TEXTURE_GEN_T */
  293. /*      GL_TEXTURE_GEN_R */
  294. /*      GL_TEXTURE_GEN_Q */
  295. /*      GL_MAP1_VERTEX_3 */
  296. /*      GL_MAP1_VERTEX_4 */
  297. /*      GL_MAP1_COLOR_4 */
  298. /*      GL_MAP1_INDEX */
  299. /*      GL_MAP1_NORMAL */
  300. /*      GL_MAP1_TEXTURE_COORD_1 */
  301. /*      GL_MAP1_TEXTURE_COORD_2 */
  302. /*      GL_MAP1_TEXTURE_COORD_3 */
  303. /*      GL_MAP1_TEXTURE_COORD_4 */
  304. /*      GL_MAP2_VERTEX_3 */
  305. /*      GL_MAP2_VERTEX_4 */
  306. /*      GL_MAP2_COLOR_4 */
  307. /*      GL_MAP2_INDEX */
  308. /*      GL_MAP2_NORMAL */
  309. /*      GL_MAP2_TEXTURE_COORD_1 */
  310. /*      GL_MAP2_TEXTURE_COORD_2 */
  311. /*      GL_MAP2_TEXTURE_COORD_3 */
  312. /*      GL_MAP2_TEXTURE_COORD_4 */
  313. /*      GL_POINT_SMOOTH */
  314. /*      GL_LINE_SMOOTH */
  315. /*      GL_POLYGON_SMOOTH */
  316. /*      GL_SCISSOR_TEST */
  317. /*      GL_COLOR_MATERIAL */
  318. /*      GL_NORMALIZE */
  319. /*      GL_AUTO_NORMAL */
  320. /*      GL_VERTEX_ARRAY */
  321. /*      GL_NORMAL_ARRAY */
  322. /*      GL_COLOR_ARRAY */
  323. /*      GL_INDEX_ARRAY */
  324. /*      GL_TEXTURE_COORD_ARRAY */
  325. /*      GL_EDGE_FLAG_ARRAY */
  326. /*      GL_POLYGON_OFFSET_POINT */
  327. /*      GL_POLYGON_OFFSET_LINE */
  328. /*      GL_POLYGON_OFFSET_FILL */
  329. /*      GL_RESCALE_NORMAL_EXT */
  330. /*      GL_TEXTURE_3D_EXT */
  331.  
  332. /* ErrorCode */
  333. #define GL_NO_ERROR                       0
  334. #define GL_INVALID_ENUM                   0x0500
  335. #define GL_INVALID_VALUE                  0x0501
  336. #define GL_INVALID_OPERATION              0x0502
  337. #define GL_STACK_OVERFLOW                 0x0503
  338. #define GL_STACK_UNDERFLOW                0x0504
  339. #define GL_OUT_OF_MEMORY                  0x0505
  340.  
  341. /* FeedBackMode */
  342. #define GL_2D                             0x0600
  343. #define GL_3D                             0x0601
  344. #define GL_3D_COLOR                       0x0602
  345. #define GL_3D_COLOR_TEXTURE               0x0603
  346. #define GL_4D_COLOR_TEXTURE               0x0604
  347.  
  348. /* FeedBackToken */
  349. #define GL_PASS_THROUGH_TOKEN             0x0700
  350. #define GL_POINT_TOKEN                    0x0701
  351. #define GL_LINE_TOKEN                     0x0702
  352. #define GL_POLYGON_TOKEN                  0x0703
  353. #define GL_BITMAP_TOKEN                   0x0704
  354. #define GL_DRAW_PIXEL_TOKEN               0x0705
  355. #define GL_COPY_PIXEL_TOKEN               0x0706
  356. #define GL_LINE_RESET_TOKEN               0x0707
  357.  
  358. /* FogMode */
  359. /*      GL_LINEAR */
  360. #define GL_EXP                            0x0800
  361. #define GL_EXP2                           0x0801
  362.  
  363. /* FogParameter */
  364. /*      GL_FOG_COLOR */
  365. /*      GL_FOG_DENSITY */
  366. /*      GL_FOG_END */
  367. /*      GL_FOG_INDEX */
  368. /*      GL_FOG_MODE */
  369. /*      GL_FOG_START */
  370.  
  371. /* FrontFaceDirection */
  372. #define GL_CW                             0x0900
  373. #define GL_CCW                            0x0901
  374.  
  375. /* GetMapTarget */
  376. #define GL_COEFF                          0x0A00
  377. #define GL_ORDER                          0x0A01
  378. #define GL_DOMAIN                         0x0A02
  379.  
  380. /* GetPixelMap */
  381. /*      GL_PIXEL_MAP_I_TO_I */
  382. /*      GL_PIXEL_MAP_S_TO_S */
  383. /*      GL_PIXEL_MAP_I_TO_R */
  384. /*      GL_PIXEL_MAP_I_TO_G */
  385. /*      GL_PIXEL_MAP_I_TO_B */
  386. /*      GL_PIXEL_MAP_I_TO_A */
  387. /*      GL_PIXEL_MAP_R_TO_R */
  388. /*      GL_PIXEL_MAP_G_TO_G */
  389. /*      GL_PIXEL_MAP_B_TO_B */
  390. /*      GL_PIXEL_MAP_A_TO_A */
  391.  
  392. /* GetPointerTarget */
  393. /*      GL_VERTEX_ARRAY_POINTER */
  394. /*      GL_NORMAL_ARRAY_POINTER */
  395. /*      GL_COLOR_ARRAY_POINTER */
  396. /*      GL_INDEX_ARRAY_POINTER */
  397. /*      GL_TEXTURE_COORD_ARRAY_POINTER */
  398. /*      GL_EDGE_FLAG_ARRAY_POINTER */
  399.  
  400. /* GetTarget */
  401. #define GL_CURRENT_COLOR                  0x0B00
  402. #define GL_CURRENT_INDEX                  0x0B01
  403. #define GL_CURRENT_NORMAL                 0x0B02
  404. #define GL_CURRENT_TEXTURE_COORDS         0x0B03
  405. #define GL_CURRENT_RASTER_COLOR           0x0B04
  406. #define GL_CURRENT_RASTER_INDEX           0x0B05
  407. #define GL_CURRENT_RASTER_TEXTURE_COORDS  0x0B06
  408. #define GL_CURRENT_RASTER_POSITION        0x0B07
  409. #define GL_CURRENT_RASTER_POSITION_VALID  0x0B08
  410. #define GL_CURRENT_RASTER_DISTANCE        0x0B09
  411. #define GL_POINT_SMOOTH                   0x0B10
  412. #define GL_POINT_SIZE                     0x0B11
  413. #define GL_POINT_SIZE_RANGE               0x0B12
  414. #define GL_POINT_SIZE_GRANULARITY         0x0B13
  415. #define GL_LINE_SMOOTH                    0x0B20
  416. #define GL_LINE_WIDTH                     0x0B21
  417. #define GL_LINE_WIDTH_RANGE               0x0B22
  418. #define GL_LINE_WIDTH_GRANULARITY         0x0B23
  419. #define GL_LINE_STIPPLE                   0x0B24
  420. #define GL_LINE_STIPPLE_PATTERN           0x0B25
  421. #define GL_LINE_STIPPLE_REPEAT            0x0B26
  422. #define GL_LIST_MODE                      0x0B30
  423. #define GL_MAX_LIST_NESTING               0x0B31
  424. #define GL_LIST_BASE                      0x0B32
  425. #define GL_LIST_INDEX                     0x0B33
  426. #define GL_POLYGON_MODE                   0x0B40
  427. #define GL_POLYGON_SMOOTH                 0x0B41
  428. #define GL_POLYGON_STIPPLE                0x0B42
  429. #define GL_EDGE_FLAG                      0x0B43
  430. #define GL_CULL_FACE                      0x0B44
  431. #define GL_CULL_FACE_MODE                 0x0B45
  432. #define GL_FRONT_FACE                     0x0B46
  433. #define GL_LIGHTING                       0x0B50
  434. #define GL_LIGHT_MODEL_LOCAL_VIEWER       0x0B51
  435. #define GL_LIGHT_MODEL_TWO_SIDE           0x0B52
  436. #define GL_LIGHT_MODEL_AMBIENT            0x0B53
  437. #define GL_SHADE_MODEL                    0x0B54
  438. #define GL_COLOR_MATERIAL_FACE            0x0B55
  439. #define GL_COLOR_MATERIAL_PARAMETER       0x0B56
  440. #define GL_COLOR_MATERIAL                 0x0B57
  441. #define GL_FOG                            0x0B60
  442. #define GL_FOG_INDEX                      0x0B61
  443. #define GL_FOG_DENSITY                    0x0B62
  444. #define GL_FOG_START                      0x0B63
  445. #define GL_FOG_END                        0x0B64
  446. #define GL_FOG_MODE                       0x0B65
  447. #define GL_FOG_COLOR                      0x0B66
  448. #define GL_DEPTH_RANGE                    0x0B70
  449. #define GL_DEPTH_TEST                     0x0B71
  450. #define GL_DEPTH_WRITEMASK                0x0B72
  451. #define GL_DEPTH_CLEAR_VALUE              0x0B73
  452. #define GL_DEPTH_FUNC                     0x0B74
  453. #define GL_ACCUM_CLEAR_VALUE              0x0B80
  454. #define GL_STENCIL_TEST                   0x0B90
  455. #define GL_STENCIL_CLEAR_VALUE            0x0B91
  456. #define GL_STENCIL_FUNC                   0x0B92
  457. #define GL_STENCIL_VALUE_MASK             0x0B93
  458. #define GL_STENCIL_FAIL                   0x0B94
  459. #define GL_STENCIL_PASS_DEPTH_FAIL        0x0B95
  460. #define GL_STENCIL_PASS_DEPTH_PASS        0x0B96
  461. #define GL_STENCIL_REF                    0x0B97
  462. #define GL_STENCIL_WRITEMASK              0x0B98
  463. #define GL_MATRIX_MODE                    0x0BA0
  464. #define GL_NORMALIZE                      0x0BA1
  465. #define GL_VIEWPORT                       0x0BA2
  466. #define GL_MODELVIEW_STACK_DEPTH          0x0BA3
  467. #define GL_PROJECTION_STACK_DEPTH         0x0BA4
  468. #define GL_TEXTURE_STACK_DEPTH            0x0BA5
  469. #define GL_MODELVIEW_MATRIX               0x0BA6
  470. #define GL_PROJECTION_MATRIX              0x0BA7
  471. #define GL_TEXTURE_MATRIX                 0x0BA8
  472. #define GL_ATTRIB_STACK_DEPTH             0x0BB0
  473. #define GL_CLIENT_ATTRIB_STACK_DEPTH      0x0BB1
  474. #define GL_ALPHA_TEST                     0x0BC0
  475. #define GL_ALPHA_TEST_FUNC                0x0BC1
  476. #define GL_ALPHA_TEST_REF                 0x0BC2
  477. #define GL_DITHER                         0x0BD0
  478. #define GL_BLEND_DST                      0x0BE0
  479. #define GL_BLEND_SRC                      0x0BE1
  480. #define GL_BLEND                          0x0BE2
  481. #define GL_LOGIC_OP_MODE                  0x0BF0
  482. #define GL_INDEX_LOGIC_OP                 0x0BF1
  483. #define GL_COLOR_LOGIC_OP                 0x0BF2
  484. #define GL_AUX_BUFFERS                    0x0C00
  485. #define GL_DRAW_BUFFER                    0x0C01
  486. #define GL_READ_BUFFER                    0x0C02
  487. #define GL_SCISSOR_BOX                    0x0C10
  488. #define GL_SCISSOR_TEST                   0x0C11
  489. #define GL_INDEX_CLEAR_VALUE              0x0C20
  490. #define GL_INDEX_WRITEMASK                0x0C21
  491. #define GL_COLOR_CLEAR_VALUE              0x0C22
  492. #define GL_COLOR_WRITEMASK                0x0C23
  493. #define GL_INDEX_MODE                     0x0C30
  494. #define GL_RGBA_MODE                      0x0C31
  495. #define GL_DOUBLEBUFFER                   0x0C32
  496. #define GL_STEREO                         0x0C33
  497. #define GL_RENDER_MODE                    0x0C40
  498. #define GL_PERSPECTIVE_CORRECTION_HINT    0x0C50
  499. #define GL_POINT_SMOOTH_HINT              0x0C51
  500. #define GL_LINE_SMOOTH_HINT               0x0C52
  501. #define GL_POLYGON_SMOOTH_HINT            0x0C53
  502. #define GL_FOG_HINT                       0x0C54
  503.  
  504. #define GL_SUBPIXEL_HINT_IBM              0x19259
  505.  
  506. #define GL_TEXTURE_GEN_S                  0x0C60
  507. #define GL_TEXTURE_GEN_T                  0x0C61
  508. #define GL_TEXTURE_GEN_R                  0x0C62
  509. #define GL_TEXTURE_GEN_Q                  0x0C63
  510. #define GL_PIXEL_MAP_I_TO_I               0x0C70
  511. #define GL_PIXEL_MAP_S_TO_S               0x0C71
  512. #define GL_PIXEL_MAP_I_TO_R               0x0C72
  513. #define GL_PIXEL_MAP_I_TO_G               0x0C73
  514. #define GL_PIXEL_MAP_I_TO_B               0x0C74
  515. #define GL_PIXEL_MAP_I_TO_A               0x0C75
  516. #define GL_PIXEL_MAP_R_TO_R               0x0C76
  517. #define GL_PIXEL_MAP_G_TO_G               0x0C77
  518. #define GL_PIXEL_MAP_B_TO_B               0x0C78
  519. #define GL_PIXEL_MAP_A_TO_A               0x0C79
  520. #define GL_PIXEL_MAP_I_TO_I_SIZE          0x0CB0
  521. #define GL_PIXEL_MAP_S_TO_S_SIZE          0x0CB1
  522. #define GL_PIXEL_MAP_I_TO_R_SIZE          0x0CB2
  523. #define GL_PIXEL_MAP_I_TO_G_SIZE          0x0CB3
  524. #define GL_PIXEL_MAP_I_TO_B_SIZE          0x0CB4
  525. #define GL_PIXEL_MAP_I_TO_A_SIZE          0x0CB5
  526. #define GL_PIXEL_MAP_R_TO_R_SIZE          0x0CB6
  527. #define GL_PIXEL_MAP_G_TO_G_SIZE          0x0CB7
  528. #define GL_PIXEL_MAP_B_TO_B_SIZE          0x0CB8
  529. #define GL_PIXEL_MAP_A_TO_A_SIZE          0x0CB9
  530. #define GL_UNPACK_SWAP_BYTES              0x0CF0
  531. #define GL_UNPACK_LSB_FIRST               0x0CF1
  532. #define GL_UNPACK_ROW_LENGTH              0x0CF2
  533. #define GL_UNPACK_SKIP_ROWS               0x0CF3
  534. #define GL_UNPACK_SKIP_PIXELS             0x0CF4
  535. #define GL_UNPACK_ALIGNMENT               0x0CF5
  536. #define GL_PACK_SWAP_BYTES                0x0D00
  537. #define GL_PACK_LSB_FIRST                 0x0D01
  538. #define GL_PACK_ROW_LENGTH                0x0D02
  539. #define GL_PACK_SKIP_ROWS                 0x0D03
  540. #define GL_PACK_SKIP_PIXELS               0x0D04
  541. #define GL_PACK_ALIGNMENT                 0x0D05
  542. #define GL_MAP_COLOR                      0x0D10
  543. #define GL_MAP_STENCIL                    0x0D11
  544. #define GL_INDEX_SHIFT                    0x0D12
  545. #define GL_INDEX_OFFSET                   0x0D13
  546. #define GL_RED_SCALE                      0x0D14
  547. #define GL_RED_BIAS                       0x0D15
  548. #define GL_ZOOM_X                         0x0D16
  549. #define GL_ZOOM_Y                         0x0D17
  550. #define GL_GREEN_SCALE                    0x0D18
  551. #define GL_GREEN_BIAS                     0x0D19
  552. #define GL_BLUE_SCALE                     0x0D1A
  553. #define GL_BLUE_BIAS                      0x0D1B
  554. #define GL_ALPHA_SCALE                    0x0D1C
  555. #define GL_ALPHA_BIAS                     0x0D1D
  556. #define GL_DEPTH_SCALE                    0x0D1E
  557. #define GL_DEPTH_BIAS                     0x0D1F
  558. #define GL_MAX_EVAL_ORDER                 0x0D30
  559. #define GL_MAX_LIGHTS                     0x0D31
  560. #define GL_MAX_CLIP_PLANES                0x0D32
  561. #define GL_MAX_TEXTURE_SIZE               0x0D33
  562. #define GL_MAX_PIXEL_MAP_TABLE            0x0D34
  563. #define GL_MAX_ATTRIB_STACK_DEPTH         0x0D35
  564. #define GL_MAX_MODELVIEW_STACK_DEPTH      0x0D36
  565. #define GL_MAX_NAME_STACK_DEPTH           0x0D37
  566. #define GL_MAX_PROJECTION_STACK_DEPTH     0x0D38
  567. #define GL_MAX_TEXTURE_STACK_DEPTH        0x0D39
  568. #define GL_MAX_VIEWPORT_DIMS              0x0D3A
  569. #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH  0x0D3B
  570. #define GL_SUBPIXEL_BITS                  0x0D50
  571. #define GL_INDEX_BITS                     0x0D51
  572. #define GL_RED_BITS                       0x0D52
  573. #define GL_GREEN_BITS                     0x0D53
  574. #define GL_BLUE_BITS                      0x0D54
  575. #define GL_ALPHA_BITS                     0x0D55
  576. #define GL_DEPTH_BITS                     0x0D56
  577. #define GL_STENCIL_BITS                   0x0D57
  578. #define GL_ACCUM_RED_BITS                 0x0D58
  579. #define GL_ACCUM_GREEN_BITS               0x0D59
  580. #define GL_ACCUM_BLUE_BITS                0x0D5A
  581. #define GL_ACCUM_ALPHA_BITS               0x0D5B
  582. #define GL_NAME_STACK_DEPTH               0x0D70
  583. #define GL_AUTO_NORMAL                    0x0D80
  584. #define GL_MAP1_COLOR_4                   0x0D90
  585. #define GL_MAP1_INDEX                     0x0D91
  586. #define GL_MAP1_NORMAL                    0x0D92
  587. #define GL_MAP1_TEXTURE_COORD_1           0x0D93
  588. #define GL_MAP1_TEXTURE_COORD_2           0x0D94
  589. #define GL_MAP1_TEXTURE_COORD_3           0x0D95
  590. #define GL_MAP1_TEXTURE_COORD_4           0x0D96
  591. #define GL_MAP1_VERTEX_3                  0x0D97
  592. #define GL_MAP1_VERTEX_4                  0x0D98
  593. #define GL_MAP2_COLOR_4                   0x0DB0
  594. #define GL_MAP2_INDEX                     0x0DB1
  595. #define GL_MAP2_NORMAL                    0x0DB2
  596. #define GL_MAP2_TEXTURE_COORD_1           0x0DB3
  597. #define GL_MAP2_TEXTURE_COORD_2           0x0DB4
  598. #define GL_MAP2_TEXTURE_COORD_3           0x0DB5
  599. #define GL_MAP2_TEXTURE_COORD_4           0x0DB6
  600. #define GL_MAP2_VERTEX_3                  0x0DB7
  601. #define GL_MAP2_VERTEX_4                  0x0DB8
  602. #define GL_MAP1_GRID_DOMAIN               0x0DD0
  603. #define GL_MAP1_GRID_SEGMENTS             0x0DD1
  604. #define GL_MAP2_GRID_DOMAIN               0x0DD2
  605. #define GL_MAP2_GRID_SEGMENTS             0x0DD3
  606. #define GL_TEXTURE_1D                     0x0DE0
  607. #define GL_TEXTURE_2D                     0x0DE1
  608. #define GL_FEEDBACK_BUFFER_POINTER        0x0DF0
  609. #define GL_FEEDBACK_BUFFER_SIZE           0x0DF1
  610. #define GL_FEEDBACK_BUFFER_TYPE           0x0DF2
  611. #define GL_SELECTION_BUFFER_POINTER       0x0DF3
  612. #define GL_SELECTION_BUFFER_SIZE          0x0DF4
  613. /*      GL_TEXTURE_BINDING_1D */
  614. /*      GL_TEXTURE_BINDING_2D */
  615. /*      GL_TEXTURE_3D_BINDING_EXT */
  616. /*      GL_VERTEX_ARRAY */
  617. /*      GL_NORMAL_ARRAY */
  618. /*      GL_COLOR_ARRAY */
  619. /*      GL_INDEX_ARRAY */
  620. /*      GL_TEXTURE_COORD_ARRAY */
  621. /*      GL_EDGE_FLAG_ARRAY */
  622. /*      GL_VERTEX_ARRAY_SIZE */
  623. /*      GL_VERTEX_ARRAY_TYPE */
  624. /*      GL_VERTEX_ARRAY_STRIDE */
  625. /*      GL_NORMAL_ARRAY_TYPE */
  626. /*      GL_NORMAL_ARRAY_STRIDE */
  627. /*      GL_COLOR_ARRAY_SIZE */
  628. /*      GL_COLOR_ARRAY_TYPE */
  629. /*      GL_COLOR_ARRAY_STRIDE */
  630. /*      GL_INDEX_ARRAY_TYPE */
  631. /*      GL_INDEX_ARRAY_STRIDE */
  632. /*      GL_TEXTURE_COORD_ARRAY_SIZE */
  633. /*      GL_TEXTURE_COORD_ARRAY_TYPE */
  634. /*      GL_TEXTURE_COORD_ARRAY_STRIDE */
  635. /*      GL_EDGE_FLAG_ARRAY_STRIDE */
  636. /*      GL_POLYGON_OFFSET_FACTOR */
  637. /*      GL_POLYGON_OFFSET_UNITS */
  638.  
  639. /* GetTextureParameter */
  640. /*      GL_TEXTURE_MAG_FILTER */
  641. /*      GL_TEXTURE_MIN_FILTER */
  642. /*      GL_TEXTURE_WRAP_S */
  643. /*      GL_TEXTURE_WRAP_T */
  644. #define GL_TEXTURE_WIDTH                  0x1000
  645. #define GL_TEXTURE_HEIGHT                 0x1001
  646. #define GL_TEXTURE_INTERNAL_FORMAT        0x1003
  647. #define GL_TEXTURE_BORDER_COLOR           0x1004
  648. #define GL_TEXTURE_BORDER                 0x1005
  649. /*      GL_TEXTURE_RED_SIZE */
  650. /*      GL_TEXTURE_GREEN_SIZE */
  651. /*      GL_TEXTURE_BLUE_SIZE */
  652. /*      GL_TEXTURE_ALPHA_SIZE */
  653. /*      GL_TEXTURE_LUMINANCE_SIZE */
  654. /*      GL_TEXTURE_INTENSITY_SIZE */
  655. /*      GL_TEXTURE_PRIORITY */
  656. /*      GL_TEXTURE_RESIDENT */
  657. /*    GL_TEXTURE_WRAP_R_EXT */
  658.  
  659. /* HintMode */
  660. #define GL_DONT_CARE                      0x1100
  661. #define GL_FASTEST                        0x1101
  662. #define GL_NICEST                         0x1102
  663.  
  664. /* HintTarget */
  665. /*      GL_PERSPECTIVE_CORRECTION_HINT */
  666. /*      GL_POINT_SMOOTH_HINT */
  667. /*      GL_LINE_SMOOTH_HINT */
  668. /*      GL_POLYGON_SMOOTH_HINT */
  669. /*      GL_FOG_HINT */
  670.  
  671. /* IndexPointerType */
  672. /*      GL_SHORT */
  673. /*      GL_INT */
  674. /*      GL_FLOAT */
  675. /*      GL_DOUBLE */
  676.  
  677. /* InterleavedArrays */
  678. /*      GL_V2F */
  679. /*      GL_V3F */
  680. /*      GL_C4UB_V2F */
  681. /*      GL_C4UB_V3F */
  682. /*      GL_C3F_V3F */
  683. /*      GL_N3F_V3F */
  684. /*      GL_C4F_N3F_V3F */
  685. /*      GL_T2F_V3F */
  686. /*      GL_T4F_V4F */
  687. /*      GL_T2F_C4UB_V3F */
  688. /*      GL_T2F_C3F_V3F */
  689. /*      GL_T2F_N3F_V3F */
  690. /*      GL_T2F_C4F_N3F_V3F */
  691. /*      GL_T4F_C4F_N3F_V4F */
  692.  
  693. /* LightModelParameter */
  694. /*      GL_LIGHT_MODEL_AMBIENT */
  695. /*      GL_LIGHT_MODEL_LOCAL_VIEWER */
  696. /*      GL_LIGHT_MODEL_TWO_SIDE */
  697.  
  698. /* LightName */
  699. #define GL_LIGHT0                         0x4000
  700. #define GL_LIGHT1                         0x4001
  701. #define GL_LIGHT2                         0x4002
  702. #define GL_LIGHT3                         0x4003
  703. #define GL_LIGHT4                         0x4004
  704. #define GL_LIGHT5                         0x4005
  705. #define GL_LIGHT6                         0x4006
  706. #define GL_LIGHT7                         0x4007
  707.  
  708. /* LightParameter */
  709. #define GL_AMBIENT                        0x1200
  710. #define GL_DIFFUSE                        0x1201
  711. #define GL_SPECULAR                       0x1202
  712. #define GL_POSITION                       0x1203
  713. #define GL_SPOT_DIRECTION                 0x1204
  714. #define GL_SPOT_EXPONENT                  0x1205
  715. #define GL_SPOT_CUTOFF                    0x1206
  716. #define GL_CONSTANT_ATTENUATION           0x1207
  717. #define GL_LINEAR_ATTENUATION             0x1208
  718. #define GL_QUADRATIC_ATTENUATION          0x1209
  719.  
  720. /* ListMode */
  721. #define GL_COMPILE                        0x1300
  722. #define GL_COMPILE_AND_EXECUTE            0x1301
  723.  
  724. /* ListNameType */
  725. /*      GL_BYTE */
  726. /*      GL_UNSIGNED_BYTE */
  727. /*      GL_SHORT */
  728. /*      GL_UNSIGNED_SHORT */
  729. /*      GL_INT */
  730. /*      GL_UNSIGNED_INT */
  731. /*      GL_FLOAT */
  732. /*      GL_2_BYTES */
  733. /*      GL_3_BYTES */
  734. /*      GL_4_BYTES */
  735. /*      GL_DOUBLE */
  736.  
  737. /* LogicOp */
  738. #define GL_CLEAR                          0x1500
  739. #define GL_AND                            0x1501
  740. #define GL_AND_REVERSE                    0x1502
  741. #define GL_COPY                           0x1503
  742. #define GL_AND_INVERTED                   0x1504
  743. #define GL_NOOP                           0x1505
  744. #define GL_XOR                            0x1506
  745. #define GL_OR                             0x1507
  746. #define GL_NOR                            0x1508
  747. #define GL_EQUIV                          0x1509
  748. #define GL_INVERT                         0x150A
  749. #define GL_OR_REVERSE                     0x150B
  750. #define GL_COPY_INVERTED                  0x150C
  751. #define GL_OR_INVERTED                    0x150D
  752. #define GL_NAND                           0x150E
  753. #define GL_SET                            0x150F
  754.  
  755. /* MapTarget */
  756. /*      GL_MAP1_COLOR_4 */
  757. /*      GL_MAP1_INDEX */
  758. /*      GL_MAP1_NORMAL */
  759. /*      GL_MAP1_TEXTURE_COORD_1 */
  760. /*      GL_MAP1_TEXTURE_COORD_2 */
  761. /*      GL_MAP1_TEXTURE_COORD_3 */
  762. /*      GL_MAP1_TEXTURE_COORD_4 */
  763. /*      GL_MAP1_VERTEX_3 */
  764. /*      GL_MAP1_VERTEX_4 */
  765. /*      GL_MAP2_COLOR_4 */
  766. /*      GL_MAP2_INDEX */
  767. /*      GL_MAP2_NORMAL */
  768. /*      GL_MAP2_TEXTURE_COORD_1 */
  769. /*      GL_MAP2_TEXTURE_COORD_2 */
  770. /*      GL_MAP2_TEXTURE_COORD_3 */
  771. /*      GL_MAP2_TEXTURE_COORD_4 */
  772. /*      GL_MAP2_VERTEX_3 */
  773. /*      GL_MAP2_VERTEX_4 */
  774.  
  775. /* MaterialFace */
  776. /*      GL_FRONT */
  777. /*      GL_BACK */
  778. /*      GL_FRONT_AND_BACK */
  779.  
  780. /* MaterialParameter */
  781. #define GL_EMISSION                       0x1600
  782. #define GL_SHININESS                      0x1601
  783. #define GL_AMBIENT_AND_DIFFUSE            0x1602
  784. #define GL_COLOR_INDEXES                  0x1603
  785. /*      GL_AMBIENT */
  786. /*      GL_DIFFUSE */
  787. /*      GL_SPECULAR */
  788.  
  789. /* MatrixMode */
  790. #define GL_MODELVIEW                      0x1700
  791. #define GL_PROJECTION                     0x1701
  792. #define GL_TEXTURE                        0x1702
  793.  
  794. /* MeshMode1 */
  795. /*      GL_POINT */
  796. /*      GL_LINE */
  797.  
  798. /* MeshMode2 */
  799. /*      GL_POINT */
  800. /*      GL_LINE */
  801. /*      GL_FILL */
  802.  
  803. /* NormalPointerType */
  804. /*      GL_BYTE */
  805. /*      GL_SHORT */
  806. /*      GL_INT */
  807. /*      GL_FLOAT */
  808. /*      GL_DOUBLE */
  809.  
  810. /* PixelCopyType */
  811. #define GL_COLOR                          0x1800
  812. #define GL_DEPTH                          0x1801
  813. #define GL_STENCIL                        0x1802
  814.  
  815. /* PixelFormat */
  816. #define GL_COLOR_INDEX                    0x1900
  817. #define GL_STENCIL_INDEX                  0x1901
  818. #define GL_DEPTH_COMPONENT                0x1902
  819. #define GL_RED                            0x1903
  820. #define GL_GREEN                          0x1904
  821. #define GL_BLUE                           0x1905
  822. #define GL_ALPHA                          0x1906
  823. #define GL_RGB                            0x1907
  824. #define GL_RGBA                           0x1908
  825. #define GL_LUMINANCE                      0x1909
  826. #define GL_LUMINANCE_ALPHA                0x190A
  827. /*      GL_ABGR_EXT */
  828.  
  829. /* PixelInternalFormat */
  830. /*      GL_ALPHA4 */
  831. /*      GL_ALPHA8 */
  832. /*      GL_ALPHA12 */
  833. /*      GL_ALPHA16 */
  834. /*      GL_LUMINANCE4 */
  835. /*      GL_LUMINANCE8 */
  836. /*      GL_LUMINANCE12 */
  837. /*      GL_LUMINANCE16 */
  838. /*      GL_LUMINANCE4_ALPHA4 */
  839. /*      GL_LUMINANCE6_ALPHA2 */
  840. /*      GL_LUMINANCE8_ALPHA8 */
  841. /*      GL_LUMINANCE12_ALPHA4 */
  842. /*      GL_LUMINANCE12_ALPHA12 */
  843. /*      GL_LUMINANCE16_ALPHA16 */
  844. /*      GL_INTENSITY */
  845. /*      GL_INTENSITY4 */
  846. /*      GL_INTENSITY8 */
  847. /*      GL_INTENSITY12 */
  848. /*      GL_INTENSITY16 */
  849. /*      GL_R3_G3_B2 */
  850. /*      GL_RGB4 */
  851. /*      GL_RGB5 */
  852. /*      GL_RGB8 */
  853. /*      GL_RGB10 */
  854. /*      GL_RGB12 */
  855. /*      GL_RGB16 */
  856. /*      GL_RGBA2 */
  857. /*      GL_RGBA4 */
  858. /*      GL_RGB5_A1 */
  859. /*      GL_RGBA8 */
  860. /*      GL_RGB10_A2 */
  861. /*      GL_RGBA12 */
  862. /*      GL_RGBA16 */
  863.  
  864. /* PixelMap */
  865. /*      GL_PIXEL_MAP_I_TO_I */
  866. /*      GL_PIXEL_MAP_S_TO_S */
  867. /*      GL_PIXEL_MAP_I_TO_R */
  868. /*      GL_PIXEL_MAP_I_TO_G */
  869. /*      GL_PIXEL_MAP_I_TO_B */
  870. /*      GL_PIXEL_MAP_I_TO_A */
  871. /*      GL_PIXEL_MAP_R_TO_R */
  872. /*      GL_PIXEL_MAP_G_TO_G */
  873. /*      GL_PIXEL_MAP_B_TO_B */
  874. /*      GL_PIXEL_MAP_A_TO_A */
  875.  
  876. /* PixelStore */
  877. /*      GL_UNPACK_SWAP_BYTES */
  878. /*      GL_UNPACK_LSB_FIRST */
  879. /*      GL_UNPACK_ROW_LENGTH */
  880. /*      GL_UNPACK_SKIP_ROWS */
  881. /*      GL_UNPACK_SKIP_PIXELS */
  882. /*      GL_UNPACK_ALIGNMENT */
  883. /*      GL_PACK_SWAP_BYTES */
  884. /*      GL_PACK_LSB_FIRST */
  885. /*      GL_PACK_ROW_LENGTH */
  886. /*      GL_PACK_SKIP_ROWS */
  887. /*      GL_PACK_SKIP_PIXELS */
  888. /*      GL_PACK_ALIGNMENT */
  889. /*      GL_PACK_SKIP_IMAGES_EXT */
  890. /*      GL_PACK_IMAGE_HEIGHT_EXT */
  891. /*      GL_UNPACK_SKIP_IMAGES_EXT */
  892. /*      GL_UNPACK_IMAGE_HEIGHT_EXT */
  893.  
  894. /* PixelTransfer */
  895. /*      GL_MAP_COLOR */
  896. /*      GL_MAP_STENCIL */
  897. /*      GL_INDEX_SHIFT */
  898. /*      GL_INDEX_OFFSET */
  899. /*      GL_RED_SCALE */
  900. /*      GL_RED_BIAS */
  901. /*      GL_GREEN_SCALE */
  902. /*      GL_GREEN_BIAS */
  903. /*      GL_BLUE_SCALE */
  904. /*      GL_BLUE_BIAS */
  905. /*      GL_ALPHA_SCALE */
  906. /*      GL_ALPHA_BIAS */
  907. /*      GL_DEPTH_SCALE */
  908. /*      GL_DEPTH_BIAS */
  909.  
  910. /* PixelType */
  911. #define GL_BITMAP                         0x1A00
  912. /*      GL_BYTE */
  913. /*      GL_UNSIGNED_BYTE */
  914. /*      GL_SHORT */
  915. /*      GL_UNSIGNED_SHORT */
  916. /*      GL_INT */
  917. /*      GL_UNSIGNED_INT */
  918. /*      GL_FLOAT */
  919.  
  920. /* PolygonMode */
  921. #define GL_POINT                          0x1B00
  922. #define GL_LINE                           0x1B01
  923. #define GL_FILL                           0x1B02
  924.  
  925. /* ReadBufferMode */
  926. /*      GL_FRONT_LEFT */
  927. /*      GL_FRONT_RIGHT */
  928. /*      GL_BACK_LEFT */
  929. /*      GL_BACK_RIGHT */
  930. /*      GL_FRONT */
  931. /*      GL_BACK */
  932. /*      GL_LEFT */
  933. /*      GL_RIGHT */
  934. /*      GL_AUX0 */
  935. /*      GL_AUX1 */
  936. /*      GL_AUX2 */
  937. /*      GL_AUX3 */
  938.  
  939. /* RenderingMode */
  940. #define GL_RENDER                         0x1C00
  941. #define GL_FEEDBACK                       0x1C01
  942. #define GL_SELECT                         0x1C02
  943.  
  944. /* ShadingModel */
  945. #define GL_FLAT                           0x1D00
  946. #define GL_SMOOTH                         0x1D01
  947.  
  948. /* StencilFunction */
  949. /*      GL_NEVER */
  950. /*      GL_LESS */
  951. /*      GL_EQUAL */
  952. /*      GL_LEQUAL */
  953. /*      GL_GREATER */
  954. /*      GL_NOTEQUAL */
  955. /*      GL_GEQUAL */
  956. /*      GL_ALWAYS */
  957.  
  958. /* StencilOp */
  959. /*      GL_ZERO */
  960. #define GL_KEEP                           0x1E00
  961. #define GL_REPLACE                        0x1E01
  962. #define GL_INCR                           0x1E02
  963. #define GL_DECR                           0x1E03
  964. /*      GL_INVERT */
  965.  
  966. /* StringName */
  967. #define GL_VENDOR                         0x1F00
  968. #define GL_RENDERER                       0x1F01
  969. #define GL_VERSION                        0x1F02
  970. #define GL_EXTENSIONS                     0x1F03
  971.  
  972. /* TextureCoordName */
  973. #define GL_S                              0x2000
  974. #define GL_T                              0x2001
  975. #define GL_R                              0x2002
  976. #define GL_Q                              0x2003
  977.  
  978. /* TexCoordPointerType */
  979. /*      GL_SHORT */
  980. /*      GL_INT */
  981. /*      GL_FLOAT */
  982. /*      GL_DOUBLE */
  983.  
  984. /* TextureEnvMode */
  985. #define GL_MODULATE                       0x2100
  986. #define GL_DECAL                          0x2101
  987. /*      GL_BLEND */
  988. /*      GL_REPLACE */
  989.  
  990. /* TextureEnvParameter */
  991. #define GL_TEXTURE_ENV_MODE               0x2200
  992. #define GL_TEXTURE_ENV_COLOR              0x2201
  993.  
  994. /* TextureEnvTarget */
  995. #define GL_TEXTURE_ENV                    0x2300
  996.  
  997. /* TextureGenMode */
  998. #define GL_EYE_LINEAR                     0x2400
  999. #define GL_OBJECT_LINEAR                  0x2401
  1000. #define GL_SPHERE_MAP                     0x2402
  1001.  
  1002. /* TextureGenParameter */
  1003. #define GL_TEXTURE_GEN_MODE               0x2500
  1004. #define GL_OBJECT_PLANE                   0x2501
  1005. #define GL_EYE_PLANE                      0x2502
  1006.  
  1007. /* TextureMagFilter */
  1008. #define GL_NEAREST                        0x2600
  1009. #define GL_LINEAR                         0x2601
  1010.  
  1011. /* TextureMinFilter */
  1012. /*      GL_NEAREST */
  1013. /*      GL_LINEAR */
  1014. #define GL_NEAREST_MIPMAP_NEAREST         0x2700
  1015. #define GL_LINEAR_MIPMAP_NEAREST          0x2701
  1016. #define GL_NEAREST_MIPMAP_LINEAR          0x2702
  1017. #define GL_LINEAR_MIPMAP_LINEAR           0x2703
  1018.  
  1019. /* TextureParameterName */
  1020. #define GL_TEXTURE_MAG_FILTER             0x2800
  1021. #define GL_TEXTURE_MIN_FILTER             0x2801
  1022. #define GL_TEXTURE_WRAP_S                 0x2802
  1023. #define GL_TEXTURE_WRAP_T                 0x2803
  1024. /*      GL_TEXTURE_BORDER_COLOR */
  1025. /*      GL_TEXTURE_PRIORITY */
  1026.  
  1027. /* TextureTarget */
  1028. /*      GL_TEXTURE_1D */
  1029. /*      GL_TEXTURE_2D */
  1030. /*      GL_PROXY_TEXTURE_1D */
  1031. /*      GL_PROXY_TEXTURE_2D */
  1032.  
  1033. /* TextureWrapMode */
  1034. #define GL_CLAMP                          0x2900
  1035. #define GL_REPEAT                         0x2901
  1036.  
  1037. /* VertexPointerType */
  1038. /*      GL_SHORT */
  1039. /*      GL_INT */
  1040. /*      GL_FLOAT */
  1041. /*      GL_DOUBLE */
  1042.  
  1043. /* ClientAttribMask */
  1044. #define GL_CLIENT_PIXEL_STORE_BIT         0x00000001
  1045. #define GL_CLIENT_VERTEX_ARRAY_BIT        0x00000002
  1046. #define GL_CLIENT_ALL_ATTRIB_BITS         0xffffffff
  1047.  
  1048. /* polygon_offset */
  1049. #define GL_POLYGON_OFFSET_FACTOR          0x8038
  1050. #define GL_POLYGON_OFFSET_UNITS           0x2A00
  1051. #define GL_POLYGON_OFFSET_POINT           0x2A01
  1052. #define GL_POLYGON_OFFSET_LINE            0x2A02
  1053. #define GL_POLYGON_OFFSET_FILL            0x8037
  1054.  
  1055. /* texture */
  1056. #define GL_ALPHA4                         0x803B
  1057. #define GL_ALPHA8                         0x803C
  1058. #define GL_ALPHA12                        0x803D
  1059. #define GL_ALPHA16                        0x803E
  1060. #define GL_LUMINANCE4                     0x803F
  1061. #define GL_LUMINANCE8                     0x8040
  1062. #define GL_LUMINANCE12                    0x8041
  1063. #define GL_LUMINANCE16                    0x8042
  1064. #define GL_LUMINANCE4_ALPHA4              0x8043
  1065. #define GL_LUMINANCE6_ALPHA2              0x8044
  1066. #define GL_LUMINANCE8_ALPHA8              0x8045
  1067. #define GL_LUMINANCE12_ALPHA4             0x8046
  1068. #define GL_LUMINANCE12_ALPHA12            0x8047
  1069. #define GL_LUMINANCE16_ALPHA16            0x8048
  1070. #define GL_INTENSITY                      0x8049
  1071. #define GL_INTENSITY4                     0x804A
  1072. #define GL_INTENSITY8                     0x804B
  1073. #define GL_INTENSITY12                    0x804C
  1074. #define GL_INTENSITY16                    0x804D
  1075. #define GL_R3_G3_B2                       0x2A10
  1076. #define GL_RGB4                           0x804F
  1077. #define GL_RGB5                           0x8050
  1078. #define GL_RGB8                           0x8051
  1079. #define GL_RGB10                          0x8052
  1080. #define GL_RGB12                          0x8053
  1081. #define GL_RGB16                          0x8054
  1082. #define GL_RGBA2                          0x8055
  1083. #define GL_RGBA4                          0x8056
  1084. #define GL_RGB5_A1                        0x8057
  1085. #define GL_RGBA8                          0x8058
  1086. #define GL_RGB10_A2                       0x8059
  1087. #define GL_RGBA12                         0x805A
  1088. #define GL_RGBA16                         0x805B
  1089. #define GL_TEXTURE_RED_SIZE               0x805C
  1090. #define GL_TEXTURE_GREEN_SIZE             0x805D
  1091. #define GL_TEXTURE_BLUE_SIZE              0x805E
  1092. #define GL_TEXTURE_ALPHA_SIZE             0x805F
  1093. #define GL_TEXTURE_LUMINANCE_SIZE         0x8060
  1094. #define GL_TEXTURE_INTENSITY_SIZE         0x8061
  1095. #define GL_PROXY_TEXTURE_1D               0x8063
  1096. #define GL_PROXY_TEXTURE_2D               0x8064
  1097.  
  1098. /* texture_object */
  1099. #define GL_TEXTURE_PRIORITY               0x8066
  1100. #define GL_TEXTURE_RESIDENT               0x8067
  1101. #define GL_TEXTURE_BINDING_1D             0x8068
  1102. #define GL_TEXTURE_BINDING_2D             0x8069
  1103.  
  1104. /* vertex_array */
  1105. #define GL_VERTEX_ARRAY                   0x8074
  1106. #define GL_NORMAL_ARRAY                   0x8075
  1107. #define GL_COLOR_ARRAY                    0x8076
  1108. #define GL_INDEX_ARRAY                    0x8077
  1109. #define GL_TEXTURE_COORD_ARRAY            0x8078
  1110. #define GL_EDGE_FLAG_ARRAY                0x8079
  1111. #define GL_VERTEX_ARRAY_SIZE              0x807A
  1112. #define GL_VERTEX_ARRAY_TYPE              0x807B
  1113. #define GL_VERTEX_ARRAY_STRIDE            0x807C
  1114. #define GL_NORMAL_ARRAY_TYPE              0x807E
  1115. #define GL_NORMAL_ARRAY_STRIDE            0x807F
  1116. #define GL_COLOR_ARRAY_SIZE               0x8081
  1117. #define GL_COLOR_ARRAY_TYPE               0x8082
  1118. #define GL_COLOR_ARRAY_STRIDE             0x8083
  1119. #define GL_INDEX_ARRAY_TYPE               0x8085
  1120. #define GL_INDEX_ARRAY_STRIDE             0x8086
  1121. #define GL_TEXTURE_COORD_ARRAY_SIZE       0x8088
  1122. #define GL_TEXTURE_COORD_ARRAY_TYPE       0x8089
  1123. #define GL_TEXTURE_COORD_ARRAY_STRIDE     0x808A
  1124. #define GL_EDGE_FLAG_ARRAY_STRIDE         0x808C
  1125. #define GL_VERTEX_ARRAY_POINTER           0x808E
  1126. #define GL_NORMAL_ARRAY_POINTER           0x808F
  1127. #define GL_COLOR_ARRAY_POINTER            0x8090
  1128. #define GL_INDEX_ARRAY_POINTER            0x8091
  1129. #define GL_TEXTURE_COORD_ARRAY_POINTER    0x8092
  1130. #define GL_EDGE_FLAG_ARRAY_POINTER        0x8093
  1131. #define GL_V2F                            0x2A20
  1132. #define GL_V3F                            0x2A21
  1133. #define GL_C4UB_V2F                       0x2A22
  1134. #define GL_C4UB_V3F                       0x2A23
  1135. #define GL_C3F_V3F                        0x2A24
  1136. #define GL_N3F_V3F                        0x2A25
  1137. #define GL_C4F_N3F_V3F                    0x2A26
  1138. #define GL_T2F_V3F                        0x2A27
  1139. #define GL_T4F_V4F                        0x2A28
  1140. #define GL_T2F_C4UB_V3F                   0x2A29
  1141. #define GL_T2F_C3F_V3F                    0x2A2A
  1142. #define GL_T2F_N3F_V3F                    0x2A2B
  1143. #define GL_T2F_C4F_N3F_V3F                0x2A2C
  1144. #define GL_T4F_C4F_N3F_V4F                0x2A2D
  1145.  
  1146. /* Extensions */
  1147. #define GL_EXT_abgr                       1
  1148. #define GL_EXT_blend_minmax               1
  1149. #define GL_EXT_blend_subtract             1
  1150. #define GL_EXT_rescale_normal          1
  1151. #define GL_EXT_texture3D          1
  1152.  
  1153. /* EXT_abgr */
  1154. #define GL_ABGR_EXT                       0x8000
  1155.  
  1156. /* EXT_blend_color */
  1157. #define GL_CONSTANT_COLOR_EXT             0x8001
  1158. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
  1159. #define GL_CONSTANT_ALPHA_EXT             0x8003
  1160. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
  1161. #define GL_BLEND_COLOR_EXT                0x8005
  1162.  
  1163. /* EXT_blend_minmax */
  1164. #define GL_FUNC_ADD_EXT                   0x8006
  1165. #define GL_MIN_EXT                        0x8007
  1166. #define GL_MAX_EXT                        0x8008
  1167. #define GL_BLEND_EQUATION_EXT             0x8009
  1168.  
  1169. /* EXT_blend_subtract */
  1170. #define GL_FUNC_SUBTRACT_EXT              0x800A
  1171. #define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
  1172.  
  1173. /* EXT_rescale_normal */
  1174. #define GL_RESCALE_NORMAL_EXT          0x803A
  1175.  
  1176. /* EXT_texture_object */
  1177. #define GL_TEXTURE_3D_BINDING_EXT         0x806A
  1178.  
  1179. /* EXT_texture3D */
  1180. #define GL_PACK_SKIP_IMAGES_EXT          0x806B
  1181. #define GL_PACK_IMAGE_HEIGHT_EXT      0x806C
  1182. #define GL_UNPACK_SKIP_IMAGES_EXT      0x806D
  1183. #define GL_UNPACK_IMAGE_HEIGHT_EXT      0x806E
  1184. #define GL_TEXTURE_3D_EXT          0x806F
  1185. #define GL_PROXY_TEXTURE_3D_EXT          0x8070
  1186. #define GL_TEXTURE_DEPTH_EXT          0x8071
  1187. #define GL_TEXTURE_WRAP_R_EXT          0x8072
  1188. #define GL_MAX_3D_TEXTURE_SIZE_EXT      0x8073
  1189.  
  1190. /* For compatibility with OpenGL v1.0 */
  1191. #define GL_LOGIC_OP GL_INDEX_LOGIC_OP
  1192. #define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT
  1193.  
  1194. /*************************************************************/
  1195.  
  1196.  void APIENTRY glAccum (GLenum op, GLfloat value);
  1197.  void APIENTRY glAlphaFunc (GLenum func, GLclampf ref);
  1198.  GLboolean APIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
  1199.  void APIENTRY glArrayElement (GLint i);
  1200.  void APIENTRY glBegin (GLenum mode);
  1201.  void APIENTRY glBindTexture (GLenum target, GLuint texture);
  1202.  void APIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
  1203.  void APIENTRY glBlendEquationEXT (GLenum mode);
  1204.  void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
  1205.  void APIENTRY glCallList (GLuint list);
  1206.  void APIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists);
  1207.  void APIENTRY glClear (GLbitfield mask);
  1208.  void APIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  1209.  void APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  1210.  void APIENTRY glClearDepth (GLclampd depth);
  1211.  void APIENTRY glClearIndex (GLfloat c);
  1212.  void APIENTRY glClearStencil (GLint s);
  1213.  void APIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
  1214.  void APIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
  1215.  void APIENTRY glColor3bv (const GLbyte *v);
  1216.  void APIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
  1217.  void APIENTRY glColor3dv (const GLdouble *v);
  1218.  void APIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
  1219.  void APIENTRY glColor3fv (const GLfloat *v);
  1220.  void APIENTRY glColor3i (GLint red, GLint green, GLint blue);
  1221.  void APIENTRY glColor3iv (const GLint *v);
  1222.  void APIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
  1223.  void APIENTRY glColor3sv (const GLshort *v);
  1224.  void APIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
  1225.  void APIENTRY glColor3ubv (const GLubyte *v);
  1226.  void APIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
  1227.  void APIENTRY glColor3uiv (const GLuint *v);
  1228.  void APIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
  1229.  void APIENTRY glColor3usv (const GLushort *v);
  1230.  void APIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
  1231.  void APIENTRY glColor4bv (const GLbyte *v);
  1232.  void APIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
  1233.  void APIENTRY glColor4dv (const GLdouble *v);
  1234.  void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  1235.  void APIENTRY glColor4fv (const GLfloat *v);
  1236.  void APIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
  1237.  void APIENTRY glColor4iv (const GLint *v);
  1238.  void APIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
  1239.  void APIENTRY glColor4sv (const GLshort *v);
  1240.  void APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
  1241.  void APIENTRY glColor4ubv (const GLubyte *v);
  1242.  void APIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  1243.  void APIENTRY glColor4uiv (const GLuint *v);
  1244.  void APIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
  1245.  void APIENTRY glColor4usv (const GLushort *v);
  1246.  void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  1247.  void APIENTRY glColorMaterial (GLenum face, GLenum mode);
  1248.  void APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1249.  void APIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
  1250.  void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
  1251.  void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  1252.  void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  1253.  void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1254.  void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1255.  void APIENTRY glCullFace (GLenum mode);
  1256.  void APIENTRY glDeleteLists (GLuint list, GLsizei range);
  1257.  void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
  1258.  void APIENTRY glDepthFunc (GLenum func);
  1259.  void APIENTRY glDepthMask (GLboolean flag);
  1260.  void APIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
  1261.  void APIENTRY glDisable (GLenum cap);
  1262.  void APIENTRY glDisableClientState (GLenum array);
  1263.  void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
  1264.  void APIENTRY glDrawBuffer (GLenum mode);
  1265.  void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
  1266.  void APIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  1267.  void APIENTRY glEdgeFlag (GLboolean flag);
  1268.  void APIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer);
  1269.  void APIENTRY glEdgeFlagv (const GLboolean *flag);
  1270.  void APIENTRY glEnable (GLenum cap);
  1271.  void APIENTRY glEnableClientState (GLenum array);
  1272.  void APIENTRY glEnd (void);
  1273.  void APIENTRY glEndList (void);
  1274.  void APIENTRY glEvalCoord1d (GLdouble u);
  1275.  void APIENTRY glEvalCoord1dv (const GLdouble *u);
  1276.  void APIENTRY glEvalCoord1f (GLfloat u);
  1277.  void APIENTRY glEvalCoord1fv (const GLfloat *u);
  1278.  void APIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
  1279.  void APIENTRY glEvalCoord2dv (const GLdouble *u);
  1280.  void APIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
  1281.  void APIENTRY glEvalCoord2fv (const GLfloat *u);
  1282.  void APIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
  1283.  void APIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
  1284.  void APIENTRY glEvalPoint1 (GLint i);
  1285.  void APIENTRY glEvalPoint2 (GLint i, GLint j);
  1286.  void APIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
  1287.  void APIENTRY glFinish (void);
  1288.  void APIENTRY glFlush (void);
  1289.  void APIENTRY glFogf (GLenum pname, GLfloat param);
  1290.  void APIENTRY glFogfv (GLenum pname, const GLfloat *params);
  1291.  void APIENTRY glFogi (GLenum pname, GLint param);
  1292.  void APIENTRY glFogiv (GLenum pname, const GLint *params);
  1293.  void APIENTRY glFrontFace (GLenum mode);
  1294.  void APIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  1295.  GLuint APIENTRY glGenLists (GLsizei range);
  1296.  void APIENTRY glGenTextures (GLsizei n, GLuint *textures);
  1297.  void APIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
  1298.  void APIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
  1299.  void APIENTRY glGetDoublev (GLenum pname, GLdouble *params);
  1300.  GLenum APIENTRY glGetError (void);
  1301.  void APIENTRY glGetFloatv (GLenum pname, GLfloat *params);
  1302.  void APIENTRY glGetIntegerv (GLenum pname, GLint *params);
  1303.  void APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
  1304.  void APIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
  1305.  void APIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
  1306.  void APIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
  1307.  void APIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
  1308.  void APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
  1309.  void APIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
  1310.  void APIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
  1311.  void APIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
  1312.  void APIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
  1313.  void APIENTRY glGetPointerv (GLenum pname, GLvoid* *params);
  1314.  void APIENTRY glGetPolygonStipple (GLubyte *mask);
  1315.  const GLubyte * APIENTRY glGetString (GLenum name);
  1316.  void APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
  1317.  void APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
  1318.  void APIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
  1319.  void APIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
  1320.  void APIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
  1321.  void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  1322.  void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
  1323.  void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
  1324.  void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
  1325.  void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
  1326.  void APIENTRY glHint (GLenum target, GLenum mode);
  1327.  void APIENTRY glIndexMask (GLuint mask);
  1328.  void APIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
  1329.  void APIENTRY glIndexd (GLdouble c);
  1330.  void APIENTRY glIndexdv (const GLdouble *c);
  1331.  void APIENTRY glIndexf (GLfloat c);
  1332.  void APIENTRY glIndexfv (const GLfloat *c);
  1333.  void APIENTRY glIndexi (GLint c);
  1334.  void APIENTRY glIndexiv (const GLint *c);
  1335.  void APIENTRY glIndexs (GLshort c);
  1336.  void APIENTRY glIndexsv (const GLshort *c);
  1337.  void APIENTRY glIndexub (GLubyte c);
  1338.  void APIENTRY glIndexubv (const GLubyte *c);
  1339.  void APIENTRY glInitNames (void);
  1340.  void APIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer);
  1341.  GLboolean APIENTRY glIsEnabled (GLenum cap);
  1342.  GLboolean APIENTRY glIsList (GLuint list);
  1343.  GLboolean APIENTRY glIsTexture (GLuint texture);
  1344.  void APIENTRY glLightModelf (GLenum pname, GLfloat param);
  1345.  void APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
  1346.  void APIENTRY glLightModeli (GLenum pname, GLint param);
  1347.  void APIENTRY glLightModeliv (GLenum pname, const GLint *params);
  1348.  void APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
  1349.  void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
  1350.  void APIENTRY glLighti (GLenum light, GLenum pname, GLint param);
  1351.  void APIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
  1352.  void APIENTRY glLineStipple (GLint factor, GLushort pattern);
  1353.  void APIENTRY glLineWidth (GLfloat width);
  1354.  void APIENTRY glListBase (GLuint base);
  1355.  void APIENTRY glLoadIdentity (void);
  1356.  void APIENTRY glLoadMatrixd (const GLdouble *m);
  1357.  void APIENTRY glLoadMatrixf (const GLfloat *m);
  1358.  void APIENTRY glLoadName (GLuint name);
  1359.  void APIENTRY glLogicOp (GLenum opcode);
  1360.  void APIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  1361.  void APIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  1362.  void APIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
  1363.  void APIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
  1364.  void APIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
  1365.  void APIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
  1366.  void APIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
  1367.  void APIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
  1368.  void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
  1369.  void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
  1370.  void APIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
  1371.  void APIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
  1372.  void APIENTRY glMatrixMode (GLenum mode);
  1373.  void APIENTRY glMultMatrixd (const GLdouble *m);
  1374.  void APIENTRY glMultMatrixf (const GLfloat *m);
  1375.  void APIENTRY glNewList (GLuint list, GLenum mode);
  1376.  void APIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
  1377.  void APIENTRY glNormal3bv (const GLbyte *v);
  1378.  void APIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
  1379.  void APIENTRY glNormal3dv (const GLdouble *v);
  1380.  void APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
  1381.  void APIENTRY glNormal3fv (const GLfloat *v);
  1382.  void APIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
  1383.  void APIENTRY glNormal3iv (const GLint *v);
  1384.  void APIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
  1385.  void APIENTRY glNormal3sv (const GLshort *v);
  1386.  void APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
  1387.  void APIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  1388.  void APIENTRY glPassThrough (GLfloat token);
  1389.  void APIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
  1390.  void APIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
  1391.  void APIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
  1392.  void APIENTRY glPixelStoref (GLenum pname, GLfloat param);
  1393.  void APIENTRY glPixelStorei (GLenum pname, GLint param);
  1394.  void APIENTRY glPixelTransferf (GLenum pname, GLfloat param);
  1395.  void APIENTRY glPixelTransferi (GLenum pname, GLint param);
  1396.  void APIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
  1397.  void APIENTRY glPointSize (GLfloat size);
  1398.  void APIENTRY glPolygonMode (GLenum face, GLenum mode);
  1399.  void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
  1400.  void APIENTRY glPolygonStipple (const GLubyte *mask);
  1401.  void APIENTRY glPopAttrib (void);
  1402.  void APIENTRY glPopClientAttrib (void);
  1403.  void APIENTRY glPopMatrix (void);
  1404.  void APIENTRY glPopName (void);
  1405.  void APIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  1406.  void APIENTRY glPushAttrib (GLbitfield mask);
  1407.  void APIENTRY glPushClientAttrib (GLbitfield mask);
  1408.  void APIENTRY glPushMatrix (void);
  1409.  void APIENTRY glPushName (GLuint name);
  1410.  void APIENTRY glRasterPos2d (GLdouble x, GLdouble y);
  1411.  void APIENTRY glRasterPos2dv (const GLdouble *v);
  1412.  void APIENTRY glRasterPos2f (GLfloat x, GLfloat y);
  1413.  void APIENTRY glRasterPos2fv (const GLfloat *v);
  1414.  void APIENTRY glRasterPos2i (GLint x, GLint y);
  1415.  void APIENTRY glRasterPos2iv (const GLint *v);
  1416.  void APIENTRY glRasterPos2s (GLshort x, GLshort y);
  1417.  void APIENTRY glRasterPos2sv (const GLshort *v);
  1418.  void APIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
  1419.  void APIENTRY glRasterPos3dv (const GLdouble *v);
  1420.  void APIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
  1421.  void APIENTRY glRasterPos3fv (const GLfloat *v);
  1422.  void APIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
  1423.  void APIENTRY glRasterPos3iv (const GLint *v);
  1424.  void APIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
  1425.  void APIENTRY glRasterPos3sv (const GLshort *v);
  1426.  void APIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1427.  void APIENTRY glRasterPos4dv (const GLdouble *v);
  1428.  void APIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1429.  void APIENTRY glRasterPos4fv (const GLfloat *v);
  1430.  void APIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
  1431.  void APIENTRY glRasterPos4iv (const GLint *v);
  1432.  void APIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
  1433.  void APIENTRY glRasterPos4sv (const GLshort *v);
  1434.  void APIENTRY glReadBuffer (GLenum mode);
  1435.  void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
  1436.  void APIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
  1437.  void APIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
  1438.  void APIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
  1439.  void APIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
  1440.  void APIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
  1441.  void APIENTRY glRectiv (const GLint *v1, const GLint *v2);
  1442.  void APIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
  1443.  void APIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
  1444.  GLint APIENTRY glRenderMode (GLenum mode);
  1445.  void APIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  1446.  void APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  1447.  void APIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
  1448.  void APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
  1449.  void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
  1450.  void APIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
  1451.  void APIENTRY glShadeModel (GLenum mode);
  1452.  void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
  1453.  void APIENTRY glStencilMask (GLuint mask);
  1454.  void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
  1455.  void APIENTRY glTexCoord1d (GLdouble s);
  1456.  void APIENTRY glTexCoord1dv (const GLdouble *v);
  1457.  void APIENTRY glTexCoord1f (GLfloat s);
  1458.  void APIENTRY glTexCoord1fv (const GLfloat *v);
  1459.  void APIENTRY glTexCoord1i (GLint s);
  1460.  void APIENTRY glTexCoord1iv (const GLint *v);
  1461.  void APIENTRY glTexCoord1s (GLshort s);
  1462.  void APIENTRY glTexCoord1sv (const GLshort *v);
  1463.  void APIENTRY glTexCoord2d (GLdouble s, GLdouble t);
  1464.  void APIENTRY glTexCoord2dv (const GLdouble *v);
  1465.  void APIENTRY glTexCoord2f (GLfloat s, GLfloat t);
  1466.  void APIENTRY glTexCoord2fv (const GLfloat *v);
  1467.  void APIENTRY glTexCoord2i (GLint s, GLint t);
  1468.  void APIENTRY glTexCoord2iv (const GLint *v);
  1469.  void APIENTRY glTexCoord2s (GLshort s, GLshort t);
  1470.  void APIENTRY glTexCoord2sv (const GLshort *v);
  1471.  void APIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
  1472.  void APIENTRY glTexCoord3dv (const GLdouble *v);
  1473.  void APIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
  1474.  void APIENTRY glTexCoord3fv (const GLfloat *v);
  1475.  void APIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
  1476.  void APIENTRY glTexCoord3iv (const GLint *v);
  1477.  void APIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
  1478.  void APIENTRY glTexCoord3sv (const GLshort *v);
  1479.  void APIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  1480.  void APIENTRY glTexCoord4dv (const GLdouble *v);
  1481.  void APIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  1482.  void APIENTRY glTexCoord4fv (const GLfloat *v);
  1483.  void APIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
  1484.  void APIENTRY glTexCoord4iv (const GLint *v);
  1485.  void APIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
  1486.  void APIENTRY glTexCoord4sv (const GLshort *v);
  1487.  void APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1488.  void APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
  1489.  void APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
  1490.  void APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
  1491.  void APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
  1492.  void APIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
  1493.  void APIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
  1494.  void APIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
  1495.  void APIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
  1496.  void APIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
  1497.  void APIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
  1498.  void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1499.  void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1500.  void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1501.  void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
  1502.  void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  1503.  void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
  1504.  void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
  1505.  void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  1506.  void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  1507.  void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  1508.  void APIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
  1509.  void APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
  1510.  void APIENTRY glVertex2d (GLdouble x, GLdouble y);
  1511.  void APIENTRY glVertex2dv (const GLdouble *v);
  1512.  void APIENTRY glVertex2f (GLfloat x, GLfloat y);
  1513.  void APIENTRY glVertex2fv (const GLfloat *v);
  1514.  void APIENTRY glVertex2i (GLint x, GLint y);
  1515.  void APIENTRY glVertex2iv (const GLint *v);
  1516.  void APIENTRY glVertex2s (GLshort x, GLshort y);
  1517.  void APIENTRY glVertex2sv (const GLshort *v);
  1518.  void APIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
  1519.  void APIENTRY glVertex3dv (const GLdouble *v);
  1520.  void APIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
  1521.  void APIENTRY glVertex3fv (const GLfloat *v);
  1522.  void APIENTRY glVertex3i (GLint x, GLint y, GLint z);
  1523.  void APIENTRY glVertex3iv (const GLint *v);
  1524.  void APIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
  1525.  void APIENTRY glVertex3sv (const GLshort *v);
  1526.  void APIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1527.  void APIENTRY glVertex4dv (const GLdouble *v);
  1528.  void APIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1529.  void APIENTRY glVertex4fv (const GLfloat *v);
  1530.  void APIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
  1531.  void APIENTRY glVertex4iv (const GLint *v);
  1532.  void APIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
  1533.  void APIENTRY glVertex4sv (const GLshort *v);
  1534.  void APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1535.  void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
  1536.  
  1537. /****************************************************************************
  1538. *  End of Declarations for backwards compatibility of OpenGL 1.0 Extensions
  1539. ****************************************************************************/
  1540.  
  1541. #ifdef __cplusplus
  1542. }
  1543. #endif
  1544.  
  1545. #endif /* __gl_h_ */
  1546.