Counter Strike : Global Offensive Source Code
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.

11126 lines
622 KiB

  1. /*
  2. Simple DirectMedia Layer
  3. Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
  4. This software is provided 'as-is', without any express or implied
  5. warranty. In no event will the authors be held liable for any damages
  6. arising from the use of this software.
  7. Permission is granted to anyone to use this software for any purpose,
  8. including commercial applications, and to alter it and redistribute it
  9. freely, subject to the following restrictions:
  10. 1. The origin of this software must not be misrepresented; you must not
  11. claim that you wrote the original software. If you use this software
  12. in a product, an acknowledgment in the product documentation would be
  13. appreciated but is not required.
  14. 2. Altered source versions must be plainly marked as such, and must not be
  15. misrepresented as being the original software.
  16. 3. This notice may not be removed or altered from any source distribution.
  17. */
  18. /**
  19. * \file SDL_opengl.h
  20. *
  21. * This is a simple file to encapsulate the OpenGL API headers.
  22. */
  23. #ifndef _SDL_opengl_h
  24. #define _SDL_opengl_h
  25. #include "SDL_config.h"
  26. #ifndef __IPHONEOS__
  27. #ifdef __WIN32__
  28. #define WIN32_LEAN_AND_MEAN
  29. #ifndef NOMINMAX
  30. #define NOMINMAX /* Don't defined min() and max() */
  31. #endif
  32. #include <windows.h>
  33. #endif
  34. #ifdef __glext_h_
  35. /* Someone has already included glext.h */
  36. #define NO_SDL_GLEXT
  37. #endif
  38. #ifndef NO_SDL_GLEXT
  39. #define __glext_h_ /* Don't let gl.h include glext.h */
  40. #endif
  41. #if defined(__MACOSX__)
  42. #include <OpenGL/gl.h> /* Header File For The OpenGL Library */
  43. #define __X_GL_H
  44. #else
  45. #include <GL/gl.h> /* Header File For The OpenGL Library */
  46. #endif
  47. #ifndef NO_SDL_GLEXT
  48. #undef __glext_h_
  49. #endif
  50. /**
  51. * \file SDL_opengl.h
  52. *
  53. * This file is included because glext.h is not available on some systems.
  54. * If you don't want this version included, simply define ::NO_SDL_GLEXT.
  55. *
  56. * The latest version is available from:
  57. * http://www.opengl.org/registry/
  58. */
  59. /**
  60. * \def NO_SDL_GLEXT
  61. *
  62. * Define this if you have your own version of glext.h and want to disable the
  63. * version included in SDL_opengl.h.
  64. */
  65. #if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
  66. #ifndef __glext_h_
  67. #define __glext_h_
  68. #ifdef __cplusplus
  69. extern "C" {
  70. #endif
  71. /*
  72. ** Copyright (c) 2007-2010 The Khronos Group Inc.
  73. **
  74. ** Permission is hereby granted, free of charge, to any person obtaining a
  75. ** copy of this software and/or associated documentation files (the
  76. ** "Materials"), to deal in the Materials without restriction, including
  77. ** without limitation the rights to use, copy, modify, merge, publish,
  78. ** distribute, sublicense, and/or sell copies of the Materials, and to
  79. ** permit persons to whom the Materials are furnished to do so, subject to
  80. ** the following conditions:
  81. **
  82. ** The above copyright notice and this permission notice shall be included
  83. ** in all copies or substantial portions of the Materials.
  84. **
  85. ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  86. ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  87. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  88. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  89. ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  90. ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  91. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  92. */
  93. /* Header file version number, required by OpenGL ABI for Linux */
  94. /* glext.h last updated $Date: 2010-08-03 01:30:25 -0700 (Tue, 03 Aug 2010) $ */
  95. /* Current version at http://www.opengl.org/registry/ */
  96. #define GL_GLEXT_VERSION 64
  97. /* Function declaration macros - to move into glplatform.h */
  98. #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
  99. #define WIN32_LEAN_AND_MEAN 1
  100. #include <windows.h>
  101. #endif
  102. #ifndef APIENTRY
  103. #define APIENTRY
  104. #endif
  105. #ifndef APIENTRYP
  106. #define APIENTRYP APIENTRY *
  107. #endif
  108. #ifndef GLAPI
  109. #define GLAPI extern
  110. #endif
  111. /*************************************************************/
  112. #ifndef GL_VERSION_1_2
  113. #define GL_UNSIGNED_BYTE_3_3_2 0x8032
  114. #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
  115. #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
  116. #define GL_UNSIGNED_INT_8_8_8_8 0x8035
  117. #define GL_UNSIGNED_INT_10_10_10_2 0x8036
  118. #define GL_TEXTURE_BINDING_3D 0x806A
  119. #define GL_PACK_SKIP_IMAGES 0x806B
  120. #define GL_PACK_IMAGE_HEIGHT 0x806C
  121. #define GL_UNPACK_SKIP_IMAGES 0x806D
  122. #define GL_UNPACK_IMAGE_HEIGHT 0x806E
  123. #define GL_TEXTURE_3D 0x806F
  124. #define GL_PROXY_TEXTURE_3D 0x8070
  125. #define GL_TEXTURE_DEPTH 0x8071
  126. #define GL_TEXTURE_WRAP_R 0x8072
  127. #define GL_MAX_3D_TEXTURE_SIZE 0x8073
  128. #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
  129. #define GL_UNSIGNED_SHORT_5_6_5 0x8363
  130. #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
  131. #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
  132. #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
  133. #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
  134. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  135. #define GL_BGR 0x80E0
  136. #define GL_BGRA 0x80E1
  137. #define GL_MAX_ELEMENTS_VERTICES 0x80E8
  138. #define GL_MAX_ELEMENTS_INDICES 0x80E9
  139. #define GL_CLAMP_TO_EDGE 0x812F
  140. #define GL_TEXTURE_MIN_LOD 0x813A
  141. #define GL_TEXTURE_MAX_LOD 0x813B
  142. #define GL_TEXTURE_BASE_LEVEL 0x813C
  143. #define GL_TEXTURE_MAX_LEVEL 0x813D
  144. #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
  145. #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
  146. #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
  147. #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
  148. #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
  149. #endif
  150. #ifndef GL_VERSION_1_2_DEPRECATED
  151. #define GL_RESCALE_NORMAL 0x803A
  152. #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
  153. #define GL_SINGLE_COLOR 0x81F9
  154. #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
  155. #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
  156. #endif
  157. #ifndef GL_ARB_imaging
  158. #define GL_CONSTANT_COLOR 0x8001
  159. #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
  160. #define GL_CONSTANT_ALPHA 0x8003
  161. #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
  162. #define GL_BLEND_COLOR 0x8005
  163. #define GL_FUNC_ADD 0x8006
  164. #define GL_MIN 0x8007
  165. #define GL_MAX 0x8008
  166. #define GL_BLEND_EQUATION 0x8009
  167. #define GL_FUNC_SUBTRACT 0x800A
  168. #define GL_FUNC_REVERSE_SUBTRACT 0x800B
  169. #endif
  170. #ifndef GL_ARB_imaging_DEPRECATED
  171. #define GL_CONVOLUTION_1D 0x8010
  172. #define GL_CONVOLUTION_2D 0x8011
  173. #define GL_SEPARABLE_2D 0x8012
  174. #define GL_CONVOLUTION_BORDER_MODE 0x8013
  175. #define GL_CONVOLUTION_FILTER_SCALE 0x8014
  176. #define GL_CONVOLUTION_FILTER_BIAS 0x8015
  177. #define GL_REDUCE 0x8016
  178. #define GL_CONVOLUTION_FORMAT 0x8017
  179. #define GL_CONVOLUTION_WIDTH 0x8018
  180. #define GL_CONVOLUTION_HEIGHT 0x8019
  181. #define GL_MAX_CONVOLUTION_WIDTH 0x801A
  182. #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
  183. #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
  184. #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
  185. #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
  186. #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
  187. #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
  188. #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
  189. #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
  190. #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
  191. #define GL_HISTOGRAM 0x8024
  192. #define GL_PROXY_HISTOGRAM 0x8025
  193. #define GL_HISTOGRAM_WIDTH 0x8026
  194. #define GL_HISTOGRAM_FORMAT 0x8027
  195. #define GL_HISTOGRAM_RED_SIZE 0x8028
  196. #define GL_HISTOGRAM_GREEN_SIZE 0x8029
  197. #define GL_HISTOGRAM_BLUE_SIZE 0x802A
  198. #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
  199. #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
  200. #define GL_HISTOGRAM_SINK 0x802D
  201. #define GL_MINMAX 0x802E
  202. #define GL_MINMAX_FORMAT 0x802F
  203. #define GL_MINMAX_SINK 0x8030
  204. #define GL_TABLE_TOO_LARGE 0x8031
  205. #define GL_COLOR_MATRIX 0x80B1
  206. #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
  207. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
  208. #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
  209. #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
  210. #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
  211. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
  212. #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
  213. #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
  214. #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
  215. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
  216. #define GL_COLOR_TABLE 0x80D0
  217. #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
  218. #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
  219. #define GL_PROXY_COLOR_TABLE 0x80D3
  220. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
  221. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
  222. #define GL_COLOR_TABLE_SCALE 0x80D6
  223. #define GL_COLOR_TABLE_BIAS 0x80D7
  224. #define GL_COLOR_TABLE_FORMAT 0x80D8
  225. #define GL_COLOR_TABLE_WIDTH 0x80D9
  226. #define GL_COLOR_TABLE_RED_SIZE 0x80DA
  227. #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
  228. #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
  229. #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
  230. #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
  231. #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
  232. #define GL_CONSTANT_BORDER 0x8151
  233. #define GL_REPLICATE_BORDER 0x8153
  234. #define GL_CONVOLUTION_BORDER_COLOR 0x8154
  235. #endif
  236. #ifndef GL_VERSION_1_3
  237. #define GL_TEXTURE0 0x84C0
  238. #define GL_TEXTURE1 0x84C1
  239. #define GL_TEXTURE2 0x84C2
  240. #define GL_TEXTURE3 0x84C3
  241. #define GL_TEXTURE4 0x84C4
  242. #define GL_TEXTURE5 0x84C5
  243. #define GL_TEXTURE6 0x84C6
  244. #define GL_TEXTURE7 0x84C7
  245. #define GL_TEXTURE8 0x84C8
  246. #define GL_TEXTURE9 0x84C9
  247. #define GL_TEXTURE10 0x84CA
  248. #define GL_TEXTURE11 0x84CB
  249. #define GL_TEXTURE12 0x84CC
  250. #define GL_TEXTURE13 0x84CD
  251. #define GL_TEXTURE14 0x84CE
  252. #define GL_TEXTURE15 0x84CF
  253. #define GL_TEXTURE16 0x84D0
  254. #define GL_TEXTURE17 0x84D1
  255. #define GL_TEXTURE18 0x84D2
  256. #define GL_TEXTURE19 0x84D3
  257. #define GL_TEXTURE20 0x84D4
  258. #define GL_TEXTURE21 0x84D5
  259. #define GL_TEXTURE22 0x84D6
  260. #define GL_TEXTURE23 0x84D7
  261. #define GL_TEXTURE24 0x84D8
  262. #define GL_TEXTURE25 0x84D9
  263. #define GL_TEXTURE26 0x84DA
  264. #define GL_TEXTURE27 0x84DB
  265. #define GL_TEXTURE28 0x84DC
  266. #define GL_TEXTURE29 0x84DD
  267. #define GL_TEXTURE30 0x84DE
  268. #define GL_TEXTURE31 0x84DF
  269. #define GL_ACTIVE_TEXTURE 0x84E0
  270. #define GL_MULTISAMPLE 0x809D
  271. #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
  272. #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
  273. #define GL_SAMPLE_COVERAGE 0x80A0
  274. #define GL_SAMPLE_BUFFERS 0x80A8
  275. #define GL_SAMPLES 0x80A9
  276. #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
  277. #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
  278. #define GL_TEXTURE_CUBE_MAP 0x8513
  279. #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
  280. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
  281. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
  282. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
  283. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
  284. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
  285. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
  286. #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
  287. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
  288. #define GL_COMPRESSED_RGB 0x84ED
  289. #define GL_COMPRESSED_RGBA 0x84EE
  290. #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
  291. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
  292. #define GL_TEXTURE_COMPRESSED 0x86A1
  293. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
  294. #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
  295. #define GL_CLAMP_TO_BORDER 0x812D
  296. #endif
  297. #ifndef GL_VERSION_1_3_DEPRECATED
  298. #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
  299. #define GL_MAX_TEXTURE_UNITS 0x84E2
  300. #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
  301. #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
  302. #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
  303. #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
  304. #define GL_MULTISAMPLE_BIT 0x20000000
  305. #define GL_NORMAL_MAP 0x8511
  306. #define GL_REFLECTION_MAP 0x8512
  307. #define GL_COMPRESSED_ALPHA 0x84E9
  308. #define GL_COMPRESSED_LUMINANCE 0x84EA
  309. #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
  310. #define GL_COMPRESSED_INTENSITY 0x84EC
  311. #define GL_COMBINE 0x8570
  312. #define GL_COMBINE_RGB 0x8571
  313. #define GL_COMBINE_ALPHA 0x8572
  314. #define GL_SOURCE0_RGB 0x8580
  315. #define GL_SOURCE1_RGB 0x8581
  316. #define GL_SOURCE2_RGB 0x8582
  317. #define GL_SOURCE0_ALPHA 0x8588
  318. #define GL_SOURCE1_ALPHA 0x8589
  319. #define GL_SOURCE2_ALPHA 0x858A
  320. #define GL_OPERAND0_RGB 0x8590
  321. #define GL_OPERAND1_RGB 0x8591
  322. #define GL_OPERAND2_RGB 0x8592
  323. #define GL_OPERAND0_ALPHA 0x8598
  324. #define GL_OPERAND1_ALPHA 0x8599
  325. #define GL_OPERAND2_ALPHA 0x859A
  326. #define GL_RGB_SCALE 0x8573
  327. #define GL_ADD_SIGNED 0x8574
  328. #define GL_INTERPOLATE 0x8575
  329. #define GL_SUBTRACT 0x84E7
  330. #define GL_CONSTANT 0x8576
  331. #define GL_PRIMARY_COLOR 0x8577
  332. #define GL_PREVIOUS 0x8578
  333. #define GL_DOT3_RGB 0x86AE
  334. #define GL_DOT3_RGBA 0x86AF
  335. #endif
  336. #ifndef GL_VERSION_1_4
  337. #define GL_BLEND_DST_RGB 0x80C8
  338. #define GL_BLEND_SRC_RGB 0x80C9
  339. #define GL_BLEND_DST_ALPHA 0x80CA
  340. #define GL_BLEND_SRC_ALPHA 0x80CB
  341. #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
  342. #define GL_DEPTH_COMPONENT16 0x81A5
  343. #define GL_DEPTH_COMPONENT24 0x81A6
  344. #define GL_DEPTH_COMPONENT32 0x81A7
  345. #define GL_MIRRORED_REPEAT 0x8370
  346. #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
  347. #define GL_TEXTURE_LOD_BIAS 0x8501
  348. #define GL_INCR_WRAP 0x8507
  349. #define GL_DECR_WRAP 0x8508
  350. #define GL_TEXTURE_DEPTH_SIZE 0x884A
  351. #define GL_TEXTURE_COMPARE_MODE 0x884C
  352. #define GL_TEXTURE_COMPARE_FUNC 0x884D
  353. #endif
  354. #ifndef GL_VERSION_1_4_DEPRECATED
  355. #define GL_POINT_SIZE_MIN 0x8126
  356. #define GL_POINT_SIZE_MAX 0x8127
  357. #define GL_POINT_DISTANCE_ATTENUATION 0x8129
  358. #define GL_GENERATE_MIPMAP 0x8191
  359. #define GL_GENERATE_MIPMAP_HINT 0x8192
  360. #define GL_FOG_COORDINATE_SOURCE 0x8450
  361. #define GL_FOG_COORDINATE 0x8451
  362. #define GL_FRAGMENT_DEPTH 0x8452
  363. #define GL_CURRENT_FOG_COORDINATE 0x8453
  364. #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
  365. #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
  366. #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
  367. #define GL_FOG_COORDINATE_ARRAY 0x8457
  368. #define GL_COLOR_SUM 0x8458
  369. #define GL_CURRENT_SECONDARY_COLOR 0x8459
  370. #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
  371. #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
  372. #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
  373. #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
  374. #define GL_SECONDARY_COLOR_ARRAY 0x845E
  375. #define GL_TEXTURE_FILTER_CONTROL 0x8500
  376. #define GL_DEPTH_TEXTURE_MODE 0x884B
  377. #define GL_COMPARE_R_TO_TEXTURE 0x884E
  378. #endif
  379. #ifndef GL_VERSION_1_5
  380. #define GL_BUFFER_SIZE 0x8764
  381. #define GL_BUFFER_USAGE 0x8765
  382. #define GL_QUERY_COUNTER_BITS 0x8864
  383. #define GL_CURRENT_QUERY 0x8865
  384. #define GL_QUERY_RESULT 0x8866
  385. #define GL_QUERY_RESULT_AVAILABLE 0x8867
  386. #define GL_ARRAY_BUFFER 0x8892
  387. #define GL_ELEMENT_ARRAY_BUFFER 0x8893
  388. #define GL_ARRAY_BUFFER_BINDING 0x8894
  389. #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
  390. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
  391. #define GL_READ_ONLY 0x88B8
  392. #define GL_WRITE_ONLY 0x88B9
  393. #define GL_READ_WRITE 0x88BA
  394. #define GL_BUFFER_ACCESS 0x88BB
  395. #define GL_BUFFER_MAPPED 0x88BC
  396. #define GL_BUFFER_MAP_POINTER 0x88BD
  397. #define GL_STREAM_DRAW 0x88E0
  398. #define GL_STREAM_READ 0x88E1
  399. #define GL_STREAM_COPY 0x88E2
  400. #define GL_STATIC_DRAW 0x88E4
  401. #define GL_STATIC_READ 0x88E5
  402. #define GL_STATIC_COPY 0x88E6
  403. #define GL_DYNAMIC_DRAW 0x88E8
  404. #define GL_DYNAMIC_READ 0x88E9
  405. #define GL_DYNAMIC_COPY 0x88EA
  406. #define GL_SAMPLES_PASSED 0x8914
  407. #endif
  408. #ifndef GL_VERSION_1_5_DEPRECATED
  409. #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
  410. #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
  411. #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
  412. #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
  413. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
  414. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
  415. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
  416. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
  417. #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
  418. #define GL_FOG_COORD_SRC 0x8450
  419. #define GL_FOG_COORD 0x8451
  420. #define GL_CURRENT_FOG_COORD 0x8453
  421. #define GL_FOG_COORD_ARRAY_TYPE 0x8454
  422. #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
  423. #define GL_FOG_COORD_ARRAY_POINTER 0x8456
  424. #define GL_FOG_COORD_ARRAY 0x8457
  425. #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
  426. #define GL_SRC0_RGB 0x8580
  427. #define GL_SRC1_RGB 0x8581
  428. #define GL_SRC2_RGB 0x8582
  429. #define GL_SRC0_ALPHA 0x8588
  430. #define GL_SRC1_ALPHA 0x8589
  431. #define GL_SRC2_ALPHA 0x858A
  432. #endif
  433. #ifndef GL_VERSION_2_0
  434. #define GL_BLEND_EQUATION_RGB 0x8009
  435. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
  436. #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
  437. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
  438. #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
  439. #define GL_CURRENT_VERTEX_ATTRIB 0x8626
  440. #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
  441. #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
  442. #define GL_STENCIL_BACK_FUNC 0x8800
  443. #define GL_STENCIL_BACK_FAIL 0x8801
  444. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
  445. #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
  446. #define GL_MAX_DRAW_BUFFERS 0x8824
  447. #define GL_DRAW_BUFFER0 0x8825
  448. #define GL_DRAW_BUFFER1 0x8826
  449. #define GL_DRAW_BUFFER2 0x8827
  450. #define GL_DRAW_BUFFER3 0x8828
  451. #define GL_DRAW_BUFFER4 0x8829
  452. #define GL_DRAW_BUFFER5 0x882A
  453. #define GL_DRAW_BUFFER6 0x882B
  454. #define GL_DRAW_BUFFER7 0x882C
  455. #define GL_DRAW_BUFFER8 0x882D
  456. #define GL_DRAW_BUFFER9 0x882E
  457. #define GL_DRAW_BUFFER10 0x882F
  458. #define GL_DRAW_BUFFER11 0x8830
  459. #define GL_DRAW_BUFFER12 0x8831
  460. #define GL_DRAW_BUFFER13 0x8832
  461. #define GL_DRAW_BUFFER14 0x8833
  462. #define GL_DRAW_BUFFER15 0x8834
  463. #define GL_BLEND_EQUATION_ALPHA 0x883D
  464. #define GL_MAX_VERTEX_ATTRIBS 0x8869
  465. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
  466. #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
  467. #define GL_FRAGMENT_SHADER 0x8B30
  468. #define GL_VERTEX_SHADER 0x8B31
  469. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
  470. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
  471. #define GL_MAX_VARYING_FLOATS 0x8B4B
  472. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
  473. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
  474. #define GL_SHADER_TYPE 0x8B4F
  475. #define GL_FLOAT_VEC2 0x8B50
  476. #define GL_FLOAT_VEC3 0x8B51
  477. #define GL_FLOAT_VEC4 0x8B52
  478. #define GL_INT_VEC2 0x8B53
  479. #define GL_INT_VEC3 0x8B54
  480. #define GL_INT_VEC4 0x8B55
  481. #define GL_BOOL 0x8B56
  482. #define GL_BOOL_VEC2 0x8B57
  483. #define GL_BOOL_VEC3 0x8B58
  484. #define GL_BOOL_VEC4 0x8B59
  485. #define GL_FLOAT_MAT2 0x8B5A
  486. #define GL_FLOAT_MAT3 0x8B5B
  487. #define GL_FLOAT_MAT4 0x8B5C
  488. #define GL_SAMPLER_1D 0x8B5D
  489. #define GL_SAMPLER_2D 0x8B5E
  490. #define GL_SAMPLER_3D 0x8B5F
  491. #define GL_SAMPLER_CUBE 0x8B60
  492. #define GL_SAMPLER_1D_SHADOW 0x8B61
  493. #define GL_SAMPLER_2D_SHADOW 0x8B62
  494. #define GL_DELETE_STATUS 0x8B80
  495. #define GL_COMPILE_STATUS 0x8B81
  496. #define GL_LINK_STATUS 0x8B82
  497. #define GL_VALIDATE_STATUS 0x8B83
  498. #define GL_INFO_LOG_LENGTH 0x8B84
  499. #define GL_ATTACHED_SHADERS 0x8B85
  500. #define GL_ACTIVE_UNIFORMS 0x8B86
  501. #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
  502. #define GL_SHADER_SOURCE_LENGTH 0x8B88
  503. #define GL_ACTIVE_ATTRIBUTES 0x8B89
  504. #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
  505. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
  506. #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
  507. #define GL_CURRENT_PROGRAM 0x8B8D
  508. #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
  509. #define GL_LOWER_LEFT 0x8CA1
  510. #define GL_UPPER_LEFT 0x8CA2
  511. #define GL_STENCIL_BACK_REF 0x8CA3
  512. #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
  513. #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
  514. #endif
  515. #ifndef GL_VERSION_2_0_DEPRECATED
  516. #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
  517. #define GL_POINT_SPRITE 0x8861
  518. #define GL_COORD_REPLACE 0x8862
  519. #define GL_MAX_TEXTURE_COORDS 0x8871
  520. #endif
  521. #ifndef GL_VERSION_2_1
  522. #define GL_PIXEL_PACK_BUFFER 0x88EB
  523. #define GL_PIXEL_UNPACK_BUFFER 0x88EC
  524. #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
  525. #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
  526. #define GL_FLOAT_MAT2x3 0x8B65
  527. #define GL_FLOAT_MAT2x4 0x8B66
  528. #define GL_FLOAT_MAT3x2 0x8B67
  529. #define GL_FLOAT_MAT3x4 0x8B68
  530. #define GL_FLOAT_MAT4x2 0x8B69
  531. #define GL_FLOAT_MAT4x3 0x8B6A
  532. #define GL_SRGB 0x8C40
  533. #define GL_SRGB8 0x8C41
  534. #define GL_SRGB_ALPHA 0x8C42
  535. #define GL_SRGB8_ALPHA8 0x8C43
  536. #define GL_COMPRESSED_SRGB 0x8C48
  537. #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
  538. #endif
  539. #ifndef GL_VERSION_2_1_DEPRECATED
  540. #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
  541. #define GL_SLUMINANCE_ALPHA 0x8C44
  542. #define GL_SLUMINANCE8_ALPHA8 0x8C45
  543. #define GL_SLUMINANCE 0x8C46
  544. #define GL_SLUMINANCE8 0x8C47
  545. #define GL_COMPRESSED_SLUMINANCE 0x8C4A
  546. #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
  547. #endif
  548. #ifndef GL_VERSION_3_0
  549. #define GL_COMPARE_REF_TO_TEXTURE 0x884E
  550. #define GL_CLIP_DISTANCE0 0x3000
  551. #define GL_CLIP_DISTANCE1 0x3001
  552. #define GL_CLIP_DISTANCE2 0x3002
  553. #define GL_CLIP_DISTANCE3 0x3003
  554. #define GL_CLIP_DISTANCE4 0x3004
  555. #define GL_CLIP_DISTANCE5 0x3005
  556. #define GL_CLIP_DISTANCE6 0x3006
  557. #define GL_CLIP_DISTANCE7 0x3007
  558. #define GL_MAX_CLIP_DISTANCES 0x0D32
  559. #define GL_MAJOR_VERSION 0x821B
  560. #define GL_MINOR_VERSION 0x821C
  561. #define GL_NUM_EXTENSIONS 0x821D
  562. #define GL_CONTEXT_FLAGS 0x821E
  563. #define GL_DEPTH_BUFFER 0x8223
  564. #define GL_STENCIL_BUFFER 0x8224
  565. #define GL_COMPRESSED_RED 0x8225
  566. #define GL_COMPRESSED_RG 0x8226
  567. #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
  568. #define GL_RGBA32F 0x8814
  569. #define GL_RGB32F 0x8815
  570. #define GL_RGBA16F 0x881A
  571. #define GL_RGB16F 0x881B
  572. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
  573. #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
  574. #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
  575. #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
  576. #define GL_CLAMP_READ_COLOR 0x891C
  577. #define GL_FIXED_ONLY 0x891D
  578. #define GL_MAX_VARYING_COMPONENTS 0x8B4B
  579. #define GL_TEXTURE_1D_ARRAY 0x8C18
  580. #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
  581. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  582. #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
  583. #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
  584. #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
  585. #define GL_R11F_G11F_B10F 0x8C3A
  586. #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
  587. #define GL_RGB9_E5 0x8C3D
  588. #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
  589. #define GL_TEXTURE_SHARED_SIZE 0x8C3F
  590. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
  591. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
  592. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
  593. #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
  594. #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
  595. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
  596. #define GL_PRIMITIVES_GENERATED 0x8C87
  597. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
  598. #define GL_RASTERIZER_DISCARD 0x8C89
  599. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
  600. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
  601. #define GL_INTERLEAVED_ATTRIBS 0x8C8C
  602. #define GL_SEPARATE_ATTRIBS 0x8C8D
  603. #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
  604. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
  605. #define GL_RGBA32UI 0x8D70
  606. #define GL_RGB32UI 0x8D71
  607. #define GL_RGBA16UI 0x8D76
  608. #define GL_RGB16UI 0x8D77
  609. #define GL_RGBA8UI 0x8D7C
  610. #define GL_RGB8UI 0x8D7D
  611. #define GL_RGBA32I 0x8D82
  612. #define GL_RGB32I 0x8D83
  613. #define GL_RGBA16I 0x8D88
  614. #define GL_RGB16I 0x8D89
  615. #define GL_RGBA8I 0x8D8E
  616. #define GL_RGB8I 0x8D8F
  617. #define GL_RED_INTEGER 0x8D94
  618. #define GL_GREEN_INTEGER 0x8D95
  619. #define GL_BLUE_INTEGER 0x8D96
  620. #define GL_RGB_INTEGER 0x8D98
  621. #define GL_RGBA_INTEGER 0x8D99
  622. #define GL_BGR_INTEGER 0x8D9A
  623. #define GL_BGRA_INTEGER 0x8D9B
  624. #define GL_SAMPLER_1D_ARRAY 0x8DC0
  625. #define GL_SAMPLER_2D_ARRAY 0x8DC1
  626. #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
  627. #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
  628. #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
  629. #define GL_UNSIGNED_INT_VEC2 0x8DC6
  630. #define GL_UNSIGNED_INT_VEC3 0x8DC7
  631. #define GL_UNSIGNED_INT_VEC4 0x8DC8
  632. #define GL_INT_SAMPLER_1D 0x8DC9
  633. #define GL_INT_SAMPLER_2D 0x8DCA
  634. #define GL_INT_SAMPLER_3D 0x8DCB
  635. #define GL_INT_SAMPLER_CUBE 0x8DCC
  636. #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
  637. #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
  638. #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
  639. #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
  640. #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
  641. #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
  642. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
  643. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
  644. #define GL_QUERY_WAIT 0x8E13
  645. #define GL_QUERY_NO_WAIT 0x8E14
  646. #define GL_QUERY_BY_REGION_WAIT 0x8E15
  647. #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
  648. #define GL_BUFFER_ACCESS_FLAGS 0x911F
  649. #define GL_BUFFER_MAP_LENGTH 0x9120
  650. #define GL_BUFFER_MAP_OFFSET 0x9121
  651. /* Reuse tokens from ARB_depth_buffer_float */
  652. /* reuse GL_DEPTH_COMPONENT32F */
  653. /* reuse GL_DEPTH32F_STENCIL8 */
  654. /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
  655. /* Reuse tokens from ARB_framebuffer_object */
  656. /* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
  657. /* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
  658. /* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
  659. /* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
  660. /* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
  661. /* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
  662. /* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
  663. /* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
  664. /* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
  665. /* reuse GL_FRAMEBUFFER_DEFAULT */
  666. /* reuse GL_FRAMEBUFFER_UNDEFINED */
  667. /* reuse GL_DEPTH_STENCIL_ATTACHMENT */
  668. /* reuse GL_INDEX */
  669. /* reuse GL_MAX_RENDERBUFFER_SIZE */
  670. /* reuse GL_DEPTH_STENCIL */
  671. /* reuse GL_UNSIGNED_INT_24_8 */
  672. /* reuse GL_DEPTH24_STENCIL8 */
  673. /* reuse GL_TEXTURE_STENCIL_SIZE */
  674. /* reuse GL_TEXTURE_RED_TYPE */
  675. /* reuse GL_TEXTURE_GREEN_TYPE */
  676. /* reuse GL_TEXTURE_BLUE_TYPE */
  677. /* reuse GL_TEXTURE_ALPHA_TYPE */
  678. /* reuse GL_TEXTURE_DEPTH_TYPE */
  679. /* reuse GL_UNSIGNED_NORMALIZED */
  680. /* reuse GL_FRAMEBUFFER_BINDING */
  681. /* reuse GL_DRAW_FRAMEBUFFER_BINDING */
  682. /* reuse GL_RENDERBUFFER_BINDING */
  683. /* reuse GL_READ_FRAMEBUFFER */
  684. /* reuse GL_DRAW_FRAMEBUFFER */
  685. /* reuse GL_READ_FRAMEBUFFER_BINDING */
  686. /* reuse GL_RENDERBUFFER_SAMPLES */
  687. /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
  688. /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
  689. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
  690. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
  691. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
  692. /* reuse GL_FRAMEBUFFER_COMPLETE */
  693. /* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
  694. /* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
  695. /* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
  696. /* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
  697. /* reuse GL_FRAMEBUFFER_UNSUPPORTED */
  698. /* reuse GL_MAX_COLOR_ATTACHMENTS */
  699. /* reuse GL_COLOR_ATTACHMENT0 */
  700. /* reuse GL_COLOR_ATTACHMENT1 */
  701. /* reuse GL_COLOR_ATTACHMENT2 */
  702. /* reuse GL_COLOR_ATTACHMENT3 */
  703. /* reuse GL_COLOR_ATTACHMENT4 */
  704. /* reuse GL_COLOR_ATTACHMENT5 */
  705. /* reuse GL_COLOR_ATTACHMENT6 */
  706. /* reuse GL_COLOR_ATTACHMENT7 */
  707. /* reuse GL_COLOR_ATTACHMENT8 */
  708. /* reuse GL_COLOR_ATTACHMENT9 */
  709. /* reuse GL_COLOR_ATTACHMENT10 */
  710. /* reuse GL_COLOR_ATTACHMENT11 */
  711. /* reuse GL_COLOR_ATTACHMENT12 */
  712. /* reuse GL_COLOR_ATTACHMENT13 */
  713. /* reuse GL_COLOR_ATTACHMENT14 */
  714. /* reuse GL_COLOR_ATTACHMENT15 */
  715. /* reuse GL_DEPTH_ATTACHMENT */
  716. /* reuse GL_STENCIL_ATTACHMENT */
  717. /* reuse GL_FRAMEBUFFER */
  718. /* reuse GL_RENDERBUFFER */
  719. /* reuse GL_RENDERBUFFER_WIDTH */
  720. /* reuse GL_RENDERBUFFER_HEIGHT */
  721. /* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
  722. /* reuse GL_STENCIL_INDEX1 */
  723. /* reuse GL_STENCIL_INDEX4 */
  724. /* reuse GL_STENCIL_INDEX8 */
  725. /* reuse GL_STENCIL_INDEX16 */
  726. /* reuse GL_RENDERBUFFER_RED_SIZE */
  727. /* reuse GL_RENDERBUFFER_GREEN_SIZE */
  728. /* reuse GL_RENDERBUFFER_BLUE_SIZE */
  729. /* reuse GL_RENDERBUFFER_ALPHA_SIZE */
  730. /* reuse GL_RENDERBUFFER_DEPTH_SIZE */
  731. /* reuse GL_RENDERBUFFER_STENCIL_SIZE */
  732. /* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
  733. /* reuse GL_MAX_SAMPLES */
  734. /* Reuse tokens from ARB_framebuffer_sRGB */
  735. /* reuse GL_FRAMEBUFFER_SRGB */
  736. /* Reuse tokens from ARB_half_float_vertex */
  737. /* reuse GL_HALF_FLOAT */
  738. /* Reuse tokens from ARB_map_buffer_range */
  739. /* reuse GL_MAP_READ_BIT */
  740. /* reuse GL_MAP_WRITE_BIT */
  741. /* reuse GL_MAP_INVALIDATE_RANGE_BIT */
  742. /* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
  743. /* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
  744. /* reuse GL_MAP_UNSYNCHRONIZED_BIT */
  745. /* Reuse tokens from ARB_texture_compression_rgtc */
  746. /* reuse GL_COMPRESSED_RED_RGTC1 */
  747. /* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
  748. /* reuse GL_COMPRESSED_RG_RGTC2 */
  749. /* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
  750. /* Reuse tokens from ARB_texture_rg */
  751. /* reuse GL_RG */
  752. /* reuse GL_RG_INTEGER */
  753. /* reuse GL_R8 */
  754. /* reuse GL_R16 */
  755. /* reuse GL_RG8 */
  756. /* reuse GL_RG16 */
  757. /* reuse GL_R16F */
  758. /* reuse GL_R32F */
  759. /* reuse GL_RG16F */
  760. /* reuse GL_RG32F */
  761. /* reuse GL_R8I */
  762. /* reuse GL_R8UI */
  763. /* reuse GL_R16I */
  764. /* reuse GL_R16UI */
  765. /* reuse GL_R32I */
  766. /* reuse GL_R32UI */
  767. /* reuse GL_RG8I */
  768. /* reuse GL_RG8UI */
  769. /* reuse GL_RG16I */
  770. /* reuse GL_RG16UI */
  771. /* reuse GL_RG32I */
  772. /* reuse GL_RG32UI */
  773. /* Reuse tokens from ARB_vertex_array_object */
  774. /* reuse GL_VERTEX_ARRAY_BINDING */
  775. #endif
  776. #ifndef GL_VERSION_3_0_DEPRECATED
  777. #define GL_CLAMP_VERTEX_COLOR 0x891A
  778. #define GL_CLAMP_FRAGMENT_COLOR 0x891B
  779. #define GL_ALPHA_INTEGER 0x8D97
  780. /* Reuse tokens from ARB_framebuffer_object */
  781. /* reuse GL_TEXTURE_LUMINANCE_TYPE */
  782. /* reuse GL_TEXTURE_INTENSITY_TYPE */
  783. #endif
  784. #ifndef GL_VERSION_3_1
  785. #define GL_SAMPLER_2D_RECT 0x8B63
  786. #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
  787. #define GL_SAMPLER_BUFFER 0x8DC2
  788. #define GL_INT_SAMPLER_2D_RECT 0x8DCD
  789. #define GL_INT_SAMPLER_BUFFER 0x8DD0
  790. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
  791. #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
  792. #define GL_TEXTURE_BUFFER 0x8C2A
  793. #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
  794. #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
  795. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  796. #define GL_TEXTURE_BUFFER_FORMAT 0x8C2E
  797. #define GL_TEXTURE_RECTANGLE 0x84F5
  798. #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
  799. #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
  800. #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
  801. #define GL_RED_SNORM 0x8F90
  802. #define GL_RG_SNORM 0x8F91
  803. #define GL_RGB_SNORM 0x8F92
  804. #define GL_RGBA_SNORM 0x8F93
  805. #define GL_R8_SNORM 0x8F94
  806. #define GL_RG8_SNORM 0x8F95
  807. #define GL_RGB8_SNORM 0x8F96
  808. #define GL_RGBA8_SNORM 0x8F97
  809. #define GL_R16_SNORM 0x8F98
  810. #define GL_RG16_SNORM 0x8F99
  811. #define GL_RGB16_SNORM 0x8F9A
  812. #define GL_RGBA16_SNORM 0x8F9B
  813. #define GL_SIGNED_NORMALIZED 0x8F9C
  814. #define GL_PRIMITIVE_RESTART 0x8F9D
  815. #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
  816. /* Reuse tokens from ARB_copy_buffer */
  817. /* reuse GL_COPY_READ_BUFFER */
  818. /* reuse GL_COPY_WRITE_BUFFER */
  819. /* Reuse tokens from ARB_draw_instanced (none) */
  820. /* Reuse tokens from ARB_uniform_buffer_object */
  821. /* reuse GL_UNIFORM_BUFFER */
  822. /* reuse GL_UNIFORM_BUFFER_BINDING */
  823. /* reuse GL_UNIFORM_BUFFER_START */
  824. /* reuse GL_UNIFORM_BUFFER_SIZE */
  825. /* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
  826. /* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
  827. /* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
  828. /* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
  829. /* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
  830. /* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
  831. /* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
  832. /* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
  833. /* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
  834. /* reuse GL_ACTIVE_UNIFORM_BLOCKS */
  835. /* reuse GL_UNIFORM_TYPE */
  836. /* reuse GL_UNIFORM_SIZE */
  837. /* reuse GL_UNIFORM_NAME_LENGTH */
  838. /* reuse GL_UNIFORM_BLOCK_INDEX */
  839. /* reuse GL_UNIFORM_OFFSET */
  840. /* reuse GL_UNIFORM_ARRAY_STRIDE */
  841. /* reuse GL_UNIFORM_MATRIX_STRIDE */
  842. /* reuse GL_UNIFORM_IS_ROW_MAJOR */
  843. /* reuse GL_UNIFORM_BLOCK_BINDING */
  844. /* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
  845. /* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
  846. /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
  847. /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
  848. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
  849. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
  850. /* reuse GL_INVALID_INDEX */
  851. #endif
  852. #ifndef GL_VERSION_3_2
  853. #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
  854. #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  855. #define GL_LINES_ADJACENCY 0x000A
  856. #define GL_LINE_STRIP_ADJACENCY 0x000B
  857. #define GL_TRIANGLES_ADJACENCY 0x000C
  858. #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
  859. #define GL_PROGRAM_POINT_SIZE 0x8642
  860. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  861. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  862. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  863. #define GL_GEOMETRY_SHADER 0x8DD9
  864. #define GL_GEOMETRY_VERTICES_OUT 0x8916
  865. #define GL_GEOMETRY_INPUT_TYPE 0x8917
  866. #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
  867. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  868. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
  869. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  870. #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
  871. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
  872. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  873. #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
  874. #define GL_CONTEXT_PROFILE_MASK 0x9126
  875. /* reuse GL_MAX_VARYING_COMPONENTS */
  876. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
  877. /* Reuse tokens from ARB_depth_clamp */
  878. /* reuse GL_DEPTH_CLAMP */
  879. /* Reuse tokens from ARB_draw_elements_base_vertex (none) */
  880. /* Reuse tokens from ARB_fragment_coord_conventions (none) */
  881. /* Reuse tokens from ARB_provoking_vertex */
  882. /* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
  883. /* reuse GL_FIRST_VERTEX_CONVENTION */
  884. /* reuse GL_LAST_VERTEX_CONVENTION */
  885. /* reuse GL_PROVOKING_VERTEX */
  886. /* Reuse tokens from ARB_seamless_cube_map */
  887. /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
  888. /* Reuse tokens from ARB_sync */
  889. /* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
  890. /* reuse GL_OBJECT_TYPE */
  891. /* reuse GL_SYNC_CONDITION */
  892. /* reuse GL_SYNC_STATUS */
  893. /* reuse GL_SYNC_FLAGS */
  894. /* reuse GL_SYNC_FENCE */
  895. /* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
  896. /* reuse GL_UNSIGNALED */
  897. /* reuse GL_SIGNALED */
  898. /* reuse GL_ALREADY_SIGNALED */
  899. /* reuse GL_TIMEOUT_EXPIRED */
  900. /* reuse GL_CONDITION_SATISFIED */
  901. /* reuse GL_WAIT_FAILED */
  902. /* reuse GL_TIMEOUT_IGNORED */
  903. /* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
  904. /* reuse GL_TIMEOUT_IGNORED */
  905. /* Reuse tokens from ARB_texture_multisample */
  906. /* reuse GL_SAMPLE_POSITION */
  907. /* reuse GL_SAMPLE_MASK */
  908. /* reuse GL_SAMPLE_MASK_VALUE */
  909. /* reuse GL_MAX_SAMPLE_MASK_WORDS */
  910. /* reuse GL_TEXTURE_2D_MULTISAMPLE */
  911. /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
  912. /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
  913. /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
  914. /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
  915. /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
  916. /* reuse GL_TEXTURE_SAMPLES */
  917. /* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
  918. /* reuse GL_SAMPLER_2D_MULTISAMPLE */
  919. /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
  920. /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
  921. /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
  922. /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
  923. /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
  924. /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
  925. /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
  926. /* reuse GL_MAX_INTEGER_SAMPLES */
  927. /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
  928. #endif
  929. #ifndef GL_VERSION_3_3
  930. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
  931. /* Reuse tokens from ARB_blend_func_extended */
  932. /* reuse GL_SRC1_COLOR */
  933. /* reuse GL_ONE_MINUS_SRC1_COLOR */
  934. /* reuse GL_ONE_MINUS_SRC1_ALPHA */
  935. /* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
  936. /* Reuse tokens from ARB_explicit_attrib_location (none) */
  937. /* Reuse tokens from ARB_occlusion_query2 */
  938. /* reuse GL_ANY_SAMPLES_PASSED */
  939. /* Reuse tokens from ARB_sampler_objects */
  940. /* reuse GL_SAMPLER_BINDING */
  941. /* Reuse tokens from ARB_shader_bit_encoding (none) */
  942. /* Reuse tokens from ARB_texture_rgb10_a2ui */
  943. /* reuse GL_RGB10_A2UI */
  944. /* Reuse tokens from ARB_texture_swizzle */
  945. /* reuse GL_TEXTURE_SWIZZLE_R */
  946. /* reuse GL_TEXTURE_SWIZZLE_G */
  947. /* reuse GL_TEXTURE_SWIZZLE_B */
  948. /* reuse GL_TEXTURE_SWIZZLE_A */
  949. /* reuse GL_TEXTURE_SWIZZLE_RGBA */
  950. /* Reuse tokens from ARB_timer_query */
  951. /* reuse GL_TIME_ELAPSED */
  952. /* reuse GL_TIMESTAMP */
  953. /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
  954. /* reuse GL_INT_2_10_10_10_REV */
  955. #endif
  956. #ifndef GL_VERSION_4_0
  957. #define GL_SAMPLE_SHADING 0x8C36
  958. #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
  959. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  960. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  961. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  962. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  963. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
  964. #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
  965. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
  966. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
  967. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  968. /* Reuse tokens from ARB_texture_query_lod (none) */
  969. /* Reuse tokens from ARB_draw_buffers_blend (none) */
  970. /* Reuse tokens from ARB_draw_indirect */
  971. /* reuse GL_DRAW_INDIRECT_BUFFER */
  972. /* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
  973. /* Reuse tokens from ARB_gpu_shader5 */
  974. /* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
  975. /* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
  976. /* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
  977. /* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
  978. /* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
  979. /* reuse GL_MAX_VERTEX_STREAMS */
  980. /* Reuse tokens from ARB_gpu_shader_fp64 */
  981. /* reuse GL_DOUBLE_VEC2 */
  982. /* reuse GL_DOUBLE_VEC3 */
  983. /* reuse GL_DOUBLE_VEC4 */
  984. /* reuse GL_DOUBLE_MAT2 */
  985. /* reuse GL_DOUBLE_MAT3 */
  986. /* reuse GL_DOUBLE_MAT4 */
  987. /* reuse GL_DOUBLE_MAT2x3 */
  988. /* reuse GL_DOUBLE_MAT2x4 */
  989. /* reuse GL_DOUBLE_MAT3x2 */
  990. /* reuse GL_DOUBLE_MAT3x4 */
  991. /* reuse GL_DOUBLE_MAT4x2 */
  992. /* reuse GL_DOUBLE_MAT4x3 */
  993. /* Reuse tokens from ARB_shader_subroutine */
  994. /* reuse GL_ACTIVE_SUBROUTINES */
  995. /* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
  996. /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
  997. /* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
  998. /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
  999. /* reuse GL_MAX_SUBROUTINES */
  1000. /* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
  1001. /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
  1002. /* reuse GL_COMPATIBLE_SUBROUTINES */
  1003. /* Reuse tokens from ARB_tessellation_shader */
  1004. /* reuse GL_PATCHES */
  1005. /* reuse GL_PATCH_VERTICES */
  1006. /* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
  1007. /* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
  1008. /* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
  1009. /* reuse GL_TESS_GEN_MODE */
  1010. /* reuse GL_TESS_GEN_SPACING */
  1011. /* reuse GL_TESS_GEN_VERTEX_ORDER */
  1012. /* reuse GL_TESS_GEN_POINT_MODE */
  1013. /* reuse GL_ISOLINES */
  1014. /* reuse GL_FRACTIONAL_ODD */
  1015. /* reuse GL_FRACTIONAL_EVEN */
  1016. /* reuse GL_MAX_PATCH_VERTICES */
  1017. /* reuse GL_MAX_TESS_GEN_LEVEL */
  1018. /* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
  1019. /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
  1020. /* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
  1021. /* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
  1022. /* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
  1023. /* reuse GL_MAX_TESS_PATCH_COMPONENTS */
  1024. /* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
  1025. /* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
  1026. /* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
  1027. /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
  1028. /* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
  1029. /* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
  1030. /* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
  1031. /* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
  1032. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
  1033. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
  1034. /* reuse GL_TESS_EVALUATION_SHADER */
  1035. /* reuse GL_TESS_CONTROL_SHADER */
  1036. /* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
  1037. /* Reuse tokens from ARB_transform_feedback2 */
  1038. /* reuse GL_TRANSFORM_FEEDBACK */
  1039. /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
  1040. /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
  1041. /* reuse GL_TRANSFORM_FEEDBACK_BINDING */
  1042. /* Reuse tokens from ARB_transform_feedback3 */
  1043. /* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
  1044. /* reuse GL_MAX_VERTEX_STREAMS */
  1045. #endif
  1046. #ifndef GL_VERSION_4_1
  1047. /* Reuse tokens from ARB_ES2_compatibility */
  1048. /* reuse GL_FIXED */
  1049. /* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
  1050. /* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
  1051. /* reuse GL_LOW_FLOAT */
  1052. /* reuse GL_MEDIUM_FLOAT */
  1053. /* reuse GL_HIGH_FLOAT */
  1054. /* reuse GL_LOW_INT */
  1055. /* reuse GL_MEDIUM_INT */
  1056. /* reuse GL_HIGH_INT */
  1057. /* reuse GL_SHADER_COMPILER */
  1058. /* reuse GL_NUM_SHADER_BINARY_FORMATS */
  1059. /* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
  1060. /* reuse GL_MAX_VARYING_VECTORS */
  1061. /* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
  1062. /* Reuse tokens from ARB_get_program_binary */
  1063. /* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
  1064. /* reuse GL_PROGRAM_BINARY_LENGTH */
  1065. /* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
  1066. /* reuse GL_PROGRAM_BINARY_FORMATS */
  1067. /* Reuse tokens from ARB_separate_shader_objects */
  1068. /* reuse GL_VERTEX_SHADER_BIT */
  1069. /* reuse GL_FRAGMENT_SHADER_BIT */
  1070. /* reuse GL_GEOMETRY_SHADER_BIT */
  1071. /* reuse GL_TESS_CONTROL_SHADER_BIT */
  1072. /* reuse GL_TESS_EVALUATION_SHADER_BIT */
  1073. /* reuse GL_ALL_SHADER_BITS */
  1074. /* reuse GL_PROGRAM_SEPARABLE */
  1075. /* reuse GL_ACTIVE_PROGRAM */
  1076. /* reuse GL_PROGRAM_PIPELINE_BINDING */
  1077. /* Reuse tokens from ARB_shader_precision (none) */
  1078. /* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
  1079. /* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
  1080. /* reuse GL_MAX_VIEWPORTS */
  1081. /* reuse GL_VIEWPORT_SUBPIXEL_BITS */
  1082. /* reuse GL_VIEWPORT_BOUNDS_RANGE */
  1083. /* reuse GL_LAYER_PROVOKING_VERTEX */
  1084. /* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
  1085. /* reuse GL_UNDEFINED_VERTEX */
  1086. #endif
  1087. #ifndef GL_ARB_multitexture
  1088. #define GL_TEXTURE0_ARB 0x84C0
  1089. #define GL_TEXTURE1_ARB 0x84C1
  1090. #define GL_TEXTURE2_ARB 0x84C2
  1091. #define GL_TEXTURE3_ARB 0x84C3
  1092. #define GL_TEXTURE4_ARB 0x84C4
  1093. #define GL_TEXTURE5_ARB 0x84C5
  1094. #define GL_TEXTURE6_ARB 0x84C6
  1095. #define GL_TEXTURE7_ARB 0x84C7
  1096. #define GL_TEXTURE8_ARB 0x84C8
  1097. #define GL_TEXTURE9_ARB 0x84C9
  1098. #define GL_TEXTURE10_ARB 0x84CA
  1099. #define GL_TEXTURE11_ARB 0x84CB
  1100. #define GL_TEXTURE12_ARB 0x84CC
  1101. #define GL_TEXTURE13_ARB 0x84CD
  1102. #define GL_TEXTURE14_ARB 0x84CE
  1103. #define GL_TEXTURE15_ARB 0x84CF
  1104. #define GL_TEXTURE16_ARB 0x84D0
  1105. #define GL_TEXTURE17_ARB 0x84D1
  1106. #define GL_TEXTURE18_ARB 0x84D2
  1107. #define GL_TEXTURE19_ARB 0x84D3
  1108. #define GL_TEXTURE20_ARB 0x84D4
  1109. #define GL_TEXTURE21_ARB 0x84D5
  1110. #define GL_TEXTURE22_ARB 0x84D6
  1111. #define GL_TEXTURE23_ARB 0x84D7
  1112. #define GL_TEXTURE24_ARB 0x84D8
  1113. #define GL_TEXTURE25_ARB 0x84D9
  1114. #define GL_TEXTURE26_ARB 0x84DA
  1115. #define GL_TEXTURE27_ARB 0x84DB
  1116. #define GL_TEXTURE28_ARB 0x84DC
  1117. #define GL_TEXTURE29_ARB 0x84DD
  1118. #define GL_TEXTURE30_ARB 0x84DE
  1119. #define GL_TEXTURE31_ARB 0x84DF
  1120. #define GL_ACTIVE_TEXTURE_ARB 0x84E0
  1121. #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
  1122. #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
  1123. #endif
  1124. #ifndef GL_ARB_transpose_matrix
  1125. #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  1126. #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  1127. #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
  1128. #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
  1129. #endif
  1130. #ifndef GL_ARB_multisample
  1131. #define GL_MULTISAMPLE_ARB 0x809D
  1132. #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
  1133. #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
  1134. #define GL_SAMPLE_COVERAGE_ARB 0x80A0
  1135. #define GL_SAMPLE_BUFFERS_ARB 0x80A8
  1136. #define GL_SAMPLES_ARB 0x80A9
  1137. #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
  1138. #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
  1139. #define GL_MULTISAMPLE_BIT_ARB 0x20000000
  1140. #endif
  1141. #ifndef GL_ARB_texture_env_add
  1142. #endif
  1143. #ifndef GL_ARB_texture_cube_map
  1144. #define GL_NORMAL_MAP_ARB 0x8511
  1145. #define GL_REFLECTION_MAP_ARB 0x8512
  1146. #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
  1147. #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
  1148. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  1149. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  1150. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  1151. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  1152. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  1153. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  1154. #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
  1155. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
  1156. #endif
  1157. #ifndef GL_ARB_texture_compression
  1158. #define GL_COMPRESSED_ALPHA_ARB 0x84E9
  1159. #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
  1160. #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  1161. #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
  1162. #define GL_COMPRESSED_RGB_ARB 0x84ED
  1163. #define GL_COMPRESSED_RGBA_ARB 0x84EE
  1164. #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
  1165. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  1166. #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
  1167. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  1168. #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  1169. #endif
  1170. #ifndef GL_ARB_texture_border_clamp
  1171. #define GL_CLAMP_TO_BORDER_ARB 0x812D
  1172. #endif
  1173. #ifndef GL_ARB_point_parameters
  1174. #define GL_POINT_SIZE_MIN_ARB 0x8126
  1175. #define GL_POINT_SIZE_MAX_ARB 0x8127
  1176. #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
  1177. #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  1178. #endif
  1179. #ifndef GL_ARB_vertex_blend
  1180. #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
  1181. #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
  1182. #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
  1183. #define GL_VERTEX_BLEND_ARB 0x86A7
  1184. #define GL_CURRENT_WEIGHT_ARB 0x86A8
  1185. #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
  1186. #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
  1187. #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
  1188. #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
  1189. #define GL_WEIGHT_ARRAY_ARB 0x86AD
  1190. #define GL_MODELVIEW0_ARB 0x1700
  1191. #define GL_MODELVIEW1_ARB 0x850A
  1192. #define GL_MODELVIEW2_ARB 0x8722
  1193. #define GL_MODELVIEW3_ARB 0x8723
  1194. #define GL_MODELVIEW4_ARB 0x8724
  1195. #define GL_MODELVIEW5_ARB 0x8725
  1196. #define GL_MODELVIEW6_ARB 0x8726
  1197. #define GL_MODELVIEW7_ARB 0x8727
  1198. #define GL_MODELVIEW8_ARB 0x8728
  1199. #define GL_MODELVIEW9_ARB 0x8729
  1200. #define GL_MODELVIEW10_ARB 0x872A
  1201. #define GL_MODELVIEW11_ARB 0x872B
  1202. #define GL_MODELVIEW12_ARB 0x872C
  1203. #define GL_MODELVIEW13_ARB 0x872D
  1204. #define GL_MODELVIEW14_ARB 0x872E
  1205. #define GL_MODELVIEW15_ARB 0x872F
  1206. #define GL_MODELVIEW16_ARB 0x8730
  1207. #define GL_MODELVIEW17_ARB 0x8731
  1208. #define GL_MODELVIEW18_ARB 0x8732
  1209. #define GL_MODELVIEW19_ARB 0x8733
  1210. #define GL_MODELVIEW20_ARB 0x8734
  1211. #define GL_MODELVIEW21_ARB 0x8735
  1212. #define GL_MODELVIEW22_ARB 0x8736
  1213. #define GL_MODELVIEW23_ARB 0x8737
  1214. #define GL_MODELVIEW24_ARB 0x8738
  1215. #define GL_MODELVIEW25_ARB 0x8739
  1216. #define GL_MODELVIEW26_ARB 0x873A
  1217. #define GL_MODELVIEW27_ARB 0x873B
  1218. #define GL_MODELVIEW28_ARB 0x873C
  1219. #define GL_MODELVIEW29_ARB 0x873D
  1220. #define GL_MODELVIEW30_ARB 0x873E
  1221. #define GL_MODELVIEW31_ARB 0x873F
  1222. #endif
  1223. #ifndef GL_ARB_matrix_palette
  1224. #define GL_MATRIX_PALETTE_ARB 0x8840
  1225. #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  1226. #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
  1227. #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
  1228. #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
  1229. #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
  1230. #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
  1231. #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
  1232. #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
  1233. #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  1234. #endif
  1235. #ifndef GL_ARB_texture_env_combine
  1236. #define GL_COMBINE_ARB 0x8570
  1237. #define GL_COMBINE_RGB_ARB 0x8571
  1238. #define GL_COMBINE_ALPHA_ARB 0x8572
  1239. #define GL_SOURCE0_RGB_ARB 0x8580
  1240. #define GL_SOURCE1_RGB_ARB 0x8581
  1241. #define GL_SOURCE2_RGB_ARB 0x8582
  1242. #define GL_SOURCE0_ALPHA_ARB 0x8588
  1243. #define GL_SOURCE1_ALPHA_ARB 0x8589
  1244. #define GL_SOURCE2_ALPHA_ARB 0x858A
  1245. #define GL_OPERAND0_RGB_ARB 0x8590
  1246. #define GL_OPERAND1_RGB_ARB 0x8591
  1247. #define GL_OPERAND2_RGB_ARB 0x8592
  1248. #define GL_OPERAND0_ALPHA_ARB 0x8598
  1249. #define GL_OPERAND1_ALPHA_ARB 0x8599
  1250. #define GL_OPERAND2_ALPHA_ARB 0x859A
  1251. #define GL_RGB_SCALE_ARB 0x8573
  1252. #define GL_ADD_SIGNED_ARB 0x8574
  1253. #define GL_INTERPOLATE_ARB 0x8575
  1254. #define GL_SUBTRACT_ARB 0x84E7
  1255. #define GL_CONSTANT_ARB 0x8576
  1256. #define GL_PRIMARY_COLOR_ARB 0x8577
  1257. #define GL_PREVIOUS_ARB 0x8578
  1258. #endif
  1259. #ifndef GL_ARB_texture_env_crossbar
  1260. #endif
  1261. #ifndef GL_ARB_texture_env_dot3
  1262. #define GL_DOT3_RGB_ARB 0x86AE
  1263. #define GL_DOT3_RGBA_ARB 0x86AF
  1264. #endif
  1265. #ifndef GL_ARB_texture_mirrored_repeat
  1266. #define GL_MIRRORED_REPEAT_ARB 0x8370
  1267. #endif
  1268. #ifndef GL_ARB_depth_texture
  1269. #define GL_DEPTH_COMPONENT16_ARB 0x81A5
  1270. #define GL_DEPTH_COMPONENT24_ARB 0x81A6
  1271. #define GL_DEPTH_COMPONENT32_ARB 0x81A7
  1272. #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
  1273. #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
  1274. #endif
  1275. #ifndef GL_ARB_shadow
  1276. #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
  1277. #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
  1278. #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
  1279. #endif
  1280. #ifndef GL_ARB_shadow_ambient
  1281. #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  1282. #endif
  1283. #ifndef GL_ARB_window_pos
  1284. #endif
  1285. #ifndef GL_ARB_vertex_program
  1286. #define GL_COLOR_SUM_ARB 0x8458
  1287. #define GL_VERTEX_PROGRAM_ARB 0x8620
  1288. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  1289. #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
  1290. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  1291. #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
  1292. #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
  1293. #define GL_PROGRAM_LENGTH_ARB 0x8627
  1294. #define GL_PROGRAM_STRING_ARB 0x8628
  1295. #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  1296. #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
  1297. #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  1298. #define GL_CURRENT_MATRIX_ARB 0x8641
  1299. #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
  1300. #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
  1301. #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  1302. #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
  1303. #define GL_PROGRAM_BINDING_ARB 0x8677
  1304. #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
  1305. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  1306. #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
  1307. #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
  1308. #define GL_PROGRAM_FORMAT_ARB 0x8876
  1309. #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
  1310. #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
  1311. #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  1312. #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  1313. #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
  1314. #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
  1315. #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  1316. #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  1317. #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
  1318. #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
  1319. #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
  1320. #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  1321. #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
  1322. #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
  1323. #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
  1324. #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  1325. #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
  1326. #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  1327. #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  1328. #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  1329. #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  1330. #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  1331. #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  1332. #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
  1333. #define GL_MATRIX0_ARB 0x88C0
  1334. #define GL_MATRIX1_ARB 0x88C1
  1335. #define GL_MATRIX2_ARB 0x88C2
  1336. #define GL_MATRIX3_ARB 0x88C3
  1337. #define GL_MATRIX4_ARB 0x88C4
  1338. #define GL_MATRIX5_ARB 0x88C5
  1339. #define GL_MATRIX6_ARB 0x88C6
  1340. #define GL_MATRIX7_ARB 0x88C7
  1341. #define GL_MATRIX8_ARB 0x88C8
  1342. #define GL_MATRIX9_ARB 0x88C9
  1343. #define GL_MATRIX10_ARB 0x88CA
  1344. #define GL_MATRIX11_ARB 0x88CB
  1345. #define GL_MATRIX12_ARB 0x88CC
  1346. #define GL_MATRIX13_ARB 0x88CD
  1347. #define GL_MATRIX14_ARB 0x88CE
  1348. #define GL_MATRIX15_ARB 0x88CF
  1349. #define GL_MATRIX16_ARB 0x88D0
  1350. #define GL_MATRIX17_ARB 0x88D1
  1351. #define GL_MATRIX18_ARB 0x88D2
  1352. #define GL_MATRIX19_ARB 0x88D3
  1353. #define GL_MATRIX20_ARB 0x88D4
  1354. #define GL_MATRIX21_ARB 0x88D5
  1355. #define GL_MATRIX22_ARB 0x88D6
  1356. #define GL_MATRIX23_ARB 0x88D7
  1357. #define GL_MATRIX24_ARB 0x88D8
  1358. #define GL_MATRIX25_ARB 0x88D9
  1359. #define GL_MATRIX26_ARB 0x88DA
  1360. #define GL_MATRIX27_ARB 0x88DB
  1361. #define GL_MATRIX28_ARB 0x88DC
  1362. #define GL_MATRIX29_ARB 0x88DD
  1363. #define GL_MATRIX30_ARB 0x88DE
  1364. #define GL_MATRIX31_ARB 0x88DF
  1365. #endif
  1366. #ifndef GL_ARB_fragment_program
  1367. #define GL_FRAGMENT_PROGRAM_ARB 0x8804
  1368. #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
  1369. #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
  1370. #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
  1371. #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  1372. #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  1373. #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  1374. #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  1375. #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  1376. #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  1377. #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  1378. #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  1379. #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  1380. #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
  1381. #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
  1382. #endif
  1383. #ifndef GL_ARB_vertex_buffer_object
  1384. #define GL_BUFFER_SIZE_ARB 0x8764
  1385. #define GL_BUFFER_USAGE_ARB 0x8765
  1386. #define GL_ARRAY_BUFFER_ARB 0x8892
  1387. #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
  1388. #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
  1389. #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  1390. #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  1391. #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  1392. #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  1393. #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  1394. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  1395. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  1396. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  1397. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  1398. #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  1399. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  1400. #define GL_READ_ONLY_ARB 0x88B8
  1401. #define GL_WRITE_ONLY_ARB 0x88B9
  1402. #define GL_READ_WRITE_ARB 0x88BA
  1403. #define GL_BUFFER_ACCESS_ARB 0x88BB
  1404. #define GL_BUFFER_MAPPED_ARB 0x88BC
  1405. #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
  1406. #define GL_STREAM_DRAW_ARB 0x88E0
  1407. #define GL_STREAM_READ_ARB 0x88E1
  1408. #define GL_STREAM_COPY_ARB 0x88E2
  1409. #define GL_STATIC_DRAW_ARB 0x88E4
  1410. #define GL_STATIC_READ_ARB 0x88E5
  1411. #define GL_STATIC_COPY_ARB 0x88E6
  1412. #define GL_DYNAMIC_DRAW_ARB 0x88E8
  1413. #define GL_DYNAMIC_READ_ARB 0x88E9
  1414. #define GL_DYNAMIC_COPY_ARB 0x88EA
  1415. #endif
  1416. #ifndef GL_ARB_occlusion_query
  1417. #define GL_QUERY_COUNTER_BITS_ARB 0x8864
  1418. #define GL_CURRENT_QUERY_ARB 0x8865
  1419. #define GL_QUERY_RESULT_ARB 0x8866
  1420. #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
  1421. #define GL_SAMPLES_PASSED_ARB 0x8914
  1422. #endif
  1423. #ifndef GL_ARB_shader_objects
  1424. #define GL_PROGRAM_OBJECT_ARB 0x8B40
  1425. #define GL_SHADER_OBJECT_ARB 0x8B48
  1426. #define GL_OBJECT_TYPE_ARB 0x8B4E
  1427. #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
  1428. #define GL_FLOAT_VEC2_ARB 0x8B50
  1429. #define GL_FLOAT_VEC3_ARB 0x8B51
  1430. #define GL_FLOAT_VEC4_ARB 0x8B52
  1431. #define GL_INT_VEC2_ARB 0x8B53
  1432. #define GL_INT_VEC3_ARB 0x8B54
  1433. #define GL_INT_VEC4_ARB 0x8B55
  1434. #define GL_BOOL_ARB 0x8B56
  1435. #define GL_BOOL_VEC2_ARB 0x8B57
  1436. #define GL_BOOL_VEC3_ARB 0x8B58
  1437. #define GL_BOOL_VEC4_ARB 0x8B59
  1438. #define GL_FLOAT_MAT2_ARB 0x8B5A
  1439. #define GL_FLOAT_MAT3_ARB 0x8B5B
  1440. #define GL_FLOAT_MAT4_ARB 0x8B5C
  1441. #define GL_SAMPLER_1D_ARB 0x8B5D
  1442. #define GL_SAMPLER_2D_ARB 0x8B5E
  1443. #define GL_SAMPLER_3D_ARB 0x8B5F
  1444. #define GL_SAMPLER_CUBE_ARB 0x8B60
  1445. #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
  1446. #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
  1447. #define GL_SAMPLER_2D_RECT_ARB 0x8B63
  1448. #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
  1449. #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
  1450. #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
  1451. #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
  1452. #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
  1453. #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
  1454. #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
  1455. #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
  1456. #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  1457. #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  1458. #endif
  1459. #ifndef GL_ARB_vertex_shader
  1460. #define GL_VERTEX_SHADER_ARB 0x8B31
  1461. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  1462. #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
  1463. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  1464. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  1465. #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
  1466. #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  1467. #endif
  1468. #ifndef GL_ARB_fragment_shader
  1469. #define GL_FRAGMENT_SHADER_ARB 0x8B30
  1470. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  1471. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  1472. #endif
  1473. #ifndef GL_ARB_shading_language_100
  1474. #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
  1475. #endif
  1476. #ifndef GL_ARB_texture_non_power_of_two
  1477. #endif
  1478. #ifndef GL_ARB_point_sprite
  1479. #define GL_POINT_SPRITE_ARB 0x8861
  1480. #define GL_COORD_REPLACE_ARB 0x8862
  1481. #endif
  1482. #ifndef GL_ARB_fragment_program_shadow
  1483. #endif
  1484. #ifndef GL_ARB_draw_buffers
  1485. #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
  1486. #define GL_DRAW_BUFFER0_ARB 0x8825
  1487. #define GL_DRAW_BUFFER1_ARB 0x8826
  1488. #define GL_DRAW_BUFFER2_ARB 0x8827
  1489. #define GL_DRAW_BUFFER3_ARB 0x8828
  1490. #define GL_DRAW_BUFFER4_ARB 0x8829
  1491. #define GL_DRAW_BUFFER5_ARB 0x882A
  1492. #define GL_DRAW_BUFFER6_ARB 0x882B
  1493. #define GL_DRAW_BUFFER7_ARB 0x882C
  1494. #define GL_DRAW_BUFFER8_ARB 0x882D
  1495. #define GL_DRAW_BUFFER9_ARB 0x882E
  1496. #define GL_DRAW_BUFFER10_ARB 0x882F
  1497. #define GL_DRAW_BUFFER11_ARB 0x8830
  1498. #define GL_DRAW_BUFFER12_ARB 0x8831
  1499. #define GL_DRAW_BUFFER13_ARB 0x8832
  1500. #define GL_DRAW_BUFFER14_ARB 0x8833
  1501. #define GL_DRAW_BUFFER15_ARB 0x8834
  1502. #endif
  1503. #ifndef GL_ARB_texture_rectangle
  1504. #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
  1505. #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
  1506. #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
  1507. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  1508. #endif
  1509. #ifndef GL_ARB_color_buffer_float
  1510. #define GL_RGBA_FLOAT_MODE_ARB 0x8820
  1511. #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
  1512. #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
  1513. #define GL_CLAMP_READ_COLOR_ARB 0x891C
  1514. #define GL_FIXED_ONLY_ARB 0x891D
  1515. #endif
  1516. #ifndef GL_ARB_half_float_pixel
  1517. #define GL_HALF_FLOAT_ARB 0x140B
  1518. #endif
  1519. #ifndef GL_ARB_texture_float
  1520. #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
  1521. #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
  1522. #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
  1523. #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
  1524. #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
  1525. #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
  1526. #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
  1527. #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
  1528. #define GL_RGBA32F_ARB 0x8814
  1529. #define GL_RGB32F_ARB 0x8815
  1530. #define GL_ALPHA32F_ARB 0x8816
  1531. #define GL_INTENSITY32F_ARB 0x8817
  1532. #define GL_LUMINANCE32F_ARB 0x8818
  1533. #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
  1534. #define GL_RGBA16F_ARB 0x881A
  1535. #define GL_RGB16F_ARB 0x881B
  1536. #define GL_ALPHA16F_ARB 0x881C
  1537. #define GL_INTENSITY16F_ARB 0x881D
  1538. #define GL_LUMINANCE16F_ARB 0x881E
  1539. #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
  1540. #endif
  1541. #ifndef GL_ARB_pixel_buffer_object
  1542. #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
  1543. #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
  1544. #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
  1545. #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  1546. #endif
  1547. #ifndef GL_ARB_depth_buffer_float
  1548. #define GL_DEPTH_COMPONENT32F 0x8CAC
  1549. #define GL_DEPTH32F_STENCIL8 0x8CAD
  1550. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  1551. #endif
  1552. #ifndef GL_ARB_draw_instanced
  1553. #endif
  1554. #ifndef GL_ARB_framebuffer_object
  1555. #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
  1556. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  1557. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  1558. #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  1559. #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  1560. #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  1561. #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  1562. #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  1563. #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  1564. #define GL_FRAMEBUFFER_DEFAULT 0x8218
  1565. #define GL_FRAMEBUFFER_UNDEFINED 0x8219
  1566. #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
  1567. #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
  1568. #define GL_DEPTH_STENCIL 0x84F9
  1569. #define GL_UNSIGNED_INT_24_8 0x84FA
  1570. #define GL_DEPTH24_STENCIL8 0x88F0
  1571. #define GL_TEXTURE_STENCIL_SIZE 0x88F1
  1572. #define GL_TEXTURE_RED_TYPE 0x8C10
  1573. #define GL_TEXTURE_GREEN_TYPE 0x8C11
  1574. #define GL_TEXTURE_BLUE_TYPE 0x8C12
  1575. #define GL_TEXTURE_ALPHA_TYPE 0x8C13
  1576. #define GL_TEXTURE_DEPTH_TYPE 0x8C16
  1577. #define GL_UNSIGNED_NORMALIZED 0x8C17
  1578. #define GL_FRAMEBUFFER_BINDING 0x8CA6
  1579. #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
  1580. #define GL_RENDERBUFFER_BINDING 0x8CA7
  1581. #define GL_READ_FRAMEBUFFER 0x8CA8
  1582. #define GL_DRAW_FRAMEBUFFER 0x8CA9
  1583. #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
  1584. #define GL_RENDERBUFFER_SAMPLES 0x8CAB
  1585. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  1586. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  1587. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  1588. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  1589. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  1590. #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
  1591. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  1592. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  1593. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  1594. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  1595. #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
  1596. #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
  1597. #define GL_COLOR_ATTACHMENT0 0x8CE0
  1598. #define GL_COLOR_ATTACHMENT1 0x8CE1
  1599. #define GL_COLOR_ATTACHMENT2 0x8CE2
  1600. #define GL_COLOR_ATTACHMENT3 0x8CE3
  1601. #define GL_COLOR_ATTACHMENT4 0x8CE4
  1602. #define GL_COLOR_ATTACHMENT5 0x8CE5
  1603. #define GL_COLOR_ATTACHMENT6 0x8CE6
  1604. #define GL_COLOR_ATTACHMENT7 0x8CE7
  1605. #define GL_COLOR_ATTACHMENT8 0x8CE8
  1606. #define GL_COLOR_ATTACHMENT9 0x8CE9
  1607. #define GL_COLOR_ATTACHMENT10 0x8CEA
  1608. #define GL_COLOR_ATTACHMENT11 0x8CEB
  1609. #define GL_COLOR_ATTACHMENT12 0x8CEC
  1610. #define GL_COLOR_ATTACHMENT13 0x8CED
  1611. #define GL_COLOR_ATTACHMENT14 0x8CEE
  1612. #define GL_COLOR_ATTACHMENT15 0x8CEF
  1613. #define GL_DEPTH_ATTACHMENT 0x8D00
  1614. #define GL_STENCIL_ATTACHMENT 0x8D20
  1615. #define GL_FRAMEBUFFER 0x8D40
  1616. #define GL_RENDERBUFFER 0x8D41
  1617. #define GL_RENDERBUFFER_WIDTH 0x8D42
  1618. #define GL_RENDERBUFFER_HEIGHT 0x8D43
  1619. #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
  1620. #define GL_STENCIL_INDEX1 0x8D46
  1621. #define GL_STENCIL_INDEX4 0x8D47
  1622. #define GL_STENCIL_INDEX8 0x8D48
  1623. #define GL_STENCIL_INDEX16 0x8D49
  1624. #define GL_RENDERBUFFER_RED_SIZE 0x8D50
  1625. #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
  1626. #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
  1627. #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
  1628. #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
  1629. #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
  1630. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1631. #define GL_MAX_SAMPLES 0x8D57
  1632. #endif
  1633. #ifndef GL_ARB_framebuffer_object_DEPRECATED
  1634. #define GL_INDEX 0x8222
  1635. #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
  1636. #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
  1637. #endif
  1638. #ifndef GL_ARB_framebuffer_sRGB
  1639. #define GL_FRAMEBUFFER_SRGB 0x8DB9
  1640. #endif
  1641. #ifndef GL_ARB_geometry_shader4
  1642. #define GL_LINES_ADJACENCY_ARB 0x000A
  1643. #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
  1644. #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
  1645. #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
  1646. #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
  1647. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  1648. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  1649. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  1650. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  1651. #define GL_GEOMETRY_SHADER_ARB 0x8DD9
  1652. #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
  1653. #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
  1654. #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
  1655. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  1656. #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  1657. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  1658. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  1659. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  1660. /* reuse GL_MAX_VARYING_COMPONENTS */
  1661. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
  1662. #endif
  1663. #ifndef GL_ARB_half_float_vertex
  1664. #define GL_HALF_FLOAT 0x140B
  1665. #endif
  1666. #ifndef GL_ARB_instanced_arrays
  1667. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  1668. #endif
  1669. #ifndef GL_ARB_map_buffer_range
  1670. #define GL_MAP_READ_BIT 0x0001
  1671. #define GL_MAP_WRITE_BIT 0x0002
  1672. #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
  1673. #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
  1674. #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
  1675. #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
  1676. #endif
  1677. #ifndef GL_ARB_texture_buffer_object
  1678. #define GL_TEXTURE_BUFFER_ARB 0x8C2A
  1679. #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
  1680. #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
  1681. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  1682. #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
  1683. #endif
  1684. #ifndef GL_ARB_texture_compression_rgtc
  1685. #define GL_COMPRESSED_RED_RGTC1 0x8DBB
  1686. #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
  1687. #define GL_COMPRESSED_RG_RGTC2 0x8DBD
  1688. #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
  1689. #endif
  1690. #ifndef GL_ARB_texture_rg
  1691. #define GL_RG 0x8227
  1692. #define GL_RG_INTEGER 0x8228
  1693. #define GL_R8 0x8229
  1694. #define GL_R16 0x822A
  1695. #define GL_RG8 0x822B
  1696. #define GL_RG16 0x822C
  1697. #define GL_R16F 0x822D
  1698. #define GL_R32F 0x822E
  1699. #define GL_RG16F 0x822F
  1700. #define GL_RG32F 0x8230
  1701. #define GL_R8I 0x8231
  1702. #define GL_R8UI 0x8232
  1703. #define GL_R16I 0x8233
  1704. #define GL_R16UI 0x8234
  1705. #define GL_R32I 0x8235
  1706. #define GL_R32UI 0x8236
  1707. #define GL_RG8I 0x8237
  1708. #define GL_RG8UI 0x8238
  1709. #define GL_RG16I 0x8239
  1710. #define GL_RG16UI 0x823A
  1711. #define GL_RG32I 0x823B
  1712. #define GL_RG32UI 0x823C
  1713. #endif
  1714. #ifndef GL_ARB_vertex_array_object
  1715. #define GL_VERTEX_ARRAY_BINDING 0x85B5
  1716. #endif
  1717. #ifndef GL_ARB_uniform_buffer_object
  1718. #define GL_UNIFORM_BUFFER 0x8A11
  1719. #define GL_UNIFORM_BUFFER_BINDING 0x8A28
  1720. #define GL_UNIFORM_BUFFER_START 0x8A29
  1721. #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
  1722. #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
  1723. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
  1724. #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
  1725. #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
  1726. #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
  1727. #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
  1728. #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  1729. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  1730. #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  1731. #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  1732. #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  1733. #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
  1734. #define GL_UNIFORM_TYPE 0x8A37
  1735. #define GL_UNIFORM_SIZE 0x8A38
  1736. #define GL_UNIFORM_NAME_LENGTH 0x8A39
  1737. #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
  1738. #define GL_UNIFORM_OFFSET 0x8A3B
  1739. #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
  1740. #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
  1741. #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
  1742. #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
  1743. #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
  1744. #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
  1745. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
  1746. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  1747. #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  1748. #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  1749. #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  1750. #define GL_INVALID_INDEX 0xFFFFFFFFu
  1751. #endif
  1752. #ifndef GL_ARB_compatibility
  1753. /* ARB_compatibility just defines tokens from core 3.0 */
  1754. #endif
  1755. #ifndef GL_ARB_copy_buffer
  1756. #define GL_COPY_READ_BUFFER 0x8F36
  1757. #define GL_COPY_WRITE_BUFFER 0x8F37
  1758. #endif
  1759. #ifndef GL_ARB_shader_texture_lod
  1760. #endif
  1761. #ifndef GL_ARB_depth_clamp
  1762. #define GL_DEPTH_CLAMP 0x864F
  1763. #endif
  1764. #ifndef GL_ARB_draw_elements_base_vertex
  1765. #endif
  1766. #ifndef GL_ARB_fragment_coord_conventions
  1767. #endif
  1768. #ifndef GL_ARB_provoking_vertex
  1769. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  1770. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  1771. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  1772. #define GL_PROVOKING_VERTEX 0x8E4F
  1773. #endif
  1774. #ifndef GL_ARB_seamless_cube_map
  1775. #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
  1776. #endif
  1777. #ifndef GL_ARB_sync
  1778. #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
  1779. #define GL_OBJECT_TYPE 0x9112
  1780. #define GL_SYNC_CONDITION 0x9113
  1781. #define GL_SYNC_STATUS 0x9114
  1782. #define GL_SYNC_FLAGS 0x9115
  1783. #define GL_SYNC_FENCE 0x9116
  1784. #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
  1785. #define GL_UNSIGNALED 0x9118
  1786. #define GL_SIGNALED 0x9119
  1787. #define GL_ALREADY_SIGNALED 0x911A
  1788. #define GL_TIMEOUT_EXPIRED 0x911B
  1789. #define GL_CONDITION_SATISFIED 0x911C
  1790. #define GL_WAIT_FAILED 0x911D
  1791. #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
  1792. #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
  1793. #endif
  1794. #ifndef GL_ARB_texture_multisample
  1795. #define GL_SAMPLE_POSITION 0x8E50
  1796. #define GL_SAMPLE_MASK 0x8E51
  1797. #define GL_SAMPLE_MASK_VALUE 0x8E52
  1798. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  1799. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  1800. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
  1801. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  1802. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  1803. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
  1804. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
  1805. #define GL_TEXTURE_SAMPLES 0x9106
  1806. #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
  1807. #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
  1808. #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
  1809. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
  1810. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
  1811. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
  1812. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  1813. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  1814. #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
  1815. #define GL_MAX_INTEGER_SAMPLES 0x9110
  1816. #endif
  1817. #ifndef GL_ARB_vertex_array_bgra
  1818. /* reuse GL_BGRA */
  1819. #endif
  1820. #ifndef GL_ARB_draw_buffers_blend
  1821. #endif
  1822. #ifndef GL_ARB_sample_shading
  1823. #define GL_SAMPLE_SHADING_ARB 0x8C36
  1824. #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
  1825. #endif
  1826. #ifndef GL_ARB_texture_cube_map_array
  1827. #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
  1828. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  1829. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  1830. #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
  1831. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  1832. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  1833. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  1834. #endif
  1835. #ifndef GL_ARB_texture_gather
  1836. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  1837. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  1838. #endif
  1839. #ifndef GL_ARB_texture_query_lod
  1840. #endif
  1841. #ifndef GL_ARB_shading_language_include
  1842. #define GL_SHADER_INCLUDE_ARB 0x8DAE
  1843. #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
  1844. #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
  1845. #endif
  1846. #ifndef GL_ARB_texture_compression_bptc
  1847. #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  1848. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  1849. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  1850. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  1851. #endif
  1852. #ifndef GL_ARB_blend_func_extended
  1853. #define GL_SRC1_COLOR 0x88F9
  1854. /* reuse GL_SRC1_ALPHA */
  1855. #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
  1856. #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
  1857. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
  1858. #endif
  1859. #ifndef GL_ARB_explicit_attrib_location
  1860. #endif
  1861. #ifndef GL_ARB_occlusion_query2
  1862. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  1863. #endif
  1864. #ifndef GL_ARB_sampler_objects
  1865. #define GL_SAMPLER_BINDING 0x8919
  1866. #endif
  1867. #ifndef GL_ARB_shader_bit_encoding
  1868. #endif
  1869. #ifndef GL_ARB_texture_rgb10_a2ui
  1870. #define GL_RGB10_A2UI 0x906F
  1871. #endif
  1872. #ifndef GL_ARB_texture_swizzle
  1873. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  1874. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  1875. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  1876. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  1877. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  1878. #endif
  1879. #ifndef GL_ARB_timer_query
  1880. #define GL_TIME_ELAPSED 0x88BF
  1881. #define GL_TIMESTAMP 0x8E28
  1882. #endif
  1883. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  1884. /* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
  1885. #define GL_INT_2_10_10_10_REV 0x8D9F
  1886. #endif
  1887. #ifndef GL_ARB_draw_indirect
  1888. #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
  1889. #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
  1890. #endif
  1891. #ifndef GL_ARB_gpu_shader5
  1892. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  1893. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  1894. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  1895. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  1896. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  1897. /* reuse GL_MAX_VERTEX_STREAMS */
  1898. #endif
  1899. #ifndef GL_ARB_gpu_shader_fp64
  1900. /* reuse GL_DOUBLE */
  1901. #define GL_DOUBLE_VEC2 0x8FFC
  1902. #define GL_DOUBLE_VEC3 0x8FFD
  1903. #define GL_DOUBLE_VEC4 0x8FFE
  1904. #define GL_DOUBLE_MAT2 0x8F46
  1905. #define GL_DOUBLE_MAT3 0x8F47
  1906. #define GL_DOUBLE_MAT4 0x8F48
  1907. #define GL_DOUBLE_MAT2x3 0x8F49
  1908. #define GL_DOUBLE_MAT2x4 0x8F4A
  1909. #define GL_DOUBLE_MAT3x2 0x8F4B
  1910. #define GL_DOUBLE_MAT3x4 0x8F4C
  1911. #define GL_DOUBLE_MAT4x2 0x8F4D
  1912. #define GL_DOUBLE_MAT4x3 0x8F4E
  1913. #endif
  1914. #ifndef GL_ARB_shader_subroutine
  1915. #define GL_ACTIVE_SUBROUTINES 0x8DE5
  1916. #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
  1917. #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  1918. #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
  1919. #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
  1920. #define GL_MAX_SUBROUTINES 0x8DE7
  1921. #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  1922. #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
  1923. #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
  1924. /* reuse GL_UNIFORM_SIZE */
  1925. /* reuse GL_UNIFORM_NAME_LENGTH */
  1926. #endif
  1927. #ifndef GL_ARB_tessellation_shader
  1928. #define GL_PATCHES 0x000E
  1929. #define GL_PATCH_VERTICES 0x8E72
  1930. #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
  1931. #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
  1932. #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
  1933. #define GL_TESS_GEN_MODE 0x8E76
  1934. #define GL_TESS_GEN_SPACING 0x8E77
  1935. #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
  1936. #define GL_TESS_GEN_POINT_MODE 0x8E79
  1937. /* reuse GL_TRIANGLES */
  1938. /* reuse GL_QUADS */
  1939. #define GL_ISOLINES 0x8E7A
  1940. /* reuse GL_EQUAL */
  1941. #define GL_FRACTIONAL_ODD 0x8E7B
  1942. #define GL_FRACTIONAL_EVEN 0x8E7C
  1943. /* reuse GL_CCW */
  1944. /* reuse GL_CW */
  1945. #define GL_MAX_PATCH_VERTICES 0x8E7D
  1946. #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
  1947. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  1948. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
  1949. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
  1950. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
  1951. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
  1952. #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
  1953. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
  1954. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
  1955. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
  1956. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
  1957. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
  1958. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
  1959. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
  1960. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
  1961. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
  1962. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  1963. #define GL_TESS_EVALUATION_SHADER 0x8E87
  1964. #define GL_TESS_CONTROL_SHADER 0x8E88
  1965. #endif
  1966. #ifndef GL_ARB_texture_buffer_object_rgb32
  1967. /* reuse GL_RGB32F */
  1968. /* reuse GL_RGB32UI */
  1969. /* reuse GL_RGB32I */
  1970. #endif
  1971. #ifndef GL_ARB_transform_feedback2
  1972. #define GL_TRANSFORM_FEEDBACK 0x8E22
  1973. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
  1974. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
  1975. #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
  1976. #endif
  1977. #ifndef GL_ARB_transform_feedback3
  1978. #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  1979. #define GL_MAX_VERTEX_STREAMS 0x8E71
  1980. #endif
  1981. #ifndef GL_ARB_ES2_compatibility
  1982. #define GL_FIXED 0x140C
  1983. #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  1984. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  1985. #define GL_LOW_FLOAT 0x8DF0
  1986. #define GL_MEDIUM_FLOAT 0x8DF1
  1987. #define GL_HIGH_FLOAT 0x8DF2
  1988. #define GL_LOW_INT 0x8DF3
  1989. #define GL_MEDIUM_INT 0x8DF4
  1990. #define GL_HIGH_INT 0x8DF5
  1991. #define GL_SHADER_COMPILER 0x8DFA
  1992. #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
  1993. #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
  1994. #define GL_MAX_VARYING_VECTORS 0x8DFC
  1995. #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
  1996. #endif
  1997. #ifndef GL_ARB_get_program_binary
  1998. #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  1999. #define GL_PROGRAM_BINARY_LENGTH 0x8741
  2000. #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
  2001. #define GL_PROGRAM_BINARY_FORMATS 0x87FF
  2002. #endif
  2003. #ifndef GL_ARB_separate_shader_objects
  2004. #define GL_VERTEX_SHADER_BIT 0x00000001
  2005. #define GL_FRAGMENT_SHADER_BIT 0x00000002
  2006. #define GL_GEOMETRY_SHADER_BIT 0x00000004
  2007. #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
  2008. #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
  2009. #define GL_ALL_SHADER_BITS 0xFFFFFFFF
  2010. #define GL_PROGRAM_SEPARABLE 0x8258
  2011. #define GL_ACTIVE_PROGRAM 0x8259
  2012. #define GL_PROGRAM_PIPELINE_BINDING 0x825A
  2013. #endif
  2014. #ifndef GL_ARB_shader_precision
  2015. #endif
  2016. #ifndef GL_ARB_vertex_attrib_64bit
  2017. /* reuse GL_RGB32I */
  2018. /* reuse GL_DOUBLE_VEC2 */
  2019. /* reuse GL_DOUBLE_VEC3 */
  2020. /* reuse GL_DOUBLE_VEC4 */
  2021. /* reuse GL_DOUBLE_MAT2 */
  2022. /* reuse GL_DOUBLE_MAT3 */
  2023. /* reuse GL_DOUBLE_MAT4 */
  2024. /* reuse GL_DOUBLE_MAT2x3 */
  2025. /* reuse GL_DOUBLE_MAT2x4 */
  2026. /* reuse GL_DOUBLE_MAT3x2 */
  2027. /* reuse GL_DOUBLE_MAT3x4 */
  2028. /* reuse GL_DOUBLE_MAT4x2 */
  2029. /* reuse GL_DOUBLE_MAT4x3 */
  2030. #endif
  2031. #ifndef GL_ARB_viewport_array
  2032. /* reuse GL_SCISSOR_BOX */
  2033. /* reuse GL_VIEWPORT */
  2034. /* reuse GL_DEPTH_RANGE */
  2035. /* reuse GL_SCISSOR_TEST */
  2036. #define GL_MAX_VIEWPORTS 0x825B
  2037. #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
  2038. #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
  2039. #define GL_LAYER_PROVOKING_VERTEX 0x825E
  2040. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  2041. #define GL_UNDEFINED_VERTEX 0x8260
  2042. /* reuse GL_FIRST_VERTEX_CONVENTION */
  2043. /* reuse GL_LAST_VERTEX_CONVENTION */
  2044. /* reuse GL_PROVOKING_VERTEX */
  2045. #endif
  2046. #ifndef GL_ARB_cl_event
  2047. #define GL_SYNC_CL_EVENT_ARB 0x8240
  2048. #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
  2049. #endif
  2050. #ifndef GL_ARB_debug_output
  2051. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
  2052. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  2053. #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
  2054. #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
  2055. #define GL_DEBUG_SOURCE_API_ARB 0x8246
  2056. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
  2057. #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
  2058. #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
  2059. #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
  2060. #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
  2061. #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
  2062. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
  2063. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
  2064. #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
  2065. #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
  2066. #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
  2067. #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
  2068. #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
  2069. #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
  2070. #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
  2071. #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
  2072. #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
  2073. #endif
  2074. #ifndef GL_ARB_robustness
  2075. /* reuse GL_NO_ERROR */
  2076. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  2077. #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
  2078. #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
  2079. #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
  2080. #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
  2081. #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  2082. #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
  2083. #endif
  2084. #ifndef GL_ARB_shader_stencil_export
  2085. #endif
  2086. #ifndef GL_EXT_abgr
  2087. #define GL_ABGR_EXT 0x8000
  2088. #endif
  2089. #ifndef GL_EXT_blend_color
  2090. #define GL_CONSTANT_COLOR_EXT 0x8001
  2091. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
  2092. #define GL_CONSTANT_ALPHA_EXT 0x8003
  2093. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
  2094. #define GL_BLEND_COLOR_EXT 0x8005
  2095. #endif
  2096. #ifndef GL_EXT_polygon_offset
  2097. #define GL_POLYGON_OFFSET_EXT 0x8037
  2098. #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
  2099. #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
  2100. #endif
  2101. #ifndef GL_EXT_texture
  2102. #define GL_ALPHA4_EXT 0x803B
  2103. #define GL_ALPHA8_EXT 0x803C
  2104. #define GL_ALPHA12_EXT 0x803D
  2105. #define GL_ALPHA16_EXT 0x803E
  2106. #define GL_LUMINANCE4_EXT 0x803F
  2107. #define GL_LUMINANCE8_EXT 0x8040
  2108. #define GL_LUMINANCE12_EXT 0x8041
  2109. #define GL_LUMINANCE16_EXT 0x8042
  2110. #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
  2111. #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
  2112. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  2113. #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
  2114. #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
  2115. #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
  2116. #define GL_INTENSITY_EXT 0x8049
  2117. #define GL_INTENSITY4_EXT 0x804A
  2118. #define GL_INTENSITY8_EXT 0x804B
  2119. #define GL_INTENSITY12_EXT 0x804C
  2120. #define GL_INTENSITY16_EXT 0x804D
  2121. #define GL_RGB2_EXT 0x804E
  2122. #define GL_RGB4_EXT 0x804F
  2123. #define GL_RGB5_EXT 0x8050
  2124. #define GL_RGB8_EXT 0x8051
  2125. #define GL_RGB10_EXT 0x8052
  2126. #define GL_RGB12_EXT 0x8053
  2127. #define GL_RGB16_EXT 0x8054
  2128. #define GL_RGBA2_EXT 0x8055
  2129. #define GL_RGBA4_EXT 0x8056
  2130. #define GL_RGB5_A1_EXT 0x8057
  2131. #define GL_RGBA8_EXT 0x8058
  2132. #define GL_RGB10_A2_EXT 0x8059
  2133. #define GL_RGBA12_EXT 0x805A
  2134. #define GL_RGBA16_EXT 0x805B
  2135. #define GL_TEXTURE_RED_SIZE_EXT 0x805C
  2136. #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
  2137. #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
  2138. #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
  2139. #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
  2140. #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
  2141. #define GL_REPLACE_EXT 0x8062
  2142. #define GL_PROXY_TEXTURE_1D_EXT 0x8063
  2143. #define GL_PROXY_TEXTURE_2D_EXT 0x8064
  2144. #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
  2145. #endif
  2146. #ifndef GL_EXT_texture3D
  2147. #define GL_PACK_SKIP_IMAGES_EXT 0x806B
  2148. #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
  2149. #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
  2150. #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
  2151. #define GL_TEXTURE_3D_EXT 0x806F
  2152. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  2153. #define GL_TEXTURE_DEPTH_EXT 0x8071
  2154. #define GL_TEXTURE_WRAP_R_EXT 0x8072
  2155. #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
  2156. #endif
  2157. #ifndef GL_SGIS_texture_filter4
  2158. #define GL_FILTER4_SGIS 0x8146
  2159. #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
  2160. #endif
  2161. #ifndef GL_EXT_subtexture
  2162. #endif
  2163. #ifndef GL_EXT_copy_texture
  2164. #endif
  2165. #ifndef GL_EXT_histogram
  2166. #define GL_HISTOGRAM_EXT 0x8024
  2167. #define GL_PROXY_HISTOGRAM_EXT 0x8025
  2168. #define GL_HISTOGRAM_WIDTH_EXT 0x8026
  2169. #define GL_HISTOGRAM_FORMAT_EXT 0x8027
  2170. #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
  2171. #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
  2172. #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
  2173. #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
  2174. #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
  2175. #define GL_HISTOGRAM_SINK_EXT 0x802D
  2176. #define GL_MINMAX_EXT 0x802E
  2177. #define GL_MINMAX_FORMAT_EXT 0x802F
  2178. #define GL_MINMAX_SINK_EXT 0x8030
  2179. #define GL_TABLE_TOO_LARGE_EXT 0x8031
  2180. #endif
  2181. #ifndef GL_EXT_convolution
  2182. #define GL_CONVOLUTION_1D_EXT 0x8010
  2183. #define GL_CONVOLUTION_2D_EXT 0x8011
  2184. #define GL_SEPARABLE_2D_EXT 0x8012
  2185. #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
  2186. #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
  2187. #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
  2188. #define GL_REDUCE_EXT 0x8016
  2189. #define GL_CONVOLUTION_FORMAT_EXT 0x8017
  2190. #define GL_CONVOLUTION_WIDTH_EXT 0x8018
  2191. #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
  2192. #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
  2193. #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
  2194. #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  2195. #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  2196. #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  2197. #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  2198. #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
  2199. #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  2200. #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  2201. #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  2202. #endif
  2203. #ifndef GL_SGI_color_matrix
  2204. #define GL_COLOR_MATRIX_SGI 0x80B1
  2205. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
  2206. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  2207. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  2208. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  2209. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  2210. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  2211. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  2212. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  2213. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  2214. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  2215. #endif
  2216. #ifndef GL_SGI_color_table
  2217. #define GL_COLOR_TABLE_SGI 0x80D0
  2218. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  2219. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  2220. #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
  2221. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  2222. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  2223. #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
  2224. #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
  2225. #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
  2226. #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
  2227. #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
  2228. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
  2229. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
  2230. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
  2231. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  2232. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  2233. #endif
  2234. #ifndef GL_SGIS_pixel_texture
  2235. #define GL_PIXEL_TEXTURE_SGIS 0x8353
  2236. #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  2237. #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  2238. #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
  2239. #endif
  2240. #ifndef GL_SGIX_pixel_texture
  2241. #define GL_PIXEL_TEX_GEN_SGIX 0x8139
  2242. #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
  2243. #endif
  2244. #ifndef GL_SGIS_texture4D
  2245. #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
  2246. #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
  2247. #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
  2248. #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
  2249. #define GL_TEXTURE_4D_SGIS 0x8134
  2250. #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
  2251. #define GL_TEXTURE_4DSIZE_SGIS 0x8136
  2252. #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
  2253. #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
  2254. #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
  2255. #endif
  2256. #ifndef GL_SGI_texture_color_table
  2257. #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
  2258. #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
  2259. #endif
  2260. #ifndef GL_EXT_cmyka
  2261. #define GL_CMYK_EXT 0x800C
  2262. #define GL_CMYKA_EXT 0x800D
  2263. #define GL_PACK_CMYK_HINT_EXT 0x800E
  2264. #define GL_UNPACK_CMYK_HINT_EXT 0x800F
  2265. #endif
  2266. #ifndef GL_EXT_texture_object
  2267. #define GL_TEXTURE_PRIORITY_EXT 0x8066
  2268. #define GL_TEXTURE_RESIDENT_EXT 0x8067
  2269. #define GL_TEXTURE_1D_BINDING_EXT 0x8068
  2270. #define GL_TEXTURE_2D_BINDING_EXT 0x8069
  2271. #define GL_TEXTURE_3D_BINDING_EXT 0x806A
  2272. #endif
  2273. #ifndef GL_SGIS_detail_texture
  2274. #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
  2275. #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  2276. #define GL_LINEAR_DETAIL_SGIS 0x8097
  2277. #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
  2278. #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
  2279. #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
  2280. #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
  2281. #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  2282. #endif
  2283. #ifndef GL_SGIS_sharpen_texture
  2284. #define GL_LINEAR_SHARPEN_SGIS 0x80AD
  2285. #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
  2286. #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
  2287. #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  2288. #endif
  2289. #ifndef GL_EXT_packed_pixels
  2290. #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
  2291. #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
  2292. #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
  2293. #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
  2294. #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
  2295. #endif
  2296. #ifndef GL_SGIS_texture_lod
  2297. #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
  2298. #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
  2299. #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
  2300. #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
  2301. #endif
  2302. #ifndef GL_SGIS_multisample
  2303. #define GL_MULTISAMPLE_SGIS 0x809D
  2304. #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
  2305. #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
  2306. #define GL_SAMPLE_MASK_SGIS 0x80A0
  2307. #define GL_1PASS_SGIS 0x80A1
  2308. #define GL_2PASS_0_SGIS 0x80A2
  2309. #define GL_2PASS_1_SGIS 0x80A3
  2310. #define GL_4PASS_0_SGIS 0x80A4
  2311. #define GL_4PASS_1_SGIS 0x80A5
  2312. #define GL_4PASS_2_SGIS 0x80A6
  2313. #define GL_4PASS_3_SGIS 0x80A7
  2314. #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
  2315. #define GL_SAMPLES_SGIS 0x80A9
  2316. #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
  2317. #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
  2318. #define GL_SAMPLE_PATTERN_SGIS 0x80AC
  2319. #endif
  2320. #ifndef GL_EXT_rescale_normal
  2321. #define GL_RESCALE_NORMAL_EXT 0x803A
  2322. #endif
  2323. #ifndef GL_EXT_vertex_array
  2324. #define GL_VERTEX_ARRAY_EXT 0x8074
  2325. #define GL_NORMAL_ARRAY_EXT 0x8075
  2326. #define GL_COLOR_ARRAY_EXT 0x8076
  2327. #define GL_INDEX_ARRAY_EXT 0x8077
  2328. #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
  2329. #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
  2330. #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
  2331. #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
  2332. #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
  2333. #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
  2334. #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
  2335. #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
  2336. #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
  2337. #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
  2338. #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
  2339. #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
  2340. #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
  2341. #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
  2342. #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
  2343. #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
  2344. #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
  2345. #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
  2346. #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  2347. #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
  2348. #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
  2349. #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
  2350. #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
  2351. #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
  2352. #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
  2353. #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
  2354. #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  2355. #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
  2356. #endif
  2357. #ifndef GL_EXT_misc_attribute
  2358. #endif
  2359. #ifndef GL_SGIS_generate_mipmap
  2360. #define GL_GENERATE_MIPMAP_SGIS 0x8191
  2361. #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
  2362. #endif
  2363. #ifndef GL_SGIX_clipmap
  2364. #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
  2365. #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
  2366. #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
  2367. #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
  2368. #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  2369. #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  2370. #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
  2371. #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
  2372. #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  2373. #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
  2374. #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
  2375. #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
  2376. #endif
  2377. #ifndef GL_SGIX_shadow
  2378. #define GL_TEXTURE_COMPARE_SGIX 0x819A
  2379. #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
  2380. #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
  2381. #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
  2382. #endif
  2383. #ifndef GL_SGIS_texture_edge_clamp
  2384. #define GL_CLAMP_TO_EDGE_SGIS 0x812F
  2385. #endif
  2386. #ifndef GL_SGIS_texture_border_clamp
  2387. #define GL_CLAMP_TO_BORDER_SGIS 0x812D
  2388. #endif
  2389. #ifndef GL_EXT_blend_minmax
  2390. #define GL_FUNC_ADD_EXT 0x8006
  2391. #define GL_MIN_EXT 0x8007
  2392. #define GL_MAX_EXT 0x8008
  2393. #define GL_BLEND_EQUATION_EXT 0x8009
  2394. #endif
  2395. #ifndef GL_EXT_blend_subtract
  2396. #define GL_FUNC_SUBTRACT_EXT 0x800A
  2397. #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
  2398. #endif
  2399. #ifndef GL_EXT_blend_logic_op
  2400. #endif
  2401. #ifndef GL_SGIX_interlace
  2402. #define GL_INTERLACE_SGIX 0x8094
  2403. #endif
  2404. #ifndef GL_SGIX_pixel_tiles
  2405. #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  2406. #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  2407. #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
  2408. #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
  2409. #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
  2410. #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
  2411. #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
  2412. #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
  2413. #endif
  2414. #ifndef GL_SGIS_texture_select
  2415. #define GL_DUAL_ALPHA4_SGIS 0x8110
  2416. #define GL_DUAL_ALPHA8_SGIS 0x8111
  2417. #define GL_DUAL_ALPHA12_SGIS 0x8112
  2418. #define GL_DUAL_ALPHA16_SGIS 0x8113
  2419. #define GL_DUAL_LUMINANCE4_SGIS 0x8114
  2420. #define GL_DUAL_LUMINANCE8_SGIS 0x8115
  2421. #define GL_DUAL_LUMINANCE12_SGIS 0x8116
  2422. #define GL_DUAL_LUMINANCE16_SGIS 0x8117
  2423. #define GL_DUAL_INTENSITY4_SGIS 0x8118
  2424. #define GL_DUAL_INTENSITY8_SGIS 0x8119
  2425. #define GL_DUAL_INTENSITY12_SGIS 0x811A
  2426. #define GL_DUAL_INTENSITY16_SGIS 0x811B
  2427. #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
  2428. #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
  2429. #define GL_QUAD_ALPHA4_SGIS 0x811E
  2430. #define GL_QUAD_ALPHA8_SGIS 0x811F
  2431. #define GL_QUAD_LUMINANCE4_SGIS 0x8120
  2432. #define GL_QUAD_LUMINANCE8_SGIS 0x8121
  2433. #define GL_QUAD_INTENSITY4_SGIS 0x8122
  2434. #define GL_QUAD_INTENSITY8_SGIS 0x8123
  2435. #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
  2436. #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
  2437. #endif
  2438. #ifndef GL_SGIX_sprite
  2439. #define GL_SPRITE_SGIX 0x8148
  2440. #define GL_SPRITE_MODE_SGIX 0x8149
  2441. #define GL_SPRITE_AXIS_SGIX 0x814A
  2442. #define GL_SPRITE_TRANSLATION_SGIX 0x814B
  2443. #define GL_SPRITE_AXIAL_SGIX 0x814C
  2444. #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
  2445. #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
  2446. #endif
  2447. #ifndef GL_SGIX_texture_multi_buffer
  2448. #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  2449. #endif
  2450. #ifndef GL_EXT_point_parameters
  2451. #define GL_POINT_SIZE_MIN_EXT 0x8126
  2452. #define GL_POINT_SIZE_MAX_EXT 0x8127
  2453. #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
  2454. #define GL_DISTANCE_ATTENUATION_EXT 0x8129
  2455. #endif
  2456. #ifndef GL_SGIS_point_parameters
  2457. #define GL_POINT_SIZE_MIN_SGIS 0x8126
  2458. #define GL_POINT_SIZE_MAX_SGIS 0x8127
  2459. #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  2460. #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
  2461. #endif
  2462. #ifndef GL_SGIX_instruments
  2463. #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  2464. #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
  2465. #endif
  2466. #ifndef GL_SGIX_texture_scale_bias
  2467. #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
  2468. #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  2469. #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  2470. #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  2471. #endif
  2472. #ifndef GL_SGIX_framezoom
  2473. #define GL_FRAMEZOOM_SGIX 0x818B
  2474. #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
  2475. #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
  2476. #endif
  2477. #ifndef GL_SGIX_tag_sample_buffer
  2478. #endif
  2479. #ifndef GL_FfdMaskSGIX
  2480. #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
  2481. #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
  2482. #endif
  2483. #ifndef GL_SGIX_polynomial_ffd
  2484. #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
  2485. #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
  2486. #define GL_DEFORMATIONS_MASK_SGIX 0x8196
  2487. #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
  2488. #endif
  2489. #ifndef GL_SGIX_reference_plane
  2490. #define GL_REFERENCE_PLANE_SGIX 0x817D
  2491. #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
  2492. #endif
  2493. #ifndef GL_SGIX_flush_raster
  2494. #endif
  2495. #ifndef GL_SGIX_depth_texture
  2496. #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
  2497. #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
  2498. #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
  2499. #endif
  2500. #ifndef GL_SGIS_fog_function
  2501. #define GL_FOG_FUNC_SGIS 0x812A
  2502. #define GL_FOG_FUNC_POINTS_SGIS 0x812B
  2503. #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
  2504. #endif
  2505. #ifndef GL_SGIX_fog_offset
  2506. #define GL_FOG_OFFSET_SGIX 0x8198
  2507. #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
  2508. #endif
  2509. #ifndef GL_HP_image_transform
  2510. #define GL_IMAGE_SCALE_X_HP 0x8155
  2511. #define GL_IMAGE_SCALE_Y_HP 0x8156
  2512. #define GL_IMAGE_TRANSLATE_X_HP 0x8157
  2513. #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
  2514. #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
  2515. #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
  2516. #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
  2517. #define GL_IMAGE_MAG_FILTER_HP 0x815C
  2518. #define GL_IMAGE_MIN_FILTER_HP 0x815D
  2519. #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
  2520. #define GL_CUBIC_HP 0x815F
  2521. #define GL_AVERAGE_HP 0x8160
  2522. #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
  2523. #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  2524. #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  2525. #endif
  2526. #ifndef GL_HP_convolution_border_modes
  2527. #define GL_IGNORE_BORDER_HP 0x8150
  2528. #define GL_CONSTANT_BORDER_HP 0x8151
  2529. #define GL_REPLICATE_BORDER_HP 0x8153
  2530. #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
  2531. #endif
  2532. #ifndef GL_INGR_palette_buffer
  2533. #endif
  2534. #ifndef GL_SGIX_texture_add_env
  2535. #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
  2536. #endif
  2537. #ifndef GL_EXT_color_subtable
  2538. #endif
  2539. #ifndef GL_PGI_vertex_hints
  2540. #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
  2541. #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
  2542. #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
  2543. #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
  2544. #define GL_COLOR3_BIT_PGI 0x00010000
  2545. #define GL_COLOR4_BIT_PGI 0x00020000
  2546. #define GL_EDGEFLAG_BIT_PGI 0x00040000
  2547. #define GL_INDEX_BIT_PGI 0x00080000
  2548. #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
  2549. #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  2550. #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
  2551. #define GL_MAT_EMISSION_BIT_PGI 0x00800000
  2552. #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
  2553. #define GL_MAT_SHININESS_BIT_PGI 0x02000000
  2554. #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
  2555. #define GL_NORMAL_BIT_PGI 0x08000000
  2556. #define GL_TEXCOORD1_BIT_PGI 0x10000000
  2557. #define GL_TEXCOORD2_BIT_PGI 0x20000000
  2558. #define GL_TEXCOORD3_BIT_PGI 0x40000000
  2559. #define GL_TEXCOORD4_BIT_PGI 0x80000000
  2560. #define GL_VERTEX23_BIT_PGI 0x00000004
  2561. #define GL_VERTEX4_BIT_PGI 0x00000008
  2562. #endif
  2563. #ifndef GL_PGI_misc_hints
  2564. #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
  2565. #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
  2566. #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
  2567. #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
  2568. #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  2569. #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
  2570. #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
  2571. #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
  2572. #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
  2573. #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
  2574. #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
  2575. #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
  2576. #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
  2577. #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
  2578. #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
  2579. #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
  2580. #define GL_CLIP_NEAR_HINT_PGI 0x1A220
  2581. #define GL_CLIP_FAR_HINT_PGI 0x1A221
  2582. #define GL_WIDE_LINE_HINT_PGI 0x1A222
  2583. #define GL_BACK_NORMALS_HINT_PGI 0x1A223
  2584. #endif
  2585. #ifndef GL_EXT_paletted_texture
  2586. #define GL_COLOR_INDEX1_EXT 0x80E2
  2587. #define GL_COLOR_INDEX2_EXT 0x80E3
  2588. #define GL_COLOR_INDEX4_EXT 0x80E4
  2589. #define GL_COLOR_INDEX8_EXT 0x80E5
  2590. #define GL_COLOR_INDEX12_EXT 0x80E6
  2591. #define GL_COLOR_INDEX16_EXT 0x80E7
  2592. #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
  2593. #endif
  2594. #ifndef GL_EXT_clip_volume_hint
  2595. #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
  2596. #endif
  2597. #ifndef GL_SGIX_list_priority
  2598. #define GL_LIST_PRIORITY_SGIX 0x8182
  2599. #endif
  2600. #ifndef GL_SGIX_ir_instrument1
  2601. #define GL_IR_INSTRUMENT1_SGIX 0x817F
  2602. #endif
  2603. #ifndef GL_SGIX_calligraphic_fragment
  2604. #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
  2605. #endif
  2606. #ifndef GL_SGIX_texture_lod_bias
  2607. #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
  2608. #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
  2609. #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
  2610. #endif
  2611. #ifndef GL_SGIX_shadow_ambient
  2612. #define GL_SHADOW_AMBIENT_SGIX 0x80BF
  2613. #endif
  2614. #ifndef GL_EXT_index_texture
  2615. #endif
  2616. #ifndef GL_EXT_index_material
  2617. #define GL_INDEX_MATERIAL_EXT 0x81B8
  2618. #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
  2619. #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
  2620. #endif
  2621. #ifndef GL_EXT_index_func
  2622. #define GL_INDEX_TEST_EXT 0x81B5
  2623. #define GL_INDEX_TEST_FUNC_EXT 0x81B6
  2624. #define GL_INDEX_TEST_REF_EXT 0x81B7
  2625. #endif
  2626. #ifndef GL_EXT_index_array_formats
  2627. #define GL_IUI_V2F_EXT 0x81AD
  2628. #define GL_IUI_V3F_EXT 0x81AE
  2629. #define GL_IUI_N3F_V2F_EXT 0x81AF
  2630. #define GL_IUI_N3F_V3F_EXT 0x81B0
  2631. #define GL_T2F_IUI_V2F_EXT 0x81B1
  2632. #define GL_T2F_IUI_V3F_EXT 0x81B2
  2633. #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
  2634. #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
  2635. #endif
  2636. #ifndef GL_EXT_compiled_vertex_array
  2637. #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
  2638. #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
  2639. #endif
  2640. #ifndef GL_EXT_cull_vertex
  2641. #define GL_CULL_VERTEX_EXT 0x81AA
  2642. #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
  2643. #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  2644. #endif
  2645. #ifndef GL_SGIX_ycrcb
  2646. #define GL_YCRCB_422_SGIX 0x81BB
  2647. #define GL_YCRCB_444_SGIX 0x81BC
  2648. #endif
  2649. #ifndef GL_SGIX_fragment_lighting
  2650. #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
  2651. #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
  2652. #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  2653. #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  2654. #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
  2655. #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
  2656. #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
  2657. #define GL_LIGHT_ENV_MODE_SGIX 0x8407
  2658. #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  2659. #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  2660. #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  2661. #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  2662. #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
  2663. #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
  2664. #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
  2665. #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
  2666. #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
  2667. #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
  2668. #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
  2669. #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
  2670. #endif
  2671. #ifndef GL_IBM_rasterpos_clip
  2672. #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
  2673. #endif
  2674. #ifndef GL_HP_texture_lighting
  2675. #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
  2676. #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
  2677. #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
  2678. #endif
  2679. #ifndef GL_EXT_draw_range_elements
  2680. #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
  2681. #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
  2682. #endif
  2683. #ifndef GL_WIN_phong_shading
  2684. #define GL_PHONG_WIN 0x80EA
  2685. #define GL_PHONG_HINT_WIN 0x80EB
  2686. #endif
  2687. #ifndef GL_WIN_specular_fog
  2688. #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
  2689. #endif
  2690. #ifndef GL_EXT_light_texture
  2691. #define GL_FRAGMENT_MATERIAL_EXT 0x8349
  2692. #define GL_FRAGMENT_NORMAL_EXT 0x834A
  2693. #define GL_FRAGMENT_COLOR_EXT 0x834C
  2694. #define GL_ATTENUATION_EXT 0x834D
  2695. #define GL_SHADOW_ATTENUATION_EXT 0x834E
  2696. #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
  2697. #define GL_TEXTURE_LIGHT_EXT 0x8350
  2698. #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
  2699. #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  2700. /* reuse GL_FRAGMENT_DEPTH_EXT */
  2701. #endif
  2702. #ifndef GL_SGIX_blend_alpha_minmax
  2703. #define GL_ALPHA_MIN_SGIX 0x8320
  2704. #define GL_ALPHA_MAX_SGIX 0x8321
  2705. #endif
  2706. #ifndef GL_SGIX_impact_pixel_texture
  2707. #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184
  2708. #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185
  2709. #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186
  2710. #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
  2711. #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
  2712. #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189
  2713. #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A
  2714. #endif
  2715. #ifndef GL_EXT_bgra
  2716. #define GL_BGR_EXT 0x80E0
  2717. #define GL_BGRA_EXT 0x80E1
  2718. #endif
  2719. #ifndef GL_SGIX_async
  2720. #define GL_ASYNC_MARKER_SGIX 0x8329
  2721. #endif
  2722. #ifndef GL_SGIX_async_pixel
  2723. #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
  2724. #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
  2725. #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
  2726. #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
  2727. #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
  2728. #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
  2729. #endif
  2730. #ifndef GL_SGIX_async_histogram
  2731. #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
  2732. #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
  2733. #endif
  2734. #ifndef GL_INTEL_texture_scissor
  2735. #endif
  2736. #ifndef GL_INTEL_parallel_arrays
  2737. #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
  2738. #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  2739. #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  2740. #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  2741. #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  2742. #endif
  2743. #ifndef GL_HP_occlusion_test
  2744. #define GL_OCCLUSION_TEST_HP 0x8165
  2745. #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
  2746. #endif
  2747. #ifndef GL_EXT_pixel_transform
  2748. #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
  2749. #define GL_PIXEL_MAG_FILTER_EXT 0x8331
  2750. #define GL_PIXEL_MIN_FILTER_EXT 0x8332
  2751. #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
  2752. #define GL_CUBIC_EXT 0x8334
  2753. #define GL_AVERAGE_EXT 0x8335
  2754. #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  2755. #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  2756. #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
  2757. #endif
  2758. #ifndef GL_EXT_pixel_transform_color_table
  2759. #endif
  2760. #ifndef GL_EXT_shared_texture_palette
  2761. #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
  2762. #endif
  2763. #ifndef GL_EXT_separate_specular_color
  2764. #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
  2765. #define GL_SINGLE_COLOR_EXT 0x81F9
  2766. #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
  2767. #endif
  2768. #ifndef GL_EXT_secondary_color
  2769. #define GL_COLOR_SUM_EXT 0x8458
  2770. #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
  2771. #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  2772. #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  2773. #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  2774. #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  2775. #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
  2776. #endif
  2777. #ifndef GL_EXT_texture_perturb_normal
  2778. #define GL_PERTURB_EXT 0x85AE
  2779. #define GL_TEXTURE_NORMAL_EXT 0x85AF
  2780. #endif
  2781. #ifndef GL_EXT_multi_draw_arrays
  2782. #endif
  2783. #ifndef GL_EXT_fog_coord
  2784. #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
  2785. #define GL_FOG_COORDINATE_EXT 0x8451
  2786. #define GL_FRAGMENT_DEPTH_EXT 0x8452
  2787. #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
  2788. #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
  2789. #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  2790. #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  2791. #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
  2792. #endif
  2793. #ifndef GL_REND_screen_coordinates
  2794. #define GL_SCREEN_COORDINATES_REND 0x8490
  2795. #define GL_INVERTED_SCREEN_W_REND 0x8491
  2796. #endif
  2797. #ifndef GL_EXT_coordinate_frame
  2798. #define GL_TANGENT_ARRAY_EXT 0x8439
  2799. #define GL_BINORMAL_ARRAY_EXT 0x843A
  2800. #define GL_CURRENT_TANGENT_EXT 0x843B
  2801. #define GL_CURRENT_BINORMAL_EXT 0x843C
  2802. #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
  2803. #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
  2804. #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
  2805. #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
  2806. #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
  2807. #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
  2808. #define GL_MAP1_TANGENT_EXT 0x8444
  2809. #define GL_MAP2_TANGENT_EXT 0x8445
  2810. #define GL_MAP1_BINORMAL_EXT 0x8446
  2811. #define GL_MAP2_BINORMAL_EXT 0x8447
  2812. #endif
  2813. #ifndef GL_EXT_texture_env_combine
  2814. #define GL_COMBINE_EXT 0x8570
  2815. #define GL_COMBINE_RGB_EXT 0x8571
  2816. #define GL_COMBINE_ALPHA_EXT 0x8572
  2817. #define GL_RGB_SCALE_EXT 0x8573
  2818. #define GL_ADD_SIGNED_EXT 0x8574
  2819. #define GL_INTERPOLATE_EXT 0x8575
  2820. #define GL_CONSTANT_EXT 0x8576
  2821. #define GL_PRIMARY_COLOR_EXT 0x8577
  2822. #define GL_PREVIOUS_EXT 0x8578
  2823. #define GL_SOURCE0_RGB_EXT 0x8580
  2824. #define GL_SOURCE1_RGB_EXT 0x8581
  2825. #define GL_SOURCE2_RGB_EXT 0x8582
  2826. #define GL_SOURCE0_ALPHA_EXT 0x8588
  2827. #define GL_SOURCE1_ALPHA_EXT 0x8589
  2828. #define GL_SOURCE2_ALPHA_EXT 0x858A
  2829. #define GL_OPERAND0_RGB_EXT 0x8590
  2830. #define GL_OPERAND1_RGB_EXT 0x8591
  2831. #define GL_OPERAND2_RGB_EXT 0x8592
  2832. #define GL_OPERAND0_ALPHA_EXT 0x8598
  2833. #define GL_OPERAND1_ALPHA_EXT 0x8599
  2834. #define GL_OPERAND2_ALPHA_EXT 0x859A
  2835. #endif
  2836. #ifndef GL_APPLE_specular_vector
  2837. #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  2838. #endif
  2839. #ifndef GL_APPLE_transform_hint
  2840. #define GL_TRANSFORM_HINT_APPLE 0x85B1
  2841. #endif
  2842. #ifndef GL_SGIX_fog_scale
  2843. #define GL_FOG_SCALE_SGIX 0x81FC
  2844. #define GL_FOG_SCALE_VALUE_SGIX 0x81FD
  2845. #endif
  2846. #ifndef GL_SUNX_constant_data
  2847. #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
  2848. #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
  2849. #endif
  2850. #ifndef GL_SUN_global_alpha
  2851. #define GL_GLOBAL_ALPHA_SUN 0x81D9
  2852. #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
  2853. #endif
  2854. #ifndef GL_SUN_triangle_list
  2855. #define GL_RESTART_SUN 0x0001
  2856. #define GL_REPLACE_MIDDLE_SUN 0x0002
  2857. #define GL_REPLACE_OLDEST_SUN 0x0003
  2858. #define GL_TRIANGLE_LIST_SUN 0x81D7
  2859. #define GL_REPLACEMENT_CODE_SUN 0x81D8
  2860. #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
  2861. #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  2862. #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  2863. #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  2864. #define GL_R1UI_V3F_SUN 0x85C4
  2865. #define GL_R1UI_C4UB_V3F_SUN 0x85C5
  2866. #define GL_R1UI_C3F_V3F_SUN 0x85C6
  2867. #define GL_R1UI_N3F_V3F_SUN 0x85C7
  2868. #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
  2869. #define GL_R1UI_T2F_V3F_SUN 0x85C9
  2870. #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
  2871. #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
  2872. #endif
  2873. #ifndef GL_SUN_vertex
  2874. #endif
  2875. #ifndef GL_EXT_blend_func_separate
  2876. #define GL_BLEND_DST_RGB_EXT 0x80C8
  2877. #define GL_BLEND_SRC_RGB_EXT 0x80C9
  2878. #define GL_BLEND_DST_ALPHA_EXT 0x80CA
  2879. #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
  2880. #endif
  2881. #ifndef GL_INGR_color_clamp
  2882. #define GL_RED_MIN_CLAMP_INGR 0x8560
  2883. #define GL_GREEN_MIN_CLAMP_INGR 0x8561
  2884. #define GL_BLUE_MIN_CLAMP_INGR 0x8562
  2885. #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
  2886. #define GL_RED_MAX_CLAMP_INGR 0x8564
  2887. #define GL_GREEN_MAX_CLAMP_INGR 0x8565
  2888. #define GL_BLUE_MAX_CLAMP_INGR 0x8566
  2889. #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
  2890. #endif
  2891. #ifndef GL_INGR_interlace_read
  2892. #define GL_INTERLACE_READ_INGR 0x8568
  2893. #endif
  2894. #ifndef GL_EXT_stencil_wrap
  2895. #define GL_INCR_WRAP_EXT 0x8507
  2896. #define GL_DECR_WRAP_EXT 0x8508
  2897. #endif
  2898. #ifndef GL_EXT_422_pixels
  2899. #define GL_422_EXT 0x80CC
  2900. #define GL_422_REV_EXT 0x80CD
  2901. #define GL_422_AVERAGE_EXT 0x80CE
  2902. #define GL_422_REV_AVERAGE_EXT 0x80CF
  2903. #endif
  2904. #ifndef GL_NV_texgen_reflection
  2905. #define GL_NORMAL_MAP_NV 0x8511
  2906. #define GL_REFLECTION_MAP_NV 0x8512
  2907. #endif
  2908. #ifndef GL_EXT_texture_cube_map
  2909. #define GL_NORMAL_MAP_EXT 0x8511
  2910. #define GL_REFLECTION_MAP_EXT 0x8512
  2911. #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
  2912. #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
  2913. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  2914. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  2915. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  2916. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  2917. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  2918. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  2919. #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
  2920. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
  2921. #endif
  2922. #ifndef GL_SUN_convolution_border_modes
  2923. #define GL_WRAP_BORDER_SUN 0x81D4
  2924. #endif
  2925. #ifndef GL_EXT_texture_env_add
  2926. #endif
  2927. #ifndef GL_EXT_texture_lod_bias
  2928. #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
  2929. #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
  2930. #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
  2931. #endif
  2932. #ifndef GL_EXT_texture_filter_anisotropic
  2933. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  2934. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  2935. #endif
  2936. #ifndef GL_EXT_vertex_weighting
  2937. #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH
  2938. #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
  2939. #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX
  2940. #define GL_MODELVIEW1_MATRIX_EXT 0x8506
  2941. #define GL_VERTEX_WEIGHTING_EXT 0x8509
  2942. #define GL_MODELVIEW0_EXT GL_MODELVIEW
  2943. #define GL_MODELVIEW1_EXT 0x850A
  2944. #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
  2945. #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
  2946. #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
  2947. #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
  2948. #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  2949. #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  2950. #endif
  2951. #ifndef GL_NV_light_max_exponent
  2952. #define GL_MAX_SHININESS_NV 0x8504
  2953. #define GL_MAX_SPOT_EXPONENT_NV 0x8505
  2954. #endif
  2955. #ifndef GL_NV_vertex_array_range
  2956. #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
  2957. #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
  2958. #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
  2959. #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  2960. #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
  2961. #endif
  2962. #ifndef GL_NV_register_combiners
  2963. #define GL_REGISTER_COMBINERS_NV 0x8522
  2964. #define GL_VARIABLE_A_NV 0x8523
  2965. #define GL_VARIABLE_B_NV 0x8524
  2966. #define GL_VARIABLE_C_NV 0x8525
  2967. #define GL_VARIABLE_D_NV 0x8526
  2968. #define GL_VARIABLE_E_NV 0x8527
  2969. #define GL_VARIABLE_F_NV 0x8528
  2970. #define GL_VARIABLE_G_NV 0x8529
  2971. #define GL_CONSTANT_COLOR0_NV 0x852A
  2972. #define GL_CONSTANT_COLOR1_NV 0x852B
  2973. #define GL_PRIMARY_COLOR_NV 0x852C
  2974. #define GL_SECONDARY_COLOR_NV 0x852D
  2975. #define GL_SPARE0_NV 0x852E
  2976. #define GL_SPARE1_NV 0x852F
  2977. #define GL_DISCARD_NV 0x8530
  2978. #define GL_E_TIMES_F_NV 0x8531
  2979. #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  2980. #define GL_UNSIGNED_IDENTITY_NV 0x8536
  2981. #define GL_UNSIGNED_INVERT_NV 0x8537
  2982. #define GL_EXPAND_NORMAL_NV 0x8538
  2983. #define GL_EXPAND_NEGATE_NV 0x8539
  2984. #define GL_HALF_BIAS_NORMAL_NV 0x853A
  2985. #define GL_HALF_BIAS_NEGATE_NV 0x853B
  2986. #define GL_SIGNED_IDENTITY_NV 0x853C
  2987. #define GL_SIGNED_NEGATE_NV 0x853D
  2988. #define GL_SCALE_BY_TWO_NV 0x853E
  2989. #define GL_SCALE_BY_FOUR_NV 0x853F
  2990. #define GL_SCALE_BY_ONE_HALF_NV 0x8540
  2991. #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
  2992. #define GL_COMBINER_INPUT_NV 0x8542
  2993. #define GL_COMBINER_MAPPING_NV 0x8543
  2994. #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
  2995. #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
  2996. #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
  2997. #define GL_COMBINER_MUX_SUM_NV 0x8547
  2998. #define GL_COMBINER_SCALE_NV 0x8548
  2999. #define GL_COMBINER_BIAS_NV 0x8549
  3000. #define GL_COMBINER_AB_OUTPUT_NV 0x854A
  3001. #define GL_COMBINER_CD_OUTPUT_NV 0x854B
  3002. #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
  3003. #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
  3004. #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
  3005. #define GL_COLOR_SUM_CLAMP_NV 0x854F
  3006. #define GL_COMBINER0_NV 0x8550
  3007. #define GL_COMBINER1_NV 0x8551
  3008. #define GL_COMBINER2_NV 0x8552
  3009. #define GL_COMBINER3_NV 0x8553
  3010. #define GL_COMBINER4_NV 0x8554
  3011. #define GL_COMBINER5_NV 0x8555
  3012. #define GL_COMBINER6_NV 0x8556
  3013. #define GL_COMBINER7_NV 0x8557
  3014. /* reuse GL_TEXTURE0_ARB */
  3015. /* reuse GL_TEXTURE1_ARB */
  3016. /* reuse GL_ZERO */
  3017. /* reuse GL_NONE */
  3018. /* reuse GL_FOG */
  3019. #endif
  3020. #ifndef GL_NV_fog_distance
  3021. #define GL_FOG_DISTANCE_MODE_NV 0x855A
  3022. #define GL_EYE_RADIAL_NV 0x855B
  3023. #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
  3024. /* reuse GL_EYE_PLANE */
  3025. #endif
  3026. #ifndef GL_NV_texgen_emboss
  3027. #define GL_EMBOSS_LIGHT_NV 0x855D
  3028. #define GL_EMBOSS_CONSTANT_NV 0x855E
  3029. #define GL_EMBOSS_MAP_NV 0x855F
  3030. #endif
  3031. #ifndef GL_NV_blend_square
  3032. #endif
  3033. #ifndef GL_NV_texture_env_combine4
  3034. #define GL_COMBINE4_NV 0x8503
  3035. #define GL_SOURCE3_RGB_NV 0x8583
  3036. #define GL_SOURCE3_ALPHA_NV 0x858B
  3037. #define GL_OPERAND3_RGB_NV 0x8593
  3038. #define GL_OPERAND3_ALPHA_NV 0x859B
  3039. #endif
  3040. #ifndef GL_MESA_resize_buffers
  3041. #endif
  3042. #ifndef GL_MESA_window_pos
  3043. #endif
  3044. #ifndef GL_EXT_texture_compression_s3tc
  3045. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  3046. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  3047. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  3048. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  3049. #endif
  3050. #ifndef GL_IBM_cull_vertex
  3051. #define GL_CULL_VERTEX_IBM 103050
  3052. #endif
  3053. #ifndef GL_IBM_multimode_draw_arrays
  3054. #endif
  3055. #ifndef GL_IBM_vertex_array_lists
  3056. #define GL_VERTEX_ARRAY_LIST_IBM 103070
  3057. #define GL_NORMAL_ARRAY_LIST_IBM 103071
  3058. #define GL_COLOR_ARRAY_LIST_IBM 103072
  3059. #define GL_INDEX_ARRAY_LIST_IBM 103073
  3060. #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
  3061. #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
  3062. #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
  3063. #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  3064. #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
  3065. #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
  3066. #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
  3067. #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
  3068. #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  3069. #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  3070. #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  3071. #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  3072. #endif
  3073. #ifndef GL_SGIX_subsample
  3074. #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
  3075. #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
  3076. #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
  3077. #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
  3078. #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
  3079. #endif
  3080. #ifndef GL_SGIX_ycrcb_subsample
  3081. #endif
  3082. #ifndef GL_SGIX_ycrcba
  3083. #define GL_YCRCB_SGIX 0x8318
  3084. #define GL_YCRCBA_SGIX 0x8319
  3085. #endif
  3086. #ifndef GL_SGI_depth_pass_instrument
  3087. #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310
  3088. #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
  3089. #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
  3090. #endif
  3091. #ifndef GL_3DFX_texture_compression_FXT1
  3092. #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
  3093. #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
  3094. #endif
  3095. #ifndef GL_3DFX_multisample
  3096. #define GL_MULTISAMPLE_3DFX 0x86B2
  3097. #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
  3098. #define GL_SAMPLES_3DFX 0x86B4
  3099. #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
  3100. #endif
  3101. #ifndef GL_3DFX_tbuffer
  3102. #endif
  3103. #ifndef GL_EXT_multisample
  3104. #define GL_MULTISAMPLE_EXT 0x809D
  3105. #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
  3106. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  3107. #define GL_SAMPLE_MASK_EXT 0x80A0
  3108. #define GL_1PASS_EXT 0x80A1
  3109. #define GL_2PASS_0_EXT 0x80A2
  3110. #define GL_2PASS_1_EXT 0x80A3
  3111. #define GL_4PASS_0_EXT 0x80A4
  3112. #define GL_4PASS_1_EXT 0x80A5
  3113. #define GL_4PASS_2_EXT 0x80A6
  3114. #define GL_4PASS_3_EXT 0x80A7
  3115. #define GL_SAMPLE_BUFFERS_EXT 0x80A8
  3116. #define GL_SAMPLES_EXT 0x80A9
  3117. #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
  3118. #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
  3119. #define GL_SAMPLE_PATTERN_EXT 0x80AC
  3120. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  3121. #endif
  3122. #ifndef GL_SGIX_vertex_preclip
  3123. #define GL_VERTEX_PRECLIP_SGIX 0x83EE
  3124. #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
  3125. #endif
  3126. #ifndef GL_SGIX_convolution_accuracy
  3127. #define GL_CONVOLUTION_HINT_SGIX 0x8316
  3128. #endif
  3129. #ifndef GL_SGIX_resample
  3130. #define GL_PACK_RESAMPLE_SGIX 0x842C
  3131. #define GL_UNPACK_RESAMPLE_SGIX 0x842D
  3132. #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
  3133. #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
  3134. #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
  3135. #endif
  3136. #ifndef GL_SGIS_point_line_texgen
  3137. #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
  3138. #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
  3139. #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
  3140. #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
  3141. #define GL_EYE_POINT_SGIS 0x81F4
  3142. #define GL_OBJECT_POINT_SGIS 0x81F5
  3143. #define GL_EYE_LINE_SGIS 0x81F6
  3144. #define GL_OBJECT_LINE_SGIS 0x81F7
  3145. #endif
  3146. #ifndef GL_SGIS_texture_color_mask
  3147. #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
  3148. #endif
  3149. #ifndef GL_EXT_texture_env_dot3
  3150. #define GL_DOT3_RGB_EXT 0x8740
  3151. #define GL_DOT3_RGBA_EXT 0x8741
  3152. #endif
  3153. #ifndef GL_ATI_texture_mirror_once
  3154. #define GL_MIRROR_CLAMP_ATI 0x8742
  3155. #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
  3156. #endif
  3157. #ifndef GL_NV_fence
  3158. #define GL_ALL_COMPLETED_NV 0x84F2
  3159. #define GL_FENCE_STATUS_NV 0x84F3
  3160. #define GL_FENCE_CONDITION_NV 0x84F4
  3161. #endif
  3162. #ifndef GL_IBM_texture_mirrored_repeat
  3163. #define GL_MIRRORED_REPEAT_IBM 0x8370
  3164. #endif
  3165. #ifndef GL_NV_evaluators
  3166. #define GL_EVAL_2D_NV 0x86C0
  3167. #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
  3168. #define GL_MAP_TESSELLATION_NV 0x86C2
  3169. #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
  3170. #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
  3171. #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  3172. #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
  3173. #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
  3174. #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
  3175. #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
  3176. #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
  3177. #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
  3178. #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
  3179. #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
  3180. #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
  3181. #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
  3182. #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
  3183. #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
  3184. #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
  3185. #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
  3186. #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
  3187. #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
  3188. #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
  3189. #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
  3190. #endif
  3191. #ifndef GL_NV_packed_depth_stencil
  3192. #define GL_DEPTH_STENCIL_NV 0x84F9
  3193. #define GL_UNSIGNED_INT_24_8_NV 0x84FA
  3194. #endif
  3195. #ifndef GL_NV_register_combiners2
  3196. #define GL_PER_STAGE_CONSTANTS_NV 0x8535
  3197. #endif
  3198. #ifndef GL_NV_texture_compression_vtc
  3199. #endif
  3200. #ifndef GL_NV_texture_rectangle
  3201. #define GL_TEXTURE_RECTANGLE_NV 0x84F5
  3202. #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
  3203. #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
  3204. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
  3205. #endif
  3206. #ifndef GL_NV_texture_shader
  3207. #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
  3208. #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  3209. #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  3210. #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  3211. #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
  3212. #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
  3213. #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
  3214. #define GL_SHADER_CONSISTENT_NV 0x86DD
  3215. #define GL_TEXTURE_SHADER_NV 0x86DE
  3216. #define GL_SHADER_OPERATION_NV 0x86DF
  3217. #define GL_CULL_MODES_NV 0x86E0
  3218. #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
  3219. #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
  3220. #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
  3221. #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
  3222. #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
  3223. #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
  3224. #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
  3225. #define GL_CONST_EYE_NV 0x86E5
  3226. #define GL_PASS_THROUGH_NV 0x86E6
  3227. #define GL_CULL_FRAGMENT_NV 0x86E7
  3228. #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
  3229. #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
  3230. #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
  3231. #define GL_DOT_PRODUCT_NV 0x86EC
  3232. #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
  3233. #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
  3234. #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  3235. #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  3236. #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  3237. #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  3238. #define GL_HILO_NV 0x86F4
  3239. #define GL_DSDT_NV 0x86F5
  3240. #define GL_DSDT_MAG_NV 0x86F6
  3241. #define GL_DSDT_MAG_VIB_NV 0x86F7
  3242. #define GL_HILO16_NV 0x86F8
  3243. #define GL_SIGNED_HILO_NV 0x86F9
  3244. #define GL_SIGNED_HILO16_NV 0x86FA
  3245. #define GL_SIGNED_RGBA_NV 0x86FB
  3246. #define GL_SIGNED_RGBA8_NV 0x86FC
  3247. #define GL_SIGNED_RGB_NV 0x86FE
  3248. #define GL_SIGNED_RGB8_NV 0x86FF
  3249. #define GL_SIGNED_LUMINANCE_NV 0x8701
  3250. #define GL_SIGNED_LUMINANCE8_NV 0x8702
  3251. #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
  3252. #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
  3253. #define GL_SIGNED_ALPHA_NV 0x8705
  3254. #define GL_SIGNED_ALPHA8_NV 0x8706
  3255. #define GL_SIGNED_INTENSITY_NV 0x8707
  3256. #define GL_SIGNED_INTENSITY8_NV 0x8708
  3257. #define GL_DSDT8_NV 0x8709
  3258. #define GL_DSDT8_MAG8_NV 0x870A
  3259. #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
  3260. #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
  3261. #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  3262. #define GL_HI_SCALE_NV 0x870E
  3263. #define GL_LO_SCALE_NV 0x870F
  3264. #define GL_DS_SCALE_NV 0x8710
  3265. #define GL_DT_SCALE_NV 0x8711
  3266. #define GL_MAGNITUDE_SCALE_NV 0x8712
  3267. #define GL_VIBRANCE_SCALE_NV 0x8713
  3268. #define GL_HI_BIAS_NV 0x8714
  3269. #define GL_LO_BIAS_NV 0x8715
  3270. #define GL_DS_BIAS_NV 0x8716
  3271. #define GL_DT_BIAS_NV 0x8717
  3272. #define GL_MAGNITUDE_BIAS_NV 0x8718
  3273. #define GL_VIBRANCE_BIAS_NV 0x8719
  3274. #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
  3275. #define GL_TEXTURE_HI_SIZE_NV 0x871B
  3276. #define GL_TEXTURE_LO_SIZE_NV 0x871C
  3277. #define GL_TEXTURE_DS_SIZE_NV 0x871D
  3278. #define GL_TEXTURE_DT_SIZE_NV 0x871E
  3279. #define GL_TEXTURE_MAG_SIZE_NV 0x871F
  3280. #endif
  3281. #ifndef GL_NV_texture_shader2
  3282. #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
  3283. #endif
  3284. #ifndef GL_NV_vertex_array_range2
  3285. #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  3286. #endif
  3287. #ifndef GL_NV_vertex_program
  3288. #define GL_VERTEX_PROGRAM_NV 0x8620
  3289. #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
  3290. #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
  3291. #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
  3292. #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
  3293. #define GL_CURRENT_ATTRIB_NV 0x8626
  3294. #define GL_PROGRAM_LENGTH_NV 0x8627
  3295. #define GL_PROGRAM_STRING_NV 0x8628
  3296. #define GL_MODELVIEW_PROJECTION_NV 0x8629
  3297. #define GL_IDENTITY_NV 0x862A
  3298. #define GL_INVERSE_NV 0x862B
  3299. #define GL_TRANSPOSE_NV 0x862C
  3300. #define GL_INVERSE_TRANSPOSE_NV 0x862D
  3301. #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  3302. #define GL_MAX_TRACK_MATRICES_NV 0x862F
  3303. #define GL_MATRIX0_NV 0x8630
  3304. #define GL_MATRIX1_NV 0x8631
  3305. #define GL_MATRIX2_NV 0x8632
  3306. #define GL_MATRIX3_NV 0x8633
  3307. #define GL_MATRIX4_NV 0x8634
  3308. #define GL_MATRIX5_NV 0x8635
  3309. #define GL_MATRIX6_NV 0x8636
  3310. #define GL_MATRIX7_NV 0x8637
  3311. #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
  3312. #define GL_CURRENT_MATRIX_NV 0x8641
  3313. #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
  3314. #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
  3315. #define GL_PROGRAM_PARAMETER_NV 0x8644
  3316. #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
  3317. #define GL_PROGRAM_TARGET_NV 0x8646
  3318. #define GL_PROGRAM_RESIDENT_NV 0x8647
  3319. #define GL_TRACK_MATRIX_NV 0x8648
  3320. #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
  3321. #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
  3322. #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
  3323. #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
  3324. #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
  3325. #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
  3326. #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
  3327. #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
  3328. #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
  3329. #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
  3330. #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
  3331. #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
  3332. #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
  3333. #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
  3334. #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
  3335. #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
  3336. #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
  3337. #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
  3338. #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
  3339. #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
  3340. #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
  3341. #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
  3342. #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
  3343. #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
  3344. #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
  3345. #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
  3346. #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
  3347. #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
  3348. #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
  3349. #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
  3350. #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
  3351. #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
  3352. #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
  3353. #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
  3354. #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
  3355. #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
  3356. #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
  3357. #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
  3358. #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
  3359. #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
  3360. #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
  3361. #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
  3362. #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
  3363. #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
  3364. #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
  3365. #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
  3366. #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
  3367. #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
  3368. #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
  3369. #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
  3370. #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
  3371. #endif
  3372. #ifndef GL_SGIX_texture_coordinate_clamp
  3373. #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
  3374. #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
  3375. #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
  3376. #endif
  3377. #ifndef GL_SGIX_scalebias_hint
  3378. #define GL_SCALEBIAS_HINT_SGIX 0x8322
  3379. #endif
  3380. #ifndef GL_OML_interlace
  3381. #define GL_INTERLACE_OML 0x8980
  3382. #define GL_INTERLACE_READ_OML 0x8981
  3383. #endif
  3384. #ifndef GL_OML_subsample
  3385. #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
  3386. #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
  3387. #endif
  3388. #ifndef GL_OML_resample
  3389. #define GL_PACK_RESAMPLE_OML 0x8984
  3390. #define GL_UNPACK_RESAMPLE_OML 0x8985
  3391. #define GL_RESAMPLE_REPLICATE_OML 0x8986
  3392. #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
  3393. #define GL_RESAMPLE_AVERAGE_OML 0x8988
  3394. #define GL_RESAMPLE_DECIMATE_OML 0x8989
  3395. #endif
  3396. #ifndef GL_NV_copy_depth_to_color
  3397. #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
  3398. #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
  3399. #endif
  3400. #ifndef GL_ATI_envmap_bumpmap
  3401. #define GL_BUMP_ROT_MATRIX_ATI 0x8775
  3402. #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
  3403. #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
  3404. #define GL_BUMP_TEX_UNITS_ATI 0x8778
  3405. #define GL_DUDV_ATI 0x8779
  3406. #define GL_DU8DV8_ATI 0x877A
  3407. #define GL_BUMP_ENVMAP_ATI 0x877B
  3408. #define GL_BUMP_TARGET_ATI 0x877C
  3409. #endif
  3410. #ifndef GL_ATI_fragment_shader
  3411. #define GL_FRAGMENT_SHADER_ATI 0x8920
  3412. #define GL_REG_0_ATI 0x8921
  3413. #define GL_REG_1_ATI 0x8922
  3414. #define GL_REG_2_ATI 0x8923
  3415. #define GL_REG_3_ATI 0x8924
  3416. #define GL_REG_4_ATI 0x8925
  3417. #define GL_REG_5_ATI 0x8926
  3418. #define GL_REG_6_ATI 0x8927
  3419. #define GL_REG_7_ATI 0x8928
  3420. #define GL_REG_8_ATI 0x8929
  3421. #define GL_REG_9_ATI 0x892A
  3422. #define GL_REG_10_ATI 0x892B
  3423. #define GL_REG_11_ATI 0x892C
  3424. #define GL_REG_12_ATI 0x892D
  3425. #define GL_REG_13_ATI 0x892E
  3426. #define GL_REG_14_ATI 0x892F
  3427. #define GL_REG_15_ATI 0x8930
  3428. #define GL_REG_16_ATI 0x8931
  3429. #define GL_REG_17_ATI 0x8932
  3430. #define GL_REG_18_ATI 0x8933
  3431. #define GL_REG_19_ATI 0x8934
  3432. #define GL_REG_20_ATI 0x8935
  3433. #define GL_REG_21_ATI 0x8936
  3434. #define GL_REG_22_ATI 0x8937
  3435. #define GL_REG_23_ATI 0x8938
  3436. #define GL_REG_24_ATI 0x8939
  3437. #define GL_REG_25_ATI 0x893A
  3438. #define GL_REG_26_ATI 0x893B
  3439. #define GL_REG_27_ATI 0x893C
  3440. #define GL_REG_28_ATI 0x893D
  3441. #define GL_REG_29_ATI 0x893E
  3442. #define GL_REG_30_ATI 0x893F
  3443. #define GL_REG_31_ATI 0x8940
  3444. #define GL_CON_0_ATI 0x8941
  3445. #define GL_CON_1_ATI 0x8942
  3446. #define GL_CON_2_ATI 0x8943
  3447. #define GL_CON_3_ATI 0x8944
  3448. #define GL_CON_4_ATI 0x8945
  3449. #define GL_CON_5_ATI 0x8946
  3450. #define GL_CON_6_ATI 0x8947
  3451. #define GL_CON_7_ATI 0x8948
  3452. #define GL_CON_8_ATI 0x8949
  3453. #define GL_CON_9_ATI 0x894A
  3454. #define GL_CON_10_ATI 0x894B
  3455. #define GL_CON_11_ATI 0x894C
  3456. #define GL_CON_12_ATI 0x894D
  3457. #define GL_CON_13_ATI 0x894E
  3458. #define GL_CON_14_ATI 0x894F
  3459. #define GL_CON_15_ATI 0x8950
  3460. #define GL_CON_16_ATI 0x8951
  3461. #define GL_CON_17_ATI 0x8952
  3462. #define GL_CON_18_ATI 0x8953
  3463. #define GL_CON_19_ATI 0x8954
  3464. #define GL_CON_20_ATI 0x8955
  3465. #define GL_CON_21_ATI 0x8956
  3466. #define GL_CON_22_ATI 0x8957
  3467. #define GL_CON_23_ATI 0x8958
  3468. #define GL_CON_24_ATI 0x8959
  3469. #define GL_CON_25_ATI 0x895A
  3470. #define GL_CON_26_ATI 0x895B
  3471. #define GL_CON_27_ATI 0x895C
  3472. #define GL_CON_28_ATI 0x895D
  3473. #define GL_CON_29_ATI 0x895E
  3474. #define GL_CON_30_ATI 0x895F
  3475. #define GL_CON_31_ATI 0x8960
  3476. #define GL_MOV_ATI 0x8961
  3477. #define GL_ADD_ATI 0x8963
  3478. #define GL_MUL_ATI 0x8964
  3479. #define GL_SUB_ATI 0x8965
  3480. #define GL_DOT3_ATI 0x8966
  3481. #define GL_DOT4_ATI 0x8967
  3482. #define GL_MAD_ATI 0x8968
  3483. #define GL_LERP_ATI 0x8969
  3484. #define GL_CND_ATI 0x896A
  3485. #define GL_CND0_ATI 0x896B
  3486. #define GL_DOT2_ADD_ATI 0x896C
  3487. #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
  3488. #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
  3489. #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
  3490. #define GL_NUM_PASSES_ATI 0x8970
  3491. #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
  3492. #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
  3493. #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  3494. #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
  3495. #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
  3496. #define GL_SWIZZLE_STR_ATI 0x8976
  3497. #define GL_SWIZZLE_STQ_ATI 0x8977
  3498. #define GL_SWIZZLE_STR_DR_ATI 0x8978
  3499. #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
  3500. #define GL_SWIZZLE_STRQ_ATI 0x897A
  3501. #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
  3502. #define GL_RED_BIT_ATI 0x00000001
  3503. #define GL_GREEN_BIT_ATI 0x00000002
  3504. #define GL_BLUE_BIT_ATI 0x00000004
  3505. #define GL_2X_BIT_ATI 0x00000001
  3506. #define GL_4X_BIT_ATI 0x00000002
  3507. #define GL_8X_BIT_ATI 0x00000004
  3508. #define GL_HALF_BIT_ATI 0x00000008
  3509. #define GL_QUARTER_BIT_ATI 0x00000010
  3510. #define GL_EIGHTH_BIT_ATI 0x00000020
  3511. #define GL_SATURATE_BIT_ATI 0x00000040
  3512. #define GL_COMP_BIT_ATI 0x00000002
  3513. #define GL_NEGATE_BIT_ATI 0x00000004
  3514. #define GL_BIAS_BIT_ATI 0x00000008
  3515. #endif
  3516. #ifndef GL_ATI_pn_triangles
  3517. #define GL_PN_TRIANGLES_ATI 0x87F0
  3518. #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  3519. #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
  3520. #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
  3521. #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  3522. #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  3523. #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  3524. #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  3525. #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  3526. #endif
  3527. #ifndef GL_ATI_vertex_array_object
  3528. #define GL_STATIC_ATI 0x8760
  3529. #define GL_DYNAMIC_ATI 0x8761
  3530. #define GL_PRESERVE_ATI 0x8762
  3531. #define GL_DISCARD_ATI 0x8763
  3532. #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
  3533. #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
  3534. #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
  3535. #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
  3536. #endif
  3537. #ifndef GL_EXT_vertex_shader
  3538. #define GL_VERTEX_SHADER_EXT 0x8780
  3539. #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
  3540. #define GL_OP_INDEX_EXT 0x8782
  3541. #define GL_OP_NEGATE_EXT 0x8783
  3542. #define GL_OP_DOT3_EXT 0x8784
  3543. #define GL_OP_DOT4_EXT 0x8785
  3544. #define GL_OP_MUL_EXT 0x8786
  3545. #define GL_OP_ADD_EXT 0x8787
  3546. #define GL_OP_MADD_EXT 0x8788
  3547. #define GL_OP_FRAC_EXT 0x8789
  3548. #define GL_OP_MAX_EXT 0x878A
  3549. #define GL_OP_MIN_EXT 0x878B
  3550. #define GL_OP_SET_GE_EXT 0x878C
  3551. #define GL_OP_SET_LT_EXT 0x878D
  3552. #define GL_OP_CLAMP_EXT 0x878E
  3553. #define GL_OP_FLOOR_EXT 0x878F
  3554. #define GL_OP_ROUND_EXT 0x8790
  3555. #define GL_OP_EXP_BASE_2_EXT 0x8791
  3556. #define GL_OP_LOG_BASE_2_EXT 0x8792
  3557. #define GL_OP_POWER_EXT 0x8793
  3558. #define GL_OP_RECIP_EXT 0x8794
  3559. #define GL_OP_RECIP_SQRT_EXT 0x8795
  3560. #define GL_OP_SUB_EXT 0x8796
  3561. #define GL_OP_CROSS_PRODUCT_EXT 0x8797
  3562. #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
  3563. #define GL_OP_MOV_EXT 0x8799
  3564. #define GL_OUTPUT_VERTEX_EXT 0x879A
  3565. #define GL_OUTPUT_COLOR0_EXT 0x879B
  3566. #define GL_OUTPUT_COLOR1_EXT 0x879C
  3567. #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
  3568. #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
  3569. #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
  3570. #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
  3571. #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
  3572. #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
  3573. #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
  3574. #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
  3575. #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
  3576. #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
  3577. #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
  3578. #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
  3579. #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
  3580. #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
  3581. #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
  3582. #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
  3583. #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
  3584. #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
  3585. #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
  3586. #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
  3587. #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
  3588. #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
  3589. #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
  3590. #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
  3591. #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
  3592. #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
  3593. #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
  3594. #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
  3595. #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
  3596. #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
  3597. #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
  3598. #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
  3599. #define GL_OUTPUT_FOG_EXT 0x87BD
  3600. #define GL_SCALAR_EXT 0x87BE
  3601. #define GL_VECTOR_EXT 0x87BF
  3602. #define GL_MATRIX_EXT 0x87C0
  3603. #define GL_VARIANT_EXT 0x87C1
  3604. #define GL_INVARIANT_EXT 0x87C2
  3605. #define GL_LOCAL_CONSTANT_EXT 0x87C3
  3606. #define GL_LOCAL_EXT 0x87C4
  3607. #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  3608. #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  3609. #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  3610. #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  3611. #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
  3612. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  3613. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  3614. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
  3615. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
  3616. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  3617. #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  3618. #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
  3619. #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
  3620. #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  3621. #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
  3622. #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
  3623. #define GL_X_EXT 0x87D5
  3624. #define GL_Y_EXT 0x87D6
  3625. #define GL_Z_EXT 0x87D7
  3626. #define GL_W_EXT 0x87D8
  3627. #define GL_NEGATIVE_X_EXT 0x87D9
  3628. #define GL_NEGATIVE_Y_EXT 0x87DA
  3629. #define GL_NEGATIVE_Z_EXT 0x87DB
  3630. #define GL_NEGATIVE_W_EXT 0x87DC
  3631. #define GL_ZERO_EXT 0x87DD
  3632. #define GL_ONE_EXT 0x87DE
  3633. #define GL_NEGATIVE_ONE_EXT 0x87DF
  3634. #define GL_NORMALIZED_RANGE_EXT 0x87E0
  3635. #define GL_FULL_RANGE_EXT 0x87E1
  3636. #define GL_CURRENT_VERTEX_EXT 0x87E2
  3637. #define GL_MVP_MATRIX_EXT 0x87E3
  3638. #define GL_VARIANT_VALUE_EXT 0x87E4
  3639. #define GL_VARIANT_DATATYPE_EXT 0x87E5
  3640. #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
  3641. #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
  3642. #define GL_VARIANT_ARRAY_EXT 0x87E8
  3643. #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
  3644. #define GL_INVARIANT_VALUE_EXT 0x87EA
  3645. #define GL_INVARIANT_DATATYPE_EXT 0x87EB
  3646. #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
  3647. #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
  3648. #endif
  3649. #ifndef GL_ATI_vertex_streams
  3650. #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
  3651. #define GL_VERTEX_STREAM0_ATI 0x876C
  3652. #define GL_VERTEX_STREAM1_ATI 0x876D
  3653. #define GL_VERTEX_STREAM2_ATI 0x876E
  3654. #define GL_VERTEX_STREAM3_ATI 0x876F
  3655. #define GL_VERTEX_STREAM4_ATI 0x8770
  3656. #define GL_VERTEX_STREAM5_ATI 0x8771
  3657. #define GL_VERTEX_STREAM6_ATI 0x8772
  3658. #define GL_VERTEX_STREAM7_ATI 0x8773
  3659. #define GL_VERTEX_SOURCE_ATI 0x8774
  3660. #endif
  3661. #ifndef GL_ATI_element_array
  3662. #define GL_ELEMENT_ARRAY_ATI 0x8768
  3663. #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
  3664. #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
  3665. #endif
  3666. #ifndef GL_SUN_mesh_array
  3667. #define GL_QUAD_MESH_SUN 0x8614
  3668. #define GL_TRIANGLE_MESH_SUN 0x8615
  3669. #endif
  3670. #ifndef GL_SUN_slice_accum
  3671. #define GL_SLICE_ACCUM_SUN 0x85CC
  3672. #endif
  3673. #ifndef GL_NV_multisample_filter_hint
  3674. #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
  3675. #endif
  3676. #ifndef GL_NV_depth_clamp
  3677. #define GL_DEPTH_CLAMP_NV 0x864F
  3678. #endif
  3679. #ifndef GL_NV_occlusion_query
  3680. #define GL_PIXEL_COUNTER_BITS_NV 0x8864
  3681. #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
  3682. #define GL_PIXEL_COUNT_NV 0x8866
  3683. #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
  3684. #endif
  3685. #ifndef GL_NV_point_sprite
  3686. #define GL_POINT_SPRITE_NV 0x8861
  3687. #define GL_COORD_REPLACE_NV 0x8862
  3688. #define GL_POINT_SPRITE_R_MODE_NV 0x8863
  3689. #endif
  3690. #ifndef GL_NV_texture_shader3
  3691. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  3692. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  3693. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  3694. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  3695. #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
  3696. #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  3697. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  3698. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  3699. #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
  3700. #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
  3701. #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  3702. #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
  3703. #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
  3704. #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  3705. #define GL_HILO8_NV 0x885E
  3706. #define GL_SIGNED_HILO8_NV 0x885F
  3707. #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
  3708. #endif
  3709. #ifndef GL_NV_vertex_program1_1
  3710. #endif
  3711. #ifndef GL_EXT_shadow_funcs
  3712. #endif
  3713. #ifndef GL_EXT_stencil_two_side
  3714. #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
  3715. #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
  3716. #endif
  3717. #ifndef GL_ATI_text_fragment_shader
  3718. #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
  3719. #endif
  3720. #ifndef GL_APPLE_client_storage
  3721. #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
  3722. #endif
  3723. #ifndef GL_APPLE_element_array
  3724. #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
  3725. #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
  3726. #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
  3727. #endif
  3728. #ifndef GL_APPLE_fence
  3729. #define GL_DRAW_PIXELS_APPLE 0x8A0A
  3730. #define GL_FENCE_APPLE 0x8A0B
  3731. #endif
  3732. #ifndef GL_APPLE_vertex_array_object
  3733. #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
  3734. #endif
  3735. #ifndef GL_APPLE_vertex_array_range
  3736. #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
  3737. #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  3738. #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  3739. #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  3740. #define GL_STORAGE_CLIENT_APPLE 0x85B4
  3741. #define GL_STORAGE_CACHED_APPLE 0x85BE
  3742. #define GL_STORAGE_SHARED_APPLE 0x85BF
  3743. #endif
  3744. #ifndef GL_APPLE_ycbcr_422
  3745. #define GL_YCBCR_422_APPLE 0x85B9
  3746. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  3747. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  3748. #endif
  3749. #ifndef GL_S3_s3tc
  3750. #define GL_RGB_S3TC 0x83A0
  3751. #define GL_RGB4_S3TC 0x83A1
  3752. #define GL_RGBA_S3TC 0x83A2
  3753. #define GL_RGBA4_S3TC 0x83A3
  3754. #endif
  3755. #ifndef GL_ATI_draw_buffers
  3756. #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
  3757. #define GL_DRAW_BUFFER0_ATI 0x8825
  3758. #define GL_DRAW_BUFFER1_ATI 0x8826
  3759. #define GL_DRAW_BUFFER2_ATI 0x8827
  3760. #define GL_DRAW_BUFFER3_ATI 0x8828
  3761. #define GL_DRAW_BUFFER4_ATI 0x8829
  3762. #define GL_DRAW_BUFFER5_ATI 0x882A
  3763. #define GL_DRAW_BUFFER6_ATI 0x882B
  3764. #define GL_DRAW_BUFFER7_ATI 0x882C
  3765. #define GL_DRAW_BUFFER8_ATI 0x882D
  3766. #define GL_DRAW_BUFFER9_ATI 0x882E
  3767. #define GL_DRAW_BUFFER10_ATI 0x882F
  3768. #define GL_DRAW_BUFFER11_ATI 0x8830
  3769. #define GL_DRAW_BUFFER12_ATI 0x8831
  3770. #define GL_DRAW_BUFFER13_ATI 0x8832
  3771. #define GL_DRAW_BUFFER14_ATI 0x8833
  3772. #define GL_DRAW_BUFFER15_ATI 0x8834
  3773. #endif
  3774. #ifndef GL_ATI_pixel_format_float
  3775. #define GL_TYPE_RGBA_FLOAT_ATI 0x8820
  3776. #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
  3777. #endif
  3778. #ifndef GL_ATI_texture_env_combine3
  3779. #define GL_MODULATE_ADD_ATI 0x8744
  3780. #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
  3781. #define GL_MODULATE_SUBTRACT_ATI 0x8746
  3782. #endif
  3783. #ifndef GL_ATI_texture_float
  3784. #define GL_RGBA_FLOAT32_ATI 0x8814
  3785. #define GL_RGB_FLOAT32_ATI 0x8815
  3786. #define GL_ALPHA_FLOAT32_ATI 0x8816
  3787. #define GL_INTENSITY_FLOAT32_ATI 0x8817
  3788. #define GL_LUMINANCE_FLOAT32_ATI 0x8818
  3789. #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
  3790. #define GL_RGBA_FLOAT16_ATI 0x881A
  3791. #define GL_RGB_FLOAT16_ATI 0x881B
  3792. #define GL_ALPHA_FLOAT16_ATI 0x881C
  3793. #define GL_INTENSITY_FLOAT16_ATI 0x881D
  3794. #define GL_LUMINANCE_FLOAT16_ATI 0x881E
  3795. #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
  3796. #endif
  3797. #ifndef GL_NV_float_buffer
  3798. #define GL_FLOAT_R_NV 0x8880
  3799. #define GL_FLOAT_RG_NV 0x8881
  3800. #define GL_FLOAT_RGB_NV 0x8882
  3801. #define GL_FLOAT_RGBA_NV 0x8883
  3802. #define GL_FLOAT_R16_NV 0x8884
  3803. #define GL_FLOAT_R32_NV 0x8885
  3804. #define GL_FLOAT_RG16_NV 0x8886
  3805. #define GL_FLOAT_RG32_NV 0x8887
  3806. #define GL_FLOAT_RGB16_NV 0x8888
  3807. #define GL_FLOAT_RGB32_NV 0x8889
  3808. #define GL_FLOAT_RGBA16_NV 0x888A
  3809. #define GL_FLOAT_RGBA32_NV 0x888B
  3810. #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
  3811. #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
  3812. #define GL_FLOAT_RGBA_MODE_NV 0x888E
  3813. #endif
  3814. #ifndef GL_NV_fragment_program
  3815. #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  3816. #define GL_FRAGMENT_PROGRAM_NV 0x8870
  3817. #define GL_MAX_TEXTURE_COORDS_NV 0x8871
  3818. #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
  3819. #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
  3820. #define GL_PROGRAM_ERROR_STRING_NV 0x8874
  3821. #endif
  3822. #ifndef GL_NV_half_float
  3823. #define GL_HALF_FLOAT_NV 0x140B
  3824. #endif
  3825. #ifndef GL_NV_pixel_data_range
  3826. #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
  3827. #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
  3828. #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  3829. #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  3830. #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  3831. #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  3832. #endif
  3833. #ifndef GL_NV_primitive_restart
  3834. #define GL_PRIMITIVE_RESTART_NV 0x8558
  3835. #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
  3836. #endif
  3837. #ifndef GL_NV_texture_expand_normal
  3838. #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  3839. #endif
  3840. #ifndef GL_NV_vertex_program2
  3841. #endif
  3842. #ifndef GL_ATI_map_object_buffer
  3843. #endif
  3844. #ifndef GL_ATI_separate_stencil
  3845. #define GL_STENCIL_BACK_FUNC_ATI 0x8800
  3846. #define GL_STENCIL_BACK_FAIL_ATI 0x8801
  3847. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  3848. #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  3849. #endif
  3850. #ifndef GL_ATI_vertex_attrib_array_object
  3851. #endif
  3852. #ifndef GL_OES_read_format
  3853. #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  3854. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  3855. #endif
  3856. #ifndef GL_EXT_depth_bounds_test
  3857. #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
  3858. #define GL_DEPTH_BOUNDS_EXT 0x8891
  3859. #endif
  3860. #ifndef GL_EXT_texture_mirror_clamp
  3861. #define GL_MIRROR_CLAMP_EXT 0x8742
  3862. #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
  3863. #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
  3864. #endif
  3865. #ifndef GL_EXT_blend_equation_separate
  3866. #define GL_BLEND_EQUATION_RGB_EXT 0x8009
  3867. #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
  3868. #endif
  3869. #ifndef GL_MESA_pack_invert
  3870. #define GL_PACK_INVERT_MESA 0x8758
  3871. #endif
  3872. #ifndef GL_MESA_ycbcr_texture
  3873. #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
  3874. #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
  3875. #define GL_YCBCR_MESA 0x8757
  3876. #endif
  3877. #ifndef GL_EXT_pixel_buffer_object
  3878. #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
  3879. #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
  3880. #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
  3881. #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
  3882. #endif
  3883. #ifndef GL_NV_fragment_program_option
  3884. #endif
  3885. #ifndef GL_NV_fragment_program2
  3886. #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  3887. #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
  3888. #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
  3889. #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
  3890. #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
  3891. #endif
  3892. #ifndef GL_NV_vertex_program2_option
  3893. /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
  3894. /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
  3895. #endif
  3896. #ifndef GL_NV_vertex_program3
  3897. /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
  3898. #endif
  3899. #ifndef GL_EXT_framebuffer_object
  3900. #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
  3901. #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
  3902. #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
  3903. #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
  3904. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
  3905. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
  3906. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
  3907. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
  3908. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
  3909. #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
  3910. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
  3911. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
  3912. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
  3913. #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
  3914. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
  3915. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
  3916. #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
  3917. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  3918. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  3919. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  3920. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  3921. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  3922. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  3923. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  3924. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  3925. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  3926. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  3927. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  3928. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  3929. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  3930. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  3931. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  3932. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  3933. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  3934. #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
  3935. #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
  3936. #define GL_FRAMEBUFFER_EXT 0x8D40
  3937. #define GL_RENDERBUFFER_EXT 0x8D41
  3938. #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
  3939. #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
  3940. #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
  3941. #define GL_STENCIL_INDEX1_EXT 0x8D46
  3942. #define GL_STENCIL_INDEX4_EXT 0x8D47
  3943. #define GL_STENCIL_INDEX8_EXT 0x8D48
  3944. #define GL_STENCIL_INDEX16_EXT 0x8D49
  3945. #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
  3946. #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
  3947. #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
  3948. #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
  3949. #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
  3950. #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
  3951. #endif
  3952. #ifndef GL_GREMEDY_string_marker
  3953. #endif
  3954. #ifndef GL_EXT_packed_depth_stencil
  3955. #define GL_DEPTH_STENCIL_EXT 0x84F9
  3956. #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
  3957. #define GL_DEPTH24_STENCIL8_EXT 0x88F0
  3958. #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
  3959. #endif
  3960. #ifndef GL_EXT_stencil_clear_tag
  3961. #define GL_STENCIL_TAG_BITS_EXT 0x88F2
  3962. #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
  3963. #endif
  3964. #ifndef GL_EXT_texture_sRGB
  3965. #define GL_SRGB_EXT 0x8C40
  3966. #define GL_SRGB8_EXT 0x8C41
  3967. #define GL_SRGB_ALPHA_EXT 0x8C42
  3968. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  3969. #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
  3970. #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
  3971. #define GL_SLUMINANCE_EXT 0x8C46
  3972. #define GL_SLUMINANCE8_EXT 0x8C47
  3973. #define GL_COMPRESSED_SRGB_EXT 0x8C48
  3974. #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
  3975. #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
  3976. #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
  3977. #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
  3978. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  3979. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  3980. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  3981. #endif
  3982. #ifndef GL_EXT_framebuffer_blit
  3983. #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
  3984. #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
  3985. #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING_EXT
  3986. #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
  3987. #endif
  3988. #ifndef GL_EXT_framebuffer_multisample
  3989. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  3990. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  3991. #define GL_MAX_SAMPLES_EXT 0x8D57
  3992. #endif
  3993. #ifndef GL_MESAX_texture_stack
  3994. #define GL_TEXTURE_1D_STACK_MESAX 0x8759
  3995. #define GL_TEXTURE_2D_STACK_MESAX 0x875A
  3996. #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
  3997. #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
  3998. #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
  3999. #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
  4000. #endif
  4001. #ifndef GL_EXT_timer_query
  4002. #define GL_TIME_ELAPSED_EXT 0x88BF
  4003. #endif
  4004. #ifndef GL_EXT_gpu_program_parameters
  4005. #endif
  4006. #ifndef GL_APPLE_flush_buffer_range
  4007. #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
  4008. #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
  4009. #endif
  4010. #ifndef GL_NV_gpu_program4
  4011. #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
  4012. #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
  4013. #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
  4014. #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
  4015. #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
  4016. #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
  4017. #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
  4018. #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
  4019. #endif
  4020. #ifndef GL_NV_geometry_program4
  4021. #define GL_LINES_ADJACENCY_EXT 0x000A
  4022. #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
  4023. #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
  4024. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
  4025. #define GL_GEOMETRY_PROGRAM_NV 0x8C26
  4026. #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
  4027. #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
  4028. #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
  4029. #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
  4030. #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
  4031. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  4032. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  4033. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  4034. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
  4035. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
  4036. #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
  4037. #endif
  4038. #ifndef GL_EXT_geometry_shader4
  4039. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  4040. /* reuse GL_GEOMETRY_VERTICES_OUT_EXT */
  4041. /* reuse GL_GEOMETRY_INPUT_TYPE_EXT */
  4042. /* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */
  4043. /* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */
  4044. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
  4045. #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
  4046. #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
  4047. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  4048. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  4049. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  4050. /* reuse GL_LINES_ADJACENCY_EXT */
  4051. /* reuse GL_LINE_STRIP_ADJACENCY_EXT */
  4052. /* reuse GL_TRIANGLES_ADJACENCY_EXT */
  4053. /* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */
  4054. /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */
  4055. /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */
  4056. /* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */
  4057. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
  4058. /* reuse GL_PROGRAM_POINT_SIZE_EXT */
  4059. #endif
  4060. #ifndef GL_NV_vertex_program4
  4061. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  4062. #endif
  4063. #ifndef GL_EXT_gpu_shader4
  4064. #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
  4065. #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
  4066. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  4067. #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
  4068. #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
  4069. #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
  4070. #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
  4071. #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
  4072. #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
  4073. #define GL_INT_SAMPLER_1D_EXT 0x8DC9
  4074. #define GL_INT_SAMPLER_2D_EXT 0x8DCA
  4075. #define GL_INT_SAMPLER_3D_EXT 0x8DCB
  4076. #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
  4077. #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
  4078. #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
  4079. #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
  4080. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  4081. #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
  4082. #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
  4083. #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
  4084. #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
  4085. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  4086. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  4087. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  4088. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  4089. #endif
  4090. #ifndef GL_EXT_draw_instanced
  4091. #endif
  4092. #ifndef GL_EXT_packed_float
  4093. #define GL_R11F_G11F_B10F_EXT 0x8C3A
  4094. #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
  4095. #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
  4096. #endif
  4097. #ifndef GL_EXT_texture_array
  4098. #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
  4099. #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
  4100. #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
  4101. #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
  4102. #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
  4103. #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
  4104. #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
  4105. #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
  4106. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
  4107. #endif
  4108. #ifndef GL_EXT_texture_buffer_object
  4109. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  4110. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  4111. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  4112. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  4113. #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
  4114. #endif
  4115. #ifndef GL_EXT_texture_compression_latc
  4116. #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
  4117. #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
  4118. #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
  4119. #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
  4120. #endif
  4121. #ifndef GL_EXT_texture_compression_rgtc
  4122. #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
  4123. #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  4124. #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  4125. #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  4126. #endif
  4127. #ifndef GL_EXT_texture_shared_exponent
  4128. #define GL_RGB9_E5_EXT 0x8C3D
  4129. #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
  4130. #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
  4131. #endif
  4132. #ifndef GL_NV_depth_buffer_float
  4133. #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
  4134. #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
  4135. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
  4136. #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
  4137. #endif
  4138. #ifndef GL_NV_fragment_program4
  4139. #endif
  4140. #ifndef GL_NV_framebuffer_multisample_coverage
  4141. #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
  4142. #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
  4143. #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
  4144. #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
  4145. #endif
  4146. #ifndef GL_EXT_framebuffer_sRGB
  4147. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  4148. #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
  4149. #endif
  4150. #ifndef GL_NV_geometry_shader4
  4151. #endif
  4152. #ifndef GL_NV_parameter_buffer_object
  4153. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
  4154. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
  4155. #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
  4156. #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
  4157. #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
  4158. #endif
  4159. #ifndef GL_EXT_draw_buffers2
  4160. #endif
  4161. #ifndef GL_NV_transform_feedback
  4162. #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
  4163. #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
  4164. #define GL_TEXTURE_COORD_NV 0x8C79
  4165. #define GL_CLIP_DISTANCE_NV 0x8C7A
  4166. #define GL_VERTEX_ID_NV 0x8C7B
  4167. #define GL_PRIMITIVE_ID_NV 0x8C7C
  4168. #define GL_GENERIC_ATTRIB_NV 0x8C7D
  4169. #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
  4170. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
  4171. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
  4172. #define GL_ACTIVE_VARYINGS_NV 0x8C81
  4173. #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
  4174. #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
  4175. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
  4176. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
  4177. #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
  4178. #define GL_PRIMITIVES_GENERATED_NV 0x8C87
  4179. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
  4180. #define GL_RASTERIZER_DISCARD_NV 0x8C89
  4181. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_ATTRIBS_NV 0x8C8A
  4182. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
  4183. #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
  4184. #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
  4185. #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
  4186. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
  4187. #define GL_LAYER_NV 0x8DAA
  4188. #define GL_NEXT_BUFFER_NV -2
  4189. #define GL_SKIP_COMPONENTS4_NV -3
  4190. #define GL_SKIP_COMPONENTS3_NV -4
  4191. #define GL_SKIP_COMPONENTS2_NV -5
  4192. #define GL_SKIP_COMPONENTS1_NV -6
  4193. #endif
  4194. #ifndef GL_EXT_bindable_uniform
  4195. #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
  4196. #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
  4197. #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
  4198. #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
  4199. #define GL_UNIFORM_BUFFER_EXT 0x8DEE
  4200. #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
  4201. #endif
  4202. #ifndef GL_EXT_texture_integer
  4203. #define GL_RGBA32UI_EXT 0x8D70
  4204. #define GL_RGB32UI_EXT 0x8D71
  4205. #define GL_ALPHA32UI_EXT 0x8D72
  4206. #define GL_INTENSITY32UI_EXT 0x8D73
  4207. #define GL_LUMINANCE32UI_EXT 0x8D74
  4208. #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
  4209. #define GL_RGBA16UI_EXT 0x8D76
  4210. #define GL_RGB16UI_EXT 0x8D77
  4211. #define GL_ALPHA16UI_EXT 0x8D78
  4212. #define GL_INTENSITY16UI_EXT 0x8D79
  4213. #define GL_LUMINANCE16UI_EXT 0x8D7A
  4214. #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
  4215. #define GL_RGBA8UI_EXT 0x8D7C
  4216. #define GL_RGB8UI_EXT 0x8D7D
  4217. #define GL_ALPHA8UI_EXT 0x8D7E
  4218. #define GL_INTENSITY8UI_EXT 0x8D7F
  4219. #define GL_LUMINANCE8UI_EXT 0x8D80
  4220. #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
  4221. #define GL_RGBA32I_EXT 0x8D82
  4222. #define GL_RGB32I_EXT 0x8D83
  4223. #define GL_ALPHA32I_EXT 0x8D84
  4224. #define GL_INTENSITY32I_EXT 0x8D85
  4225. #define GL_LUMINANCE32I_EXT 0x8D86
  4226. #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
  4227. #define GL_RGBA16I_EXT 0x8D88
  4228. #define GL_RGB16I_EXT 0x8D89
  4229. #define GL_ALPHA16I_EXT 0x8D8A
  4230. #define GL_INTENSITY16I_EXT 0x8D8B
  4231. #define GL_LUMINANCE16I_EXT 0x8D8C
  4232. #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
  4233. #define GL_RGBA8I_EXT 0x8D8E
  4234. #define GL_RGB8I_EXT 0x8D8F
  4235. #define GL_ALPHA8I_EXT 0x8D90
  4236. #define GL_INTENSITY8I_EXT 0x8D91
  4237. #define GL_LUMINANCE8I_EXT 0x8D92
  4238. #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
  4239. #define GL_RED_INTEGER_EXT 0x8D94
  4240. #define GL_GREEN_INTEGER_EXT 0x8D95
  4241. #define GL_BLUE_INTEGER_EXT 0x8D96
  4242. #define GL_ALPHA_INTEGER_EXT 0x8D97
  4243. #define GL_RGB_INTEGER_EXT 0x8D98
  4244. #define GL_RGBA_INTEGER_EXT 0x8D99
  4245. #define GL_BGR_INTEGER_EXT 0x8D9A
  4246. #define GL_BGRA_INTEGER_EXT 0x8D9B
  4247. #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
  4248. #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
  4249. #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
  4250. #endif
  4251. #ifndef GL_GREMEDY_frame_terminator
  4252. #endif
  4253. #ifndef GL_NV_conditional_render
  4254. #define GL_QUERY_WAIT_NV 0x8E13
  4255. #define GL_QUERY_NO_WAIT_NV 0x8E14
  4256. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  4257. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  4258. #endif
  4259. #ifndef GL_NV_present_video
  4260. #define GL_FRAME_NV 0x8E26
  4261. #define GL_FIELDS_NV 0x8E27
  4262. #define GL_CURRENT_TIME_NV 0x8E28
  4263. #define GL_NUM_FILL_STREAMS_NV 0x8E29
  4264. #define GL_PRESENT_TIME_NV 0x8E2A
  4265. #define GL_PRESENT_DURATION_NV 0x8E2B
  4266. #endif
  4267. #ifndef GL_EXT_transform_feedback
  4268. #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
  4269. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
  4270. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
  4271. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
  4272. #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
  4273. #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
  4274. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  4275. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
  4276. #define GL_RASTERIZER_DISCARD_EXT 0x8C89
  4277. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
  4278. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
  4279. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
  4280. #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
  4281. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
  4282. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
  4283. #endif
  4284. #ifndef GL_EXT_direct_state_access
  4285. #define GL_PROGRAM_MATRIX_EXT 0x8E2D
  4286. #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
  4287. #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  4288. #endif
  4289. #ifndef GL_EXT_vertex_array_bgra
  4290. /* reuse GL_BGRA */
  4291. #endif
  4292. #ifndef GL_EXT_texture_swizzle
  4293. #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
  4294. #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
  4295. #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
  4296. #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
  4297. #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
  4298. #endif
  4299. #ifndef GL_NV_explicit_multisample
  4300. #define GL_SAMPLE_POSITION_NV 0x8E50
  4301. #define GL_SAMPLE_MASK_NV 0x8E51
  4302. #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
  4303. #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
  4304. #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
  4305. #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
  4306. #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
  4307. #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
  4308. #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
  4309. #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
  4310. #endif
  4311. #ifndef GL_NV_transform_feedback2
  4312. #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
  4313. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
  4314. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
  4315. #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
  4316. #endif
  4317. #ifndef GL_ATI_meminfo
  4318. #define GL_VBO_FREE_MEMORY_ATI 0x87FB
  4319. #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
  4320. #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
  4321. #endif
  4322. #ifndef GL_AMD_performance_monitor
  4323. #define GL_COUNTER_TYPE_AMD 0x8BC0
  4324. #define GL_COUNTER_RANGE_AMD 0x8BC1
  4325. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  4326. #define GL_PERCENTAGE_AMD 0x8BC3
  4327. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  4328. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  4329. #define GL_PERFMON_RESULT_AMD 0x8BC6
  4330. #endif
  4331. #ifndef GL_AMD_texture_texture4
  4332. #endif
  4333. #ifndef GL_AMD_vertex_shader_tesselator
  4334. #define GL_SAMPLER_BUFFER_AMD 0x9001
  4335. #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
  4336. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
  4337. #define GL_TESSELLATION_MODE_AMD 0x9004
  4338. #define GL_TESSELLATION_FACTOR_AMD 0x9005
  4339. #define GL_DISCRETE_AMD 0x9006
  4340. #define GL_CONTINUOUS_AMD 0x9007
  4341. #endif
  4342. #ifndef GL_EXT_provoking_vertex
  4343. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
  4344. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  4345. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  4346. #define GL_PROVOKING_VERTEX_EXT 0x8E4F
  4347. #endif
  4348. #ifndef GL_EXT_texture_snorm
  4349. #define GL_ALPHA_SNORM 0x9010
  4350. #define GL_LUMINANCE_SNORM 0x9011
  4351. #define GL_LUMINANCE_ALPHA_SNORM 0x9012
  4352. #define GL_INTENSITY_SNORM 0x9013
  4353. #define GL_ALPHA8_SNORM 0x9014
  4354. #define GL_LUMINANCE8_SNORM 0x9015
  4355. #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
  4356. #define GL_INTENSITY8_SNORM 0x9017
  4357. #define GL_ALPHA16_SNORM 0x9018
  4358. #define GL_LUMINANCE16_SNORM 0x9019
  4359. #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
  4360. #define GL_INTENSITY16_SNORM 0x901B
  4361. /* reuse GL_RED_SNORM */
  4362. /* reuse GL_RG_SNORM */
  4363. /* reuse GL_RGB_SNORM */
  4364. /* reuse GL_RGBA_SNORM */
  4365. /* reuse GL_R8_SNORM */
  4366. /* reuse GL_RG8_SNORM */
  4367. /* reuse GL_RGB8_SNORM */
  4368. /* reuse GL_RGBA8_SNORM */
  4369. /* reuse GL_R16_SNORM */
  4370. /* reuse GL_RG16_SNORM */
  4371. /* reuse GL_RGB16_SNORM */
  4372. /* reuse GL_RGBA16_SNORM */
  4373. /* reuse GL_SIGNED_NORMALIZED */
  4374. #endif
  4375. #ifndef GL_AMD_draw_buffers_blend
  4376. #endif
  4377. #ifndef GL_APPLE_texture_range
  4378. #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
  4379. #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
  4380. #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
  4381. #define GL_STORAGE_PRIVATE_APPLE 0x85BD
  4382. /* reuse GL_STORAGE_CACHED_APPLE */
  4383. /* reuse GL_STORAGE_SHARED_APPLE */
  4384. #endif
  4385. #ifndef GL_APPLE_float_pixels
  4386. #define GL_HALF_APPLE 0x140B
  4387. #define GL_RGBA_FLOAT32_APPLE 0x8814
  4388. #define GL_RGB_FLOAT32_APPLE 0x8815
  4389. #define GL_ALPHA_FLOAT32_APPLE 0x8816
  4390. #define GL_INTENSITY_FLOAT32_APPLE 0x8817
  4391. #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
  4392. #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
  4393. #define GL_RGBA_FLOAT16_APPLE 0x881A
  4394. #define GL_RGB_FLOAT16_APPLE 0x881B
  4395. #define GL_ALPHA_FLOAT16_APPLE 0x881C
  4396. #define GL_INTENSITY_FLOAT16_APPLE 0x881D
  4397. #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
  4398. #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
  4399. #define GL_COLOR_FLOAT_APPLE 0x8A0F
  4400. #endif
  4401. #ifndef GL_APPLE_vertex_program_evaluators
  4402. #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
  4403. #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
  4404. #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
  4405. #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
  4406. #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
  4407. #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
  4408. #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
  4409. #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
  4410. #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
  4411. #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
  4412. #endif
  4413. #ifndef GL_APPLE_aux_depth_stencil
  4414. #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
  4415. #endif
  4416. #ifndef GL_APPLE_object_purgeable
  4417. #define GL_BUFFER_OBJECT_APPLE 0x85B3
  4418. #define GL_RELEASED_APPLE 0x8A19
  4419. #define GL_VOLATILE_APPLE 0x8A1A
  4420. #define GL_RETAINED_APPLE 0x8A1B
  4421. #define GL_UNDEFINED_APPLE 0x8A1C
  4422. #define GL_PURGEABLE_APPLE 0x8A1D
  4423. #endif
  4424. #ifndef GL_APPLE_row_bytes
  4425. #define GL_PACK_ROW_BYTES_APPLE 0x8A15
  4426. #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
  4427. #endif
  4428. #ifndef GL_APPLE_rgb_422
  4429. #define GL_RGB_422_APPLE 0x8A1F
  4430. /* reuse GL_UNSIGNED_SHORT_8_8_APPLE */
  4431. /* reuse GL_UNSIGNED_SHORT_8_8_REV_APPLE */
  4432. #endif
  4433. #ifndef GL_NV_video_capture
  4434. #define GL_VIDEO_BUFFER_NV 0x9020
  4435. #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
  4436. #define GL_FIELD_UPPER_NV 0x9022
  4437. #define GL_FIELD_LOWER_NV 0x9023
  4438. #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
  4439. #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
  4440. #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
  4441. #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
  4442. #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
  4443. #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
  4444. #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
  4445. #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
  4446. #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
  4447. #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
  4448. #define GL_PARTIAL_SUCCESS_NV 0x902E
  4449. #define GL_SUCCESS_NV 0x902F
  4450. #define GL_FAILURE_NV 0x9030
  4451. #define GL_YCBYCR8_422_NV 0x9031
  4452. #define GL_YCBAYCR8A_4224_NV 0x9032
  4453. #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
  4454. #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
  4455. #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
  4456. #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
  4457. #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
  4458. #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
  4459. #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
  4460. #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
  4461. #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
  4462. #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
  4463. #endif
  4464. #ifndef GL_NV_copy_image
  4465. #endif
  4466. #ifndef GL_EXT_separate_shader_objects
  4467. #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
  4468. #endif
  4469. #ifndef GL_NV_parameter_buffer_object2
  4470. #endif
  4471. #ifndef GL_NV_shader_buffer_load
  4472. #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
  4473. #define GL_GPU_ADDRESS_NV 0x8F34
  4474. #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
  4475. #endif
  4476. #ifndef GL_NV_vertex_buffer_unified_memory
  4477. #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
  4478. #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
  4479. #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
  4480. #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
  4481. #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
  4482. #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
  4483. #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
  4484. #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
  4485. #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
  4486. #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
  4487. #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
  4488. #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
  4489. #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
  4490. #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
  4491. #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
  4492. #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
  4493. #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
  4494. #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
  4495. #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
  4496. #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
  4497. #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
  4498. #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
  4499. #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
  4500. #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
  4501. #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
  4502. #endif
  4503. #ifndef GL_NV_texture_barrier
  4504. #endif
  4505. #ifndef GL_AMD_shader_stencil_export
  4506. #endif
  4507. #ifndef GL_AMD_seamless_cubemap_per_texture
  4508. /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB */
  4509. #endif
  4510. #ifndef GL_AMD_conservative_depth
  4511. #endif
  4512. #ifndef GL_EXT_shader_image_load_store
  4513. #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
  4514. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
  4515. #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
  4516. #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
  4517. #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
  4518. #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
  4519. #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
  4520. #define GL_IMAGE_1D_EXT 0x904C
  4521. #define GL_IMAGE_2D_EXT 0x904D
  4522. #define GL_IMAGE_3D_EXT 0x904E
  4523. #define GL_IMAGE_2D_RECT_EXT 0x904F
  4524. #define GL_IMAGE_CUBE_EXT 0x9050
  4525. #define GL_IMAGE_BUFFER_EXT 0x9051
  4526. #define GL_IMAGE_1D_ARRAY_EXT 0x9052
  4527. #define GL_IMAGE_2D_ARRAY_EXT 0x9053
  4528. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  4529. #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
  4530. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
  4531. #define GL_INT_IMAGE_1D_EXT 0x9057
  4532. #define GL_INT_IMAGE_2D_EXT 0x9058
  4533. #define GL_INT_IMAGE_3D_EXT 0x9059
  4534. #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
  4535. #define GL_INT_IMAGE_CUBE_EXT 0x905B
  4536. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  4537. #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
  4538. #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
  4539. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  4540. #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
  4541. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
  4542. #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
  4543. #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
  4544. #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
  4545. #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
  4546. #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
  4547. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  4548. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
  4549. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
  4550. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  4551. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
  4552. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
  4553. #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
  4554. #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
  4555. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
  4556. #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
  4557. #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
  4558. #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
  4559. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
  4560. #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
  4561. #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
  4562. #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
  4563. #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
  4564. #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
  4565. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
  4566. #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
  4567. #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
  4568. #endif
  4569. #ifndef GL_EXT_vertex_attrib_64bit
  4570. /* reuse GL_DOUBLE */
  4571. #define GL_DOUBLE_VEC2_EXT 0x8FFC
  4572. #define GL_DOUBLE_VEC3_EXT 0x8FFD
  4573. #define GL_DOUBLE_VEC4_EXT 0x8FFE
  4574. #define GL_DOUBLE_MAT2_EXT 0x8F46
  4575. #define GL_DOUBLE_MAT3_EXT 0x8F47
  4576. #define GL_DOUBLE_MAT4_EXT 0x8F48
  4577. #define GL_DOUBLE_MAT2x3_EXT 0x8F49
  4578. #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
  4579. #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
  4580. #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
  4581. #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
  4582. #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
  4583. #endif
  4584. #ifndef GL_NV_gpu_program5
  4585. #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
  4586. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
  4587. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
  4588. #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
  4589. #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
  4590. #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
  4591. #endif
  4592. #ifndef GL_NV_gpu_shader5
  4593. #define GL_INT64_NV 0x140E
  4594. #define GL_UNSIGNED_INT64_NV 0x140F
  4595. #define GL_INT8_NV 0x8FE0
  4596. #define GL_INT8_VEC2_NV 0x8FE1
  4597. #define GL_INT8_VEC3_NV 0x8FE2
  4598. #define GL_INT8_VEC4_NV 0x8FE3
  4599. #define GL_INT16_NV 0x8FE4
  4600. #define GL_INT16_VEC2_NV 0x8FE5
  4601. #define GL_INT16_VEC3_NV 0x8FE6
  4602. #define GL_INT16_VEC4_NV 0x8FE7
  4603. #define GL_INT64_VEC2_NV 0x8FE9
  4604. #define GL_INT64_VEC3_NV 0x8FEA
  4605. #define GL_INT64_VEC4_NV 0x8FEB
  4606. #define GL_UNSIGNED_INT8_NV 0x8FEC
  4607. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  4608. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  4609. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  4610. #define GL_UNSIGNED_INT16_NV 0x8FF0
  4611. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  4612. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  4613. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  4614. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  4615. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  4616. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  4617. #define GL_FLOAT16_NV 0x8FF8
  4618. #define GL_FLOAT16_VEC2_NV 0x8FF9
  4619. #define GL_FLOAT16_VEC3_NV 0x8FFA
  4620. #define GL_FLOAT16_VEC4_NV 0x8FFB
  4621. /* reuse GL_PATCHES */
  4622. #endif
  4623. #ifndef GL_NV_shader_buffer_store
  4624. #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
  4625. /* reuse GL_READ_WRITE */
  4626. /* reuse GL_WRITE_ONLY */
  4627. #endif
  4628. #ifndef GL_NV_tessellation_program5
  4629. #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
  4630. #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
  4631. #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
  4632. #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
  4633. #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
  4634. #endif
  4635. #ifndef GL_NV_vertex_attrib_integer_64bit
  4636. /* reuse GL_INT64_NV */
  4637. /* reuse GL_UNSIGNED_INT64_NV */
  4638. #endif
  4639. #ifndef GL_NV_multisample_coverage
  4640. #define GL_COVERAGE_SAMPLES_NV 0x80A9
  4641. #define GL_COLOR_SAMPLES_NV 0x8E20
  4642. #endif
  4643. #ifndef GL_AMD_name_gen_delete
  4644. #define GL_DATA_BUFFER_AMD 0x9151
  4645. #define GL_PERFORMANCE_MONITOR_AMD 0x9152
  4646. #define GL_QUERY_OBJECT_AMD 0x9153
  4647. #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
  4648. #define GL_SAMPLER_OBJECT_AMD 0x9155
  4649. #endif
  4650. #ifndef GL_AMD_debug_output
  4651. #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
  4652. #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
  4653. #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
  4654. #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
  4655. #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
  4656. #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
  4657. #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
  4658. #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
  4659. #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
  4660. #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
  4661. #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
  4662. #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
  4663. #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
  4664. #endif
  4665. #ifndef GL_NV_vdpau_interop
  4666. #define GL_SURFACE_STATE_NV 0x86EB
  4667. #define GL_SURFACE_REGISTERED_NV 0x86FD
  4668. #define GL_SURFACE_MAPPED_NV 0x8700
  4669. #define GL_WRITE_DISCARD_NV 0x88BE
  4670. #endif
  4671. #ifndef GL_AMD_transform_feedback3_lines_triangles
  4672. #endif
  4673. /*************************************************************/
  4674. #include <stddef.h>
  4675. #ifndef GL_VERSION_2_0
  4676. /* GL type for program/shader text */
  4677. typedef char GLchar;
  4678. #endif
  4679. #ifndef GL_VERSION_1_5
  4680. /* GL types for handling large vertex buffer objects */
  4681. #if defined(__APPLE__)
  4682. typedef long GLintptr;
  4683. typedef long GLsizeiptr;
  4684. #else
  4685. typedef ptrdiff_t GLintptr;
  4686. typedef ptrdiff_t GLsizeiptr;
  4687. #endif
  4688. #endif
  4689. #ifndef GL_ARB_vertex_buffer_object
  4690. /* GL types for handling large vertex buffer objects */
  4691. #if defined(__APPLE__)
  4692. typedef long GLintptrARB;
  4693. typedef long GLsizeiptrARB;
  4694. #else
  4695. typedef ptrdiff_t GLintptrARB;
  4696. typedef ptrdiff_t GLsizeiptrARB;
  4697. #endif
  4698. #endif
  4699. #ifndef GL_ARB_shader_objects
  4700. /* GL types for program/shader text and shader object handles */
  4701. typedef char GLcharARB;
  4702. #if defined(__APPLE__)
  4703. typedef void *GLhandleARB;
  4704. #else
  4705. typedef unsigned int GLhandleARB;
  4706. #endif
  4707. #endif
  4708. /* GL type for "half" precision (s10e5) float data in host memory */
  4709. #ifndef GL_ARB_half_float_pixel
  4710. typedef unsigned short GLhalfARB;
  4711. #endif
  4712. #ifndef GL_NV_half_float
  4713. typedef unsigned short GLhalfNV;
  4714. #endif
  4715. #ifndef GLEXT_64_TYPES_DEFINED
  4716. /* This code block is duplicated in glxext.h, so must be protected */
  4717. #define GLEXT_64_TYPES_DEFINED
  4718. /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
  4719. /* (as used in the GL_EXT_timer_query extension). */
  4720. #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  4721. #include <inttypes.h>
  4722. #elif defined(__sun__) || defined(__digital__)
  4723. #include <inttypes.h>
  4724. #if defined(__STDC__)
  4725. #if defined(__arch64__) || defined(_LP64)
  4726. typedef long int int64_t;
  4727. typedef unsigned long int uint64_t;
  4728. #else
  4729. typedef long long int int64_t;
  4730. typedef unsigned long long int uint64_t;
  4731. #endif /* __arch64__ */
  4732. #endif /* __STDC__ */
  4733. #elif defined( __VMS ) || defined(__sgi)
  4734. #include <inttypes.h>
  4735. #elif defined(__SCO__) || defined(__USLC__)
  4736. #include <stdint.h>
  4737. #elif defined(__UNIXOS2__) || defined(__SOL64__)
  4738. typedef long int int32_t;
  4739. typedef long long int int64_t;
  4740. typedef unsigned long long int uint64_t;
  4741. #elif defined(_WIN32) && defined(__GNUC__)
  4742. #include <stdint.h>
  4743. #elif defined(_WIN32)
  4744. typedef __int32 int32_t;
  4745. typedef __int64 int64_t;
  4746. typedef unsigned __int64 uint64_t;
  4747. #else
  4748. /* Fallback if nothing above works */
  4749. #include <inttypes.h>
  4750. #endif
  4751. #endif
  4752. #ifndef GL_EXT_timer_query
  4753. typedef int64_t GLint64EXT;
  4754. typedef uint64_t GLuint64EXT;
  4755. #endif
  4756. #ifndef GL_ARB_sync
  4757. typedef int64_t GLint64;
  4758. typedef uint64_t GLuint64;
  4759. typedef struct __GLsync *GLsync;
  4760. #endif
  4761. #ifndef GL_ARB_cl_event
  4762. /* These incomplete types let us declare types compatible with OpenCL's cl_context and cl_event */
  4763. struct _cl_context;
  4764. struct _cl_event;
  4765. #endif
  4766. #ifndef GL_ARB_debug_output
  4767. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
  4768. #endif
  4769. #ifndef GL_AMD_debug_output
  4770. typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
  4771. #endif
  4772. #ifndef GL_NV_vdpau_interop
  4773. typedef GLintptr GLvdpauSurfaceNV;
  4774. #endif
  4775. #ifndef GL_VERSION_1_2
  4776. #define GL_VERSION_1_2 1
  4777. #ifdef GL_GLEXT_PROTOTYPES
  4778. GLAPI void APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  4779. GLAPI void APIENTRY glBlendEquation (GLenum mode);
  4780. GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  4781. GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  4782. GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  4783. GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  4784. #endif /* GL_GLEXT_PROTOTYPES */
  4785. typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  4786. typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  4787. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  4788. typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  4789. typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  4790. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  4791. #endif
  4792. #ifndef GL_VERSION_1_2_DEPRECATED
  4793. #define GL_VERSION_1_2_DEPRECATED 1
  4794. #ifdef GL_GLEXT_PROTOTYPES
  4795. GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  4796. GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  4797. GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
  4798. GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  4799. GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table);
  4800. GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
  4801. GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
  4802. GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  4803. GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  4804. GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  4805. GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  4806. GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
  4807. GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  4808. GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
  4809. GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
  4810. GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  4811. GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  4812. GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image);
  4813. GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
  4814. GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
  4815. GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  4816. GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  4817. GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  4818. GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
  4819. GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
  4820. GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  4821. GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
  4822. GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
  4823. GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  4824. GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
  4825. GLAPI void APIENTRY glResetHistogram (GLenum target);
  4826. GLAPI void APIENTRY glResetMinmax (GLenum target);
  4827. #endif /* GL_GLEXT_PROTOTYPES */
  4828. typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  4829. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  4830. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  4831. typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  4832. typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  4833. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4834. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4835. typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  4836. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  4837. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  4838. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  4839. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  4840. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  4841. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  4842. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  4843. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  4844. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  4845. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  4846. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4847. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4848. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  4849. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  4850. typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  4851. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4852. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4853. typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  4854. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4855. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4856. typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  4857. typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  4858. typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  4859. typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  4860. #endif
  4861. #ifndef GL_VERSION_1_3
  4862. #define GL_VERSION_1_3 1
  4863. #ifdef GL_GLEXT_PROTOTYPES
  4864. GLAPI void APIENTRY glActiveTexture (GLenum texture);
  4865. GLAPI void APIENTRY glSampleCoverage (GLclampf value, GLboolean invert);
  4866. GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  4867. GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  4868. GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  4869. GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  4870. GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  4871. GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  4872. GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, GLvoid *img);
  4873. #endif /* GL_GLEXT_PROTOTYPES */
  4874. typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  4875. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
  4876. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  4877. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  4878. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  4879. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  4880. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  4881. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  4882. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
  4883. #endif
  4884. #ifndef GL_VERSION_1_3_DEPRECATED
  4885. #define GL_VERSION_1_3_DEPRECATED 1
  4886. #ifdef GL_GLEXT_PROTOTYPES
  4887. GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
  4888. GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
  4889. GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
  4890. GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
  4891. GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
  4892. GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
  4893. GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
  4894. GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
  4895. GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
  4896. GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
  4897. GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
  4898. GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
  4899. GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
  4900. GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
  4901. GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
  4902. GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
  4903. GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
  4904. GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  4905. GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
  4906. GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  4907. GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
  4908. GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
  4909. GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
  4910. GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
  4911. GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
  4912. GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  4913. GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
  4914. GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  4915. GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
  4916. GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
  4917. GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
  4918. GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  4919. GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
  4920. GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
  4921. GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
  4922. GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
  4923. GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
  4924. #endif /* GL_GLEXT_PROTOTYPES */
  4925. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  4926. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  4927. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  4928. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  4929. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  4930. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  4931. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  4932. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  4933. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  4934. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  4935. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  4936. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  4937. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  4938. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  4939. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  4940. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  4941. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  4942. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  4943. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  4944. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  4945. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  4946. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  4947. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  4948. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  4949. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  4950. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  4951. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  4952. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  4953. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  4954. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  4955. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  4956. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  4957. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  4958. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  4959. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  4960. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  4961. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  4962. #endif
  4963. #ifndef GL_VERSION_1_4
  4964. #define GL_VERSION_1_4 1
  4965. #ifdef GL_GLEXT_PROTOTYPES
  4966. GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  4967. GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  4968. GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  4969. GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
  4970. GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
  4971. GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
  4972. GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
  4973. #endif /* GL_GLEXT_PROTOTYPES */
  4974. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  4975. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  4976. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  4977. typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  4978. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  4979. typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  4980. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  4981. #endif
  4982. #ifndef GL_VERSION_1_4_DEPRECATED
  4983. #define GL_VERSION_1_4_DEPRECATED 1
  4984. #ifdef GL_GLEXT_PROTOTYPES
  4985. GLAPI void APIENTRY glFogCoordf (GLfloat coord);
  4986. GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
  4987. GLAPI void APIENTRY glFogCoordd (GLdouble coord);
  4988. GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
  4989. GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
  4990. GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
  4991. GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
  4992. GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
  4993. GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
  4994. GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
  4995. GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
  4996. GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
  4997. GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
  4998. GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
  4999. GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
  5000. GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
  5001. GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
  5002. GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
  5003. GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
  5004. GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
  5005. GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
  5006. GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5007. GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
  5008. GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
  5009. GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
  5010. GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
  5011. GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
  5012. GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
  5013. GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
  5014. GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
  5015. GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
  5016. GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
  5017. GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
  5018. GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
  5019. GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
  5020. GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
  5021. GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
  5022. GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
  5023. #endif /* GL_GLEXT_PROTOTYPES */
  5024. typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
  5025. typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  5026. typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
  5027. typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  5028. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  5029. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  5030. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  5031. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  5032. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  5033. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  5034. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  5035. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  5036. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  5037. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  5038. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  5039. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  5040. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  5041. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  5042. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  5043. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  5044. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  5045. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5046. typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  5047. typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
  5048. typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  5049. typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
  5050. typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  5051. typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
  5052. typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  5053. typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
  5054. typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  5055. typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
  5056. typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  5057. typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
  5058. typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  5059. typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
  5060. typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  5061. typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
  5062. #endif
  5063. #ifndef GL_VERSION_1_5
  5064. #define GL_VERSION_1_5 1
  5065. #ifdef GL_GLEXT_PROTOTYPES
  5066. GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
  5067. GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
  5068. GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
  5069. GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
  5070. GLAPI void APIENTRY glEndQuery (GLenum target);
  5071. GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
  5072. GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
  5073. GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
  5074. GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
  5075. GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
  5076. GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
  5077. GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
  5078. GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
  5079. GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  5080. GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
  5081. GLAPI GLvoid* APIENTRY glMapBuffer (GLenum target, GLenum access);
  5082. GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
  5083. GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
  5084. GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoid* *params);
  5085. #endif /* GL_GLEXT_PROTOTYPES */
  5086. typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  5087. typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  5088. typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  5089. typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  5090. typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  5091. typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  5092. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  5093. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  5094. typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  5095. typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  5096. typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  5097. typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  5098. typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
  5099. typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  5100. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
  5101. typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  5102. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  5103. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  5104. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
  5105. #endif
  5106. #ifndef GL_VERSION_2_0
  5107. #define GL_VERSION_2_0 1
  5108. #ifdef GL_GLEXT_PROTOTYPES
  5109. GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
  5110. GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
  5111. GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  5112. GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
  5113. GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
  5114. GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
  5115. GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
  5116. GLAPI void APIENTRY glCompileShader (GLuint shader);
  5117. GLAPI GLuint APIENTRY glCreateProgram (void);
  5118. GLAPI GLuint APIENTRY glCreateShader (GLenum type);
  5119. GLAPI void APIENTRY glDeleteProgram (GLuint program);
  5120. GLAPI void APIENTRY glDeleteShader (GLuint shader);
  5121. GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
  5122. GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
  5123. GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
  5124. GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  5125. GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  5126. GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
  5127. GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
  5128. GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
  5129. GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  5130. GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
  5131. GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  5132. GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  5133. GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
  5134. GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
  5135. GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
  5136. GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
  5137. GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
  5138. GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
  5139. GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid* *pointer);
  5140. GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
  5141. GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
  5142. GLAPI void APIENTRY glLinkProgram (GLuint program);
  5143. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
  5144. GLAPI void APIENTRY glUseProgram (GLuint program);
  5145. GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
  5146. GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
  5147. GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  5148. GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  5149. GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
  5150. GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
  5151. GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
  5152. GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  5153. GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
  5154. GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
  5155. GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
  5156. GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
  5157. GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
  5158. GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
  5159. GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
  5160. GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
  5161. GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5162. GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5163. GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5164. GLAPI void APIENTRY glValidateProgram (GLuint program);
  5165. GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
  5166. GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
  5167. GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
  5168. GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
  5169. GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
  5170. GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
  5171. GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
  5172. GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
  5173. GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
  5174. GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
  5175. GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
  5176. GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
  5177. GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  5178. GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
  5179. GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  5180. GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
  5181. GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
  5182. GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
  5183. GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
  5184. GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
  5185. GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
  5186. GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  5187. GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
  5188. GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
  5189. GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
  5190. GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
  5191. GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5192. GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
  5193. GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5194. GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
  5195. GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
  5196. GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  5197. GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
  5198. GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
  5199. GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
  5200. GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
  5201. GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  5202. #endif /* GL_GLEXT_PROTOTYPES */
  5203. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  5204. typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  5205. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  5206. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
  5207. typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  5208. typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  5209. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  5210. typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  5211. typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  5212. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  5213. typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  5214. typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  5215. typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  5216. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  5217. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  5218. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  5219. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  5220. typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
  5221. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  5222. typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  5223. typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  5224. typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  5225. typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  5226. typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  5227. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  5228. typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  5229. typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  5230. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  5231. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  5232. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  5233. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  5234. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  5235. typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  5236. typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  5237. typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
  5238. typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  5239. typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  5240. typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  5241. typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  5242. typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  5243. typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  5244. typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  5245. typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  5246. typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  5247. typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  5248. typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  5249. typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  5250. typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  5251. typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  5252. typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  5253. typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  5254. typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  5255. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5256. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5257. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5258. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  5259. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  5260. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  5261. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  5262. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  5263. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  5264. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  5265. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  5266. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  5267. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  5268. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  5269. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  5270. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  5271. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  5272. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  5273. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  5274. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  5275. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  5276. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  5277. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  5278. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  5279. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  5280. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  5281. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  5282. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  5283. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  5284. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  5285. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5286. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  5287. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5288. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  5289. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  5290. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  5291. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  5292. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  5293. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  5294. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  5295. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  5296. #endif
  5297. #ifndef GL_VERSION_2_1
  5298. #define GL_VERSION_2_1 1
  5299. #ifdef GL_GLEXT_PROTOTYPES
  5300. GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5301. GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5302. GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5303. GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5304. GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5305. GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5306. #endif /* GL_GLEXT_PROTOTYPES */
  5307. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5308. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5309. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5310. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5311. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5312. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5313. #endif
  5314. #ifndef GL_VERSION_3_0
  5315. #define GL_VERSION_3_0 1
  5316. /* OpenGL 3.0 also reuses entry points from these extensions: */
  5317. /* ARB_framebuffer_object */
  5318. /* ARB_map_buffer_range */
  5319. /* ARB_vertex_array_object */
  5320. #ifdef GL_GLEXT_PROTOTYPES
  5321. GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  5322. GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
  5323. GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
  5324. GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
  5325. GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
  5326. GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
  5327. GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
  5328. GLAPI void APIENTRY glEndTransformFeedback (void);
  5329. GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  5330. GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
  5331. GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
  5332. GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  5333. GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
  5334. GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
  5335. GLAPI void APIENTRY glEndConditionalRender (void);
  5336. GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5337. GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
  5338. GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
  5339. GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
  5340. GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
  5341. GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
  5342. GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
  5343. GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
  5344. GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
  5345. GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
  5346. GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  5347. GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
  5348. GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
  5349. GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
  5350. GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
  5351. GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
  5352. GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
  5353. GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
  5354. GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
  5355. GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
  5356. GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
  5357. GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
  5358. GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
  5359. GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
  5360. GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
  5361. GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
  5362. GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
  5363. GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
  5364. GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
  5365. GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  5366. GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
  5367. GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
  5368. GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
  5369. GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
  5370. GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
  5371. GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
  5372. GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
  5373. GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
  5374. GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
  5375. GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
  5376. GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  5377. GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  5378. GLAPI const GLubyte * APIENTRY glGetStringi (GLenum name, GLuint index);
  5379. #endif /* GL_GLEXT_PROTOTYPES */
  5380. typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  5381. typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  5382. typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  5383. typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  5384. typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  5385. typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  5386. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  5387. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  5388. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  5389. typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  5390. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
  5391. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  5392. typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  5393. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  5394. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  5395. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5396. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  5397. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  5398. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  5399. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  5400. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  5401. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  5402. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  5403. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  5404. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  5405. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  5406. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  5407. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  5408. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  5409. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  5410. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  5411. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  5412. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  5413. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  5414. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  5415. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  5416. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  5417. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  5418. typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  5419. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  5420. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  5421. typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  5422. typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  5423. typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  5424. typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  5425. typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  5426. typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  5427. typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  5428. typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  5429. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  5430. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  5431. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  5432. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  5433. typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  5434. typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  5435. typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  5436. typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  5437. typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  5438. #endif
  5439. #ifndef GL_VERSION_3_1
  5440. #define GL_VERSION_3_1 1
  5441. /* OpenGL 3.1 also reuses entry points from these extensions: */
  5442. /* ARB_copy_buffer */
  5443. /* ARB_uniform_buffer_object */
  5444. #ifdef GL_GLEXT_PROTOTYPES
  5445. GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  5446. GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  5447. GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
  5448. GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
  5449. #endif /* GL_GLEXT_PROTOTYPES */
  5450. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  5451. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  5452. typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  5453. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
  5454. #endif
  5455. #ifndef GL_VERSION_3_2
  5456. #define GL_VERSION_3_2 1
  5457. /* OpenGL 3.2 also reuses entry points from these extensions: */
  5458. /* ARB_draw_elements_base_vertex */
  5459. /* ARB_provoking_vertex */
  5460. /* ARB_sync */
  5461. /* ARB_texture_multisample */
  5462. #ifdef GL_GLEXT_PROTOTYPES
  5463. GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
  5464. GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
  5465. GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
  5466. #endif /* GL_GLEXT_PROTOTYPES */
  5467. typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
  5468. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
  5469. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  5470. #endif
  5471. #ifndef GL_VERSION_3_3
  5472. #define GL_VERSION_3_3 1
  5473. /* OpenGL 3.3 also reuses entry points from these extensions: */
  5474. /* ARB_blend_func_extended */
  5475. /* ARB_sampler_objects */
  5476. /* ARB_explicit_attrib_location, but it has none */
  5477. /* ARB_occlusion_query2 (no entry points) */
  5478. /* ARB_shader_bit_encoding (no entry points) */
  5479. /* ARB_texture_rgb10_a2ui (no entry points) */
  5480. /* ARB_texture_swizzle (no entry points) */
  5481. /* ARB_timer_query */
  5482. /* ARB_vertex_type_2_10_10_10_rev */
  5483. #ifdef GL_GLEXT_PROTOTYPES
  5484. GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
  5485. #endif /* GL_GLEXT_PROTOTYPES */
  5486. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  5487. #endif
  5488. #ifndef GL_VERSION_4_0
  5489. #define GL_VERSION_4_0 1
  5490. /* OpenGL 4.0 also reuses entry points from these extensions: */
  5491. /* ARB_texture_query_lod (no entry points) */
  5492. /* ARB_draw_indirect */
  5493. /* ARB_gpu_shader5 (no entry points) */
  5494. /* ARB_gpu_shader_fp64 */
  5495. /* ARB_shader_subroutine */
  5496. /* ARB_tessellation_shader */
  5497. /* ARB_texture_buffer_object_rgb32 (no entry points) */
  5498. /* ARB_texture_cube_map_array (no entry points) */
  5499. /* ARB_texture_gather (no entry points) */
  5500. /* ARB_transform_feedback2 */
  5501. /* ARB_transform_feedback3 */
  5502. #ifdef GL_GLEXT_PROTOTYPES
  5503. GLAPI void APIENTRY glMinSampleShading (GLclampf value);
  5504. GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
  5505. GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  5506. GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
  5507. GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  5508. #endif /* GL_GLEXT_PROTOTYPES */
  5509. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLclampf value);
  5510. typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  5511. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  5512. typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  5513. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  5514. #endif
  5515. #ifndef GL_VERSION_4_1
  5516. #define GL_VERSION_4_1 1
  5517. /* OpenGL 4.1 also reuses entry points from these extensions: */
  5518. /* ARB_ES2_compatibility */
  5519. /* ARB_get_program_binary */
  5520. /* ARB_separate_shader_objects */
  5521. /* ARB_shader_precision (no entry points) */
  5522. /* ARB_vertex_attrib_64bit */
  5523. /* ARB_viewport_array */
  5524. #endif
  5525. #ifndef GL_ARB_multitexture
  5526. #define GL_ARB_multitexture 1
  5527. #ifdef GL_GLEXT_PROTOTYPES
  5528. GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
  5529. GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
  5530. GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
  5531. GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
  5532. GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
  5533. GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
  5534. GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
  5535. GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
  5536. GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
  5537. GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
  5538. GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
  5539. GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
  5540. GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
  5541. GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
  5542. GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
  5543. GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
  5544. GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
  5545. GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
  5546. GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  5547. GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
  5548. GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  5549. GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
  5550. GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
  5551. GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
  5552. GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
  5553. GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
  5554. GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  5555. GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
  5556. GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  5557. GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
  5558. GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
  5559. GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
  5560. GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  5561. GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
  5562. #endif /* GL_GLEXT_PROTOTYPES */
  5563. typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  5564. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  5565. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  5566. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  5567. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  5568. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  5569. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  5570. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  5571. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  5572. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  5573. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  5574. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  5575. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  5576. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  5577. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  5578. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  5579. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  5580. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  5581. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  5582. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  5583. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  5584. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  5585. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  5586. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  5587. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  5588. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  5589. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  5590. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  5591. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  5592. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  5593. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  5594. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  5595. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  5596. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  5597. #endif
  5598. #ifndef GL_ARB_transpose_matrix
  5599. #define GL_ARB_transpose_matrix 1
  5600. #ifdef GL_GLEXT_PROTOTYPES
  5601. GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
  5602. GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
  5603. GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
  5604. GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
  5605. #endif /* GL_GLEXT_PROTOTYPES */
  5606. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  5607. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  5608. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  5609. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  5610. #endif
  5611. #ifndef GL_ARB_multisample
  5612. #define GL_ARB_multisample 1
  5613. #ifdef GL_GLEXT_PROTOTYPES
  5614. GLAPI void APIENTRY glSampleCoverageARB (GLclampf value, GLboolean invert);
  5615. #endif /* GL_GLEXT_PROTOTYPES */
  5616. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
  5617. #endif
  5618. #ifndef GL_ARB_texture_env_add
  5619. #define GL_ARB_texture_env_add 1
  5620. #endif
  5621. #ifndef GL_ARB_texture_cube_map
  5622. #define GL_ARB_texture_cube_map 1
  5623. #endif
  5624. #ifndef GL_ARB_texture_compression
  5625. #define GL_ARB_texture_compression 1
  5626. #ifdef GL_GLEXT_PROTOTYPES
  5627. GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  5628. GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  5629. GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  5630. GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  5631. GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  5632. GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  5633. GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, GLvoid *img);
  5634. #endif /* GL_GLEXT_PROTOTYPES */
  5635. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  5636. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  5637. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  5638. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  5639. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  5640. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  5641. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
  5642. #endif
  5643. #ifndef GL_ARB_texture_border_clamp
  5644. #define GL_ARB_texture_border_clamp 1
  5645. #endif
  5646. #ifndef GL_ARB_point_parameters
  5647. #define GL_ARB_point_parameters 1
  5648. #ifdef GL_GLEXT_PROTOTYPES
  5649. GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
  5650. GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
  5651. #endif /* GL_GLEXT_PROTOTYPES */
  5652. typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  5653. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  5654. #endif
  5655. #ifndef GL_ARB_vertex_blend
  5656. #define GL_ARB_vertex_blend 1
  5657. #ifdef GL_GLEXT_PROTOTYPES
  5658. GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
  5659. GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
  5660. GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
  5661. GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
  5662. GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
  5663. GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
  5664. GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
  5665. GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
  5666. GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5667. GLAPI void APIENTRY glVertexBlendARB (GLint count);
  5668. #endif /* GL_GLEXT_PROTOTYPES */
  5669. typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  5670. typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  5671. typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  5672. typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  5673. typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  5674. typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  5675. typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  5676. typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  5677. typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5678. typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  5679. #endif
  5680. #ifndef GL_ARB_matrix_palette
  5681. #define GL_ARB_matrix_palette 1
  5682. #ifdef GL_GLEXT_PROTOTYPES
  5683. GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
  5684. GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
  5685. GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
  5686. GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
  5687. GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5688. #endif /* GL_GLEXT_PROTOTYPES */
  5689. typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  5690. typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  5691. typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  5692. typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  5693. typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5694. #endif
  5695. #ifndef GL_ARB_texture_env_combine
  5696. #define GL_ARB_texture_env_combine 1
  5697. #endif
  5698. #ifndef GL_ARB_texture_env_crossbar
  5699. #define GL_ARB_texture_env_crossbar 1
  5700. #endif
  5701. #ifndef GL_ARB_texture_env_dot3
  5702. #define GL_ARB_texture_env_dot3 1
  5703. #endif
  5704. #ifndef GL_ARB_texture_mirrored_repeat
  5705. #define GL_ARB_texture_mirrored_repeat 1
  5706. #endif
  5707. #ifndef GL_ARB_depth_texture
  5708. #define GL_ARB_depth_texture 1
  5709. #endif
  5710. #ifndef GL_ARB_shadow
  5711. #define GL_ARB_shadow 1
  5712. #endif
  5713. #ifndef GL_ARB_shadow_ambient
  5714. #define GL_ARB_shadow_ambient 1
  5715. #endif
  5716. #ifndef GL_ARB_window_pos
  5717. #define GL_ARB_window_pos 1
  5718. #ifdef GL_GLEXT_PROTOTYPES
  5719. GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
  5720. GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
  5721. GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
  5722. GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
  5723. GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
  5724. GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
  5725. GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
  5726. GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
  5727. GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
  5728. GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
  5729. GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
  5730. GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
  5731. GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
  5732. GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
  5733. GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
  5734. GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
  5735. #endif /* GL_GLEXT_PROTOTYPES */
  5736. typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  5737. typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  5738. typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  5739. typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  5740. typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  5741. typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  5742. typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  5743. typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  5744. typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  5745. typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  5746. typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  5747. typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  5748. typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  5749. typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  5750. typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  5751. typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  5752. #endif
  5753. #ifndef GL_ARB_vertex_program
  5754. #define GL_ARB_vertex_program 1
  5755. #ifdef GL_GLEXT_PROTOTYPES
  5756. GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
  5757. GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
  5758. GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
  5759. GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
  5760. GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
  5761. GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
  5762. GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
  5763. GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
  5764. GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
  5765. GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
  5766. GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
  5767. GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
  5768. GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  5769. GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
  5770. GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  5771. GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
  5772. GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
  5773. GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
  5774. GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
  5775. GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
  5776. GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
  5777. GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  5778. GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
  5779. GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
  5780. GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
  5781. GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
  5782. GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5783. GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
  5784. GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5785. GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
  5786. GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
  5787. GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  5788. GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
  5789. GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
  5790. GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
  5791. GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
  5792. GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  5793. GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
  5794. GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
  5795. GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  5796. GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
  5797. GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
  5798. GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
  5799. GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5800. GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  5801. GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5802. GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  5803. GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5804. GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  5805. GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5806. GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  5807. GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  5808. GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  5809. GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  5810. GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  5811. GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
  5812. GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, GLvoid *string);
  5813. GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
  5814. GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
  5815. GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
  5816. GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, GLvoid* *pointer);
  5817. GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
  5818. #endif /* GL_GLEXT_PROTOTYPES */
  5819. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  5820. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  5821. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  5822. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  5823. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  5824. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  5825. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  5826. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  5827. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  5828. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  5829. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  5830. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  5831. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  5832. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  5833. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  5834. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  5835. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  5836. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  5837. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  5838. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  5839. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  5840. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  5841. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  5842. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  5843. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  5844. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  5845. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5846. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  5847. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5848. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  5849. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  5850. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  5851. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  5852. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  5853. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  5854. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  5855. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  5856. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  5857. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  5858. typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  5859. typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  5860. typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  5861. typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  5862. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5863. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  5864. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5865. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  5866. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5867. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  5868. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5869. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  5870. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  5871. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  5872. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  5873. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  5874. typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  5875. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
  5876. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  5877. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  5878. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  5879. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  5880. typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  5881. #endif
  5882. #ifndef GL_ARB_fragment_program
  5883. #define GL_ARB_fragment_program 1
  5884. /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
  5885. #endif
  5886. #ifndef GL_ARB_vertex_buffer_object
  5887. #define GL_ARB_vertex_buffer_object 1
  5888. #ifdef GL_GLEXT_PROTOTYPES
  5889. GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
  5890. GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
  5891. GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
  5892. GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
  5893. GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
  5894. GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
  5895. GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
  5896. GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum target, GLenum access);
  5897. GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
  5898. GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
  5899. GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, GLvoid* *params);
  5900. #endif /* GL_GLEXT_PROTOTYPES */
  5901. typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  5902. typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  5903. typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  5904. typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  5905. typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
  5906. typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
  5907. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
  5908. typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  5909. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  5910. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  5911. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
  5912. #endif
  5913. #ifndef GL_ARB_occlusion_query
  5914. #define GL_ARB_occlusion_query 1
  5915. #ifdef GL_GLEXT_PROTOTYPES
  5916. GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
  5917. GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
  5918. GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
  5919. GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
  5920. GLAPI void APIENTRY glEndQueryARB (GLenum target);
  5921. GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
  5922. GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
  5923. GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
  5924. #endif /* GL_GLEXT_PROTOTYPES */
  5925. typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  5926. typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  5927. typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  5928. typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  5929. typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  5930. typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  5931. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  5932. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  5933. #endif
  5934. #ifndef GL_ARB_shader_objects
  5935. #define GL_ARB_shader_objects 1
  5936. #ifdef GL_GLEXT_PROTOTYPES
  5937. GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
  5938. GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
  5939. GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
  5940. GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
  5941. GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
  5942. GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
  5943. GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  5944. GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
  5945. GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
  5946. GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
  5947. GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
  5948. GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
  5949. GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
  5950. GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  5951. GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  5952. GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
  5953. GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
  5954. GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
  5955. GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  5956. GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
  5957. GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
  5958. GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
  5959. GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
  5960. GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
  5961. GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
  5962. GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
  5963. GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
  5964. GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5965. GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5966. GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5967. GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
  5968. GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
  5969. GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  5970. GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  5971. GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
  5972. GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  5973. GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
  5974. GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
  5975. GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  5976. #endif /* GL_GLEXT_PROTOTYPES */
  5977. typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  5978. typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  5979. typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  5980. typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  5981. typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
  5982. typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  5983. typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  5984. typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  5985. typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  5986. typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  5987. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  5988. typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  5989. typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  5990. typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  5991. typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  5992. typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  5993. typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  5994. typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  5995. typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  5996. typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  5997. typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  5998. typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  5999. typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  6000. typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  6001. typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  6002. typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  6003. typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  6004. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6005. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6006. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6007. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  6008. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  6009. typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  6010. typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  6011. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  6012. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  6013. typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  6014. typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  6015. typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  6016. #endif
  6017. #ifndef GL_ARB_vertex_shader
  6018. #define GL_ARB_vertex_shader 1
  6019. #ifdef GL_GLEXT_PROTOTYPES
  6020. GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  6021. GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  6022. GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
  6023. #endif /* GL_GLEXT_PROTOTYPES */
  6024. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  6025. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  6026. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  6027. #endif
  6028. #ifndef GL_ARB_fragment_shader
  6029. #define GL_ARB_fragment_shader 1
  6030. #endif
  6031. #ifndef GL_ARB_shading_language_100
  6032. #define GL_ARB_shading_language_100 1
  6033. #endif
  6034. #ifndef GL_ARB_texture_non_power_of_two
  6035. #define GL_ARB_texture_non_power_of_two 1
  6036. #endif
  6037. #ifndef GL_ARB_point_sprite
  6038. #define GL_ARB_point_sprite 1
  6039. #endif
  6040. #ifndef GL_ARB_fragment_program_shadow
  6041. #define GL_ARB_fragment_program_shadow 1
  6042. #endif
  6043. #ifndef GL_ARB_draw_buffers
  6044. #define GL_ARB_draw_buffers 1
  6045. #ifdef GL_GLEXT_PROTOTYPES
  6046. GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
  6047. #endif /* GL_GLEXT_PROTOTYPES */
  6048. typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  6049. #endif
  6050. #ifndef GL_ARB_texture_rectangle
  6051. #define GL_ARB_texture_rectangle 1
  6052. #endif
  6053. #ifndef GL_ARB_color_buffer_float
  6054. #define GL_ARB_color_buffer_float 1
  6055. #ifdef GL_GLEXT_PROTOTYPES
  6056. GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
  6057. #endif /* GL_GLEXT_PROTOTYPES */
  6058. typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  6059. #endif
  6060. #ifndef GL_ARB_half_float_pixel
  6061. #define GL_ARB_half_float_pixel 1
  6062. #endif
  6063. #ifndef GL_ARB_texture_float
  6064. #define GL_ARB_texture_float 1
  6065. #endif
  6066. #ifndef GL_ARB_pixel_buffer_object
  6067. #define GL_ARB_pixel_buffer_object 1
  6068. #endif
  6069. #ifndef GL_ARB_depth_buffer_float
  6070. #define GL_ARB_depth_buffer_float 1
  6071. #endif
  6072. #ifndef GL_ARB_draw_instanced
  6073. #define GL_ARB_draw_instanced 1
  6074. #ifdef GL_GLEXT_PROTOTYPES
  6075. GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  6076. GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  6077. #endif /* GL_GLEXT_PROTOTYPES */
  6078. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  6079. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  6080. #endif
  6081. #ifndef GL_ARB_framebuffer_object
  6082. #define GL_ARB_framebuffer_object 1
  6083. #ifdef GL_GLEXT_PROTOTYPES
  6084. GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
  6085. GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
  6086. GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
  6087. GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
  6088. GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  6089. GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
  6090. GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
  6091. GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
  6092. GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
  6093. GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
  6094. GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
  6095. GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6096. GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6097. GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6098. GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6099. GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  6100. GLAPI void APIENTRY glGenerateMipmap (GLenum target);
  6101. GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  6102. GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6103. GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6104. #endif /* GL_GLEXT_PROTOTYPES */
  6105. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  6106. typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  6107. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  6108. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  6109. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  6110. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  6111. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  6112. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  6113. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  6114. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  6115. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  6116. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6117. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6118. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6119. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6120. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  6121. typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  6122. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  6123. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6124. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6125. #endif
  6126. #ifndef GL_ARB_framebuffer_sRGB
  6127. #define GL_ARB_framebuffer_sRGB 1
  6128. #endif
  6129. #ifndef GL_ARB_geometry_shader4
  6130. #define GL_ARB_geometry_shader4 1
  6131. #ifdef GL_GLEXT_PROTOTYPES
  6132. GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
  6133. GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
  6134. GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6135. GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  6136. #endif /* GL_GLEXT_PROTOTYPES */
  6137. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  6138. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  6139. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6140. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  6141. #endif
  6142. #ifndef GL_ARB_half_float_vertex
  6143. #define GL_ARB_half_float_vertex 1
  6144. #endif
  6145. #ifndef GL_ARB_instanced_arrays
  6146. #define GL_ARB_instanced_arrays 1
  6147. #ifdef GL_GLEXT_PROTOTYPES
  6148. GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
  6149. #endif /* GL_GLEXT_PROTOTYPES */
  6150. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
  6151. #endif
  6152. #ifndef GL_ARB_map_buffer_range
  6153. #define GL_ARB_map_buffer_range 1
  6154. #ifdef GL_GLEXT_PROTOTYPES
  6155. GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  6156. GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
  6157. #endif /* GL_GLEXT_PROTOTYPES */
  6158. typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  6159. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  6160. #endif
  6161. #ifndef GL_ARB_texture_buffer_object
  6162. #define GL_ARB_texture_buffer_object 1
  6163. #ifdef GL_GLEXT_PROTOTYPES
  6164. GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
  6165. #endif /* GL_GLEXT_PROTOTYPES */
  6166. typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  6167. #endif
  6168. #ifndef GL_ARB_texture_compression_rgtc
  6169. #define GL_ARB_texture_compression_rgtc 1
  6170. #endif
  6171. #ifndef GL_ARB_texture_rg
  6172. #define GL_ARB_texture_rg 1
  6173. #endif
  6174. #ifndef GL_ARB_vertex_array_object
  6175. #define GL_ARB_vertex_array_object 1
  6176. #ifdef GL_GLEXT_PROTOTYPES
  6177. GLAPI void APIENTRY glBindVertexArray (GLuint array);
  6178. GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
  6179. GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
  6180. GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
  6181. #endif /* GL_GLEXT_PROTOTYPES */
  6182. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  6183. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  6184. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  6185. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  6186. #endif
  6187. #ifndef GL_ARB_uniform_buffer_object
  6188. #define GL_ARB_uniform_buffer_object 1
  6189. #ifdef GL_GLEXT_PROTOTYPES
  6190. GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices);
  6191. GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  6192. GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  6193. GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
  6194. GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  6195. GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  6196. GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  6197. #endif /* GL_GLEXT_PROTOTYPES */
  6198. typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* *uniformNames, GLuint *uniformIndices);
  6199. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  6200. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  6201. typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
  6202. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  6203. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  6204. typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  6205. #endif
  6206. #ifndef GL_ARB_compatibility
  6207. #define GL_ARB_compatibility 1
  6208. #endif
  6209. #ifndef GL_ARB_copy_buffer
  6210. #define GL_ARB_copy_buffer 1
  6211. #ifdef GL_GLEXT_PROTOTYPES
  6212. GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  6213. #endif /* GL_GLEXT_PROTOTYPES */
  6214. typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  6215. #endif
  6216. #ifndef GL_ARB_shader_texture_lod
  6217. #define GL_ARB_shader_texture_lod 1
  6218. #endif
  6219. #ifndef GL_ARB_depth_clamp
  6220. #define GL_ARB_depth_clamp 1
  6221. #endif
  6222. #ifndef GL_ARB_draw_elements_base_vertex
  6223. #define GL_ARB_draw_elements_base_vertex 1
  6224. #ifdef GL_GLEXT_PROTOTYPES
  6225. GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
  6226. GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
  6227. GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex);
  6228. GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, const GLint *basevertex);
  6229. #endif /* GL_GLEXT_PROTOTYPES */
  6230. typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
  6231. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
  6232. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex);
  6233. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, const GLint *basevertex);
  6234. #endif
  6235. #ifndef GL_ARB_fragment_coord_conventions
  6236. #define GL_ARB_fragment_coord_conventions 1
  6237. #endif
  6238. #ifndef GL_ARB_provoking_vertex
  6239. #define GL_ARB_provoking_vertex 1
  6240. #ifdef GL_GLEXT_PROTOTYPES
  6241. GLAPI void APIENTRY glProvokingVertex (GLenum mode);
  6242. #endif /* GL_GLEXT_PROTOTYPES */
  6243. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  6244. #endif
  6245. #ifndef GL_ARB_seamless_cube_map
  6246. #define GL_ARB_seamless_cube_map 1
  6247. #endif
  6248. #ifndef GL_ARB_sync
  6249. #define GL_ARB_sync 1
  6250. #ifdef GL_GLEXT_PROTOTYPES
  6251. GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
  6252. GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
  6253. GLAPI void APIENTRY glDeleteSync (GLsync sync);
  6254. GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  6255. GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  6256. GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *params);
  6257. GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  6258. #endif /* GL_GLEXT_PROTOTYPES */
  6259. typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
  6260. typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
  6261. typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
  6262. typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  6263. typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  6264. typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *params);
  6265. typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  6266. #endif
  6267. #ifndef GL_ARB_texture_multisample
  6268. #define GL_ARB_texture_multisample 1
  6269. #ifdef GL_GLEXT_PROTOTYPES
  6270. GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  6271. GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  6272. GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
  6273. GLAPI void APIENTRY glSampleMaski (GLuint index, GLbitfield mask);
  6274. #endif /* GL_GLEXT_PROTOTYPES */
  6275. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  6276. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  6277. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
  6278. typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask);
  6279. #endif
  6280. #ifndef GL_ARB_vertex_array_bgra
  6281. #define GL_ARB_vertex_array_bgra 1
  6282. #endif
  6283. #ifndef GL_ARB_draw_buffers_blend
  6284. #define GL_ARB_draw_buffers_blend 1
  6285. #ifdef GL_GLEXT_PROTOTYPES
  6286. GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
  6287. GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  6288. GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
  6289. GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  6290. #endif /* GL_GLEXT_PROTOTYPES */
  6291. typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  6292. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  6293. typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  6294. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  6295. #endif
  6296. #ifndef GL_ARB_sample_shading
  6297. #define GL_ARB_sample_shading 1
  6298. #ifdef GL_GLEXT_PROTOTYPES
  6299. GLAPI void APIENTRY glMinSampleShadingARB (GLclampf value);
  6300. #endif /* GL_GLEXT_PROTOTYPES */
  6301. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLclampf value);
  6302. #endif
  6303. #ifndef GL_ARB_texture_cube_map_array
  6304. #define GL_ARB_texture_cube_map_array 1
  6305. #endif
  6306. #ifndef GL_ARB_texture_gather
  6307. #define GL_ARB_texture_gather 1
  6308. #endif
  6309. #ifndef GL_ARB_texture_query_lod
  6310. #define GL_ARB_texture_query_lod 1
  6311. #endif
  6312. #ifndef GL_ARB_shading_language_include
  6313. #define GL_ARB_shading_language_include 1
  6314. #ifdef GL_GLEXT_PROTOTYPES
  6315. GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  6316. GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
  6317. GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length);
  6318. GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
  6319. GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  6320. GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  6321. #endif /* GL_GLEXT_PROTOTYPES */
  6322. typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  6323. typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  6324. typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length);
  6325. typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  6326. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  6327. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  6328. #endif
  6329. #ifndef GL_ARB_texture_compression_bptc
  6330. #define GL_ARB_texture_compression_bptc 1
  6331. #endif
  6332. #ifndef GL_ARB_blend_func_extended
  6333. #define GL_ARB_blend_func_extended 1
  6334. #ifdef GL_GLEXT_PROTOTYPES
  6335. GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  6336. GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
  6337. #endif /* GL_GLEXT_PROTOTYPES */
  6338. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  6339. typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
  6340. #endif
  6341. #ifndef GL_ARB_explicit_attrib_location
  6342. #define GL_ARB_explicit_attrib_location 1
  6343. #endif
  6344. #ifndef GL_ARB_occlusion_query2
  6345. #define GL_ARB_occlusion_query2 1
  6346. #endif
  6347. #ifndef GL_ARB_sampler_objects
  6348. #define GL_ARB_sampler_objects 1
  6349. #ifdef GL_GLEXT_PROTOTYPES
  6350. GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
  6351. GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
  6352. GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
  6353. GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
  6354. GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
  6355. GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
  6356. GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
  6357. GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
  6358. GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
  6359. GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
  6360. GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
  6361. GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
  6362. GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
  6363. GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
  6364. #endif /* GL_GLEXT_PROTOTYPES */
  6365. typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
  6366. typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
  6367. typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
  6368. typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  6369. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  6370. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  6371. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  6372. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
  6373. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  6374. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  6375. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  6376. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  6377. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
  6378. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
  6379. #endif
  6380. #ifndef GL_ARB_texture_rgb10_a2ui
  6381. #define GL_ARB_texture_rgb10_a2ui 1
  6382. #endif
  6383. #ifndef GL_ARB_texture_swizzle
  6384. #define GL_ARB_texture_swizzle 1
  6385. #endif
  6386. #ifndef GL_ARB_timer_query
  6387. #define GL_ARB_timer_query 1
  6388. #ifdef GL_GLEXT_PROTOTYPES
  6389. GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
  6390. GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
  6391. GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
  6392. #endif /* GL_GLEXT_PROTOTYPES */
  6393. typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  6394. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
  6395. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
  6396. #endif
  6397. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  6398. #define GL_ARB_vertex_type_2_10_10_10_rev 1
  6399. #ifdef GL_GLEXT_PROTOTYPES
  6400. GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
  6401. GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
  6402. GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
  6403. GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
  6404. GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
  6405. GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
  6406. GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
  6407. GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
  6408. GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
  6409. GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
  6410. GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
  6411. GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
  6412. GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
  6413. GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
  6414. GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
  6415. GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
  6416. GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
  6417. GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
  6418. GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
  6419. GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
  6420. GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
  6421. GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
  6422. GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
  6423. GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
  6424. GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
  6425. GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
  6426. GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
  6427. GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
  6428. GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
  6429. GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
  6430. GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6431. GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  6432. GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6433. GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  6434. GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6435. GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  6436. GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6437. GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  6438. #endif /* GL_GLEXT_PROTOTYPES */
  6439. typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
  6440. typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
  6441. typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
  6442. typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
  6443. typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
  6444. typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
  6445. typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
  6446. typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
  6447. typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
  6448. typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
  6449. typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
  6450. typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
  6451. typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
  6452. typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
  6453. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
  6454. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  6455. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
  6456. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  6457. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
  6458. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  6459. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
  6460. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  6461. typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
  6462. typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
  6463. typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
  6464. typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  6465. typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
  6466. typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
  6467. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
  6468. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  6469. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6470. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  6471. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6472. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  6473. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6474. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  6475. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6476. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  6477. #endif
  6478. #ifndef GL_ARB_draw_indirect
  6479. #define GL_ARB_draw_indirect 1
  6480. #ifdef GL_GLEXT_PROTOTYPES
  6481. GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const GLvoid *indirect);
  6482. GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const GLvoid *indirect);
  6483. #endif /* GL_GLEXT_PROTOTYPES */
  6484. typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const GLvoid *indirect);
  6485. typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const GLvoid *indirect);
  6486. #endif
  6487. #ifndef GL_ARB_gpu_shader5
  6488. #define GL_ARB_gpu_shader5 1
  6489. #endif
  6490. #ifndef GL_ARB_gpu_shader_fp64
  6491. #define GL_ARB_gpu_shader_fp64 1
  6492. #ifdef GL_GLEXT_PROTOTYPES
  6493. GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
  6494. GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
  6495. GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
  6496. GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6497. GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
  6498. GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
  6499. GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
  6500. GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
  6501. GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6502. GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6503. GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6504. GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6505. GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6506. GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6507. GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6508. GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6509. GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6510. GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
  6511. #endif /* GL_GLEXT_PROTOTYPES */
  6512. typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  6513. typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  6514. typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  6515. typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6516. typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  6517. typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  6518. typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  6519. typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  6520. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6521. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6522. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6523. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6524. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6525. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6526. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6527. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6528. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6529. typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
  6530. #endif
  6531. #ifndef GL_ARB_shader_subroutine
  6532. #define GL_ARB_shader_subroutine 1
  6533. #ifdef GL_GLEXT_PROTOTYPES
  6534. GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
  6535. GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
  6536. GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  6537. GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  6538. GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  6539. GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
  6540. GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
  6541. GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  6542. #endif /* GL_GLEXT_PROTOTYPES */
  6543. typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  6544. typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  6545. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  6546. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  6547. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  6548. typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
  6549. typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
  6550. typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  6551. #endif
  6552. #ifndef GL_ARB_tessellation_shader
  6553. #define GL_ARB_tessellation_shader 1
  6554. #ifdef GL_GLEXT_PROTOTYPES
  6555. GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
  6556. GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
  6557. #endif /* GL_GLEXT_PROTOTYPES */
  6558. typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  6559. typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
  6560. #endif
  6561. #ifndef GL_ARB_texture_buffer_object_rgb32
  6562. #define GL_ARB_texture_buffer_object_rgb32 1
  6563. #endif
  6564. #ifndef GL_ARB_transform_feedback2
  6565. #define GL_ARB_transform_feedback2 1
  6566. #ifdef GL_GLEXT_PROTOTYPES
  6567. GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
  6568. GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
  6569. GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
  6570. GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
  6571. GLAPI void APIENTRY glPauseTransformFeedback (void);
  6572. GLAPI void APIENTRY glResumeTransformFeedback (void);
  6573. GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
  6574. #endif /* GL_GLEXT_PROTOTYPES */
  6575. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  6576. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
  6577. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  6578. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  6579. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  6580. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  6581. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  6582. #endif
  6583. #ifndef GL_ARB_transform_feedback3
  6584. #define GL_ARB_transform_feedback3 1
  6585. #ifdef GL_GLEXT_PROTOTYPES
  6586. GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
  6587. GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
  6588. GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
  6589. GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
  6590. #endif /* GL_GLEXT_PROTOTYPES */
  6591. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  6592. typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  6593. typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  6594. typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  6595. #endif
  6596. #ifndef GL_ARB_ES2_compatibility
  6597. #define GL_ARB_ES2_compatibility 1
  6598. #ifdef GL_GLEXT_PROTOTYPES
  6599. GLAPI void APIENTRY glReleaseShaderCompiler (void);
  6600. GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
  6601. GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  6602. GLAPI void APIENTRY glDepthRangef (GLclampf n, GLclampf f);
  6603. GLAPI void APIENTRY glClearDepthf (GLclampf d);
  6604. #endif /* GL_GLEXT_PROTOTYPES */
  6605. typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
  6606. typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
  6607. typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  6608. typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLclampf n, GLclampf f);
  6609. typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLclampf d);
  6610. #endif
  6611. #ifndef GL_ARB_get_program_binary
  6612. #define GL_ARB_get_program_binary 1
  6613. #ifdef GL_GLEXT_PROTOTYPES
  6614. GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
  6615. GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
  6616. GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
  6617. #endif /* GL_GLEXT_PROTOTYPES */
  6618. typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
  6619. typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
  6620. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  6621. #endif
  6622. #ifndef GL_ARB_separate_shader_objects
  6623. #define GL_ARB_separate_shader_objects 1
  6624. #ifdef GL_GLEXT_PROTOTYPES
  6625. GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
  6626. GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
  6627. GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar* *strings);
  6628. GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
  6629. GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
  6630. GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
  6631. GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
  6632. GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
  6633. GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
  6634. GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  6635. GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
  6636. GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6637. GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
  6638. GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6639. GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
  6640. GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6641. GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
  6642. GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  6643. GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  6644. GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6645. GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  6646. GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6647. GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
  6648. GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6649. GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  6650. GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  6651. GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6652. GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6653. GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  6654. GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6655. GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  6656. GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6657. GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6658. GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  6659. GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6660. GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6661. GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  6662. GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6663. GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6664. GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6665. GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6666. GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6667. GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6668. GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6669. GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6670. GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6671. GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6672. GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6673. GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6674. GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6675. GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6676. GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6677. GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6678. GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6679. GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6680. GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6681. GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6682. GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6683. GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
  6684. GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  6685. #endif /* GL_GLEXT_PROTOTYPES */
  6686. typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  6687. typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  6688. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar* *strings);
  6689. typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  6690. typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
  6691. typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  6692. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  6693. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
  6694. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
  6695. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6696. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
  6697. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6698. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
  6699. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6700. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
  6701. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6702. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  6703. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6704. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  6705. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6706. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  6707. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6708. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  6709. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6710. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  6711. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6712. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6713. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6714. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  6715. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6716. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  6717. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6718. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6719. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6720. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6721. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6722. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  6723. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6724. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6725. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6726. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6727. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6728. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6729. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6730. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6731. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6732. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6733. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6734. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6735. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6736. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6737. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6738. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6739. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6740. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6741. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6742. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6743. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6744. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  6745. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  6746. #endif
  6747. #ifndef GL_ARB_vertex_attrib_64bit
  6748. #define GL_ARB_vertex_attrib_64bit 1
  6749. #ifdef GL_GLEXT_PROTOTYPES
  6750. GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
  6751. GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
  6752. GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  6753. GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6754. GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
  6755. GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
  6756. GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
  6757. GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
  6758. GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6759. GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
  6760. #endif /* GL_GLEXT_PROTOTYPES */
  6761. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  6762. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  6763. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  6764. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6765. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
  6766. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
  6767. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
  6768. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
  6769. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6770. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  6771. #endif
  6772. #ifndef GL_ARB_viewport_array
  6773. #define GL_ARB_viewport_array 1
  6774. #ifdef GL_GLEXT_PROTOTYPES
  6775. GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
  6776. GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  6777. GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
  6778. GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
  6779. GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  6780. GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
  6781. GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLclampd *v);
  6782. GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLclampd n, GLclampd f);
  6783. GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
  6784. GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
  6785. #endif /* GL_GLEXT_PROTOTYPES */
  6786. typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  6787. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  6788. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
  6789. typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
  6790. typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  6791. typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
  6792. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLclampd *v);
  6793. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLclampd n, GLclampd f);
  6794. typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
  6795. typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
  6796. #endif
  6797. #ifndef GL_ARB_cl_event
  6798. #define GL_ARB_cl_event 1
  6799. #ifdef GL_GLEXT_PROTOTYPES
  6800. GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context * context, struct _cl_event * event, GLbitfield flags);
  6801. #endif /* GL_GLEXT_PROTOTYPES */
  6802. typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context * context, struct _cl_event * event, GLbitfield flags);
  6803. #endif
  6804. #ifndef GL_ARB_debug_output
  6805. #define GL_ARB_debug_output 1
  6806. #ifdef GL_GLEXT_PROTOTYPES
  6807. GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  6808. GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  6809. GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const GLvoid *userParam);
  6810. GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  6811. #endif /* GL_GLEXT_PROTOTYPES */
  6812. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  6813. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  6814. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const GLvoid *userParam);
  6815. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  6816. #endif
  6817. #ifndef GL_ARB_robustness
  6818. #define GL_ARB_robustness 1
  6819. #ifdef GL_GLEXT_PROTOTYPES
  6820. GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
  6821. GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  6822. GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  6823. GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  6824. GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
  6825. GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
  6826. GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
  6827. GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
  6828. GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table);
  6829. GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image);
  6830. GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span);
  6831. GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
  6832. GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
  6833. GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img);
  6834. GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
  6835. GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img);
  6836. GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  6837. GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  6838. GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  6839. GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  6840. #endif /* GL_GLEXT_PROTOTYPES */
  6841. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  6842. typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  6843. typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  6844. typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  6845. typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  6846. typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  6847. typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  6848. typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
  6849. typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table);
  6850. typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image);
  6851. typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span);
  6852. typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
  6853. typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
  6854. typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img);
  6855. typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
  6856. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img);
  6857. typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  6858. typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  6859. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  6860. typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  6861. #endif
  6862. #ifndef GL_ARB_shader_stencil_export
  6863. #define GL_ARB_shader_stencil_export 1
  6864. #endif
  6865. #ifndef GL_EXT_abgr
  6866. #define GL_EXT_abgr 1
  6867. #endif
  6868. #ifndef GL_EXT_blend_color
  6869. #define GL_EXT_blend_color 1
  6870. #ifdef GL_GLEXT_PROTOTYPES
  6871. GLAPI void APIENTRY glBlendColorEXT (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  6872. #endif /* GL_GLEXT_PROTOTYPES */
  6873. typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  6874. #endif
  6875. #ifndef GL_EXT_polygon_offset
  6876. #define GL_EXT_polygon_offset 1
  6877. #ifdef GL_GLEXT_PROTOTYPES
  6878. GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
  6879. #endif /* GL_GLEXT_PROTOTYPES */
  6880. typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  6881. #endif
  6882. #ifndef GL_EXT_texture
  6883. #define GL_EXT_texture 1
  6884. #endif
  6885. #ifndef GL_EXT_texture3D
  6886. #define GL_EXT_texture3D 1
  6887. #ifdef GL_GLEXT_PROTOTYPES
  6888. GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  6889. GLAPI 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);
  6890. #endif /* GL_GLEXT_PROTOTYPES */
  6891. typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  6892. typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  6893. #endif
  6894. #ifndef GL_SGIS_texture_filter4
  6895. #define GL_SGIS_texture_filter4 1
  6896. #ifdef GL_GLEXT_PROTOTYPES
  6897. GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
  6898. GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  6899. #endif /* GL_GLEXT_PROTOTYPES */
  6900. typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  6901. typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  6902. #endif
  6903. #ifndef GL_EXT_subtexture
  6904. #define GL_EXT_subtexture 1
  6905. #ifdef GL_GLEXT_PROTOTYPES
  6906. GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  6907. GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  6908. #endif /* GL_GLEXT_PROTOTYPES */
  6909. typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  6910. typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  6911. #endif
  6912. #ifndef GL_EXT_copy_texture
  6913. #define GL_EXT_copy_texture 1
  6914. #ifdef GL_GLEXT_PROTOTYPES
  6915. GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6916. GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6917. GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6918. GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6919. GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6920. #endif /* GL_GLEXT_PROTOTYPES */
  6921. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6922. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6923. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6924. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6925. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6926. #endif
  6927. #ifndef GL_EXT_histogram
  6928. #define GL_EXT_histogram 1
  6929. #ifdef GL_GLEXT_PROTOTYPES
  6930. GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  6931. GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6932. GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6933. GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  6934. GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6935. GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6936. GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  6937. GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
  6938. GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
  6939. GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
  6940. #endif /* GL_GLEXT_PROTOTYPES */
  6941. typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  6942. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6943. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6944. typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  6945. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6946. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6947. typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  6948. typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  6949. typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  6950. typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  6951. #endif
  6952. #ifndef GL_EXT_convolution
  6953. #define GL_EXT_convolution 1
  6954. #ifdef GL_GLEXT_PROTOTYPES
  6955. GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  6956. GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  6957. GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
  6958. GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  6959. GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
  6960. GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  6961. GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  6962. GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  6963. GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *image);
  6964. GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6965. GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6966. GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  6967. GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  6968. #endif /* GL_GLEXT_PROTOTYPES */
  6969. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  6970. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  6971. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  6972. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  6973. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  6974. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  6975. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  6976. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  6977. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  6978. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6979. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6980. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  6981. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  6982. #endif
  6983. #ifndef GL_SGI_color_matrix
  6984. #define GL_SGI_color_matrix 1
  6985. #endif
  6986. #ifndef GL_SGI_color_table
  6987. #define GL_SGI_color_table 1
  6988. #ifdef GL_GLEXT_PROTOTYPES
  6989. GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  6990. GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
  6991. GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
  6992. GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  6993. GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, GLvoid *table);
  6994. GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
  6995. GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
  6996. #endif /* GL_GLEXT_PROTOTYPES */
  6997. typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  6998. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  6999. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  7000. typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  7001. typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  7002. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  7003. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  7004. #endif
  7005. #ifndef GL_SGIX_pixel_texture
  7006. #define GL_SGIX_pixel_texture 1
  7007. #ifdef GL_GLEXT_PROTOTYPES
  7008. GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
  7009. #endif /* GL_GLEXT_PROTOTYPES */
  7010. typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  7011. #endif
  7012. #ifndef GL_SGIS_pixel_texture
  7013. #define GL_SGIS_pixel_texture 1
  7014. #ifdef GL_GLEXT_PROTOTYPES
  7015. GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
  7016. GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
  7017. GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
  7018. GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
  7019. GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
  7020. GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
  7021. #endif /* GL_GLEXT_PROTOTYPES */
  7022. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  7023. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  7024. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  7025. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  7026. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  7027. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  7028. #endif
  7029. #ifndef GL_SGIS_texture4D
  7030. #define GL_SGIS_texture4D 1
  7031. #ifdef GL_GLEXT_PROTOTYPES
  7032. GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  7033. GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
  7034. #endif /* GL_GLEXT_PROTOTYPES */
  7035. typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  7036. typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
  7037. #endif
  7038. #ifndef GL_SGI_texture_color_table
  7039. #define GL_SGI_texture_color_table 1
  7040. #endif
  7041. #ifndef GL_EXT_cmyka
  7042. #define GL_EXT_cmyka 1
  7043. #endif
  7044. #ifndef GL_EXT_texture_object
  7045. #define GL_EXT_texture_object 1
  7046. #ifdef GL_GLEXT_PROTOTYPES
  7047. GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
  7048. GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
  7049. GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
  7050. GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
  7051. GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
  7052. GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  7053. #endif /* GL_GLEXT_PROTOTYPES */
  7054. typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  7055. typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  7056. typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  7057. typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  7058. typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  7059. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  7060. #endif
  7061. #ifndef GL_SGIS_detail_texture
  7062. #define GL_SGIS_detail_texture 1
  7063. #ifdef GL_GLEXT_PROTOTYPES
  7064. GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  7065. GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
  7066. #endif /* GL_GLEXT_PROTOTYPES */
  7067. typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  7068. typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  7069. #endif
  7070. #ifndef GL_SGIS_sharpen_texture
  7071. #define GL_SGIS_sharpen_texture 1
  7072. #ifdef GL_GLEXT_PROTOTYPES
  7073. GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  7074. GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
  7075. #endif /* GL_GLEXT_PROTOTYPES */
  7076. typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  7077. typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  7078. #endif
  7079. #ifndef GL_EXT_packed_pixels
  7080. #define GL_EXT_packed_pixels 1
  7081. #endif
  7082. #ifndef GL_SGIS_texture_lod
  7083. #define GL_SGIS_texture_lod 1
  7084. #endif
  7085. #ifndef GL_SGIS_multisample
  7086. #define GL_SGIS_multisample 1
  7087. #ifdef GL_GLEXT_PROTOTYPES
  7088. GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
  7089. GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
  7090. #endif /* GL_GLEXT_PROTOTYPES */
  7091. typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  7092. typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  7093. #endif
  7094. #ifndef GL_EXT_rescale_normal
  7095. #define GL_EXT_rescale_normal 1
  7096. #endif
  7097. #ifndef GL_EXT_vertex_array
  7098. #define GL_EXT_vertex_array 1
  7099. #ifdef GL_GLEXT_PROTOTYPES
  7100. GLAPI void APIENTRY glArrayElementEXT (GLint i);
  7101. GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7102. GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
  7103. GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
  7104. GLAPI void APIENTRY glGetPointervEXT (GLenum pname, GLvoid* *params);
  7105. GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7106. GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7107. GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7108. GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7109. #endif /* GL_GLEXT_PROTOTYPES */
  7110. typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  7111. typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7112. typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  7113. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  7114. typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
  7115. typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7116. typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7117. typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7118. typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  7119. #endif
  7120. #ifndef GL_EXT_misc_attribute
  7121. #define GL_EXT_misc_attribute 1
  7122. #endif
  7123. #ifndef GL_SGIS_generate_mipmap
  7124. #define GL_SGIS_generate_mipmap 1
  7125. #endif
  7126. #ifndef GL_SGIX_clipmap
  7127. #define GL_SGIX_clipmap 1
  7128. #endif
  7129. #ifndef GL_SGIX_shadow
  7130. #define GL_SGIX_shadow 1
  7131. #endif
  7132. #ifndef GL_SGIS_texture_edge_clamp
  7133. #define GL_SGIS_texture_edge_clamp 1
  7134. #endif
  7135. #ifndef GL_SGIS_texture_border_clamp
  7136. #define GL_SGIS_texture_border_clamp 1
  7137. #endif
  7138. #ifndef GL_EXT_blend_minmax
  7139. #define GL_EXT_blend_minmax 1
  7140. #ifdef GL_GLEXT_PROTOTYPES
  7141. GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
  7142. #endif /* GL_GLEXT_PROTOTYPES */
  7143. typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  7144. #endif
  7145. #ifndef GL_EXT_blend_subtract
  7146. #define GL_EXT_blend_subtract 1
  7147. #endif
  7148. #ifndef GL_EXT_blend_logic_op
  7149. #define GL_EXT_blend_logic_op 1
  7150. #endif
  7151. #ifndef GL_SGIX_interlace
  7152. #define GL_SGIX_interlace 1
  7153. #endif
  7154. #ifndef GL_SGIX_pixel_tiles
  7155. #define GL_SGIX_pixel_tiles 1
  7156. #endif
  7157. #ifndef GL_SGIX_texture_select
  7158. #define GL_SGIX_texture_select 1
  7159. #endif
  7160. #ifndef GL_SGIX_sprite
  7161. #define GL_SGIX_sprite 1
  7162. #ifdef GL_GLEXT_PROTOTYPES
  7163. GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
  7164. GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
  7165. GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
  7166. GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
  7167. #endif /* GL_GLEXT_PROTOTYPES */
  7168. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  7169. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  7170. typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  7171. typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  7172. #endif
  7173. #ifndef GL_SGIX_texture_multi_buffer
  7174. #define GL_SGIX_texture_multi_buffer 1
  7175. #endif
  7176. #ifndef GL_EXT_point_parameters
  7177. #define GL_EXT_point_parameters 1
  7178. #ifdef GL_GLEXT_PROTOTYPES
  7179. GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
  7180. GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
  7181. #endif /* GL_GLEXT_PROTOTYPES */
  7182. typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  7183. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  7184. #endif
  7185. #ifndef GL_SGIS_point_parameters
  7186. #define GL_SGIS_point_parameters 1
  7187. #ifdef GL_GLEXT_PROTOTYPES
  7188. GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
  7189. GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
  7190. #endif /* GL_GLEXT_PROTOTYPES */
  7191. typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  7192. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  7193. #endif
  7194. #ifndef GL_SGIX_instruments
  7195. #define GL_SGIX_instruments 1
  7196. #ifdef GL_GLEXT_PROTOTYPES
  7197. GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  7198. GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
  7199. GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
  7200. GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
  7201. GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  7202. GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
  7203. #endif /* GL_GLEXT_PROTOTYPES */
  7204. typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  7205. typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  7206. typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  7207. typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  7208. typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  7209. typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  7210. #endif
  7211. #ifndef GL_SGIX_texture_scale_bias
  7212. #define GL_SGIX_texture_scale_bias 1
  7213. #endif
  7214. #ifndef GL_SGIX_framezoom
  7215. #define GL_SGIX_framezoom 1
  7216. #ifdef GL_GLEXT_PROTOTYPES
  7217. GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
  7218. #endif /* GL_GLEXT_PROTOTYPES */
  7219. typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  7220. #endif
  7221. #ifndef GL_SGIX_tag_sample_buffer
  7222. #define GL_SGIX_tag_sample_buffer 1
  7223. #ifdef GL_GLEXT_PROTOTYPES
  7224. GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  7225. #endif /* GL_GLEXT_PROTOTYPES */
  7226. typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  7227. #endif
  7228. #ifndef GL_SGIX_polynomial_ffd
  7229. #define GL_SGIX_polynomial_ffd 1
  7230. #ifdef GL_GLEXT_PROTOTYPES
  7231. GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
  7232. GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
  7233. GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
  7234. GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
  7235. #endif /* GL_GLEXT_PROTOTYPES */
  7236. typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
  7237. typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
  7238. typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  7239. typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  7240. #endif
  7241. #ifndef GL_SGIX_reference_plane
  7242. #define GL_SGIX_reference_plane 1
  7243. #ifdef GL_GLEXT_PROTOTYPES
  7244. GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
  7245. #endif /* GL_GLEXT_PROTOTYPES */
  7246. typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  7247. #endif
  7248. #ifndef GL_SGIX_flush_raster
  7249. #define GL_SGIX_flush_raster 1
  7250. #ifdef GL_GLEXT_PROTOTYPES
  7251. GLAPI void APIENTRY glFlushRasterSGIX (void);
  7252. #endif /* GL_GLEXT_PROTOTYPES */
  7253. typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  7254. #endif
  7255. #ifndef GL_SGIX_depth_texture
  7256. #define GL_SGIX_depth_texture 1
  7257. #endif
  7258. #ifndef GL_SGIS_fog_function
  7259. #define GL_SGIS_fog_function 1
  7260. #ifdef GL_GLEXT_PROTOTYPES
  7261. GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
  7262. GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
  7263. #endif /* GL_GLEXT_PROTOTYPES */
  7264. typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  7265. typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  7266. #endif
  7267. #ifndef GL_SGIX_fog_offset
  7268. #define GL_SGIX_fog_offset 1
  7269. #endif
  7270. #ifndef GL_HP_image_transform
  7271. #define GL_HP_image_transform 1
  7272. #ifdef GL_GLEXT_PROTOTYPES
  7273. GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
  7274. GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
  7275. GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
  7276. GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
  7277. GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
  7278. GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
  7279. #endif /* GL_GLEXT_PROTOTYPES */
  7280. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  7281. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  7282. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  7283. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  7284. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  7285. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  7286. #endif
  7287. #ifndef GL_HP_convolution_border_modes
  7288. #define GL_HP_convolution_border_modes 1
  7289. #endif
  7290. #ifndef GL_SGIX_texture_add_env
  7291. #define GL_SGIX_texture_add_env 1
  7292. #endif
  7293. #ifndef GL_EXT_color_subtable
  7294. #define GL_EXT_color_subtable 1
  7295. #ifdef GL_GLEXT_PROTOTYPES
  7296. GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  7297. GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  7298. #endif /* GL_GLEXT_PROTOTYPES */
  7299. typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  7300. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  7301. #endif
  7302. #ifndef GL_PGI_vertex_hints
  7303. #define GL_PGI_vertex_hints 1
  7304. #endif
  7305. #ifndef GL_PGI_misc_hints
  7306. #define GL_PGI_misc_hints 1
  7307. #ifdef GL_GLEXT_PROTOTYPES
  7308. GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
  7309. #endif /* GL_GLEXT_PROTOTYPES */
  7310. typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  7311. #endif
  7312. #ifndef GL_EXT_paletted_texture
  7313. #define GL_EXT_paletted_texture 1
  7314. #ifdef GL_GLEXT_PROTOTYPES
  7315. GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  7316. GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, GLvoid *data);
  7317. GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7318. GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7319. #endif /* GL_GLEXT_PROTOTYPES */
  7320. typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  7321. typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
  7322. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7323. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7324. #endif
  7325. #ifndef GL_EXT_clip_volume_hint
  7326. #define GL_EXT_clip_volume_hint 1
  7327. #endif
  7328. #ifndef GL_SGIX_list_priority
  7329. #define GL_SGIX_list_priority 1
  7330. #ifdef GL_GLEXT_PROTOTYPES
  7331. GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
  7332. GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
  7333. GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
  7334. GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
  7335. GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
  7336. GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
  7337. #endif /* GL_GLEXT_PROTOTYPES */
  7338. typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  7339. typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  7340. typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  7341. typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  7342. typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  7343. typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  7344. #endif
  7345. #ifndef GL_SGIX_ir_instrument1
  7346. #define GL_SGIX_ir_instrument1 1
  7347. #endif
  7348. #ifndef GL_SGIX_calligraphic_fragment
  7349. #define GL_SGIX_calligraphic_fragment 1
  7350. #endif
  7351. #ifndef GL_SGIX_texture_lod_bias
  7352. #define GL_SGIX_texture_lod_bias 1
  7353. #endif
  7354. #ifndef GL_SGIX_shadow_ambient
  7355. #define GL_SGIX_shadow_ambient 1
  7356. #endif
  7357. #ifndef GL_EXT_index_texture
  7358. #define GL_EXT_index_texture 1
  7359. #endif
  7360. #ifndef GL_EXT_index_material
  7361. #define GL_EXT_index_material 1
  7362. #ifdef GL_GLEXT_PROTOTYPES
  7363. GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
  7364. #endif /* GL_GLEXT_PROTOTYPES */
  7365. typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  7366. #endif
  7367. #ifndef GL_EXT_index_func
  7368. #define GL_EXT_index_func 1
  7369. #ifdef GL_GLEXT_PROTOTYPES
  7370. GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
  7371. #endif /* GL_GLEXT_PROTOTYPES */
  7372. typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  7373. #endif
  7374. #ifndef GL_EXT_index_array_formats
  7375. #define GL_EXT_index_array_formats 1
  7376. #endif
  7377. #ifndef GL_EXT_compiled_vertex_array
  7378. #define GL_EXT_compiled_vertex_array 1
  7379. #ifdef GL_GLEXT_PROTOTYPES
  7380. GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
  7381. GLAPI void APIENTRY glUnlockArraysEXT (void);
  7382. #endif /* GL_GLEXT_PROTOTYPES */
  7383. typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  7384. typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  7385. #endif
  7386. #ifndef GL_EXT_cull_vertex
  7387. #define GL_EXT_cull_vertex 1
  7388. #ifdef GL_GLEXT_PROTOTYPES
  7389. GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
  7390. GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
  7391. #endif /* GL_GLEXT_PROTOTYPES */
  7392. typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  7393. typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  7394. #endif
  7395. #ifndef GL_SGIX_ycrcb
  7396. #define GL_SGIX_ycrcb 1
  7397. #endif
  7398. #ifndef GL_SGIX_fragment_lighting
  7399. #define GL_SGIX_fragment_lighting 1
  7400. #ifdef GL_GLEXT_PROTOTYPES
  7401. GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
  7402. GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
  7403. GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
  7404. GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
  7405. GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
  7406. GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
  7407. GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
  7408. GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
  7409. GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
  7410. GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
  7411. GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
  7412. GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
  7413. GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
  7414. GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
  7415. GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
  7416. GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
  7417. GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
  7418. GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
  7419. #endif /* GL_GLEXT_PROTOTYPES */
  7420. typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  7421. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  7422. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  7423. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  7424. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  7425. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  7426. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  7427. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  7428. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  7429. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  7430. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  7431. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  7432. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  7433. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  7434. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  7435. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  7436. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  7437. typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  7438. #endif
  7439. #ifndef GL_IBM_rasterpos_clip
  7440. #define GL_IBM_rasterpos_clip 1
  7441. #endif
  7442. #ifndef GL_HP_texture_lighting
  7443. #define GL_HP_texture_lighting 1
  7444. #endif
  7445. #ifndef GL_EXT_draw_range_elements
  7446. #define GL_EXT_draw_range_elements 1
  7447. #ifdef GL_GLEXT_PROTOTYPES
  7448. GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  7449. #endif /* GL_GLEXT_PROTOTYPES */
  7450. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  7451. #endif
  7452. #ifndef GL_WIN_phong_shading
  7453. #define GL_WIN_phong_shading 1
  7454. #endif
  7455. #ifndef GL_WIN_specular_fog
  7456. #define GL_WIN_specular_fog 1
  7457. #endif
  7458. #ifndef GL_EXT_light_texture
  7459. #define GL_EXT_light_texture 1
  7460. #ifdef GL_GLEXT_PROTOTYPES
  7461. GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
  7462. GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
  7463. GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
  7464. #endif /* GL_GLEXT_PROTOTYPES */
  7465. typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  7466. typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  7467. typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  7468. #endif
  7469. #ifndef GL_SGIX_blend_alpha_minmax
  7470. #define GL_SGIX_blend_alpha_minmax 1
  7471. #endif
  7472. #ifndef GL_EXT_bgra
  7473. #define GL_EXT_bgra 1
  7474. #endif
  7475. #ifndef GL_SGIX_async
  7476. #define GL_SGIX_async 1
  7477. #ifdef GL_GLEXT_PROTOTYPES
  7478. GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
  7479. GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
  7480. GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
  7481. GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
  7482. GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
  7483. GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
  7484. #endif /* GL_GLEXT_PROTOTYPES */
  7485. typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  7486. typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  7487. typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  7488. typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  7489. typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  7490. typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  7491. #endif
  7492. #ifndef GL_SGIX_async_pixel
  7493. #define GL_SGIX_async_pixel 1
  7494. #endif
  7495. #ifndef GL_SGIX_async_histogram
  7496. #define GL_SGIX_async_histogram 1
  7497. #endif
  7498. #ifndef GL_INTEL_parallel_arrays
  7499. #define GL_INTEL_parallel_arrays 1
  7500. #ifdef GL_GLEXT_PROTOTYPES
  7501. GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
  7502. GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const GLvoid* *pointer);
  7503. GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
  7504. GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
  7505. #endif /* GL_GLEXT_PROTOTYPES */
  7506. typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  7507. typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
  7508. typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  7509. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  7510. #endif
  7511. #ifndef GL_HP_occlusion_test
  7512. #define GL_HP_occlusion_test 1
  7513. #endif
  7514. #ifndef GL_EXT_pixel_transform
  7515. #define GL_EXT_pixel_transform 1
  7516. #ifdef GL_GLEXT_PROTOTYPES
  7517. GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
  7518. GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
  7519. GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  7520. GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  7521. #endif /* GL_GLEXT_PROTOTYPES */
  7522. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  7523. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  7524. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  7525. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  7526. #endif
  7527. #ifndef GL_EXT_pixel_transform_color_table
  7528. #define GL_EXT_pixel_transform_color_table 1
  7529. #endif
  7530. #ifndef GL_EXT_shared_texture_palette
  7531. #define GL_EXT_shared_texture_palette 1
  7532. #endif
  7533. #ifndef GL_EXT_separate_specular_color
  7534. #define GL_EXT_separate_specular_color 1
  7535. #endif
  7536. #ifndef GL_EXT_secondary_color
  7537. #define GL_EXT_secondary_color 1
  7538. #ifdef GL_GLEXT_PROTOTYPES
  7539. GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
  7540. GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
  7541. GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
  7542. GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
  7543. GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
  7544. GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
  7545. GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
  7546. GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
  7547. GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
  7548. GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
  7549. GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
  7550. GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
  7551. GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
  7552. GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
  7553. GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
  7554. GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
  7555. GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  7556. #endif /* GL_GLEXT_PROTOTYPES */
  7557. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  7558. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  7559. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  7560. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  7561. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  7562. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  7563. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  7564. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  7565. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  7566. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  7567. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  7568. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  7569. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  7570. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  7571. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  7572. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  7573. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  7574. #endif
  7575. #ifndef GL_EXT_texture_perturb_normal
  7576. #define GL_EXT_texture_perturb_normal 1
  7577. #ifdef GL_GLEXT_PROTOTYPES
  7578. GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
  7579. #endif /* GL_GLEXT_PROTOTYPES */
  7580. typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  7581. #endif
  7582. #ifndef GL_EXT_multi_draw_arrays
  7583. #define GL_EXT_multi_draw_arrays 1
  7584. #ifdef GL_GLEXT_PROTOTYPES
  7585. GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  7586. GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  7587. #endif /* GL_GLEXT_PROTOTYPES */
  7588. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  7589. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  7590. #endif
  7591. #ifndef GL_EXT_fog_coord
  7592. #define GL_EXT_fog_coord 1
  7593. #ifdef GL_GLEXT_PROTOTYPES
  7594. GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
  7595. GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
  7596. GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
  7597. GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
  7598. GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
  7599. #endif /* GL_GLEXT_PROTOTYPES */
  7600. typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  7601. typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  7602. typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  7603. typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  7604. typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  7605. #endif
  7606. #ifndef GL_REND_screen_coordinates
  7607. #define GL_REND_screen_coordinates 1
  7608. #endif
  7609. #ifndef GL_EXT_coordinate_frame
  7610. #define GL_EXT_coordinate_frame 1
  7611. #ifdef GL_GLEXT_PROTOTYPES
  7612. GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
  7613. GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
  7614. GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
  7615. GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
  7616. GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
  7617. GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
  7618. GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
  7619. GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
  7620. GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
  7621. GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
  7622. GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
  7623. GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
  7624. GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
  7625. GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
  7626. GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
  7627. GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
  7628. GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
  7629. GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
  7630. GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
  7631. GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
  7632. GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
  7633. GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
  7634. #endif /* GL_GLEXT_PROTOTYPES */
  7635. typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  7636. typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  7637. typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  7638. typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  7639. typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  7640. typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  7641. typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  7642. typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  7643. typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  7644. typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  7645. typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  7646. typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  7647. typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  7648. typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  7649. typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  7650. typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  7651. typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  7652. typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  7653. typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  7654. typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  7655. typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  7656. typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  7657. #endif
  7658. #ifndef GL_EXT_texture_env_combine
  7659. #define GL_EXT_texture_env_combine 1
  7660. #endif
  7661. #ifndef GL_APPLE_specular_vector
  7662. #define GL_APPLE_specular_vector 1
  7663. #endif
  7664. #ifndef GL_APPLE_transform_hint
  7665. #define GL_APPLE_transform_hint 1
  7666. #endif
  7667. #ifndef GL_SGIX_fog_scale
  7668. #define GL_SGIX_fog_scale 1
  7669. #endif
  7670. #ifndef GL_SUNX_constant_data
  7671. #define GL_SUNX_constant_data 1
  7672. #ifdef GL_GLEXT_PROTOTYPES
  7673. GLAPI void APIENTRY glFinishTextureSUNX (void);
  7674. #endif /* GL_GLEXT_PROTOTYPES */
  7675. typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  7676. #endif
  7677. #ifndef GL_SUN_global_alpha
  7678. #define GL_SUN_global_alpha 1
  7679. #ifdef GL_GLEXT_PROTOTYPES
  7680. GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
  7681. GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
  7682. GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
  7683. GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
  7684. GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
  7685. GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
  7686. GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
  7687. GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
  7688. #endif /* GL_GLEXT_PROTOTYPES */
  7689. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  7690. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  7691. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  7692. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  7693. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  7694. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  7695. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  7696. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  7697. #endif
  7698. #ifndef GL_SUN_triangle_list
  7699. #define GL_SUN_triangle_list 1
  7700. #ifdef GL_GLEXT_PROTOTYPES
  7701. GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
  7702. GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
  7703. GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
  7704. GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
  7705. GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
  7706. GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
  7707. GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const GLvoid* *pointer);
  7708. #endif /* GL_GLEXT_PROTOTYPES */
  7709. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  7710. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  7711. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  7712. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  7713. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  7714. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  7715. typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
  7716. #endif
  7717. #ifndef GL_SUN_vertex
  7718. #define GL_SUN_vertex 1
  7719. #ifdef GL_GLEXT_PROTOTYPES
  7720. GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  7721. GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
  7722. GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  7723. GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
  7724. GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  7725. GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
  7726. GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7727. GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
  7728. GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7729. GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7730. GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  7731. GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
  7732. GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7733. GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
  7734. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  7735. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  7736. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  7737. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  7738. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7739. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  7740. GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7741. GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7742. GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7743. GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7744. GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  7745. GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
  7746. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  7747. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  7748. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  7749. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  7750. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7751. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  7752. GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7753. GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7754. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  7755. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  7756. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7757. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  7758. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7759. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7760. #endif /* GL_GLEXT_PROTOTYPES */
  7761. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  7762. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  7763. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  7764. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  7765. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  7766. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  7767. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7768. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  7769. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7770. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7771. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  7772. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  7773. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7774. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  7775. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  7776. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  7777. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  7778. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  7779. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7780. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  7781. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7782. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7783. typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7784. typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7785. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  7786. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  7787. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  7788. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  7789. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  7790. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  7791. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7792. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  7793. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7794. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7795. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  7796. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  7797. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7798. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  7799. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  7800. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  7801. #endif
  7802. #ifndef GL_EXT_blend_func_separate
  7803. #define GL_EXT_blend_func_separate 1
  7804. #ifdef GL_GLEXT_PROTOTYPES
  7805. GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  7806. #endif /* GL_GLEXT_PROTOTYPES */
  7807. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  7808. #endif
  7809. #ifndef GL_INGR_blend_func_separate
  7810. #define GL_INGR_blend_func_separate 1
  7811. #ifdef GL_GLEXT_PROTOTYPES
  7812. GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  7813. #endif /* GL_GLEXT_PROTOTYPES */
  7814. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  7815. #endif
  7816. #ifndef GL_INGR_color_clamp
  7817. #define GL_INGR_color_clamp 1
  7818. #endif
  7819. #ifndef GL_INGR_interlace_read
  7820. #define GL_INGR_interlace_read 1
  7821. #endif
  7822. #ifndef GL_EXT_stencil_wrap
  7823. #define GL_EXT_stencil_wrap 1
  7824. #endif
  7825. #ifndef GL_EXT_422_pixels
  7826. #define GL_EXT_422_pixels 1
  7827. #endif
  7828. #ifndef GL_NV_texgen_reflection
  7829. #define GL_NV_texgen_reflection 1
  7830. #endif
  7831. #ifndef GL_SUN_convolution_border_modes
  7832. #define GL_SUN_convolution_border_modes 1
  7833. #endif
  7834. #ifndef GL_EXT_texture_env_add
  7835. #define GL_EXT_texture_env_add 1
  7836. #endif
  7837. #ifndef GL_EXT_texture_lod_bias
  7838. #define GL_EXT_texture_lod_bias 1
  7839. #endif
  7840. #ifndef GL_EXT_texture_filter_anisotropic
  7841. #define GL_EXT_texture_filter_anisotropic 1
  7842. #endif
  7843. #ifndef GL_EXT_vertex_weighting
  7844. #define GL_EXT_vertex_weighting 1
  7845. #ifdef GL_GLEXT_PROTOTYPES
  7846. GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
  7847. GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
  7848. GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
  7849. #endif /* GL_GLEXT_PROTOTYPES */
  7850. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  7851. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  7852. typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
  7853. #endif
  7854. #ifndef GL_NV_light_max_exponent
  7855. #define GL_NV_light_max_exponent 1
  7856. #endif
  7857. #ifndef GL_NV_vertex_array_range
  7858. #define GL_NV_vertex_array_range 1
  7859. #ifdef GL_GLEXT_PROTOTYPES
  7860. GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  7861. GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const GLvoid *pointer);
  7862. #endif /* GL_GLEXT_PROTOTYPES */
  7863. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  7864. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
  7865. #endif
  7866. #ifndef GL_NV_register_combiners
  7867. #define GL_NV_register_combiners 1
  7868. #ifdef GL_GLEXT_PROTOTYPES
  7869. GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
  7870. GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
  7871. GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
  7872. GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
  7873. GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  7874. GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  7875. GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  7876. GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  7877. GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  7878. GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  7879. GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  7880. GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
  7881. GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
  7882. #endif /* GL_GLEXT_PROTOTYPES */
  7883. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  7884. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  7885. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  7886. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  7887. typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  7888. typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  7889. typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  7890. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  7891. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  7892. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  7893. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  7894. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  7895. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  7896. #endif
  7897. #ifndef GL_NV_fog_distance
  7898. #define GL_NV_fog_distance 1
  7899. #endif
  7900. #ifndef GL_NV_texgen_emboss
  7901. #define GL_NV_texgen_emboss 1
  7902. #endif
  7903. #ifndef GL_NV_blend_square
  7904. #define GL_NV_blend_square 1
  7905. #endif
  7906. #ifndef GL_NV_texture_env_combine4
  7907. #define GL_NV_texture_env_combine4 1
  7908. #endif
  7909. #ifndef GL_MESA_resize_buffers
  7910. #define GL_MESA_resize_buffers 1
  7911. #ifdef GL_GLEXT_PROTOTYPES
  7912. GLAPI void APIENTRY glResizeBuffersMESA (void);
  7913. #endif /* GL_GLEXT_PROTOTYPES */
  7914. typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  7915. #endif
  7916. #ifndef GL_MESA_window_pos
  7917. #define GL_MESA_window_pos 1
  7918. #ifdef GL_GLEXT_PROTOTYPES
  7919. GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
  7920. GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
  7921. GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
  7922. GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
  7923. GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
  7924. GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
  7925. GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
  7926. GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
  7927. GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
  7928. GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
  7929. GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
  7930. GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
  7931. GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
  7932. GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
  7933. GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
  7934. GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
  7935. GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7936. GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
  7937. GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7938. GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
  7939. GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
  7940. GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
  7941. GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
  7942. GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
  7943. #endif /* GL_GLEXT_PROTOTYPES */
  7944. typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  7945. typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  7946. typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  7947. typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  7948. typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  7949. typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  7950. typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  7951. typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  7952. typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  7953. typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  7954. typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  7955. typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  7956. typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  7957. typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  7958. typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  7959. typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  7960. typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7961. typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  7962. typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7963. typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  7964. typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  7965. typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  7966. typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  7967. typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  7968. #endif
  7969. #ifndef GL_IBM_cull_vertex
  7970. #define GL_IBM_cull_vertex 1
  7971. #endif
  7972. #ifndef GL_IBM_multimode_draw_arrays
  7973. #define GL_IBM_multimode_draw_arrays 1
  7974. #ifdef GL_GLEXT_PROTOTYPES
  7975. GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  7976. GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
  7977. #endif /* GL_GLEXT_PROTOTYPES */
  7978. typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  7979. typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
  7980. #endif
  7981. #ifndef GL_IBM_vertex_array_lists
  7982. #define GL_IBM_vertex_array_lists 1
  7983. #ifdef GL_GLEXT_PROTOTYPES
  7984. GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7985. GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7986. GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean* *pointer, GLint ptrstride);
  7987. GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7988. GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7989. GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7990. GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7991. GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7992. #endif /* GL_GLEXT_PROTOTYPES */
  7993. typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7994. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7995. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
  7996. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7997. typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7998. typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  7999. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  8000. typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  8001. #endif
  8002. #ifndef GL_SGIX_subsample
  8003. #define GL_SGIX_subsample 1
  8004. #endif
  8005. #ifndef GL_SGIX_ycrcba
  8006. #define GL_SGIX_ycrcba 1
  8007. #endif
  8008. #ifndef GL_SGIX_ycrcb_subsample
  8009. #define GL_SGIX_ycrcb_subsample 1
  8010. #endif
  8011. #ifndef GL_SGIX_depth_pass_instrument
  8012. #define GL_SGIX_depth_pass_instrument 1
  8013. #endif
  8014. #ifndef GL_3DFX_texture_compression_FXT1
  8015. #define GL_3DFX_texture_compression_FXT1 1
  8016. #endif
  8017. #ifndef GL_3DFX_multisample
  8018. #define GL_3DFX_multisample 1
  8019. #endif
  8020. #ifndef GL_3DFX_tbuffer
  8021. #define GL_3DFX_tbuffer 1
  8022. #ifdef GL_GLEXT_PROTOTYPES
  8023. GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
  8024. #endif /* GL_GLEXT_PROTOTYPES */
  8025. typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  8026. #endif
  8027. #ifndef GL_EXT_multisample
  8028. #define GL_EXT_multisample 1
  8029. #ifdef GL_GLEXT_PROTOTYPES
  8030. GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
  8031. GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
  8032. #endif /* GL_GLEXT_PROTOTYPES */
  8033. typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  8034. typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  8035. #endif
  8036. #ifndef GL_SGIX_vertex_preclip
  8037. #define GL_SGIX_vertex_preclip 1
  8038. #endif
  8039. #ifndef GL_SGIX_convolution_accuracy
  8040. #define GL_SGIX_convolution_accuracy 1
  8041. #endif
  8042. #ifndef GL_SGIX_resample
  8043. #define GL_SGIX_resample 1
  8044. #endif
  8045. #ifndef GL_SGIS_point_line_texgen
  8046. #define GL_SGIS_point_line_texgen 1
  8047. #endif
  8048. #ifndef GL_SGIS_texture_color_mask
  8049. #define GL_SGIS_texture_color_mask 1
  8050. #ifdef GL_GLEXT_PROTOTYPES
  8051. GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  8052. #endif /* GL_GLEXT_PROTOTYPES */
  8053. typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  8054. #endif
  8055. #ifndef GL_SGIX_igloo_interface
  8056. #define GL_SGIX_igloo_interface 1
  8057. #ifdef GL_GLEXT_PROTOTYPES
  8058. GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const GLvoid *params);
  8059. #endif /* GL_GLEXT_PROTOTYPES */
  8060. typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);
  8061. #endif
  8062. #ifndef GL_EXT_texture_env_dot3
  8063. #define GL_EXT_texture_env_dot3 1
  8064. #endif
  8065. #ifndef GL_ATI_texture_mirror_once
  8066. #define GL_ATI_texture_mirror_once 1
  8067. #endif
  8068. #ifndef GL_NV_fence
  8069. #define GL_NV_fence 1
  8070. #ifdef GL_GLEXT_PROTOTYPES
  8071. GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
  8072. GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
  8073. GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
  8074. GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
  8075. GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
  8076. GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
  8077. GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
  8078. #endif /* GL_GLEXT_PROTOTYPES */
  8079. typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  8080. typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  8081. typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  8082. typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  8083. typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  8084. typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  8085. typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  8086. #endif
  8087. #ifndef GL_NV_evaluators
  8088. #define GL_NV_evaluators 1
  8089. #ifdef GL_GLEXT_PROTOTYPES
  8090. GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
  8091. GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
  8092. GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
  8093. GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
  8094. GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
  8095. GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
  8096. GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
  8097. GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  8098. GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
  8099. #endif /* GL_GLEXT_PROTOTYPES */
  8100. typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
  8101. typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
  8102. typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8103. typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
  8104. typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
  8105. typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
  8106. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  8107. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  8108. typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  8109. #endif
  8110. #ifndef GL_NV_packed_depth_stencil
  8111. #define GL_NV_packed_depth_stencil 1
  8112. #endif
  8113. #ifndef GL_NV_register_combiners2
  8114. #define GL_NV_register_combiners2 1
  8115. #ifdef GL_GLEXT_PROTOTYPES
  8116. GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
  8117. GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
  8118. #endif /* GL_GLEXT_PROTOTYPES */
  8119. typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
  8120. typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
  8121. #endif
  8122. #ifndef GL_NV_texture_compression_vtc
  8123. #define GL_NV_texture_compression_vtc 1
  8124. #endif
  8125. #ifndef GL_NV_texture_rectangle
  8126. #define GL_NV_texture_rectangle 1
  8127. #endif
  8128. #ifndef GL_NV_texture_shader
  8129. #define GL_NV_texture_shader 1
  8130. #endif
  8131. #ifndef GL_NV_texture_shader2
  8132. #define GL_NV_texture_shader2 1
  8133. #endif
  8134. #ifndef GL_NV_vertex_array_range2
  8135. #define GL_NV_vertex_array_range2 1
  8136. #endif
  8137. #ifndef GL_NV_vertex_program
  8138. #define GL_NV_vertex_program 1
  8139. #ifdef GL_GLEXT_PROTOTYPES
  8140. GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
  8141. GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
  8142. GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
  8143. GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
  8144. GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
  8145. GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  8146. GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  8147. GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
  8148. GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
  8149. GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
  8150. GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
  8151. GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
  8152. GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
  8153. GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, GLvoid* *pointer);
  8154. GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
  8155. GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  8156. GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8157. GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
  8158. GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8159. GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
  8160. GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLuint count, const GLdouble *v);
  8161. GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLuint count, const GLfloat *v);
  8162. GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
  8163. GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  8164. GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
  8165. GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
  8166. GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
  8167. GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
  8168. GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
  8169. GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
  8170. GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
  8171. GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
  8172. GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
  8173. GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
  8174. GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
  8175. GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
  8176. GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
  8177. GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  8178. GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
  8179. GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  8180. GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
  8181. GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
  8182. GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
  8183. GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8184. GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
  8185. GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8186. GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
  8187. GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  8188. GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
  8189. GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  8190. GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
  8191. GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
  8192. GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
  8193. GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
  8194. GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
  8195. GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
  8196. GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
  8197. GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
  8198. GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
  8199. GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
  8200. GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
  8201. GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
  8202. GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
  8203. GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
  8204. #endif /* GL_GLEXT_PROTOTYPES */
  8205. typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
  8206. typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
  8207. typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  8208. typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
  8209. typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
  8210. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  8211. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  8212. typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  8213. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
  8214. typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
  8215. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
  8216. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
  8217. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
  8218. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  8219. typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
  8220. typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  8221. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8222. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
  8223. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8224. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
  8225. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLuint count, const GLdouble *v);
  8226. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLuint count, const GLfloat *v);
  8227. typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  8228. typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  8229. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
  8230. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
  8231. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
  8232. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
  8233. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
  8234. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
  8235. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
  8236. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  8237. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
  8238. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  8239. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
  8240. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  8241. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
  8242. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  8243. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
  8244. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  8245. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
  8246. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  8247. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
  8248. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8249. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
  8250. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8251. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
  8252. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  8253. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
  8254. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  8255. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
  8256. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  8257. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  8258. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  8259. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  8260. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  8261. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  8262. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  8263. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  8264. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  8265. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  8266. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  8267. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  8268. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
  8269. #endif
  8270. #ifndef GL_SGIX_texture_coordinate_clamp
  8271. #define GL_SGIX_texture_coordinate_clamp 1
  8272. #endif
  8273. #ifndef GL_SGIX_scalebias_hint
  8274. #define GL_SGIX_scalebias_hint 1
  8275. #endif
  8276. #ifndef GL_OML_interlace
  8277. #define GL_OML_interlace 1
  8278. #endif
  8279. #ifndef GL_OML_subsample
  8280. #define GL_OML_subsample 1
  8281. #endif
  8282. #ifndef GL_OML_resample
  8283. #define GL_OML_resample 1
  8284. #endif
  8285. #ifndef GL_NV_copy_depth_to_color
  8286. #define GL_NV_copy_depth_to_color 1
  8287. #endif
  8288. #ifndef GL_ATI_envmap_bumpmap
  8289. #define GL_ATI_envmap_bumpmap 1
  8290. #ifdef GL_GLEXT_PROTOTYPES
  8291. GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
  8292. GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
  8293. GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
  8294. GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
  8295. #endif /* GL_GLEXT_PROTOTYPES */
  8296. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
  8297. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
  8298. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  8299. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  8300. #endif
  8301. #ifndef GL_ATI_fragment_shader
  8302. #define GL_ATI_fragment_shader 1
  8303. #ifdef GL_GLEXT_PROTOTYPES
  8304. GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
  8305. GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
  8306. GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
  8307. GLAPI void APIENTRY glBeginFragmentShaderATI (void);
  8308. GLAPI void APIENTRY glEndFragmentShaderATI (void);
  8309. GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
  8310. GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
  8311. GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  8312. GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  8313. GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  8314. GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  8315. GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  8316. GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  8317. GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
  8318. #endif /* GL_GLEXT_PROTOTYPES */
  8319. typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
  8320. typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
  8321. typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
  8322. typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
  8323. typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
  8324. typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
  8325. typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
  8326. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  8327. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  8328. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  8329. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  8330. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  8331. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  8332. typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
  8333. #endif
  8334. #ifndef GL_ATI_pn_triangles
  8335. #define GL_ATI_pn_triangles 1
  8336. #ifdef GL_GLEXT_PROTOTYPES
  8337. GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
  8338. GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
  8339. #endif /* GL_GLEXT_PROTOTYPES */
  8340. typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
  8341. typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
  8342. #endif
  8343. #ifndef GL_ATI_vertex_array_object
  8344. #define GL_ATI_vertex_array_object 1
  8345. #ifdef GL_GLEXT_PROTOTYPES
  8346. GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const GLvoid *pointer, GLenum usage);
  8347. GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
  8348. GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
  8349. GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
  8350. GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
  8351. GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
  8352. GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  8353. GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
  8354. GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
  8355. GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  8356. GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
  8357. GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
  8358. #endif /* GL_GLEXT_PROTOTYPES */
  8359. typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
  8360. typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
  8361. typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
  8362. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
  8363. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
  8364. typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
  8365. typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  8366. typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
  8367. typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
  8368. typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  8369. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
  8370. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
  8371. #endif
  8372. #ifndef GL_EXT_vertex_shader
  8373. #define GL_EXT_vertex_shader 1
  8374. #ifdef GL_GLEXT_PROTOTYPES
  8375. GLAPI void APIENTRY glBeginVertexShaderEXT (void);
  8376. GLAPI void APIENTRY glEndVertexShaderEXT (void);
  8377. GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
  8378. GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
  8379. GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
  8380. GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
  8381. GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  8382. GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  8383. GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8384. GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8385. GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
  8386. GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
  8387. GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  8388. GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const GLvoid *addr);
  8389. GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const GLvoid *addr);
  8390. GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
  8391. GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
  8392. GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
  8393. GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
  8394. GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
  8395. GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
  8396. GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
  8397. GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
  8398. GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
  8399. GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
  8400. GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
  8401. GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
  8402. GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
  8403. GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
  8404. GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
  8405. GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
  8406. GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
  8407. GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8408. GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8409. GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8410. GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, GLvoid* *data);
  8411. GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8412. GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8413. GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8414. GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8415. GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8416. GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8417. #endif /* GL_GLEXT_PROTOTYPES */
  8418. typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
  8419. typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
  8420. typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
  8421. typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
  8422. typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
  8423. typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
  8424. typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  8425. typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  8426. typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8427. typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8428. typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  8429. typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  8430. typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  8431. typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
  8432. typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
  8433. typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
  8434. typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
  8435. typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
  8436. typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
  8437. typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
  8438. typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
  8439. typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
  8440. typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
  8441. typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
  8442. typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  8443. typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  8444. typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
  8445. typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
  8446. typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
  8447. typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
  8448. typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
  8449. typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
  8450. typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8451. typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8452. typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8453. typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data);
  8454. typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8455. typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8456. typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8457. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8458. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8459. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8460. #endif
  8461. #ifndef GL_ATI_vertex_streams
  8462. #define GL_ATI_vertex_streams 1
  8463. #ifdef GL_GLEXT_PROTOTYPES
  8464. GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
  8465. GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
  8466. GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
  8467. GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
  8468. GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
  8469. GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
  8470. GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
  8471. GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
  8472. GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
  8473. GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
  8474. GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
  8475. GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
  8476. GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
  8477. GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
  8478. GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
  8479. GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
  8480. GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
  8481. GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
  8482. GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
  8483. GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
  8484. GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  8485. GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
  8486. GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  8487. GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
  8488. GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  8489. GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
  8490. GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  8491. GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
  8492. GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8493. GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
  8494. GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8495. GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
  8496. GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  8497. GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
  8498. GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  8499. GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
  8500. GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
  8501. GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
  8502. GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  8503. GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
  8504. GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  8505. GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
  8506. GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
  8507. GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
  8508. GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
  8509. #endif /* GL_GLEXT_PROTOTYPES */
  8510. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
  8511. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
  8512. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
  8513. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
  8514. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
  8515. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
  8516. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
  8517. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
  8518. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
  8519. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
  8520. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
  8521. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
  8522. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
  8523. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
  8524. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
  8525. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
  8526. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  8527. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  8528. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  8529. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  8530. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  8531. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  8532. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  8533. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  8534. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  8535. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
  8536. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  8537. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
  8538. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8539. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
  8540. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8541. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
  8542. typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  8543. typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
  8544. typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  8545. typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  8546. typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
  8547. typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  8548. typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  8549. typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  8550. typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  8551. typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  8552. typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
  8553. typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
  8554. typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
  8555. #endif
  8556. #ifndef GL_ATI_element_array
  8557. #define GL_ATI_element_array 1
  8558. #ifdef GL_GLEXT_PROTOTYPES
  8559. GLAPI void APIENTRY glElementPointerATI (GLenum type, const GLvoid *pointer);
  8560. GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
  8561. GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
  8562. #endif /* GL_GLEXT_PROTOTYPES */
  8563. typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer);
  8564. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
  8565. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
  8566. #endif
  8567. #ifndef GL_SUN_mesh_array
  8568. #define GL_SUN_mesh_array 1
  8569. #ifdef GL_GLEXT_PROTOTYPES
  8570. GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
  8571. #endif /* GL_GLEXT_PROTOTYPES */
  8572. typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
  8573. #endif
  8574. #ifndef GL_SUN_slice_accum
  8575. #define GL_SUN_slice_accum 1
  8576. #endif
  8577. #ifndef GL_NV_multisample_filter_hint
  8578. #define GL_NV_multisample_filter_hint 1
  8579. #endif
  8580. #ifndef GL_NV_depth_clamp
  8581. #define GL_NV_depth_clamp 1
  8582. #endif
  8583. #ifndef GL_NV_occlusion_query
  8584. #define GL_NV_occlusion_query 1
  8585. #ifdef GL_GLEXT_PROTOTYPES
  8586. GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
  8587. GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
  8588. GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
  8589. GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
  8590. GLAPI void APIENTRY glEndOcclusionQueryNV (void);
  8591. GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
  8592. GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
  8593. #endif /* GL_GLEXT_PROTOTYPES */
  8594. typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
  8595. typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
  8596. typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
  8597. typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
  8598. typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
  8599. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  8600. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
  8601. #endif
  8602. #ifndef GL_NV_point_sprite
  8603. #define GL_NV_point_sprite 1
  8604. #ifdef GL_GLEXT_PROTOTYPES
  8605. GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
  8606. GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
  8607. #endif /* GL_GLEXT_PROTOTYPES */
  8608. typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
  8609. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  8610. #endif
  8611. #ifndef GL_NV_texture_shader3
  8612. #define GL_NV_texture_shader3 1
  8613. #endif
  8614. #ifndef GL_NV_vertex_program1_1
  8615. #define GL_NV_vertex_program1_1 1
  8616. #endif
  8617. #ifndef GL_EXT_shadow_funcs
  8618. #define GL_EXT_shadow_funcs 1
  8619. #endif
  8620. #ifndef GL_EXT_stencil_two_side
  8621. #define GL_EXT_stencil_two_side 1
  8622. #ifdef GL_GLEXT_PROTOTYPES
  8623. GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
  8624. #endif /* GL_GLEXT_PROTOTYPES */
  8625. typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
  8626. #endif
  8627. #ifndef GL_ATI_text_fragment_shader
  8628. #define GL_ATI_text_fragment_shader 1
  8629. #endif
  8630. #ifndef GL_APPLE_client_storage
  8631. #define GL_APPLE_client_storage 1
  8632. #endif
  8633. #ifndef GL_APPLE_element_array
  8634. #define GL_APPLE_element_array 1
  8635. #ifdef GL_GLEXT_PROTOTYPES
  8636. GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const GLvoid *pointer);
  8637. GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
  8638. GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  8639. GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  8640. GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  8641. #endif /* GL_GLEXT_PROTOTYPES */
  8642. typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer);
  8643. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
  8644. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  8645. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  8646. typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  8647. #endif
  8648. #ifndef GL_APPLE_fence
  8649. #define GL_APPLE_fence 1
  8650. #ifdef GL_GLEXT_PROTOTYPES
  8651. GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
  8652. GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
  8653. GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
  8654. GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
  8655. GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
  8656. GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
  8657. GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
  8658. GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
  8659. #endif /* GL_GLEXT_PROTOTYPES */
  8660. typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
  8661. typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
  8662. typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
  8663. typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
  8664. typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
  8665. typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
  8666. typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
  8667. typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
  8668. #endif
  8669. #ifndef GL_APPLE_vertex_array_object
  8670. #define GL_APPLE_vertex_array_object 1
  8671. #ifdef GL_GLEXT_PROTOTYPES
  8672. GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
  8673. GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
  8674. GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
  8675. GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
  8676. #endif /* GL_GLEXT_PROTOTYPES */
  8677. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  8678. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  8679. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
  8680. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  8681. #endif
  8682. #ifndef GL_APPLE_vertex_array_range
  8683. #define GL_APPLE_vertex_array_range 1
  8684. #ifdef GL_GLEXT_PROTOTYPES
  8685. GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer);
  8686. GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer);
  8687. GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
  8688. #endif /* GL_GLEXT_PROTOTYPES */
  8689. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
  8690. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
  8691. typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
  8692. #endif
  8693. #ifndef GL_APPLE_ycbcr_422
  8694. #define GL_APPLE_ycbcr_422 1
  8695. #endif
  8696. #ifndef GL_S3_s3tc
  8697. #define GL_S3_s3tc 1
  8698. #endif
  8699. #ifndef GL_ATI_draw_buffers
  8700. #define GL_ATI_draw_buffers 1
  8701. #ifdef GL_GLEXT_PROTOTYPES
  8702. GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
  8703. #endif /* GL_GLEXT_PROTOTYPES */
  8704. typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
  8705. #endif
  8706. #ifndef GL_ATI_pixel_format_float
  8707. #define GL_ATI_pixel_format_float 1
  8708. /* This is really a WGL extension, but defines some associated GL enums.
  8709. * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string.
  8710. */
  8711. #endif
  8712. #ifndef GL_ATI_texture_env_combine3
  8713. #define GL_ATI_texture_env_combine3 1
  8714. #endif
  8715. #ifndef GL_ATI_texture_float
  8716. #define GL_ATI_texture_float 1
  8717. #endif
  8718. #ifndef GL_NV_float_buffer
  8719. #define GL_NV_float_buffer 1
  8720. #endif
  8721. #ifndef GL_NV_fragment_program
  8722. #define GL_NV_fragment_program 1
  8723. /* Some NV_fragment_program entry points are shared with ARB_vertex_program. */
  8724. #ifdef GL_GLEXT_PROTOTYPES
  8725. GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8726. GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8727. GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  8728. GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  8729. GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  8730. GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  8731. #endif /* GL_GLEXT_PROTOTYPES */
  8732. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8733. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8734. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  8735. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  8736. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  8737. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  8738. #endif
  8739. #ifndef GL_NV_half_float
  8740. #define GL_NV_half_float 1
  8741. #ifdef GL_GLEXT_PROTOTYPES
  8742. GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
  8743. GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
  8744. GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8745. GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
  8746. GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8747. GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
  8748. GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  8749. GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
  8750. GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8751. GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
  8752. GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  8753. GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
  8754. GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
  8755. GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
  8756. GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
  8757. GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
  8758. GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8759. GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
  8760. GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8761. GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
  8762. GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
  8763. GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
  8764. GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
  8765. GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
  8766. GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8767. GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
  8768. GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8769. GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
  8770. GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
  8771. GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
  8772. GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8773. GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
  8774. GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
  8775. GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
  8776. GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
  8777. GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
  8778. GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
  8779. GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
  8780. GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8781. GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
  8782. GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8783. GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
  8784. GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8785. GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8786. GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8787. GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8788. #endif /* GL_GLEXT_PROTOTYPES */
  8789. typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
  8790. typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
  8791. typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8792. typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
  8793. typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8794. typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
  8795. typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  8796. typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
  8797. typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8798. typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
  8799. typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  8800. typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
  8801. typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
  8802. typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
  8803. typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
  8804. typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
  8805. typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8806. typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
  8807. typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8808. typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
  8809. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
  8810. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
  8811. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
  8812. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
  8813. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8814. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
  8815. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8816. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
  8817. typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
  8818. typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
  8819. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8820. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
  8821. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
  8822. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
  8823. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
  8824. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
  8825. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
  8826. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
  8827. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8828. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
  8829. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8830. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
  8831. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8832. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8833. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8834. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8835. #endif
  8836. #ifndef GL_NV_pixel_data_range
  8837. #define GL_NV_pixel_data_range 1
  8838. #ifdef GL_GLEXT_PROTOTYPES
  8839. GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, GLvoid *pointer);
  8840. GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
  8841. #endif /* GL_GLEXT_PROTOTYPES */
  8842. typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, GLvoid *pointer);
  8843. typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
  8844. #endif
  8845. #ifndef GL_NV_primitive_restart
  8846. #define GL_NV_primitive_restart 1
  8847. #ifdef GL_GLEXT_PROTOTYPES
  8848. GLAPI void APIENTRY glPrimitiveRestartNV (void);
  8849. GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
  8850. #endif /* GL_GLEXT_PROTOTYPES */
  8851. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
  8852. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
  8853. #endif
  8854. #ifndef GL_NV_texture_expand_normal
  8855. #define GL_NV_texture_expand_normal 1
  8856. #endif
  8857. #ifndef GL_NV_vertex_program2
  8858. #define GL_NV_vertex_program2 1
  8859. #endif
  8860. #ifndef GL_ATI_map_object_buffer
  8861. #define GL_ATI_map_object_buffer 1
  8862. #ifdef GL_GLEXT_PROTOTYPES
  8863. GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint buffer);
  8864. GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
  8865. #endif /* GL_GLEXT_PROTOTYPES */
  8866. typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  8867. typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  8868. #endif
  8869. #ifndef GL_ATI_separate_stencil
  8870. #define GL_ATI_separate_stencil 1
  8871. #ifdef GL_GLEXT_PROTOTYPES
  8872. GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  8873. GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  8874. #endif /* GL_GLEXT_PROTOTYPES */
  8875. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  8876. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  8877. #endif
  8878. #ifndef GL_ATI_vertex_attrib_array_object
  8879. #define GL_ATI_vertex_attrib_array_object 1
  8880. #ifdef GL_GLEXT_PROTOTYPES
  8881. GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  8882. GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
  8883. GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
  8884. #endif /* GL_GLEXT_PROTOTYPES */
  8885. typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  8886. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
  8887. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
  8888. #endif
  8889. #ifndef GL_OES_read_format
  8890. #define GL_OES_read_format 1
  8891. #endif
  8892. #ifndef GL_EXT_depth_bounds_test
  8893. #define GL_EXT_depth_bounds_test 1
  8894. #ifdef GL_GLEXT_PROTOTYPES
  8895. GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
  8896. #endif /* GL_GLEXT_PROTOTYPES */
  8897. typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
  8898. #endif
  8899. #ifndef GL_EXT_texture_mirror_clamp
  8900. #define GL_EXT_texture_mirror_clamp 1
  8901. #endif
  8902. #ifndef GL_EXT_blend_equation_separate
  8903. #define GL_EXT_blend_equation_separate 1
  8904. #ifdef GL_GLEXT_PROTOTYPES
  8905. GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
  8906. #endif /* GL_GLEXT_PROTOTYPES */
  8907. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
  8908. #endif
  8909. #ifndef GL_MESA_pack_invert
  8910. #define GL_MESA_pack_invert 1
  8911. #endif
  8912. #ifndef GL_MESA_ycbcr_texture
  8913. #define GL_MESA_ycbcr_texture 1
  8914. #endif
  8915. #ifndef GL_EXT_pixel_buffer_object
  8916. #define GL_EXT_pixel_buffer_object 1
  8917. #endif
  8918. #ifndef GL_NV_fragment_program_option
  8919. #define GL_NV_fragment_program_option 1
  8920. #endif
  8921. #ifndef GL_NV_fragment_program2
  8922. #define GL_NV_fragment_program2 1
  8923. #endif
  8924. #ifndef GL_NV_vertex_program2_option
  8925. #define GL_NV_vertex_program2_option 1
  8926. #endif
  8927. #ifndef GL_NV_vertex_program3
  8928. #define GL_NV_vertex_program3 1
  8929. #endif
  8930. #ifndef GL_EXT_framebuffer_object
  8931. #define GL_EXT_framebuffer_object 1
  8932. #ifdef GL_GLEXT_PROTOTYPES
  8933. GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
  8934. GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
  8935. GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
  8936. GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
  8937. GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  8938. GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
  8939. GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
  8940. GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
  8941. GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
  8942. GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
  8943. GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
  8944. GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  8945. GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  8946. GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  8947. GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  8948. GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  8949. GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
  8950. #endif /* GL_GLEXT_PROTOTYPES */
  8951. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
  8952. typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
  8953. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
  8954. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
  8955. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  8956. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8957. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
  8958. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
  8959. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
  8960. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
  8961. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
  8962. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  8963. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  8964. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  8965. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  8966. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  8967. typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
  8968. #endif
  8969. #ifndef GL_GREMEDY_string_marker
  8970. #define GL_GREMEDY_string_marker 1
  8971. #ifdef GL_GLEXT_PROTOTYPES
  8972. GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const GLvoid *string);
  8973. #endif /* GL_GLEXT_PROTOTYPES */
  8974. typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);
  8975. #endif
  8976. #ifndef GL_EXT_packed_depth_stencil
  8977. #define GL_EXT_packed_depth_stencil 1
  8978. #endif
  8979. #ifndef GL_EXT_stencil_clear_tag
  8980. #define GL_EXT_stencil_clear_tag 1
  8981. #ifdef GL_GLEXT_PROTOTYPES
  8982. GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
  8983. #endif /* GL_GLEXT_PROTOTYPES */
  8984. typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
  8985. #endif
  8986. #ifndef GL_EXT_texture_sRGB
  8987. #define GL_EXT_texture_sRGB 1
  8988. #endif
  8989. #ifndef GL_EXT_framebuffer_blit
  8990. #define GL_EXT_framebuffer_blit 1
  8991. #ifdef GL_GLEXT_PROTOTYPES
  8992. GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  8993. #endif /* GL_GLEXT_PROTOTYPES */
  8994. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  8995. #endif
  8996. #ifndef GL_EXT_framebuffer_multisample
  8997. #define GL_EXT_framebuffer_multisample 1
  8998. #ifdef GL_GLEXT_PROTOTYPES
  8999. GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  9000. #endif /* GL_GLEXT_PROTOTYPES */
  9001. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  9002. #endif
  9003. #ifndef GL_MESAX_texture_stack
  9004. #define GL_MESAX_texture_stack 1
  9005. #endif
  9006. #ifndef GL_EXT_timer_query
  9007. #define GL_EXT_timer_query 1
  9008. #ifdef GL_GLEXT_PROTOTYPES
  9009. GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params);
  9010. GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params);
  9011. #endif /* GL_GLEXT_PROTOTYPES */
  9012. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
  9013. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
  9014. #endif
  9015. #ifndef GL_EXT_gpu_program_parameters
  9016. #define GL_EXT_gpu_program_parameters 1
  9017. #ifdef GL_GLEXT_PROTOTYPES
  9018. GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  9019. GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  9020. #endif /* GL_GLEXT_PROTOTYPES */
  9021. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  9022. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  9023. #endif
  9024. #ifndef GL_APPLE_flush_buffer_range
  9025. #define GL_APPLE_flush_buffer_range 1
  9026. #ifdef GL_GLEXT_PROTOTYPES
  9027. GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
  9028. GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
  9029. #endif /* GL_GLEXT_PROTOTYPES */
  9030. typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
  9031. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
  9032. #endif
  9033. #ifndef GL_NV_gpu_program4
  9034. #define GL_NV_gpu_program4 1
  9035. #ifdef GL_GLEXT_PROTOTYPES
  9036. GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9037. GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  9038. GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9039. GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9040. GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  9041. GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9042. GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9043. GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  9044. GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9045. GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9046. GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  9047. GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9048. GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
  9049. GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  9050. GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
  9051. GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  9052. #endif /* GL_GLEXT_PROTOTYPES */
  9053. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9054. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  9055. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9056. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9057. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  9058. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9059. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9060. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  9061. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9062. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9063. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  9064. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9065. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  9066. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  9067. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  9068. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  9069. #endif
  9070. #ifndef GL_NV_geometry_program4
  9071. #define GL_NV_geometry_program4 1
  9072. #ifdef GL_GLEXT_PROTOTYPES
  9073. GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
  9074. GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
  9075. GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  9076. GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  9077. #endif /* GL_GLEXT_PROTOTYPES */
  9078. typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
  9079. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  9080. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  9081. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  9082. #endif
  9083. #ifndef GL_EXT_geometry_shader4
  9084. #define GL_EXT_geometry_shader4 1
  9085. #ifdef GL_GLEXT_PROTOTYPES
  9086. GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
  9087. #endif /* GL_GLEXT_PROTOTYPES */
  9088. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  9089. #endif
  9090. #ifndef GL_NV_vertex_program4
  9091. #define GL_NV_vertex_program4 1
  9092. #ifdef GL_GLEXT_PROTOTYPES
  9093. GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
  9094. GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
  9095. GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
  9096. GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
  9097. GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
  9098. GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
  9099. GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
  9100. GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9101. GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
  9102. GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
  9103. GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
  9104. GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
  9105. GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
  9106. GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
  9107. GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
  9108. GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
  9109. GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
  9110. GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
  9111. GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
  9112. GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
  9113. GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  9114. GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
  9115. GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
  9116. #endif /* GL_GLEXT_PROTOTYPES */
  9117. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  9118. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  9119. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  9120. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  9121. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  9122. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  9123. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  9124. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9125. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  9126. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  9127. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  9128. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  9129. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  9130. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  9131. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  9132. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  9133. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  9134. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  9135. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  9136. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  9137. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  9138. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  9139. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  9140. #endif
  9141. #ifndef GL_EXT_gpu_shader4
  9142. #define GL_EXT_gpu_shader4 1
  9143. #ifdef GL_GLEXT_PROTOTYPES
  9144. GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
  9145. GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
  9146. GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
  9147. GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
  9148. GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
  9149. GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
  9150. GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  9151. GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
  9152. GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
  9153. GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
  9154. GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
  9155. #endif /* GL_GLEXT_PROTOTYPES */
  9156. typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
  9157. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  9158. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
  9159. typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
  9160. typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
  9161. typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  9162. typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  9163. typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  9164. typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  9165. typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  9166. typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  9167. #endif
  9168. #ifndef GL_EXT_draw_instanced
  9169. #define GL_EXT_draw_instanced 1
  9170. #ifdef GL_GLEXT_PROTOTYPES
  9171. GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  9172. GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  9173. #endif /* GL_GLEXT_PROTOTYPES */
  9174. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  9175. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  9176. #endif
  9177. #ifndef GL_EXT_packed_float
  9178. #define GL_EXT_packed_float 1
  9179. #endif
  9180. #ifndef GL_EXT_texture_array
  9181. #define GL_EXT_texture_array 1
  9182. #endif
  9183. #ifndef GL_EXT_texture_buffer_object
  9184. #define GL_EXT_texture_buffer_object 1
  9185. #ifdef GL_GLEXT_PROTOTYPES
  9186. GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
  9187. #endif /* GL_GLEXT_PROTOTYPES */
  9188. typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  9189. #endif
  9190. #ifndef GL_EXT_texture_compression_latc
  9191. #define GL_EXT_texture_compression_latc 1
  9192. #endif
  9193. #ifndef GL_EXT_texture_compression_rgtc
  9194. #define GL_EXT_texture_compression_rgtc 1
  9195. #endif
  9196. #ifndef GL_EXT_texture_shared_exponent
  9197. #define GL_EXT_texture_shared_exponent 1
  9198. #endif
  9199. #ifndef GL_NV_depth_buffer_float
  9200. #define GL_NV_depth_buffer_float 1
  9201. #ifdef GL_GLEXT_PROTOTYPES
  9202. GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
  9203. GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
  9204. GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
  9205. #endif /* GL_GLEXT_PROTOTYPES */
  9206. typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
  9207. typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
  9208. typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
  9209. #endif
  9210. #ifndef GL_NV_fragment_program4
  9211. #define GL_NV_fragment_program4 1
  9212. #endif
  9213. #ifndef GL_NV_framebuffer_multisample_coverage
  9214. #define GL_NV_framebuffer_multisample_coverage 1
  9215. #ifdef GL_GLEXT_PROTOTYPES
  9216. GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9217. #endif /* GL_GLEXT_PROTOTYPES */
  9218. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9219. #endif
  9220. #ifndef GL_EXT_framebuffer_sRGB
  9221. #define GL_EXT_framebuffer_sRGB 1
  9222. #endif
  9223. #ifndef GL_NV_geometry_shader4
  9224. #define GL_NV_geometry_shader4 1
  9225. #endif
  9226. #ifndef GL_NV_parameter_buffer_object
  9227. #define GL_NV_parameter_buffer_object 1
  9228. #ifdef GL_GLEXT_PROTOTYPES
  9229. GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
  9230. GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
  9231. GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
  9232. #endif /* GL_GLEXT_PROTOTYPES */
  9233. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
  9234. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
  9235. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
  9236. #endif
  9237. #ifndef GL_EXT_draw_buffers2
  9238. #define GL_EXT_draw_buffers2 1
  9239. #ifdef GL_GLEXT_PROTOTYPES
  9240. GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  9241. GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
  9242. GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
  9243. GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
  9244. GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
  9245. GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
  9246. #endif /* GL_GLEXT_PROTOTYPES */
  9247. typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  9248. typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
  9249. typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
  9250. typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  9251. typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  9252. typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  9253. #endif
  9254. #ifndef GL_NV_transform_feedback
  9255. #define GL_NV_transform_feedback 1
  9256. #ifdef GL_GLEXT_PROTOTYPES
  9257. GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
  9258. GLAPI void APIENTRY glEndTransformFeedbackNV (void);
  9259. GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
  9260. GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  9261. GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  9262. GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
  9263. GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  9264. GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
  9265. GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
  9266. GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  9267. GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
  9268. GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  9269. #endif /* GL_GLEXT_PROTOTYPES */
  9270. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
  9271. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
  9272. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
  9273. typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  9274. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  9275. typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
  9276. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  9277. typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
  9278. typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
  9279. typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  9280. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
  9281. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  9282. #endif
  9283. #ifndef GL_EXT_bindable_uniform
  9284. #define GL_EXT_bindable_uniform 1
  9285. #ifdef GL_GLEXT_PROTOTYPES
  9286. GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
  9287. GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
  9288. GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
  9289. #endif /* GL_GLEXT_PROTOTYPES */
  9290. typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
  9291. typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
  9292. typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
  9293. #endif
  9294. #ifndef GL_EXT_texture_integer
  9295. #define GL_EXT_texture_integer 1
  9296. #ifdef GL_GLEXT_PROTOTYPES
  9297. GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
  9298. GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
  9299. GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
  9300. GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
  9301. GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
  9302. GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  9303. #endif /* GL_GLEXT_PROTOTYPES */
  9304. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  9305. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  9306. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  9307. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  9308. typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  9309. typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  9310. #endif
  9311. #ifndef GL_GREMEDY_frame_terminator
  9312. #define GL_GREMEDY_frame_terminator 1
  9313. #ifdef GL_GLEXT_PROTOTYPES
  9314. GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
  9315. #endif /* GL_GLEXT_PROTOTYPES */
  9316. typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
  9317. #endif
  9318. #ifndef GL_NV_conditional_render
  9319. #define GL_NV_conditional_render 1
  9320. #ifdef GL_GLEXT_PROTOTYPES
  9321. GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  9322. GLAPI void APIENTRY glEndConditionalRenderNV (void);
  9323. #endif /* GL_GLEXT_PROTOTYPES */
  9324. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  9325. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  9326. #endif
  9327. #ifndef GL_NV_present_video
  9328. #define GL_NV_present_video 1
  9329. #ifdef GL_GLEXT_PROTOTYPES
  9330. GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
  9331. GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
  9332. GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
  9333. GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
  9334. GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
  9335. GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  9336. #endif /* GL_GLEXT_PROTOTYPES */
  9337. typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
  9338. typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
  9339. typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
  9340. typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
  9341. typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
  9342. typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  9343. #endif
  9344. #ifndef GL_EXT_transform_feedback
  9345. #define GL_EXT_transform_feedback 1
  9346. #ifdef GL_GLEXT_PROTOTYPES
  9347. GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
  9348. GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
  9349. GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  9350. GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  9351. GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
  9352. GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
  9353. GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  9354. #endif /* GL_GLEXT_PROTOTYPES */
  9355. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
  9356. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
  9357. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  9358. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  9359. typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
  9360. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
  9361. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  9362. #endif
  9363. #ifndef GL_EXT_direct_state_access
  9364. #define GL_EXT_direct_state_access 1
  9365. #ifdef GL_GLEXT_PROTOTYPES
  9366. GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
  9367. GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
  9368. GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
  9369. GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
  9370. GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
  9371. GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
  9372. GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
  9373. GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  9374. GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  9375. GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  9376. GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  9377. GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  9378. GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  9379. GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  9380. GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  9381. GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
  9382. GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
  9383. GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
  9384. GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
  9385. GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
  9386. GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
  9387. GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  9388. GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  9389. GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
  9390. GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  9391. GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9392. GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9393. GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  9394. GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  9395. GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  9396. GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  9397. GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  9398. GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  9399. GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  9400. GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  9401. GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  9402. GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  9403. GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  9404. GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9405. GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  9406. GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  9407. GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  9408. GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  9409. GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  9410. GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  9411. GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9412. GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9413. GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  9414. GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  9415. GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  9416. GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  9417. GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  9418. GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  9419. GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  9420. GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  9421. GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  9422. GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  9423. GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  9424. GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9425. GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  9426. GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  9427. GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
  9428. GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
  9429. GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
  9430. GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  9431. GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  9432. GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  9433. GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  9434. GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  9435. GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  9436. GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  9437. GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  9438. GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  9439. GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  9440. GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  9441. GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  9442. GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  9443. GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  9444. GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  9445. GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  9446. GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
  9447. GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
  9448. GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, GLvoid* *data);
  9449. GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  9450. GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  9451. GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  9452. GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9453. GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9454. GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9455. GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, GLvoid *img);
  9456. GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  9457. GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  9458. GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  9459. GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9460. GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9461. GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9462. GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
  9463. GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  9464. GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9465. GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  9466. GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9467. GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  9468. GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
  9469. GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
  9470. GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
  9471. GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, GLvoid *string);
  9472. GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  9473. GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9474. GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
  9475. GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  9476. GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9477. GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
  9478. GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9479. GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
  9480. GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
  9481. GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  9482. GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  9483. GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  9484. GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  9485. GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  9486. GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  9487. GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  9488. GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  9489. GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  9490. GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  9491. GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  9492. GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  9493. GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  9494. GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  9495. GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  9496. GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  9497. GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  9498. GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  9499. GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  9500. GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  9501. GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  9502. GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  9503. GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  9504. GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  9505. GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9506. GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9507. GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9508. GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9509. GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9510. GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9511. GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9512. GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9513. GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9514. GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  9515. GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  9516. GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  9517. GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  9518. GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  9519. GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  9520. GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  9521. GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  9522. GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
  9523. GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  9524. GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
  9525. GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
  9526. GLAPI GLvoid* APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  9527. GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
  9528. GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  9529. GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
  9530. GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, GLvoid* *params);
  9531. GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
  9532. GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  9533. GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  9534. GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  9535. GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
  9536. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
  9537. GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  9538. GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  9539. GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  9540. GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  9541. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  9542. GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
  9543. GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
  9544. GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
  9545. GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  9546. GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
  9547. GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  9548. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  9549. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9550. GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  9551. GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  9552. GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  9553. GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
  9554. GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
  9555. GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
  9556. GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
  9557. GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  9558. GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9559. GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  9560. GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  9561. GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  9562. GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  9563. GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9564. GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9565. GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9566. GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9567. GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9568. GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9569. GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9570. GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9571. GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9572. #endif /* GL_GLEXT_PROTOTYPES */
  9573. typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  9574. typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  9575. typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
  9576. typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
  9577. typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
  9578. typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
  9579. typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
  9580. typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  9581. typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  9582. typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  9583. typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  9584. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  9585. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  9586. typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  9587. typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  9588. typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
  9589. typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
  9590. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  9591. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  9592. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  9593. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  9594. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  9595. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  9596. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  9597. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  9598. typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9599. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9600. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  9601. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  9602. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  9603. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  9604. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  9605. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  9606. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  9607. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  9608. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  9609. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  9610. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  9611. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9612. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  9613. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  9614. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  9615. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  9616. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  9617. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  9618. typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9619. typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9620. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  9621. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  9622. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  9623. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  9624. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  9625. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  9626. typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  9627. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  9628. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  9629. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  9630. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  9631. typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  9632. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  9633. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  9634. typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  9635. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  9636. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  9637. typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  9638. typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  9639. typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  9640. typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  9641. typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  9642. typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  9643. typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  9644. typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  9645. typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  9646. typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  9647. typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  9648. typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  9649. typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  9650. typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  9651. typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  9652. typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  9653. typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
  9654. typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
  9655. typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid* *data);
  9656. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  9657. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  9658. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  9659. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9660. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9661. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9662. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, GLvoid *img);
  9663. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  9664. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  9665. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  9666. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9667. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9668. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  9669. typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
  9670. typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  9671. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9672. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  9673. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9674. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  9675. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
  9676. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
  9677. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
  9678. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, GLvoid *string);
  9679. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  9680. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9681. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
  9682. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  9683. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9684. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
  9685. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9686. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
  9687. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
  9688. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  9689. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  9690. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  9691. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  9692. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  9693. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  9694. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  9695. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  9696. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  9697. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  9698. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  9699. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  9700. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  9701. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  9702. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  9703. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  9704. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  9705. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  9706. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  9707. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  9708. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  9709. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  9710. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  9711. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  9712. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9713. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9714. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9715. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9716. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9717. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9718. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9719. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9720. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  9721. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  9722. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  9723. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  9724. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  9725. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  9726. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  9727. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  9728. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  9729. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
  9730. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  9731. typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  9732. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  9733. typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  9734. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  9735. typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  9736. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
  9737. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, GLvoid* *params);
  9738. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
  9739. typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  9740. typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  9741. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  9742. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  9743. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  9744. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  9745. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  9746. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  9747. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  9748. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  9749. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  9750. typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  9751. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  9752. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  9753. typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  9754. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  9755. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  9756. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9757. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  9758. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  9759. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  9760. typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  9761. typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  9762. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
  9763. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  9764. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  9765. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9766. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  9767. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  9768. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  9769. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  9770. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9771. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9772. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9773. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9774. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9775. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9776. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9777. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9778. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  9779. #endif
  9780. #ifndef GL_EXT_vertex_array_bgra
  9781. #define GL_EXT_vertex_array_bgra 1
  9782. #endif
  9783. #ifndef GL_EXT_texture_swizzle
  9784. #define GL_EXT_texture_swizzle 1
  9785. #endif
  9786. #ifndef GL_NV_explicit_multisample
  9787. #define GL_NV_explicit_multisample 1
  9788. #ifdef GL_GLEXT_PROTOTYPES
  9789. GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
  9790. GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
  9791. GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
  9792. #endif /* GL_GLEXT_PROTOTYPES */
  9793. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
  9794. typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
  9795. typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
  9796. #endif
  9797. #ifndef GL_NV_transform_feedback2
  9798. #define GL_NV_transform_feedback2 1
  9799. #ifdef GL_GLEXT_PROTOTYPES
  9800. GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
  9801. GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
  9802. GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
  9803. GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
  9804. GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
  9805. GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
  9806. GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
  9807. #endif /* GL_GLEXT_PROTOTYPES */
  9808. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
  9809. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
  9810. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
  9811. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
  9812. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
  9813. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
  9814. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
  9815. #endif
  9816. #ifndef GL_ATI_meminfo
  9817. #define GL_ATI_meminfo 1
  9818. #endif
  9819. #ifndef GL_AMD_performance_monitor
  9820. #define GL_AMD_performance_monitor 1
  9821. #ifdef GL_GLEXT_PROTOTYPES
  9822. GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  9823. GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  9824. GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  9825. GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  9826. GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
  9827. GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  9828. GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  9829. GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  9830. GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  9831. GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  9832. GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  9833. #endif /* GL_GLEXT_PROTOTYPES */
  9834. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  9835. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  9836. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  9837. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  9838. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
  9839. typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  9840. typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  9841. typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  9842. typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  9843. typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  9844. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  9845. #endif
  9846. #ifndef GL_AMD_texture_texture4
  9847. #define GL_AMD_texture_texture4 1
  9848. #endif
  9849. #ifndef GL_AMD_vertex_shader_tesselator
  9850. #define GL_AMD_vertex_shader_tesselator 1
  9851. #ifdef GL_GLEXT_PROTOTYPES
  9852. GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
  9853. GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
  9854. #endif /* GL_GLEXT_PROTOTYPES */
  9855. typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
  9856. typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
  9857. #endif
  9858. #ifndef GL_EXT_provoking_vertex
  9859. #define GL_EXT_provoking_vertex 1
  9860. #ifdef GL_GLEXT_PROTOTYPES
  9861. GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
  9862. #endif /* GL_GLEXT_PROTOTYPES */
  9863. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
  9864. #endif
  9865. #ifndef GL_EXT_texture_snorm
  9866. #define GL_EXT_texture_snorm 1
  9867. #endif
  9868. #ifndef GL_AMD_draw_buffers_blend
  9869. #define GL_AMD_draw_buffers_blend 1
  9870. #ifdef GL_GLEXT_PROTOTYPES
  9871. GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
  9872. GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  9873. GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
  9874. GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  9875. #endif /* GL_GLEXT_PROTOTYPES */
  9876. typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
  9877. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  9878. typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
  9879. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  9880. #endif
  9881. #ifndef GL_APPLE_texture_range
  9882. #define GL_APPLE_texture_range 1
  9883. #ifdef GL_GLEXT_PROTOTYPES
  9884. GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const GLvoid *pointer);
  9885. GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid* *params);
  9886. #endif /* GL_GLEXT_PROTOTYPES */
  9887. typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer);
  9888. typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid* *params);
  9889. #endif
  9890. #ifndef GL_APPLE_float_pixels
  9891. #define GL_APPLE_float_pixels 1
  9892. #endif
  9893. #ifndef GL_APPLE_vertex_program_evaluators
  9894. #define GL_APPLE_vertex_program_evaluators 1
  9895. #ifdef GL_GLEXT_PROTOTYPES
  9896. GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
  9897. GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
  9898. GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
  9899. GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  9900. GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  9901. GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
  9902. GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
  9903. #endif /* GL_GLEXT_PROTOTYPES */
  9904. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  9905. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  9906. typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
  9907. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  9908. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  9909. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
  9910. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
  9911. #endif
  9912. #ifndef GL_APPLE_aux_depth_stencil
  9913. #define GL_APPLE_aux_depth_stencil 1
  9914. #endif
  9915. #ifndef GL_APPLE_object_purgeable
  9916. #define GL_APPLE_object_purgeable 1
  9917. #ifdef GL_GLEXT_PROTOTYPES
  9918. GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  9919. GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  9920. GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  9921. #endif /* GL_GLEXT_PROTOTYPES */
  9922. typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  9923. typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  9924. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  9925. #endif
  9926. #ifndef GL_APPLE_row_bytes
  9927. #define GL_APPLE_row_bytes 1
  9928. #endif
  9929. #ifndef GL_APPLE_rgb_422
  9930. #define GL_APPLE_rgb_422 1
  9931. #endif
  9932. #ifndef GL_NV_video_capture
  9933. #define GL_NV_video_capture 1
  9934. #ifdef GL_GLEXT_PROTOTYPES
  9935. GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
  9936. GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  9937. GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  9938. GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
  9939. GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
  9940. GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  9941. GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  9942. GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  9943. GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  9944. GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  9945. GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  9946. GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  9947. #endif /* GL_GLEXT_PROTOTYPES */
  9948. typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  9949. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  9950. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  9951. typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  9952. typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
  9953. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  9954. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  9955. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  9956. typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  9957. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  9958. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  9959. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  9960. #endif
  9961. #ifndef GL_NV_copy_image
  9962. #define GL_NV_copy_image 1
  9963. #ifdef GL_GLEXT_PROTOTYPES
  9964. GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
  9965. #endif /* GL_GLEXT_PROTOTYPES */
  9966. typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
  9967. #endif
  9968. #ifndef GL_EXT_separate_shader_objects
  9969. #define GL_EXT_separate_shader_objects 1
  9970. #ifdef GL_GLEXT_PROTOTYPES
  9971. GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
  9972. GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
  9973. GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
  9974. #endif /* GL_GLEXT_PROTOTYPES */
  9975. typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
  9976. typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
  9977. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
  9978. #endif
  9979. #ifndef GL_NV_parameter_buffer_object2
  9980. #define GL_NV_parameter_buffer_object2 1
  9981. #endif
  9982. #ifndef GL_NV_shader_buffer_load
  9983. #define GL_NV_shader_buffer_load 1
  9984. #ifdef GL_GLEXT_PROTOTYPES
  9985. GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
  9986. GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
  9987. GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
  9988. GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
  9989. GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
  9990. GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
  9991. GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
  9992. GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
  9993. GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
  9994. GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
  9995. GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  9996. GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
  9997. GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
  9998. GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  9999. #endif /* GL_GLEXT_PROTOTYPES */
  10000. typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
  10001. typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
  10002. typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
  10003. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
  10004. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
  10005. typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
  10006. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
  10007. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
  10008. typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
  10009. typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
  10010. typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  10011. typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
  10012. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
  10013. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10014. #endif
  10015. #ifndef GL_NV_vertex_buffer_unified_memory
  10016. #define GL_NV_vertex_buffer_unified_memory 1
  10017. #ifdef GL_GLEXT_PROTOTYPES
  10018. GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  10019. GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
  10020. GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
  10021. GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
  10022. GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
  10023. GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
  10024. GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
  10025. GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
  10026. GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
  10027. GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  10028. GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  10029. GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
  10030. #endif /* GL_GLEXT_PROTOTYPES */
  10031. typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  10032. typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  10033. typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
  10034. typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  10035. typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
  10036. typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  10037. typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
  10038. typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  10039. typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
  10040. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  10041. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  10042. typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
  10043. #endif
  10044. #ifndef GL_NV_texture_barrier
  10045. #define GL_NV_texture_barrier 1
  10046. #ifdef GL_GLEXT_PROTOTYPES
  10047. GLAPI void APIENTRY glTextureBarrierNV (void);
  10048. #endif /* GL_GLEXT_PROTOTYPES */
  10049. typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
  10050. #endif
  10051. #ifndef GL_AMD_shader_stencil_export
  10052. #define GL_AMD_shader_stencil_export 1
  10053. #endif
  10054. #ifndef GL_AMD_seamless_cubemap_per_texture
  10055. #define GL_AMD_seamless_cubemap_per_texture 1
  10056. #endif
  10057. #ifndef GL_AMD_conservative_depth
  10058. #define GL_AMD_conservative_depth 1
  10059. #endif
  10060. #ifndef GL_EXT_shader_image_load_store
  10061. #define GL_EXT_shader_image_load_store 1
  10062. #ifdef GL_GLEXT_PROTOTYPES
  10063. GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  10064. GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
  10065. #endif /* GL_GLEXT_PROTOTYPES */
  10066. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  10067. typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
  10068. #endif
  10069. #ifndef GL_EXT_vertex_attrib_64bit
  10070. #define GL_EXT_vertex_attrib_64bit 1
  10071. #ifdef GL_GLEXT_PROTOTYPES
  10072. GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
  10073. GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
  10074. GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  10075. GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10076. GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
  10077. GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
  10078. GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
  10079. GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
  10080. GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  10081. GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
  10082. GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  10083. #endif /* GL_GLEXT_PROTOTYPES */
  10084. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
  10085. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
  10086. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  10087. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10088. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
  10089. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
  10090. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
  10091. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
  10092. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  10093. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
  10094. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  10095. #endif
  10096. #ifndef GL_NV_gpu_program5
  10097. #define GL_NV_gpu_program5 1
  10098. #ifdef GL_GLEXT_PROTOTYPES
  10099. GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
  10100. GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
  10101. #endif /* GL_GLEXT_PROTOTYPES */
  10102. typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
  10103. typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
  10104. #endif
  10105. #ifndef GL_NV_gpu_shader5
  10106. #define GL_NV_gpu_shader5 1
  10107. #ifdef GL_GLEXT_PROTOTYPES
  10108. GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
  10109. GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
  10110. GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  10111. GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  10112. GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  10113. GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  10114. GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  10115. GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  10116. GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
  10117. GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
  10118. GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  10119. GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  10120. GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  10121. GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  10122. GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  10123. GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  10124. GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
  10125. GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
  10126. GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  10127. GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  10128. GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  10129. GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  10130. GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  10131. GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  10132. GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  10133. GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
  10134. GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  10135. GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  10136. GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  10137. GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10138. GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10139. GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10140. GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10141. #endif /* GL_GLEXT_PROTOTYPES */
  10142. typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  10143. typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  10144. typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  10145. typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  10146. typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  10147. typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  10148. typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  10149. typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  10150. typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  10151. typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  10152. typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  10153. typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  10154. typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  10155. typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  10156. typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  10157. typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  10158. typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
  10159. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  10160. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  10161. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  10162. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  10163. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  10164. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  10165. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  10166. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  10167. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  10168. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  10169. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  10170. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  10171. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10172. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10173. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10174. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10175. #endif
  10176. #ifndef GL_NV_shader_buffer_store
  10177. #define GL_NV_shader_buffer_store 1
  10178. #endif
  10179. #ifndef GL_NV_tessellation_program5
  10180. #define GL_NV_tessellation_program5 1
  10181. #endif
  10182. #ifndef GL_NV_vertex_attrib_integer_64bit
  10183. #define GL_NV_vertex_attrib_integer_64bit 1
  10184. #ifdef GL_GLEXT_PROTOTYPES
  10185. GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
  10186. GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
  10187. GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  10188. GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  10189. GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
  10190. GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
  10191. GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
  10192. GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
  10193. GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
  10194. GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
  10195. GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  10196. GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  10197. GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
  10198. GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
  10199. GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
  10200. GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
  10201. GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
  10202. GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
  10203. GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  10204. #endif /* GL_GLEXT_PROTOTYPES */
  10205. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
  10206. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
  10207. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  10208. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  10209. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
  10210. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
  10211. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
  10212. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
  10213. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
  10214. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
  10215. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  10216. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  10217. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  10218. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  10219. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  10220. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  10221. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
  10222. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  10223. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  10224. #endif
  10225. #ifndef GL_NV_multisample_coverage
  10226. #define GL_NV_multisample_coverage 1
  10227. #endif
  10228. #ifndef GL_AMD_name_gen_delete
  10229. #define GL_AMD_name_gen_delete 1
  10230. #ifdef GL_GLEXT_PROTOTYPES
  10231. GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
  10232. GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
  10233. GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
  10234. #endif /* GL_GLEXT_PROTOTYPES */
  10235. typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
  10236. typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
  10237. typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
  10238. #endif
  10239. #ifndef GL_AMD_debug_output
  10240. #define GL_AMD_debug_output 1
  10241. #ifdef GL_GLEXT_PROTOTYPES
  10242. GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  10243. GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  10244. GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, GLvoid *userParam);
  10245. GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  10246. #endif /* GL_GLEXT_PROTOTYPES */
  10247. typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  10248. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  10249. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, GLvoid *userParam);
  10250. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  10251. #endif
  10252. #ifndef GL_NV_vdpau_interop
  10253. #define GL_NV_vdpau_interop 1
  10254. #ifdef GL_GLEXT_PROTOTYPES
  10255. GLAPI void APIENTRY glVDPAUInitNV (const GLvoid *vdpDevice, const GLvoid *getProcAddress);
  10256. GLAPI void APIENTRY glVDPAUFiniNV (void);
  10257. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  10258. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  10259. GLAPI void APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
  10260. GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
  10261. GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  10262. GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
  10263. GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  10264. GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  10265. #endif /* GL_GLEXT_PROTOTYPES */
  10266. typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const GLvoid *vdpDevice, const GLvoid *getProcAddress);
  10267. typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
  10268. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  10269. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  10270. typedef void (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
  10271. typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
  10272. typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  10273. typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
  10274. typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  10275. typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  10276. #endif
  10277. #ifndef GL_AMD_transform_feedback3_lines_triangles
  10278. #define GL_AMD_transform_feedback3_lines_triangles 1
  10279. #endif
  10280. #ifdef __cplusplus
  10281. }
  10282. #endif
  10283. #endif
  10284. #endif /* NO_SDL_GLEXT */
  10285. #endif /* !__IPHONEOS__ */
  10286. #endif /* _SDL_opengl_h */
  10287. /* vi: set ts=4 sw=4 expandtab: */