Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

11178 lignes
714 KiB

  1. #ifndef __glext_h_
  2. #define __glext_h_ 1
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright (c) 2013-2014 The Khronos Group Inc.
  8. **
  9. ** Permission is hereby granted, free of charge, to any person obtaining a
  10. ** copy of this software and/or associated documentation files (the
  11. ** "Materials"), to deal in the Materials without restriction, including
  12. ** without limitation the rights to use, copy, modify, merge, publish,
  13. ** distribute, sublicense, and/or sell copies of the Materials, and to
  14. ** permit persons to whom the Materials are furnished to do so, subject to
  15. ** the following conditions:
  16. **
  17. ** The above copyright notice and this permission notice shall be included
  18. ** in all copies or substantial portions of the Materials.
  19. **
  20. ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  23. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  24. ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  25. ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  26. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  27. */
  28. /*
  29. ** This header is generated from the Khronos OpenGL / OpenGL ES XML
  30. ** API Registry. The current version of the Registry, generator scripts
  31. ** used to make the header, and the header can be found at
  32. ** http://www.opengl.org/registry/
  33. **
  34. ** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
  35. */
  36. #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
  37. #ifndef WIN32_LEAN_AND_MEAN
  38. #define WIN32_LEAN_AND_MEAN 1
  39. #endif
  40. #include <windows.h>
  41. #endif
  42. #ifndef APIENTRY
  43. #define APIENTRY
  44. #endif
  45. #ifndef APIENTRYP
  46. #define APIENTRYP APIENTRY *
  47. #endif
  48. #ifndef GLAPI
  49. #define GLAPI extern
  50. #endif
  51. #define GL_GLEXT_VERSION 20140521
  52. /* Generated C header for:
  53. * API: gl
  54. * Profile: compatibility
  55. * Versions considered: .*
  56. * Versions emitted: 1\.[2-9]|[234]\.[0-9]
  57. * Default extensions included: gl
  58. * Additional extensions included: _nomatch_^
  59. * Extensions removed: _nomatch_^
  60. */
  61. #ifndef GL_VERSION_1_2
  62. #define GL_VERSION_1_2 1
  63. #define GL_UNSIGNED_BYTE_3_3_2 0x8032
  64. #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
  65. #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
  66. #define GL_UNSIGNED_INT_8_8_8_8 0x8035
  67. #define GL_UNSIGNED_INT_10_10_10_2 0x8036
  68. #define GL_TEXTURE_BINDING_3D 0x806A
  69. #define GL_PACK_SKIP_IMAGES 0x806B
  70. #define GL_PACK_IMAGE_HEIGHT 0x806C
  71. #define GL_UNPACK_SKIP_IMAGES 0x806D
  72. #define GL_UNPACK_IMAGE_HEIGHT 0x806E
  73. #define GL_TEXTURE_3D 0x806F
  74. #define GL_PROXY_TEXTURE_3D 0x8070
  75. #define GL_TEXTURE_DEPTH 0x8071
  76. #define GL_TEXTURE_WRAP_R 0x8072
  77. #define GL_MAX_3D_TEXTURE_SIZE 0x8073
  78. #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
  79. #define GL_UNSIGNED_SHORT_5_6_5 0x8363
  80. #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
  81. #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
  82. #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
  83. #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
  84. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  85. #define GL_BGR 0x80E0
  86. #define GL_BGRA 0x80E1
  87. #define GL_MAX_ELEMENTS_VERTICES 0x80E8
  88. #define GL_MAX_ELEMENTS_INDICES 0x80E9
  89. #define GL_CLAMP_TO_EDGE 0x812F
  90. #define GL_TEXTURE_MIN_LOD 0x813A
  91. #define GL_TEXTURE_MAX_LOD 0x813B
  92. #define GL_TEXTURE_BASE_LEVEL 0x813C
  93. #define GL_TEXTURE_MAX_LEVEL 0x813D
  94. #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
  95. #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
  96. #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
  97. #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
  98. #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
  99. #define GL_RESCALE_NORMAL 0x803A
  100. #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
  101. #define GL_SINGLE_COLOR 0x81F9
  102. #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
  103. #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
  104. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  105. typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  106. 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 void *pixels);
  107. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  108. #ifdef GL_GLEXT_PROTOTYPES
  109. GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  110. GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  111. 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 void *pixels);
  112. GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  113. #endif
  114. #endif /* GL_VERSION_1_2 */
  115. #ifndef GL_VERSION_1_3
  116. #define GL_VERSION_1_3 1
  117. #define GL_TEXTURE0 0x84C0
  118. #define GL_TEXTURE1 0x84C1
  119. #define GL_TEXTURE2 0x84C2
  120. #define GL_TEXTURE3 0x84C3
  121. #define GL_TEXTURE4 0x84C4
  122. #define GL_TEXTURE5 0x84C5
  123. #define GL_TEXTURE6 0x84C6
  124. #define GL_TEXTURE7 0x84C7
  125. #define GL_TEXTURE8 0x84C8
  126. #define GL_TEXTURE9 0x84C9
  127. #define GL_TEXTURE10 0x84CA
  128. #define GL_TEXTURE11 0x84CB
  129. #define GL_TEXTURE12 0x84CC
  130. #define GL_TEXTURE13 0x84CD
  131. #define GL_TEXTURE14 0x84CE
  132. #define GL_TEXTURE15 0x84CF
  133. #define GL_TEXTURE16 0x84D0
  134. #define GL_TEXTURE17 0x84D1
  135. #define GL_TEXTURE18 0x84D2
  136. #define GL_TEXTURE19 0x84D3
  137. #define GL_TEXTURE20 0x84D4
  138. #define GL_TEXTURE21 0x84D5
  139. #define GL_TEXTURE22 0x84D6
  140. #define GL_TEXTURE23 0x84D7
  141. #define GL_TEXTURE24 0x84D8
  142. #define GL_TEXTURE25 0x84D9
  143. #define GL_TEXTURE26 0x84DA
  144. #define GL_TEXTURE27 0x84DB
  145. #define GL_TEXTURE28 0x84DC
  146. #define GL_TEXTURE29 0x84DD
  147. #define GL_TEXTURE30 0x84DE
  148. #define GL_TEXTURE31 0x84DF
  149. #define GL_ACTIVE_TEXTURE 0x84E0
  150. #define GL_MULTISAMPLE 0x809D
  151. #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
  152. #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
  153. #define GL_SAMPLE_COVERAGE 0x80A0
  154. #define GL_SAMPLE_BUFFERS 0x80A8
  155. #define GL_SAMPLES 0x80A9
  156. #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
  157. #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
  158. #define GL_TEXTURE_CUBE_MAP 0x8513
  159. #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
  160. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
  161. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
  162. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
  163. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
  164. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
  165. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
  166. #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
  167. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
  168. #define GL_COMPRESSED_RGB 0x84ED
  169. #define GL_COMPRESSED_RGBA 0x84EE
  170. #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
  171. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
  172. #define GL_TEXTURE_COMPRESSED 0x86A1
  173. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
  174. #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
  175. #define GL_CLAMP_TO_BORDER 0x812D
  176. #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
  177. #define GL_MAX_TEXTURE_UNITS 0x84E2
  178. #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
  179. #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
  180. #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
  181. #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
  182. #define GL_MULTISAMPLE_BIT 0x20000000
  183. #define GL_NORMAL_MAP 0x8511
  184. #define GL_REFLECTION_MAP 0x8512
  185. #define GL_COMPRESSED_ALPHA 0x84E9
  186. #define GL_COMPRESSED_LUMINANCE 0x84EA
  187. #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
  188. #define GL_COMPRESSED_INTENSITY 0x84EC
  189. #define GL_COMBINE 0x8570
  190. #define GL_COMBINE_RGB 0x8571
  191. #define GL_COMBINE_ALPHA 0x8572
  192. #define GL_SOURCE0_RGB 0x8580
  193. #define GL_SOURCE1_RGB 0x8581
  194. #define GL_SOURCE2_RGB 0x8582
  195. #define GL_SOURCE0_ALPHA 0x8588
  196. #define GL_SOURCE1_ALPHA 0x8589
  197. #define GL_SOURCE2_ALPHA 0x858A
  198. #define GL_OPERAND0_RGB 0x8590
  199. #define GL_OPERAND1_RGB 0x8591
  200. #define GL_OPERAND2_RGB 0x8592
  201. #define GL_OPERAND0_ALPHA 0x8598
  202. #define GL_OPERAND1_ALPHA 0x8599
  203. #define GL_OPERAND2_ALPHA 0x859A
  204. #define GL_RGB_SCALE 0x8573
  205. #define GL_ADD_SIGNED 0x8574
  206. #define GL_INTERPOLATE 0x8575
  207. #define GL_SUBTRACT 0x84E7
  208. #define GL_CONSTANT 0x8576
  209. #define GL_PRIMARY_COLOR 0x8577
  210. #define GL_PREVIOUS 0x8578
  211. #define GL_DOT3_RGB 0x86AE
  212. #define GL_DOT3_RGBA 0x86AF
  213. typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  214. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
  215. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  216. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  217. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  218. 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 void *data);
  219. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  220. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  221. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
  222. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  223. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  224. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  225. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  226. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  227. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  228. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  229. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  230. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  231. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  232. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  233. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  234. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  235. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  236. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  237. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  238. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  239. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  240. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  241. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  242. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  243. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  244. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  245. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  246. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  247. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  248. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  249. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  250. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  251. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  252. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  253. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  254. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  255. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  256. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  257. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  258. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  259. #ifdef GL_GLEXT_PROTOTYPES
  260. GLAPI void APIENTRY glActiveTexture (GLenum texture);
  261. GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
  262. GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  263. GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  264. GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  265. 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 void *data);
  266. GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  267. GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  268. GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
  269. GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
  270. GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
  271. GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
  272. GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
  273. GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
  274. GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
  275. GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
  276. GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
  277. GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
  278. GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
  279. GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
  280. GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
  281. GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
  282. GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
  283. GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
  284. GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
  285. GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
  286. GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  287. GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
  288. GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  289. GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
  290. GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
  291. GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
  292. GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
  293. GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
  294. GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  295. GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
  296. GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  297. GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
  298. GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
  299. GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
  300. GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  301. GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
  302. GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
  303. GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
  304. GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
  305. GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
  306. #endif
  307. #endif /* GL_VERSION_1_3 */
  308. #ifndef GL_VERSION_1_4
  309. #define GL_VERSION_1_4 1
  310. #define GL_BLEND_DST_RGB 0x80C8
  311. #define GL_BLEND_SRC_RGB 0x80C9
  312. #define GL_BLEND_DST_ALPHA 0x80CA
  313. #define GL_BLEND_SRC_ALPHA 0x80CB
  314. #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
  315. #define GL_DEPTH_COMPONENT16 0x81A5
  316. #define GL_DEPTH_COMPONENT24 0x81A6
  317. #define GL_DEPTH_COMPONENT32 0x81A7
  318. #define GL_MIRRORED_REPEAT 0x8370
  319. #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
  320. #define GL_TEXTURE_LOD_BIAS 0x8501
  321. #define GL_INCR_WRAP 0x8507
  322. #define GL_DECR_WRAP 0x8508
  323. #define GL_TEXTURE_DEPTH_SIZE 0x884A
  324. #define GL_TEXTURE_COMPARE_MODE 0x884C
  325. #define GL_TEXTURE_COMPARE_FUNC 0x884D
  326. #define GL_POINT_SIZE_MIN 0x8126
  327. #define GL_POINT_SIZE_MAX 0x8127
  328. #define GL_POINT_DISTANCE_ATTENUATION 0x8129
  329. #define GL_GENERATE_MIPMAP 0x8191
  330. #define GL_GENERATE_MIPMAP_HINT 0x8192
  331. #define GL_FOG_COORDINATE_SOURCE 0x8450
  332. #define GL_FOG_COORDINATE 0x8451
  333. #define GL_FRAGMENT_DEPTH 0x8452
  334. #define GL_CURRENT_FOG_COORDINATE 0x8453
  335. #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
  336. #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
  337. #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
  338. #define GL_FOG_COORDINATE_ARRAY 0x8457
  339. #define GL_COLOR_SUM 0x8458
  340. #define GL_CURRENT_SECONDARY_COLOR 0x8459
  341. #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
  342. #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
  343. #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
  344. #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
  345. #define GL_SECONDARY_COLOR_ARRAY 0x845E
  346. #define GL_TEXTURE_FILTER_CONTROL 0x8500
  347. #define GL_DEPTH_TEXTURE_MODE 0x884B
  348. #define GL_COMPARE_R_TO_TEXTURE 0x884E
  349. #define GL_FUNC_ADD 0x8006
  350. #define GL_FUNC_SUBTRACT 0x800A
  351. #define GL_FUNC_REVERSE_SUBTRACT 0x800B
  352. #define GL_MIN 0x8007
  353. #define GL_MAX 0x8008
  354. #define GL_CONSTANT_COLOR 0x8001
  355. #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
  356. #define GL_CONSTANT_ALPHA 0x8003
  357. #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
  358. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  359. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  360. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  361. typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  362. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  363. typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  364. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  365. typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
  366. typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  367. typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
  368. typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  369. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
  370. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  371. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  372. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  373. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  374. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  375. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  376. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  377. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  378. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  379. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  380. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  381. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  382. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  383. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  384. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  385. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  386. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  387. typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  388. typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
  389. typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  390. typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
  391. typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  392. typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
  393. typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  394. typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
  395. typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  396. typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
  397. typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  398. typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
  399. typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  400. typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
  401. typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  402. typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
  403. typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  404. typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  405. #ifdef GL_GLEXT_PROTOTYPES
  406. GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  407. GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  408. GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  409. GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
  410. GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
  411. GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
  412. GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
  413. GLAPI void APIENTRY glFogCoordf (GLfloat coord);
  414. GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
  415. GLAPI void APIENTRY glFogCoordd (GLdouble coord);
  416. GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
  417. GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
  418. GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
  419. GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
  420. GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
  421. GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
  422. GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
  423. GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
  424. GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
  425. GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
  426. GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
  427. GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
  428. GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
  429. GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
  430. GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
  431. GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
  432. GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
  433. GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
  434. GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
  435. GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
  436. GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
  437. GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
  438. GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
  439. GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
  440. GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
  441. GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
  442. GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
  443. GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
  444. GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
  445. GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
  446. GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
  447. GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
  448. GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
  449. GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
  450. GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
  451. GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  452. GLAPI void APIENTRY glBlendEquation (GLenum mode);
  453. #endif
  454. #endif /* GL_VERSION_1_4 */
  455. #ifndef GL_VERSION_1_5
  456. #define GL_VERSION_1_5 1
  457. #include <stddef.h>
  458. #ifdef __MACOSX__
  459. typedef long GLsizeiptr;
  460. typedef long GLintptr;
  461. #else
  462. typedef ptrdiff_t GLsizeiptr;
  463. typedef ptrdiff_t GLintptr;
  464. #endif
  465. #define GL_BUFFER_SIZE 0x8764
  466. #define GL_BUFFER_USAGE 0x8765
  467. #define GL_QUERY_COUNTER_BITS 0x8864
  468. #define GL_CURRENT_QUERY 0x8865
  469. #define GL_QUERY_RESULT 0x8866
  470. #define GL_QUERY_RESULT_AVAILABLE 0x8867
  471. #define GL_ARRAY_BUFFER 0x8892
  472. #define GL_ELEMENT_ARRAY_BUFFER 0x8893
  473. #define GL_ARRAY_BUFFER_BINDING 0x8894
  474. #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
  475. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
  476. #define GL_READ_ONLY 0x88B8
  477. #define GL_WRITE_ONLY 0x88B9
  478. #define GL_READ_WRITE 0x88BA
  479. #define GL_BUFFER_ACCESS 0x88BB
  480. #define GL_BUFFER_MAPPED 0x88BC
  481. #define GL_BUFFER_MAP_POINTER 0x88BD
  482. #define GL_STREAM_DRAW 0x88E0
  483. #define GL_STREAM_READ 0x88E1
  484. #define GL_STREAM_COPY 0x88E2
  485. #define GL_STATIC_DRAW 0x88E4
  486. #define GL_STATIC_READ 0x88E5
  487. #define GL_STATIC_COPY 0x88E6
  488. #define GL_DYNAMIC_DRAW 0x88E8
  489. #define GL_DYNAMIC_READ 0x88E9
  490. #define GL_DYNAMIC_COPY 0x88EA
  491. #define GL_SAMPLES_PASSED 0x8914
  492. #define GL_SRC1_ALPHA 0x8589
  493. #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
  494. #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
  495. #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
  496. #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
  497. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
  498. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
  499. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
  500. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
  501. #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
  502. #define GL_FOG_COORD_SRC 0x8450
  503. #define GL_FOG_COORD 0x8451
  504. #define GL_CURRENT_FOG_COORD 0x8453
  505. #define GL_FOG_COORD_ARRAY_TYPE 0x8454
  506. #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
  507. #define GL_FOG_COORD_ARRAY_POINTER 0x8456
  508. #define GL_FOG_COORD_ARRAY 0x8457
  509. #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
  510. #define GL_SRC0_RGB 0x8580
  511. #define GL_SRC1_RGB 0x8581
  512. #define GL_SRC2_RGB 0x8582
  513. #define GL_SRC0_ALPHA 0x8588
  514. #define GL_SRC2_ALPHA 0x858A
  515. typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  516. typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  517. typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  518. typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  519. typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  520. typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  521. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  522. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  523. typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  524. typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  525. typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  526. typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  527. typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  528. typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  529. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  530. typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  531. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  532. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  533. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
  534. #ifdef GL_GLEXT_PROTOTYPES
  535. GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
  536. GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
  537. GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
  538. GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
  539. GLAPI void APIENTRY glEndQuery (GLenum target);
  540. GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
  541. GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
  542. GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
  543. GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
  544. GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
  545. GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
  546. GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
  547. GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  548. GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  549. GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  550. GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
  551. GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
  552. GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
  553. GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
  554. #endif
  555. #endif /* GL_VERSION_1_5 */
  556. #ifndef GL_VERSION_2_0
  557. #define GL_VERSION_2_0 1
  558. typedef char GLchar;
  559. #define GL_BLEND_EQUATION_RGB 0x8009
  560. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
  561. #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
  562. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
  563. #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
  564. #define GL_CURRENT_VERTEX_ATTRIB 0x8626
  565. #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
  566. #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
  567. #define GL_STENCIL_BACK_FUNC 0x8800
  568. #define GL_STENCIL_BACK_FAIL 0x8801
  569. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
  570. #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
  571. #define GL_MAX_DRAW_BUFFERS 0x8824
  572. #define GL_DRAW_BUFFER0 0x8825
  573. #define GL_DRAW_BUFFER1 0x8826
  574. #define GL_DRAW_BUFFER2 0x8827
  575. #define GL_DRAW_BUFFER3 0x8828
  576. #define GL_DRAW_BUFFER4 0x8829
  577. #define GL_DRAW_BUFFER5 0x882A
  578. #define GL_DRAW_BUFFER6 0x882B
  579. #define GL_DRAW_BUFFER7 0x882C
  580. #define GL_DRAW_BUFFER8 0x882D
  581. #define GL_DRAW_BUFFER9 0x882E
  582. #define GL_DRAW_BUFFER10 0x882F
  583. #define GL_DRAW_BUFFER11 0x8830
  584. #define GL_DRAW_BUFFER12 0x8831
  585. #define GL_DRAW_BUFFER13 0x8832
  586. #define GL_DRAW_BUFFER14 0x8833
  587. #define GL_DRAW_BUFFER15 0x8834
  588. #define GL_BLEND_EQUATION_ALPHA 0x883D
  589. #define GL_MAX_VERTEX_ATTRIBS 0x8869
  590. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
  591. #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
  592. #define GL_FRAGMENT_SHADER 0x8B30
  593. #define GL_VERTEX_SHADER 0x8B31
  594. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
  595. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
  596. #define GL_MAX_VARYING_FLOATS 0x8B4B
  597. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
  598. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
  599. #define GL_SHADER_TYPE 0x8B4F
  600. #define GL_FLOAT_VEC2 0x8B50
  601. #define GL_FLOAT_VEC3 0x8B51
  602. #define GL_FLOAT_VEC4 0x8B52
  603. #define GL_INT_VEC2 0x8B53
  604. #define GL_INT_VEC3 0x8B54
  605. #define GL_INT_VEC4 0x8B55
  606. #define GL_BOOL 0x8B56
  607. #define GL_BOOL_VEC2 0x8B57
  608. #define GL_BOOL_VEC3 0x8B58
  609. #define GL_BOOL_VEC4 0x8B59
  610. #define GL_FLOAT_MAT2 0x8B5A
  611. #define GL_FLOAT_MAT3 0x8B5B
  612. #define GL_FLOAT_MAT4 0x8B5C
  613. #define GL_SAMPLER_1D 0x8B5D
  614. #define GL_SAMPLER_2D 0x8B5E
  615. #define GL_SAMPLER_3D 0x8B5F
  616. #define GL_SAMPLER_CUBE 0x8B60
  617. #define GL_SAMPLER_1D_SHADOW 0x8B61
  618. #define GL_SAMPLER_2D_SHADOW 0x8B62
  619. #define GL_DELETE_STATUS 0x8B80
  620. #define GL_COMPILE_STATUS 0x8B81
  621. #define GL_LINK_STATUS 0x8B82
  622. #define GL_VALIDATE_STATUS 0x8B83
  623. #define GL_INFO_LOG_LENGTH 0x8B84
  624. #define GL_ATTACHED_SHADERS 0x8B85
  625. #define GL_ACTIVE_UNIFORMS 0x8B86
  626. #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
  627. #define GL_SHADER_SOURCE_LENGTH 0x8B88
  628. #define GL_ACTIVE_ATTRIBUTES 0x8B89
  629. #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
  630. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
  631. #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
  632. #define GL_CURRENT_PROGRAM 0x8B8D
  633. #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
  634. #define GL_LOWER_LEFT 0x8CA1
  635. #define GL_UPPER_LEFT 0x8CA2
  636. #define GL_STENCIL_BACK_REF 0x8CA3
  637. #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
  638. #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
  639. #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
  640. #define GL_POINT_SPRITE 0x8861
  641. #define GL_COORD_REPLACE 0x8862
  642. #define GL_MAX_TEXTURE_COORDS 0x8871
  643. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  644. typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  645. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  646. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
  647. typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  648. typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  649. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  650. typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  651. typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  652. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  653. typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  654. typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  655. typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  656. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  657. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  658. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  659. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  660. typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  661. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  662. typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  663. typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  664. typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  665. typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  666. typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  667. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  668. typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  669. typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  670. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  671. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  672. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  673. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
  674. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  675. typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  676. typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  677. typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  678. typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  679. typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  680. typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  681. typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  682. typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  683. typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  684. typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  685. typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  686. typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  687. typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  688. typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  689. typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  690. typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  691. typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  692. typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  693. typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  694. typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  695. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  696. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  697. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  698. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  699. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  700. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  701. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  702. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  703. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  704. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  705. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  706. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  707. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  708. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  709. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  710. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  711. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  712. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  713. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  714. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  715. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  716. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  717. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  718. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  719. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  720. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  721. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  722. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  723. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  724. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  725. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  726. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  727. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  728. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  729. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  730. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  731. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  732. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  733. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  734. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  735. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  736. #ifdef GL_GLEXT_PROTOTYPES
  737. GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
  738. GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
  739. GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  740. GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
  741. GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
  742. GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
  743. GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
  744. GLAPI void APIENTRY glCompileShader (GLuint shader);
  745. GLAPI GLuint APIENTRY glCreateProgram (void);
  746. GLAPI GLuint APIENTRY glCreateShader (GLenum type);
  747. GLAPI void APIENTRY glDeleteProgram (GLuint program);
  748. GLAPI void APIENTRY glDeleteShader (GLuint shader);
  749. GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
  750. GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
  751. GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
  752. GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  753. GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  754. GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  755. GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
  756. GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
  757. GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  758. GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
  759. GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  760. GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  761. GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
  762. GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
  763. GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
  764. GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
  765. GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
  766. GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
  767. GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
  768. GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
  769. GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
  770. GLAPI void APIENTRY glLinkProgram (GLuint program);
  771. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  772. GLAPI void APIENTRY glUseProgram (GLuint program);
  773. GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
  774. GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
  775. GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  776. GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  777. GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
  778. GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
  779. GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
  780. GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  781. GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
  782. GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
  783. GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
  784. GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
  785. GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
  786. GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
  787. GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
  788. GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
  789. GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  790. GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  791. GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  792. GLAPI void APIENTRY glValidateProgram (GLuint program);
  793. GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
  794. GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
  795. GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
  796. GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
  797. GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
  798. GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
  799. GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
  800. GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
  801. GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
  802. GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
  803. GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
  804. GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
  805. GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  806. GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
  807. GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  808. GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
  809. GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
  810. GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
  811. GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
  812. GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
  813. GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
  814. GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  815. GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
  816. GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
  817. GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
  818. GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
  819. GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  820. GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
  821. GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  822. GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
  823. GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
  824. GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  825. GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
  826. GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
  827. GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
  828. GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
  829. GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  830. #endif
  831. #endif /* GL_VERSION_2_0 */
  832. #ifndef GL_VERSION_2_1
  833. #define GL_VERSION_2_1 1
  834. #define GL_PIXEL_PACK_BUFFER 0x88EB
  835. #define GL_PIXEL_UNPACK_BUFFER 0x88EC
  836. #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
  837. #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
  838. #define GL_FLOAT_MAT2x3 0x8B65
  839. #define GL_FLOAT_MAT2x4 0x8B66
  840. #define GL_FLOAT_MAT3x2 0x8B67
  841. #define GL_FLOAT_MAT3x4 0x8B68
  842. #define GL_FLOAT_MAT4x2 0x8B69
  843. #define GL_FLOAT_MAT4x3 0x8B6A
  844. #define GL_SRGB 0x8C40
  845. #define GL_SRGB8 0x8C41
  846. #define GL_SRGB_ALPHA 0x8C42
  847. #define GL_SRGB8_ALPHA8 0x8C43
  848. #define GL_COMPRESSED_SRGB 0x8C48
  849. #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
  850. #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
  851. #define GL_SLUMINANCE_ALPHA 0x8C44
  852. #define GL_SLUMINANCE8_ALPHA8 0x8C45
  853. #define GL_SLUMINANCE 0x8C46
  854. #define GL_SLUMINANCE8 0x8C47
  855. #define GL_COMPRESSED_SLUMINANCE 0x8C4A
  856. #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
  857. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  858. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  859. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  860. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  861. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  862. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  863. #ifdef GL_GLEXT_PROTOTYPES
  864. GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  865. GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  866. GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  867. GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  868. GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  869. GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  870. #endif
  871. #endif /* GL_VERSION_2_1 */
  872. #ifndef GL_VERSION_3_0
  873. #define GL_VERSION_3_0 1
  874. typedef unsigned short GLhalf;
  875. #define GL_COMPARE_REF_TO_TEXTURE 0x884E
  876. #define GL_CLIP_DISTANCE0 0x3000
  877. #define GL_CLIP_DISTANCE1 0x3001
  878. #define GL_CLIP_DISTANCE2 0x3002
  879. #define GL_CLIP_DISTANCE3 0x3003
  880. #define GL_CLIP_DISTANCE4 0x3004
  881. #define GL_CLIP_DISTANCE5 0x3005
  882. #define GL_CLIP_DISTANCE6 0x3006
  883. #define GL_CLIP_DISTANCE7 0x3007
  884. #define GL_MAX_CLIP_DISTANCES 0x0D32
  885. #define GL_MAJOR_VERSION 0x821B
  886. #define GL_MINOR_VERSION 0x821C
  887. #define GL_NUM_EXTENSIONS 0x821D
  888. #define GL_CONTEXT_FLAGS 0x821E
  889. #define GL_COMPRESSED_RED 0x8225
  890. #define GL_COMPRESSED_RG 0x8226
  891. #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
  892. #define GL_RGBA32F 0x8814
  893. #define GL_RGB32F 0x8815
  894. #define GL_RGBA16F 0x881A
  895. #define GL_RGB16F 0x881B
  896. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
  897. #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
  898. #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
  899. #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
  900. #define GL_CLAMP_READ_COLOR 0x891C
  901. #define GL_FIXED_ONLY 0x891D
  902. #define GL_MAX_VARYING_COMPONENTS 0x8B4B
  903. #define GL_TEXTURE_1D_ARRAY 0x8C18
  904. #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
  905. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  906. #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
  907. #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
  908. #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
  909. #define GL_R11F_G11F_B10F 0x8C3A
  910. #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
  911. #define GL_RGB9_E5 0x8C3D
  912. #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
  913. #define GL_TEXTURE_SHARED_SIZE 0x8C3F
  914. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
  915. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
  916. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
  917. #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
  918. #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
  919. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
  920. #define GL_PRIMITIVES_GENERATED 0x8C87
  921. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
  922. #define GL_RASTERIZER_DISCARD 0x8C89
  923. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
  924. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
  925. #define GL_INTERLEAVED_ATTRIBS 0x8C8C
  926. #define GL_SEPARATE_ATTRIBS 0x8C8D
  927. #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
  928. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
  929. #define GL_RGBA32UI 0x8D70
  930. #define GL_RGB32UI 0x8D71
  931. #define GL_RGBA16UI 0x8D76
  932. #define GL_RGB16UI 0x8D77
  933. #define GL_RGBA8UI 0x8D7C
  934. #define GL_RGB8UI 0x8D7D
  935. #define GL_RGBA32I 0x8D82
  936. #define GL_RGB32I 0x8D83
  937. #define GL_RGBA16I 0x8D88
  938. #define GL_RGB16I 0x8D89
  939. #define GL_RGBA8I 0x8D8E
  940. #define GL_RGB8I 0x8D8F
  941. #define GL_RED_INTEGER 0x8D94
  942. #define GL_GREEN_INTEGER 0x8D95
  943. #define GL_BLUE_INTEGER 0x8D96
  944. #define GL_RGB_INTEGER 0x8D98
  945. #define GL_RGBA_INTEGER 0x8D99
  946. #define GL_BGR_INTEGER 0x8D9A
  947. #define GL_BGRA_INTEGER 0x8D9B
  948. #define GL_SAMPLER_1D_ARRAY 0x8DC0
  949. #define GL_SAMPLER_2D_ARRAY 0x8DC1
  950. #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
  951. #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
  952. #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
  953. #define GL_UNSIGNED_INT_VEC2 0x8DC6
  954. #define GL_UNSIGNED_INT_VEC3 0x8DC7
  955. #define GL_UNSIGNED_INT_VEC4 0x8DC8
  956. #define GL_INT_SAMPLER_1D 0x8DC9
  957. #define GL_INT_SAMPLER_2D 0x8DCA
  958. #define GL_INT_SAMPLER_3D 0x8DCB
  959. #define GL_INT_SAMPLER_CUBE 0x8DCC
  960. #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
  961. #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
  962. #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
  963. #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
  964. #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
  965. #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
  966. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
  967. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
  968. #define GL_QUERY_WAIT 0x8E13
  969. #define GL_QUERY_NO_WAIT 0x8E14
  970. #define GL_QUERY_BY_REGION_WAIT 0x8E15
  971. #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
  972. #define GL_BUFFER_ACCESS_FLAGS 0x911F
  973. #define GL_BUFFER_MAP_LENGTH 0x9120
  974. #define GL_BUFFER_MAP_OFFSET 0x9121
  975. #define GL_DEPTH_COMPONENT32F 0x8CAC
  976. #define GL_DEPTH32F_STENCIL8 0x8CAD
  977. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  978. #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
  979. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  980. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  981. #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  982. #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  983. #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  984. #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  985. #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  986. #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  987. #define GL_FRAMEBUFFER_DEFAULT 0x8218
  988. #define GL_FRAMEBUFFER_UNDEFINED 0x8219
  989. #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
  990. #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
  991. #define GL_DEPTH_STENCIL 0x84F9
  992. #define GL_UNSIGNED_INT_24_8 0x84FA
  993. #define GL_DEPTH24_STENCIL8 0x88F0
  994. #define GL_TEXTURE_STENCIL_SIZE 0x88F1
  995. #define GL_TEXTURE_RED_TYPE 0x8C10
  996. #define GL_TEXTURE_GREEN_TYPE 0x8C11
  997. #define GL_TEXTURE_BLUE_TYPE 0x8C12
  998. #define GL_TEXTURE_ALPHA_TYPE 0x8C13
  999. #define GL_TEXTURE_DEPTH_TYPE 0x8C16
  1000. #define GL_UNSIGNED_NORMALIZED 0x8C17
  1001. #define GL_FRAMEBUFFER_BINDING 0x8CA6
  1002. #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
  1003. #define GL_RENDERBUFFER_BINDING 0x8CA7
  1004. #define GL_READ_FRAMEBUFFER 0x8CA8
  1005. #define GL_DRAW_FRAMEBUFFER 0x8CA9
  1006. #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
  1007. #define GL_RENDERBUFFER_SAMPLES 0x8CAB
  1008. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  1009. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  1010. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  1011. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  1012. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  1013. #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
  1014. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  1015. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  1016. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  1017. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  1018. #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
  1019. #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
  1020. #define GL_COLOR_ATTACHMENT0 0x8CE0
  1021. #define GL_COLOR_ATTACHMENT1 0x8CE1
  1022. #define GL_COLOR_ATTACHMENT2 0x8CE2
  1023. #define GL_COLOR_ATTACHMENT3 0x8CE3
  1024. #define GL_COLOR_ATTACHMENT4 0x8CE4
  1025. #define GL_COLOR_ATTACHMENT5 0x8CE5
  1026. #define GL_COLOR_ATTACHMENT6 0x8CE6
  1027. #define GL_COLOR_ATTACHMENT7 0x8CE7
  1028. #define GL_COLOR_ATTACHMENT8 0x8CE8
  1029. #define GL_COLOR_ATTACHMENT9 0x8CE9
  1030. #define GL_COLOR_ATTACHMENT10 0x8CEA
  1031. #define GL_COLOR_ATTACHMENT11 0x8CEB
  1032. #define GL_COLOR_ATTACHMENT12 0x8CEC
  1033. #define GL_COLOR_ATTACHMENT13 0x8CED
  1034. #define GL_COLOR_ATTACHMENT14 0x8CEE
  1035. #define GL_COLOR_ATTACHMENT15 0x8CEF
  1036. #define GL_DEPTH_ATTACHMENT 0x8D00
  1037. #define GL_STENCIL_ATTACHMENT 0x8D20
  1038. #define GL_FRAMEBUFFER 0x8D40
  1039. #define GL_RENDERBUFFER 0x8D41
  1040. #define GL_RENDERBUFFER_WIDTH 0x8D42
  1041. #define GL_RENDERBUFFER_HEIGHT 0x8D43
  1042. #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
  1043. #define GL_STENCIL_INDEX1 0x8D46
  1044. #define GL_STENCIL_INDEX4 0x8D47
  1045. #define GL_STENCIL_INDEX8 0x8D48
  1046. #define GL_STENCIL_INDEX16 0x8D49
  1047. #define GL_RENDERBUFFER_RED_SIZE 0x8D50
  1048. #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
  1049. #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
  1050. #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
  1051. #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
  1052. #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
  1053. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1054. #define GL_MAX_SAMPLES 0x8D57
  1055. #define GL_INDEX 0x8222
  1056. #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
  1057. #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
  1058. #define GL_FRAMEBUFFER_SRGB 0x8DB9
  1059. #define GL_HALF_FLOAT 0x140B
  1060. #define GL_MAP_READ_BIT 0x0001
  1061. #define GL_MAP_WRITE_BIT 0x0002
  1062. #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
  1063. #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
  1064. #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
  1065. #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
  1066. #define GL_COMPRESSED_RED_RGTC1 0x8DBB
  1067. #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
  1068. #define GL_COMPRESSED_RG_RGTC2 0x8DBD
  1069. #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
  1070. #define GL_RG 0x8227
  1071. #define GL_RG_INTEGER 0x8228
  1072. #define GL_R8 0x8229
  1073. #define GL_R16 0x822A
  1074. #define GL_RG8 0x822B
  1075. #define GL_RG16 0x822C
  1076. #define GL_R16F 0x822D
  1077. #define GL_R32F 0x822E
  1078. #define GL_RG16F 0x822F
  1079. #define GL_RG32F 0x8230
  1080. #define GL_R8I 0x8231
  1081. #define GL_R8UI 0x8232
  1082. #define GL_R16I 0x8233
  1083. #define GL_R16UI 0x8234
  1084. #define GL_R32I 0x8235
  1085. #define GL_R32UI 0x8236
  1086. #define GL_RG8I 0x8237
  1087. #define GL_RG8UI 0x8238
  1088. #define GL_RG16I 0x8239
  1089. #define GL_RG16UI 0x823A
  1090. #define GL_RG32I 0x823B
  1091. #define GL_RG32UI 0x823C
  1092. #define GL_VERTEX_ARRAY_BINDING 0x85B5
  1093. #define GL_CLAMP_VERTEX_COLOR 0x891A
  1094. #define GL_CLAMP_FRAGMENT_COLOR 0x891B
  1095. #define GL_ALPHA_INTEGER 0x8D97
  1096. typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1097. typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  1098. typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  1099. typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  1100. typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  1101. typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  1102. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  1103. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  1104. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1105. typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  1106. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1107. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1108. typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  1109. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  1110. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  1111. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1112. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  1113. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  1114. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  1115. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  1116. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  1117. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1118. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  1119. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  1120. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  1121. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1122. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  1123. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  1124. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  1125. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  1126. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  1127. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  1128. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  1129. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  1130. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  1131. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  1132. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  1133. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  1134. typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  1135. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  1136. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  1137. typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  1138. typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  1139. typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1140. typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1141. typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1142. typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1143. typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1144. typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1145. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1146. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  1147. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  1148. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  1149. typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  1150. typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1151. typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1152. typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1153. typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  1154. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  1155. typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  1156. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  1157. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  1158. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1159. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1160. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  1161. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  1162. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  1163. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  1164. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  1165. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1166. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1167. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1168. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1169. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1170. typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  1171. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1172. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1173. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1174. typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1175. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1176. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  1177. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  1178. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  1179. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  1180. #ifdef GL_GLEXT_PROTOTYPES
  1181. GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1182. GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
  1183. GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
  1184. GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
  1185. GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
  1186. GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
  1187. GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
  1188. GLAPI void APIENTRY glEndTransformFeedback (void);
  1189. GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1190. GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
  1191. GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1192. GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1193. GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
  1194. GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
  1195. GLAPI void APIENTRY glEndConditionalRender (void);
  1196. GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1197. GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
  1198. GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
  1199. GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
  1200. GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
  1201. GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
  1202. GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1203. GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
  1204. GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
  1205. GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
  1206. GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1207. GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
  1208. GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
  1209. GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
  1210. GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
  1211. GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
  1212. GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
  1213. GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
  1214. GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
  1215. GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
  1216. GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
  1217. GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
  1218. GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
  1219. GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
  1220. GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
  1221. GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
  1222. GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
  1223. GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
  1224. GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1225. GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1226. GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
  1227. GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
  1228. GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
  1229. GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
  1230. GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
  1231. GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
  1232. GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
  1233. GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
  1234. GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
  1235. GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1236. GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1237. GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1238. GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
  1239. GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
  1240. GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
  1241. GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
  1242. GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
  1243. GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1244. GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
  1245. GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
  1246. GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
  1247. GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
  1248. GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
  1249. GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
  1250. GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1251. GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1252. GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1253. GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1254. GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1255. GLAPI void APIENTRY glGenerateMipmap (GLenum target);
  1256. GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1257. GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1258. GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1259. GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1260. GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
  1261. GLAPI void APIENTRY glBindVertexArray (GLuint array);
  1262. GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
  1263. GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
  1264. GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
  1265. #endif
  1266. #endif /* GL_VERSION_3_0 */
  1267. #ifndef GL_VERSION_3_1
  1268. #define GL_VERSION_3_1 1
  1269. #define GL_SAMPLER_2D_RECT 0x8B63
  1270. #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
  1271. #define GL_SAMPLER_BUFFER 0x8DC2
  1272. #define GL_INT_SAMPLER_2D_RECT 0x8DCD
  1273. #define GL_INT_SAMPLER_BUFFER 0x8DD0
  1274. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
  1275. #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
  1276. #define GL_TEXTURE_BUFFER 0x8C2A
  1277. #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
  1278. #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
  1279. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  1280. #define GL_TEXTURE_RECTANGLE 0x84F5
  1281. #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
  1282. #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
  1283. #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
  1284. #define GL_R8_SNORM 0x8F94
  1285. #define GL_RG8_SNORM 0x8F95
  1286. #define GL_RGB8_SNORM 0x8F96
  1287. #define GL_RGBA8_SNORM 0x8F97
  1288. #define GL_R16_SNORM 0x8F98
  1289. #define GL_RG16_SNORM 0x8F99
  1290. #define GL_RGB16_SNORM 0x8F9A
  1291. #define GL_RGBA16_SNORM 0x8F9B
  1292. #define GL_SIGNED_NORMALIZED 0x8F9C
  1293. #define GL_PRIMITIVE_RESTART 0x8F9D
  1294. #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
  1295. #define GL_COPY_READ_BUFFER 0x8F36
  1296. #define GL_COPY_WRITE_BUFFER 0x8F37
  1297. #define GL_UNIFORM_BUFFER 0x8A11
  1298. #define GL_UNIFORM_BUFFER_BINDING 0x8A28
  1299. #define GL_UNIFORM_BUFFER_START 0x8A29
  1300. #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
  1301. #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
  1302. #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
  1303. #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
  1304. #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
  1305. #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
  1306. #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  1307. #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  1308. #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  1309. #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  1310. #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
  1311. #define GL_UNIFORM_TYPE 0x8A37
  1312. #define GL_UNIFORM_SIZE 0x8A38
  1313. #define GL_UNIFORM_NAME_LENGTH 0x8A39
  1314. #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
  1315. #define GL_UNIFORM_OFFSET 0x8A3B
  1316. #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
  1317. #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
  1318. #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
  1319. #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
  1320. #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
  1321. #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
  1322. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
  1323. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  1324. #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  1325. #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  1326. #define GL_INVALID_INDEX 0xFFFFFFFFu
  1327. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1328. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1329. typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1330. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
  1331. typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1332. typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1333. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1334. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1335. typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
  1336. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1337. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1338. typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1339. #ifdef GL_GLEXT_PROTOTYPES
  1340. GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1341. GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1342. GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
  1343. GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
  1344. GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1345. GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1346. GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1347. GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1348. GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
  1349. GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1350. GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1351. GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1352. #endif
  1353. #endif /* GL_VERSION_3_1 */
  1354. #ifndef GL_VERSION_3_2
  1355. #define GL_VERSION_3_2 1
  1356. typedef struct __GLsync *GLsync;
  1357. #ifndef GLEXT_64_TYPES_DEFINED
  1358. /* This code block is duplicated in glxext.h, so must be protected */
  1359. #define GLEXT_64_TYPES_DEFINED
  1360. /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
  1361. /* (as used in the GL_EXT_timer_query extension). */
  1362. #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  1363. #include <inttypes.h>
  1364. #elif defined(__sun__) || defined(__digital__)
  1365. #include <inttypes.h>
  1366. #if defined(__STDC__)
  1367. #if defined(__arch64__) || defined(_LP64)
  1368. typedef long int int64_t;
  1369. typedef unsigned long int uint64_t;
  1370. #else
  1371. typedef long long int int64_t;
  1372. typedef unsigned long long int uint64_t;
  1373. #endif /* __arch64__ */
  1374. #endif /* __STDC__ */
  1375. #elif defined( __VMS ) || defined(__sgi)
  1376. #include <inttypes.h>
  1377. #elif defined(__SCO__) || defined(__USLC__)
  1378. #include <stdint.h>
  1379. #elif defined(__UNIXOS2__) || defined(__SOL64__)
  1380. typedef long int int32_t;
  1381. typedef long long int int64_t;
  1382. typedef unsigned long long int uint64_t;
  1383. #elif defined(_WIN32) && defined(__GNUC__)
  1384. #include <stdint.h>
  1385. #elif defined(_WIN32)
  1386. typedef __int32 int32_t;
  1387. typedef __int64 int64_t;
  1388. typedef unsigned __int64 uint64_t;
  1389. #else
  1390. /* Fallback if nothing above works */
  1391. #include <inttypes.h>
  1392. #endif
  1393. #endif
  1394. typedef uint64_t GLuint64;
  1395. typedef int64_t GLint64;
  1396. #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
  1397. #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  1398. #define GL_LINES_ADJACENCY 0x000A
  1399. #define GL_LINE_STRIP_ADJACENCY 0x000B
  1400. #define GL_TRIANGLES_ADJACENCY 0x000C
  1401. #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
  1402. #define GL_PROGRAM_POINT_SIZE 0x8642
  1403. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  1404. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  1405. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  1406. #define GL_GEOMETRY_SHADER 0x8DD9
  1407. #define GL_GEOMETRY_VERTICES_OUT 0x8916
  1408. #define GL_GEOMETRY_INPUT_TYPE 0x8917
  1409. #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
  1410. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  1411. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
  1412. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  1413. #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
  1414. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
  1415. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  1416. #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
  1417. #define GL_CONTEXT_PROFILE_MASK 0x9126
  1418. #define GL_DEPTH_CLAMP 0x864F
  1419. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  1420. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  1421. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  1422. #define GL_PROVOKING_VERTEX 0x8E4F
  1423. #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
  1424. #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
  1425. #define GL_OBJECT_TYPE 0x9112
  1426. #define GL_SYNC_CONDITION 0x9113
  1427. #define GL_SYNC_STATUS 0x9114
  1428. #define GL_SYNC_FLAGS 0x9115
  1429. #define GL_SYNC_FENCE 0x9116
  1430. #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
  1431. #define GL_UNSIGNALED 0x9118
  1432. #define GL_SIGNALED 0x9119
  1433. #define GL_ALREADY_SIGNALED 0x911A
  1434. #define GL_TIMEOUT_EXPIRED 0x911B
  1435. #define GL_CONDITION_SATISFIED 0x911C
  1436. #define GL_WAIT_FAILED 0x911D
  1437. #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
  1438. #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
  1439. #define GL_SAMPLE_POSITION 0x8E50
  1440. #define GL_SAMPLE_MASK 0x8E51
  1441. #define GL_SAMPLE_MASK_VALUE 0x8E52
  1442. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  1443. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  1444. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
  1445. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  1446. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  1447. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
  1448. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
  1449. #define GL_TEXTURE_SAMPLES 0x9106
  1450. #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
  1451. #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
  1452. #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
  1453. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
  1454. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
  1455. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
  1456. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  1457. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  1458. #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
  1459. #define GL_MAX_INTEGER_SAMPLES 0x9110
  1460. typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1461. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1462. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1463. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1464. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  1465. typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
  1466. typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
  1467. typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
  1468. typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1469. typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1470. typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
  1471. typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1472. typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
  1473. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
  1474. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1475. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1476. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1477. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
  1478. typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
  1479. #ifdef GL_GLEXT_PROTOTYPES
  1480. GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1481. GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1482. GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1483. GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1484. GLAPI void APIENTRY glProvokingVertex (GLenum mode);
  1485. GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
  1486. GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
  1487. GLAPI void APIENTRY glDeleteSync (GLsync sync);
  1488. GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1489. GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1490. GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
  1491. GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1492. GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
  1493. GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
  1494. GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1495. GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1496. GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1497. GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
  1498. GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
  1499. #endif
  1500. #endif /* GL_VERSION_3_2 */
  1501. #ifndef GL_VERSION_3_3
  1502. #define GL_VERSION_3_3 1
  1503. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
  1504. #define GL_SRC1_COLOR 0x88F9
  1505. #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
  1506. #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
  1507. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
  1508. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  1509. #define GL_SAMPLER_BINDING 0x8919
  1510. #define GL_RGB10_A2UI 0x906F
  1511. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  1512. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  1513. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  1514. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  1515. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  1516. #define GL_TIME_ELAPSED 0x88BF
  1517. #define GL_TIMESTAMP 0x8E28
  1518. #define GL_INT_2_10_10_10_REV 0x8D9F
  1519. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1520. typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
  1521. typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
  1522. typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
  1523. typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
  1524. typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  1525. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  1526. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1527. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  1528. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
  1529. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1530. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  1531. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1532. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1533. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
  1534. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
  1535. typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  1536. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
  1537. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
  1538. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  1539. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1540. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1541. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1542. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1543. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1544. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1545. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1546. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1547. typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
  1548. typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
  1549. typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
  1550. typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
  1551. typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
  1552. typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
  1553. typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
  1554. typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
  1555. typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
  1556. typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
  1557. typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
  1558. typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
  1559. typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
  1560. typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
  1561. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1562. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1563. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1564. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1565. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1566. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1567. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1568. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1569. typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
  1570. typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
  1571. typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
  1572. typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1573. typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
  1574. typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
  1575. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
  1576. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1577. #ifdef GL_GLEXT_PROTOTYPES
  1578. GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1579. GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
  1580. GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
  1581. GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
  1582. GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
  1583. GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
  1584. GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
  1585. GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
  1586. GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
  1587. GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
  1588. GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
  1589. GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
  1590. GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
  1591. GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
  1592. GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
  1593. GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
  1594. GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
  1595. GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
  1596. GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
  1597. GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
  1598. GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1599. GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1600. GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1601. GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1602. GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1603. GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1604. GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1605. GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1606. GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
  1607. GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
  1608. GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
  1609. GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
  1610. GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
  1611. GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
  1612. GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
  1613. GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
  1614. GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
  1615. GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
  1616. GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
  1617. GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
  1618. GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
  1619. GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
  1620. GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
  1621. GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
  1622. GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
  1623. GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
  1624. GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
  1625. GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
  1626. GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
  1627. GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
  1628. GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
  1629. GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
  1630. GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
  1631. GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
  1632. GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
  1633. GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
  1634. GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
  1635. GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
  1636. #endif
  1637. #endif /* GL_VERSION_3_3 */
  1638. #ifndef GL_VERSION_4_0
  1639. #define GL_VERSION_4_0 1
  1640. #define GL_SAMPLE_SHADING 0x8C36
  1641. #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
  1642. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  1643. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  1644. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  1645. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  1646. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
  1647. #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
  1648. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
  1649. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
  1650. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  1651. #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
  1652. #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
  1653. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  1654. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  1655. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  1656. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  1657. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  1658. #define GL_MAX_VERTEX_STREAMS 0x8E71
  1659. #define GL_DOUBLE_VEC2 0x8FFC
  1660. #define GL_DOUBLE_VEC3 0x8FFD
  1661. #define GL_DOUBLE_VEC4 0x8FFE
  1662. #define GL_DOUBLE_MAT2 0x8F46
  1663. #define GL_DOUBLE_MAT3 0x8F47
  1664. #define GL_DOUBLE_MAT4 0x8F48
  1665. #define GL_DOUBLE_MAT2x3 0x8F49
  1666. #define GL_DOUBLE_MAT2x4 0x8F4A
  1667. #define GL_DOUBLE_MAT3x2 0x8F4B
  1668. #define GL_DOUBLE_MAT3x4 0x8F4C
  1669. #define GL_DOUBLE_MAT4x2 0x8F4D
  1670. #define GL_DOUBLE_MAT4x3 0x8F4E
  1671. #define GL_ACTIVE_SUBROUTINES 0x8DE5
  1672. #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
  1673. #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  1674. #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
  1675. #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
  1676. #define GL_MAX_SUBROUTINES 0x8DE7
  1677. #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  1678. #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
  1679. #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
  1680. #define GL_PATCHES 0x000E
  1681. #define GL_PATCH_VERTICES 0x8E72
  1682. #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
  1683. #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
  1684. #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
  1685. #define GL_TESS_GEN_MODE 0x8E76
  1686. #define GL_TESS_GEN_SPACING 0x8E77
  1687. #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
  1688. #define GL_TESS_GEN_POINT_MODE 0x8E79
  1689. #define GL_ISOLINES 0x8E7A
  1690. #define GL_FRACTIONAL_ODD 0x8E7B
  1691. #define GL_FRACTIONAL_EVEN 0x8E7C
  1692. #define GL_MAX_PATCH_VERTICES 0x8E7D
  1693. #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
  1694. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  1695. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
  1696. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
  1697. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
  1698. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
  1699. #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
  1700. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
  1701. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
  1702. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
  1703. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
  1704. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
  1705. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
  1706. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
  1707. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
  1708. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
  1709. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  1710. #define GL_TESS_EVALUATION_SHADER 0x8E87
  1711. #define GL_TESS_CONTROL_SHADER 0x8E88
  1712. #define GL_TRANSFORM_FEEDBACK 0x8E22
  1713. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
  1714. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
  1715. #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
  1716. #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  1717. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
  1718. typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  1719. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1720. typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  1721. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1722. typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
  1723. typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
  1724. typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  1725. typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  1726. typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1727. typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1728. typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1729. typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1730. typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1731. typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1732. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1733. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1734. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1735. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1736. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1737. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1738. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1739. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1740. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1741. typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
  1742. typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1743. typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1744. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1745. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1746. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1747. typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
  1748. typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
  1749. typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1750. typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  1751. typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
  1752. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  1753. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
  1754. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  1755. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  1756. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  1757. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  1758. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  1759. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  1760. typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  1761. typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  1762. typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  1763. #ifdef GL_GLEXT_PROTOTYPES
  1764. GLAPI void APIENTRY glMinSampleShading (GLfloat value);
  1765. GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
  1766. GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1767. GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
  1768. GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1769. GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
  1770. GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
  1771. GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
  1772. GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
  1773. GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1774. GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1775. GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
  1776. GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
  1777. GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
  1778. GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
  1779. GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1780. GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1781. GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1782. GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1783. GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1784. GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1785. GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1786. GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1787. GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1788. GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
  1789. GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
  1790. GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
  1791. GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1792. GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1793. GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1794. GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
  1795. GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
  1796. GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1797. GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
  1798. GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
  1799. GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
  1800. GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
  1801. GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
  1802. GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
  1803. GLAPI void APIENTRY glPauseTransformFeedback (void);
  1804. GLAPI void APIENTRY glResumeTransformFeedback (void);
  1805. GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
  1806. GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
  1807. GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
  1808. GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
  1809. GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
  1810. #endif
  1811. #endif /* GL_VERSION_4_0 */
  1812. #ifndef GL_VERSION_4_1
  1813. #define GL_VERSION_4_1 1
  1814. #define GL_FIXED 0x140C
  1815. #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  1816. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  1817. #define GL_LOW_FLOAT 0x8DF0
  1818. #define GL_MEDIUM_FLOAT 0x8DF1
  1819. #define GL_HIGH_FLOAT 0x8DF2
  1820. #define GL_LOW_INT 0x8DF3
  1821. #define GL_MEDIUM_INT 0x8DF4
  1822. #define GL_HIGH_INT 0x8DF5
  1823. #define GL_SHADER_COMPILER 0x8DFA
  1824. #define GL_SHADER_BINARY_FORMATS 0x8DF8
  1825. #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
  1826. #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
  1827. #define GL_MAX_VARYING_VECTORS 0x8DFC
  1828. #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
  1829. #define GL_RGB565 0x8D62
  1830. #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  1831. #define GL_PROGRAM_BINARY_LENGTH 0x8741
  1832. #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
  1833. #define GL_PROGRAM_BINARY_FORMATS 0x87FF
  1834. #define GL_VERTEX_SHADER_BIT 0x00000001
  1835. #define GL_FRAGMENT_SHADER_BIT 0x00000002
  1836. #define GL_GEOMETRY_SHADER_BIT 0x00000004
  1837. #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
  1838. #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
  1839. #define GL_ALL_SHADER_BITS 0xFFFFFFFF
  1840. #define GL_PROGRAM_SEPARABLE 0x8258
  1841. #define GL_ACTIVE_PROGRAM 0x8259
  1842. #define GL_PROGRAM_PIPELINE_BINDING 0x825A
  1843. #define GL_MAX_VIEWPORTS 0x825B
  1844. #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
  1845. #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
  1846. #define GL_LAYER_PROVOKING_VERTEX 0x825E
  1847. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  1848. #define GL_UNDEFINED_VERTEX 0x8260
  1849. typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
  1850. typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
  1851. typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  1852. typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
  1853. typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
  1854. typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  1855. typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  1856. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  1857. typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  1858. typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  1859. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
  1860. typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  1861. typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
  1862. typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  1863. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  1864. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
  1865. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
  1866. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1867. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
  1868. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1869. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
  1870. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1871. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
  1872. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1873. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  1874. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1875. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1876. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1877. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  1878. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1879. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  1880. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1881. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1882. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1883. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1884. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1885. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  1886. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1887. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1888. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1889. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1890. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1891. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1892. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1893. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  1894. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1895. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1896. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1897. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1898. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1899. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1900. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1901. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1902. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1903. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1904. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1905. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1906. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1907. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1908. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1909. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1910. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1911. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1912. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1913. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1914. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1915. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  1916. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1917. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  1918. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  1919. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1920. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1921. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
  1922. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
  1923. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
  1924. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
  1925. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1926. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  1927. typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  1928. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  1929. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
  1930. typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
  1931. typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  1932. typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
  1933. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  1934. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
  1935. typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
  1936. typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
  1937. #ifdef GL_GLEXT_PROTOTYPES
  1938. GLAPI void APIENTRY glReleaseShaderCompiler (void);
  1939. GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
  1940. GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  1941. GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
  1942. GLAPI void APIENTRY glClearDepthf (GLfloat d);
  1943. GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  1944. GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  1945. GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
  1946. GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
  1947. GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
  1948. GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
  1949. GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
  1950. GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
  1951. GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
  1952. GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
  1953. GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
  1954. GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
  1955. GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1956. GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
  1957. GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1958. GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
  1959. GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1960. GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
  1961. GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1962. GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
  1963. GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1964. GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1965. GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1966. GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  1967. GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1968. GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
  1969. GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1970. GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1971. GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1972. GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1973. GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1974. GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  1975. GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1976. GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1977. GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1978. GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1979. GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1980. GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1981. GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1982. GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  1983. GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1984. GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1985. GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1986. GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1987. GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1988. GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1989. GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1990. GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1991. GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1992. GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1993. GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1994. GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1995. GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1996. GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1997. GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1998. GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1999. GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2000. GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2001. GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2002. GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2003. GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2004. GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
  2005. GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  2006. GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
  2007. GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
  2008. GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  2009. GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2010. GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
  2011. GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
  2012. GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
  2013. GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
  2014. GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  2015. GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
  2016. GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
  2017. GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2018. GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
  2019. GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
  2020. GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2021. GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
  2022. GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
  2023. GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
  2024. GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
  2025. GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
  2026. #endif
  2027. #endif /* GL_VERSION_4_1 */
  2028. #ifndef GL_VERSION_4_2
  2029. #define GL_VERSION_4_2 1
  2030. #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
  2031. #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
  2032. #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
  2033. #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
  2034. #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
  2035. #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
  2036. #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
  2037. #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
  2038. #define GL_NUM_SAMPLE_COUNTS 0x9380
  2039. #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
  2040. #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
  2041. #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
  2042. #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
  2043. #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
  2044. #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
  2045. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
  2046. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
  2047. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
  2048. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
  2049. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
  2050. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
  2051. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
  2052. #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
  2053. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
  2054. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
  2055. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
  2056. #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
  2057. #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
  2058. #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
  2059. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
  2060. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
  2061. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
  2062. #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
  2063. #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
  2064. #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
  2065. #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
  2066. #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
  2067. #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
  2068. #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
  2069. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
  2070. #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
  2071. #define GL_UNIFORM_BARRIER_BIT 0x00000004
  2072. #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
  2073. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
  2074. #define GL_COMMAND_BARRIER_BIT 0x00000040
  2075. #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
  2076. #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
  2077. #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
  2078. #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
  2079. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
  2080. #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
  2081. #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
  2082. #define GL_MAX_IMAGE_UNITS 0x8F38
  2083. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
  2084. #define GL_IMAGE_BINDING_NAME 0x8F3A
  2085. #define GL_IMAGE_BINDING_LEVEL 0x8F3B
  2086. #define GL_IMAGE_BINDING_LAYERED 0x8F3C
  2087. #define GL_IMAGE_BINDING_LAYER 0x8F3D
  2088. #define GL_IMAGE_BINDING_ACCESS 0x8F3E
  2089. #define GL_IMAGE_1D 0x904C
  2090. #define GL_IMAGE_2D 0x904D
  2091. #define GL_IMAGE_3D 0x904E
  2092. #define GL_IMAGE_2D_RECT 0x904F
  2093. #define GL_IMAGE_CUBE 0x9050
  2094. #define GL_IMAGE_BUFFER 0x9051
  2095. #define GL_IMAGE_1D_ARRAY 0x9052
  2096. #define GL_IMAGE_2D_ARRAY 0x9053
  2097. #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
  2098. #define GL_IMAGE_2D_MULTISAMPLE 0x9055
  2099. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
  2100. #define GL_INT_IMAGE_1D 0x9057
  2101. #define GL_INT_IMAGE_2D 0x9058
  2102. #define GL_INT_IMAGE_3D 0x9059
  2103. #define GL_INT_IMAGE_2D_RECT 0x905A
  2104. #define GL_INT_IMAGE_CUBE 0x905B
  2105. #define GL_INT_IMAGE_BUFFER 0x905C
  2106. #define GL_INT_IMAGE_1D_ARRAY 0x905D
  2107. #define GL_INT_IMAGE_2D_ARRAY 0x905E
  2108. #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
  2109. #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
  2110. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
  2111. #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
  2112. #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
  2113. #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
  2114. #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
  2115. #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
  2116. #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
  2117. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
  2118. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
  2119. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
  2120. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
  2121. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
  2122. #define GL_MAX_IMAGE_SAMPLES 0x906D
  2123. #define GL_IMAGE_BINDING_FORMAT 0x906E
  2124. #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  2125. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
  2126. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
  2127. #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
  2128. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
  2129. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
  2130. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
  2131. #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
  2132. #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
  2133. #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
  2134. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
  2135. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
  2136. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
  2137. #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
  2138. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2139. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2140. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2141. typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  2142. typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2143. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2144. typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
  2145. typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2146. typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2147. typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2148. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
  2149. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2150. #ifdef GL_GLEXT_PROTOTYPES
  2151. GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2152. GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2153. GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2154. GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  2155. GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2156. GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2157. GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
  2158. GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2159. GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2160. GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2161. GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
  2162. GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2163. #endif
  2164. #endif /* GL_VERSION_4_2 */
  2165. #ifndef GL_VERSION_4_3
  2166. #define GL_VERSION_4_3 1
  2167. typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  2168. #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
  2169. #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
  2170. #define GL_COMPRESSED_RGB8_ETC2 0x9274
  2171. #define GL_COMPRESSED_SRGB8_ETC2 0x9275
  2172. #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
  2173. #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
  2174. #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
  2175. #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
  2176. #define GL_COMPRESSED_R11_EAC 0x9270
  2177. #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
  2178. #define GL_COMPRESSED_RG11_EAC 0x9272
  2179. #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
  2180. #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
  2181. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
  2182. #define GL_MAX_ELEMENT_INDEX 0x8D6B
  2183. #define GL_COMPUTE_SHADER 0x91B9
  2184. #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
  2185. #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
  2186. #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
  2187. #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
  2188. #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
  2189. #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
  2190. #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
  2191. #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
  2192. #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
  2193. #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
  2194. #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
  2195. #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
  2196. #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
  2197. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
  2198. #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
  2199. #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
  2200. #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
  2201. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
  2202. #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
  2203. #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
  2204. #define GL_DEBUG_SOURCE_API 0x8246
  2205. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
  2206. #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
  2207. #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
  2208. #define GL_DEBUG_SOURCE_APPLICATION 0x824A
  2209. #define GL_DEBUG_SOURCE_OTHER 0x824B
  2210. #define GL_DEBUG_TYPE_ERROR 0x824C
  2211. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
  2212. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
  2213. #define GL_DEBUG_TYPE_PORTABILITY 0x824F
  2214. #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
  2215. #define GL_DEBUG_TYPE_OTHER 0x8251
  2216. #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
  2217. #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
  2218. #define GL_DEBUG_LOGGED_MESSAGES 0x9145
  2219. #define GL_DEBUG_SEVERITY_HIGH 0x9146
  2220. #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
  2221. #define GL_DEBUG_SEVERITY_LOW 0x9148
  2222. #define GL_DEBUG_TYPE_MARKER 0x8268
  2223. #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
  2224. #define GL_DEBUG_TYPE_POP_GROUP 0x826A
  2225. #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
  2226. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
  2227. #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
  2228. #define GL_BUFFER 0x82E0
  2229. #define GL_SHADER 0x82E1
  2230. #define GL_PROGRAM 0x82E2
  2231. #define GL_QUERY 0x82E3
  2232. #define GL_PROGRAM_PIPELINE 0x82E4
  2233. #define GL_SAMPLER 0x82E6
  2234. #define GL_MAX_LABEL_LENGTH 0x82E8
  2235. #define GL_DEBUG_OUTPUT 0x92E0
  2236. #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
  2237. #define GL_MAX_UNIFORM_LOCATIONS 0x826E
  2238. #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
  2239. #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
  2240. #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
  2241. #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
  2242. #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
  2243. #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
  2244. #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
  2245. #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
  2246. #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
  2247. #define GL_INTERNALFORMAT_SUPPORTED 0x826F
  2248. #define GL_INTERNALFORMAT_PREFERRED 0x8270
  2249. #define GL_INTERNALFORMAT_RED_SIZE 0x8271
  2250. #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
  2251. #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
  2252. #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
  2253. #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
  2254. #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
  2255. #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
  2256. #define GL_INTERNALFORMAT_RED_TYPE 0x8278
  2257. #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
  2258. #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
  2259. #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
  2260. #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
  2261. #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
  2262. #define GL_MAX_WIDTH 0x827E
  2263. #define GL_MAX_HEIGHT 0x827F
  2264. #define GL_MAX_DEPTH 0x8280
  2265. #define GL_MAX_LAYERS 0x8281
  2266. #define GL_MAX_COMBINED_DIMENSIONS 0x8282
  2267. #define GL_COLOR_COMPONENTS 0x8283
  2268. #define GL_DEPTH_COMPONENTS 0x8284
  2269. #define GL_STENCIL_COMPONENTS 0x8285
  2270. #define GL_COLOR_RENDERABLE 0x8286
  2271. #define GL_DEPTH_RENDERABLE 0x8287
  2272. #define GL_STENCIL_RENDERABLE 0x8288
  2273. #define GL_FRAMEBUFFER_RENDERABLE 0x8289
  2274. #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
  2275. #define GL_FRAMEBUFFER_BLEND 0x828B
  2276. #define GL_READ_PIXELS 0x828C
  2277. #define GL_READ_PIXELS_FORMAT 0x828D
  2278. #define GL_READ_PIXELS_TYPE 0x828E
  2279. #define GL_TEXTURE_IMAGE_FORMAT 0x828F
  2280. #define GL_TEXTURE_IMAGE_TYPE 0x8290
  2281. #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
  2282. #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
  2283. #define GL_MIPMAP 0x8293
  2284. #define GL_MANUAL_GENERATE_MIPMAP 0x8294
  2285. #define GL_AUTO_GENERATE_MIPMAP 0x8295
  2286. #define GL_COLOR_ENCODING 0x8296
  2287. #define GL_SRGB_READ 0x8297
  2288. #define GL_SRGB_WRITE 0x8298
  2289. #define GL_FILTER 0x829A
  2290. #define GL_VERTEX_TEXTURE 0x829B
  2291. #define GL_TESS_CONTROL_TEXTURE 0x829C
  2292. #define GL_TESS_EVALUATION_TEXTURE 0x829D
  2293. #define GL_GEOMETRY_TEXTURE 0x829E
  2294. #define GL_FRAGMENT_TEXTURE 0x829F
  2295. #define GL_COMPUTE_TEXTURE 0x82A0
  2296. #define GL_TEXTURE_SHADOW 0x82A1
  2297. #define GL_TEXTURE_GATHER 0x82A2
  2298. #define GL_TEXTURE_GATHER_SHADOW 0x82A3
  2299. #define GL_SHADER_IMAGE_LOAD 0x82A4
  2300. #define GL_SHADER_IMAGE_STORE 0x82A5
  2301. #define GL_SHADER_IMAGE_ATOMIC 0x82A6
  2302. #define GL_IMAGE_TEXEL_SIZE 0x82A7
  2303. #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
  2304. #define GL_IMAGE_PIXEL_FORMAT 0x82A9
  2305. #define GL_IMAGE_PIXEL_TYPE 0x82AA
  2306. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
  2307. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
  2308. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
  2309. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
  2310. #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
  2311. #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
  2312. #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
  2313. #define GL_CLEAR_BUFFER 0x82B4
  2314. #define GL_TEXTURE_VIEW 0x82B5
  2315. #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
  2316. #define GL_FULL_SUPPORT 0x82B7
  2317. #define GL_CAVEAT_SUPPORT 0x82B8
  2318. #define GL_IMAGE_CLASS_4_X_32 0x82B9
  2319. #define GL_IMAGE_CLASS_2_X_32 0x82BA
  2320. #define GL_IMAGE_CLASS_1_X_32 0x82BB
  2321. #define GL_IMAGE_CLASS_4_X_16 0x82BC
  2322. #define GL_IMAGE_CLASS_2_X_16 0x82BD
  2323. #define GL_IMAGE_CLASS_1_X_16 0x82BE
  2324. #define GL_IMAGE_CLASS_4_X_8 0x82BF
  2325. #define GL_IMAGE_CLASS_2_X_8 0x82C0
  2326. #define GL_IMAGE_CLASS_1_X_8 0x82C1
  2327. #define GL_IMAGE_CLASS_11_11_10 0x82C2
  2328. #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
  2329. #define GL_VIEW_CLASS_128_BITS 0x82C4
  2330. #define GL_VIEW_CLASS_96_BITS 0x82C5
  2331. #define GL_VIEW_CLASS_64_BITS 0x82C6
  2332. #define GL_VIEW_CLASS_48_BITS 0x82C7
  2333. #define GL_VIEW_CLASS_32_BITS 0x82C8
  2334. #define GL_VIEW_CLASS_24_BITS 0x82C9
  2335. #define GL_VIEW_CLASS_16_BITS 0x82CA
  2336. #define GL_VIEW_CLASS_8_BITS 0x82CB
  2337. #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
  2338. #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
  2339. #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
  2340. #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
  2341. #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
  2342. #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
  2343. #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
  2344. #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
  2345. #define GL_UNIFORM 0x92E1
  2346. #define GL_UNIFORM_BLOCK 0x92E2
  2347. #define GL_PROGRAM_INPUT 0x92E3
  2348. #define GL_PROGRAM_OUTPUT 0x92E4
  2349. #define GL_BUFFER_VARIABLE 0x92E5
  2350. #define GL_SHADER_STORAGE_BLOCK 0x92E6
  2351. #define GL_VERTEX_SUBROUTINE 0x92E8
  2352. #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
  2353. #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
  2354. #define GL_GEOMETRY_SUBROUTINE 0x92EB
  2355. #define GL_FRAGMENT_SUBROUTINE 0x92EC
  2356. #define GL_COMPUTE_SUBROUTINE 0x92ED
  2357. #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
  2358. #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
  2359. #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
  2360. #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
  2361. #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
  2362. #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
  2363. #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
  2364. #define GL_ACTIVE_RESOURCES 0x92F5
  2365. #define GL_MAX_NAME_LENGTH 0x92F6
  2366. #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
  2367. #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
  2368. #define GL_NAME_LENGTH 0x92F9
  2369. #define GL_TYPE 0x92FA
  2370. #define GL_ARRAY_SIZE 0x92FB
  2371. #define GL_OFFSET 0x92FC
  2372. #define GL_BLOCK_INDEX 0x92FD
  2373. #define GL_ARRAY_STRIDE 0x92FE
  2374. #define GL_MATRIX_STRIDE 0x92FF
  2375. #define GL_IS_ROW_MAJOR 0x9300
  2376. #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
  2377. #define GL_BUFFER_BINDING 0x9302
  2378. #define GL_BUFFER_DATA_SIZE 0x9303
  2379. #define GL_NUM_ACTIVE_VARIABLES 0x9304
  2380. #define GL_ACTIVE_VARIABLES 0x9305
  2381. #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
  2382. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
  2383. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
  2384. #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
  2385. #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
  2386. #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
  2387. #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
  2388. #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
  2389. #define GL_LOCATION 0x930E
  2390. #define GL_LOCATION_INDEX 0x930F
  2391. #define GL_IS_PER_PATCH 0x92E7
  2392. #define GL_SHADER_STORAGE_BUFFER 0x90D2
  2393. #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
  2394. #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
  2395. #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
  2396. #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
  2397. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
  2398. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
  2399. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
  2400. #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
  2401. #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
  2402. #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
  2403. #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
  2404. #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
  2405. #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
  2406. #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
  2407. #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
  2408. #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
  2409. #define GL_TEXTURE_BUFFER_OFFSET 0x919D
  2410. #define GL_TEXTURE_BUFFER_SIZE 0x919E
  2411. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
  2412. #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
  2413. #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
  2414. #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
  2415. #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
  2416. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  2417. #define GL_VERTEX_ATTRIB_BINDING 0x82D4
  2418. #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
  2419. #define GL_VERTEX_BINDING_DIVISOR 0x82D6
  2420. #define GL_VERTEX_BINDING_OFFSET 0x82D7
  2421. #define GL_VERTEX_BINDING_STRIDE 0x82D8
  2422. #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
  2423. #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
  2424. #define GL_VERTEX_BINDING_BUFFER 0x8F4F
  2425. #define GL_DISPLAY_LIST 0x82E7
  2426. typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2427. typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2428. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2429. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
  2430. typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (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 srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  2431. typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  2432. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2433. typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  2434. typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2435. typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
  2436. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2437. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
  2438. typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2439. typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2440. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2441. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2442. typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2443. typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2444. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2445. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  2446. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2447. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2448. typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2449. typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2450. typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2451. typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2452. typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2453. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2454. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2455. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2456. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2457. typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
  2458. typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
  2459. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2460. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2461. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
  2462. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2463. typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2464. typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
  2465. typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2466. typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2467. typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
  2468. typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2469. #ifdef GL_GLEXT_PROTOTYPES
  2470. GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2471. GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2472. GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2473. GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
  2474. GLAPI void APIENTRY glCopyImageSubData (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 srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  2475. GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
  2476. GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
  2477. GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  2478. GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2479. GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
  2480. GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2481. GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
  2482. GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2483. GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2484. GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2485. GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2486. GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2487. GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2488. GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2489. GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  2490. GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
  2491. GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2492. GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2493. GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2494. GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2495. GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2496. GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2497. GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2498. GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2499. GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2500. GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2501. GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
  2502. GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
  2503. GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2504. GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2505. GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
  2506. GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2507. GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2508. GLAPI void APIENTRY glPopDebugGroup (void);
  2509. GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2510. GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2511. GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
  2512. GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2513. #endif
  2514. #endif /* GL_VERSION_4_3 */
  2515. #ifndef GL_VERSION_4_4
  2516. #define GL_VERSION_4_4 1
  2517. #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
  2518. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
  2519. #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
  2520. #define GL_MAP_PERSISTENT_BIT 0x0040
  2521. #define GL_MAP_COHERENT_BIT 0x0080
  2522. #define GL_DYNAMIC_STORAGE_BIT 0x0100
  2523. #define GL_CLIENT_STORAGE_BIT 0x0200
  2524. #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
  2525. #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
  2526. #define GL_BUFFER_STORAGE_FLAGS 0x8220
  2527. #define GL_CLEAR_TEXTURE 0x9365
  2528. #define GL_LOCATION_COMPONENT 0x934A
  2529. #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
  2530. #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
  2531. #define GL_QUERY_BUFFER 0x9192
  2532. #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
  2533. #define GL_QUERY_BUFFER_BINDING 0x9193
  2534. #define GL_QUERY_RESULT_NO_WAIT 0x9194
  2535. #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
  2536. typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2537. typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2538. typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
  2539. typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2540. typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2541. typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2542. typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
  2543. typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2544. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2545. #ifdef GL_GLEXT_PROTOTYPES
  2546. GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2547. GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2548. GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
  2549. GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2550. GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2551. GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
  2552. GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
  2553. GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
  2554. GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2555. #endif
  2556. #endif /* GL_VERSION_4_4 */
  2557. #ifndef GL_ARB_ES2_compatibility
  2558. #define GL_ARB_ES2_compatibility 1
  2559. #endif /* GL_ARB_ES2_compatibility */
  2560. #ifndef GL_ARB_ES3_compatibility
  2561. #define GL_ARB_ES3_compatibility 1
  2562. #endif /* GL_ARB_ES3_compatibility */
  2563. #ifndef GL_ARB_arrays_of_arrays
  2564. #define GL_ARB_arrays_of_arrays 1
  2565. #endif /* GL_ARB_arrays_of_arrays */
  2566. #ifndef GL_ARB_base_instance
  2567. #define GL_ARB_base_instance 1
  2568. #endif /* GL_ARB_base_instance */
  2569. #ifndef GL_ARB_bindless_texture
  2570. #define GL_ARB_bindless_texture 1
  2571. typedef uint64_t GLuint64EXT;
  2572. #define GL_UNSIGNED_INT64_ARB 0x140F
  2573. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
  2574. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
  2575. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  2576. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  2577. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2578. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
  2579. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  2580. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
  2581. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  2582. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
  2583. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2584. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  2585. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
  2586. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
  2587. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
  2588. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  2589. #ifdef GL_GLEXT_PROTOTYPES
  2590. GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
  2591. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
  2592. GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
  2593. GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
  2594. GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2595. GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
  2596. GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
  2597. GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
  2598. GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  2599. GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
  2600. GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2601. GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
  2602. GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
  2603. GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
  2604. GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
  2605. GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
  2606. #endif
  2607. #endif /* GL_ARB_bindless_texture */
  2608. #ifndef GL_ARB_blend_func_extended
  2609. #define GL_ARB_blend_func_extended 1
  2610. #endif /* GL_ARB_blend_func_extended */
  2611. #ifndef GL_ARB_buffer_storage
  2612. #define GL_ARB_buffer_storage 1
  2613. #endif /* GL_ARB_buffer_storage */
  2614. #ifndef GL_ARB_cl_event
  2615. #define GL_ARB_cl_event 1
  2616. struct _cl_context;
  2617. struct _cl_event;
  2618. #define GL_SYNC_CL_EVENT_ARB 0x8240
  2619. #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
  2620. typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  2621. #ifdef GL_GLEXT_PROTOTYPES
  2622. GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  2623. #endif
  2624. #endif /* GL_ARB_cl_event */
  2625. #ifndef GL_ARB_clear_buffer_object
  2626. #define GL_ARB_clear_buffer_object 1
  2627. #endif /* GL_ARB_clear_buffer_object */
  2628. #ifndef GL_ARB_clear_texture
  2629. #define GL_ARB_clear_texture 1
  2630. #endif /* GL_ARB_clear_texture */
  2631. #ifndef GL_ARB_color_buffer_float
  2632. #define GL_ARB_color_buffer_float 1
  2633. #define GL_RGBA_FLOAT_MODE_ARB 0x8820
  2634. #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
  2635. #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
  2636. #define GL_CLAMP_READ_COLOR_ARB 0x891C
  2637. #define GL_FIXED_ONLY_ARB 0x891D
  2638. typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  2639. #ifdef GL_GLEXT_PROTOTYPES
  2640. GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
  2641. #endif
  2642. #endif /* GL_ARB_color_buffer_float */
  2643. #ifndef GL_ARB_compatibility
  2644. #define GL_ARB_compatibility 1
  2645. #endif /* GL_ARB_compatibility */
  2646. #ifndef GL_ARB_compressed_texture_pixel_storage
  2647. #define GL_ARB_compressed_texture_pixel_storage 1
  2648. #endif /* GL_ARB_compressed_texture_pixel_storage */
  2649. #ifndef GL_ARB_compute_shader
  2650. #define GL_ARB_compute_shader 1
  2651. #define GL_COMPUTE_SHADER_BIT 0x00000020
  2652. #endif /* GL_ARB_compute_shader */
  2653. #ifndef GL_ARB_compute_variable_group_size
  2654. #define GL_ARB_compute_variable_group_size 1
  2655. #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
  2656. #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
  2657. #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
  2658. #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
  2659. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
  2660. #ifdef GL_GLEXT_PROTOTYPES
  2661. GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
  2662. #endif
  2663. #endif /* GL_ARB_compute_variable_group_size */
  2664. #ifndef GL_ARB_conservative_depth
  2665. #define GL_ARB_conservative_depth 1
  2666. #endif /* GL_ARB_conservative_depth */
  2667. #ifndef GL_ARB_copy_buffer
  2668. #define GL_ARB_copy_buffer 1
  2669. #define GL_COPY_READ_BUFFER_BINDING 0x8F36
  2670. #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
  2671. #endif /* GL_ARB_copy_buffer */
  2672. #ifndef GL_ARB_copy_image
  2673. #define GL_ARB_copy_image 1
  2674. #endif /* GL_ARB_copy_image */
  2675. #ifndef GL_ARB_debug_output
  2676. #define GL_ARB_debug_output 1
  2677. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  2678. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
  2679. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  2680. #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
  2681. #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
  2682. #define GL_DEBUG_SOURCE_API_ARB 0x8246
  2683. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
  2684. #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
  2685. #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
  2686. #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
  2687. #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
  2688. #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
  2689. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
  2690. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
  2691. #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
  2692. #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
  2693. #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
  2694. #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
  2695. #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
  2696. #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
  2697. #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
  2698. #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
  2699. #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
  2700. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2701. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2702. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
  2703. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2704. #ifdef GL_GLEXT_PROTOTYPES
  2705. GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2706. GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2707. GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
  2708. GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2709. #endif
  2710. #endif /* GL_ARB_debug_output */
  2711. #ifndef GL_ARB_depth_buffer_float
  2712. #define GL_ARB_depth_buffer_float 1
  2713. #endif /* GL_ARB_depth_buffer_float */
  2714. #ifndef GL_ARB_depth_clamp
  2715. #define GL_ARB_depth_clamp 1
  2716. #endif /* GL_ARB_depth_clamp */
  2717. #ifndef GL_ARB_depth_texture
  2718. #define GL_ARB_depth_texture 1
  2719. #define GL_DEPTH_COMPONENT16_ARB 0x81A5
  2720. #define GL_DEPTH_COMPONENT24_ARB 0x81A6
  2721. #define GL_DEPTH_COMPONENT32_ARB 0x81A7
  2722. #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
  2723. #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
  2724. #endif /* GL_ARB_depth_texture */
  2725. #ifndef GL_ARB_draw_buffers
  2726. #define GL_ARB_draw_buffers 1
  2727. #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
  2728. #define GL_DRAW_BUFFER0_ARB 0x8825
  2729. #define GL_DRAW_BUFFER1_ARB 0x8826
  2730. #define GL_DRAW_BUFFER2_ARB 0x8827
  2731. #define GL_DRAW_BUFFER3_ARB 0x8828
  2732. #define GL_DRAW_BUFFER4_ARB 0x8829
  2733. #define GL_DRAW_BUFFER5_ARB 0x882A
  2734. #define GL_DRAW_BUFFER6_ARB 0x882B
  2735. #define GL_DRAW_BUFFER7_ARB 0x882C
  2736. #define GL_DRAW_BUFFER8_ARB 0x882D
  2737. #define GL_DRAW_BUFFER9_ARB 0x882E
  2738. #define GL_DRAW_BUFFER10_ARB 0x882F
  2739. #define GL_DRAW_BUFFER11_ARB 0x8830
  2740. #define GL_DRAW_BUFFER12_ARB 0x8831
  2741. #define GL_DRAW_BUFFER13_ARB 0x8832
  2742. #define GL_DRAW_BUFFER14_ARB 0x8833
  2743. #define GL_DRAW_BUFFER15_ARB 0x8834
  2744. typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  2745. #ifdef GL_GLEXT_PROTOTYPES
  2746. GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
  2747. #endif
  2748. #endif /* GL_ARB_draw_buffers */
  2749. #ifndef GL_ARB_draw_buffers_blend
  2750. #define GL_ARB_draw_buffers_blend 1
  2751. typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  2752. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  2753. typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  2754. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  2755. #ifdef GL_GLEXT_PROTOTYPES
  2756. GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
  2757. GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  2758. GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
  2759. GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  2760. #endif
  2761. #endif /* GL_ARB_draw_buffers_blend */
  2762. #ifndef GL_ARB_draw_elements_base_vertex
  2763. #define GL_ARB_draw_elements_base_vertex 1
  2764. #endif /* GL_ARB_draw_elements_base_vertex */
  2765. #ifndef GL_ARB_draw_indirect
  2766. #define GL_ARB_draw_indirect 1
  2767. #endif /* GL_ARB_draw_indirect */
  2768. #ifndef GL_ARB_draw_instanced
  2769. #define GL_ARB_draw_instanced 1
  2770. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  2771. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  2772. #ifdef GL_GLEXT_PROTOTYPES
  2773. GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  2774. GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  2775. #endif
  2776. #endif /* GL_ARB_draw_instanced */
  2777. #ifndef GL_ARB_enhanced_layouts
  2778. #define GL_ARB_enhanced_layouts 1
  2779. #endif /* GL_ARB_enhanced_layouts */
  2780. #ifndef GL_ARB_explicit_attrib_location
  2781. #define GL_ARB_explicit_attrib_location 1
  2782. #endif /* GL_ARB_explicit_attrib_location */
  2783. #ifndef GL_ARB_explicit_uniform_location
  2784. #define GL_ARB_explicit_uniform_location 1
  2785. #endif /* GL_ARB_explicit_uniform_location */
  2786. #ifndef GL_ARB_fragment_coord_conventions
  2787. #define GL_ARB_fragment_coord_conventions 1
  2788. #endif /* GL_ARB_fragment_coord_conventions */
  2789. #ifndef GL_ARB_fragment_layer_viewport
  2790. #define GL_ARB_fragment_layer_viewport 1
  2791. #endif /* GL_ARB_fragment_layer_viewport */
  2792. #ifndef GL_ARB_fragment_program
  2793. #define GL_ARB_fragment_program 1
  2794. #define GL_FRAGMENT_PROGRAM_ARB 0x8804
  2795. #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
  2796. #define GL_PROGRAM_LENGTH_ARB 0x8627
  2797. #define GL_PROGRAM_FORMAT_ARB 0x8876
  2798. #define GL_PROGRAM_BINDING_ARB 0x8677
  2799. #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
  2800. #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
  2801. #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  2802. #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  2803. #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
  2804. #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
  2805. #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  2806. #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  2807. #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
  2808. #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
  2809. #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
  2810. #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  2811. #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
  2812. #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
  2813. #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
  2814. #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  2815. #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  2816. #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  2817. #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  2818. #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
  2819. #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
  2820. #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
  2821. #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  2822. #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  2823. #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  2824. #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  2825. #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  2826. #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  2827. #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  2828. #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  2829. #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  2830. #define GL_PROGRAM_STRING_ARB 0x8628
  2831. #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
  2832. #define GL_CURRENT_MATRIX_ARB 0x8641
  2833. #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
  2834. #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  2835. #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
  2836. #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  2837. #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
  2838. #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
  2839. #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
  2840. #define GL_MATRIX0_ARB 0x88C0
  2841. #define GL_MATRIX1_ARB 0x88C1
  2842. #define GL_MATRIX2_ARB 0x88C2
  2843. #define GL_MATRIX3_ARB 0x88C3
  2844. #define GL_MATRIX4_ARB 0x88C4
  2845. #define GL_MATRIX5_ARB 0x88C5
  2846. #define GL_MATRIX6_ARB 0x88C6
  2847. #define GL_MATRIX7_ARB 0x88C7
  2848. #define GL_MATRIX8_ARB 0x88C8
  2849. #define GL_MATRIX9_ARB 0x88C9
  2850. #define GL_MATRIX10_ARB 0x88CA
  2851. #define GL_MATRIX11_ARB 0x88CB
  2852. #define GL_MATRIX12_ARB 0x88CC
  2853. #define GL_MATRIX13_ARB 0x88CD
  2854. #define GL_MATRIX14_ARB 0x88CE
  2855. #define GL_MATRIX15_ARB 0x88CF
  2856. #define GL_MATRIX16_ARB 0x88D0
  2857. #define GL_MATRIX17_ARB 0x88D1
  2858. #define GL_MATRIX18_ARB 0x88D2
  2859. #define GL_MATRIX19_ARB 0x88D3
  2860. #define GL_MATRIX20_ARB 0x88D4
  2861. #define GL_MATRIX21_ARB 0x88D5
  2862. #define GL_MATRIX22_ARB 0x88D6
  2863. #define GL_MATRIX23_ARB 0x88D7
  2864. #define GL_MATRIX24_ARB 0x88D8
  2865. #define GL_MATRIX25_ARB 0x88D9
  2866. #define GL_MATRIX26_ARB 0x88DA
  2867. #define GL_MATRIX27_ARB 0x88DB
  2868. #define GL_MATRIX28_ARB 0x88DC
  2869. #define GL_MATRIX29_ARB 0x88DD
  2870. #define GL_MATRIX30_ARB 0x88DE
  2871. #define GL_MATRIX31_ARB 0x88DF
  2872. typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
  2873. typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  2874. typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  2875. typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  2876. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2877. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  2878. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2879. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  2880. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2881. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  2882. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2883. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  2884. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  2885. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  2886. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  2887. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  2888. typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  2889. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
  2890. typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  2891. #ifdef GL_GLEXT_PROTOTYPES
  2892. GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
  2893. GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
  2894. GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
  2895. GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
  2896. GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2897. GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  2898. GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2899. GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  2900. GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2901. GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  2902. GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2903. GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  2904. GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  2905. GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  2906. GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  2907. GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  2908. GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
  2909. GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
  2910. GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
  2911. #endif
  2912. #endif /* GL_ARB_fragment_program */
  2913. #ifndef GL_ARB_fragment_program_shadow
  2914. #define GL_ARB_fragment_program_shadow 1
  2915. #endif /* GL_ARB_fragment_program_shadow */
  2916. #ifndef GL_ARB_fragment_shader
  2917. #define GL_ARB_fragment_shader 1
  2918. #define GL_FRAGMENT_SHADER_ARB 0x8B30
  2919. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  2920. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  2921. #endif /* GL_ARB_fragment_shader */
  2922. #ifndef GL_ARB_framebuffer_no_attachments
  2923. #define GL_ARB_framebuffer_no_attachments 1
  2924. #endif /* GL_ARB_framebuffer_no_attachments */
  2925. #ifndef GL_ARB_framebuffer_object
  2926. #define GL_ARB_framebuffer_object 1
  2927. #endif /* GL_ARB_framebuffer_object */
  2928. #ifndef GL_ARB_framebuffer_sRGB
  2929. #define GL_ARB_framebuffer_sRGB 1
  2930. #endif /* GL_ARB_framebuffer_sRGB */
  2931. #ifndef GL_KHR_context_flush_control
  2932. #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
  2933. #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
  2934. #endif /* GL_KHR_context_flush_control */
  2935. #ifndef GL_ARB_geometry_shader4
  2936. #define GL_ARB_geometry_shader4 1
  2937. #define GL_LINES_ADJACENCY_ARB 0x000A
  2938. #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
  2939. #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
  2940. #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
  2941. #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
  2942. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  2943. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  2944. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  2945. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  2946. #define GL_GEOMETRY_SHADER_ARB 0x8DD9
  2947. #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
  2948. #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
  2949. #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
  2950. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  2951. #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  2952. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  2953. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  2954. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  2955. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  2956. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  2957. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2958. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  2959. #ifdef GL_GLEXT_PROTOTYPES
  2960. GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
  2961. GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
  2962. GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2963. GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  2964. #endif
  2965. #endif /* GL_ARB_geometry_shader4 */
  2966. #ifndef GL_ARB_get_program_binary
  2967. #define GL_ARB_get_program_binary 1
  2968. #endif /* GL_ARB_get_program_binary */
  2969. #ifndef GL_ARB_gpu_shader5
  2970. #define GL_ARB_gpu_shader5 1
  2971. #endif /* GL_ARB_gpu_shader5 */
  2972. #ifndef GL_ARB_gpu_shader_fp64
  2973. #define GL_ARB_gpu_shader_fp64 1
  2974. #endif /* GL_ARB_gpu_shader_fp64 */
  2975. #ifndef GL_ARB_half_float_pixel
  2976. #define GL_ARB_half_float_pixel 1
  2977. typedef unsigned short GLhalfARB;
  2978. #define GL_HALF_FLOAT_ARB 0x140B
  2979. #endif /* GL_ARB_half_float_pixel */
  2980. #ifndef GL_ARB_half_float_vertex
  2981. #define GL_ARB_half_float_vertex 1
  2982. #endif /* GL_ARB_half_float_vertex */
  2983. #ifndef GL_ARB_imaging
  2984. #define GL_ARB_imaging 1
  2985. #define GL_BLEND_COLOR 0x8005
  2986. #define GL_BLEND_EQUATION 0x8009
  2987. #define GL_CONVOLUTION_1D 0x8010
  2988. #define GL_CONVOLUTION_2D 0x8011
  2989. #define GL_SEPARABLE_2D 0x8012
  2990. #define GL_CONVOLUTION_BORDER_MODE 0x8013
  2991. #define GL_CONVOLUTION_FILTER_SCALE 0x8014
  2992. #define GL_CONVOLUTION_FILTER_BIAS 0x8015
  2993. #define GL_REDUCE 0x8016
  2994. #define GL_CONVOLUTION_FORMAT 0x8017
  2995. #define GL_CONVOLUTION_WIDTH 0x8018
  2996. #define GL_CONVOLUTION_HEIGHT 0x8019
  2997. #define GL_MAX_CONVOLUTION_WIDTH 0x801A
  2998. #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
  2999. #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
  3000. #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
  3001. #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
  3002. #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
  3003. #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
  3004. #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
  3005. #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
  3006. #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
  3007. #define GL_HISTOGRAM 0x8024
  3008. #define GL_PROXY_HISTOGRAM 0x8025
  3009. #define GL_HISTOGRAM_WIDTH 0x8026
  3010. #define GL_HISTOGRAM_FORMAT 0x8027
  3011. #define GL_HISTOGRAM_RED_SIZE 0x8028
  3012. #define GL_HISTOGRAM_GREEN_SIZE 0x8029
  3013. #define GL_HISTOGRAM_BLUE_SIZE 0x802A
  3014. #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
  3015. #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
  3016. #define GL_HISTOGRAM_SINK 0x802D
  3017. #define GL_MINMAX 0x802E
  3018. #define GL_MINMAX_FORMAT 0x802F
  3019. #define GL_MINMAX_SINK 0x8030
  3020. #define GL_TABLE_TOO_LARGE 0x8031
  3021. #define GL_COLOR_MATRIX 0x80B1
  3022. #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
  3023. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
  3024. #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
  3025. #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
  3026. #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
  3027. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
  3028. #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
  3029. #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
  3030. #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
  3031. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
  3032. #define GL_COLOR_TABLE 0x80D0
  3033. #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
  3034. #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
  3035. #define GL_PROXY_COLOR_TABLE 0x80D3
  3036. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
  3037. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
  3038. #define GL_COLOR_TABLE_SCALE 0x80D6
  3039. #define GL_COLOR_TABLE_BIAS 0x80D7
  3040. #define GL_COLOR_TABLE_FORMAT 0x80D8
  3041. #define GL_COLOR_TABLE_WIDTH 0x80D9
  3042. #define GL_COLOR_TABLE_RED_SIZE 0x80DA
  3043. #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
  3044. #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
  3045. #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
  3046. #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
  3047. #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
  3048. #define GL_CONSTANT_BORDER 0x8151
  3049. #define GL_REPLICATE_BORDER 0x8153
  3050. #define GL_CONVOLUTION_BORDER_COLOR 0x8154
  3051. typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  3052. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3053. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  3054. typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3055. typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
  3056. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3057. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3058. typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  3059. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  3060. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  3061. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  3062. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  3063. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3064. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  3065. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  3066. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3067. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3068. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
  3069. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3070. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3071. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  3072. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  3073. typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3074. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3075. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3076. typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3077. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3078. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3079. typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3080. typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  3081. typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  3082. typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  3083. #ifdef GL_GLEXT_PROTOTYPES
  3084. GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  3085. GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  3086. GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
  3087. GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3088. GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
  3089. GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3090. GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
  3091. GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  3092. GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  3093. GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  3094. GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  3095. GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
  3096. GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  3097. GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
  3098. GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
  3099. GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3100. GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3101. GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
  3102. GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3103. GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
  3104. GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  3105. GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  3106. GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3107. GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3108. GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
  3109. GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3110. GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3111. GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
  3112. GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3113. GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
  3114. GLAPI void APIENTRY glResetHistogram (GLenum target);
  3115. GLAPI void APIENTRY glResetMinmax (GLenum target);
  3116. #endif
  3117. #endif /* GL_ARB_imaging */
  3118. #ifndef GL_ARB_indirect_parameters
  3119. #define GL_ARB_indirect_parameters 1
  3120. #define GL_PARAMETER_BUFFER_ARB 0x80EE
  3121. #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
  3122. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3123. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3124. #ifdef GL_GLEXT_PROTOTYPES
  3125. GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3126. GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3127. #endif
  3128. #endif /* GL_ARB_indirect_parameters */
  3129. #ifndef GL_ARB_instanced_arrays
  3130. #define GL_ARB_instanced_arrays 1
  3131. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  3132. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
  3133. #ifdef GL_GLEXT_PROTOTYPES
  3134. GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
  3135. #endif
  3136. #endif /* GL_ARB_instanced_arrays */
  3137. #ifndef GL_ARB_internalformat_query
  3138. #define GL_ARB_internalformat_query 1
  3139. #endif /* GL_ARB_internalformat_query */
  3140. #ifndef GL_ARB_internalformat_query2
  3141. #define GL_ARB_internalformat_query2 1
  3142. #define GL_SRGB_DECODE_ARB 0x8299
  3143. #endif /* GL_ARB_internalformat_query2 */
  3144. #ifndef GL_ARB_invalidate_subdata
  3145. #define GL_ARB_invalidate_subdata 1
  3146. #endif /* GL_ARB_invalidate_subdata */
  3147. #ifndef GL_ARB_map_buffer_alignment
  3148. #define GL_ARB_map_buffer_alignment 1
  3149. #endif /* GL_ARB_map_buffer_alignment */
  3150. #ifndef GL_ARB_map_buffer_range
  3151. #define GL_ARB_map_buffer_range 1
  3152. #endif /* GL_ARB_map_buffer_range */
  3153. #ifndef GL_ARB_matrix_palette
  3154. #define GL_ARB_matrix_palette 1
  3155. #define GL_MATRIX_PALETTE_ARB 0x8840
  3156. #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  3157. #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
  3158. #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
  3159. #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
  3160. #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
  3161. #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
  3162. #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
  3163. #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
  3164. #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  3165. typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  3166. typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  3167. typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  3168. typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  3169. typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3170. #ifdef GL_GLEXT_PROTOTYPES
  3171. GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
  3172. GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
  3173. GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
  3174. GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
  3175. GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3176. #endif
  3177. #endif /* GL_ARB_matrix_palette */
  3178. #ifndef GL_ARB_multi_bind
  3179. #define GL_ARB_multi_bind 1
  3180. #endif /* GL_ARB_multi_bind */
  3181. #ifndef GL_ARB_multi_draw_indirect
  3182. #define GL_ARB_multi_draw_indirect 1
  3183. #endif /* GL_ARB_multi_draw_indirect */
  3184. #ifndef GL_ARB_multisample
  3185. #define GL_ARB_multisample 1
  3186. #define GL_MULTISAMPLE_ARB 0x809D
  3187. #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
  3188. #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
  3189. #define GL_SAMPLE_COVERAGE_ARB 0x80A0
  3190. #define GL_SAMPLE_BUFFERS_ARB 0x80A8
  3191. #define GL_SAMPLES_ARB 0x80A9
  3192. #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
  3193. #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
  3194. #define GL_MULTISAMPLE_BIT_ARB 0x20000000
  3195. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
  3196. #ifdef GL_GLEXT_PROTOTYPES
  3197. GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
  3198. #endif
  3199. #endif /* GL_ARB_multisample */
  3200. #ifndef GL_ARB_multitexture
  3201. #define GL_ARB_multitexture 1
  3202. #define GL_TEXTURE0_ARB 0x84C0
  3203. #define GL_TEXTURE1_ARB 0x84C1
  3204. #define GL_TEXTURE2_ARB 0x84C2
  3205. #define GL_TEXTURE3_ARB 0x84C3
  3206. #define GL_TEXTURE4_ARB 0x84C4
  3207. #define GL_TEXTURE5_ARB 0x84C5
  3208. #define GL_TEXTURE6_ARB 0x84C6
  3209. #define GL_TEXTURE7_ARB 0x84C7
  3210. #define GL_TEXTURE8_ARB 0x84C8
  3211. #define GL_TEXTURE9_ARB 0x84C9
  3212. #define GL_TEXTURE10_ARB 0x84CA
  3213. #define GL_TEXTURE11_ARB 0x84CB
  3214. #define GL_TEXTURE12_ARB 0x84CC
  3215. #define GL_TEXTURE13_ARB 0x84CD
  3216. #define GL_TEXTURE14_ARB 0x84CE
  3217. #define GL_TEXTURE15_ARB 0x84CF
  3218. #define GL_TEXTURE16_ARB 0x84D0
  3219. #define GL_TEXTURE17_ARB 0x84D1
  3220. #define GL_TEXTURE18_ARB 0x84D2
  3221. #define GL_TEXTURE19_ARB 0x84D3
  3222. #define GL_TEXTURE20_ARB 0x84D4
  3223. #define GL_TEXTURE21_ARB 0x84D5
  3224. #define GL_TEXTURE22_ARB 0x84D6
  3225. #define GL_TEXTURE23_ARB 0x84D7
  3226. #define GL_TEXTURE24_ARB 0x84D8
  3227. #define GL_TEXTURE25_ARB 0x84D9
  3228. #define GL_TEXTURE26_ARB 0x84DA
  3229. #define GL_TEXTURE27_ARB 0x84DB
  3230. #define GL_TEXTURE28_ARB 0x84DC
  3231. #define GL_TEXTURE29_ARB 0x84DD
  3232. #define GL_TEXTURE30_ARB 0x84DE
  3233. #define GL_TEXTURE31_ARB 0x84DF
  3234. #define GL_ACTIVE_TEXTURE_ARB 0x84E0
  3235. #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
  3236. #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
  3237. typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  3238. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  3239. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  3240. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  3241. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  3242. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  3243. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  3244. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  3245. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  3246. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  3247. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  3248. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  3249. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  3250. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  3251. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  3252. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  3253. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  3254. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  3255. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3256. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  3257. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3258. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  3259. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  3260. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  3261. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  3262. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  3263. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3264. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  3265. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3266. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  3267. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3268. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  3269. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3270. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  3271. #ifdef GL_GLEXT_PROTOTYPES
  3272. GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
  3273. GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
  3274. GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
  3275. GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
  3276. GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
  3277. GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
  3278. GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
  3279. GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
  3280. GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
  3281. GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
  3282. GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
  3283. GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
  3284. GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
  3285. GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
  3286. GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
  3287. GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
  3288. GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
  3289. GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
  3290. GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3291. GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
  3292. GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3293. GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
  3294. GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
  3295. GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
  3296. GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
  3297. GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
  3298. GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3299. GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
  3300. GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3301. GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
  3302. GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3303. GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
  3304. GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3305. GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
  3306. #endif
  3307. #endif /* GL_ARB_multitexture */
  3308. #ifndef GL_ARB_occlusion_query
  3309. #define GL_ARB_occlusion_query 1
  3310. #define GL_QUERY_COUNTER_BITS_ARB 0x8864
  3311. #define GL_CURRENT_QUERY_ARB 0x8865
  3312. #define GL_QUERY_RESULT_ARB 0x8866
  3313. #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
  3314. #define GL_SAMPLES_PASSED_ARB 0x8914
  3315. typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  3316. typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  3317. typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  3318. typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  3319. typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  3320. typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  3321. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  3322. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  3323. #ifdef GL_GLEXT_PROTOTYPES
  3324. GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
  3325. GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
  3326. GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
  3327. GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
  3328. GLAPI void APIENTRY glEndQueryARB (GLenum target);
  3329. GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
  3330. GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
  3331. GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
  3332. #endif
  3333. #endif /* GL_ARB_occlusion_query */
  3334. #ifndef GL_ARB_occlusion_query2
  3335. #define GL_ARB_occlusion_query2 1
  3336. #endif /* GL_ARB_occlusion_query2 */
  3337. #ifndef GL_ARB_pixel_buffer_object
  3338. #define GL_ARB_pixel_buffer_object 1
  3339. #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
  3340. #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
  3341. #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
  3342. #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  3343. #endif /* GL_ARB_pixel_buffer_object */
  3344. #ifndef GL_ARB_point_parameters
  3345. #define GL_ARB_point_parameters 1
  3346. #define GL_POINT_SIZE_MIN_ARB 0x8126
  3347. #define GL_POINT_SIZE_MAX_ARB 0x8127
  3348. #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
  3349. #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  3350. typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  3351. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  3352. #ifdef GL_GLEXT_PROTOTYPES
  3353. GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
  3354. GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
  3355. #endif
  3356. #endif /* GL_ARB_point_parameters */
  3357. #ifndef GL_ARB_point_sprite
  3358. #define GL_ARB_point_sprite 1
  3359. #define GL_POINT_SPRITE_ARB 0x8861
  3360. #define GL_COORD_REPLACE_ARB 0x8862
  3361. #endif /* GL_ARB_point_sprite */
  3362. #ifndef GL_ARB_program_interface_query
  3363. #define GL_ARB_program_interface_query 1
  3364. #endif /* GL_ARB_program_interface_query */
  3365. #ifndef GL_ARB_provoking_vertex
  3366. #define GL_ARB_provoking_vertex 1
  3367. #endif /* GL_ARB_provoking_vertex */
  3368. #ifndef GL_ARB_query_buffer_object
  3369. #define GL_ARB_query_buffer_object 1
  3370. #endif /* GL_ARB_query_buffer_object */
  3371. #ifndef GL_ARB_robust_buffer_access_behavior
  3372. #define GL_ARB_robust_buffer_access_behavior 1
  3373. #endif /* GL_ARB_robust_buffer_access_behavior */
  3374. #ifndef GL_ARB_robustness
  3375. #define GL_ARB_robustness 1
  3376. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  3377. #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
  3378. #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
  3379. #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
  3380. #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
  3381. #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  3382. #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
  3383. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  3384. typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  3385. typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  3386. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
  3387. typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  3388. typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  3389. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  3390. typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  3391. typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  3392. typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  3393. typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  3394. typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  3395. typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  3396. typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  3397. typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
  3398. typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  3399. typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  3400. typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  3401. typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3402. typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3403. #ifdef GL_GLEXT_PROTOTYPES
  3404. GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
  3405. GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  3406. GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  3407. GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
  3408. GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  3409. GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  3410. GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  3411. GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  3412. GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  3413. GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  3414. GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  3415. GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
  3416. GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
  3417. GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
  3418. GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
  3419. GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  3420. GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  3421. GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  3422. GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3423. GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3424. #endif
  3425. #endif /* GL_ARB_robustness */
  3426. #ifndef GL_ARB_robustness_isolation
  3427. #define GL_ARB_robustness_isolation 1
  3428. #endif /* GL_ARB_robustness_isolation */
  3429. #ifndef GL_ARB_sample_shading
  3430. #define GL_ARB_sample_shading 1
  3431. #define GL_SAMPLE_SHADING_ARB 0x8C36
  3432. #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
  3433. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
  3434. #ifdef GL_GLEXT_PROTOTYPES
  3435. GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
  3436. #endif
  3437. #endif /* GL_ARB_sample_shading */
  3438. #ifndef GL_ARB_sampler_objects
  3439. #define GL_ARB_sampler_objects 1
  3440. #endif /* GL_ARB_sampler_objects */
  3441. #ifndef GL_ARB_seamless_cube_map
  3442. #define GL_ARB_seamless_cube_map 1
  3443. #endif /* GL_ARB_seamless_cube_map */
  3444. #ifndef GL_ARB_seamless_cubemap_per_texture
  3445. #define GL_ARB_seamless_cubemap_per_texture 1
  3446. #endif /* GL_ARB_seamless_cubemap_per_texture */
  3447. #ifndef GL_ARB_separate_shader_objects
  3448. #define GL_ARB_separate_shader_objects 1
  3449. #endif /* GL_ARB_separate_shader_objects */
  3450. #ifndef GL_ARB_shader_atomic_counters
  3451. #define GL_ARB_shader_atomic_counters 1
  3452. #endif /* GL_ARB_shader_atomic_counters */
  3453. #ifndef GL_ARB_shader_bit_encoding
  3454. #define GL_ARB_shader_bit_encoding 1
  3455. #endif /* GL_ARB_shader_bit_encoding */
  3456. #ifndef GL_ARB_shader_draw_parameters
  3457. #define GL_ARB_shader_draw_parameters 1
  3458. #endif /* GL_ARB_shader_draw_parameters */
  3459. #ifndef GL_ARB_shader_group_vote
  3460. #define GL_ARB_shader_group_vote 1
  3461. #endif /* GL_ARB_shader_group_vote */
  3462. #ifndef GL_ARB_shader_image_load_store
  3463. #define GL_ARB_shader_image_load_store 1
  3464. #endif /* GL_ARB_shader_image_load_store */
  3465. #ifndef GL_ARB_shader_image_size
  3466. #define GL_ARB_shader_image_size 1
  3467. #endif /* GL_ARB_shader_image_size */
  3468. #ifndef GL_ARB_shader_objects
  3469. #define GL_ARB_shader_objects 1
  3470. #ifdef __APPLE__
  3471. typedef void *GLhandleARB;
  3472. #else
  3473. typedef unsigned int GLhandleARB;
  3474. #endif
  3475. typedef char GLcharARB;
  3476. #define GL_PROGRAM_OBJECT_ARB 0x8B40
  3477. #define GL_SHADER_OBJECT_ARB 0x8B48
  3478. #define GL_OBJECT_TYPE_ARB 0x8B4E
  3479. #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
  3480. #define GL_FLOAT_VEC2_ARB 0x8B50
  3481. #define GL_FLOAT_VEC3_ARB 0x8B51
  3482. #define GL_FLOAT_VEC4_ARB 0x8B52
  3483. #define GL_INT_VEC2_ARB 0x8B53
  3484. #define GL_INT_VEC3_ARB 0x8B54
  3485. #define GL_INT_VEC4_ARB 0x8B55
  3486. #define GL_BOOL_ARB 0x8B56
  3487. #define GL_BOOL_VEC2_ARB 0x8B57
  3488. #define GL_BOOL_VEC3_ARB 0x8B58
  3489. #define GL_BOOL_VEC4_ARB 0x8B59
  3490. #define GL_FLOAT_MAT2_ARB 0x8B5A
  3491. #define GL_FLOAT_MAT3_ARB 0x8B5B
  3492. #define GL_FLOAT_MAT4_ARB 0x8B5C
  3493. #define GL_SAMPLER_1D_ARB 0x8B5D
  3494. #define GL_SAMPLER_2D_ARB 0x8B5E
  3495. #define GL_SAMPLER_3D_ARB 0x8B5F
  3496. #define GL_SAMPLER_CUBE_ARB 0x8B60
  3497. #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
  3498. #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
  3499. #define GL_SAMPLER_2D_RECT_ARB 0x8B63
  3500. #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
  3501. #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
  3502. #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
  3503. #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
  3504. #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
  3505. #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
  3506. #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
  3507. #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
  3508. #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  3509. #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  3510. typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  3511. typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  3512. typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  3513. typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  3514. typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  3515. typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  3516. typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  3517. typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  3518. typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  3519. typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  3520. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  3521. typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  3522. typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  3523. typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  3524. typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  3525. typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  3526. typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  3527. typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  3528. typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  3529. typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3530. typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3531. typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3532. typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3533. typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3534. typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3535. typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3536. typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3537. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3538. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3539. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3540. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  3541. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  3542. typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  3543. typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  3544. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  3545. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  3546. typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  3547. typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  3548. typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  3549. #ifdef GL_GLEXT_PROTOTYPES
  3550. GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
  3551. GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
  3552. GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
  3553. GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
  3554. GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  3555. GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
  3556. GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  3557. GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
  3558. GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
  3559. GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
  3560. GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
  3561. GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
  3562. GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
  3563. GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  3564. GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  3565. GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
  3566. GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
  3567. GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
  3568. GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  3569. GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
  3570. GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
  3571. GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
  3572. GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
  3573. GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
  3574. GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
  3575. GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
  3576. GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
  3577. GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3578. GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3579. GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3580. GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
  3581. GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
  3582. GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  3583. GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  3584. GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
  3585. GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  3586. GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
  3587. GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
  3588. GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  3589. #endif
  3590. #endif /* GL_ARB_shader_objects */
  3591. #ifndef GL_ARB_shader_precision
  3592. #define GL_ARB_shader_precision 1
  3593. #endif /* GL_ARB_shader_precision */
  3594. #ifndef GL_ARB_shader_stencil_export
  3595. #define GL_ARB_shader_stencil_export 1
  3596. #endif /* GL_ARB_shader_stencil_export */
  3597. #ifndef GL_ARB_shader_storage_buffer_object
  3598. #define GL_ARB_shader_storage_buffer_object 1
  3599. #endif /* GL_ARB_shader_storage_buffer_object */
  3600. #ifndef GL_ARB_shader_subroutine
  3601. #define GL_ARB_shader_subroutine 1
  3602. #endif /* GL_ARB_shader_subroutine */
  3603. #ifndef GL_ARB_shader_texture_lod
  3604. #define GL_ARB_shader_texture_lod 1
  3605. #endif /* GL_ARB_shader_texture_lod */
  3606. #ifndef GL_ARB_shading_language_100
  3607. #define GL_ARB_shading_language_100 1
  3608. #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
  3609. #endif /* GL_ARB_shading_language_100 */
  3610. #ifndef GL_ARB_shading_language_420pack
  3611. #define GL_ARB_shading_language_420pack 1
  3612. #endif /* GL_ARB_shading_language_420pack */
  3613. #ifndef GL_ARB_shading_language_include
  3614. #define GL_ARB_shading_language_include 1
  3615. #define GL_SHADER_INCLUDE_ARB 0x8DAE
  3616. #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
  3617. #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
  3618. typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  3619. typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  3620. typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  3621. typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  3622. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  3623. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  3624. #ifdef GL_GLEXT_PROTOTYPES
  3625. GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  3626. GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
  3627. GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  3628. GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
  3629. GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  3630. GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  3631. #endif
  3632. #endif /* GL_ARB_shading_language_include */
  3633. #ifndef GL_ARB_shading_language_packing
  3634. #define GL_ARB_shading_language_packing 1
  3635. #endif /* GL_ARB_shading_language_packing */
  3636. #ifndef GL_ARB_shadow
  3637. #define GL_ARB_shadow 1
  3638. #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
  3639. #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
  3640. #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
  3641. #endif /* GL_ARB_shadow */
  3642. #ifndef GL_ARB_shadow_ambient
  3643. #define GL_ARB_shadow_ambient 1
  3644. #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  3645. #endif /* GL_ARB_shadow_ambient */
  3646. #ifndef GL_ARB_sparse_texture
  3647. #define GL_ARB_sparse_texture 1
  3648. #define GL_TEXTURE_SPARSE_ARB 0x91A6
  3649. #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
  3650. #define GL_MIN_SPARSE_LEVEL_ARB 0x919B
  3651. #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
  3652. #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
  3653. #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
  3654. #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
  3655. #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
  3656. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
  3657. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
  3658. #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
  3659. typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  3660. #ifdef GL_GLEXT_PROTOTYPES
  3661. GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  3662. #endif
  3663. #endif /* GL_ARB_sparse_texture */
  3664. #ifndef GL_ARB_stencil_texturing
  3665. #define GL_ARB_stencil_texturing 1
  3666. #endif /* GL_ARB_stencil_texturing */
  3667. #ifndef GL_ARB_sync
  3668. #define GL_ARB_sync 1
  3669. #endif /* GL_ARB_sync */
  3670. #ifndef GL_ARB_tessellation_shader
  3671. #define GL_ARB_tessellation_shader 1
  3672. #endif /* GL_ARB_tessellation_shader */
  3673. #ifndef GL_ARB_texture_border_clamp
  3674. #define GL_ARB_texture_border_clamp 1
  3675. #define GL_CLAMP_TO_BORDER_ARB 0x812D
  3676. #endif /* GL_ARB_texture_border_clamp */
  3677. #ifndef GL_ARB_texture_buffer_object
  3678. #define GL_ARB_texture_buffer_object 1
  3679. #define GL_TEXTURE_BUFFER_ARB 0x8C2A
  3680. #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
  3681. #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
  3682. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  3683. #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
  3684. typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  3685. #ifdef GL_GLEXT_PROTOTYPES
  3686. GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
  3687. #endif
  3688. #endif /* GL_ARB_texture_buffer_object */
  3689. #ifndef GL_ARB_texture_buffer_object_rgb32
  3690. #define GL_ARB_texture_buffer_object_rgb32 1
  3691. #endif /* GL_ARB_texture_buffer_object_rgb32 */
  3692. #ifndef GL_ARB_texture_buffer_range
  3693. #define GL_ARB_texture_buffer_range 1
  3694. #endif /* GL_ARB_texture_buffer_range */
  3695. #ifndef GL_ARB_texture_compression
  3696. #define GL_ARB_texture_compression 1
  3697. #define GL_COMPRESSED_ALPHA_ARB 0x84E9
  3698. #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
  3699. #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  3700. #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
  3701. #define GL_COMPRESSED_RGB_ARB 0x84ED
  3702. #define GL_COMPRESSED_RGBA_ARB 0x84EE
  3703. #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
  3704. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  3705. #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
  3706. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  3707. #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  3708. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  3709. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  3710. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  3711. 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 void *data);
  3712. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  3713. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  3714. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
  3715. #ifdef GL_GLEXT_PROTOTYPES
  3716. GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  3717. GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  3718. GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  3719. 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 void *data);
  3720. GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  3721. GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  3722. GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
  3723. #endif
  3724. #endif /* GL_ARB_texture_compression */
  3725. #ifndef GL_ARB_texture_compression_bptc
  3726. #define GL_ARB_texture_compression_bptc 1
  3727. #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  3728. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  3729. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  3730. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  3731. #endif /* GL_ARB_texture_compression_bptc */
  3732. #ifndef GL_ARB_texture_compression_rgtc
  3733. #define GL_ARB_texture_compression_rgtc 1
  3734. #endif /* GL_ARB_texture_compression_rgtc */
  3735. #ifndef GL_ARB_texture_cube_map
  3736. #define GL_ARB_texture_cube_map 1
  3737. #define GL_NORMAL_MAP_ARB 0x8511
  3738. #define GL_REFLECTION_MAP_ARB 0x8512
  3739. #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
  3740. #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
  3741. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  3742. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  3743. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  3744. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  3745. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  3746. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  3747. #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
  3748. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
  3749. #endif /* GL_ARB_texture_cube_map */
  3750. #ifndef GL_ARB_texture_cube_map_array
  3751. #define GL_ARB_texture_cube_map_array 1
  3752. #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
  3753. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  3754. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  3755. #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
  3756. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  3757. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  3758. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  3759. #endif /* GL_ARB_texture_cube_map_array */
  3760. #ifndef GL_ARB_texture_env_add
  3761. #define GL_ARB_texture_env_add 1
  3762. #endif /* GL_ARB_texture_env_add */
  3763. #ifndef GL_ARB_texture_env_combine
  3764. #define GL_ARB_texture_env_combine 1
  3765. #define GL_COMBINE_ARB 0x8570
  3766. #define GL_COMBINE_RGB_ARB 0x8571
  3767. #define GL_COMBINE_ALPHA_ARB 0x8572
  3768. #define GL_SOURCE0_RGB_ARB 0x8580
  3769. #define GL_SOURCE1_RGB_ARB 0x8581
  3770. #define GL_SOURCE2_RGB_ARB 0x8582
  3771. #define GL_SOURCE0_ALPHA_ARB 0x8588
  3772. #define GL_SOURCE1_ALPHA_ARB 0x8589
  3773. #define GL_SOURCE2_ALPHA_ARB 0x858A
  3774. #define GL_OPERAND0_RGB_ARB 0x8590
  3775. #define GL_OPERAND1_RGB_ARB 0x8591
  3776. #define GL_OPERAND2_RGB_ARB 0x8592
  3777. #define GL_OPERAND0_ALPHA_ARB 0x8598
  3778. #define GL_OPERAND1_ALPHA_ARB 0x8599
  3779. #define GL_OPERAND2_ALPHA_ARB 0x859A
  3780. #define GL_RGB_SCALE_ARB 0x8573
  3781. #define GL_ADD_SIGNED_ARB 0x8574
  3782. #define GL_INTERPOLATE_ARB 0x8575
  3783. #define GL_SUBTRACT_ARB 0x84E7
  3784. #define GL_CONSTANT_ARB 0x8576
  3785. #define GL_PRIMARY_COLOR_ARB 0x8577
  3786. #define GL_PREVIOUS_ARB 0x8578
  3787. #endif /* GL_ARB_texture_env_combine */
  3788. #ifndef GL_ARB_texture_env_crossbar
  3789. #define GL_ARB_texture_env_crossbar 1
  3790. #endif /* GL_ARB_texture_env_crossbar */
  3791. #ifndef GL_ARB_texture_env_dot3
  3792. #define GL_ARB_texture_env_dot3 1
  3793. #define GL_DOT3_RGB_ARB 0x86AE
  3794. #define GL_DOT3_RGBA_ARB 0x86AF
  3795. #endif /* GL_ARB_texture_env_dot3 */
  3796. #ifndef GL_ARB_texture_float
  3797. #define GL_ARB_texture_float 1
  3798. #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
  3799. #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
  3800. #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
  3801. #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
  3802. #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
  3803. #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
  3804. #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
  3805. #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
  3806. #define GL_RGBA32F_ARB 0x8814
  3807. #define GL_RGB32F_ARB 0x8815
  3808. #define GL_ALPHA32F_ARB 0x8816
  3809. #define GL_INTENSITY32F_ARB 0x8817
  3810. #define GL_LUMINANCE32F_ARB 0x8818
  3811. #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
  3812. #define GL_RGBA16F_ARB 0x881A
  3813. #define GL_RGB16F_ARB 0x881B
  3814. #define GL_ALPHA16F_ARB 0x881C
  3815. #define GL_INTENSITY16F_ARB 0x881D
  3816. #define GL_LUMINANCE16F_ARB 0x881E
  3817. #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
  3818. #endif /* GL_ARB_texture_float */
  3819. #ifndef GL_ARB_texture_gather
  3820. #define GL_ARB_texture_gather 1
  3821. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  3822. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  3823. #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
  3824. #endif /* GL_ARB_texture_gather */
  3825. #ifndef GL_ARB_texture_mirror_clamp_to_edge
  3826. #define GL_ARB_texture_mirror_clamp_to_edge 1
  3827. #endif /* GL_ARB_texture_mirror_clamp_to_edge */
  3828. #ifndef GL_ARB_texture_mirrored_repeat
  3829. #define GL_ARB_texture_mirrored_repeat 1
  3830. #define GL_MIRRORED_REPEAT_ARB 0x8370
  3831. #endif /* GL_ARB_texture_mirrored_repeat */
  3832. #ifndef GL_ARB_texture_multisample
  3833. #define GL_ARB_texture_multisample 1
  3834. #endif /* GL_ARB_texture_multisample */
  3835. #ifndef GL_ARB_texture_non_power_of_two
  3836. #define GL_ARB_texture_non_power_of_two 1
  3837. #endif /* GL_ARB_texture_non_power_of_two */
  3838. #ifndef GL_ARB_texture_query_levels
  3839. #define GL_ARB_texture_query_levels 1
  3840. #endif /* GL_ARB_texture_query_levels */
  3841. #ifndef GL_ARB_texture_query_lod
  3842. #define GL_ARB_texture_query_lod 1
  3843. #endif /* GL_ARB_texture_query_lod */
  3844. #ifndef GL_ARB_texture_rectangle
  3845. #define GL_ARB_texture_rectangle 1
  3846. #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
  3847. #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
  3848. #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
  3849. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  3850. #endif /* GL_ARB_texture_rectangle */
  3851. #ifndef GL_ARB_texture_rg
  3852. #define GL_ARB_texture_rg 1
  3853. #endif /* GL_ARB_texture_rg */
  3854. #ifndef GL_ARB_texture_rgb10_a2ui
  3855. #define GL_ARB_texture_rgb10_a2ui 1
  3856. #endif /* GL_ARB_texture_rgb10_a2ui */
  3857. #ifndef GL_ARB_texture_stencil8
  3858. #define GL_ARB_texture_stencil8 1
  3859. #endif /* GL_ARB_texture_stencil8 */
  3860. #ifndef GL_ARB_texture_storage
  3861. #define GL_ARB_texture_storage 1
  3862. #endif /* GL_ARB_texture_storage */
  3863. #ifndef GL_ARB_texture_storage_multisample
  3864. #define GL_ARB_texture_storage_multisample 1
  3865. #endif /* GL_ARB_texture_storage_multisample */
  3866. #ifndef GL_ARB_texture_swizzle
  3867. #define GL_ARB_texture_swizzle 1
  3868. #endif /* GL_ARB_texture_swizzle */
  3869. #ifndef GL_ARB_texture_view
  3870. #define GL_ARB_texture_view 1
  3871. #endif /* GL_ARB_texture_view */
  3872. #ifndef GL_ARB_timer_query
  3873. #define GL_ARB_timer_query 1
  3874. #endif /* GL_ARB_timer_query */
  3875. #ifndef GL_ARB_transform_feedback2
  3876. #define GL_ARB_transform_feedback2 1
  3877. #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
  3878. #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
  3879. #endif /* GL_ARB_transform_feedback2 */
  3880. #ifndef GL_ARB_transform_feedback3
  3881. #define GL_ARB_transform_feedback3 1
  3882. #endif /* GL_ARB_transform_feedback3 */
  3883. #ifndef GL_ARB_transform_feedback_instanced
  3884. #define GL_ARB_transform_feedback_instanced 1
  3885. #endif /* GL_ARB_transform_feedback_instanced */
  3886. #ifndef GL_ARB_transpose_matrix
  3887. #define GL_ARB_transpose_matrix 1
  3888. #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  3889. #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  3890. #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
  3891. #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
  3892. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  3893. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  3894. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  3895. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  3896. #ifdef GL_GLEXT_PROTOTYPES
  3897. GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
  3898. GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
  3899. GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
  3900. GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
  3901. #endif
  3902. #endif /* GL_ARB_transpose_matrix */
  3903. #ifndef GL_ARB_uniform_buffer_object
  3904. #define GL_ARB_uniform_buffer_object 1
  3905. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
  3906. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  3907. #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  3908. #endif /* GL_ARB_uniform_buffer_object */
  3909. #ifndef GL_ARB_vertex_array_bgra
  3910. #define GL_ARB_vertex_array_bgra 1
  3911. #endif /* GL_ARB_vertex_array_bgra */
  3912. #ifndef GL_ARB_vertex_array_object
  3913. #define GL_ARB_vertex_array_object 1
  3914. #endif /* GL_ARB_vertex_array_object */
  3915. #ifndef GL_ARB_vertex_attrib_64bit
  3916. #define GL_ARB_vertex_attrib_64bit 1
  3917. #endif /* GL_ARB_vertex_attrib_64bit */
  3918. #ifndef GL_ARB_vertex_attrib_binding
  3919. #define GL_ARB_vertex_attrib_binding 1
  3920. #endif /* GL_ARB_vertex_attrib_binding */
  3921. #ifndef GL_ARB_vertex_blend
  3922. #define GL_ARB_vertex_blend 1
  3923. #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
  3924. #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
  3925. #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
  3926. #define GL_VERTEX_BLEND_ARB 0x86A7
  3927. #define GL_CURRENT_WEIGHT_ARB 0x86A8
  3928. #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
  3929. #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
  3930. #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
  3931. #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
  3932. #define GL_WEIGHT_ARRAY_ARB 0x86AD
  3933. #define GL_MODELVIEW0_ARB 0x1700
  3934. #define GL_MODELVIEW1_ARB 0x850A
  3935. #define GL_MODELVIEW2_ARB 0x8722
  3936. #define GL_MODELVIEW3_ARB 0x8723
  3937. #define GL_MODELVIEW4_ARB 0x8724
  3938. #define GL_MODELVIEW5_ARB 0x8725
  3939. #define GL_MODELVIEW6_ARB 0x8726
  3940. #define GL_MODELVIEW7_ARB 0x8727
  3941. #define GL_MODELVIEW8_ARB 0x8728
  3942. #define GL_MODELVIEW9_ARB 0x8729
  3943. #define GL_MODELVIEW10_ARB 0x872A
  3944. #define GL_MODELVIEW11_ARB 0x872B
  3945. #define GL_MODELVIEW12_ARB 0x872C
  3946. #define GL_MODELVIEW13_ARB 0x872D
  3947. #define GL_MODELVIEW14_ARB 0x872E
  3948. #define GL_MODELVIEW15_ARB 0x872F
  3949. #define GL_MODELVIEW16_ARB 0x8730
  3950. #define GL_MODELVIEW17_ARB 0x8731
  3951. #define GL_MODELVIEW18_ARB 0x8732
  3952. #define GL_MODELVIEW19_ARB 0x8733
  3953. #define GL_MODELVIEW20_ARB 0x8734
  3954. #define GL_MODELVIEW21_ARB 0x8735
  3955. #define GL_MODELVIEW22_ARB 0x8736
  3956. #define GL_MODELVIEW23_ARB 0x8737
  3957. #define GL_MODELVIEW24_ARB 0x8738
  3958. #define GL_MODELVIEW25_ARB 0x8739
  3959. #define GL_MODELVIEW26_ARB 0x873A
  3960. #define GL_MODELVIEW27_ARB 0x873B
  3961. #define GL_MODELVIEW28_ARB 0x873C
  3962. #define GL_MODELVIEW29_ARB 0x873D
  3963. #define GL_MODELVIEW30_ARB 0x873E
  3964. #define GL_MODELVIEW31_ARB 0x873F
  3965. typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  3966. typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  3967. typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  3968. typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  3969. typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  3970. typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  3971. typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  3972. typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  3973. typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3974. typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  3975. #ifdef GL_GLEXT_PROTOTYPES
  3976. GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
  3977. GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
  3978. GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
  3979. GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
  3980. GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
  3981. GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
  3982. GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
  3983. GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
  3984. GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3985. GLAPI void APIENTRY glVertexBlendARB (GLint count);
  3986. #endif
  3987. #endif /* GL_ARB_vertex_blend */
  3988. #ifndef GL_ARB_vertex_buffer_object
  3989. #define GL_ARB_vertex_buffer_object 1
  3990. #ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
  3991. typedef long GLsizeiptrARB;
  3992. typedef long GLintptrARB;
  3993. #else
  3994. typedef ptrdiff_t GLsizeiptrARB;
  3995. typedef ptrdiff_t GLintptrARB;
  3996. #endif
  3997. #define GL_BUFFER_SIZE_ARB 0x8764
  3998. #define GL_BUFFER_USAGE_ARB 0x8765
  3999. #define GL_ARRAY_BUFFER_ARB 0x8892
  4000. #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
  4001. #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
  4002. #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  4003. #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  4004. #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  4005. #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  4006. #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  4007. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  4008. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  4009. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  4010. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  4011. #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  4012. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  4013. #define GL_READ_ONLY_ARB 0x88B8
  4014. #define GL_WRITE_ONLY_ARB 0x88B9
  4015. #define GL_READ_WRITE_ARB 0x88BA
  4016. #define GL_BUFFER_ACCESS_ARB 0x88BB
  4017. #define GL_BUFFER_MAPPED_ARB 0x88BC
  4018. #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
  4019. #define GL_STREAM_DRAW_ARB 0x88E0
  4020. #define GL_STREAM_READ_ARB 0x88E1
  4021. #define GL_STREAM_COPY_ARB 0x88E2
  4022. #define GL_STATIC_DRAW_ARB 0x88E4
  4023. #define GL_STATIC_READ_ARB 0x88E5
  4024. #define GL_STATIC_COPY_ARB 0x88E6
  4025. #define GL_DYNAMIC_DRAW_ARB 0x88E8
  4026. #define GL_DYNAMIC_READ_ARB 0x88E9
  4027. #define GL_DYNAMIC_COPY_ARB 0x88EA
  4028. typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  4029. typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  4030. typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  4031. typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  4032. typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  4033. typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  4034. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  4035. typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  4036. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  4037. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  4038. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
  4039. #ifdef GL_GLEXT_PROTOTYPES
  4040. GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
  4041. GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
  4042. GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
  4043. GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
  4044. GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  4045. GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  4046. GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  4047. GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
  4048. GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
  4049. GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
  4050. GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
  4051. #endif
  4052. #endif /* GL_ARB_vertex_buffer_object */
  4053. #ifndef GL_ARB_vertex_program
  4054. #define GL_ARB_vertex_program 1
  4055. #define GL_COLOR_SUM_ARB 0x8458
  4056. #define GL_VERTEX_PROGRAM_ARB 0x8620
  4057. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  4058. #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
  4059. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  4060. #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
  4061. #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
  4062. #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
  4063. #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
  4064. #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  4065. #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
  4066. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  4067. #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
  4068. #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  4069. #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  4070. #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  4071. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  4072. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  4073. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  4074. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  4075. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  4076. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  4077. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  4078. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  4079. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  4080. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  4081. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  4082. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  4083. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4084. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  4085. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4086. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  4087. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  4088. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  4089. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  4090. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  4091. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  4092. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4093. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  4094. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  4095. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  4096. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  4097. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4098. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  4099. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4100. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  4101. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  4102. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4103. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  4104. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  4105. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  4106. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  4107. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  4108. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  4109. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  4110. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  4111. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  4112. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  4113. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
  4114. #ifdef GL_GLEXT_PROTOTYPES
  4115. GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
  4116. GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
  4117. GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
  4118. GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
  4119. GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
  4120. GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
  4121. GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
  4122. GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
  4123. GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
  4124. GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
  4125. GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
  4126. GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
  4127. GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4128. GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
  4129. GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4130. GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
  4131. GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
  4132. GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
  4133. GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
  4134. GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
  4135. GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
  4136. GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4137. GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
  4138. GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
  4139. GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
  4140. GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
  4141. GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4142. GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
  4143. GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4144. GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
  4145. GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
  4146. GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4147. GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
  4148. GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
  4149. GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
  4150. GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
  4151. GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  4152. GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
  4153. GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
  4154. GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
  4155. GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
  4156. GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
  4157. GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
  4158. #endif
  4159. #endif /* GL_ARB_vertex_program */
  4160. #ifndef GL_ARB_vertex_shader
  4161. #define GL_ARB_vertex_shader 1
  4162. #define GL_VERTEX_SHADER_ARB 0x8B31
  4163. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  4164. #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
  4165. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  4166. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  4167. #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
  4168. #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  4169. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  4170. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4171. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  4172. #ifdef GL_GLEXT_PROTOTYPES
  4173. GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  4174. GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4175. GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
  4176. #endif
  4177. #endif /* GL_ARB_vertex_shader */
  4178. #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
  4179. #define GL_ARB_vertex_type_10f_11f_11f_rev 1
  4180. #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
  4181. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  4182. #define GL_ARB_vertex_type_2_10_10_10_rev 1
  4183. #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
  4184. #ifndef GL_ARB_viewport_array
  4185. #define GL_ARB_viewport_array 1
  4186. #endif /* GL_ARB_viewport_array */
  4187. #ifndef GL_ARB_window_pos
  4188. #define GL_ARB_window_pos 1
  4189. typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  4190. typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  4191. typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  4192. typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  4193. typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  4194. typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  4195. typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  4196. typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  4197. typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  4198. typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  4199. typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  4200. typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  4201. typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  4202. typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  4203. typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  4204. typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  4205. #ifdef GL_GLEXT_PROTOTYPES
  4206. GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
  4207. GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
  4208. GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
  4209. GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
  4210. GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
  4211. GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
  4212. GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
  4213. GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
  4214. GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
  4215. GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
  4216. GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
  4217. GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
  4218. GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
  4219. GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
  4220. GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
  4221. GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
  4222. #endif
  4223. #endif /* GL_ARB_window_pos */
  4224. #ifndef GL_KHR_debug
  4225. #define GL_KHR_debug 1
  4226. #endif /* GL_KHR_debug */
  4227. #ifndef GL_KHR_texture_compression_astc_hdr
  4228. #define GL_KHR_texture_compression_astc_hdr 1
  4229. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  4230. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  4231. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  4232. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  4233. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  4234. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  4235. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  4236. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  4237. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  4238. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  4239. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  4240. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  4241. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  4242. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  4243. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  4244. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  4245. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  4246. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  4247. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  4248. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  4249. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  4250. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  4251. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  4252. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  4253. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  4254. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  4255. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  4256. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  4257. #endif /* GL_KHR_texture_compression_astc_hdr */
  4258. #ifndef GL_KHR_texture_compression_astc_ldr
  4259. #define GL_KHR_texture_compression_astc_ldr 1
  4260. #endif /* GL_KHR_texture_compression_astc_ldr */
  4261. #ifndef GL_OES_byte_coordinates
  4262. #define GL_OES_byte_coordinates 1
  4263. typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
  4264. typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
  4265. typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
  4266. typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
  4267. typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  4268. typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
  4269. typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  4270. typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
  4271. typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
  4272. typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
  4273. typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
  4274. typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
  4275. typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
  4276. typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
  4277. typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  4278. typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
  4279. typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);
  4280. typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
  4281. typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);
  4282. typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
  4283. typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
  4284. typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
  4285. #ifdef GL_GLEXT_PROTOTYPES
  4286. GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
  4287. GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
  4288. GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
  4289. GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
  4290. GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  4291. GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
  4292. GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  4293. GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
  4294. GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
  4295. GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
  4296. GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
  4297. GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
  4298. GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
  4299. GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
  4300. GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  4301. GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
  4302. GLAPI void APIENTRY glVertex2bOES (GLbyte x);
  4303. GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
  4304. GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);
  4305. GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
  4306. GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);
  4307. GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
  4308. #endif
  4309. #endif /* GL_OES_byte_coordinates */
  4310. #ifndef GL_OES_compressed_paletted_texture
  4311. #define GL_OES_compressed_paletted_texture 1
  4312. #define GL_PALETTE4_RGB8_OES 0x8B90
  4313. #define GL_PALETTE4_RGBA8_OES 0x8B91
  4314. #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
  4315. #define GL_PALETTE4_RGBA4_OES 0x8B93
  4316. #define GL_PALETTE4_RGB5_A1_OES 0x8B94
  4317. #define GL_PALETTE8_RGB8_OES 0x8B95
  4318. #define GL_PALETTE8_RGBA8_OES 0x8B96
  4319. #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
  4320. #define GL_PALETTE8_RGBA4_OES 0x8B98
  4321. #define GL_PALETTE8_RGB5_A1_OES 0x8B99
  4322. #endif /* GL_OES_compressed_paletted_texture */
  4323. #ifndef GL_OES_fixed_point
  4324. #define GL_OES_fixed_point 1
  4325. typedef GLint GLfixed;
  4326. #define GL_FIXED_OES 0x140C
  4327. typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
  4328. typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4329. typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
  4330. typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
  4331. typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4332. typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
  4333. typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
  4334. typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
  4335. typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  4336. typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
  4337. typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
  4338. typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  4339. typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  4340. typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
  4341. typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
  4342. typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
  4343. typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
  4344. typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
  4345. typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
  4346. typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  4347. typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
  4348. typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
  4349. typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  4350. typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
  4351. typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  4352. typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
  4353. typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
  4354. typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
  4355. typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  4356. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
  4357. typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  4358. typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  4359. typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  4360. typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  4361. typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  4362. typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  4363. typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
  4364. typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  4365. typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4366. typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4367. typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
  4368. typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
  4369. typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
  4370. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  4371. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  4372. typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
  4373. typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
  4374. typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
  4375. typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
  4376. typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
  4377. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  4378. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  4379. typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
  4380. typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
  4381. typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  4382. typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
  4383. typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
  4384. typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
  4385. typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
  4386. typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
  4387. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  4388. typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  4389. typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  4390. typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
  4391. typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  4392. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  4393. typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
  4394. typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
  4395. typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
  4396. typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
  4397. typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  4398. typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
  4399. typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
  4400. typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
  4401. typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
  4402. typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
  4403. typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
  4404. typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
  4405. typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
  4406. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  4407. typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
  4408. typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
  4409. typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  4410. typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
  4411. typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  4412. typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
  4413. typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  4414. typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
  4415. typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
  4416. typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
  4417. typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
  4418. typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
  4419. typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
  4420. typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
  4421. typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  4422. typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
  4423. typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
  4424. typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
  4425. typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
  4426. typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
  4427. typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
  4428. typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
  4429. typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  4430. typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
  4431. #ifdef GL_GLEXT_PROTOTYPES
  4432. GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
  4433. GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4434. GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
  4435. GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
  4436. GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4437. GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
  4438. GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
  4439. GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
  4440. GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  4441. GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
  4442. GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
  4443. GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
  4444. GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  4445. GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
  4446. GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
  4447. GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
  4448. GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
  4449. GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
  4450. GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
  4451. GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  4452. GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
  4453. GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
  4454. GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  4455. GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
  4456. GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  4457. GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
  4458. GLAPI void APIENTRY glPointSizexOES (GLfixed size);
  4459. GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
  4460. GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  4461. GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
  4462. GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
  4463. GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
  4464. GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
  4465. GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
  4466. GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  4467. GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
  4468. GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
  4469. GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  4470. GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4471. GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4472. GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
  4473. GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
  4474. GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
  4475. GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
  4476. GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  4477. GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
  4478. GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
  4479. GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
  4480. GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
  4481. GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
  4482. GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  4483. GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  4484. GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
  4485. GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
  4486. GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  4487. GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
  4488. GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
  4489. GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
  4490. GLAPI void APIENTRY glIndexxOES (GLfixed component);
  4491. GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
  4492. GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
  4493. GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  4494. GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  4495. GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
  4496. GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  4497. GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
  4498. GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
  4499. GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
  4500. GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
  4501. GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
  4502. GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  4503. GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
  4504. GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
  4505. GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
  4506. GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
  4507. GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
  4508. GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
  4509. GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
  4510. GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
  4511. GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  4512. GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
  4513. GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
  4514. GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
  4515. GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
  4516. GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  4517. GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
  4518. GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  4519. GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
  4520. GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
  4521. GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
  4522. GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
  4523. GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
  4524. GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
  4525. GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
  4526. GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  4527. GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
  4528. GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
  4529. GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
  4530. GLAPI void APIENTRY glVertex2xOES (GLfixed x);
  4531. GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
  4532. GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
  4533. GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
  4534. GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
  4535. GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
  4536. #endif
  4537. #endif /* GL_OES_fixed_point */
  4538. #ifndef GL_OES_query_matrix
  4539. #define GL_OES_query_matrix 1
  4540. typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
  4541. #ifdef GL_GLEXT_PROTOTYPES
  4542. GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
  4543. #endif
  4544. #endif /* GL_OES_query_matrix */
  4545. #ifndef GL_OES_read_format
  4546. #define GL_OES_read_format 1
  4547. #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  4548. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  4549. #endif /* GL_OES_read_format */
  4550. #ifndef GL_OES_single_precision
  4551. #define GL_OES_single_precision 1
  4552. typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
  4553. typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
  4554. typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
  4555. typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  4556. typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
  4557. typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  4558. #ifdef GL_GLEXT_PROTOTYPES
  4559. GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
  4560. GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
  4561. GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
  4562. GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  4563. GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
  4564. GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  4565. #endif
  4566. #endif /* GL_OES_single_precision */
  4567. #ifndef GL_3DFX_multisample
  4568. #define GL_3DFX_multisample 1
  4569. #define GL_MULTISAMPLE_3DFX 0x86B2
  4570. #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
  4571. #define GL_SAMPLES_3DFX 0x86B4
  4572. #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
  4573. #endif /* GL_3DFX_multisample */
  4574. #ifndef GL_3DFX_tbuffer
  4575. #define GL_3DFX_tbuffer 1
  4576. typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  4577. #ifdef GL_GLEXT_PROTOTYPES
  4578. GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
  4579. #endif
  4580. #endif /* GL_3DFX_tbuffer */
  4581. #ifndef GL_3DFX_texture_compression_FXT1
  4582. #define GL_3DFX_texture_compression_FXT1 1
  4583. #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
  4584. #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
  4585. #endif /* GL_3DFX_texture_compression_FXT1 */
  4586. #ifndef GL_AMD_blend_minmax_factor
  4587. #define GL_AMD_blend_minmax_factor 1
  4588. #define GL_FACTOR_MIN_AMD 0x901C
  4589. #define GL_FACTOR_MAX_AMD 0x901D
  4590. #endif /* GL_AMD_blend_minmax_factor */
  4591. #ifndef GL_AMD_conservative_depth
  4592. #define GL_AMD_conservative_depth 1
  4593. #endif /* GL_AMD_conservative_depth */
  4594. #ifndef GL_AMD_debug_output
  4595. #define GL_AMD_debug_output 1
  4596. typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
  4597. #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
  4598. #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
  4599. #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
  4600. #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
  4601. #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
  4602. #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
  4603. #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
  4604. #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
  4605. #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
  4606. #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
  4607. #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
  4608. #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
  4609. #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
  4610. #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
  4611. typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  4612. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  4613. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
  4614. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  4615. #ifdef GL_GLEXT_PROTOTYPES
  4616. GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  4617. GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  4618. GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
  4619. GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  4620. #endif
  4621. #endif /* GL_AMD_debug_output */
  4622. #ifndef GL_AMD_depth_clamp_separate
  4623. #define GL_AMD_depth_clamp_separate 1
  4624. #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
  4625. #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
  4626. #endif /* GL_AMD_depth_clamp_separate */
  4627. #ifndef GL_AMD_draw_buffers_blend
  4628. #define GL_AMD_draw_buffers_blend 1
  4629. typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
  4630. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  4631. typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
  4632. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  4633. #ifdef GL_GLEXT_PROTOTYPES
  4634. GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
  4635. GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  4636. GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
  4637. GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  4638. #endif
  4639. #endif /* GL_AMD_draw_buffers_blend */
  4640. #ifndef GL_AMD_gcn_shader
  4641. #define GL_AMD_gcn_shader 1
  4642. #endif /* GL_AMD_gcn_shader */
  4643. #ifndef GL_AMD_gpu_shader_int64
  4644. #define GL_AMD_gpu_shader_int64 1
  4645. typedef int64_t GLint64EXT;
  4646. #define GL_INT64_NV 0x140E
  4647. #define GL_UNSIGNED_INT64_NV 0x140F
  4648. #define GL_INT8_NV 0x8FE0
  4649. #define GL_INT8_VEC2_NV 0x8FE1
  4650. #define GL_INT8_VEC3_NV 0x8FE2
  4651. #define GL_INT8_VEC4_NV 0x8FE3
  4652. #define GL_INT16_NV 0x8FE4
  4653. #define GL_INT16_VEC2_NV 0x8FE5
  4654. #define GL_INT16_VEC3_NV 0x8FE6
  4655. #define GL_INT16_VEC4_NV 0x8FE7
  4656. #define GL_INT64_VEC2_NV 0x8FE9
  4657. #define GL_INT64_VEC3_NV 0x8FEA
  4658. #define GL_INT64_VEC4_NV 0x8FEB
  4659. #define GL_UNSIGNED_INT8_NV 0x8FEC
  4660. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  4661. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  4662. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  4663. #define GL_UNSIGNED_INT16_NV 0x8FF0
  4664. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  4665. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  4666. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  4667. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  4668. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  4669. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  4670. #define GL_FLOAT16_NV 0x8FF8
  4671. #define GL_FLOAT16_VEC2_NV 0x8FF9
  4672. #define GL_FLOAT16_VEC3_NV 0x8FFA
  4673. #define GL_FLOAT16_VEC4_NV 0x8FFB
  4674. typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  4675. typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  4676. typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4677. typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4678. typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4679. typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4680. typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4681. typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4682. typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  4683. typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  4684. typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4685. typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4686. typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4687. typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4688. typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4689. typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4690. typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
  4691. typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
  4692. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  4693. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  4694. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4695. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4696. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4697. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4698. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4699. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4700. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  4701. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  4702. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4703. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4704. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4705. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4706. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4707. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4708. #ifdef GL_GLEXT_PROTOTYPES
  4709. GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
  4710. GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
  4711. GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4712. GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4713. GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4714. GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4715. GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4716. GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4717. GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
  4718. GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
  4719. GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4720. GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4721. GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4722. GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4723. GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4724. GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4725. GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
  4726. GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
  4727. GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
  4728. GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  4729. GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4730. GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4731. GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4732. GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4733. GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4734. GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4735. GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
  4736. GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  4737. GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4738. GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4739. GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4740. GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4741. GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4742. GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4743. #endif
  4744. #endif /* GL_AMD_gpu_shader_int64 */
  4745. #ifndef GL_AMD_interleaved_elements
  4746. #define GL_AMD_interleaved_elements 1
  4747. #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
  4748. #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
  4749. typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
  4750. #ifdef GL_GLEXT_PROTOTYPES
  4751. GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
  4752. #endif
  4753. #endif /* GL_AMD_interleaved_elements */
  4754. #ifndef GL_AMD_multi_draw_indirect
  4755. #define GL_AMD_multi_draw_indirect 1
  4756. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
  4757. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
  4758. #ifdef GL_GLEXT_PROTOTYPES
  4759. GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
  4760. GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
  4761. #endif
  4762. #endif /* GL_AMD_multi_draw_indirect */
  4763. #ifndef GL_AMD_name_gen_delete
  4764. #define GL_AMD_name_gen_delete 1
  4765. #define GL_DATA_BUFFER_AMD 0x9151
  4766. #define GL_PERFORMANCE_MONITOR_AMD 0x9152
  4767. #define GL_QUERY_OBJECT_AMD 0x9153
  4768. #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
  4769. #define GL_SAMPLER_OBJECT_AMD 0x9155
  4770. typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
  4771. typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
  4772. typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
  4773. #ifdef GL_GLEXT_PROTOTYPES
  4774. GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
  4775. GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
  4776. GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
  4777. #endif
  4778. #endif /* GL_AMD_name_gen_delete */
  4779. #ifndef GL_AMD_occlusion_query_event
  4780. #define GL_AMD_occlusion_query_event 1
  4781. #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
  4782. #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
  4783. #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
  4784. #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
  4785. #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
  4786. #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
  4787. typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
  4788. #ifdef GL_GLEXT_PROTOTYPES
  4789. GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
  4790. #endif
  4791. #endif /* GL_AMD_occlusion_query_event */
  4792. #ifndef GL_AMD_performance_monitor
  4793. #define GL_AMD_performance_monitor 1
  4794. #define GL_COUNTER_TYPE_AMD 0x8BC0
  4795. #define GL_COUNTER_RANGE_AMD 0x8BC1
  4796. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  4797. #define GL_PERCENTAGE_AMD 0x8BC3
  4798. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  4799. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  4800. #define GL_PERFMON_RESULT_AMD 0x8BC6
  4801. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  4802. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  4803. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  4804. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  4805. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
  4806. typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  4807. typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  4808. typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  4809. typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  4810. typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  4811. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  4812. #ifdef GL_GLEXT_PROTOTYPES
  4813. GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  4814. GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  4815. GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  4816. GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  4817. GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
  4818. GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  4819. GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  4820. GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  4821. GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  4822. GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  4823. GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  4824. #endif
  4825. #endif /* GL_AMD_performance_monitor */
  4826. #ifndef GL_AMD_pinned_memory
  4827. #define GL_AMD_pinned_memory 1
  4828. #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
  4829. #endif /* GL_AMD_pinned_memory */
  4830. #ifndef GL_AMD_query_buffer_object
  4831. #define GL_AMD_query_buffer_object 1
  4832. #define GL_QUERY_BUFFER_AMD 0x9192
  4833. #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
  4834. #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
  4835. #endif /* GL_AMD_query_buffer_object */
  4836. #ifndef GL_AMD_sample_positions
  4837. #define GL_AMD_sample_positions 1
  4838. #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
  4839. typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
  4840. #ifdef GL_GLEXT_PROTOTYPES
  4841. GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
  4842. #endif
  4843. #endif /* GL_AMD_sample_positions */
  4844. #ifndef GL_AMD_seamless_cubemap_per_texture
  4845. #define GL_AMD_seamless_cubemap_per_texture 1
  4846. #endif /* GL_AMD_seamless_cubemap_per_texture */
  4847. #ifndef GL_AMD_shader_atomic_counter_ops
  4848. #define GL_AMD_shader_atomic_counter_ops 1
  4849. #endif /* GL_AMD_shader_atomic_counter_ops */
  4850. #ifndef GL_AMD_shader_stencil_export
  4851. #define GL_AMD_shader_stencil_export 1
  4852. #endif /* GL_AMD_shader_stencil_export */
  4853. #ifndef GL_AMD_shader_trinary_minmax
  4854. #define GL_AMD_shader_trinary_minmax 1
  4855. #endif /* GL_AMD_shader_trinary_minmax */
  4856. #ifndef GL_AMD_sparse_texture
  4857. #define GL_AMD_sparse_texture 1
  4858. #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
  4859. #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
  4860. #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
  4861. #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
  4862. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
  4863. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
  4864. #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
  4865. #define GL_MIN_LOD_WARNING_AMD 0x919C
  4866. #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
  4867. typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  4868. typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  4869. #ifdef GL_GLEXT_PROTOTYPES
  4870. GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  4871. GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  4872. #endif
  4873. #endif /* GL_AMD_sparse_texture */
  4874. #ifndef GL_AMD_stencil_operation_extended
  4875. #define GL_AMD_stencil_operation_extended 1
  4876. #define GL_SET_AMD 0x874A
  4877. #define GL_REPLACE_VALUE_AMD 0x874B
  4878. #define GL_STENCIL_OP_VALUE_AMD 0x874C
  4879. #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
  4880. typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
  4881. #ifdef GL_GLEXT_PROTOTYPES
  4882. GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
  4883. #endif
  4884. #endif /* GL_AMD_stencil_operation_extended */
  4885. #ifndef GL_AMD_texture_texture4
  4886. #define GL_AMD_texture_texture4 1
  4887. #endif /* GL_AMD_texture_texture4 */
  4888. #ifndef GL_AMD_transform_feedback3_lines_triangles
  4889. #define GL_AMD_transform_feedback3_lines_triangles 1
  4890. #endif /* GL_AMD_transform_feedback3_lines_triangles */
  4891. #ifndef GL_AMD_transform_feedback4
  4892. #define GL_AMD_transform_feedback4 1
  4893. #define GL_STREAM_RASTERIZATION_AMD 0x91A0
  4894. #endif /* GL_AMD_transform_feedback4 */
  4895. #ifndef GL_AMD_vertex_shader_layer
  4896. #define GL_AMD_vertex_shader_layer 1
  4897. #endif /* GL_AMD_vertex_shader_layer */
  4898. #ifndef GL_AMD_vertex_shader_tessellator
  4899. #define GL_AMD_vertex_shader_tessellator 1
  4900. #define GL_SAMPLER_BUFFER_AMD 0x9001
  4901. #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
  4902. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
  4903. #define GL_TESSELLATION_MODE_AMD 0x9004
  4904. #define GL_TESSELLATION_FACTOR_AMD 0x9005
  4905. #define GL_DISCRETE_AMD 0x9006
  4906. #define GL_CONTINUOUS_AMD 0x9007
  4907. typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
  4908. typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
  4909. #ifdef GL_GLEXT_PROTOTYPES
  4910. GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
  4911. GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
  4912. #endif
  4913. #endif /* GL_AMD_vertex_shader_tessellator */
  4914. #ifndef GL_AMD_vertex_shader_viewport_index
  4915. #define GL_AMD_vertex_shader_viewport_index 1
  4916. #endif /* GL_AMD_vertex_shader_viewport_index */
  4917. #ifndef GL_APPLE_aux_depth_stencil
  4918. #define GL_APPLE_aux_depth_stencil 1
  4919. #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
  4920. #endif /* GL_APPLE_aux_depth_stencil */
  4921. #ifndef GL_APPLE_client_storage
  4922. #define GL_APPLE_client_storage 1
  4923. #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
  4924. #endif /* GL_APPLE_client_storage */
  4925. #ifndef GL_APPLE_element_array
  4926. #define GL_APPLE_element_array 1
  4927. #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
  4928. #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
  4929. #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
  4930. typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
  4931. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
  4932. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  4933. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  4934. typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  4935. #ifdef GL_GLEXT_PROTOTYPES
  4936. GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
  4937. GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
  4938. GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  4939. GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  4940. GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  4941. #endif
  4942. #endif /* GL_APPLE_element_array */
  4943. #ifndef GL_APPLE_fence
  4944. #define GL_APPLE_fence 1
  4945. #define GL_DRAW_PIXELS_APPLE 0x8A0A
  4946. #define GL_FENCE_APPLE 0x8A0B
  4947. typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
  4948. typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
  4949. typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
  4950. typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
  4951. typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
  4952. typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
  4953. typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
  4954. typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
  4955. #ifdef GL_GLEXT_PROTOTYPES
  4956. GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
  4957. GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
  4958. GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
  4959. GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
  4960. GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
  4961. GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
  4962. GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
  4963. GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
  4964. #endif
  4965. #endif /* GL_APPLE_fence */
  4966. #ifndef GL_APPLE_float_pixels
  4967. #define GL_APPLE_float_pixels 1
  4968. #define GL_HALF_APPLE 0x140B
  4969. #define GL_RGBA_FLOAT32_APPLE 0x8814
  4970. #define GL_RGB_FLOAT32_APPLE 0x8815
  4971. #define GL_ALPHA_FLOAT32_APPLE 0x8816
  4972. #define GL_INTENSITY_FLOAT32_APPLE 0x8817
  4973. #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
  4974. #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
  4975. #define GL_RGBA_FLOAT16_APPLE 0x881A
  4976. #define GL_RGB_FLOAT16_APPLE 0x881B
  4977. #define GL_ALPHA_FLOAT16_APPLE 0x881C
  4978. #define GL_INTENSITY_FLOAT16_APPLE 0x881D
  4979. #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
  4980. #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
  4981. #define GL_COLOR_FLOAT_APPLE 0x8A0F
  4982. #endif /* GL_APPLE_float_pixels */
  4983. #ifndef GL_APPLE_flush_buffer_range
  4984. #define GL_APPLE_flush_buffer_range 1
  4985. #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
  4986. #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
  4987. typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
  4988. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
  4989. #ifdef GL_GLEXT_PROTOTYPES
  4990. GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
  4991. GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
  4992. #endif
  4993. #endif /* GL_APPLE_flush_buffer_range */
  4994. #ifndef GL_APPLE_object_purgeable
  4995. #define GL_APPLE_object_purgeable 1
  4996. #define GL_BUFFER_OBJECT_APPLE 0x85B3
  4997. #define GL_RELEASED_APPLE 0x8A19
  4998. #define GL_VOLATILE_APPLE 0x8A1A
  4999. #define GL_RETAINED_APPLE 0x8A1B
  5000. #define GL_UNDEFINED_APPLE 0x8A1C
  5001. #define GL_PURGEABLE_APPLE 0x8A1D
  5002. typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  5003. typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  5004. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  5005. #ifdef GL_GLEXT_PROTOTYPES
  5006. GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  5007. GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  5008. GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  5009. #endif
  5010. #endif /* GL_APPLE_object_purgeable */
  5011. #ifndef GL_APPLE_rgb_422
  5012. #define GL_APPLE_rgb_422 1
  5013. #define GL_RGB_422_APPLE 0x8A1F
  5014. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  5015. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  5016. #define GL_RGB_RAW_422_APPLE 0x8A51
  5017. #endif /* GL_APPLE_rgb_422 */
  5018. #ifndef GL_APPLE_row_bytes
  5019. #define GL_APPLE_row_bytes 1
  5020. #define GL_PACK_ROW_BYTES_APPLE 0x8A15
  5021. #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
  5022. #endif /* GL_APPLE_row_bytes */
  5023. #ifndef GL_APPLE_specular_vector
  5024. #define GL_APPLE_specular_vector 1
  5025. #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  5026. #endif /* GL_APPLE_specular_vector */
  5027. #ifndef GL_APPLE_texture_range
  5028. #define GL_APPLE_texture_range 1
  5029. #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
  5030. #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
  5031. #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
  5032. #define GL_STORAGE_PRIVATE_APPLE 0x85BD
  5033. #define GL_STORAGE_CACHED_APPLE 0x85BE
  5034. #define GL_STORAGE_SHARED_APPLE 0x85BF
  5035. typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
  5036. typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
  5037. #ifdef GL_GLEXT_PROTOTYPES
  5038. GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
  5039. GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
  5040. #endif
  5041. #endif /* GL_APPLE_texture_range */
  5042. #ifndef GL_APPLE_transform_hint
  5043. #define GL_APPLE_transform_hint 1
  5044. #define GL_TRANSFORM_HINT_APPLE 0x85B1
  5045. #endif /* GL_APPLE_transform_hint */
  5046. #ifndef GL_APPLE_vertex_array_object
  5047. #define GL_APPLE_vertex_array_object 1
  5048. #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
  5049. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  5050. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  5051. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
  5052. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  5053. #ifdef GL_GLEXT_PROTOTYPES
  5054. GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
  5055. GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
  5056. GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
  5057. GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
  5058. #endif
  5059. #endif /* GL_APPLE_vertex_array_object */
  5060. #ifndef GL_APPLE_vertex_array_range
  5061. #define GL_APPLE_vertex_array_range 1
  5062. #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
  5063. #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  5064. #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  5065. #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  5066. #define GL_STORAGE_CLIENT_APPLE 0x85B4
  5067. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
  5068. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
  5069. typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
  5070. #ifdef GL_GLEXT_PROTOTYPES
  5071. GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
  5072. GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
  5073. GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
  5074. #endif
  5075. #endif /* GL_APPLE_vertex_array_range */
  5076. #ifndef GL_APPLE_vertex_program_evaluators
  5077. #define GL_APPLE_vertex_program_evaluators 1
  5078. #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
  5079. #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
  5080. #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
  5081. #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
  5082. #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
  5083. #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
  5084. #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
  5085. #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
  5086. #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
  5087. #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
  5088. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  5089. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  5090. typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
  5091. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  5092. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  5093. 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);
  5094. 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);
  5095. #ifdef GL_GLEXT_PROTOTYPES
  5096. GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
  5097. GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
  5098. GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
  5099. GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  5100. GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  5101. 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);
  5102. 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);
  5103. #endif
  5104. #endif /* GL_APPLE_vertex_program_evaluators */
  5105. #ifndef GL_APPLE_ycbcr_422
  5106. #define GL_APPLE_ycbcr_422 1
  5107. #define GL_YCBCR_422_APPLE 0x85B9
  5108. #endif /* GL_APPLE_ycbcr_422 */
  5109. #ifndef GL_ATI_draw_buffers
  5110. #define GL_ATI_draw_buffers 1
  5111. #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
  5112. #define GL_DRAW_BUFFER0_ATI 0x8825
  5113. #define GL_DRAW_BUFFER1_ATI 0x8826
  5114. #define GL_DRAW_BUFFER2_ATI 0x8827
  5115. #define GL_DRAW_BUFFER3_ATI 0x8828
  5116. #define GL_DRAW_BUFFER4_ATI 0x8829
  5117. #define GL_DRAW_BUFFER5_ATI 0x882A
  5118. #define GL_DRAW_BUFFER6_ATI 0x882B
  5119. #define GL_DRAW_BUFFER7_ATI 0x882C
  5120. #define GL_DRAW_BUFFER8_ATI 0x882D
  5121. #define GL_DRAW_BUFFER9_ATI 0x882E
  5122. #define GL_DRAW_BUFFER10_ATI 0x882F
  5123. #define GL_DRAW_BUFFER11_ATI 0x8830
  5124. #define GL_DRAW_BUFFER12_ATI 0x8831
  5125. #define GL_DRAW_BUFFER13_ATI 0x8832
  5126. #define GL_DRAW_BUFFER14_ATI 0x8833
  5127. #define GL_DRAW_BUFFER15_ATI 0x8834
  5128. typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
  5129. #ifdef GL_GLEXT_PROTOTYPES
  5130. GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
  5131. #endif
  5132. #endif /* GL_ATI_draw_buffers */
  5133. #ifndef GL_ATI_element_array
  5134. #define GL_ATI_element_array 1
  5135. #define GL_ELEMENT_ARRAY_ATI 0x8768
  5136. #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
  5137. #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
  5138. typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
  5139. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
  5140. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
  5141. #ifdef GL_GLEXT_PROTOTYPES
  5142. GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
  5143. GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
  5144. GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
  5145. #endif
  5146. #endif /* GL_ATI_element_array */
  5147. #ifndef GL_ATI_envmap_bumpmap
  5148. #define GL_ATI_envmap_bumpmap 1
  5149. #define GL_BUMP_ROT_MATRIX_ATI 0x8775
  5150. #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
  5151. #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
  5152. #define GL_BUMP_TEX_UNITS_ATI 0x8778
  5153. #define GL_DUDV_ATI 0x8779
  5154. #define GL_DU8DV8_ATI 0x877A
  5155. #define GL_BUMP_ENVMAP_ATI 0x877B
  5156. #define GL_BUMP_TARGET_ATI 0x877C
  5157. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
  5158. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
  5159. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  5160. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  5161. #ifdef GL_GLEXT_PROTOTYPES
  5162. GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
  5163. GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
  5164. GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
  5165. GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
  5166. #endif
  5167. #endif /* GL_ATI_envmap_bumpmap */
  5168. #ifndef GL_ATI_fragment_shader
  5169. #define GL_ATI_fragment_shader 1
  5170. #define GL_FRAGMENT_SHADER_ATI 0x8920
  5171. #define GL_REG_0_ATI 0x8921
  5172. #define GL_REG_1_ATI 0x8922
  5173. #define GL_REG_2_ATI 0x8923
  5174. #define GL_REG_3_ATI 0x8924
  5175. #define GL_REG_4_ATI 0x8925
  5176. #define GL_REG_5_ATI 0x8926
  5177. #define GL_REG_6_ATI 0x8927
  5178. #define GL_REG_7_ATI 0x8928
  5179. #define GL_REG_8_ATI 0x8929
  5180. #define GL_REG_9_ATI 0x892A
  5181. #define GL_REG_10_ATI 0x892B
  5182. #define GL_REG_11_ATI 0x892C
  5183. #define GL_REG_12_ATI 0x892D
  5184. #define GL_REG_13_ATI 0x892E
  5185. #define GL_REG_14_ATI 0x892F
  5186. #define GL_REG_15_ATI 0x8930
  5187. #define GL_REG_16_ATI 0x8931
  5188. #define GL_REG_17_ATI 0x8932
  5189. #define GL_REG_18_ATI 0x8933
  5190. #define GL_REG_19_ATI 0x8934
  5191. #define GL_REG_20_ATI 0x8935
  5192. #define GL_REG_21_ATI 0x8936
  5193. #define GL_REG_22_ATI 0x8937
  5194. #define GL_REG_23_ATI 0x8938
  5195. #define GL_REG_24_ATI 0x8939
  5196. #define GL_REG_25_ATI 0x893A
  5197. #define GL_REG_26_ATI 0x893B
  5198. #define GL_REG_27_ATI 0x893C
  5199. #define GL_REG_28_ATI 0x893D
  5200. #define GL_REG_29_ATI 0x893E
  5201. #define GL_REG_30_ATI 0x893F
  5202. #define GL_REG_31_ATI 0x8940
  5203. #define GL_CON_0_ATI 0x8941
  5204. #define GL_CON_1_ATI 0x8942
  5205. #define GL_CON_2_ATI 0x8943
  5206. #define GL_CON_3_ATI 0x8944
  5207. #define GL_CON_4_ATI 0x8945
  5208. #define GL_CON_5_ATI 0x8946
  5209. #define GL_CON_6_ATI 0x8947
  5210. #define GL_CON_7_ATI 0x8948
  5211. #define GL_CON_8_ATI 0x8949
  5212. #define GL_CON_9_ATI 0x894A
  5213. #define GL_CON_10_ATI 0x894B
  5214. #define GL_CON_11_ATI 0x894C
  5215. #define GL_CON_12_ATI 0x894D
  5216. #define GL_CON_13_ATI 0x894E
  5217. #define GL_CON_14_ATI 0x894F
  5218. #define GL_CON_15_ATI 0x8950
  5219. #define GL_CON_16_ATI 0x8951
  5220. #define GL_CON_17_ATI 0x8952
  5221. #define GL_CON_18_ATI 0x8953
  5222. #define GL_CON_19_ATI 0x8954
  5223. #define GL_CON_20_ATI 0x8955
  5224. #define GL_CON_21_ATI 0x8956
  5225. #define GL_CON_22_ATI 0x8957
  5226. #define GL_CON_23_ATI 0x8958
  5227. #define GL_CON_24_ATI 0x8959
  5228. #define GL_CON_25_ATI 0x895A
  5229. #define GL_CON_26_ATI 0x895B
  5230. #define GL_CON_27_ATI 0x895C
  5231. #define GL_CON_28_ATI 0x895D
  5232. #define GL_CON_29_ATI 0x895E
  5233. #define GL_CON_30_ATI 0x895F
  5234. #define GL_CON_31_ATI 0x8960
  5235. #define GL_MOV_ATI 0x8961
  5236. #define GL_ADD_ATI 0x8963
  5237. #define GL_MUL_ATI 0x8964
  5238. #define GL_SUB_ATI 0x8965
  5239. #define GL_DOT3_ATI 0x8966
  5240. #define GL_DOT4_ATI 0x8967
  5241. #define GL_MAD_ATI 0x8968
  5242. #define GL_LERP_ATI 0x8969
  5243. #define GL_CND_ATI 0x896A
  5244. #define GL_CND0_ATI 0x896B
  5245. #define GL_DOT2_ADD_ATI 0x896C
  5246. #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
  5247. #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
  5248. #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
  5249. #define GL_NUM_PASSES_ATI 0x8970
  5250. #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
  5251. #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
  5252. #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  5253. #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
  5254. #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
  5255. #define GL_SWIZZLE_STR_ATI 0x8976
  5256. #define GL_SWIZZLE_STQ_ATI 0x8977
  5257. #define GL_SWIZZLE_STR_DR_ATI 0x8978
  5258. #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
  5259. #define GL_SWIZZLE_STRQ_ATI 0x897A
  5260. #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
  5261. #define GL_RED_BIT_ATI 0x00000001
  5262. #define GL_GREEN_BIT_ATI 0x00000002
  5263. #define GL_BLUE_BIT_ATI 0x00000004
  5264. #define GL_2X_BIT_ATI 0x00000001
  5265. #define GL_4X_BIT_ATI 0x00000002
  5266. #define GL_8X_BIT_ATI 0x00000004
  5267. #define GL_HALF_BIT_ATI 0x00000008
  5268. #define GL_QUARTER_BIT_ATI 0x00000010
  5269. #define GL_EIGHTH_BIT_ATI 0x00000020
  5270. #define GL_SATURATE_BIT_ATI 0x00000040
  5271. #define GL_COMP_BIT_ATI 0x00000002
  5272. #define GL_NEGATE_BIT_ATI 0x00000004
  5273. #define GL_BIAS_BIT_ATI 0x00000008
  5274. typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
  5275. typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
  5276. typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
  5277. typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
  5278. typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
  5279. typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
  5280. typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
  5281. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5282. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5283. 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);
  5284. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5285. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5286. 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);
  5287. typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
  5288. #ifdef GL_GLEXT_PROTOTYPES
  5289. GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
  5290. GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
  5291. GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
  5292. GLAPI void APIENTRY glBeginFragmentShaderATI (void);
  5293. GLAPI void APIENTRY glEndFragmentShaderATI (void);
  5294. GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
  5295. GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
  5296. GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5297. GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5298. 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);
  5299. GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5300. GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5301. 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);
  5302. GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
  5303. #endif
  5304. #endif /* GL_ATI_fragment_shader */
  5305. #ifndef GL_ATI_map_object_buffer
  5306. #define GL_ATI_map_object_buffer 1
  5307. typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  5308. typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  5309. #ifdef GL_GLEXT_PROTOTYPES
  5310. GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
  5311. GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
  5312. #endif
  5313. #endif /* GL_ATI_map_object_buffer */
  5314. #ifndef GL_ATI_meminfo
  5315. #define GL_ATI_meminfo 1
  5316. #define GL_VBO_FREE_MEMORY_ATI 0x87FB
  5317. #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
  5318. #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
  5319. #endif /* GL_ATI_meminfo */
  5320. #ifndef GL_ATI_pixel_format_float
  5321. #define GL_ATI_pixel_format_float 1
  5322. #define GL_RGBA_FLOAT_MODE_ATI 0x8820
  5323. #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
  5324. #endif /* GL_ATI_pixel_format_float */
  5325. #ifndef GL_ATI_pn_triangles
  5326. #define GL_ATI_pn_triangles 1
  5327. #define GL_PN_TRIANGLES_ATI 0x87F0
  5328. #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  5329. #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
  5330. #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
  5331. #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  5332. #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  5333. #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  5334. #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  5335. #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  5336. typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
  5337. typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
  5338. #ifdef GL_GLEXT_PROTOTYPES
  5339. GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
  5340. GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
  5341. #endif
  5342. #endif /* GL_ATI_pn_triangles */
  5343. #ifndef GL_ATI_separate_stencil
  5344. #define GL_ATI_separate_stencil 1
  5345. #define GL_STENCIL_BACK_FUNC_ATI 0x8800
  5346. #define GL_STENCIL_BACK_FAIL_ATI 0x8801
  5347. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  5348. #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  5349. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  5350. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  5351. #ifdef GL_GLEXT_PROTOTYPES
  5352. GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  5353. GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  5354. #endif
  5355. #endif /* GL_ATI_separate_stencil */
  5356. #ifndef GL_ATI_text_fragment_shader
  5357. #define GL_ATI_text_fragment_shader 1
  5358. #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
  5359. #endif /* GL_ATI_text_fragment_shader */
  5360. #ifndef GL_ATI_texture_env_combine3
  5361. #define GL_ATI_texture_env_combine3 1
  5362. #define GL_MODULATE_ADD_ATI 0x8744
  5363. #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
  5364. #define GL_MODULATE_SUBTRACT_ATI 0x8746
  5365. #endif /* GL_ATI_texture_env_combine3 */
  5366. #ifndef GL_ATI_texture_float
  5367. #define GL_ATI_texture_float 1
  5368. #define GL_RGBA_FLOAT32_ATI 0x8814
  5369. #define GL_RGB_FLOAT32_ATI 0x8815
  5370. #define GL_ALPHA_FLOAT32_ATI 0x8816
  5371. #define GL_INTENSITY_FLOAT32_ATI 0x8817
  5372. #define GL_LUMINANCE_FLOAT32_ATI 0x8818
  5373. #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
  5374. #define GL_RGBA_FLOAT16_ATI 0x881A
  5375. #define GL_RGB_FLOAT16_ATI 0x881B
  5376. #define GL_ALPHA_FLOAT16_ATI 0x881C
  5377. #define GL_INTENSITY_FLOAT16_ATI 0x881D
  5378. #define GL_LUMINANCE_FLOAT16_ATI 0x881E
  5379. #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
  5380. #endif /* GL_ATI_texture_float */
  5381. #ifndef GL_ATI_texture_mirror_once
  5382. #define GL_ATI_texture_mirror_once 1
  5383. #define GL_MIRROR_CLAMP_ATI 0x8742
  5384. #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
  5385. #endif /* GL_ATI_texture_mirror_once */
  5386. #ifndef GL_ATI_vertex_array_object
  5387. #define GL_ATI_vertex_array_object 1
  5388. #define GL_STATIC_ATI 0x8760
  5389. #define GL_DYNAMIC_ATI 0x8761
  5390. #define GL_PRESERVE_ATI 0x8762
  5391. #define GL_DISCARD_ATI 0x8763
  5392. #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
  5393. #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
  5394. #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
  5395. #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
  5396. typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
  5397. typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
  5398. typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
  5399. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
  5400. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
  5401. typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
  5402. typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5403. typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
  5404. typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
  5405. typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5406. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
  5407. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
  5408. #ifdef GL_GLEXT_PROTOTYPES
  5409. GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
  5410. GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
  5411. GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
  5412. GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
  5413. GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
  5414. GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
  5415. GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5416. GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
  5417. GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
  5418. GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5419. GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
  5420. GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
  5421. #endif
  5422. #endif /* GL_ATI_vertex_array_object */
  5423. #ifndef GL_ATI_vertex_attrib_array_object
  5424. #define GL_ATI_vertex_attrib_array_object 1
  5425. typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  5426. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
  5427. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
  5428. #ifdef GL_GLEXT_PROTOTYPES
  5429. GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  5430. GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
  5431. GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
  5432. #endif
  5433. #endif /* GL_ATI_vertex_attrib_array_object */
  5434. #ifndef GL_ATI_vertex_streams
  5435. #define GL_ATI_vertex_streams 1
  5436. #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
  5437. #define GL_VERTEX_STREAM0_ATI 0x876C
  5438. #define GL_VERTEX_STREAM1_ATI 0x876D
  5439. #define GL_VERTEX_STREAM2_ATI 0x876E
  5440. #define GL_VERTEX_STREAM3_ATI 0x876F
  5441. #define GL_VERTEX_STREAM4_ATI 0x8770
  5442. #define GL_VERTEX_STREAM5_ATI 0x8771
  5443. #define GL_VERTEX_STREAM6_ATI 0x8772
  5444. #define GL_VERTEX_STREAM7_ATI 0x8773
  5445. #define GL_VERTEX_SOURCE_ATI 0x8774
  5446. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
  5447. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
  5448. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
  5449. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
  5450. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
  5451. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
  5452. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
  5453. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
  5454. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
  5455. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
  5456. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
  5457. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
  5458. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
  5459. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
  5460. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
  5461. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
  5462. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  5463. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  5464. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  5465. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  5466. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  5467. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  5468. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  5469. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  5470. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  5471. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
  5472. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  5473. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
  5474. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5475. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
  5476. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5477. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
  5478. typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  5479. typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
  5480. typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  5481. typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  5482. typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
  5483. typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  5484. typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  5485. typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  5486. typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  5487. typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  5488. typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
  5489. typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
  5490. typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
  5491. #ifdef GL_GLEXT_PROTOTYPES
  5492. GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
  5493. GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
  5494. GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
  5495. GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
  5496. GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
  5497. GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
  5498. GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
  5499. GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
  5500. GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
  5501. GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
  5502. GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
  5503. GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
  5504. GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
  5505. GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
  5506. GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
  5507. GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
  5508. GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
  5509. GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
  5510. GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
  5511. GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
  5512. GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  5513. GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
  5514. GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  5515. GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
  5516. GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  5517. GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
  5518. GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  5519. GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
  5520. GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5521. GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
  5522. GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5523. GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
  5524. GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  5525. GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
  5526. GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  5527. GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
  5528. GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
  5529. GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
  5530. GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  5531. GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
  5532. GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  5533. GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
  5534. GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
  5535. GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
  5536. GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
  5537. #endif
  5538. #endif /* GL_ATI_vertex_streams */
  5539. #ifndef GL_EXT_422_pixels
  5540. #define GL_EXT_422_pixels 1
  5541. #define GL_422_EXT 0x80CC
  5542. #define GL_422_REV_EXT 0x80CD
  5543. #define GL_422_AVERAGE_EXT 0x80CE
  5544. #define GL_422_REV_AVERAGE_EXT 0x80CF
  5545. #endif /* GL_EXT_422_pixels */
  5546. #ifndef GL_EXT_abgr
  5547. #define GL_EXT_abgr 1
  5548. #define GL_ABGR_EXT 0x8000
  5549. #endif /* GL_EXT_abgr */
  5550. #ifndef GL_EXT_bgra
  5551. #define GL_EXT_bgra 1
  5552. #define GL_BGR_EXT 0x80E0
  5553. #define GL_BGRA_EXT 0x80E1
  5554. #endif /* GL_EXT_bgra */
  5555. #ifndef GL_EXT_bindable_uniform
  5556. #define GL_EXT_bindable_uniform 1
  5557. #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
  5558. #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
  5559. #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
  5560. #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
  5561. #define GL_UNIFORM_BUFFER_EXT 0x8DEE
  5562. #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
  5563. typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
  5564. typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
  5565. typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
  5566. #ifdef GL_GLEXT_PROTOTYPES
  5567. GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
  5568. GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
  5569. GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
  5570. #endif
  5571. #endif /* GL_EXT_bindable_uniform */
  5572. #ifndef GL_EXT_blend_color
  5573. #define GL_EXT_blend_color 1
  5574. #define GL_CONSTANT_COLOR_EXT 0x8001
  5575. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
  5576. #define GL_CONSTANT_ALPHA_EXT 0x8003
  5577. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
  5578. #define GL_BLEND_COLOR_EXT 0x8005
  5579. typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  5580. #ifdef GL_GLEXT_PROTOTYPES
  5581. GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  5582. #endif
  5583. #endif /* GL_EXT_blend_color */
  5584. #ifndef GL_EXT_blend_equation_separate
  5585. #define GL_EXT_blend_equation_separate 1
  5586. #define GL_BLEND_EQUATION_RGB_EXT 0x8009
  5587. #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
  5588. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
  5589. #ifdef GL_GLEXT_PROTOTYPES
  5590. GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
  5591. #endif
  5592. #endif /* GL_EXT_blend_equation_separate */
  5593. #ifndef GL_EXT_blend_func_separate
  5594. #define GL_EXT_blend_func_separate 1
  5595. #define GL_BLEND_DST_RGB_EXT 0x80C8
  5596. #define GL_BLEND_SRC_RGB_EXT 0x80C9
  5597. #define GL_BLEND_DST_ALPHA_EXT 0x80CA
  5598. #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
  5599. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  5600. #ifdef GL_GLEXT_PROTOTYPES
  5601. GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  5602. #endif
  5603. #endif /* GL_EXT_blend_func_separate */
  5604. #ifndef GL_EXT_blend_logic_op
  5605. #define GL_EXT_blend_logic_op 1
  5606. #endif /* GL_EXT_blend_logic_op */
  5607. #ifndef GL_EXT_blend_minmax
  5608. #define GL_EXT_blend_minmax 1
  5609. #define GL_MIN_EXT 0x8007
  5610. #define GL_MAX_EXT 0x8008
  5611. #define GL_FUNC_ADD_EXT 0x8006
  5612. #define GL_BLEND_EQUATION_EXT 0x8009
  5613. typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  5614. #ifdef GL_GLEXT_PROTOTYPES
  5615. GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
  5616. #endif
  5617. #endif /* GL_EXT_blend_minmax */
  5618. #ifndef GL_EXT_blend_subtract
  5619. #define GL_EXT_blend_subtract 1
  5620. #define GL_FUNC_SUBTRACT_EXT 0x800A
  5621. #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
  5622. #endif /* GL_EXT_blend_subtract */
  5623. #ifndef GL_EXT_clip_volume_hint
  5624. #define GL_EXT_clip_volume_hint 1
  5625. #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
  5626. #endif /* GL_EXT_clip_volume_hint */
  5627. #ifndef GL_EXT_cmyka
  5628. #define GL_EXT_cmyka 1
  5629. #define GL_CMYK_EXT 0x800C
  5630. #define GL_CMYKA_EXT 0x800D
  5631. #define GL_PACK_CMYK_HINT_EXT 0x800E
  5632. #define GL_UNPACK_CMYK_HINT_EXT 0x800F
  5633. #endif /* GL_EXT_cmyka */
  5634. #ifndef GL_EXT_color_subtable
  5635. #define GL_EXT_color_subtable 1
  5636. typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  5637. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  5638. #ifdef GL_GLEXT_PROTOTYPES
  5639. GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  5640. GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  5641. #endif
  5642. #endif /* GL_EXT_color_subtable */
  5643. #ifndef GL_EXT_compiled_vertex_array
  5644. #define GL_EXT_compiled_vertex_array 1
  5645. #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
  5646. #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
  5647. typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  5648. typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  5649. #ifdef GL_GLEXT_PROTOTYPES
  5650. GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
  5651. GLAPI void APIENTRY glUnlockArraysEXT (void);
  5652. #endif
  5653. #endif /* GL_EXT_compiled_vertex_array */
  5654. #ifndef GL_EXT_convolution
  5655. #define GL_EXT_convolution 1
  5656. #define GL_CONVOLUTION_1D_EXT 0x8010
  5657. #define GL_CONVOLUTION_2D_EXT 0x8011
  5658. #define GL_SEPARABLE_2D_EXT 0x8012
  5659. #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
  5660. #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
  5661. #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
  5662. #define GL_REDUCE_EXT 0x8016
  5663. #define GL_CONVOLUTION_FORMAT_EXT 0x8017
  5664. #define GL_CONVOLUTION_WIDTH_EXT 0x8018
  5665. #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
  5666. #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
  5667. #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
  5668. #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  5669. #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  5670. #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  5671. #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  5672. #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
  5673. #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  5674. #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  5675. #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  5676. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  5677. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  5678. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  5679. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  5680. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  5681. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  5682. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5683. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  5684. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
  5685. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  5686. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  5687. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  5688. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  5689. #ifdef GL_GLEXT_PROTOTYPES
  5690. GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  5691. GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  5692. GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
  5693. GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  5694. GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
  5695. GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  5696. GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5697. GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  5698. GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
  5699. GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  5700. GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
  5701. GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  5702. GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  5703. #endif
  5704. #endif /* GL_EXT_convolution */
  5705. #ifndef GL_EXT_coordinate_frame
  5706. #define GL_EXT_coordinate_frame 1
  5707. #define GL_TANGENT_ARRAY_EXT 0x8439
  5708. #define GL_BINORMAL_ARRAY_EXT 0x843A
  5709. #define GL_CURRENT_TANGENT_EXT 0x843B
  5710. #define GL_CURRENT_BINORMAL_EXT 0x843C
  5711. #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
  5712. #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
  5713. #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
  5714. #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
  5715. #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
  5716. #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
  5717. #define GL_MAP1_TANGENT_EXT 0x8444
  5718. #define GL_MAP2_TANGENT_EXT 0x8445
  5719. #define GL_MAP1_BINORMAL_EXT 0x8446
  5720. #define GL_MAP2_BINORMAL_EXT 0x8447
  5721. typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  5722. typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  5723. typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  5724. typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  5725. typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  5726. typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  5727. typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  5728. typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  5729. typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  5730. typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  5731. typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  5732. typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  5733. typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  5734. typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  5735. typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  5736. typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  5737. typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  5738. typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  5739. typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  5740. typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  5741. typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  5742. typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  5743. #ifdef GL_GLEXT_PROTOTYPES
  5744. GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
  5745. GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
  5746. GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
  5747. GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
  5748. GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
  5749. GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
  5750. GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
  5751. GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
  5752. GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
  5753. GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
  5754. GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
  5755. GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
  5756. GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
  5757. GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
  5758. GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
  5759. GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
  5760. GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
  5761. GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
  5762. GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
  5763. GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
  5764. GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  5765. GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  5766. #endif
  5767. #endif /* GL_EXT_coordinate_frame */
  5768. #ifndef GL_EXT_copy_texture
  5769. #define GL_EXT_copy_texture 1
  5770. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5771. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5772. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5773. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5774. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5775. #ifdef GL_GLEXT_PROTOTYPES
  5776. GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5777. GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5778. GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5779. GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5780. GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5781. #endif
  5782. #endif /* GL_EXT_copy_texture */
  5783. #ifndef GL_EXT_cull_vertex
  5784. #define GL_EXT_cull_vertex 1
  5785. #define GL_CULL_VERTEX_EXT 0x81AA
  5786. #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
  5787. #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  5788. typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  5789. typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  5790. #ifdef GL_GLEXT_PROTOTYPES
  5791. GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
  5792. GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
  5793. #endif
  5794. #endif /* GL_EXT_cull_vertex */
  5795. #ifndef GL_EXT_debug_label
  5796. #define GL_EXT_debug_label 1
  5797. #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
  5798. #define GL_PROGRAM_OBJECT_EXT 0x8B40
  5799. #define GL_SHADER_OBJECT_EXT 0x8B48
  5800. #define GL_BUFFER_OBJECT_EXT 0x9151
  5801. #define GL_QUERY_OBJECT_EXT 0x9153
  5802. #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
  5803. typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  5804. typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  5805. #ifdef GL_GLEXT_PROTOTYPES
  5806. GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  5807. GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  5808. #endif
  5809. #endif /* GL_EXT_debug_label */
  5810. #ifndef GL_EXT_debug_marker
  5811. #define GL_EXT_debug_marker 1
  5812. typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  5813. typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  5814. typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
  5815. #ifdef GL_GLEXT_PROTOTYPES
  5816. GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
  5817. GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
  5818. GLAPI void APIENTRY glPopGroupMarkerEXT (void);
  5819. #endif
  5820. #endif /* GL_EXT_debug_marker */
  5821. #ifndef GL_EXT_depth_bounds_test
  5822. #define GL_EXT_depth_bounds_test 1
  5823. #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
  5824. #define GL_DEPTH_BOUNDS_EXT 0x8891
  5825. typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
  5826. #ifdef GL_GLEXT_PROTOTYPES
  5827. GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
  5828. #endif
  5829. #endif /* GL_EXT_depth_bounds_test */
  5830. #ifndef GL_EXT_direct_state_access
  5831. #define GL_EXT_direct_state_access 1
  5832. #define GL_PROGRAM_MATRIX_EXT 0x8E2D
  5833. #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
  5834. #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  5835. typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
  5836. typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
  5837. typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
  5838. typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
  5839. typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
  5840. typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  5841. typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  5842. typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  5843. typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  5844. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  5845. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  5846. typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  5847. typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  5848. typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
  5849. typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
  5850. typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  5851. typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  5852. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  5853. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  5854. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  5855. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  5856. typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  5857. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  5858. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  5859. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  5860. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5861. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5862. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5863. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5864. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  5865. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  5866. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  5867. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  5868. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  5869. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  5870. 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 void *pixels);
  5871. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5872. typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  5873. typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  5874. typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  5875. typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  5876. typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  5877. typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  5878. typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  5879. typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  5880. typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  5881. typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  5882. typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  5883. typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  5884. typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  5885. typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  5886. typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  5887. typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  5888. typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  5889. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  5890. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  5891. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  5892. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  5893. typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  5894. typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  5895. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  5896. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  5897. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5898. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5899. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5900. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5901. typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  5902. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  5903. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  5904. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  5905. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  5906. typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  5907. 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 void *pixels);
  5908. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5909. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  5910. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  5911. typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
  5912. typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
  5913. typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
  5914. typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  5915. typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  5916. typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  5917. typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
  5918. typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
  5919. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
  5920. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  5921. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  5922. 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 void *bits);
  5923. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
  5924. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  5925. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
  5926. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
  5927. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  5928. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  5929. 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 void *bits);
  5930. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
  5931. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  5932. typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
  5933. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  5934. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  5935. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  5936. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  5937. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  5938. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  5939. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  5940. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  5941. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
  5942. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
  5943. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  5944. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  5945. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  5946. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  5947. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  5948. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  5949. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  5950. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  5951. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  5952. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  5953. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  5954. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  5955. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  5956. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  5957. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  5958. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  5959. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  5960. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5961. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5962. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5963. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5964. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5965. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5966. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5967. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5968. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5969. typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  5970. typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  5971. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  5972. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  5973. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  5974. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  5975. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  5976. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  5977. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  5978. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  5979. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  5980. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  5981. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  5982. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  5983. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  5984. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  5985. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  5986. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  5987. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  5988. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  5989. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
  5990. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  5991. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  5992. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
  5993. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  5994. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
  5995. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
  5996. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  5997. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  5998. typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
  5999. typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
  6000. typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
  6001. typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  6002. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6003. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  6004. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6005. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  6006. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
  6007. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
  6008. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
  6009. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
  6010. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  6011. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  6012. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6013. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  6014. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  6015. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6016. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6017. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6018. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6019. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  6020. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  6021. typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  6022. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  6023. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  6024. typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  6025. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  6026. typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  6027. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  6028. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6029. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  6030. typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  6031. typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  6032. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6033. typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6034. typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  6035. typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6036. typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6037. typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6038. typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6039. typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6040. typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6041. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  6042. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6043. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  6044. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  6045. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  6046. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  6047. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
  6048. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
  6049. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  6050. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
  6051. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  6052. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  6053. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  6054. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  6055. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  6056. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
  6057. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  6058. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
  6059. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  6060. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  6061. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6062. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6063. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6064. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6065. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6066. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6067. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6068. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6069. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6070. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6071. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6072. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6073. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6074. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6075. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  6076. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  6077. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  6078. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  6079. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  6080. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  6081. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  6082. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  6083. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  6084. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  6085. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  6086. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  6087. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6088. typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  6089. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
  6090. #ifdef GL_GLEXT_PROTOTYPES
  6091. GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
  6092. GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
  6093. GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
  6094. GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
  6095. GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
  6096. GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  6097. GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  6098. GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  6099. GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  6100. GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  6101. GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  6102. GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  6103. GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  6104. GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
  6105. GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
  6106. GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
  6107. GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
  6108. GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  6109. GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  6110. GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
  6111. GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  6112. GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  6113. GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  6114. GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  6115. GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  6116. GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6117. GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6118. GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6119. GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6120. GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  6121. GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  6122. GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  6123. GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  6124. GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  6125. GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  6126. 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 void *pixels);
  6127. GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6128. GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
  6129. GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  6130. GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  6131. GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  6132. GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  6133. GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6134. GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  6135. GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  6136. GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  6137. GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  6138. GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  6139. GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  6140. GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  6141. GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6142. GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  6143. GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  6144. GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  6145. GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  6146. GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6147. GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  6148. GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  6149. GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  6150. GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  6151. GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  6152. GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  6153. GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6154. GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6155. GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6156. GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6157. GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  6158. GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  6159. GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6160. GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  6161. GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  6162. GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  6163. 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 void *pixels);
  6164. GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6165. GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
  6166. GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
  6167. GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
  6168. GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
  6169. GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
  6170. GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
  6171. GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
  6172. GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
  6173. GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
  6174. GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
  6175. GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
  6176. GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  6177. GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  6178. 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 void *bits);
  6179. GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
  6180. GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  6181. GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
  6182. GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
  6183. GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  6184. GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  6185. 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 void *bits);
  6186. GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
  6187. GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  6188. GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
  6189. GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
  6190. GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
  6191. GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
  6192. GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
  6193. GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  6194. GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  6195. GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
  6196. GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
  6197. GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
  6198. GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
  6199. GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  6200. GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  6201. GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  6202. GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6203. GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6204. GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  6205. GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  6206. GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  6207. GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6208. GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6209. GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6210. GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6211. GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6212. GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  6213. GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  6214. GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  6215. GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  6216. GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6217. GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6218. GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6219. GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6220. GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6221. GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6222. GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6223. GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6224. GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6225. GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  6226. GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  6227. GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  6228. GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  6229. GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  6230. GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  6231. GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6232. GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  6233. GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6234. GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  6235. GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  6236. GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  6237. GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  6238. GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6239. GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6240. GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6241. GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6242. GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6243. GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6244. GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  6245. GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
  6246. GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  6247. GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  6248. GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
  6249. GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  6250. GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
  6251. GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
  6252. GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
  6253. GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
  6254. GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
  6255. GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
  6256. GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
  6257. GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  6258. GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6259. GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  6260. GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6261. GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  6262. GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
  6263. GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
  6264. GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
  6265. GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
  6266. GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  6267. GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
  6268. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6269. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  6270. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
  6271. GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6272. GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6273. GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6274. GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6275. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  6276. GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
  6277. GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
  6278. GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
  6279. GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  6280. GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
  6281. GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  6282. GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  6283. GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  6284. GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6285. GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  6286. GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
  6287. GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
  6288. GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6289. GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6290. GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  6291. GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6292. GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6293. GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6294. GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6295. GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6296. GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6297. GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  6298. GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6299. GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
  6300. GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
  6301. GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  6302. GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  6303. GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
  6304. GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
  6305. GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  6306. GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
  6307. GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  6308. GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
  6309. GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  6310. GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  6311. GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  6312. GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
  6313. GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  6314. GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
  6315. GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
  6316. GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  6317. GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6318. GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6319. GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6320. GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6321. GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6322. GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6323. GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6324. GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6325. GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6326. GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6327. GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6328. GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6329. GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6330. GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6331. GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  6332. GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  6333. GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  6334. GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  6335. GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  6336. GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  6337. GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  6338. GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  6339. GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  6340. GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  6341. GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  6342. GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  6343. GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6344. GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  6345. GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
  6346. #endif
  6347. #endif /* GL_EXT_direct_state_access */
  6348. #ifndef GL_EXT_draw_buffers2
  6349. #define GL_EXT_draw_buffers2 1
  6350. typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  6351. #ifdef GL_GLEXT_PROTOTYPES
  6352. GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  6353. #endif
  6354. #endif /* GL_EXT_draw_buffers2 */
  6355. #ifndef GL_EXT_draw_instanced
  6356. #define GL_EXT_draw_instanced 1
  6357. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  6358. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  6359. #ifdef GL_GLEXT_PROTOTYPES
  6360. GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  6361. GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  6362. #endif
  6363. #endif /* GL_EXT_draw_instanced */
  6364. #ifndef GL_EXT_draw_range_elements
  6365. #define GL_EXT_draw_range_elements 1
  6366. #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
  6367. #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
  6368. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  6369. #ifdef GL_GLEXT_PROTOTYPES
  6370. GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  6371. #endif
  6372. #endif /* GL_EXT_draw_range_elements */
  6373. #ifndef GL_EXT_fog_coord
  6374. #define GL_EXT_fog_coord 1
  6375. #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
  6376. #define GL_FOG_COORDINATE_EXT 0x8451
  6377. #define GL_FRAGMENT_DEPTH_EXT 0x8452
  6378. #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
  6379. #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
  6380. #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  6381. #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  6382. #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
  6383. typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  6384. typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  6385. typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  6386. typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  6387. typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  6388. #ifdef GL_GLEXT_PROTOTYPES
  6389. GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
  6390. GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
  6391. GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
  6392. GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
  6393. GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  6394. #endif
  6395. #endif /* GL_EXT_fog_coord */
  6396. #ifndef GL_EXT_framebuffer_blit
  6397. #define GL_EXT_framebuffer_blit 1
  6398. #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
  6399. #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
  6400. #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
  6401. #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
  6402. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  6403. #ifdef GL_GLEXT_PROTOTYPES
  6404. GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  6405. #endif
  6406. #endif /* GL_EXT_framebuffer_blit */
  6407. #ifndef GL_EXT_framebuffer_multisample
  6408. #define GL_EXT_framebuffer_multisample 1
  6409. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  6410. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  6411. #define GL_MAX_SAMPLES_EXT 0x8D57
  6412. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6413. #ifdef GL_GLEXT_PROTOTYPES
  6414. GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6415. #endif
  6416. #endif /* GL_EXT_framebuffer_multisample */
  6417. #ifndef GL_EXT_framebuffer_multisample_blit_scaled
  6418. #define GL_EXT_framebuffer_multisample_blit_scaled 1
  6419. #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
  6420. #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
  6421. #endif /* GL_EXT_framebuffer_multisample_blit_scaled */
  6422. #ifndef GL_EXT_framebuffer_object
  6423. #define GL_EXT_framebuffer_object 1
  6424. #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
  6425. #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
  6426. #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
  6427. #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
  6428. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
  6429. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
  6430. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
  6431. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
  6432. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
  6433. #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
  6434. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
  6435. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
  6436. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
  6437. #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
  6438. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
  6439. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
  6440. #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
  6441. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  6442. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  6443. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  6444. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  6445. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  6446. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  6447. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  6448. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  6449. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  6450. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  6451. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  6452. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  6453. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  6454. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  6455. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  6456. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  6457. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  6458. #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
  6459. #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
  6460. #define GL_FRAMEBUFFER_EXT 0x8D40
  6461. #define GL_RENDERBUFFER_EXT 0x8D41
  6462. #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
  6463. #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
  6464. #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
  6465. #define GL_STENCIL_INDEX1_EXT 0x8D46
  6466. #define GL_STENCIL_INDEX4_EXT 0x8D47
  6467. #define GL_STENCIL_INDEX8_EXT 0x8D48
  6468. #define GL_STENCIL_INDEX16_EXT 0x8D49
  6469. #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
  6470. #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
  6471. #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
  6472. #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
  6473. #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
  6474. #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
  6475. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
  6476. typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
  6477. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
  6478. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
  6479. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  6480. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6481. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
  6482. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
  6483. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
  6484. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
  6485. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
  6486. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6487. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6488. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6489. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6490. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  6491. typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
  6492. #ifdef GL_GLEXT_PROTOTYPES
  6493. GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
  6494. GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
  6495. GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
  6496. GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
  6497. GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  6498. GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6499. GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
  6500. GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
  6501. GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
  6502. GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
  6503. GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
  6504. GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6505. GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6506. GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6507. GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6508. GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  6509. GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
  6510. #endif
  6511. #endif /* GL_EXT_framebuffer_object */
  6512. #ifndef GL_EXT_framebuffer_sRGB
  6513. #define GL_EXT_framebuffer_sRGB 1
  6514. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  6515. #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
  6516. #endif /* GL_EXT_framebuffer_sRGB */
  6517. #ifndef GL_EXT_geometry_shader4
  6518. #define GL_EXT_geometry_shader4 1
  6519. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  6520. #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
  6521. #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
  6522. #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
  6523. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  6524. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
  6525. #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
  6526. #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
  6527. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  6528. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  6529. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  6530. #define GL_LINES_ADJACENCY_EXT 0x000A
  6531. #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
  6532. #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
  6533. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
  6534. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  6535. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
  6536. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  6537. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
  6538. #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
  6539. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  6540. #ifdef GL_GLEXT_PROTOTYPES
  6541. GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
  6542. #endif
  6543. #endif /* GL_EXT_geometry_shader4 */
  6544. #ifndef GL_EXT_gpu_program_parameters
  6545. #define GL_EXT_gpu_program_parameters 1
  6546. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6547. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6548. #ifdef GL_GLEXT_PROTOTYPES
  6549. GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6550. GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6551. #endif
  6552. #endif /* GL_EXT_gpu_program_parameters */
  6553. #ifndef GL_EXT_gpu_shader4
  6554. #define GL_EXT_gpu_shader4 1
  6555. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
  6556. #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
  6557. #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
  6558. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  6559. #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
  6560. #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
  6561. #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
  6562. #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
  6563. #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
  6564. #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
  6565. #define GL_INT_SAMPLER_1D_EXT 0x8DC9
  6566. #define GL_INT_SAMPLER_2D_EXT 0x8DCA
  6567. #define GL_INT_SAMPLER_3D_EXT 0x8DCB
  6568. #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
  6569. #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
  6570. #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
  6571. #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
  6572. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  6573. #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
  6574. #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
  6575. #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
  6576. #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
  6577. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  6578. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  6579. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  6580. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  6581. #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
  6582. #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
  6583. typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
  6584. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  6585. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
  6586. typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
  6587. typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
  6588. typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  6589. typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6590. typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  6591. typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  6592. typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  6593. typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  6594. #ifdef GL_GLEXT_PROTOTYPES
  6595. GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
  6596. GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
  6597. GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
  6598. GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
  6599. GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
  6600. GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
  6601. GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6602. GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
  6603. GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
  6604. GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
  6605. GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
  6606. #endif
  6607. #endif /* GL_EXT_gpu_shader4 */
  6608. #ifndef GL_EXT_histogram
  6609. #define GL_EXT_histogram 1
  6610. #define GL_HISTOGRAM_EXT 0x8024
  6611. #define GL_PROXY_HISTOGRAM_EXT 0x8025
  6612. #define GL_HISTOGRAM_WIDTH_EXT 0x8026
  6613. #define GL_HISTOGRAM_FORMAT_EXT 0x8027
  6614. #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
  6615. #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
  6616. #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
  6617. #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
  6618. #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
  6619. #define GL_HISTOGRAM_SINK_EXT 0x802D
  6620. #define GL_MINMAX_EXT 0x802E
  6621. #define GL_MINMAX_FORMAT_EXT 0x802F
  6622. #define GL_MINMAX_SINK_EXT 0x8030
  6623. #define GL_TABLE_TOO_LARGE_EXT 0x8031
  6624. typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  6625. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6626. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6627. typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  6628. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6629. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6630. typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  6631. typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  6632. typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  6633. typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  6634. #ifdef GL_GLEXT_PROTOTYPES
  6635. GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  6636. GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6637. GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6638. GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  6639. GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6640. GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6641. GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  6642. GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
  6643. GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
  6644. GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
  6645. #endif
  6646. #endif /* GL_EXT_histogram */
  6647. #ifndef GL_EXT_index_array_formats
  6648. #define GL_EXT_index_array_formats 1
  6649. #define GL_IUI_V2F_EXT 0x81AD
  6650. #define GL_IUI_V3F_EXT 0x81AE
  6651. #define GL_IUI_N3F_V2F_EXT 0x81AF
  6652. #define GL_IUI_N3F_V3F_EXT 0x81B0
  6653. #define GL_T2F_IUI_V2F_EXT 0x81B1
  6654. #define GL_T2F_IUI_V3F_EXT 0x81B2
  6655. #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
  6656. #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
  6657. #endif /* GL_EXT_index_array_formats */
  6658. #ifndef GL_EXT_index_func
  6659. #define GL_EXT_index_func 1
  6660. #define GL_INDEX_TEST_EXT 0x81B5
  6661. #define GL_INDEX_TEST_FUNC_EXT 0x81B6
  6662. #define GL_INDEX_TEST_REF_EXT 0x81B7
  6663. typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  6664. #ifdef GL_GLEXT_PROTOTYPES
  6665. GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
  6666. #endif
  6667. #endif /* GL_EXT_index_func */
  6668. #ifndef GL_EXT_index_material
  6669. #define GL_EXT_index_material 1
  6670. #define GL_INDEX_MATERIAL_EXT 0x81B8
  6671. #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
  6672. #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
  6673. typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  6674. #ifdef GL_GLEXT_PROTOTYPES
  6675. GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
  6676. #endif
  6677. #endif /* GL_EXT_index_material */
  6678. #ifndef GL_EXT_index_texture
  6679. #define GL_EXT_index_texture 1
  6680. #endif /* GL_EXT_index_texture */
  6681. #ifndef GL_EXT_light_texture
  6682. #define GL_EXT_light_texture 1
  6683. #define GL_FRAGMENT_MATERIAL_EXT 0x8349
  6684. #define GL_FRAGMENT_NORMAL_EXT 0x834A
  6685. #define GL_FRAGMENT_COLOR_EXT 0x834C
  6686. #define GL_ATTENUATION_EXT 0x834D
  6687. #define GL_SHADOW_ATTENUATION_EXT 0x834E
  6688. #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
  6689. #define GL_TEXTURE_LIGHT_EXT 0x8350
  6690. #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
  6691. #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  6692. typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  6693. typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  6694. typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  6695. #ifdef GL_GLEXT_PROTOTYPES
  6696. GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
  6697. GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
  6698. GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
  6699. #endif
  6700. #endif /* GL_EXT_light_texture */
  6701. #ifndef GL_EXT_misc_attribute
  6702. #define GL_EXT_misc_attribute 1
  6703. #endif /* GL_EXT_misc_attribute */
  6704. #ifndef GL_EXT_multi_draw_arrays
  6705. #define GL_EXT_multi_draw_arrays 1
  6706. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  6707. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  6708. #ifdef GL_GLEXT_PROTOTYPES
  6709. GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  6710. GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  6711. #endif
  6712. #endif /* GL_EXT_multi_draw_arrays */
  6713. #ifndef GL_EXT_multisample
  6714. #define GL_EXT_multisample 1
  6715. #define GL_MULTISAMPLE_EXT 0x809D
  6716. #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
  6717. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  6718. #define GL_SAMPLE_MASK_EXT 0x80A0
  6719. #define GL_1PASS_EXT 0x80A1
  6720. #define GL_2PASS_0_EXT 0x80A2
  6721. #define GL_2PASS_1_EXT 0x80A3
  6722. #define GL_4PASS_0_EXT 0x80A4
  6723. #define GL_4PASS_1_EXT 0x80A5
  6724. #define GL_4PASS_2_EXT 0x80A6
  6725. #define GL_4PASS_3_EXT 0x80A7
  6726. #define GL_SAMPLE_BUFFERS_EXT 0x80A8
  6727. #define GL_SAMPLES_EXT 0x80A9
  6728. #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
  6729. #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
  6730. #define GL_SAMPLE_PATTERN_EXT 0x80AC
  6731. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  6732. typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  6733. typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  6734. #ifdef GL_GLEXT_PROTOTYPES
  6735. GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
  6736. GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
  6737. #endif
  6738. #endif /* GL_EXT_multisample */
  6739. #ifndef GL_EXT_packed_depth_stencil
  6740. #define GL_EXT_packed_depth_stencil 1
  6741. #define GL_DEPTH_STENCIL_EXT 0x84F9
  6742. #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
  6743. #define GL_DEPTH24_STENCIL8_EXT 0x88F0
  6744. #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
  6745. #endif /* GL_EXT_packed_depth_stencil */
  6746. #ifndef GL_EXT_packed_float
  6747. #define GL_EXT_packed_float 1
  6748. #define GL_R11F_G11F_B10F_EXT 0x8C3A
  6749. #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
  6750. #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
  6751. #endif /* GL_EXT_packed_float */
  6752. #ifndef GL_EXT_packed_pixels
  6753. #define GL_EXT_packed_pixels 1
  6754. #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
  6755. #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
  6756. #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
  6757. #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
  6758. #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
  6759. #endif /* GL_EXT_packed_pixels */
  6760. #ifndef GL_EXT_paletted_texture
  6761. #define GL_EXT_paletted_texture 1
  6762. #define GL_COLOR_INDEX1_EXT 0x80E2
  6763. #define GL_COLOR_INDEX2_EXT 0x80E3
  6764. #define GL_COLOR_INDEX4_EXT 0x80E4
  6765. #define GL_COLOR_INDEX8_EXT 0x80E5
  6766. #define GL_COLOR_INDEX12_EXT 0x80E6
  6767. #define GL_COLOR_INDEX16_EXT 0x80E7
  6768. #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
  6769. typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
  6770. typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
  6771. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6772. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6773. #ifdef GL_GLEXT_PROTOTYPES
  6774. GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
  6775. GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
  6776. GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6777. GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6778. #endif
  6779. #endif /* GL_EXT_paletted_texture */
  6780. #ifndef GL_EXT_pixel_buffer_object
  6781. #define GL_EXT_pixel_buffer_object 1
  6782. #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
  6783. #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
  6784. #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
  6785. #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
  6786. #endif /* GL_EXT_pixel_buffer_object */
  6787. #ifndef GL_EXT_pixel_transform
  6788. #define GL_EXT_pixel_transform 1
  6789. #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
  6790. #define GL_PIXEL_MAG_FILTER_EXT 0x8331
  6791. #define GL_PIXEL_MIN_FILTER_EXT 0x8332
  6792. #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
  6793. #define GL_CUBIC_EXT 0x8334
  6794. #define GL_AVERAGE_EXT 0x8335
  6795. #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  6796. #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  6797. #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
  6798. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  6799. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  6800. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  6801. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  6802. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6803. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6804. #ifdef GL_GLEXT_PROTOTYPES
  6805. GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
  6806. GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
  6807. GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  6808. GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  6809. GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6810. GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6811. #endif
  6812. #endif /* GL_EXT_pixel_transform */
  6813. #ifndef GL_EXT_pixel_transform_color_table
  6814. #define GL_EXT_pixel_transform_color_table 1
  6815. #endif /* GL_EXT_pixel_transform_color_table */
  6816. #ifndef GL_EXT_point_parameters
  6817. #define GL_EXT_point_parameters 1
  6818. #define GL_POINT_SIZE_MIN_EXT 0x8126
  6819. #define GL_POINT_SIZE_MAX_EXT 0x8127
  6820. #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
  6821. #define GL_DISTANCE_ATTENUATION_EXT 0x8129
  6822. typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  6823. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  6824. #ifdef GL_GLEXT_PROTOTYPES
  6825. GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
  6826. GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
  6827. #endif
  6828. #endif /* GL_EXT_point_parameters */
  6829. #ifndef GL_EXT_polygon_offset
  6830. #define GL_EXT_polygon_offset 1
  6831. #define GL_POLYGON_OFFSET_EXT 0x8037
  6832. #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
  6833. #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
  6834. typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  6835. #ifdef GL_GLEXT_PROTOTYPES
  6836. GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
  6837. #endif
  6838. #endif /* GL_EXT_polygon_offset */
  6839. #ifndef GL_EXT_provoking_vertex
  6840. #define GL_EXT_provoking_vertex 1
  6841. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
  6842. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  6843. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  6844. #define GL_PROVOKING_VERTEX_EXT 0x8E4F
  6845. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
  6846. #ifdef GL_GLEXT_PROTOTYPES
  6847. GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
  6848. #endif
  6849. #endif /* GL_EXT_provoking_vertex */
  6850. #ifndef GL_EXT_rescale_normal
  6851. #define GL_EXT_rescale_normal 1
  6852. #define GL_RESCALE_NORMAL_EXT 0x803A
  6853. #endif /* GL_EXT_rescale_normal */
  6854. #ifndef GL_EXT_secondary_color
  6855. #define GL_EXT_secondary_color 1
  6856. #define GL_COLOR_SUM_EXT 0x8458
  6857. #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
  6858. #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  6859. #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  6860. #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  6861. #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  6862. #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
  6863. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  6864. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  6865. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  6866. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  6867. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  6868. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  6869. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  6870. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  6871. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  6872. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  6873. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  6874. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  6875. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  6876. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  6877. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  6878. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  6879. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  6880. #ifdef GL_GLEXT_PROTOTYPES
  6881. GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
  6882. GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
  6883. GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
  6884. GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
  6885. GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
  6886. GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
  6887. GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
  6888. GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
  6889. GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
  6890. GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
  6891. GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
  6892. GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
  6893. GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
  6894. GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
  6895. GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
  6896. GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
  6897. GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
  6898. #endif
  6899. #endif /* GL_EXT_secondary_color */
  6900. #ifndef GL_EXT_separate_shader_objects
  6901. #define GL_EXT_separate_shader_objects 1
  6902. #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
  6903. typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
  6904. typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
  6905. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
  6906. #ifdef GL_GLEXT_PROTOTYPES
  6907. GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
  6908. GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
  6909. GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
  6910. #endif
  6911. #endif /* GL_EXT_separate_shader_objects */
  6912. #ifndef GL_EXT_separate_specular_color
  6913. #define GL_EXT_separate_specular_color 1
  6914. #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
  6915. #define GL_SINGLE_COLOR_EXT 0x81F9
  6916. #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
  6917. #endif /* GL_EXT_separate_specular_color */
  6918. #ifndef GL_EXT_shader_image_load_formatted
  6919. #define GL_EXT_shader_image_load_formatted 1
  6920. #endif /* GL_EXT_shader_image_load_formatted */
  6921. #ifndef GL_EXT_shader_image_load_store
  6922. #define GL_EXT_shader_image_load_store 1
  6923. #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
  6924. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
  6925. #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
  6926. #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
  6927. #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
  6928. #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
  6929. #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
  6930. #define GL_IMAGE_1D_EXT 0x904C
  6931. #define GL_IMAGE_2D_EXT 0x904D
  6932. #define GL_IMAGE_3D_EXT 0x904E
  6933. #define GL_IMAGE_2D_RECT_EXT 0x904F
  6934. #define GL_IMAGE_CUBE_EXT 0x9050
  6935. #define GL_IMAGE_BUFFER_EXT 0x9051
  6936. #define GL_IMAGE_1D_ARRAY_EXT 0x9052
  6937. #define GL_IMAGE_2D_ARRAY_EXT 0x9053
  6938. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  6939. #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
  6940. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
  6941. #define GL_INT_IMAGE_1D_EXT 0x9057
  6942. #define GL_INT_IMAGE_2D_EXT 0x9058
  6943. #define GL_INT_IMAGE_3D_EXT 0x9059
  6944. #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
  6945. #define GL_INT_IMAGE_CUBE_EXT 0x905B
  6946. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  6947. #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
  6948. #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
  6949. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  6950. #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
  6951. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
  6952. #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
  6953. #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
  6954. #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
  6955. #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
  6956. #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
  6957. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  6958. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
  6959. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
  6960. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  6961. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
  6962. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
  6963. #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
  6964. #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
  6965. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
  6966. #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
  6967. #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
  6968. #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
  6969. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
  6970. #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
  6971. #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
  6972. #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
  6973. #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
  6974. #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
  6975. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
  6976. #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
  6977. #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
  6978. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  6979. typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
  6980. #ifdef GL_GLEXT_PROTOTYPES
  6981. GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  6982. GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
  6983. #endif
  6984. #endif /* GL_EXT_shader_image_load_store */
  6985. #ifndef GL_EXT_shader_integer_mix
  6986. #define GL_EXT_shader_integer_mix 1
  6987. #endif /* GL_EXT_shader_integer_mix */
  6988. #ifndef GL_EXT_shadow_funcs
  6989. #define GL_EXT_shadow_funcs 1
  6990. #endif /* GL_EXT_shadow_funcs */
  6991. #ifndef GL_EXT_shared_texture_palette
  6992. #define GL_EXT_shared_texture_palette 1
  6993. #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
  6994. #endif /* GL_EXT_shared_texture_palette */
  6995. #ifndef GL_EXT_stencil_clear_tag
  6996. #define GL_EXT_stencil_clear_tag 1
  6997. #define GL_STENCIL_TAG_BITS_EXT 0x88F2
  6998. #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
  6999. typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
  7000. #ifdef GL_GLEXT_PROTOTYPES
  7001. GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
  7002. #endif
  7003. #endif /* GL_EXT_stencil_clear_tag */
  7004. #ifndef GL_EXT_stencil_two_side
  7005. #define GL_EXT_stencil_two_side 1
  7006. #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
  7007. #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
  7008. typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
  7009. #ifdef GL_GLEXT_PROTOTYPES
  7010. GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
  7011. #endif
  7012. #endif /* GL_EXT_stencil_two_side */
  7013. #ifndef GL_EXT_stencil_wrap
  7014. #define GL_EXT_stencil_wrap 1
  7015. #define GL_INCR_WRAP_EXT 0x8507
  7016. #define GL_DECR_WRAP_EXT 0x8508
  7017. #endif /* GL_EXT_stencil_wrap */
  7018. #ifndef GL_EXT_subtexture
  7019. #define GL_EXT_subtexture 1
  7020. typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  7021. typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  7022. #ifdef GL_GLEXT_PROTOTYPES
  7023. GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  7024. GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  7025. #endif
  7026. #endif /* GL_EXT_subtexture */
  7027. #ifndef GL_EXT_texture
  7028. #define GL_EXT_texture 1
  7029. #define GL_ALPHA4_EXT 0x803B
  7030. #define GL_ALPHA8_EXT 0x803C
  7031. #define GL_ALPHA12_EXT 0x803D
  7032. #define GL_ALPHA16_EXT 0x803E
  7033. #define GL_LUMINANCE4_EXT 0x803F
  7034. #define GL_LUMINANCE8_EXT 0x8040
  7035. #define GL_LUMINANCE12_EXT 0x8041
  7036. #define GL_LUMINANCE16_EXT 0x8042
  7037. #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
  7038. #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
  7039. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  7040. #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
  7041. #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
  7042. #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
  7043. #define GL_INTENSITY_EXT 0x8049
  7044. #define GL_INTENSITY4_EXT 0x804A
  7045. #define GL_INTENSITY8_EXT 0x804B
  7046. #define GL_INTENSITY12_EXT 0x804C
  7047. #define GL_INTENSITY16_EXT 0x804D
  7048. #define GL_RGB2_EXT 0x804E
  7049. #define GL_RGB4_EXT 0x804F
  7050. #define GL_RGB5_EXT 0x8050
  7051. #define GL_RGB8_EXT 0x8051
  7052. #define GL_RGB10_EXT 0x8052
  7053. #define GL_RGB12_EXT 0x8053
  7054. #define GL_RGB16_EXT 0x8054
  7055. #define GL_RGBA2_EXT 0x8055
  7056. #define GL_RGBA4_EXT 0x8056
  7057. #define GL_RGB5_A1_EXT 0x8057
  7058. #define GL_RGBA8_EXT 0x8058
  7059. #define GL_RGB10_A2_EXT 0x8059
  7060. #define GL_RGBA12_EXT 0x805A
  7061. #define GL_RGBA16_EXT 0x805B
  7062. #define GL_TEXTURE_RED_SIZE_EXT 0x805C
  7063. #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
  7064. #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
  7065. #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
  7066. #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
  7067. #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
  7068. #define GL_REPLACE_EXT 0x8062
  7069. #define GL_PROXY_TEXTURE_1D_EXT 0x8063
  7070. #define GL_PROXY_TEXTURE_2D_EXT 0x8064
  7071. #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
  7072. #endif /* GL_EXT_texture */
  7073. #ifndef GL_EXT_texture3D
  7074. #define GL_EXT_texture3D 1
  7075. #define GL_PACK_SKIP_IMAGES_EXT 0x806B
  7076. #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
  7077. #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
  7078. #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
  7079. #define GL_TEXTURE_3D_EXT 0x806F
  7080. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  7081. #define GL_TEXTURE_DEPTH_EXT 0x8071
  7082. #define GL_TEXTURE_WRAP_R_EXT 0x8072
  7083. #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
  7084. typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  7085. 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 void *pixels);
  7086. #ifdef GL_GLEXT_PROTOTYPES
  7087. GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  7088. 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 void *pixels);
  7089. #endif
  7090. #endif /* GL_EXT_texture3D */
  7091. #ifndef GL_EXT_texture_array
  7092. #define GL_EXT_texture_array 1
  7093. #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
  7094. #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
  7095. #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
  7096. #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
  7097. #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
  7098. #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
  7099. #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
  7100. #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
  7101. #endif /* GL_EXT_texture_array */
  7102. #ifndef GL_EXT_texture_buffer_object
  7103. #define GL_EXT_texture_buffer_object 1
  7104. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  7105. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  7106. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  7107. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  7108. #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
  7109. typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  7110. #ifdef GL_GLEXT_PROTOTYPES
  7111. GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
  7112. #endif
  7113. #endif /* GL_EXT_texture_buffer_object */
  7114. #ifndef GL_EXT_texture_compression_latc
  7115. #define GL_EXT_texture_compression_latc 1
  7116. #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
  7117. #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
  7118. #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
  7119. #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
  7120. #endif /* GL_EXT_texture_compression_latc */
  7121. #ifndef GL_EXT_texture_compression_rgtc
  7122. #define GL_EXT_texture_compression_rgtc 1
  7123. #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
  7124. #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  7125. #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  7126. #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  7127. #endif /* GL_EXT_texture_compression_rgtc */
  7128. #ifndef GL_EXT_texture_compression_s3tc
  7129. #define GL_EXT_texture_compression_s3tc 1
  7130. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  7131. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  7132. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  7133. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  7134. #endif /* GL_EXT_texture_compression_s3tc */
  7135. #ifndef GL_EXT_texture_cube_map
  7136. #define GL_EXT_texture_cube_map 1
  7137. #define GL_NORMAL_MAP_EXT 0x8511
  7138. #define GL_REFLECTION_MAP_EXT 0x8512
  7139. #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
  7140. #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
  7141. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  7142. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  7143. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  7144. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  7145. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  7146. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  7147. #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
  7148. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
  7149. #endif /* GL_EXT_texture_cube_map */
  7150. #ifndef GL_EXT_texture_env_add
  7151. #define GL_EXT_texture_env_add 1
  7152. #endif /* GL_EXT_texture_env_add */
  7153. #ifndef GL_EXT_texture_env_combine
  7154. #define GL_EXT_texture_env_combine 1
  7155. #define GL_COMBINE_EXT 0x8570
  7156. #define GL_COMBINE_RGB_EXT 0x8571
  7157. #define GL_COMBINE_ALPHA_EXT 0x8572
  7158. #define GL_RGB_SCALE_EXT 0x8573
  7159. #define GL_ADD_SIGNED_EXT 0x8574
  7160. #define GL_INTERPOLATE_EXT 0x8575
  7161. #define GL_CONSTANT_EXT 0x8576
  7162. #define GL_PRIMARY_COLOR_EXT 0x8577
  7163. #define GL_PREVIOUS_EXT 0x8578
  7164. #define GL_SOURCE0_RGB_EXT 0x8580
  7165. #define GL_SOURCE1_RGB_EXT 0x8581
  7166. #define GL_SOURCE2_RGB_EXT 0x8582
  7167. #define GL_SOURCE0_ALPHA_EXT 0x8588
  7168. #define GL_SOURCE1_ALPHA_EXT 0x8589
  7169. #define GL_SOURCE2_ALPHA_EXT 0x858A
  7170. #define GL_OPERAND0_RGB_EXT 0x8590
  7171. #define GL_OPERAND1_RGB_EXT 0x8591
  7172. #define GL_OPERAND2_RGB_EXT 0x8592
  7173. #define GL_OPERAND0_ALPHA_EXT 0x8598
  7174. #define GL_OPERAND1_ALPHA_EXT 0x8599
  7175. #define GL_OPERAND2_ALPHA_EXT 0x859A
  7176. #endif /* GL_EXT_texture_env_combine */
  7177. #ifndef GL_EXT_texture_env_dot3
  7178. #define GL_EXT_texture_env_dot3 1
  7179. #define GL_DOT3_RGB_EXT 0x8740
  7180. #define GL_DOT3_RGBA_EXT 0x8741
  7181. #endif /* GL_EXT_texture_env_dot3 */
  7182. #ifndef GL_EXT_texture_filter_anisotropic
  7183. #define GL_EXT_texture_filter_anisotropic 1
  7184. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  7185. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  7186. #endif /* GL_EXT_texture_filter_anisotropic */
  7187. #ifndef GL_EXT_texture_integer
  7188. #define GL_EXT_texture_integer 1
  7189. #define GL_RGBA32UI_EXT 0x8D70
  7190. #define GL_RGB32UI_EXT 0x8D71
  7191. #define GL_ALPHA32UI_EXT 0x8D72
  7192. #define GL_INTENSITY32UI_EXT 0x8D73
  7193. #define GL_LUMINANCE32UI_EXT 0x8D74
  7194. #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
  7195. #define GL_RGBA16UI_EXT 0x8D76
  7196. #define GL_RGB16UI_EXT 0x8D77
  7197. #define GL_ALPHA16UI_EXT 0x8D78
  7198. #define GL_INTENSITY16UI_EXT 0x8D79
  7199. #define GL_LUMINANCE16UI_EXT 0x8D7A
  7200. #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
  7201. #define GL_RGBA8UI_EXT 0x8D7C
  7202. #define GL_RGB8UI_EXT 0x8D7D
  7203. #define GL_ALPHA8UI_EXT 0x8D7E
  7204. #define GL_INTENSITY8UI_EXT 0x8D7F
  7205. #define GL_LUMINANCE8UI_EXT 0x8D80
  7206. #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
  7207. #define GL_RGBA32I_EXT 0x8D82
  7208. #define GL_RGB32I_EXT 0x8D83
  7209. #define GL_ALPHA32I_EXT 0x8D84
  7210. #define GL_INTENSITY32I_EXT 0x8D85
  7211. #define GL_LUMINANCE32I_EXT 0x8D86
  7212. #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
  7213. #define GL_RGBA16I_EXT 0x8D88
  7214. #define GL_RGB16I_EXT 0x8D89
  7215. #define GL_ALPHA16I_EXT 0x8D8A
  7216. #define GL_INTENSITY16I_EXT 0x8D8B
  7217. #define GL_LUMINANCE16I_EXT 0x8D8C
  7218. #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
  7219. #define GL_RGBA8I_EXT 0x8D8E
  7220. #define GL_RGB8I_EXT 0x8D8F
  7221. #define GL_ALPHA8I_EXT 0x8D90
  7222. #define GL_INTENSITY8I_EXT 0x8D91
  7223. #define GL_LUMINANCE8I_EXT 0x8D92
  7224. #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
  7225. #define GL_RED_INTEGER_EXT 0x8D94
  7226. #define GL_GREEN_INTEGER_EXT 0x8D95
  7227. #define GL_BLUE_INTEGER_EXT 0x8D96
  7228. #define GL_ALPHA_INTEGER_EXT 0x8D97
  7229. #define GL_RGB_INTEGER_EXT 0x8D98
  7230. #define GL_RGBA_INTEGER_EXT 0x8D99
  7231. #define GL_BGR_INTEGER_EXT 0x8D9A
  7232. #define GL_BGRA_INTEGER_EXT 0x8D9B
  7233. #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
  7234. #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
  7235. #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
  7236. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  7237. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  7238. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7239. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  7240. typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  7241. typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  7242. #ifdef GL_GLEXT_PROTOTYPES
  7243. GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
  7244. GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
  7245. GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
  7246. GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
  7247. GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
  7248. GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  7249. #endif
  7250. #endif /* GL_EXT_texture_integer */
  7251. #ifndef GL_EXT_texture_lod_bias
  7252. #define GL_EXT_texture_lod_bias 1
  7253. #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
  7254. #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
  7255. #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
  7256. #endif /* GL_EXT_texture_lod_bias */
  7257. #ifndef GL_EXT_texture_mirror_clamp
  7258. #define GL_EXT_texture_mirror_clamp 1
  7259. #define GL_MIRROR_CLAMP_EXT 0x8742
  7260. #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
  7261. #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
  7262. #endif /* GL_EXT_texture_mirror_clamp */
  7263. #ifndef GL_EXT_texture_object
  7264. #define GL_EXT_texture_object 1
  7265. #define GL_TEXTURE_PRIORITY_EXT 0x8066
  7266. #define GL_TEXTURE_RESIDENT_EXT 0x8067
  7267. #define GL_TEXTURE_1D_BINDING_EXT 0x8068
  7268. #define GL_TEXTURE_2D_BINDING_EXT 0x8069
  7269. #define GL_TEXTURE_3D_BINDING_EXT 0x806A
  7270. typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  7271. typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  7272. typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  7273. typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  7274. typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  7275. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  7276. #ifdef GL_GLEXT_PROTOTYPES
  7277. GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
  7278. GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
  7279. GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
  7280. GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
  7281. GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
  7282. GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  7283. #endif
  7284. #endif /* GL_EXT_texture_object */
  7285. #ifndef GL_EXT_texture_perturb_normal
  7286. #define GL_EXT_texture_perturb_normal 1
  7287. #define GL_PERTURB_EXT 0x85AE
  7288. #define GL_TEXTURE_NORMAL_EXT 0x85AF
  7289. typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  7290. #ifdef GL_GLEXT_PROTOTYPES
  7291. GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
  7292. #endif
  7293. #endif /* GL_EXT_texture_perturb_normal */
  7294. #ifndef GL_EXT_texture_sRGB
  7295. #define GL_EXT_texture_sRGB 1
  7296. #define GL_SRGB_EXT 0x8C40
  7297. #define GL_SRGB8_EXT 0x8C41
  7298. #define GL_SRGB_ALPHA_EXT 0x8C42
  7299. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  7300. #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
  7301. #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
  7302. #define GL_SLUMINANCE_EXT 0x8C46
  7303. #define GL_SLUMINANCE8_EXT 0x8C47
  7304. #define GL_COMPRESSED_SRGB_EXT 0x8C48
  7305. #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
  7306. #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
  7307. #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
  7308. #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
  7309. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  7310. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  7311. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  7312. #endif /* GL_EXT_texture_sRGB */
  7313. #ifndef GL_EXT_texture_sRGB_decode
  7314. #define GL_EXT_texture_sRGB_decode 1
  7315. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  7316. #define GL_DECODE_EXT 0x8A49
  7317. #define GL_SKIP_DECODE_EXT 0x8A4A
  7318. #endif /* GL_EXT_texture_sRGB_decode */
  7319. #ifndef GL_EXT_texture_shared_exponent
  7320. #define GL_EXT_texture_shared_exponent 1
  7321. #define GL_RGB9_E5_EXT 0x8C3D
  7322. #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
  7323. #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
  7324. #endif /* GL_EXT_texture_shared_exponent */
  7325. #ifndef GL_EXT_texture_snorm
  7326. #define GL_EXT_texture_snorm 1
  7327. #define GL_ALPHA_SNORM 0x9010
  7328. #define GL_LUMINANCE_SNORM 0x9011
  7329. #define GL_LUMINANCE_ALPHA_SNORM 0x9012
  7330. #define GL_INTENSITY_SNORM 0x9013
  7331. #define GL_ALPHA8_SNORM 0x9014
  7332. #define GL_LUMINANCE8_SNORM 0x9015
  7333. #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
  7334. #define GL_INTENSITY8_SNORM 0x9017
  7335. #define GL_ALPHA16_SNORM 0x9018
  7336. #define GL_LUMINANCE16_SNORM 0x9019
  7337. #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
  7338. #define GL_INTENSITY16_SNORM 0x901B
  7339. #define GL_RED_SNORM 0x8F90
  7340. #define GL_RG_SNORM 0x8F91
  7341. #define GL_RGB_SNORM 0x8F92
  7342. #define GL_RGBA_SNORM 0x8F93
  7343. #endif /* GL_EXT_texture_snorm */
  7344. #ifndef GL_EXT_texture_swizzle
  7345. #define GL_EXT_texture_swizzle 1
  7346. #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
  7347. #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
  7348. #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
  7349. #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
  7350. #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
  7351. #endif /* GL_EXT_texture_swizzle */
  7352. #ifndef GL_EXT_timer_query
  7353. #define GL_EXT_timer_query 1
  7354. #define GL_TIME_ELAPSED_EXT 0x88BF
  7355. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
  7356. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
  7357. #ifdef GL_GLEXT_PROTOTYPES
  7358. GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
  7359. GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
  7360. #endif
  7361. #endif /* GL_EXT_timer_query */
  7362. #ifndef GL_EXT_transform_feedback
  7363. #define GL_EXT_transform_feedback 1
  7364. #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
  7365. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
  7366. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
  7367. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
  7368. #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
  7369. #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
  7370. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  7371. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
  7372. #define GL_RASTERIZER_DISCARD_EXT 0x8C89
  7373. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
  7374. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
  7375. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
  7376. #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
  7377. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
  7378. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
  7379. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
  7380. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
  7381. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  7382. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  7383. typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
  7384. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  7385. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  7386. #ifdef GL_GLEXT_PROTOTYPES
  7387. GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
  7388. GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
  7389. GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  7390. GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  7391. GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
  7392. GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  7393. GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  7394. #endif
  7395. #endif /* GL_EXT_transform_feedback */
  7396. #ifndef GL_EXT_vertex_array
  7397. #define GL_EXT_vertex_array 1
  7398. #define GL_VERTEX_ARRAY_EXT 0x8074
  7399. #define GL_NORMAL_ARRAY_EXT 0x8075
  7400. #define GL_COLOR_ARRAY_EXT 0x8076
  7401. #define GL_INDEX_ARRAY_EXT 0x8077
  7402. #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
  7403. #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
  7404. #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
  7405. #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
  7406. #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
  7407. #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
  7408. #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
  7409. #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
  7410. #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
  7411. #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
  7412. #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
  7413. #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
  7414. #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
  7415. #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
  7416. #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
  7417. #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
  7418. #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
  7419. #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
  7420. #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  7421. #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
  7422. #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
  7423. #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
  7424. #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
  7425. #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
  7426. #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
  7427. #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
  7428. #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  7429. #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
  7430. typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  7431. typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7432. typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  7433. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  7434. typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
  7435. typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7436. typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7437. typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7438. typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7439. #ifdef GL_GLEXT_PROTOTYPES
  7440. GLAPI void APIENTRY glArrayElementEXT (GLint i);
  7441. GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7442. GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
  7443. GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
  7444. GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
  7445. GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7446. GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7447. GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7448. GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7449. #endif
  7450. #endif /* GL_EXT_vertex_array */
  7451. #ifndef GL_EXT_vertex_array_bgra
  7452. #define GL_EXT_vertex_array_bgra 1
  7453. #endif /* GL_EXT_vertex_array_bgra */
  7454. #ifndef GL_EXT_vertex_attrib_64bit
  7455. #define GL_EXT_vertex_attrib_64bit 1
  7456. #define GL_DOUBLE_VEC2_EXT 0x8FFC
  7457. #define GL_DOUBLE_VEC3_EXT 0x8FFD
  7458. #define GL_DOUBLE_VEC4_EXT 0x8FFE
  7459. #define GL_DOUBLE_MAT2_EXT 0x8F46
  7460. #define GL_DOUBLE_MAT3_EXT 0x8F47
  7461. #define GL_DOUBLE_MAT4_EXT 0x8F48
  7462. #define GL_DOUBLE_MAT2x3_EXT 0x8F49
  7463. #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
  7464. #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
  7465. #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
  7466. #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
  7467. #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
  7468. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
  7469. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
  7470. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  7471. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7472. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
  7473. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
  7474. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
  7475. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
  7476. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7477. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
  7478. #ifdef GL_GLEXT_PROTOTYPES
  7479. GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
  7480. GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
  7481. GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  7482. GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7483. GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
  7484. GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
  7485. GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
  7486. GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
  7487. GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7488. GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
  7489. #endif
  7490. #endif /* GL_EXT_vertex_attrib_64bit */
  7491. #ifndef GL_EXT_vertex_shader
  7492. #define GL_EXT_vertex_shader 1
  7493. #define GL_VERTEX_SHADER_EXT 0x8780
  7494. #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
  7495. #define GL_OP_INDEX_EXT 0x8782
  7496. #define GL_OP_NEGATE_EXT 0x8783
  7497. #define GL_OP_DOT3_EXT 0x8784
  7498. #define GL_OP_DOT4_EXT 0x8785
  7499. #define GL_OP_MUL_EXT 0x8786
  7500. #define GL_OP_ADD_EXT 0x8787
  7501. #define GL_OP_MADD_EXT 0x8788
  7502. #define GL_OP_FRAC_EXT 0x8789
  7503. #define GL_OP_MAX_EXT 0x878A
  7504. #define GL_OP_MIN_EXT 0x878B
  7505. #define GL_OP_SET_GE_EXT 0x878C
  7506. #define GL_OP_SET_LT_EXT 0x878D
  7507. #define GL_OP_CLAMP_EXT 0x878E
  7508. #define GL_OP_FLOOR_EXT 0x878F
  7509. #define GL_OP_ROUND_EXT 0x8790
  7510. #define GL_OP_EXP_BASE_2_EXT 0x8791
  7511. #define GL_OP_LOG_BASE_2_EXT 0x8792
  7512. #define GL_OP_POWER_EXT 0x8793
  7513. #define GL_OP_RECIP_EXT 0x8794
  7514. #define GL_OP_RECIP_SQRT_EXT 0x8795
  7515. #define GL_OP_SUB_EXT 0x8796
  7516. #define GL_OP_CROSS_PRODUCT_EXT 0x8797
  7517. #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
  7518. #define GL_OP_MOV_EXT 0x8799
  7519. #define GL_OUTPUT_VERTEX_EXT 0x879A
  7520. #define GL_OUTPUT_COLOR0_EXT 0x879B
  7521. #define GL_OUTPUT_COLOR1_EXT 0x879C
  7522. #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
  7523. #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
  7524. #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
  7525. #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
  7526. #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
  7527. #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
  7528. #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
  7529. #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
  7530. #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
  7531. #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
  7532. #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
  7533. #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
  7534. #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
  7535. #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
  7536. #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
  7537. #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
  7538. #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
  7539. #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
  7540. #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
  7541. #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
  7542. #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
  7543. #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
  7544. #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
  7545. #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
  7546. #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
  7547. #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
  7548. #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
  7549. #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
  7550. #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
  7551. #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
  7552. #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
  7553. #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
  7554. #define GL_OUTPUT_FOG_EXT 0x87BD
  7555. #define GL_SCALAR_EXT 0x87BE
  7556. #define GL_VECTOR_EXT 0x87BF
  7557. #define GL_MATRIX_EXT 0x87C0
  7558. #define GL_VARIANT_EXT 0x87C1
  7559. #define GL_INVARIANT_EXT 0x87C2
  7560. #define GL_LOCAL_CONSTANT_EXT 0x87C3
  7561. #define GL_LOCAL_EXT 0x87C4
  7562. #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  7563. #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  7564. #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  7565. #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  7566. #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
  7567. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  7568. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  7569. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
  7570. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
  7571. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  7572. #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  7573. #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
  7574. #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
  7575. #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  7576. #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
  7577. #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
  7578. #define GL_X_EXT 0x87D5
  7579. #define GL_Y_EXT 0x87D6
  7580. #define GL_Z_EXT 0x87D7
  7581. #define GL_W_EXT 0x87D8
  7582. #define GL_NEGATIVE_X_EXT 0x87D9
  7583. #define GL_NEGATIVE_Y_EXT 0x87DA
  7584. #define GL_NEGATIVE_Z_EXT 0x87DB
  7585. #define GL_NEGATIVE_W_EXT 0x87DC
  7586. #define GL_ZERO_EXT 0x87DD
  7587. #define GL_ONE_EXT 0x87DE
  7588. #define GL_NEGATIVE_ONE_EXT 0x87DF
  7589. #define GL_NORMALIZED_RANGE_EXT 0x87E0
  7590. #define GL_FULL_RANGE_EXT 0x87E1
  7591. #define GL_CURRENT_VERTEX_EXT 0x87E2
  7592. #define GL_MVP_MATRIX_EXT 0x87E3
  7593. #define GL_VARIANT_VALUE_EXT 0x87E4
  7594. #define GL_VARIANT_DATATYPE_EXT 0x87E5
  7595. #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
  7596. #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
  7597. #define GL_VARIANT_ARRAY_EXT 0x87E8
  7598. #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
  7599. #define GL_INVARIANT_VALUE_EXT 0x87EA
  7600. #define GL_INVARIANT_DATATYPE_EXT 0x87EB
  7601. #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
  7602. #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
  7603. typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
  7604. typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
  7605. typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
  7606. typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
  7607. typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
  7608. typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
  7609. typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  7610. typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  7611. typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  7612. typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  7613. typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  7614. typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  7615. typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  7616. typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
  7617. typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
  7618. typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
  7619. typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
  7620. typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
  7621. typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
  7622. typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
  7623. typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
  7624. typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
  7625. typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
  7626. typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
  7627. typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  7628. typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  7629. typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
  7630. typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
  7631. typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
  7632. typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
  7633. typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
  7634. typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
  7635. typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  7636. typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  7637. typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  7638. typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
  7639. typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  7640. typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  7641. typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  7642. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  7643. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  7644. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  7645. #ifdef GL_GLEXT_PROTOTYPES
  7646. GLAPI void APIENTRY glBeginVertexShaderEXT (void);
  7647. GLAPI void APIENTRY glEndVertexShaderEXT (void);
  7648. GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
  7649. GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
  7650. GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
  7651. GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
  7652. GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  7653. GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  7654. GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  7655. GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  7656. GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
  7657. GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
  7658. GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  7659. GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
  7660. GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
  7661. GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
  7662. GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
  7663. GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
  7664. GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
  7665. GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
  7666. GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
  7667. GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
  7668. GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
  7669. GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
  7670. GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
  7671. GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
  7672. GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
  7673. GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
  7674. GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
  7675. GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
  7676. GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
  7677. GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
  7678. GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  7679. GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  7680. GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  7681. GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
  7682. GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  7683. GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  7684. GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  7685. GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  7686. GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
  7687. GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  7688. #endif
  7689. #endif /* GL_EXT_vertex_shader */
  7690. #ifndef GL_EXT_vertex_weighting
  7691. #define GL_EXT_vertex_weighting 1
  7692. #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
  7693. #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
  7694. #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
  7695. #define GL_MODELVIEW1_MATRIX_EXT 0x8506
  7696. #define GL_VERTEX_WEIGHTING_EXT 0x8509
  7697. #define GL_MODELVIEW0_EXT 0x1700
  7698. #define GL_MODELVIEW1_EXT 0x850A
  7699. #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
  7700. #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
  7701. #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
  7702. #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
  7703. #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  7704. #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  7705. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  7706. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  7707. typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  7708. #ifdef GL_GLEXT_PROTOTYPES
  7709. GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
  7710. GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
  7711. GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
  7712. #endif
  7713. #endif /* GL_EXT_vertex_weighting */
  7714. #ifndef GL_EXT_x11_sync_object
  7715. #define GL_EXT_x11_sync_object 1
  7716. #define GL_SYNC_X11_FENCE_EXT 0x90E1
  7717. typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  7718. #ifdef GL_GLEXT_PROTOTYPES
  7719. GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  7720. #endif
  7721. #endif /* GL_EXT_x11_sync_object */
  7722. #ifndef GL_GREMEDY_frame_terminator
  7723. #define GL_GREMEDY_frame_terminator 1
  7724. typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
  7725. #ifdef GL_GLEXT_PROTOTYPES
  7726. GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
  7727. #endif
  7728. #endif /* GL_GREMEDY_frame_terminator */
  7729. #ifndef GL_GREMEDY_string_marker
  7730. #define GL_GREMEDY_string_marker 1
  7731. typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
  7732. #ifdef GL_GLEXT_PROTOTYPES
  7733. GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
  7734. #endif
  7735. #endif /* GL_GREMEDY_string_marker */
  7736. #ifndef GL_HP_convolution_border_modes
  7737. #define GL_HP_convolution_border_modes 1
  7738. #define GL_IGNORE_BORDER_HP 0x8150
  7739. #define GL_CONSTANT_BORDER_HP 0x8151
  7740. #define GL_REPLICATE_BORDER_HP 0x8153
  7741. #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
  7742. #endif /* GL_HP_convolution_border_modes */
  7743. #ifndef GL_HP_image_transform
  7744. #define GL_HP_image_transform 1
  7745. #define GL_IMAGE_SCALE_X_HP 0x8155
  7746. #define GL_IMAGE_SCALE_Y_HP 0x8156
  7747. #define GL_IMAGE_TRANSLATE_X_HP 0x8157
  7748. #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
  7749. #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
  7750. #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
  7751. #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
  7752. #define GL_IMAGE_MAG_FILTER_HP 0x815C
  7753. #define GL_IMAGE_MIN_FILTER_HP 0x815D
  7754. #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
  7755. #define GL_CUBIC_HP 0x815F
  7756. #define GL_AVERAGE_HP 0x8160
  7757. #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
  7758. #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  7759. #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  7760. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  7761. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  7762. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  7763. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  7764. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  7765. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  7766. #ifdef GL_GLEXT_PROTOTYPES
  7767. GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
  7768. GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
  7769. GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
  7770. GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
  7771. GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
  7772. GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
  7773. #endif
  7774. #endif /* GL_HP_image_transform */
  7775. #ifndef GL_HP_occlusion_test
  7776. #define GL_HP_occlusion_test 1
  7777. #define GL_OCCLUSION_TEST_HP 0x8165
  7778. #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
  7779. #endif /* GL_HP_occlusion_test */
  7780. #ifndef GL_HP_texture_lighting
  7781. #define GL_HP_texture_lighting 1
  7782. #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
  7783. #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
  7784. #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
  7785. #endif /* GL_HP_texture_lighting */
  7786. #ifndef GL_IBM_cull_vertex
  7787. #define GL_IBM_cull_vertex 1
  7788. #define GL_CULL_VERTEX_IBM 103050
  7789. #endif /* GL_IBM_cull_vertex */
  7790. #ifndef GL_IBM_multimode_draw_arrays
  7791. #define GL_IBM_multimode_draw_arrays 1
  7792. typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  7793. typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
  7794. #ifdef GL_GLEXT_PROTOTYPES
  7795. GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  7796. GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
  7797. #endif
  7798. #endif /* GL_IBM_multimode_draw_arrays */
  7799. #ifndef GL_IBM_rasterpos_clip
  7800. #define GL_IBM_rasterpos_clip 1
  7801. #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
  7802. #endif /* GL_IBM_rasterpos_clip */
  7803. #ifndef GL_IBM_static_data
  7804. #define GL_IBM_static_data 1
  7805. #define GL_ALL_STATIC_DATA_IBM 103060
  7806. #define GL_STATIC_VERTEX_ARRAY_IBM 103061
  7807. typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
  7808. #ifdef GL_GLEXT_PROTOTYPES
  7809. GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
  7810. #endif
  7811. #endif /* GL_IBM_static_data */
  7812. #ifndef GL_IBM_texture_mirrored_repeat
  7813. #define GL_IBM_texture_mirrored_repeat 1
  7814. #define GL_MIRRORED_REPEAT_IBM 0x8370
  7815. #endif /* GL_IBM_texture_mirrored_repeat */
  7816. #ifndef GL_IBM_vertex_array_lists
  7817. #define GL_IBM_vertex_array_lists 1
  7818. #define GL_VERTEX_ARRAY_LIST_IBM 103070
  7819. #define GL_NORMAL_ARRAY_LIST_IBM 103071
  7820. #define GL_COLOR_ARRAY_LIST_IBM 103072
  7821. #define GL_INDEX_ARRAY_LIST_IBM 103073
  7822. #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
  7823. #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
  7824. #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
  7825. #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  7826. #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
  7827. #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
  7828. #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
  7829. #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
  7830. #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  7831. #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  7832. #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  7833. #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  7834. typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7835. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7836. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
  7837. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7838. typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7839. typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7840. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7841. typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7842. #ifdef GL_GLEXT_PROTOTYPES
  7843. GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7844. GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7845. GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
  7846. GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7847. GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7848. GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7849. GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7850. GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7851. #endif
  7852. #endif /* GL_IBM_vertex_array_lists */
  7853. #ifndef GL_INGR_blend_func_separate
  7854. #define GL_INGR_blend_func_separate 1
  7855. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  7856. #ifdef GL_GLEXT_PROTOTYPES
  7857. GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  7858. #endif
  7859. #endif /* GL_INGR_blend_func_separate */
  7860. #ifndef GL_INGR_color_clamp
  7861. #define GL_INGR_color_clamp 1
  7862. #define GL_RED_MIN_CLAMP_INGR 0x8560
  7863. #define GL_GREEN_MIN_CLAMP_INGR 0x8561
  7864. #define GL_BLUE_MIN_CLAMP_INGR 0x8562
  7865. #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
  7866. #define GL_RED_MAX_CLAMP_INGR 0x8564
  7867. #define GL_GREEN_MAX_CLAMP_INGR 0x8565
  7868. #define GL_BLUE_MAX_CLAMP_INGR 0x8566
  7869. #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
  7870. #endif /* GL_INGR_color_clamp */
  7871. #ifndef GL_INGR_interlace_read
  7872. #define GL_INGR_interlace_read 1
  7873. #define GL_INTERLACE_READ_INGR 0x8568
  7874. #endif /* GL_INGR_interlace_read */
  7875. #ifndef GL_INTEL_fragment_shader_ordering
  7876. #define GL_INTEL_fragment_shader_ordering 1
  7877. #endif /* GL_INTEL_fragment_shader_ordering */
  7878. #ifndef GL_INTEL_map_texture
  7879. #define GL_INTEL_map_texture 1
  7880. #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
  7881. #define GL_LAYOUT_DEFAULT_INTEL 0
  7882. #define GL_LAYOUT_LINEAR_INTEL 1
  7883. #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
  7884. typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
  7885. typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
  7886. typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
  7887. #ifdef GL_GLEXT_PROTOTYPES
  7888. GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
  7889. GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
  7890. GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
  7891. #endif
  7892. #endif /* GL_INTEL_map_texture */
  7893. #ifndef GL_INTEL_parallel_arrays
  7894. #define GL_INTEL_parallel_arrays 1
  7895. #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
  7896. #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  7897. #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  7898. #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  7899. #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  7900. typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  7901. typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
  7902. typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  7903. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  7904. #ifdef GL_GLEXT_PROTOTYPES
  7905. GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
  7906. GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
  7907. GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
  7908. GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
  7909. #endif
  7910. #endif /* GL_INTEL_parallel_arrays */
  7911. #ifndef GL_INTEL_performance_query
  7912. #define GL_INTEL_performance_query 1
  7913. #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
  7914. #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
  7915. #define GL_PERFQUERY_WAIT_INTEL 0x83FB
  7916. #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
  7917. #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
  7918. #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
  7919. #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
  7920. #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
  7921. #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
  7922. #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
  7923. #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
  7924. #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
  7925. #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
  7926. #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
  7927. #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
  7928. #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
  7929. #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
  7930. #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
  7931. #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
  7932. #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
  7933. typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
  7934. typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
  7935. typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
  7936. typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
  7937. typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
  7938. typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
  7939. typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
  7940. typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
  7941. typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
  7942. typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  7943. #ifdef GL_GLEXT_PROTOTYPES
  7944. GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
  7945. GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
  7946. GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
  7947. GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
  7948. GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
  7949. GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
  7950. GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
  7951. GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
  7952. GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
  7953. GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  7954. #endif
  7955. #endif /* GL_INTEL_performance_query */
  7956. #ifndef GL_MESAX_texture_stack
  7957. #define GL_MESAX_texture_stack 1
  7958. #define GL_TEXTURE_1D_STACK_MESAX 0x8759
  7959. #define GL_TEXTURE_2D_STACK_MESAX 0x875A
  7960. #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
  7961. #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
  7962. #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
  7963. #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
  7964. #endif /* GL_MESAX_texture_stack */
  7965. #ifndef GL_MESA_pack_invert
  7966. #define GL_MESA_pack_invert 1
  7967. #define GL_PACK_INVERT_MESA 0x8758
  7968. #endif /* GL_MESA_pack_invert */
  7969. #ifndef GL_MESA_resize_buffers
  7970. #define GL_MESA_resize_buffers 1
  7971. typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  7972. #ifdef GL_GLEXT_PROTOTYPES
  7973. GLAPI void APIENTRY glResizeBuffersMESA (void);
  7974. #endif
  7975. #endif /* GL_MESA_resize_buffers */
  7976. #ifndef GL_MESA_window_pos
  7977. #define GL_MESA_window_pos 1
  7978. typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  7979. typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  7980. typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  7981. typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  7982. typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  7983. typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  7984. typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  7985. typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  7986. typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  7987. typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  7988. typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  7989. typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  7990. typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  7991. typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  7992. typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  7993. typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  7994. typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7995. typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  7996. typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7997. typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  7998. typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  7999. typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  8000. typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  8001. typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  8002. #ifdef GL_GLEXT_PROTOTYPES
  8003. GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
  8004. GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
  8005. GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
  8006. GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
  8007. GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
  8008. GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
  8009. GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
  8010. GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
  8011. GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
  8012. GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
  8013. GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
  8014. GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
  8015. GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
  8016. GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
  8017. GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
  8018. GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
  8019. GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8020. GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
  8021. GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8022. GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
  8023. GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
  8024. GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
  8025. GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
  8026. GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
  8027. #endif
  8028. #endif /* GL_MESA_window_pos */
  8029. #ifndef GL_MESA_ycbcr_texture
  8030. #define GL_MESA_ycbcr_texture 1
  8031. #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
  8032. #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
  8033. #define GL_YCBCR_MESA 0x8757
  8034. #endif /* GL_MESA_ycbcr_texture */
  8035. #ifndef GL_NVX_conditional_render
  8036. #define GL_NVX_conditional_render 1
  8037. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
  8038. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
  8039. #ifdef GL_GLEXT_PROTOTYPES
  8040. GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
  8041. GLAPI void APIENTRY glEndConditionalRenderNVX (void);
  8042. #endif
  8043. #endif /* GL_NVX_conditional_render */
  8044. #ifndef GL_NVX_gpu_memory_info
  8045. #define GL_NVX_gpu_memory_info 1
  8046. #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
  8047. #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
  8048. #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
  8049. #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
  8050. #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
  8051. #endif /* GL_NVX_gpu_memory_info */
  8052. #ifndef GL_NV_bindless_multi_draw_indirect
  8053. #define GL_NV_bindless_multi_draw_indirect 1
  8054. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  8055. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  8056. #ifdef GL_GLEXT_PROTOTYPES
  8057. GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  8058. GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  8059. #endif
  8060. #endif /* GL_NV_bindless_multi_draw_indirect */
  8061. #ifndef GL_NV_bindless_texture
  8062. #define GL_NV_bindless_texture 1
  8063. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  8064. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  8065. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  8066. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  8067. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  8068. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  8069. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  8070. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  8071. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
  8072. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  8073. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  8074. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  8075. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  8076. #ifdef GL_GLEXT_PROTOTYPES
  8077. GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
  8078. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
  8079. GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
  8080. GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
  8081. GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  8082. GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
  8083. GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
  8084. GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
  8085. GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
  8086. GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
  8087. GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  8088. GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
  8089. GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
  8090. #endif
  8091. #endif /* GL_NV_bindless_texture */
  8092. #ifndef GL_NV_blend_equation_advanced
  8093. #define GL_NV_blend_equation_advanced 1
  8094. #define GL_BLEND_OVERLAP_NV 0x9281
  8095. #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
  8096. #define GL_BLUE_NV 0x1905
  8097. #define GL_COLORBURN_NV 0x929A
  8098. #define GL_COLORDODGE_NV 0x9299
  8099. #define GL_CONJOINT_NV 0x9284
  8100. #define GL_CONTRAST_NV 0x92A1
  8101. #define GL_DARKEN_NV 0x9297
  8102. #define GL_DIFFERENCE_NV 0x929E
  8103. #define GL_DISJOINT_NV 0x9283
  8104. #define GL_DST_ATOP_NV 0x928F
  8105. #define GL_DST_IN_NV 0x928B
  8106. #define GL_DST_NV 0x9287
  8107. #define GL_DST_OUT_NV 0x928D
  8108. #define GL_DST_OVER_NV 0x9289
  8109. #define GL_EXCLUSION_NV 0x92A0
  8110. #define GL_GREEN_NV 0x1904
  8111. #define GL_HARDLIGHT_NV 0x929B
  8112. #define GL_HARDMIX_NV 0x92A9
  8113. #define GL_HSL_COLOR_NV 0x92AF
  8114. #define GL_HSL_HUE_NV 0x92AD
  8115. #define GL_HSL_LUMINOSITY_NV 0x92B0
  8116. #define GL_HSL_SATURATION_NV 0x92AE
  8117. #define GL_INVERT_OVG_NV 0x92B4
  8118. #define GL_INVERT_RGB_NV 0x92A3
  8119. #define GL_LIGHTEN_NV 0x9298
  8120. #define GL_LINEARBURN_NV 0x92A5
  8121. #define GL_LINEARDODGE_NV 0x92A4
  8122. #define GL_LINEARLIGHT_NV 0x92A7
  8123. #define GL_MINUS_CLAMPED_NV 0x92B3
  8124. #define GL_MINUS_NV 0x929F
  8125. #define GL_MULTIPLY_NV 0x9294
  8126. #define GL_OVERLAY_NV 0x9296
  8127. #define GL_PINLIGHT_NV 0x92A8
  8128. #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
  8129. #define GL_PLUS_CLAMPED_NV 0x92B1
  8130. #define GL_PLUS_DARKER_NV 0x9292
  8131. #define GL_PLUS_NV 0x9291
  8132. #define GL_RED_NV 0x1903
  8133. #define GL_SCREEN_NV 0x9295
  8134. #define GL_SOFTLIGHT_NV 0x929C
  8135. #define GL_SRC_ATOP_NV 0x928E
  8136. #define GL_SRC_IN_NV 0x928A
  8137. #define GL_SRC_NV 0x9286
  8138. #define GL_SRC_OUT_NV 0x928C
  8139. #define GL_SRC_OVER_NV 0x9288
  8140. #define GL_UNCORRELATED_NV 0x9282
  8141. #define GL_VIVIDLIGHT_NV 0x92A6
  8142. #define GL_XOR_NV 0x1506
  8143. typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
  8144. typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
  8145. #ifdef GL_GLEXT_PROTOTYPES
  8146. GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
  8147. GLAPI void APIENTRY glBlendBarrierNV (void);
  8148. #endif
  8149. #endif /* GL_NV_blend_equation_advanced */
  8150. #ifndef GL_NV_blend_equation_advanced_coherent
  8151. #define GL_NV_blend_equation_advanced_coherent 1
  8152. #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
  8153. #endif /* GL_NV_blend_equation_advanced_coherent */
  8154. #ifndef GL_NV_blend_square
  8155. #define GL_NV_blend_square 1
  8156. #endif /* GL_NV_blend_square */
  8157. #ifndef GL_NV_compute_program5
  8158. #define GL_NV_compute_program5 1
  8159. #define GL_COMPUTE_PROGRAM_NV 0x90FB
  8160. #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
  8161. #endif /* GL_NV_compute_program5 */
  8162. #ifndef GL_NV_conditional_render
  8163. #define GL_NV_conditional_render 1
  8164. #define GL_QUERY_WAIT_NV 0x8E13
  8165. #define GL_QUERY_NO_WAIT_NV 0x8E14
  8166. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  8167. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  8168. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  8169. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  8170. #ifdef GL_GLEXT_PROTOTYPES
  8171. GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  8172. GLAPI void APIENTRY glEndConditionalRenderNV (void);
  8173. #endif
  8174. #endif /* GL_NV_conditional_render */
  8175. #ifndef GL_NV_copy_depth_to_color
  8176. #define GL_NV_copy_depth_to_color 1
  8177. #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
  8178. #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
  8179. #endif /* GL_NV_copy_depth_to_color */
  8180. #ifndef GL_NV_copy_image
  8181. #define GL_NV_copy_image 1
  8182. 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);
  8183. #ifdef GL_GLEXT_PROTOTYPES
  8184. 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);
  8185. #endif
  8186. #endif /* GL_NV_copy_image */
  8187. #ifndef GL_NV_deep_texture3D
  8188. #define GL_NV_deep_texture3D 1
  8189. #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
  8190. #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
  8191. #endif /* GL_NV_deep_texture3D */
  8192. #ifndef GL_NV_depth_buffer_float
  8193. #define GL_NV_depth_buffer_float 1
  8194. #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
  8195. #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
  8196. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
  8197. #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
  8198. typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
  8199. typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
  8200. typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
  8201. #ifdef GL_GLEXT_PROTOTYPES
  8202. GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
  8203. GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
  8204. GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
  8205. #endif
  8206. #endif /* GL_NV_depth_buffer_float */
  8207. #ifndef GL_NV_depth_clamp
  8208. #define GL_NV_depth_clamp 1
  8209. #define GL_DEPTH_CLAMP_NV 0x864F
  8210. #endif /* GL_NV_depth_clamp */
  8211. #ifndef GL_NV_draw_texture
  8212. #define GL_NV_draw_texture 1
  8213. typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  8214. #ifdef GL_GLEXT_PROTOTYPES
  8215. GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  8216. #endif
  8217. #endif /* GL_NV_draw_texture */
  8218. #ifndef GL_NV_evaluators
  8219. #define GL_NV_evaluators 1
  8220. #define GL_EVAL_2D_NV 0x86C0
  8221. #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
  8222. #define GL_MAP_TESSELLATION_NV 0x86C2
  8223. #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
  8224. #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
  8225. #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  8226. #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
  8227. #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
  8228. #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
  8229. #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
  8230. #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
  8231. #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
  8232. #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
  8233. #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
  8234. #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
  8235. #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
  8236. #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
  8237. #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
  8238. #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
  8239. #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
  8240. #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
  8241. #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
  8242. #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
  8243. #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
  8244. typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
  8245. typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
  8246. typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8247. typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
  8248. typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
  8249. typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
  8250. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  8251. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  8252. typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  8253. #ifdef GL_GLEXT_PROTOTYPES
  8254. GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
  8255. GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
  8256. GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
  8257. GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
  8258. GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
  8259. GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
  8260. GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
  8261. GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  8262. GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
  8263. #endif
  8264. #endif /* GL_NV_evaluators */
  8265. #ifndef GL_NV_explicit_multisample
  8266. #define GL_NV_explicit_multisample 1
  8267. #define GL_SAMPLE_POSITION_NV 0x8E50
  8268. #define GL_SAMPLE_MASK_NV 0x8E51
  8269. #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
  8270. #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
  8271. #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
  8272. #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
  8273. #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
  8274. #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
  8275. #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
  8276. #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
  8277. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
  8278. typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
  8279. typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
  8280. #ifdef GL_GLEXT_PROTOTYPES
  8281. GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
  8282. GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
  8283. GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
  8284. #endif
  8285. #endif /* GL_NV_explicit_multisample */
  8286. #ifndef GL_NV_fence
  8287. #define GL_NV_fence 1
  8288. #define GL_ALL_COMPLETED_NV 0x84F2
  8289. #define GL_FENCE_STATUS_NV 0x84F3
  8290. #define GL_FENCE_CONDITION_NV 0x84F4
  8291. typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  8292. typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  8293. typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  8294. typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  8295. typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  8296. typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  8297. typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  8298. #ifdef GL_GLEXT_PROTOTYPES
  8299. GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
  8300. GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
  8301. GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
  8302. GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
  8303. GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
  8304. GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
  8305. GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
  8306. #endif
  8307. #endif /* GL_NV_fence */
  8308. #ifndef GL_NV_float_buffer
  8309. #define GL_NV_float_buffer 1
  8310. #define GL_FLOAT_R_NV 0x8880
  8311. #define GL_FLOAT_RG_NV 0x8881
  8312. #define GL_FLOAT_RGB_NV 0x8882
  8313. #define GL_FLOAT_RGBA_NV 0x8883
  8314. #define GL_FLOAT_R16_NV 0x8884
  8315. #define GL_FLOAT_R32_NV 0x8885
  8316. #define GL_FLOAT_RG16_NV 0x8886
  8317. #define GL_FLOAT_RG32_NV 0x8887
  8318. #define GL_FLOAT_RGB16_NV 0x8888
  8319. #define GL_FLOAT_RGB32_NV 0x8889
  8320. #define GL_FLOAT_RGBA16_NV 0x888A
  8321. #define GL_FLOAT_RGBA32_NV 0x888B
  8322. #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
  8323. #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
  8324. #define GL_FLOAT_RGBA_MODE_NV 0x888E
  8325. #endif /* GL_NV_float_buffer */
  8326. #ifndef GL_NV_fog_distance
  8327. #define GL_NV_fog_distance 1
  8328. #define GL_FOG_DISTANCE_MODE_NV 0x855A
  8329. #define GL_EYE_RADIAL_NV 0x855B
  8330. #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
  8331. #endif /* GL_NV_fog_distance */
  8332. #ifndef GL_NV_fragment_program
  8333. #define GL_NV_fragment_program 1
  8334. #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  8335. #define GL_FRAGMENT_PROGRAM_NV 0x8870
  8336. #define GL_MAX_TEXTURE_COORDS_NV 0x8871
  8337. #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
  8338. #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
  8339. #define GL_PROGRAM_ERROR_STRING_NV 0x8874
  8340. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8341. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  8342. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8343. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  8344. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  8345. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  8346. #ifdef GL_GLEXT_PROTOTYPES
  8347. GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8348. GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  8349. GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8350. GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  8351. GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  8352. GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  8353. #endif
  8354. #endif /* GL_NV_fragment_program */
  8355. #ifndef GL_NV_fragment_program2
  8356. #define GL_NV_fragment_program2 1
  8357. #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  8358. #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
  8359. #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
  8360. #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
  8361. #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
  8362. #endif /* GL_NV_fragment_program2 */
  8363. #ifndef GL_NV_fragment_program4
  8364. #define GL_NV_fragment_program4 1
  8365. #endif /* GL_NV_fragment_program4 */
  8366. #ifndef GL_NV_fragment_program_option
  8367. #define GL_NV_fragment_program_option 1
  8368. #endif /* GL_NV_fragment_program_option */
  8369. #ifndef GL_NV_framebuffer_multisample_coverage
  8370. #define GL_NV_framebuffer_multisample_coverage 1
  8371. #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
  8372. #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
  8373. #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
  8374. #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
  8375. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  8376. #ifdef GL_GLEXT_PROTOTYPES
  8377. GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  8378. #endif
  8379. #endif /* GL_NV_framebuffer_multisample_coverage */
  8380. #ifndef GL_NV_geometry_program4
  8381. #define GL_NV_geometry_program4 1
  8382. #define GL_GEOMETRY_PROGRAM_NV 0x8C26
  8383. #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
  8384. #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
  8385. typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
  8386. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  8387. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8388. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  8389. #ifdef GL_GLEXT_PROTOTYPES
  8390. GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
  8391. GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
  8392. GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8393. GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  8394. #endif
  8395. #endif /* GL_NV_geometry_program4 */
  8396. #ifndef GL_NV_geometry_shader4
  8397. #define GL_NV_geometry_shader4 1
  8398. #endif /* GL_NV_geometry_shader4 */
  8399. #ifndef GL_NV_gpu_program4
  8400. #define GL_NV_gpu_program4 1
  8401. #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
  8402. #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
  8403. #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
  8404. #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
  8405. #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
  8406. #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
  8407. #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
  8408. #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
  8409. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  8410. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  8411. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  8412. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  8413. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  8414. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  8415. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  8416. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  8417. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  8418. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  8419. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  8420. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  8421. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  8422. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  8423. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  8424. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  8425. #ifdef GL_GLEXT_PROTOTYPES
  8426. GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  8427. GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  8428. GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  8429. GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  8430. GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  8431. GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  8432. GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  8433. GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  8434. GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  8435. GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  8436. GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  8437. GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  8438. GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
  8439. GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  8440. GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
  8441. GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  8442. #endif
  8443. #endif /* GL_NV_gpu_program4 */
  8444. #ifndef GL_NV_gpu_program5
  8445. #define GL_NV_gpu_program5 1
  8446. #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
  8447. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
  8448. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
  8449. #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
  8450. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
  8451. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
  8452. #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
  8453. #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
  8454. typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
  8455. typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
  8456. #ifdef GL_GLEXT_PROTOTYPES
  8457. GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
  8458. GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
  8459. #endif
  8460. #endif /* GL_NV_gpu_program5 */
  8461. #ifndef GL_NV_gpu_program5_mem_extended
  8462. #define GL_NV_gpu_program5_mem_extended 1
  8463. #endif /* GL_NV_gpu_program5_mem_extended */
  8464. #ifndef GL_NV_gpu_shader5
  8465. #define GL_NV_gpu_shader5 1
  8466. #endif /* GL_NV_gpu_shader5 */
  8467. #ifndef GL_NV_half_float
  8468. #define GL_NV_half_float 1
  8469. typedef unsigned short GLhalfNV;
  8470. #define GL_HALF_FLOAT_NV 0x140B
  8471. typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
  8472. typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
  8473. typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8474. typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
  8475. typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8476. typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
  8477. typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  8478. typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
  8479. typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8480. typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
  8481. typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  8482. typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
  8483. typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
  8484. typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
  8485. typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
  8486. typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
  8487. typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8488. typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
  8489. typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8490. typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
  8491. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
  8492. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
  8493. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
  8494. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
  8495. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8496. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
  8497. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8498. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
  8499. typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
  8500. typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
  8501. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8502. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
  8503. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
  8504. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
  8505. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
  8506. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
  8507. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
  8508. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
  8509. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8510. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
  8511. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8512. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
  8513. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8514. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8515. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8516. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8517. #ifdef GL_GLEXT_PROTOTYPES
  8518. GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
  8519. GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
  8520. GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8521. GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
  8522. GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8523. GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
  8524. GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  8525. GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
  8526. GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8527. GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
  8528. GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  8529. GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
  8530. GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
  8531. GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
  8532. GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
  8533. GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
  8534. GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8535. GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
  8536. GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8537. GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
  8538. GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
  8539. GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
  8540. GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
  8541. GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
  8542. GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8543. GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
  8544. GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8545. GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
  8546. GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
  8547. GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
  8548. GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8549. GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
  8550. GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
  8551. GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
  8552. GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
  8553. GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
  8554. GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
  8555. GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
  8556. GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8557. GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
  8558. GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8559. GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
  8560. GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8561. GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8562. GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8563. GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8564. #endif
  8565. #endif /* GL_NV_half_float */
  8566. #ifndef GL_NV_light_max_exponent
  8567. #define GL_NV_light_max_exponent 1
  8568. #define GL_MAX_SHININESS_NV 0x8504
  8569. #define GL_MAX_SPOT_EXPONENT_NV 0x8505
  8570. #endif /* GL_NV_light_max_exponent */
  8571. #ifndef GL_NV_multisample_coverage
  8572. #define GL_NV_multisample_coverage 1
  8573. #define GL_COLOR_SAMPLES_NV 0x8E20
  8574. #endif /* GL_NV_multisample_coverage */
  8575. #ifndef GL_NV_multisample_filter_hint
  8576. #define GL_NV_multisample_filter_hint 1
  8577. #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
  8578. #endif /* GL_NV_multisample_filter_hint */
  8579. #ifndef GL_NV_occlusion_query
  8580. #define GL_NV_occlusion_query 1
  8581. #define GL_PIXEL_COUNTER_BITS_NV 0x8864
  8582. #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
  8583. #define GL_PIXEL_COUNT_NV 0x8866
  8584. #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
  8585. typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
  8586. typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
  8587. typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
  8588. typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
  8589. typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
  8590. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  8591. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
  8592. #ifdef GL_GLEXT_PROTOTYPES
  8593. GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
  8594. GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
  8595. GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
  8596. GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
  8597. GLAPI void APIENTRY glEndOcclusionQueryNV (void);
  8598. GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
  8599. GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
  8600. #endif
  8601. #endif /* GL_NV_occlusion_query */
  8602. #ifndef GL_NV_packed_depth_stencil
  8603. #define GL_NV_packed_depth_stencil 1
  8604. #define GL_DEPTH_STENCIL_NV 0x84F9
  8605. #define GL_UNSIGNED_INT_24_8_NV 0x84FA
  8606. #endif /* GL_NV_packed_depth_stencil */
  8607. #ifndef GL_NV_parameter_buffer_object
  8608. #define GL_NV_parameter_buffer_object 1
  8609. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
  8610. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
  8611. #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
  8612. #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
  8613. #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
  8614. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
  8615. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
  8616. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
  8617. #ifdef GL_GLEXT_PROTOTYPES
  8618. GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
  8619. GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
  8620. GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
  8621. #endif
  8622. #endif /* GL_NV_parameter_buffer_object */
  8623. #ifndef GL_NV_parameter_buffer_object2
  8624. #define GL_NV_parameter_buffer_object2 1
  8625. #endif /* GL_NV_parameter_buffer_object2 */
  8626. #ifndef GL_NV_path_rendering
  8627. #define GL_NV_path_rendering 1
  8628. #define GL_PATH_FORMAT_SVG_NV 0x9070
  8629. #define GL_PATH_FORMAT_PS_NV 0x9071
  8630. #define GL_STANDARD_FONT_NAME_NV 0x9072
  8631. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  8632. #define GL_FILE_NAME_NV 0x9074
  8633. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  8634. #define GL_PATH_END_CAPS_NV 0x9076
  8635. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  8636. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  8637. #define GL_PATH_JOIN_STYLE_NV 0x9079
  8638. #define GL_PATH_MITER_LIMIT_NV 0x907A
  8639. #define GL_PATH_DASH_CAPS_NV 0x907B
  8640. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  8641. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  8642. #define GL_PATH_DASH_OFFSET_NV 0x907E
  8643. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  8644. #define GL_PATH_FILL_MODE_NV 0x9080
  8645. #define GL_PATH_FILL_MASK_NV 0x9081
  8646. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  8647. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  8648. #define GL_PATH_STROKE_MASK_NV 0x9084
  8649. #define GL_COUNT_UP_NV 0x9088
  8650. #define GL_COUNT_DOWN_NV 0x9089
  8651. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  8652. #define GL_CONVEX_HULL_NV 0x908B
  8653. #define GL_BOUNDING_BOX_NV 0x908D
  8654. #define GL_TRANSLATE_X_NV 0x908E
  8655. #define GL_TRANSLATE_Y_NV 0x908F
  8656. #define GL_TRANSLATE_2D_NV 0x9090
  8657. #define GL_TRANSLATE_3D_NV 0x9091
  8658. #define GL_AFFINE_2D_NV 0x9092
  8659. #define GL_AFFINE_3D_NV 0x9094
  8660. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  8661. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  8662. #define GL_UTF8_NV 0x909A
  8663. #define GL_UTF16_NV 0x909B
  8664. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  8665. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  8666. #define GL_PATH_COORD_COUNT_NV 0x909E
  8667. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  8668. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  8669. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  8670. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  8671. #define GL_SQUARE_NV 0x90A3
  8672. #define GL_ROUND_NV 0x90A4
  8673. #define GL_TRIANGULAR_NV 0x90A5
  8674. #define GL_BEVEL_NV 0x90A6
  8675. #define GL_MITER_REVERT_NV 0x90A7
  8676. #define GL_MITER_TRUNCATE_NV 0x90A8
  8677. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  8678. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  8679. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  8680. #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
  8681. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  8682. #define GL_ADJACENT_PAIRS_NV 0x90AE
  8683. #define GL_FIRST_TO_REST_NV 0x90AF
  8684. #define GL_PATH_GEN_MODE_NV 0x90B0
  8685. #define GL_PATH_GEN_COEFF_NV 0x90B1
  8686. #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
  8687. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  8688. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  8689. #define GL_PATH_STENCIL_REF_NV 0x90B8
  8690. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  8691. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  8692. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  8693. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  8694. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  8695. #define GL_MOVE_TO_RESETS_NV 0x90B5
  8696. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  8697. #define GL_CLOSE_PATH_NV 0x00
  8698. #define GL_MOVE_TO_NV 0x02
  8699. #define GL_RELATIVE_MOVE_TO_NV 0x03
  8700. #define GL_LINE_TO_NV 0x04
  8701. #define GL_RELATIVE_LINE_TO_NV 0x05
  8702. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  8703. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  8704. #define GL_VERTICAL_LINE_TO_NV 0x08
  8705. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  8706. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  8707. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  8708. #define GL_CUBIC_CURVE_TO_NV 0x0C
  8709. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  8710. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  8711. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  8712. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  8713. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  8714. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  8715. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  8716. #define GL_SMALL_CW_ARC_TO_NV 0x14
  8717. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  8718. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  8719. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  8720. #define GL_LARGE_CW_ARC_TO_NV 0x18
  8721. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  8722. #define GL_RESTART_PATH_NV 0xF0
  8723. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  8724. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  8725. #define GL_RECT_NV 0xF6
  8726. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  8727. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  8728. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  8729. #define GL_ARC_TO_NV 0xFE
  8730. #define GL_RELATIVE_ARC_TO_NV 0xFF
  8731. #define GL_BOLD_BIT_NV 0x01
  8732. #define GL_ITALIC_BIT_NV 0x02
  8733. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  8734. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  8735. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  8736. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  8737. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  8738. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  8739. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  8740. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  8741. #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
  8742. #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
  8743. #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
  8744. #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
  8745. #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
  8746. #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
  8747. #define GL_FONT_ASCENDER_BIT_NV 0x00200000
  8748. #define GL_FONT_DESCENDER_BIT_NV 0x00400000
  8749. #define GL_FONT_HEIGHT_BIT_NV 0x00800000
  8750. #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
  8751. #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
  8752. #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
  8753. #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
  8754. #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
  8755. #define GL_PRIMARY_COLOR_NV 0x852C
  8756. #define GL_SECONDARY_COLOR_NV 0x852D
  8757. typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
  8758. typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  8759. typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
  8760. typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  8761. typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  8762. typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  8763. typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  8764. typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
  8765. typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  8766. typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  8767. typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  8768. typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  8769. typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  8770. typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  8771. typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
  8772. typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  8773. typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
  8774. typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  8775. typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  8776. typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  8777. typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  8778. typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  8779. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  8780. typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  8781. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  8782. typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
  8783. typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  8784. typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  8785. typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
  8786. typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  8787. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
  8788. typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  8789. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  8790. typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
  8791. typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
  8792. typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
  8793. typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
  8794. typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
  8795. typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  8796. typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  8797. typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  8798. typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
  8799. typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
  8800. typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
  8801. typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
  8802. typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  8803. typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  8804. typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  8805. typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  8806. #ifdef GL_GLEXT_PROTOTYPES
  8807. GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
  8808. GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
  8809. GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
  8810. GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  8811. GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  8812. GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  8813. GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  8814. GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
  8815. GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  8816. GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  8817. GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  8818. GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
  8819. GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  8820. GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  8821. GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
  8822. GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
  8823. GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
  8824. GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
  8825. GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  8826. GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
  8827. GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
  8828. GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
  8829. GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
  8830. GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  8831. GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  8832. GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
  8833. GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  8834. GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  8835. GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
  8836. GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
  8837. GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
  8838. GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  8839. GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  8840. GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
  8841. GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
  8842. GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
  8843. GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
  8844. GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
  8845. GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  8846. GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  8847. GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  8848. GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
  8849. GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
  8850. GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
  8851. GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
  8852. GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  8853. GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
  8854. GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
  8855. GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  8856. #endif
  8857. #endif /* GL_NV_path_rendering */
  8858. #ifndef GL_NV_pixel_data_range
  8859. #define GL_NV_pixel_data_range 1
  8860. #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
  8861. #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
  8862. #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  8863. #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  8864. #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  8865. #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  8866. typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
  8867. typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
  8868. #ifdef GL_GLEXT_PROTOTYPES
  8869. GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
  8870. GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
  8871. #endif
  8872. #endif /* GL_NV_pixel_data_range */
  8873. #ifndef GL_NV_point_sprite
  8874. #define GL_NV_point_sprite 1
  8875. #define GL_POINT_SPRITE_NV 0x8861
  8876. #define GL_COORD_REPLACE_NV 0x8862
  8877. #define GL_POINT_SPRITE_R_MODE_NV 0x8863
  8878. typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
  8879. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  8880. #ifdef GL_GLEXT_PROTOTYPES
  8881. GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
  8882. GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
  8883. #endif
  8884. #endif /* GL_NV_point_sprite */
  8885. #ifndef GL_NV_present_video
  8886. #define GL_NV_present_video 1
  8887. #define GL_FRAME_NV 0x8E26
  8888. #define GL_FIELDS_NV 0x8E27
  8889. #define GL_CURRENT_TIME_NV 0x8E28
  8890. #define GL_NUM_FILL_STREAMS_NV 0x8E29
  8891. #define GL_PRESENT_TIME_NV 0x8E2A
  8892. #define GL_PRESENT_DURATION_NV 0x8E2B
  8893. 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);
  8894. 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);
  8895. typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
  8896. typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
  8897. typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
  8898. typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  8899. #ifdef GL_GLEXT_PROTOTYPES
  8900. 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);
  8901. 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);
  8902. GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
  8903. GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
  8904. GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
  8905. GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  8906. #endif
  8907. #endif /* GL_NV_present_video */
  8908. #ifndef GL_NV_primitive_restart
  8909. #define GL_NV_primitive_restart 1
  8910. #define GL_PRIMITIVE_RESTART_NV 0x8558
  8911. #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
  8912. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
  8913. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
  8914. #ifdef GL_GLEXT_PROTOTYPES
  8915. GLAPI void APIENTRY glPrimitiveRestartNV (void);
  8916. GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
  8917. #endif
  8918. #endif /* GL_NV_primitive_restart */
  8919. #ifndef GL_NV_register_combiners
  8920. #define GL_NV_register_combiners 1
  8921. #define GL_REGISTER_COMBINERS_NV 0x8522
  8922. #define GL_VARIABLE_A_NV 0x8523
  8923. #define GL_VARIABLE_B_NV 0x8524
  8924. #define GL_VARIABLE_C_NV 0x8525
  8925. #define GL_VARIABLE_D_NV 0x8526
  8926. #define GL_VARIABLE_E_NV 0x8527
  8927. #define GL_VARIABLE_F_NV 0x8528
  8928. #define GL_VARIABLE_G_NV 0x8529
  8929. #define GL_CONSTANT_COLOR0_NV 0x852A
  8930. #define GL_CONSTANT_COLOR1_NV 0x852B
  8931. #define GL_SPARE0_NV 0x852E
  8932. #define GL_SPARE1_NV 0x852F
  8933. #define GL_DISCARD_NV 0x8530
  8934. #define GL_E_TIMES_F_NV 0x8531
  8935. #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  8936. #define GL_UNSIGNED_IDENTITY_NV 0x8536
  8937. #define GL_UNSIGNED_INVERT_NV 0x8537
  8938. #define GL_EXPAND_NORMAL_NV 0x8538
  8939. #define GL_EXPAND_NEGATE_NV 0x8539
  8940. #define GL_HALF_BIAS_NORMAL_NV 0x853A
  8941. #define GL_HALF_BIAS_NEGATE_NV 0x853B
  8942. #define GL_SIGNED_IDENTITY_NV 0x853C
  8943. #define GL_SIGNED_NEGATE_NV 0x853D
  8944. #define GL_SCALE_BY_TWO_NV 0x853E
  8945. #define GL_SCALE_BY_FOUR_NV 0x853F
  8946. #define GL_SCALE_BY_ONE_HALF_NV 0x8540
  8947. #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
  8948. #define GL_COMBINER_INPUT_NV 0x8542
  8949. #define GL_COMBINER_MAPPING_NV 0x8543
  8950. #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
  8951. #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
  8952. #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
  8953. #define GL_COMBINER_MUX_SUM_NV 0x8547
  8954. #define GL_COMBINER_SCALE_NV 0x8548
  8955. #define GL_COMBINER_BIAS_NV 0x8549
  8956. #define GL_COMBINER_AB_OUTPUT_NV 0x854A
  8957. #define GL_COMBINER_CD_OUTPUT_NV 0x854B
  8958. #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
  8959. #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
  8960. #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
  8961. #define GL_COLOR_SUM_CLAMP_NV 0x854F
  8962. #define GL_COMBINER0_NV 0x8550
  8963. #define GL_COMBINER1_NV 0x8551
  8964. #define GL_COMBINER2_NV 0x8552
  8965. #define GL_COMBINER3_NV 0x8553
  8966. #define GL_COMBINER4_NV 0x8554
  8967. #define GL_COMBINER5_NV 0x8555
  8968. #define GL_COMBINER6_NV 0x8556
  8969. #define GL_COMBINER7_NV 0x8557
  8970. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  8971. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  8972. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  8973. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  8974. typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  8975. typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  8976. typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  8977. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  8978. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  8979. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  8980. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  8981. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  8982. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  8983. #ifdef GL_GLEXT_PROTOTYPES
  8984. GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
  8985. GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
  8986. GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
  8987. GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
  8988. GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  8989. GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  8990. GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  8991. GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  8992. GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  8993. GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  8994. GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  8995. GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
  8996. GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
  8997. #endif
  8998. #endif /* GL_NV_register_combiners */
  8999. #ifndef GL_NV_register_combiners2
  9000. #define GL_NV_register_combiners2 1
  9001. #define GL_PER_STAGE_CONSTANTS_NV 0x8535
  9002. typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
  9003. typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
  9004. #ifdef GL_GLEXT_PROTOTYPES
  9005. GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
  9006. GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
  9007. #endif
  9008. #endif /* GL_NV_register_combiners2 */
  9009. #ifndef GL_NV_shader_atomic_counters
  9010. #define GL_NV_shader_atomic_counters 1
  9011. #endif /* GL_NV_shader_atomic_counters */
  9012. #ifndef GL_NV_shader_atomic_float
  9013. #define GL_NV_shader_atomic_float 1
  9014. #endif /* GL_NV_shader_atomic_float */
  9015. #ifndef GL_NV_shader_buffer_load
  9016. #define GL_NV_shader_buffer_load 1
  9017. #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
  9018. #define GL_GPU_ADDRESS_NV 0x8F34
  9019. #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
  9020. typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
  9021. typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
  9022. typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
  9023. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
  9024. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
  9025. typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
  9026. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
  9027. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
  9028. typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
  9029. typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
  9030. typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  9031. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
  9032. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  9033. #ifdef GL_GLEXT_PROTOTYPES
  9034. GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
  9035. GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
  9036. GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
  9037. GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
  9038. GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
  9039. GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
  9040. GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
  9041. GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
  9042. GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
  9043. GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
  9044. GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  9045. GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
  9046. GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  9047. #endif
  9048. #endif /* GL_NV_shader_buffer_load */
  9049. #ifndef GL_NV_shader_buffer_store
  9050. #define GL_NV_shader_buffer_store 1
  9051. #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
  9052. #endif /* GL_NV_shader_buffer_store */
  9053. #ifndef GL_NV_shader_storage_buffer_object
  9054. #define GL_NV_shader_storage_buffer_object 1
  9055. #endif /* GL_NV_shader_storage_buffer_object */
  9056. #ifndef GL_NV_shader_thread_group
  9057. #define GL_NV_shader_thread_group 1
  9058. #define GL_WARP_SIZE_NV 0x9339
  9059. #define GL_WARPS_PER_SM_NV 0x933A
  9060. #define GL_SM_COUNT_NV 0x933B
  9061. #endif /* GL_NV_shader_thread_group */
  9062. #ifndef GL_NV_shader_thread_shuffle
  9063. #define GL_NV_shader_thread_shuffle 1
  9064. #endif /* GL_NV_shader_thread_shuffle */
  9065. #ifndef GL_NV_tessellation_program5
  9066. #define GL_NV_tessellation_program5 1
  9067. #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
  9068. #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
  9069. #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
  9070. #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
  9071. #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
  9072. #endif /* GL_NV_tessellation_program5 */
  9073. #ifndef GL_NV_texgen_emboss
  9074. #define GL_NV_texgen_emboss 1
  9075. #define GL_EMBOSS_LIGHT_NV 0x855D
  9076. #define GL_EMBOSS_CONSTANT_NV 0x855E
  9077. #define GL_EMBOSS_MAP_NV 0x855F
  9078. #endif /* GL_NV_texgen_emboss */
  9079. #ifndef GL_NV_texgen_reflection
  9080. #define GL_NV_texgen_reflection 1
  9081. #define GL_NORMAL_MAP_NV 0x8511
  9082. #define GL_REFLECTION_MAP_NV 0x8512
  9083. #endif /* GL_NV_texgen_reflection */
  9084. #ifndef GL_NV_texture_barrier
  9085. #define GL_NV_texture_barrier 1
  9086. typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
  9087. #ifdef GL_GLEXT_PROTOTYPES
  9088. GLAPI void APIENTRY glTextureBarrierNV (void);
  9089. #endif
  9090. #endif /* GL_NV_texture_barrier */
  9091. #ifndef GL_NV_texture_compression_vtc
  9092. #define GL_NV_texture_compression_vtc 1
  9093. #endif /* GL_NV_texture_compression_vtc */
  9094. #ifndef GL_NV_texture_env_combine4
  9095. #define GL_NV_texture_env_combine4 1
  9096. #define GL_COMBINE4_NV 0x8503
  9097. #define GL_SOURCE3_RGB_NV 0x8583
  9098. #define GL_SOURCE3_ALPHA_NV 0x858B
  9099. #define GL_OPERAND3_RGB_NV 0x8593
  9100. #define GL_OPERAND3_ALPHA_NV 0x859B
  9101. #endif /* GL_NV_texture_env_combine4 */
  9102. #ifndef GL_NV_texture_expand_normal
  9103. #define GL_NV_texture_expand_normal 1
  9104. #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  9105. #endif /* GL_NV_texture_expand_normal */
  9106. #ifndef GL_NV_texture_multisample
  9107. #define GL_NV_texture_multisample 1
  9108. #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
  9109. #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
  9110. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9111. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9112. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9113. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9114. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9115. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9116. #ifdef GL_GLEXT_PROTOTYPES
  9117. GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9118. GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9119. GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9120. GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9121. GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9122. GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9123. #endif
  9124. #endif /* GL_NV_texture_multisample */
  9125. #ifndef GL_NV_texture_rectangle
  9126. #define GL_NV_texture_rectangle 1
  9127. #define GL_TEXTURE_RECTANGLE_NV 0x84F5
  9128. #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
  9129. #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
  9130. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
  9131. #endif /* GL_NV_texture_rectangle */
  9132. #ifndef GL_NV_texture_shader
  9133. #define GL_NV_texture_shader 1
  9134. #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
  9135. #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  9136. #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  9137. #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  9138. #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
  9139. #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
  9140. #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
  9141. #define GL_SHADER_CONSISTENT_NV 0x86DD
  9142. #define GL_TEXTURE_SHADER_NV 0x86DE
  9143. #define GL_SHADER_OPERATION_NV 0x86DF
  9144. #define GL_CULL_MODES_NV 0x86E0
  9145. #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
  9146. #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
  9147. #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
  9148. #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
  9149. #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
  9150. #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
  9151. #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
  9152. #define GL_CONST_EYE_NV 0x86E5
  9153. #define GL_PASS_THROUGH_NV 0x86E6
  9154. #define GL_CULL_FRAGMENT_NV 0x86E7
  9155. #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
  9156. #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
  9157. #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
  9158. #define GL_DOT_PRODUCT_NV 0x86EC
  9159. #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
  9160. #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
  9161. #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  9162. #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  9163. #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  9164. #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  9165. #define GL_HILO_NV 0x86F4
  9166. #define GL_DSDT_NV 0x86F5
  9167. #define GL_DSDT_MAG_NV 0x86F6
  9168. #define GL_DSDT_MAG_VIB_NV 0x86F7
  9169. #define GL_HILO16_NV 0x86F8
  9170. #define GL_SIGNED_HILO_NV 0x86F9
  9171. #define GL_SIGNED_HILO16_NV 0x86FA
  9172. #define GL_SIGNED_RGBA_NV 0x86FB
  9173. #define GL_SIGNED_RGBA8_NV 0x86FC
  9174. #define GL_SIGNED_RGB_NV 0x86FE
  9175. #define GL_SIGNED_RGB8_NV 0x86FF
  9176. #define GL_SIGNED_LUMINANCE_NV 0x8701
  9177. #define GL_SIGNED_LUMINANCE8_NV 0x8702
  9178. #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
  9179. #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
  9180. #define GL_SIGNED_ALPHA_NV 0x8705
  9181. #define GL_SIGNED_ALPHA8_NV 0x8706
  9182. #define GL_SIGNED_INTENSITY_NV 0x8707
  9183. #define GL_SIGNED_INTENSITY8_NV 0x8708
  9184. #define GL_DSDT8_NV 0x8709
  9185. #define GL_DSDT8_MAG8_NV 0x870A
  9186. #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
  9187. #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
  9188. #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  9189. #define GL_HI_SCALE_NV 0x870E
  9190. #define GL_LO_SCALE_NV 0x870F
  9191. #define GL_DS_SCALE_NV 0x8710
  9192. #define GL_DT_SCALE_NV 0x8711
  9193. #define GL_MAGNITUDE_SCALE_NV 0x8712
  9194. #define GL_VIBRANCE_SCALE_NV 0x8713
  9195. #define GL_HI_BIAS_NV 0x8714
  9196. #define GL_LO_BIAS_NV 0x8715
  9197. #define GL_DS_BIAS_NV 0x8716
  9198. #define GL_DT_BIAS_NV 0x8717
  9199. #define GL_MAGNITUDE_BIAS_NV 0x8718
  9200. #define GL_VIBRANCE_BIAS_NV 0x8719
  9201. #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
  9202. #define GL_TEXTURE_HI_SIZE_NV 0x871B
  9203. #define GL_TEXTURE_LO_SIZE_NV 0x871C
  9204. #define GL_TEXTURE_DS_SIZE_NV 0x871D
  9205. #define GL_TEXTURE_DT_SIZE_NV 0x871E
  9206. #define GL_TEXTURE_MAG_SIZE_NV 0x871F
  9207. #endif /* GL_NV_texture_shader */
  9208. #ifndef GL_NV_texture_shader2
  9209. #define GL_NV_texture_shader2 1
  9210. #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
  9211. #endif /* GL_NV_texture_shader2 */
  9212. #ifndef GL_NV_texture_shader3
  9213. #define GL_NV_texture_shader3 1
  9214. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  9215. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  9216. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  9217. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  9218. #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
  9219. #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  9220. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  9221. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  9222. #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
  9223. #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
  9224. #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  9225. #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
  9226. #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
  9227. #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  9228. #define GL_HILO8_NV 0x885E
  9229. #define GL_SIGNED_HILO8_NV 0x885F
  9230. #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
  9231. #endif /* GL_NV_texture_shader3 */
  9232. #ifndef GL_NV_transform_feedback
  9233. #define GL_NV_transform_feedback 1
  9234. #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
  9235. #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
  9236. #define GL_TEXTURE_COORD_NV 0x8C79
  9237. #define GL_CLIP_DISTANCE_NV 0x8C7A
  9238. #define GL_VERTEX_ID_NV 0x8C7B
  9239. #define GL_PRIMITIVE_ID_NV 0x8C7C
  9240. #define GL_GENERIC_ATTRIB_NV 0x8C7D
  9241. #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
  9242. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
  9243. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
  9244. #define GL_ACTIVE_VARYINGS_NV 0x8C81
  9245. #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
  9246. #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
  9247. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
  9248. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
  9249. #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
  9250. #define GL_PRIMITIVES_GENERATED_NV 0x8C87
  9251. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
  9252. #define GL_RASTERIZER_DISCARD_NV 0x8C89
  9253. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
  9254. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
  9255. #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
  9256. #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
  9257. #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
  9258. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
  9259. #define GL_LAYER_NV 0x8DAA
  9260. #define GL_NEXT_BUFFER_NV -2
  9261. #define GL_SKIP_COMPONENTS4_NV -3
  9262. #define GL_SKIP_COMPONENTS3_NV -4
  9263. #define GL_SKIP_COMPONENTS2_NV -5
  9264. #define GL_SKIP_COMPONENTS1_NV -6
  9265. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
  9266. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
  9267. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
  9268. typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  9269. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  9270. typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
  9271. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  9272. typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
  9273. typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
  9274. typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  9275. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
  9276. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  9277. #ifdef GL_GLEXT_PROTOTYPES
  9278. GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
  9279. GLAPI void APIENTRY glEndTransformFeedbackNV (void);
  9280. GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
  9281. GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  9282. GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  9283. GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
  9284. GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  9285. GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
  9286. GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
  9287. GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  9288. GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
  9289. GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  9290. #endif
  9291. #endif /* GL_NV_transform_feedback */
  9292. #ifndef GL_NV_transform_feedback2
  9293. #define GL_NV_transform_feedback2 1
  9294. #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
  9295. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
  9296. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
  9297. #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
  9298. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
  9299. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
  9300. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
  9301. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
  9302. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
  9303. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
  9304. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
  9305. #ifdef GL_GLEXT_PROTOTYPES
  9306. GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
  9307. GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
  9308. GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
  9309. GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
  9310. GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
  9311. GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
  9312. GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
  9313. #endif
  9314. #endif /* GL_NV_transform_feedback2 */
  9315. #ifndef GL_NV_vdpau_interop
  9316. #define GL_NV_vdpau_interop 1
  9317. typedef GLintptr GLvdpauSurfaceNV;
  9318. #define GL_SURFACE_STATE_NV 0x86EB
  9319. #define GL_SURFACE_REGISTERED_NV 0x86FD
  9320. #define GL_SURFACE_MAPPED_NV 0x8700
  9321. #define GL_WRITE_DISCARD_NV 0x88BE
  9322. typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
  9323. typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
  9324. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  9325. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  9326. typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
  9327. typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
  9328. typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  9329. typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
  9330. typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  9331. typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  9332. #ifdef GL_GLEXT_PROTOTYPES
  9333. GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
  9334. GLAPI void APIENTRY glVDPAUFiniNV (void);
  9335. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  9336. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  9337. GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
  9338. GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
  9339. GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  9340. GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
  9341. GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  9342. GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  9343. #endif
  9344. #endif /* GL_NV_vdpau_interop */
  9345. #ifndef GL_NV_vertex_array_range
  9346. #define GL_NV_vertex_array_range 1
  9347. #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
  9348. #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
  9349. #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
  9350. #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  9351. #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
  9352. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  9353. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
  9354. #ifdef GL_GLEXT_PROTOTYPES
  9355. GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  9356. GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
  9357. #endif
  9358. #endif /* GL_NV_vertex_array_range */
  9359. #ifndef GL_NV_vertex_array_range2
  9360. #define GL_NV_vertex_array_range2 1
  9361. #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  9362. #endif /* GL_NV_vertex_array_range2 */
  9363. #ifndef GL_NV_vertex_attrib_integer_64bit
  9364. #define GL_NV_vertex_attrib_integer_64bit 1
  9365. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
  9366. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
  9367. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  9368. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  9369. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
  9370. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
  9371. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
  9372. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
  9373. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
  9374. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
  9375. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  9376. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  9377. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  9378. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  9379. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  9380. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  9381. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
  9382. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  9383. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  9384. #ifdef GL_GLEXT_PROTOTYPES
  9385. GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
  9386. GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
  9387. GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  9388. GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  9389. GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
  9390. GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
  9391. GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
  9392. GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
  9393. GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
  9394. GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
  9395. GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  9396. GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  9397. GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
  9398. GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
  9399. GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
  9400. GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
  9401. GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
  9402. GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
  9403. GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  9404. #endif
  9405. #endif /* GL_NV_vertex_attrib_integer_64bit */
  9406. #ifndef GL_NV_vertex_buffer_unified_memory
  9407. #define GL_NV_vertex_buffer_unified_memory 1
  9408. #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
  9409. #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
  9410. #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
  9411. #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
  9412. #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
  9413. #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
  9414. #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
  9415. #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
  9416. #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
  9417. #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
  9418. #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
  9419. #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
  9420. #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
  9421. #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
  9422. #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
  9423. #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
  9424. #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
  9425. #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
  9426. #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
  9427. #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
  9428. #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
  9429. #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
  9430. #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
  9431. #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
  9432. #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
  9433. typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  9434. typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  9435. typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
  9436. typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  9437. typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
  9438. typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  9439. typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
  9440. typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  9441. typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
  9442. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  9443. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  9444. typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
  9445. #ifdef GL_GLEXT_PROTOTYPES
  9446. GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  9447. GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
  9448. GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
  9449. GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
  9450. GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
  9451. GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
  9452. GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
  9453. GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
  9454. GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
  9455. GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  9456. GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  9457. GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
  9458. #endif
  9459. #endif /* GL_NV_vertex_buffer_unified_memory */
  9460. #ifndef GL_NV_vertex_program
  9461. #define GL_NV_vertex_program 1
  9462. #define GL_VERTEX_PROGRAM_NV 0x8620
  9463. #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
  9464. #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
  9465. #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
  9466. #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
  9467. #define GL_CURRENT_ATTRIB_NV 0x8626
  9468. #define GL_PROGRAM_LENGTH_NV 0x8627
  9469. #define GL_PROGRAM_STRING_NV 0x8628
  9470. #define GL_MODELVIEW_PROJECTION_NV 0x8629
  9471. #define GL_IDENTITY_NV 0x862A
  9472. #define GL_INVERSE_NV 0x862B
  9473. #define GL_TRANSPOSE_NV 0x862C
  9474. #define GL_INVERSE_TRANSPOSE_NV 0x862D
  9475. #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  9476. #define GL_MAX_TRACK_MATRICES_NV 0x862F
  9477. #define GL_MATRIX0_NV 0x8630
  9478. #define GL_MATRIX1_NV 0x8631
  9479. #define GL_MATRIX2_NV 0x8632
  9480. #define GL_MATRIX3_NV 0x8633
  9481. #define GL_MATRIX4_NV 0x8634
  9482. #define GL_MATRIX5_NV 0x8635
  9483. #define GL_MATRIX6_NV 0x8636
  9484. #define GL_MATRIX7_NV 0x8637
  9485. #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
  9486. #define GL_CURRENT_MATRIX_NV 0x8641
  9487. #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
  9488. #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
  9489. #define GL_PROGRAM_PARAMETER_NV 0x8644
  9490. #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
  9491. #define GL_PROGRAM_TARGET_NV 0x8646
  9492. #define GL_PROGRAM_RESIDENT_NV 0x8647
  9493. #define GL_TRACK_MATRIX_NV 0x8648
  9494. #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
  9495. #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
  9496. #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
  9497. #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
  9498. #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
  9499. #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
  9500. #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
  9501. #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
  9502. #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
  9503. #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
  9504. #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
  9505. #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
  9506. #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
  9507. #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
  9508. #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
  9509. #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
  9510. #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
  9511. #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
  9512. #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
  9513. #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
  9514. #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
  9515. #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
  9516. #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
  9517. #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
  9518. #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
  9519. #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
  9520. #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
  9521. #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
  9522. #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
  9523. #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
  9524. #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
  9525. #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
  9526. #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
  9527. #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
  9528. #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
  9529. #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
  9530. #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
  9531. #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
  9532. #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
  9533. #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
  9534. #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
  9535. #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
  9536. #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
  9537. #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
  9538. #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
  9539. #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
  9540. #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
  9541. #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
  9542. #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
  9543. #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
  9544. #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
  9545. typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
  9546. typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
  9547. typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  9548. typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
  9549. typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
  9550. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  9551. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9552. typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  9553. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
  9554. typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
  9555. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
  9556. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
  9557. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
  9558. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
  9559. typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
  9560. typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  9561. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9562. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
  9563. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9564. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
  9565. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  9566. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  9567. typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  9568. typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  9569. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  9570. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
  9571. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
  9572. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
  9573. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
  9574. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
  9575. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
  9576. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  9577. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
  9578. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  9579. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
  9580. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  9581. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
  9582. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  9583. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
  9584. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  9585. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
  9586. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  9587. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
  9588. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9589. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
  9590. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9591. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
  9592. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  9593. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
  9594. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  9595. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
  9596. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9597. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9598. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9599. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9600. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9601. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9602. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9603. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9604. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9605. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9606. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9607. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9608. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
  9609. #ifdef GL_GLEXT_PROTOTYPES
  9610. GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
  9611. GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
  9612. GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
  9613. GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
  9614. GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
  9615. GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  9616. GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9617. GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
  9618. GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
  9619. GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
  9620. GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
  9621. GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
  9622. GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
  9623. GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
  9624. GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
  9625. GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  9626. GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9627. GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
  9628. GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9629. GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
  9630. GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  9631. GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  9632. GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
  9633. GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  9634. GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  9635. GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
  9636. GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
  9637. GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
  9638. GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
  9639. GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
  9640. GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
  9641. GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
  9642. GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
  9643. GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
  9644. GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
  9645. GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
  9646. GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
  9647. GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  9648. GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
  9649. GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  9650. GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
  9651. GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
  9652. GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
  9653. GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9654. GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
  9655. GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9656. GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
  9657. GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  9658. GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
  9659. GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  9660. GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
  9661. GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9662. GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9663. GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
  9664. GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9665. GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9666. GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
  9667. GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9668. GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9669. GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
  9670. GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9671. GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9672. GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
  9673. GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
  9674. #endif
  9675. #endif /* GL_NV_vertex_program */
  9676. #ifndef GL_NV_vertex_program1_1
  9677. #define GL_NV_vertex_program1_1 1
  9678. #endif /* GL_NV_vertex_program1_1 */
  9679. #ifndef GL_NV_vertex_program2
  9680. #define GL_NV_vertex_program2 1
  9681. #endif /* GL_NV_vertex_program2 */
  9682. #ifndef GL_NV_vertex_program2_option
  9683. #define GL_NV_vertex_program2_option 1
  9684. #endif /* GL_NV_vertex_program2_option */
  9685. #ifndef GL_NV_vertex_program3
  9686. #define GL_NV_vertex_program3 1
  9687. #endif /* GL_NV_vertex_program3 */
  9688. #ifndef GL_NV_vertex_program4
  9689. #define GL_NV_vertex_program4 1
  9690. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  9691. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  9692. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  9693. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  9694. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  9695. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  9696. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  9697. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  9698. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9699. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  9700. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  9701. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  9702. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  9703. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  9704. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  9705. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  9706. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  9707. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  9708. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  9709. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  9710. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  9711. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  9712. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  9713. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  9714. #ifdef GL_GLEXT_PROTOTYPES
  9715. GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
  9716. GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
  9717. GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
  9718. GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
  9719. GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
  9720. GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
  9721. GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
  9722. GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9723. GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
  9724. GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
  9725. GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
  9726. GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
  9727. GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
  9728. GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
  9729. GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
  9730. GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
  9731. GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
  9732. GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
  9733. GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
  9734. GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
  9735. GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  9736. GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
  9737. GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
  9738. #endif
  9739. #endif /* GL_NV_vertex_program4 */
  9740. #ifndef GL_NV_video_capture
  9741. #define GL_NV_video_capture 1
  9742. #define GL_VIDEO_BUFFER_NV 0x9020
  9743. #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
  9744. #define GL_FIELD_UPPER_NV 0x9022
  9745. #define GL_FIELD_LOWER_NV 0x9023
  9746. #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
  9747. #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
  9748. #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
  9749. #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
  9750. #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
  9751. #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
  9752. #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
  9753. #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
  9754. #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
  9755. #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
  9756. #define GL_PARTIAL_SUCCESS_NV 0x902E
  9757. #define GL_SUCCESS_NV 0x902F
  9758. #define GL_FAILURE_NV 0x9030
  9759. #define GL_YCBYCR8_422_NV 0x9031
  9760. #define GL_YCBAYCR8A_4224_NV 0x9032
  9761. #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
  9762. #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
  9763. #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
  9764. #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
  9765. #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
  9766. #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
  9767. #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
  9768. #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
  9769. #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
  9770. #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
  9771. typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  9772. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  9773. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  9774. typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  9775. typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
  9776. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  9777. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  9778. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  9779. typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  9780. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  9781. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  9782. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  9783. #ifdef GL_GLEXT_PROTOTYPES
  9784. GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
  9785. GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  9786. GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  9787. GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
  9788. GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
  9789. GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  9790. GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  9791. GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  9792. GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  9793. GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  9794. GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  9795. GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  9796. #endif
  9797. #endif /* GL_NV_video_capture */
  9798. #ifndef GL_OML_interlace
  9799. #define GL_OML_interlace 1
  9800. #define GL_INTERLACE_OML 0x8980
  9801. #define GL_INTERLACE_READ_OML 0x8981
  9802. #endif /* GL_OML_interlace */
  9803. #ifndef GL_OML_resample
  9804. #define GL_OML_resample 1
  9805. #define GL_PACK_RESAMPLE_OML 0x8984
  9806. #define GL_UNPACK_RESAMPLE_OML 0x8985
  9807. #define GL_RESAMPLE_REPLICATE_OML 0x8986
  9808. #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
  9809. #define GL_RESAMPLE_AVERAGE_OML 0x8988
  9810. #define GL_RESAMPLE_DECIMATE_OML 0x8989
  9811. #endif /* GL_OML_resample */
  9812. #ifndef GL_OML_subsample
  9813. #define GL_OML_subsample 1
  9814. #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
  9815. #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
  9816. #endif /* GL_OML_subsample */
  9817. #ifndef GL_PGI_misc_hints
  9818. #define GL_PGI_misc_hints 1
  9819. #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
  9820. #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
  9821. #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
  9822. #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
  9823. #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  9824. #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
  9825. #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
  9826. #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
  9827. #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
  9828. #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
  9829. #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
  9830. #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
  9831. #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
  9832. #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
  9833. #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
  9834. #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
  9835. #define GL_CLIP_NEAR_HINT_PGI 0x1A220
  9836. #define GL_CLIP_FAR_HINT_PGI 0x1A221
  9837. #define GL_WIDE_LINE_HINT_PGI 0x1A222
  9838. #define GL_BACK_NORMALS_HINT_PGI 0x1A223
  9839. typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  9840. #ifdef GL_GLEXT_PROTOTYPES
  9841. GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
  9842. #endif
  9843. #endif /* GL_PGI_misc_hints */
  9844. #ifndef GL_PGI_vertex_hints
  9845. #define GL_PGI_vertex_hints 1
  9846. #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
  9847. #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
  9848. #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
  9849. #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
  9850. #define GL_COLOR3_BIT_PGI 0x00010000
  9851. #define GL_COLOR4_BIT_PGI 0x00020000
  9852. #define GL_EDGEFLAG_BIT_PGI 0x00040000
  9853. #define GL_INDEX_BIT_PGI 0x00080000
  9854. #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
  9855. #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  9856. #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
  9857. #define GL_MAT_EMISSION_BIT_PGI 0x00800000
  9858. #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
  9859. #define GL_MAT_SHININESS_BIT_PGI 0x02000000
  9860. #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
  9861. #define GL_NORMAL_BIT_PGI 0x08000000
  9862. #define GL_TEXCOORD1_BIT_PGI 0x10000000
  9863. #define GL_TEXCOORD2_BIT_PGI 0x20000000
  9864. #define GL_TEXCOORD3_BIT_PGI 0x40000000
  9865. #define GL_TEXCOORD4_BIT_PGI 0x80000000
  9866. #define GL_VERTEX23_BIT_PGI 0x00000004
  9867. #define GL_VERTEX4_BIT_PGI 0x00000008
  9868. #endif /* GL_PGI_vertex_hints */
  9869. #ifndef GL_REND_screen_coordinates
  9870. #define GL_REND_screen_coordinates 1
  9871. #define GL_SCREEN_COORDINATES_REND 0x8490
  9872. #define GL_INVERTED_SCREEN_W_REND 0x8491
  9873. #endif /* GL_REND_screen_coordinates */
  9874. #ifndef GL_S3_s3tc
  9875. #define GL_S3_s3tc 1
  9876. #define GL_RGB_S3TC 0x83A0
  9877. #define GL_RGB4_S3TC 0x83A1
  9878. #define GL_RGBA_S3TC 0x83A2
  9879. #define GL_RGBA4_S3TC 0x83A3
  9880. #define GL_RGBA_DXT5_S3TC 0x83A4
  9881. #define GL_RGBA4_DXT5_S3TC 0x83A5
  9882. #endif /* GL_S3_s3tc */
  9883. #ifndef GL_SGIS_detail_texture
  9884. #define GL_SGIS_detail_texture 1
  9885. #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
  9886. #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  9887. #define GL_LINEAR_DETAIL_SGIS 0x8097
  9888. #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
  9889. #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
  9890. #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
  9891. #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
  9892. #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  9893. typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  9894. typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  9895. #ifdef GL_GLEXT_PROTOTYPES
  9896. GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  9897. GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
  9898. #endif
  9899. #endif /* GL_SGIS_detail_texture */
  9900. #ifndef GL_SGIS_fog_function
  9901. #define GL_SGIS_fog_function 1
  9902. #define GL_FOG_FUNC_SGIS 0x812A
  9903. #define GL_FOG_FUNC_POINTS_SGIS 0x812B
  9904. #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
  9905. typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  9906. typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  9907. #ifdef GL_GLEXT_PROTOTYPES
  9908. GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
  9909. GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
  9910. #endif
  9911. #endif /* GL_SGIS_fog_function */
  9912. #ifndef GL_SGIS_generate_mipmap
  9913. #define GL_SGIS_generate_mipmap 1
  9914. #define GL_GENERATE_MIPMAP_SGIS 0x8191
  9915. #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
  9916. #endif /* GL_SGIS_generate_mipmap */
  9917. #ifndef GL_SGIS_multisample
  9918. #define GL_SGIS_multisample 1
  9919. #define GL_MULTISAMPLE_SGIS 0x809D
  9920. #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
  9921. #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
  9922. #define GL_SAMPLE_MASK_SGIS 0x80A0
  9923. #define GL_1PASS_SGIS 0x80A1
  9924. #define GL_2PASS_0_SGIS 0x80A2
  9925. #define GL_2PASS_1_SGIS 0x80A3
  9926. #define GL_4PASS_0_SGIS 0x80A4
  9927. #define GL_4PASS_1_SGIS 0x80A5
  9928. #define GL_4PASS_2_SGIS 0x80A6
  9929. #define GL_4PASS_3_SGIS 0x80A7
  9930. #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
  9931. #define GL_SAMPLES_SGIS 0x80A9
  9932. #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
  9933. #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
  9934. #define GL_SAMPLE_PATTERN_SGIS 0x80AC
  9935. typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  9936. typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  9937. #ifdef GL_GLEXT_PROTOTYPES
  9938. GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
  9939. GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
  9940. #endif
  9941. #endif /* GL_SGIS_multisample */
  9942. #ifndef GL_SGIS_pixel_texture
  9943. #define GL_SGIS_pixel_texture 1
  9944. #define GL_PIXEL_TEXTURE_SGIS 0x8353
  9945. #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  9946. #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  9947. #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
  9948. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  9949. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  9950. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  9951. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  9952. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  9953. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  9954. #ifdef GL_GLEXT_PROTOTYPES
  9955. GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
  9956. GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
  9957. GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
  9958. GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
  9959. GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
  9960. GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
  9961. #endif
  9962. #endif /* GL_SGIS_pixel_texture */
  9963. #ifndef GL_SGIS_point_line_texgen
  9964. #define GL_SGIS_point_line_texgen 1
  9965. #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
  9966. #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
  9967. #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
  9968. #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
  9969. #define GL_EYE_POINT_SGIS 0x81F4
  9970. #define GL_OBJECT_POINT_SGIS 0x81F5
  9971. #define GL_EYE_LINE_SGIS 0x81F6
  9972. #define GL_OBJECT_LINE_SGIS 0x81F7
  9973. #endif /* GL_SGIS_point_line_texgen */
  9974. #ifndef GL_SGIS_point_parameters
  9975. #define GL_SGIS_point_parameters 1
  9976. #define GL_POINT_SIZE_MIN_SGIS 0x8126
  9977. #define GL_POINT_SIZE_MAX_SGIS 0x8127
  9978. #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  9979. #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
  9980. typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  9981. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  9982. #ifdef GL_GLEXT_PROTOTYPES
  9983. GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
  9984. GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
  9985. #endif
  9986. #endif /* GL_SGIS_point_parameters */
  9987. #ifndef GL_SGIS_sharpen_texture
  9988. #define GL_SGIS_sharpen_texture 1
  9989. #define GL_LINEAR_SHARPEN_SGIS 0x80AD
  9990. #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
  9991. #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
  9992. #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  9993. typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  9994. typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  9995. #ifdef GL_GLEXT_PROTOTYPES
  9996. GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  9997. GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
  9998. #endif
  9999. #endif /* GL_SGIS_sharpen_texture */
  10000. #ifndef GL_SGIS_texture4D
  10001. #define GL_SGIS_texture4D 1
  10002. #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
  10003. #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
  10004. #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
  10005. #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
  10006. #define GL_TEXTURE_4D_SGIS 0x8134
  10007. #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
  10008. #define GL_TEXTURE_4DSIZE_SGIS 0x8136
  10009. #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
  10010. #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
  10011. #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
  10012. 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 void *pixels);
  10013. 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 void *pixels);
  10014. #ifdef GL_GLEXT_PROTOTYPES
  10015. 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 void *pixels);
  10016. 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 void *pixels);
  10017. #endif
  10018. #endif /* GL_SGIS_texture4D */
  10019. #ifndef GL_SGIS_texture_border_clamp
  10020. #define GL_SGIS_texture_border_clamp 1
  10021. #define GL_CLAMP_TO_BORDER_SGIS 0x812D
  10022. #endif /* GL_SGIS_texture_border_clamp */
  10023. #ifndef GL_SGIS_texture_color_mask
  10024. #define GL_SGIS_texture_color_mask 1
  10025. #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
  10026. typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  10027. #ifdef GL_GLEXT_PROTOTYPES
  10028. GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  10029. #endif
  10030. #endif /* GL_SGIS_texture_color_mask */
  10031. #ifndef GL_SGIS_texture_edge_clamp
  10032. #define GL_SGIS_texture_edge_clamp 1
  10033. #define GL_CLAMP_TO_EDGE_SGIS 0x812F
  10034. #endif /* GL_SGIS_texture_edge_clamp */
  10035. #ifndef GL_SGIS_texture_filter4
  10036. #define GL_SGIS_texture_filter4 1
  10037. #define GL_FILTER4_SGIS 0x8146
  10038. #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
  10039. typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  10040. typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  10041. #ifdef GL_GLEXT_PROTOTYPES
  10042. GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
  10043. GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  10044. #endif
  10045. #endif /* GL_SGIS_texture_filter4 */
  10046. #ifndef GL_SGIS_texture_lod
  10047. #define GL_SGIS_texture_lod 1
  10048. #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
  10049. #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
  10050. #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
  10051. #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
  10052. #endif /* GL_SGIS_texture_lod */
  10053. #ifndef GL_SGIS_texture_select
  10054. #define GL_SGIS_texture_select 1
  10055. #define GL_DUAL_ALPHA4_SGIS 0x8110
  10056. #define GL_DUAL_ALPHA8_SGIS 0x8111
  10057. #define GL_DUAL_ALPHA12_SGIS 0x8112
  10058. #define GL_DUAL_ALPHA16_SGIS 0x8113
  10059. #define GL_DUAL_LUMINANCE4_SGIS 0x8114
  10060. #define GL_DUAL_LUMINANCE8_SGIS 0x8115
  10061. #define GL_DUAL_LUMINANCE12_SGIS 0x8116
  10062. #define GL_DUAL_LUMINANCE16_SGIS 0x8117
  10063. #define GL_DUAL_INTENSITY4_SGIS 0x8118
  10064. #define GL_DUAL_INTENSITY8_SGIS 0x8119
  10065. #define GL_DUAL_INTENSITY12_SGIS 0x811A
  10066. #define GL_DUAL_INTENSITY16_SGIS 0x811B
  10067. #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
  10068. #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
  10069. #define GL_QUAD_ALPHA4_SGIS 0x811E
  10070. #define GL_QUAD_ALPHA8_SGIS 0x811F
  10071. #define GL_QUAD_LUMINANCE4_SGIS 0x8120
  10072. #define GL_QUAD_LUMINANCE8_SGIS 0x8121
  10073. #define GL_QUAD_INTENSITY4_SGIS 0x8122
  10074. #define GL_QUAD_INTENSITY8_SGIS 0x8123
  10075. #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
  10076. #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
  10077. #endif /* GL_SGIS_texture_select */
  10078. #ifndef GL_SGIX_async
  10079. #define GL_SGIX_async 1
  10080. #define GL_ASYNC_MARKER_SGIX 0x8329
  10081. typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  10082. typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  10083. typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  10084. typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  10085. typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  10086. typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  10087. #ifdef GL_GLEXT_PROTOTYPES
  10088. GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
  10089. GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
  10090. GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
  10091. GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
  10092. GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
  10093. GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
  10094. #endif
  10095. #endif /* GL_SGIX_async */
  10096. #ifndef GL_SGIX_async_histogram
  10097. #define GL_SGIX_async_histogram 1
  10098. #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
  10099. #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
  10100. #endif /* GL_SGIX_async_histogram */
  10101. #ifndef GL_SGIX_async_pixel
  10102. #define GL_SGIX_async_pixel 1
  10103. #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
  10104. #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
  10105. #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
  10106. #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
  10107. #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
  10108. #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
  10109. #endif /* GL_SGIX_async_pixel */
  10110. #ifndef GL_SGIX_blend_alpha_minmax
  10111. #define GL_SGIX_blend_alpha_minmax 1
  10112. #define GL_ALPHA_MIN_SGIX 0x8320
  10113. #define GL_ALPHA_MAX_SGIX 0x8321
  10114. #endif /* GL_SGIX_blend_alpha_minmax */
  10115. #ifndef GL_SGIX_calligraphic_fragment
  10116. #define GL_SGIX_calligraphic_fragment 1
  10117. #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
  10118. #endif /* GL_SGIX_calligraphic_fragment */
  10119. #ifndef GL_SGIX_clipmap
  10120. #define GL_SGIX_clipmap 1
  10121. #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
  10122. #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
  10123. #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
  10124. #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
  10125. #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  10126. #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  10127. #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
  10128. #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
  10129. #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  10130. #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
  10131. #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
  10132. #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
  10133. #endif /* GL_SGIX_clipmap */
  10134. #ifndef GL_SGIX_convolution_accuracy
  10135. #define GL_SGIX_convolution_accuracy 1
  10136. #define GL_CONVOLUTION_HINT_SGIX 0x8316
  10137. #endif /* GL_SGIX_convolution_accuracy */
  10138. #ifndef GL_SGIX_depth_pass_instrument
  10139. #define GL_SGIX_depth_pass_instrument 1
  10140. #endif /* GL_SGIX_depth_pass_instrument */
  10141. #ifndef GL_SGIX_depth_texture
  10142. #define GL_SGIX_depth_texture 1
  10143. #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
  10144. #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
  10145. #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
  10146. #endif /* GL_SGIX_depth_texture */
  10147. #ifndef GL_SGIX_flush_raster
  10148. #define GL_SGIX_flush_raster 1
  10149. typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  10150. #ifdef GL_GLEXT_PROTOTYPES
  10151. GLAPI void APIENTRY glFlushRasterSGIX (void);
  10152. #endif
  10153. #endif /* GL_SGIX_flush_raster */
  10154. #ifndef GL_SGIX_fog_offset
  10155. #define GL_SGIX_fog_offset 1
  10156. #define GL_FOG_OFFSET_SGIX 0x8198
  10157. #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
  10158. #endif /* GL_SGIX_fog_offset */
  10159. #ifndef GL_SGIX_fragment_lighting
  10160. #define GL_SGIX_fragment_lighting 1
  10161. #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
  10162. #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
  10163. #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  10164. #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  10165. #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
  10166. #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
  10167. #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
  10168. #define GL_LIGHT_ENV_MODE_SGIX 0x8407
  10169. #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  10170. #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  10171. #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  10172. #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  10173. #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
  10174. #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
  10175. #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
  10176. #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
  10177. #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
  10178. #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
  10179. #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
  10180. #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
  10181. typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  10182. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  10183. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  10184. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  10185. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  10186. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  10187. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  10188. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  10189. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  10190. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  10191. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  10192. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  10193. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  10194. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  10195. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  10196. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  10197. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  10198. typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  10199. #ifdef GL_GLEXT_PROTOTYPES
  10200. GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
  10201. GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
  10202. GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
  10203. GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
  10204. GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
  10205. GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
  10206. GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
  10207. GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
  10208. GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
  10209. GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
  10210. GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
  10211. GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
  10212. GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
  10213. GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
  10214. GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
  10215. GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
  10216. GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
  10217. GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
  10218. #endif
  10219. #endif /* GL_SGIX_fragment_lighting */
  10220. #ifndef GL_SGIX_framezoom
  10221. #define GL_SGIX_framezoom 1
  10222. #define GL_FRAMEZOOM_SGIX 0x818B
  10223. #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
  10224. #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
  10225. typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  10226. #ifdef GL_GLEXT_PROTOTYPES
  10227. GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
  10228. #endif
  10229. #endif /* GL_SGIX_framezoom */
  10230. #ifndef GL_SGIX_igloo_interface
  10231. #define GL_SGIX_igloo_interface 1
  10232. typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
  10233. #ifdef GL_GLEXT_PROTOTYPES
  10234. GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
  10235. #endif
  10236. #endif /* GL_SGIX_igloo_interface */
  10237. #ifndef GL_SGIX_instruments
  10238. #define GL_SGIX_instruments 1
  10239. #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  10240. #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
  10241. typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  10242. typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  10243. typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  10244. typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  10245. typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  10246. typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  10247. #ifdef GL_GLEXT_PROTOTYPES
  10248. GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  10249. GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
  10250. GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
  10251. GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
  10252. GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  10253. GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
  10254. #endif
  10255. #endif /* GL_SGIX_instruments */
  10256. #ifndef GL_SGIX_interlace
  10257. #define GL_SGIX_interlace 1
  10258. #define GL_INTERLACE_SGIX 0x8094
  10259. #endif /* GL_SGIX_interlace */
  10260. #ifndef GL_SGIX_ir_instrument1
  10261. #define GL_SGIX_ir_instrument1 1
  10262. #define GL_IR_INSTRUMENT1_SGIX 0x817F
  10263. #endif /* GL_SGIX_ir_instrument1 */
  10264. #ifndef GL_SGIX_list_priority
  10265. #define GL_SGIX_list_priority 1
  10266. #define GL_LIST_PRIORITY_SGIX 0x8182
  10267. typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  10268. typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  10269. typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  10270. typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  10271. typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  10272. typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  10273. #ifdef GL_GLEXT_PROTOTYPES
  10274. GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
  10275. GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
  10276. GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
  10277. GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
  10278. GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
  10279. GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
  10280. #endif
  10281. #endif /* GL_SGIX_list_priority */
  10282. #ifndef GL_SGIX_pixel_texture
  10283. #define GL_SGIX_pixel_texture 1
  10284. #define GL_PIXEL_TEX_GEN_SGIX 0x8139
  10285. #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
  10286. typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  10287. #ifdef GL_GLEXT_PROTOTYPES
  10288. GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
  10289. #endif
  10290. #endif /* GL_SGIX_pixel_texture */
  10291. #ifndef GL_SGIX_pixel_tiles
  10292. #define GL_SGIX_pixel_tiles 1
  10293. #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  10294. #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  10295. #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
  10296. #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
  10297. #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
  10298. #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
  10299. #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
  10300. #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
  10301. #endif /* GL_SGIX_pixel_tiles */
  10302. #ifndef GL_SGIX_polynomial_ffd
  10303. #define GL_SGIX_polynomial_ffd 1
  10304. #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
  10305. #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
  10306. #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
  10307. #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
  10308. #define GL_DEFORMATIONS_MASK_SGIX 0x8196
  10309. #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
  10310. 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);
  10311. 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);
  10312. typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  10313. typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  10314. #ifdef GL_GLEXT_PROTOTYPES
  10315. 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);
  10316. 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);
  10317. GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
  10318. GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
  10319. #endif
  10320. #endif /* GL_SGIX_polynomial_ffd */
  10321. #ifndef GL_SGIX_reference_plane
  10322. #define GL_SGIX_reference_plane 1
  10323. #define GL_REFERENCE_PLANE_SGIX 0x817D
  10324. #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
  10325. typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  10326. #ifdef GL_GLEXT_PROTOTYPES
  10327. GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
  10328. #endif
  10329. #endif /* GL_SGIX_reference_plane */
  10330. #ifndef GL_SGIX_resample
  10331. #define GL_SGIX_resample 1
  10332. #define GL_PACK_RESAMPLE_SGIX 0x842C
  10333. #define GL_UNPACK_RESAMPLE_SGIX 0x842D
  10334. #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
  10335. #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
  10336. #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
  10337. #endif /* GL_SGIX_resample */
  10338. #ifndef GL_SGIX_scalebias_hint
  10339. #define GL_SGIX_scalebias_hint 1
  10340. #define GL_SCALEBIAS_HINT_SGIX 0x8322
  10341. #endif /* GL_SGIX_scalebias_hint */
  10342. #ifndef GL_SGIX_shadow
  10343. #define GL_SGIX_shadow 1
  10344. #define GL_TEXTURE_COMPARE_SGIX 0x819A
  10345. #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
  10346. #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
  10347. #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
  10348. #endif /* GL_SGIX_shadow */
  10349. #ifndef GL_SGIX_shadow_ambient
  10350. #define GL_SGIX_shadow_ambient 1
  10351. #define GL_SHADOW_AMBIENT_SGIX 0x80BF
  10352. #endif /* GL_SGIX_shadow_ambient */
  10353. #ifndef GL_SGIX_sprite
  10354. #define GL_SGIX_sprite 1
  10355. #define GL_SPRITE_SGIX 0x8148
  10356. #define GL_SPRITE_MODE_SGIX 0x8149
  10357. #define GL_SPRITE_AXIS_SGIX 0x814A
  10358. #define GL_SPRITE_TRANSLATION_SGIX 0x814B
  10359. #define GL_SPRITE_AXIAL_SGIX 0x814C
  10360. #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
  10361. #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
  10362. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  10363. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  10364. typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  10365. typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  10366. #ifdef GL_GLEXT_PROTOTYPES
  10367. GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
  10368. GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
  10369. GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
  10370. GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
  10371. #endif
  10372. #endif /* GL_SGIX_sprite */
  10373. #ifndef GL_SGIX_subsample
  10374. #define GL_SGIX_subsample 1
  10375. #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
  10376. #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
  10377. #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
  10378. #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
  10379. #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
  10380. #endif /* GL_SGIX_subsample */
  10381. #ifndef GL_SGIX_tag_sample_buffer
  10382. #define GL_SGIX_tag_sample_buffer 1
  10383. typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  10384. #ifdef GL_GLEXT_PROTOTYPES
  10385. GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  10386. #endif
  10387. #endif /* GL_SGIX_tag_sample_buffer */
  10388. #ifndef GL_SGIX_texture_add_env
  10389. #define GL_SGIX_texture_add_env 1
  10390. #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
  10391. #endif /* GL_SGIX_texture_add_env */
  10392. #ifndef GL_SGIX_texture_coordinate_clamp
  10393. #define GL_SGIX_texture_coordinate_clamp 1
  10394. #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
  10395. #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
  10396. #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
  10397. #endif /* GL_SGIX_texture_coordinate_clamp */
  10398. #ifndef GL_SGIX_texture_lod_bias
  10399. #define GL_SGIX_texture_lod_bias 1
  10400. #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
  10401. #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
  10402. #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
  10403. #endif /* GL_SGIX_texture_lod_bias */
  10404. #ifndef GL_SGIX_texture_multi_buffer
  10405. #define GL_SGIX_texture_multi_buffer 1
  10406. #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  10407. #endif /* GL_SGIX_texture_multi_buffer */
  10408. #ifndef GL_SGIX_texture_scale_bias
  10409. #define GL_SGIX_texture_scale_bias 1
  10410. #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
  10411. #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  10412. #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  10413. #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  10414. #endif /* GL_SGIX_texture_scale_bias */
  10415. #ifndef GL_SGIX_vertex_preclip
  10416. #define GL_SGIX_vertex_preclip 1
  10417. #define GL_VERTEX_PRECLIP_SGIX 0x83EE
  10418. #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
  10419. #endif /* GL_SGIX_vertex_preclip */
  10420. #ifndef GL_SGIX_ycrcb
  10421. #define GL_SGIX_ycrcb 1
  10422. #define GL_YCRCB_422_SGIX 0x81BB
  10423. #define GL_YCRCB_444_SGIX 0x81BC
  10424. #endif /* GL_SGIX_ycrcb */
  10425. #ifndef GL_SGIX_ycrcb_subsample
  10426. #define GL_SGIX_ycrcb_subsample 1
  10427. #endif /* GL_SGIX_ycrcb_subsample */
  10428. #ifndef GL_SGIX_ycrcba
  10429. #define GL_SGIX_ycrcba 1
  10430. #define GL_YCRCB_SGIX 0x8318
  10431. #define GL_YCRCBA_SGIX 0x8319
  10432. #endif /* GL_SGIX_ycrcba */
  10433. #ifndef GL_SGI_color_matrix
  10434. #define GL_SGI_color_matrix 1
  10435. #define GL_COLOR_MATRIX_SGI 0x80B1
  10436. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
  10437. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  10438. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  10439. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  10440. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  10441. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  10442. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  10443. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  10444. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  10445. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  10446. #endif /* GL_SGI_color_matrix */
  10447. #ifndef GL_SGI_color_table
  10448. #define GL_SGI_color_table 1
  10449. #define GL_COLOR_TABLE_SGI 0x80D0
  10450. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  10451. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  10452. #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
  10453. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  10454. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  10455. #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
  10456. #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
  10457. #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
  10458. #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
  10459. #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
  10460. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
  10461. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
  10462. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
  10463. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  10464. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  10465. typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  10466. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  10467. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  10468. typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  10469. typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
  10470. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  10471. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  10472. #ifdef GL_GLEXT_PROTOTYPES
  10473. GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  10474. GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
  10475. GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
  10476. GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  10477. GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
  10478. GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
  10479. GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
  10480. #endif
  10481. #endif /* GL_SGI_color_table */
  10482. #ifndef GL_SGI_texture_color_table
  10483. #define GL_SGI_texture_color_table 1
  10484. #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
  10485. #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
  10486. #endif /* GL_SGI_texture_color_table */
  10487. #ifndef GL_SUNX_constant_data
  10488. #define GL_SUNX_constant_data 1
  10489. #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
  10490. #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
  10491. typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  10492. #ifdef GL_GLEXT_PROTOTYPES
  10493. GLAPI void APIENTRY glFinishTextureSUNX (void);
  10494. #endif
  10495. #endif /* GL_SUNX_constant_data */
  10496. #ifndef GL_SUN_convolution_border_modes
  10497. #define GL_SUN_convolution_border_modes 1
  10498. #define GL_WRAP_BORDER_SUN 0x81D4
  10499. #endif /* GL_SUN_convolution_border_modes */
  10500. #ifndef GL_SUN_global_alpha
  10501. #define GL_SUN_global_alpha 1
  10502. #define GL_GLOBAL_ALPHA_SUN 0x81D9
  10503. #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
  10504. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  10505. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  10506. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  10507. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  10508. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  10509. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  10510. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  10511. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  10512. #ifdef GL_GLEXT_PROTOTYPES
  10513. GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
  10514. GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
  10515. GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
  10516. GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
  10517. GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
  10518. GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
  10519. GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
  10520. GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
  10521. #endif
  10522. #endif /* GL_SUN_global_alpha */
  10523. #ifndef GL_SUN_mesh_array
  10524. #define GL_SUN_mesh_array 1
  10525. #define GL_QUAD_MESH_SUN 0x8614
  10526. #define GL_TRIANGLE_MESH_SUN 0x8615
  10527. typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
  10528. #ifdef GL_GLEXT_PROTOTYPES
  10529. GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
  10530. #endif
  10531. #endif /* GL_SUN_mesh_array */
  10532. #ifndef GL_SUN_slice_accum
  10533. #define GL_SUN_slice_accum 1
  10534. #define GL_SLICE_ACCUM_SUN 0x85CC
  10535. #endif /* GL_SUN_slice_accum */
  10536. #ifndef GL_SUN_triangle_list
  10537. #define GL_SUN_triangle_list 1
  10538. #define GL_RESTART_SUN 0x0001
  10539. #define GL_REPLACE_MIDDLE_SUN 0x0002
  10540. #define GL_REPLACE_OLDEST_SUN 0x0003
  10541. #define GL_TRIANGLE_LIST_SUN 0x81D7
  10542. #define GL_REPLACEMENT_CODE_SUN 0x81D8
  10543. #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
  10544. #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  10545. #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  10546. #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  10547. #define GL_R1UI_V3F_SUN 0x85C4
  10548. #define GL_R1UI_C4UB_V3F_SUN 0x85C5
  10549. #define GL_R1UI_C3F_V3F_SUN 0x85C6
  10550. #define GL_R1UI_N3F_V3F_SUN 0x85C7
  10551. #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
  10552. #define GL_R1UI_T2F_V3F_SUN 0x85C9
  10553. #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
  10554. #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
  10555. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  10556. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  10557. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  10558. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  10559. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  10560. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  10561. typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
  10562. #ifdef GL_GLEXT_PROTOTYPES
  10563. GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
  10564. GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
  10565. GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
  10566. GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
  10567. GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
  10568. GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
  10569. GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
  10570. #endif
  10571. #endif /* GL_SUN_triangle_list */
  10572. #ifndef GL_SUN_vertex
  10573. #define GL_SUN_vertex 1
  10574. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  10575. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  10576. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10577. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  10578. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10579. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  10580. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10581. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  10582. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10583. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10584. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  10585. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  10586. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10587. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  10588. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10589. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  10590. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10591. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  10592. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10593. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  10594. 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);
  10595. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10596. 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);
  10597. typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10598. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  10599. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  10600. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10601. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  10602. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10603. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  10604. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10605. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  10606. 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);
  10607. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10608. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  10609. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  10610. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10611. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  10612. 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);
  10613. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10614. #ifdef GL_GLEXT_PROTOTYPES
  10615. GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  10616. GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
  10617. GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10618. GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
  10619. GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10620. GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
  10621. GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10622. GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
  10623. GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10624. GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10625. GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  10626. GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
  10627. GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10628. GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
  10629. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10630. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  10631. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10632. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  10633. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10634. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  10635. 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);
  10636. GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10637. 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);
  10638. GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10639. GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  10640. GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
  10641. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10642. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  10643. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10644. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  10645. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10646. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  10647. 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);
  10648. GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10649. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  10650. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  10651. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10652. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  10653. 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);
  10654. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10655. #endif
  10656. #endif /* GL_SUN_vertex */
  10657. #ifndef GL_WIN_phong_shading
  10658. #define GL_WIN_phong_shading 1
  10659. #define GL_PHONG_WIN 0x80EA
  10660. #define GL_PHONG_HINT_WIN 0x80EB
  10661. #endif /* GL_WIN_phong_shading */
  10662. #ifndef GL_WIN_specular_fog
  10663. #define GL_WIN_specular_fog 1
  10664. #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
  10665. #endif /* GL_WIN_specular_fog */
  10666. #ifdef __cplusplus
  10667. }
  10668. #endif
  10669. #endif