You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1130 lines
45KB

  1. #ifndef __glew_h__
  2. #define __glew_h__
  3. #define __GLEW_H__
  4. #if defined(__gl_h_) || defined(__GL_H__) || defined(_GL_H) || defined(__X_GL_H)
  5. #error gl.h included before glew.h
  6. #endif
  7. #if defined(__gl2_h_)
  8. #error gl2.h included before glew.h
  9. #endif
  10. #if defined(__gltypes_h_)
  11. #error gltypes.h included before glew.h
  12. #endif
  13. #if defined(__REGAL_H__)
  14. #error Regal.h included before glew.h
  15. #endif
  16. #if defined(__glext_h_) || defined(__GLEXT_H_)
  17. #error glext.h included before glew.h
  18. #endif
  19. #if defined(__gl_ATI_h_)
  20. #error glATI.h included before glew.h
  21. #endif
  22. #define __gl_h_
  23. #define __gl2_h_
  24. #define __GL_H__
  25. #define _GL_H
  26. #define __gltypes_h_
  27. #define __REGAL_H__
  28. #define __X_GL_H
  29. #define __glext_h_
  30. #define __GLEXT_H_
  31. #define __gl_ATI_h_
  32. #if defined(_WIN32)
  33. /*
  34. * GLEW does not include <windows.h> to avoid name space pollution.
  35. * GL needs GLAPI and GLAPIENTRY, GLU needs APIENTRY, CALLBACK, and wchar_t
  36. * defined properly.
  37. */
  38. /* <windef.h> and <gl.h>*/
  39. #ifdef APIENTRY
  40. # ifndef GLAPIENTRY
  41. # define GLAPIENTRY APIENTRY
  42. # endif
  43. # ifndef GLEWAPIENTRY
  44. # define GLEWAPIENTRY APIENTRY
  45. # endif
  46. #else
  47. #define GLEW_APIENTRY_DEFINED
  48. # if defined(__MINGW32__) || defined(__CYGWIN__) || (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__)
  49. # define APIENTRY __stdcall
  50. # ifndef GLAPIENTRY
  51. # define GLAPIENTRY __stdcall
  52. # endif
  53. # ifndef GLEWAPIENTRY
  54. # define GLEWAPIENTRY __stdcall
  55. # endif
  56. # else
  57. # define APIENTRY
  58. # endif
  59. #endif
  60. #ifndef GLAPI
  61. # if defined(__MINGW32__) || defined(__CYGWIN__)
  62. # define GLAPI extern
  63. # endif
  64. #endif
  65. /* <winnt.h> */
  66. #ifndef CALLBACK
  67. #define GLEW_CALLBACK_DEFINED
  68. # if defined(__MINGW32__) || defined(__CYGWIN__)
  69. # define CALLBACK __attribute__ ((__stdcall__))
  70. # elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS)
  71. # define CALLBACK __stdcall
  72. # else
  73. # define CALLBACK
  74. # endif
  75. #endif
  76. /* <wingdi.h> and <winnt.h> */
  77. #ifndef WINGDIAPI
  78. #define GLEW_WINGDIAPI_DEFINED
  79. #define WINGDIAPI __declspec(dllimport)
  80. #endif
  81. /* <ctype.h> */
  82. #if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED)
  83. typedef unsigned short wchar_t;
  84. # define _WCHAR_T_DEFINED
  85. #endif
  86. /* <stddef.h> */
  87. #if !defined(_W64)
  88. # if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300
  89. # define _W64 __w64
  90. # else
  91. # define _W64
  92. # endif
  93. #endif
  94. #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) && !defined(__MINGW64__)
  95. # ifdef _WIN64
  96. typedef __int64 ptrdiff_t;
  97. # else
  98. typedef _W64 int ptrdiff_t;
  99. # endif
  100. # define _PTRDIFF_T_DEFINED
  101. # define _PTRDIFF_T_
  102. #endif
  103. #ifndef GLAPI
  104. # if defined(__MINGW32__) || defined(__CYGWIN__)
  105. # define GLAPI extern
  106. # else
  107. # define GLAPI WINGDIAPI
  108. # endif
  109. #endif
  110. /*
  111. * GLEW_STATIC is defined for static library.
  112. * GLEW_BUILD is defined for building the DLL library.
  113. */
  114. #ifdef GLEW_STATIC
  115. # define GLEWAPI extern
  116. #else
  117. # ifdef GLEW_BUILD
  118. # define GLEWAPI extern __declspec(dllexport)
  119. # else
  120. # define GLEWAPI extern __declspec(dllimport)
  121. # endif
  122. #endif
  123. #else /* _UNIX */
  124. /*
  125. * Needed for ptrdiff_t in turn needed by VBO. This is defined by ISO
  126. * C. On my system, this amounts to _3 lines_ of included code, all of
  127. * them pretty much harmless. If you know of a way of detecting 32 vs
  128. * 64 _targets_ at compile time you are free to replace this with
  129. * something that's portable. For now, _this_ is the portable solution.
  130. * (mem, 2004-01-04)
  131. */
  132. #include <stddef.h>
  133. /* SGI MIPSPro doesn't like stdint.h in C++ mode */
  134. /* ID: 3376260 Solaris 9 has inttypes.h, but not stdint.h */
  135. #if (defined(__sgi) || defined(__sun)) && !defined(__GNUC__)
  136. #include <inttypes.h>
  137. #else
  138. #include <stdint.h>
  139. #endif
  140. #define GLEW_APIENTRY_DEFINED
  141. #define APIENTRY
  142. /*
  143. * GLEW_STATIC is defined for static library.
  144. */
  145. #ifdef GLEW_STATIC
  146. # define GLEWAPI extern
  147. #else
  148. # if defined(__GNUC__) && __GNUC__>=4
  149. # define GLEWAPI extern __attribute__ ((visibility("default")))
  150. # elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
  151. # define GLEWAPI extern __global
  152. # else
  153. # define GLEWAPI extern
  154. # endif
  155. #endif
  156. /* <glu.h> */
  157. #ifndef GLAPI
  158. #define GLAPI extern
  159. #endif
  160. #endif /* _WIN32 */
  161. #ifndef GLAPIENTRY
  162. #define GLAPIENTRY
  163. #endif
  164. #ifndef GLEWAPIENTRY
  165. #define GLEWAPIENTRY
  166. #endif
  167. #define GLEW_VAR_EXPORT GLEWAPI
  168. #define GLEW_FUN_EXPORT GLEWAPI
  169. #ifdef __cplusplus
  170. extern "C" {
  171. #endif
  172. /* ----------------------------- GL_VERSION_1_1 ---------------------------- */
  173. #ifndef GL_VERSION_1_1
  174. #define GL_VERSION_1_1 1
  175. typedef unsigned int GLenum;
  176. typedef unsigned int GLbitfield;
  177. typedef unsigned int GLuint;
  178. typedef int GLint;
  179. typedef int GLsizei;
  180. typedef unsigned char GLboolean;
  181. typedef signed char GLbyte;
  182. typedef short GLshort;
  183. typedef unsigned char GLubyte;
  184. typedef unsigned short GLushort;
  185. typedef unsigned long GLulong;
  186. typedef float GLfloat;
  187. typedef float GLclampf;
  188. typedef double GLdouble;
  189. typedef double GLclampd;
  190. typedef void GLvoid;
  191. #if defined(_MSC_VER) && _MSC_VER < 1400
  192. typedef __int64 GLint64EXT;
  193. typedef unsigned __int64 GLuint64EXT;
  194. #elif defined(_MSC_VER) || defined(__BORLANDC__)
  195. typedef signed long long GLint64EXT;
  196. typedef unsigned long long GLuint64EXT;
  197. #else
  198. # if defined(__MINGW32__) || defined(__CYGWIN__)
  199. #include <inttypes.h>
  200. # endif
  201. typedef int64_t GLint64EXT;
  202. typedef uint64_t GLuint64EXT;
  203. #endif
  204. typedef GLint64EXT GLint64;
  205. typedef GLuint64EXT GLuint64;
  206. typedef struct __GLsync *GLsync;
  207. typedef char GLchar;
  208. #define GL_ZERO 0
  209. #define GL_FALSE 0
  210. #define GL_LOGIC_OP 0x0BF1
  211. #define GL_NONE 0
  212. #define GL_TEXTURE_COMPONENTS 0x1003
  213. #define GL_NO_ERROR 0
  214. #define GL_POINTS 0x0000
  215. #define GL_CURRENT_BIT 0x00000001
  216. #define GL_TRUE 1
  217. #define GL_ONE 1
  218. #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
  219. #define GL_LINES 0x0001
  220. #define GL_LINE_LOOP 0x0002
  221. #define GL_POINT_BIT 0x00000002
  222. #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
  223. #define GL_LINE_STRIP 0x0003
  224. #define GL_LINE_BIT 0x00000004
  225. #define GL_TRIANGLES 0x0004
  226. #define GL_TRIANGLE_STRIP 0x0005
  227. #define GL_TRIANGLE_FAN 0x0006
  228. #define GL_QUADS 0x0007
  229. #define GL_QUAD_STRIP 0x0008
  230. #define GL_POLYGON_BIT 0x00000008
  231. #define GL_POLYGON 0x0009
  232. #define GL_POLYGON_STIPPLE_BIT 0x00000010
  233. #define GL_PIXEL_MODE_BIT 0x00000020
  234. #define GL_LIGHTING_BIT 0x00000040
  235. #define GL_FOG_BIT 0x00000080
  236. #define GL_DEPTH_BUFFER_BIT 0x00000100
  237. #define GL_ACCUM 0x0100
  238. #define GL_LOAD 0x0101
  239. #define GL_RETURN 0x0102
  240. #define GL_MULT 0x0103
  241. #define GL_ADD 0x0104
  242. #define GL_NEVER 0x0200
  243. #define GL_ACCUM_BUFFER_BIT 0x00000200
  244. #define GL_LESS 0x0201
  245. #define GL_EQUAL 0x0202
  246. #define GL_LEQUAL 0x0203
  247. #define GL_GREATER 0x0204
  248. #define GL_NOTEQUAL 0x0205
  249. #define GL_GEQUAL 0x0206
  250. #define GL_ALWAYS 0x0207
  251. #define GL_SRC_COLOR 0x0300
  252. #define GL_ONE_MINUS_SRC_COLOR 0x0301
  253. #define GL_SRC_ALPHA 0x0302
  254. #define GL_ONE_MINUS_SRC_ALPHA 0x0303
  255. #define GL_DST_ALPHA 0x0304
  256. #define GL_ONE_MINUS_DST_ALPHA 0x0305
  257. #define GL_DST_COLOR 0x0306
  258. #define GL_ONE_MINUS_DST_COLOR 0x0307
  259. #define GL_SRC_ALPHA_SATURATE 0x0308
  260. #define GL_STENCIL_BUFFER_BIT 0x00000400
  261. #define GL_FRONT_LEFT 0x0400
  262. #define GL_FRONT_RIGHT 0x0401
  263. #define GL_BACK_LEFT 0x0402
  264. #define GL_BACK_RIGHT 0x0403
  265. #define GL_FRONT 0x0404
  266. #define GL_BACK 0x0405
  267. #define GL_LEFT 0x0406
  268. #define GL_RIGHT 0x0407
  269. #define GL_FRONT_AND_BACK 0x0408
  270. #define GL_AUX0 0x0409
  271. #define GL_AUX1 0x040A
  272. #define GL_AUX2 0x040B
  273. #define GL_AUX3 0x040C
  274. #define GL_INVALID_ENUM 0x0500
  275. #define GL_INVALID_VALUE 0x0501
  276. #define GL_INVALID_OPERATION 0x0502
  277. #define GL_STACK_OVERFLOW 0x0503
  278. #define GL_STACK_UNDERFLOW 0x0504
  279. #define GL_OUT_OF_MEMORY 0x0505
  280. #define GL_2D 0x0600
  281. #define GL_3D 0x0601
  282. #define GL_3D_COLOR 0x0602
  283. #define GL_3D_COLOR_TEXTURE 0x0603
  284. #define GL_4D_COLOR_TEXTURE 0x0604
  285. #define GL_PASS_THROUGH_TOKEN 0x0700
  286. #define GL_POINT_TOKEN 0x0701
  287. #define GL_LINE_TOKEN 0x0702
  288. #define GL_POLYGON_TOKEN 0x0703
  289. #define GL_BITMAP_TOKEN 0x0704
  290. #define GL_DRAW_PIXEL_TOKEN 0x0705
  291. #define GL_COPY_PIXEL_TOKEN 0x0706
  292. #define GL_LINE_RESET_TOKEN 0x0707
  293. #define GL_EXP 0x0800
  294. #define GL_VIEWPORT_BIT 0x00000800
  295. #define GL_EXP2 0x0801
  296. #define GL_CW 0x0900
  297. #define GL_CCW 0x0901
  298. #define GL_COEFF 0x0A00
  299. #define GL_ORDER 0x0A01
  300. #define GL_DOMAIN 0x0A02
  301. #define GL_CURRENT_COLOR 0x0B00
  302. #define GL_CURRENT_INDEX 0x0B01
  303. #define GL_CURRENT_NORMAL 0x0B02
  304. #define GL_CURRENT_TEXTURE_COORDS 0x0B03
  305. #define GL_CURRENT_RASTER_COLOR 0x0B04
  306. #define GL_CURRENT_RASTER_INDEX 0x0B05
  307. #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
  308. #define GL_CURRENT_RASTER_POSITION 0x0B07
  309. #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
  310. #define GL_CURRENT_RASTER_DISTANCE 0x0B09
  311. #define GL_POINT_SMOOTH 0x0B10
  312. #define GL_POINT_SIZE 0x0B11
  313. #define GL_POINT_SIZE_RANGE 0x0B12
  314. #define GL_POINT_SIZE_GRANULARITY 0x0B13
  315. #define GL_LINE_SMOOTH 0x0B20
  316. #define GL_LINE_WIDTH 0x0B21
  317. #define GL_LINE_WIDTH_RANGE 0x0B22
  318. #define GL_LINE_WIDTH_GRANULARITY 0x0B23
  319. #define GL_LINE_STIPPLE 0x0B24
  320. #define GL_LINE_STIPPLE_PATTERN 0x0B25
  321. #define GL_LINE_STIPPLE_REPEAT 0x0B26
  322. #define GL_LIST_MODE 0x0B30
  323. #define GL_MAX_LIST_NESTING 0x0B31
  324. #define GL_LIST_BASE 0x0B32
  325. #define GL_LIST_INDEX 0x0B33
  326. #define GL_POLYGON_MODE 0x0B40
  327. #define GL_POLYGON_SMOOTH 0x0B41
  328. #define GL_POLYGON_STIPPLE 0x0B42
  329. #define GL_EDGE_FLAG 0x0B43
  330. #define GL_CULL_FACE 0x0B44
  331. #define GL_CULL_FACE_MODE 0x0B45
  332. #define GL_FRONT_FACE 0x0B46
  333. #define GL_LIGHTING 0x0B50
  334. #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
  335. #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
  336. #define GL_LIGHT_MODEL_AMBIENT 0x0B53
  337. #define GL_SHADE_MODEL 0x0B54
  338. #define GL_COLOR_MATERIAL_FACE 0x0B55
  339. #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
  340. #define GL_COLOR_MATERIAL 0x0B57
  341. #define GL_FOG 0x0B60
  342. #define GL_FOG_INDEX 0x0B61
  343. #define GL_FOG_DENSITY 0x0B62
  344. #define GL_FOG_START 0x0B63
  345. #define GL_FOG_END 0x0B64
  346. #define GL_FOG_MODE 0x0B65
  347. #define GL_FOG_COLOR 0x0B66
  348. #define GL_DEPTH_RANGE 0x0B70
  349. #define GL_DEPTH_TEST 0x0B71
  350. #define GL_DEPTH_WRITEMASK 0x0B72
  351. #define GL_DEPTH_CLEAR_VALUE 0x0B73
  352. #define GL_DEPTH_FUNC 0x0B74
  353. #define GL_ACCUM_CLEAR_VALUE 0x0B80
  354. #define GL_STENCIL_TEST 0x0B90
  355. #define GL_STENCIL_CLEAR_VALUE 0x0B91
  356. #define GL_STENCIL_FUNC 0x0B92
  357. #define GL_STENCIL_VALUE_MASK 0x0B93
  358. #define GL_STENCIL_FAIL 0x0B94
  359. #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
  360. #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
  361. #define GL_STENCIL_REF 0x0B97
  362. #define GL_STENCIL_WRITEMASK 0x0B98
  363. #define GL_MATRIX_MODE 0x0BA0
  364. #define GL_NORMALIZE 0x0BA1
  365. #define GL_VIEWPORT 0x0BA2
  366. #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
  367. #define GL_PROJECTION_STACK_DEPTH 0x0BA4
  368. #define GL_TEXTURE_STACK_DEPTH 0x0BA5
  369. #define GL_MODELVIEW_MATRIX 0x0BA6
  370. #define GL_PROJECTION_MATRIX 0x0BA7
  371. #define GL_TEXTURE_MATRIX 0x0BA8
  372. #define GL_ATTRIB_STACK_DEPTH 0x0BB0
  373. #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
  374. #define GL_ALPHA_TEST 0x0BC0
  375. #define GL_ALPHA_TEST_FUNC 0x0BC1
  376. #define GL_ALPHA_TEST_REF 0x0BC2
  377. #define GL_DITHER 0x0BD0
  378. #define GL_BLEND_DST 0x0BE0
  379. #define GL_BLEND_SRC 0x0BE1
  380. #define GL_BLEND 0x0BE2
  381. #define GL_LOGIC_OP_MODE 0x0BF0
  382. #define GL_INDEX_LOGIC_OP 0x0BF1
  383. #define GL_COLOR_LOGIC_OP 0x0BF2
  384. #define GL_AUX_BUFFERS 0x0C00
  385. #define GL_DRAW_BUFFER 0x0C01
  386. #define GL_READ_BUFFER 0x0C02
  387. #define GL_SCISSOR_BOX 0x0C10
  388. #define GL_SCISSOR_TEST 0x0C11
  389. #define GL_INDEX_CLEAR_VALUE 0x0C20
  390. #define GL_INDEX_WRITEMASK 0x0C21
  391. #define GL_COLOR_CLEAR_VALUE 0x0C22
  392. #define GL_COLOR_WRITEMASK 0x0C23
  393. #define GL_INDEX_MODE 0x0C30
  394. #define GL_RGBA_MODE 0x0C31
  395. #define GL_DOUBLEBUFFER 0x0C32
  396. #define GL_STEREO 0x0C33
  397. #define GL_RENDER_MODE 0x0C40
  398. #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
  399. #define GL_POINT_SMOOTH_HINT 0x0C51
  400. #define GL_LINE_SMOOTH_HINT 0x0C52
  401. #define GL_POLYGON_SMOOTH_HINT 0x0C53
  402. #define GL_FOG_HINT 0x0C54
  403. #define GL_TEXTURE_GEN_S 0x0C60
  404. #define GL_TEXTURE_GEN_T 0x0C61
  405. #define GL_TEXTURE_GEN_R 0x0C62
  406. #define GL_TEXTURE_GEN_Q 0x0C63
  407. #define GL_PIXEL_MAP_I_TO_I 0x0C70
  408. #define GL_PIXEL_MAP_S_TO_S 0x0C71
  409. #define GL_PIXEL_MAP_I_TO_R 0x0C72
  410. #define GL_PIXEL_MAP_I_TO_G 0x0C73
  411. #define GL_PIXEL_MAP_I_TO_B 0x0C74
  412. #define GL_PIXEL_MAP_I_TO_A 0x0C75
  413. #define GL_PIXEL_MAP_R_TO_R 0x0C76
  414. #define GL_PIXEL_MAP_G_TO_G 0x0C77
  415. #define GL_PIXEL_MAP_B_TO_B 0x0C78
  416. #define GL_PIXEL_MAP_A_TO_A 0x0C79
  417. #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
  418. #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
  419. #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
  420. #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
  421. #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
  422. #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
  423. #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
  424. #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
  425. #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
  426. #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
  427. #define GL_UNPACK_SWAP_BYTES 0x0CF0
  428. #define GL_UNPACK_LSB_FIRST 0x0CF1
  429. #define GL_UNPACK_ROW_LENGTH 0x0CF2
  430. #define GL_UNPACK_SKIP_ROWS 0x0CF3
  431. #define GL_UNPACK_SKIP_PIXELS 0x0CF4
  432. #define GL_UNPACK_ALIGNMENT 0x0CF5
  433. #define GL_PACK_SWAP_BYTES 0x0D00
  434. #define GL_PACK_LSB_FIRST 0x0D01
  435. #define GL_PACK_ROW_LENGTH 0x0D02
  436. #define GL_PACK_SKIP_ROWS 0x0D03
  437. #define GL_PACK_SKIP_PIXELS 0x0D04
  438. #define GL_PACK_ALIGNMENT 0x0D05
  439. #define GL_MAP_COLOR 0x0D10
  440. #define GL_MAP_STENCIL 0x0D11
  441. #define GL_INDEX_SHIFT 0x0D12
  442. #define GL_INDEX_OFFSET 0x0D13
  443. #define GL_RED_SCALE 0x0D14
  444. #define GL_RED_BIAS 0x0D15
  445. #define GL_ZOOM_X 0x0D16
  446. #define GL_ZOOM_Y 0x0D17
  447. #define GL_GREEN_SCALE 0x0D18
  448. #define GL_GREEN_BIAS 0x0D19
  449. #define GL_BLUE_SCALE 0x0D1A
  450. #define GL_BLUE_BIAS 0x0D1B
  451. #define GL_ALPHA_SCALE 0x0D1C
  452. #define GL_ALPHA_BIAS 0x0D1D
  453. #define GL_DEPTH_SCALE 0x0D1E
  454. #define GL_DEPTH_BIAS 0x0D1F
  455. #define GL_MAX_EVAL_ORDER 0x0D30
  456. #define GL_MAX_LIGHTS 0x0D31
  457. #define GL_MAX_CLIP_PLANES 0x0D32
  458. #define GL_MAX_TEXTURE_SIZE 0x0D33
  459. #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
  460. #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
  461. #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
  462. #define GL_MAX_NAME_STACK_DEPTH 0x0D37
  463. #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
  464. #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
  465. #define GL_MAX_VIEWPORT_DIMS 0x0D3A
  466. #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
  467. #define GL_SUBPIXEL_BITS 0x0D50
  468. #define GL_INDEX_BITS 0x0D51
  469. #define GL_RED_BITS 0x0D52
  470. #define GL_GREEN_BITS 0x0D53
  471. #define GL_BLUE_BITS 0x0D54
  472. #define GL_ALPHA_BITS 0x0D55
  473. #define GL_DEPTH_BITS 0x0D56
  474. #define GL_STENCIL_BITS 0x0D57
  475. #define GL_ACCUM_RED_BITS 0x0D58
  476. #define GL_ACCUM_GREEN_BITS 0x0D59
  477. #define GL_ACCUM_BLUE_BITS 0x0D5A
  478. #define GL_ACCUM_ALPHA_BITS 0x0D5B
  479. #define GL_NAME_STACK_DEPTH 0x0D70
  480. #define GL_AUTO_NORMAL 0x0D80
  481. #define GL_MAP1_COLOR_4 0x0D90
  482. #define GL_MAP1_INDEX 0x0D91
  483. #define GL_MAP1_NORMAL 0x0D92
  484. #define GL_MAP1_TEXTURE_COORD_1 0x0D93
  485. #define GL_MAP1_TEXTURE_COORD_2 0x0D94
  486. #define GL_MAP1_TEXTURE_COORD_3 0x0D95
  487. #define GL_MAP1_TEXTURE_COORD_4 0x0D96
  488. #define GL_MAP1_VERTEX_3 0x0D97
  489. #define GL_MAP1_VERTEX_4 0x0D98
  490. #define GL_MAP2_COLOR_4 0x0DB0
  491. #define GL_MAP2_INDEX 0x0DB1
  492. #define GL_MAP2_NORMAL 0x0DB2
  493. #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
  494. #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
  495. #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
  496. #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
  497. #define GL_MAP2_VERTEX_3 0x0DB7
  498. #define GL_MAP2_VERTEX_4 0x0DB8
  499. #define GL_MAP1_GRID_DOMAIN 0x0DD0
  500. #define GL_MAP1_GRID_SEGMENTS 0x0DD1
  501. #define GL_MAP2_GRID_DOMAIN 0x0DD2
  502. #define GL_MAP2_GRID_SEGMENTS 0x0DD3
  503. #define GL_TEXTURE_1D 0x0DE0
  504. #define GL_TEXTURE_2D 0x0DE1
  505. #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
  506. #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
  507. #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
  508. #define GL_SELECTION_BUFFER_POINTER 0x0DF3
  509. #define GL_SELECTION_BUFFER_SIZE 0x0DF4
  510. #define GL_TEXTURE_WIDTH 0x1000
  511. #define GL_TRANSFORM_BIT 0x00001000
  512. #define GL_TEXTURE_HEIGHT 0x1001
  513. #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
  514. #define GL_TEXTURE_BORDER_COLOR 0x1004
  515. #define GL_TEXTURE_BORDER 0x1005
  516. #define GL_DONT_CARE 0x1100
  517. #define GL_FASTEST 0x1101
  518. #define GL_NICEST 0x1102
  519. #define GL_AMBIENT 0x1200
  520. #define GL_DIFFUSE 0x1201
  521. #define GL_SPECULAR 0x1202
  522. #define GL_POSITION 0x1203
  523. #define GL_SPOT_DIRECTION 0x1204
  524. #define GL_SPOT_EXPONENT 0x1205
  525. #define GL_SPOT_CUTOFF 0x1206
  526. #define GL_CONSTANT_ATTENUATION 0x1207
  527. #define GL_LINEAR_ATTENUATION 0x1208
  528. #define GL_QUADRATIC_ATTENUATION 0x1209
  529. #define GL_COMPILE 0x1300
  530. #define GL_COMPILE_AND_EXECUTE 0x1301
  531. #define GL_BYTE 0x1400
  532. #define GL_UNSIGNED_BYTE 0x1401
  533. #define GL_SHORT 0x1402
  534. #define GL_UNSIGNED_SHORT 0x1403
  535. #define GL_INT 0x1404
  536. #define GL_UNSIGNED_INT 0x1405
  537. #define GL_FLOAT 0x1406
  538. #define GL_2_BYTES 0x1407
  539. #define GL_3_BYTES 0x1408
  540. #define GL_4_BYTES 0x1409
  541. #define GL_DOUBLE 0x140A
  542. #define GL_CLEAR 0x1500
  543. #define GL_AND 0x1501
  544. #define GL_AND_REVERSE 0x1502
  545. #define GL_COPY 0x1503
  546. #define GL_AND_INVERTED 0x1504
  547. #define GL_NOOP 0x1505
  548. #define GL_XOR 0x1506
  549. #define GL_OR 0x1507
  550. #define GL_NOR 0x1508
  551. #define GL_EQUIV 0x1509
  552. #define GL_INVERT 0x150A
  553. #define GL_OR_REVERSE 0x150B
  554. #define GL_COPY_INVERTED 0x150C
  555. #define GL_OR_INVERTED 0x150D
  556. #define GL_NAND 0x150E
  557. #define GL_SET 0x150F
  558. #define GL_EMISSION 0x1600
  559. #define GL_SHININESS 0x1601
  560. #define GL_AMBIENT_AND_DIFFUSE 0x1602
  561. #define GL_COLOR_INDEXES 0x1603
  562. #define GL_MODELVIEW 0x1700
  563. #define GL_PROJECTION 0x1701
  564. #define GL_TEXTURE 0x1702
  565. #define GL_COLOR 0x1800
  566. #define GL_DEPTH 0x1801
  567. #define GL_STENCIL 0x1802
  568. #define GL_COLOR_INDEX 0x1900
  569. #define GL_STENCIL_INDEX 0x1901
  570. #define GL_DEPTH_COMPONENT 0x1902
  571. #define GL_RED 0x1903
  572. #define GL_GREEN 0x1904
  573. #define GL_BLUE 0x1905
  574. #define GL_ALPHA 0x1906
  575. #define GL_RGB 0x1907
  576. #define GL_RGBA 0x1908
  577. #define GL_LUMINANCE 0x1909
  578. #define GL_LUMINANCE_ALPHA 0x190A
  579. #define GL_BITMAP 0x1A00
  580. #define GL_POINT 0x1B00
  581. #define GL_LINE 0x1B01
  582. #define GL_FILL 0x1B02
  583. #define GL_RENDER 0x1C00
  584. #define GL_FEEDBACK 0x1C01
  585. #define GL_SELECT 0x1C02
  586. #define GL_FLAT 0x1D00
  587. #define GL_SMOOTH 0x1D01
  588. #define GL_KEEP 0x1E00
  589. #define GL_REPLACE 0x1E01
  590. #define GL_INCR 0x1E02
  591. #define GL_DECR 0x1E03
  592. #define GL_VENDOR 0x1F00
  593. #define GL_RENDERER 0x1F01
  594. #define GL_VERSION 0x1F02
  595. #define GL_EXTENSIONS 0x1F03
  596. #define GL_S 0x2000
  597. #define GL_ENABLE_BIT 0x00002000
  598. #define GL_T 0x2001
  599. #define GL_R 0x2002
  600. #define GL_Q 0x2003
  601. #define GL_MODULATE 0x2100
  602. #define GL_DECAL 0x2101
  603. #define GL_TEXTURE_ENV_MODE 0x2200
  604. #define GL_TEXTURE_ENV_COLOR 0x2201
  605. #define GL_TEXTURE_ENV 0x2300
  606. #define GL_EYE_LINEAR 0x2400
  607. #define GL_OBJECT_LINEAR 0x2401
  608. #define GL_SPHERE_MAP 0x2402
  609. #define GL_TEXTURE_GEN_MODE 0x2500
  610. #define GL_OBJECT_PLANE 0x2501
  611. #define GL_EYE_PLANE 0x2502
  612. #define GL_NEAREST 0x2600
  613. #define GL_LINEAR 0x2601
  614. #define GL_NEAREST_MIPMAP_NEAREST 0x2700
  615. #define GL_LINEAR_MIPMAP_NEAREST 0x2701
  616. #define GL_NEAREST_MIPMAP_LINEAR 0x2702
  617. #define GL_LINEAR_MIPMAP_LINEAR 0x2703
  618. #define GL_TEXTURE_MAG_FILTER 0x2800
  619. #define GL_TEXTURE_MIN_FILTER 0x2801
  620. #define GL_TEXTURE_WRAP_S 0x2802
  621. #define GL_TEXTURE_WRAP_T 0x2803
  622. #define GL_CLAMP 0x2900
  623. #define GL_REPEAT 0x2901
  624. #define GL_POLYGON_OFFSET_UNITS 0x2A00
  625. #define GL_POLYGON_OFFSET_POINT 0x2A01
  626. #define GL_POLYGON_OFFSET_LINE 0x2A02
  627. #define GL_R3_G3_B2 0x2A10
  628. #define GL_V2F 0x2A20
  629. #define GL_V3F 0x2A21
  630. #define GL_C4UB_V2F 0x2A22
  631. #define GL_C4UB_V3F 0x2A23
  632. #define GL_C3F_V3F 0x2A24
  633. #define GL_N3F_V3F 0x2A25
  634. #define GL_C4F_N3F_V3F 0x2A26
  635. #define GL_T2F_V3F 0x2A27
  636. #define GL_T4F_V4F 0x2A28
  637. #define GL_T2F_C4UB_V3F 0x2A29
  638. #define GL_T2F_C3F_V3F 0x2A2A
  639. #define GL_T2F_N3F_V3F 0x2A2B
  640. #define GL_T2F_C4F_N3F_V3F 0x2A2C
  641. #define GL_T4F_C4F_N3F_V4F 0x2A2D
  642. #define GL_CLIP_PLANE0 0x3000
  643. #define GL_CLIP_PLANE1 0x3001
  644. #define GL_CLIP_PLANE2 0x3002
  645. #define GL_CLIP_PLANE3 0x3003
  646. #define GL_CLIP_PLANE4 0x3004
  647. #define GL_CLIP_PLANE5 0x3005
  648. #define GL_LIGHT0 0x4000
  649. #define GL_COLOR_BUFFER_BIT 0x00004000
  650. #define GL_LIGHT1 0x4001
  651. #define GL_LIGHT2 0x4002
  652. #define GL_LIGHT3 0x4003
  653. #define GL_LIGHT4 0x4004
  654. #define GL_LIGHT5 0x4005
  655. #define GL_LIGHT6 0x4006
  656. #define GL_LIGHT7 0x4007
  657. #define GL_HINT_BIT 0x00008000
  658. #define GL_POLYGON_OFFSET_FILL 0x8037
  659. #define GL_POLYGON_OFFSET_FACTOR 0x8038
  660. #define GL_ALPHA4 0x803B
  661. #define GL_ALPHA8 0x803C
  662. #define GL_ALPHA12 0x803D
  663. #define GL_ALPHA16 0x803E
  664. #define GL_LUMINANCE4 0x803F
  665. #define GL_LUMINANCE8 0x8040
  666. #define GL_LUMINANCE12 0x8041
  667. #define GL_LUMINANCE16 0x8042
  668. #define GL_LUMINANCE4_ALPHA4 0x8043
  669. #define GL_LUMINANCE6_ALPHA2 0x8044
  670. #define GL_LUMINANCE8_ALPHA8 0x8045
  671. #define GL_LUMINANCE12_ALPHA4 0x8046
  672. #define GL_LUMINANCE12_ALPHA12 0x8047
  673. #define GL_LUMINANCE16_ALPHA16 0x8048
  674. #define GL_INTENSITY 0x8049
  675. #define GL_INTENSITY4 0x804A
  676. #define GL_INTENSITY8 0x804B
  677. #define GL_INTENSITY12 0x804C
  678. #define GL_INTENSITY16 0x804D
  679. #define GL_RGB4 0x804F
  680. #define GL_RGB5 0x8050
  681. #define GL_RGB8 0x8051
  682. #define GL_RGB10 0x8052
  683. #define GL_RGB12 0x8053
  684. #define GL_RGB16 0x8054
  685. #define GL_RGBA2 0x8055
  686. #define GL_RGBA4 0x8056
  687. #define GL_RGB5_A1 0x8057
  688. #define GL_RGBA8 0x8058
  689. #define GL_RGB10_A2 0x8059
  690. #define GL_RGBA12 0x805A
  691. #define GL_RGBA16 0x805B
  692. #define GL_TEXTURE_RED_SIZE 0x805C
  693. #define GL_TEXTURE_GREEN_SIZE 0x805D
  694. #define GL_TEXTURE_BLUE_SIZE 0x805E
  695. #define GL_TEXTURE_ALPHA_SIZE 0x805F
  696. #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
  697. #define GL_TEXTURE_INTENSITY_SIZE 0x8061
  698. #define GL_PROXY_TEXTURE_1D 0x8063
  699. #define GL_PROXY_TEXTURE_2D 0x8064
  700. #define GL_TEXTURE_PRIORITY 0x8066
  701. #define GL_TEXTURE_RESIDENT 0x8067
  702. #define GL_TEXTURE_BINDING_1D 0x8068
  703. #define GL_TEXTURE_BINDING_2D 0x8069
  704. #define GL_VERTEX_ARRAY 0x8074
  705. #define GL_NORMAL_ARRAY 0x8075
  706. #define GL_COLOR_ARRAY 0x8076
  707. #define GL_INDEX_ARRAY 0x8077
  708. #define GL_TEXTURE_COORD_ARRAY 0x8078
  709. #define GL_EDGE_FLAG_ARRAY 0x8079
  710. #define GL_VERTEX_ARRAY_SIZE 0x807A
  711. #define GL_VERTEX_ARRAY_TYPE 0x807B
  712. #define GL_VERTEX_ARRAY_STRIDE 0x807C
  713. #define GL_NORMAL_ARRAY_TYPE 0x807E
  714. #define GL_NORMAL_ARRAY_STRIDE 0x807F
  715. #define GL_COLOR_ARRAY_SIZE 0x8081
  716. #define GL_COLOR_ARRAY_TYPE 0x8082
  717. #define GL_COLOR_ARRAY_STRIDE 0x8083
  718. #define GL_INDEX_ARRAY_TYPE 0x8085
  719. #define GL_INDEX_ARRAY_STRIDE 0x8086
  720. #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
  721. #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
  722. #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
  723. #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
  724. #define GL_VERTEX_ARRAY_POINTER 0x808E
  725. #define GL_NORMAL_ARRAY_POINTER 0x808F
  726. #define GL_COLOR_ARRAY_POINTER 0x8090
  727. #define GL_INDEX_ARRAY_POINTER 0x8091
  728. #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
  729. #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
  730. #define GL_COLOR_INDEX1_EXT 0x80E2
  731. #define GL_COLOR_INDEX2_EXT 0x80E3
  732. #define GL_COLOR_INDEX4_EXT 0x80E4
  733. #define GL_COLOR_INDEX8_EXT 0x80E5
  734. #define GL_COLOR_INDEX12_EXT 0x80E6
  735. #define GL_COLOR_INDEX16_EXT 0x80E7
  736. #define GL_EVAL_BIT 0x00010000
  737. #define GL_LIST_BIT 0x00020000
  738. #define GL_TEXTURE_BIT 0x00040000
  739. #define GL_SCISSOR_BIT 0x00080000
  740. #define GL_ALL_ATTRIB_BITS 0x000fffff
  741. #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
  742. GLAPI void GLAPIENTRY glAccum (GLenum op, GLfloat value);
  743. GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref);
  744. GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences);
  745. GLAPI void GLAPIENTRY glArrayElement (GLint i);
  746. GLAPI void GLAPIENTRY glBegin (GLenum mode);
  747. GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture);
  748. GLAPI void GLAPIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
  749. GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
  750. GLAPI void GLAPIENTRY glCallList (GLuint list);
  751. GLAPI void GLAPIENTRY glCallLists (GLsizei n, GLenum type, const void *lists);
  752. GLAPI void GLAPIENTRY glClear (GLbitfield mask);
  753. GLAPI void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  754. GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  755. GLAPI void GLAPIENTRY glClearDepth (GLclampd depth);
  756. GLAPI void GLAPIENTRY glClearIndex (GLfloat c);
  757. GLAPI void GLAPIENTRY glClearStencil (GLint s);
  758. GLAPI void GLAPIENTRY glClipPlane (GLenum plane, const GLdouble *equation);
  759. GLAPI void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue);
  760. GLAPI void GLAPIENTRY glColor3bv (const GLbyte *v);
  761. GLAPI void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue);
  762. GLAPI void GLAPIENTRY glColor3dv (const GLdouble *v);
  763. GLAPI void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue);
  764. GLAPI void GLAPIENTRY glColor3fv (const GLfloat *v);
  765. GLAPI void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue);
  766. GLAPI void GLAPIENTRY glColor3iv (const GLint *v);
  767. GLAPI void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue);
  768. GLAPI void GLAPIENTRY glColor3sv (const GLshort *v);
  769. GLAPI void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue);
  770. GLAPI void GLAPIENTRY glColor3ubv (const GLubyte *v);
  771. GLAPI void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue);
  772. GLAPI void GLAPIENTRY glColor3uiv (const GLuint *v);
  773. GLAPI void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue);
  774. GLAPI void GLAPIENTRY glColor3usv (const GLushort *v);
  775. GLAPI void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
  776. GLAPI void GLAPIENTRY glColor4bv (const GLbyte *v);
  777. GLAPI void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
  778. GLAPI void GLAPIENTRY glColor4dv (const GLdouble *v);
  779. GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  780. GLAPI void GLAPIENTRY glColor4fv (const GLfloat *v);
  781. GLAPI void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha);
  782. GLAPI void GLAPIENTRY glColor4iv (const GLint *v);
  783. GLAPI void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha);
  784. GLAPI void GLAPIENTRY glColor4sv (const GLshort *v);
  785. GLAPI void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
  786. GLAPI void GLAPIENTRY glColor4ubv (const GLubyte *v);
  787. GLAPI void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  788. GLAPI void GLAPIENTRY glColor4uiv (const GLuint *v);
  789. GLAPI void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha);
  790. GLAPI void GLAPIENTRY glColor4usv (const GLushort *v);
  791. GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  792. GLAPI void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode);
  793. GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
  794. GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
  795. GLAPI void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
  796. GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  797. GLAPI void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  798. GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  799. GLAPI void GLAPIENTRY glCullFace (GLenum mode);
  800. GLAPI void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range);
  801. GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
  802. GLAPI void GLAPIENTRY glDepthFunc (GLenum func);
  803. GLAPI void GLAPIENTRY glDepthMask (GLboolean flag);
  804. GLAPI void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar);
  805. GLAPI void GLAPIENTRY glDisable (GLenum cap);
  806. GLAPI void GLAPIENTRY glDisableClientState (GLenum array);
  807. GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
  808. GLAPI void GLAPIENTRY glDrawBuffer (GLenum mode);
  809. GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices);
  810. GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  811. GLAPI void GLAPIENTRY glEdgeFlag (GLboolean flag);
  812. GLAPI void GLAPIENTRY glEdgeFlagPointer (GLsizei stride, const void *pointer);
  813. GLAPI void GLAPIENTRY glEdgeFlagv (const GLboolean *flag);
  814. GLAPI void GLAPIENTRY glEnable (GLenum cap);
  815. GLAPI void GLAPIENTRY glEnableClientState (GLenum array);
  816. GLAPI void GLAPIENTRY glEnd (void);
  817. GLAPI void GLAPIENTRY glEndList (void);
  818. GLAPI void GLAPIENTRY glEvalCoord1d (GLdouble u);
  819. GLAPI void GLAPIENTRY glEvalCoord1dv (const GLdouble *u);
  820. GLAPI void GLAPIENTRY glEvalCoord1f (GLfloat u);
  821. GLAPI void GLAPIENTRY glEvalCoord1fv (const GLfloat *u);
  822. GLAPI void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v);
  823. GLAPI void GLAPIENTRY glEvalCoord2dv (const GLdouble *u);
  824. GLAPI void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v);
  825. GLAPI void GLAPIENTRY glEvalCoord2fv (const GLfloat *u);
  826. GLAPI void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2);
  827. GLAPI void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
  828. GLAPI void GLAPIENTRY glEvalPoint1 (GLint i);
  829. GLAPI void GLAPIENTRY glEvalPoint2 (GLint i, GLint j);
  830. GLAPI void GLAPIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer);
  831. GLAPI void GLAPIENTRY glFinish (void);
  832. GLAPI void GLAPIENTRY glFlush (void);
  833. GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param);
  834. GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params);
  835. GLAPI void GLAPIENTRY glFogi (GLenum pname, GLint param);
  836. GLAPI void GLAPIENTRY glFogiv (GLenum pname, const GLint *params);
  837. GLAPI void GLAPIENTRY glFrontFace (GLenum mode);
  838. GLAPI void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  839. GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range);
  840. GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures);
  841. GLAPI void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
  842. GLAPI void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation);
  843. GLAPI void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params);
  844. GLAPI GLenum GLAPIENTRY glGetError (void);
  845. GLAPI void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params);
  846. GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params);
  847. GLAPI void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
  848. GLAPI void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params);
  849. GLAPI void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v);
  850. GLAPI void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v);
  851. GLAPI void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v);
  852. GLAPI void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
  853. GLAPI void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params);
  854. GLAPI void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values);
  855. GLAPI void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values);
  856. GLAPI void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values);
  857. GLAPI void GLAPIENTRY glGetPointerv (GLenum pname, void* *params);
  858. GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask);
  859. GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name);
  860. GLAPI void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params);
  861. GLAPI void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params);
  862. GLAPI void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params);
  863. GLAPI void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params);
  864. GLAPI void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params);
  865. GLAPI void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  866. GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
  867. GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
  868. GLAPI void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
  869. GLAPI void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
  870. GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode);
  871. GLAPI void GLAPIENTRY glIndexMask (GLuint mask);
  872. GLAPI void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride, const void *pointer);
  873. GLAPI void GLAPIENTRY glIndexd (GLdouble c);
  874. GLAPI void GLAPIENTRY glIndexdv (const GLdouble *c);
  875. GLAPI void GLAPIENTRY glIndexf (GLfloat c);
  876. GLAPI void GLAPIENTRY glIndexfv (const GLfloat *c);
  877. GLAPI void GLAPIENTRY glIndexi (GLint c);
  878. GLAPI void GLAPIENTRY glIndexiv (const GLint *c);
  879. GLAPI void GLAPIENTRY glIndexs (GLshort c);
  880. GLAPI void GLAPIENTRY glIndexsv (const GLshort *c);
  881. GLAPI void GLAPIENTRY glIndexub (GLubyte c);
  882. GLAPI void GLAPIENTRY glIndexubv (const GLubyte *c);
  883. GLAPI void GLAPIENTRY glInitNames (void);
  884. GLAPI void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const void *pointer);
  885. GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap);
  886. GLAPI GLboolean GLAPIENTRY glIsList (GLuint list);
  887. GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture);
  888. GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param);
  889. GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
  890. GLAPI void GLAPIENTRY glLightModeli (GLenum pname, GLint param);
  891. GLAPI void GLAPIENTRY glLightModeliv (GLenum pname, const GLint *params);
  892. GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
  893. GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
  894. GLAPI void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param);
  895. GLAPI void GLAPIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params);
  896. GLAPI void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern);
  897. GLAPI void GLAPIENTRY glLineWidth (GLfloat width);
  898. GLAPI void GLAPIENTRY glListBase (GLuint base);
  899. GLAPI void GLAPIENTRY glLoadIdentity (void);
  900. GLAPI void GLAPIENTRY glLoadMatrixd (const GLdouble *m);
  901. GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m);
  902. GLAPI void GLAPIENTRY glLoadName (GLuint name);
  903. GLAPI void GLAPIENTRY glLogicOp (GLenum opcode);
  904. GLAPI void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  905. GLAPI void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  906. GLAPI void GLAPIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
  907. GLAPI void GLAPIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
  908. GLAPI void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2);
  909. GLAPI void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2);
  910. GLAPI void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
  911. GLAPI void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
  912. GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
  913. GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
  914. GLAPI void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param);
  915. GLAPI void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params);
  916. GLAPI void GLAPIENTRY glMatrixMode (GLenum mode);
  917. GLAPI void GLAPIENTRY glMultMatrixd (const GLdouble *m);
  918. GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m);
  919. GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode);
  920. GLAPI void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz);
  921. GLAPI void GLAPIENTRY glNormal3bv (const GLbyte *v);
  922. GLAPI void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz);
  923. GLAPI void GLAPIENTRY glNormal3dv (const GLdouble *v);
  924. GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
  925. GLAPI void GLAPIENTRY glNormal3fv (const GLfloat *v);
  926. GLAPI void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz);
  927. GLAPI void GLAPIENTRY glNormal3iv (const GLint *v);
  928. GLAPI void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz);
  929. GLAPI void GLAPIENTRY glNormal3sv (const GLshort *v);
  930. GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const void *pointer);
  931. GLAPI void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  932. GLAPI void GLAPIENTRY glPassThrough (GLfloat token);
  933. GLAPI void GLAPIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values);
  934. GLAPI void GLAPIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values);
  935. GLAPI void GLAPIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values);
  936. GLAPI void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param);
  937. GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param);
  938. GLAPI void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param);
  939. GLAPI void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param);
  940. GLAPI void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor);
  941. GLAPI void GLAPIENTRY glPointSize (GLfloat size);
  942. GLAPI void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode);
  943. GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
  944. GLAPI void GLAPIENTRY glPolygonStipple (const GLubyte *mask);
  945. GLAPI void GLAPIENTRY glPopAttrib (void);
  946. GLAPI void GLAPIENTRY glPopClientAttrib (void);
  947. GLAPI void GLAPIENTRY glPopMatrix (void);
  948. GLAPI void GLAPIENTRY glPopName (void);
  949. GLAPI void GLAPIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  950. GLAPI void GLAPIENTRY glPushAttrib (GLbitfield mask);
  951. GLAPI void GLAPIENTRY glPushClientAttrib (GLbitfield mask);
  952. GLAPI void GLAPIENTRY glPushMatrix (void);
  953. GLAPI void GLAPIENTRY glPushName (GLuint name);
  954. GLAPI void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y);
  955. GLAPI void GLAPIENTRY glRasterPos2dv (const GLdouble *v);
  956. GLAPI void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y);
  957. GLAPI void GLAPIENTRY glRasterPos2fv (const GLfloat *v);
  958. GLAPI void GLAPIENTRY glRasterPos2i (GLint x, GLint y);
  959. GLAPI void GLAPIENTRY glRasterPos2iv (const GLint *v);
  960. GLAPI void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y);
  961. GLAPI void GLAPIENTRY glRasterPos2sv (const GLshort *v);
  962. GLAPI void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z);
  963. GLAPI void GLAPIENTRY glRasterPos3dv (const GLdouble *v);
  964. GLAPI void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z);
  965. GLAPI void GLAPIENTRY glRasterPos3fv (const GLfloat *v);
  966. GLAPI void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z);
  967. GLAPI void GLAPIENTRY glRasterPos3iv (const GLint *v);
  968. GLAPI void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z);
  969. GLAPI void GLAPIENTRY glRasterPos3sv (const GLshort *v);
  970. GLAPI void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  971. GLAPI void GLAPIENTRY glRasterPos4dv (const GLdouble *v);
  972. GLAPI void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  973. GLAPI void GLAPIENTRY glRasterPos4fv (const GLfloat *v);
  974. GLAPI void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w);
  975. GLAPI void GLAPIENTRY glRasterPos4iv (const GLint *v);
  976. GLAPI void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w);
  977. GLAPI void GLAPIENTRY glRasterPos4sv (const GLshort *v);
  978. GLAPI void GLAPIENTRY glReadBuffer (GLenum mode);
  979. GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
  980. GLAPI void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
  981. GLAPI void GLAPIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2);
  982. GLAPI void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
  983. GLAPI void GLAPIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2);
  984. GLAPI void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2);
  985. GLAPI void GLAPIENTRY glRectiv (const GLint *v1, const GLint *v2);
  986. GLAPI void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
  987. GLAPI void GLAPIENTRY glRectsv (const GLshort *v1, const GLshort *v2);
  988. GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode);
  989. GLAPI void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  990. GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  991. GLAPI void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z);
  992. GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
  993. GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
  994. GLAPI void GLAPIENTRY glSelectBuffer (GLsizei size, GLuint *buffer);
  995. GLAPI void GLAPIENTRY glShadeModel (GLenum mode);
  996. GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
  997. GLAPI void GLAPIENTRY glStencilMask (GLuint mask);
  998. GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
  999. GLAPI void GLAPIENTRY glTexCoord1d (GLdouble s);
  1000. GLAPI void GLAPIENTRY glTexCoord1dv (const GLdouble *v);
  1001. GLAPI void GLAPIENTRY glTexCoord1f (GLfloat s);
  1002. GLAPI void GLAPIENTRY glTexCoord1fv (const GLfloat *v);
  1003. GLAPI void GLAPIENTRY glTexCoord1i (GLint s);
  1004. GLAPI void GLAPIENTRY glTexCoord1iv (const GLint *v);
  1005. GLAPI void GLAPIENTRY glTexCoord1s (GLshort s);
  1006. GLAPI void GLAPIENTRY glTexCoord1sv (const GLshort *v);
  1007. GLAPI void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t);
  1008. GLAPI void GLAPIENTRY glTexCoord2dv (const GLdouble *v);
  1009. GLAPI void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t);
  1010. GLAPI void GLAPIENTRY glTexCoord2fv (const GLfloat *v);
  1011. GLAPI void GLAPIENTRY glTexCoord2i (GLint s, GLint t);
  1012. GLAPI void GLAPIENTRY glTexCoord2iv (const GLint *v);
  1013. GLAPI void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t);
  1014. GLAPI void GLAPIENTRY glTexCoord2sv (const GLshort *v);
  1015. GLAPI void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r);
  1016. GLAPI void GLAPIENTRY glTexCoord3dv (const GLdouble *v);
  1017. GLAPI void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r);
  1018. GLAPI void GLAPIENTRY glTexCoord3fv (const GLfloat *v);
  1019. GLAPI void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r);
  1020. GLAPI void GLAPIENTRY glTexCoord3iv (const GLint *v);
  1021. GLAPI void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r);
  1022. GLAPI void GLAPIENTRY glTexCoord3sv (const GLshort *v);
  1023. GLAPI void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  1024. GLAPI void GLAPIENTRY glTexCoord4dv (const GLdouble *v);
  1025. GLAPI void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  1026. GLAPI void GLAPIENTRY glTexCoord4fv (const GLfloat *v);
  1027. GLAPI void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q);
  1028. GLAPI void GLAPIENTRY glTexCoord4iv (const GLint *v);
  1029. GLAPI void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q);
  1030. GLAPI void GLAPIENTRY glTexCoord4sv (const GLshort *v);
  1031. GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
  1032. GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
  1033. GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
  1034. GLAPI void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
  1035. GLAPI void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
  1036. GLAPI void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param);
  1037. GLAPI void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params);
  1038. GLAPI void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param);
  1039. GLAPI void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params);
  1040. GLAPI void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param);
  1041. GLAPI void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params);
  1042. GLAPI void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  1043. GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  1044. GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
  1045. GLAPI void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  1046. GLAPI void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
  1047. GLAPI void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
  1048. GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  1049. GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  1050. GLAPI void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z);
  1051. GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
  1052. GLAPI void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y);
  1053. GLAPI void GLAPIENTRY glVertex2dv (const GLdouble *v);
  1054. GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y);
  1055. GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v);
  1056. GLAPI void GLAPIENTRY glVertex2i (GLint x, GLint y);
  1057. GLAPI void GLAPIENTRY glVertex2iv (const GLint *v);
  1058. GLAPI void GLAPIENTRY glVertex2s (GLshort x, GLshort y);
  1059. GLAPI void GLAPIENTRY glVertex2sv (const GLshort *v);
  1060. GLAPI void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z);
  1061. GLAPI void GLAPIENTRY glVertex3dv (const GLdouble *v);
  1062. GLAPI void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z);
  1063. GLAPI void GLAPIENTRY glVertex3fv (const GLfloat *v);
  1064. GLAPI void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z);
  1065. GLAPI void GLAPIENTRY glVertex3iv (const GLint *v);
  1066. GLAPI void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z);
  1067. GLAPI void GLAPIENTRY glVertex3sv (const GLshort *v);
  1068. GLAPI void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1069. GLAPI void GLAPIENTRY glVertex4dv (const GLdouble *v);
  1070. GLAPI void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1071. GLAPI void GLAPIENTRY glVertex4fv (const GLfloat *v);
  1072. GLAPI void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w);
  1073. GLAPI void GLAPIENTRY glVertex4iv (const GLint *v);
  1074. GLAPI void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w);
  1075. GLAPI void GLAPIENTRY glVertex4sv (const GLshort *v);
  1076. GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
  1077. GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
  1078. #define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1)
  1079. #endif /* GL_VERSION_1_1 */
  1080. /* ---------------------------------- GLU ---------------------------------- */
  1081. #ifndef GLEW_NO_GLU
  1082. # ifdef __APPLE__
  1083. # include <Availability.h>
  1084. # if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
  1085. # define GLEW_NO_GLU
  1086. # endif
  1087. # endif
  1088. #endif
  1089. #ifndef GLEW_NO_GLU
  1090. /* this is where we can safely include GLU */
  1091. # if defined(__APPLE__) && defined(__MACH__)
  1092. # include <OpenGL/glu.h>
  1093. # else
  1094. # include <GL/glu.h>
  1095. # endif
  1096. #endif