🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11180 lines
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. #ifndef NOMINMAX /* don't define min() and max(). */
  41. #define NOMINMAX
  42. #endif
  43. #include <windows.h>
  44. #endif
  45. #ifndef APIENTRY
  46. #define APIENTRY
  47. #endif
  48. #ifndef APIENTRYP
  49. #define APIENTRYP APIENTRY *
  50. #endif
  51. #ifndef GLAPI
  52. #define GLAPI extern
  53. #endif
  54. #define GL_GLEXT_VERSION 20140521
  55. /* Generated C header for:
  56. * API: gl
  57. * Profile: compatibility
  58. * Versions considered: .*
  59. * Versions emitted: 1\.[2-9]|[234]\.[0-9]
  60. * Default extensions included: gl
  61. * Additional extensions included: _nomatch_^
  62. * Extensions removed: _nomatch_^
  63. */
  64. #ifndef GL_VERSION_1_2
  65. #define GL_VERSION_1_2 1
  66. #define GL_UNSIGNED_BYTE_3_3_2 0x8032
  67. #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
  68. #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
  69. #define GL_UNSIGNED_INT_8_8_8_8 0x8035
  70. #define GL_UNSIGNED_INT_10_10_10_2 0x8036
  71. #define GL_TEXTURE_BINDING_3D 0x806A
  72. #define GL_PACK_SKIP_IMAGES 0x806B
  73. #define GL_PACK_IMAGE_HEIGHT 0x806C
  74. #define GL_UNPACK_SKIP_IMAGES 0x806D
  75. #define GL_UNPACK_IMAGE_HEIGHT 0x806E
  76. #define GL_TEXTURE_3D 0x806F
  77. #define GL_PROXY_TEXTURE_3D 0x8070
  78. #define GL_TEXTURE_DEPTH 0x8071
  79. #define GL_TEXTURE_WRAP_R 0x8072
  80. #define GL_MAX_3D_TEXTURE_SIZE 0x8073
  81. #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
  82. #define GL_UNSIGNED_SHORT_5_6_5 0x8363
  83. #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
  84. #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
  85. #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
  86. #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
  87. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  88. #define GL_BGR 0x80E0
  89. #define GL_BGRA 0x80E1
  90. #define GL_MAX_ELEMENTS_VERTICES 0x80E8
  91. #define GL_MAX_ELEMENTS_INDICES 0x80E9
  92. #define GL_CLAMP_TO_EDGE 0x812F
  93. #define GL_TEXTURE_MIN_LOD 0x813A
  94. #define GL_TEXTURE_MAX_LOD 0x813B
  95. #define GL_TEXTURE_BASE_LEVEL 0x813C
  96. #define GL_TEXTURE_MAX_LEVEL 0x813D
  97. #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
  98. #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
  99. #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
  100. #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
  101. #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
  102. #define GL_RESCALE_NORMAL 0x803A
  103. #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
  104. #define GL_SINGLE_COLOR 0x81F9
  105. #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
  106. #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
  107. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  108. 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);
  109. 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);
  110. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  111. #ifdef GL_GLEXT_PROTOTYPES
  112. GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  113. 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);
  114. 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);
  115. GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  116. #endif
  117. #endif /* GL_VERSION_1_2 */
  118. #ifndef GL_VERSION_1_3
  119. #define GL_VERSION_1_3 1
  120. #define GL_TEXTURE0 0x84C0
  121. #define GL_TEXTURE1 0x84C1
  122. #define GL_TEXTURE2 0x84C2
  123. #define GL_TEXTURE3 0x84C3
  124. #define GL_TEXTURE4 0x84C4
  125. #define GL_TEXTURE5 0x84C5
  126. #define GL_TEXTURE6 0x84C6
  127. #define GL_TEXTURE7 0x84C7
  128. #define GL_TEXTURE8 0x84C8
  129. #define GL_TEXTURE9 0x84C9
  130. #define GL_TEXTURE10 0x84CA
  131. #define GL_TEXTURE11 0x84CB
  132. #define GL_TEXTURE12 0x84CC
  133. #define GL_TEXTURE13 0x84CD
  134. #define GL_TEXTURE14 0x84CE
  135. #define GL_TEXTURE15 0x84CF
  136. #define GL_TEXTURE16 0x84D0
  137. #define GL_TEXTURE17 0x84D1
  138. #define GL_TEXTURE18 0x84D2
  139. #define GL_TEXTURE19 0x84D3
  140. #define GL_TEXTURE20 0x84D4
  141. #define GL_TEXTURE21 0x84D5
  142. #define GL_TEXTURE22 0x84D6
  143. #define GL_TEXTURE23 0x84D7
  144. #define GL_TEXTURE24 0x84D8
  145. #define GL_TEXTURE25 0x84D9
  146. #define GL_TEXTURE26 0x84DA
  147. #define GL_TEXTURE27 0x84DB
  148. #define GL_TEXTURE28 0x84DC
  149. #define GL_TEXTURE29 0x84DD
  150. #define GL_TEXTURE30 0x84DE
  151. #define GL_TEXTURE31 0x84DF
  152. #define GL_ACTIVE_TEXTURE 0x84E0
  153. #define GL_MULTISAMPLE 0x809D
  154. #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
  155. #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
  156. #define GL_SAMPLE_COVERAGE 0x80A0
  157. #define GL_SAMPLE_BUFFERS 0x80A8
  158. #define GL_SAMPLES 0x80A9
  159. #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
  160. #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
  161. #define GL_TEXTURE_CUBE_MAP 0x8513
  162. #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
  163. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
  164. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
  165. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
  166. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
  167. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
  168. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
  169. #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
  170. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
  171. #define GL_COMPRESSED_RGB 0x84ED
  172. #define GL_COMPRESSED_RGBA 0x84EE
  173. #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
  174. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
  175. #define GL_TEXTURE_COMPRESSED 0x86A1
  176. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
  177. #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
  178. #define GL_CLAMP_TO_BORDER 0x812D
  179. #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
  180. #define GL_MAX_TEXTURE_UNITS 0x84E2
  181. #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
  182. #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
  183. #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
  184. #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
  185. #define GL_MULTISAMPLE_BIT 0x20000000
  186. #define GL_NORMAL_MAP 0x8511
  187. #define GL_REFLECTION_MAP 0x8512
  188. #define GL_COMPRESSED_ALPHA 0x84E9
  189. #define GL_COMPRESSED_LUMINANCE 0x84EA
  190. #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
  191. #define GL_COMPRESSED_INTENSITY 0x84EC
  192. #define GL_COMBINE 0x8570
  193. #define GL_COMBINE_RGB 0x8571
  194. #define GL_COMBINE_ALPHA 0x8572
  195. #define GL_SOURCE0_RGB 0x8580
  196. #define GL_SOURCE1_RGB 0x8581
  197. #define GL_SOURCE2_RGB 0x8582
  198. #define GL_SOURCE0_ALPHA 0x8588
  199. #define GL_SOURCE1_ALPHA 0x8589
  200. #define GL_SOURCE2_ALPHA 0x858A
  201. #define GL_OPERAND0_RGB 0x8590
  202. #define GL_OPERAND1_RGB 0x8591
  203. #define GL_OPERAND2_RGB 0x8592
  204. #define GL_OPERAND0_ALPHA 0x8598
  205. #define GL_OPERAND1_ALPHA 0x8599
  206. #define GL_OPERAND2_ALPHA 0x859A
  207. #define GL_RGB_SCALE 0x8573
  208. #define GL_ADD_SIGNED 0x8574
  209. #define GL_INTERPOLATE 0x8575
  210. #define GL_SUBTRACT 0x84E7
  211. #define GL_CONSTANT 0x8576
  212. #define GL_PRIMARY_COLOR 0x8577
  213. #define GL_PREVIOUS 0x8578
  214. #define GL_DOT3_RGB 0x86AE
  215. #define GL_DOT3_RGBA 0x86AF
  216. typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  217. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
  218. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  219. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  220. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  221. 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);
  222. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  223. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  224. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
  225. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  226. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  227. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  228. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  229. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  230. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  231. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  232. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  233. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  234. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  235. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  236. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  237. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  238. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  239. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  240. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  241. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  242. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  243. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  244. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  245. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  246. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  247. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  248. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  249. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  250. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  251. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  252. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  253. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  254. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  255. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  256. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  257. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  258. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  259. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  260. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  261. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  262. #ifdef GL_GLEXT_PROTOTYPES
  263. GLAPI void APIENTRY glActiveTexture (GLenum texture);
  264. GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
  265. GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  266. GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  267. GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  268. 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);
  269. GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  270. GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  271. GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
  272. GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
  273. GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
  274. GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
  275. GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
  276. GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
  277. GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
  278. GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
  279. GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
  280. GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
  281. GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
  282. GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
  283. GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
  284. GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
  285. GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
  286. GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
  287. GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
  288. GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
  289. GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  290. GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
  291. GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  292. GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
  293. GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
  294. GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
  295. GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
  296. GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
  297. GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  298. GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
  299. GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  300. GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
  301. GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
  302. GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
  303. GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  304. GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
  305. GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
  306. GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
  307. GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
  308. GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
  309. #endif
  310. #endif /* GL_VERSION_1_3 */
  311. #ifndef GL_VERSION_1_4
  312. #define GL_VERSION_1_4 1
  313. #define GL_BLEND_DST_RGB 0x80C8
  314. #define GL_BLEND_SRC_RGB 0x80C9
  315. #define GL_BLEND_DST_ALPHA 0x80CA
  316. #define GL_BLEND_SRC_ALPHA 0x80CB
  317. #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
  318. #define GL_DEPTH_COMPONENT16 0x81A5
  319. #define GL_DEPTH_COMPONENT24 0x81A6
  320. #define GL_DEPTH_COMPONENT32 0x81A7
  321. #define GL_MIRRORED_REPEAT 0x8370
  322. #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
  323. #define GL_TEXTURE_LOD_BIAS 0x8501
  324. #define GL_INCR_WRAP 0x8507
  325. #define GL_DECR_WRAP 0x8508
  326. #define GL_TEXTURE_DEPTH_SIZE 0x884A
  327. #define GL_TEXTURE_COMPARE_MODE 0x884C
  328. #define GL_TEXTURE_COMPARE_FUNC 0x884D
  329. #define GL_POINT_SIZE_MIN 0x8126
  330. #define GL_POINT_SIZE_MAX 0x8127
  331. #define GL_POINT_DISTANCE_ATTENUATION 0x8129
  332. #define GL_GENERATE_MIPMAP 0x8191
  333. #define GL_GENERATE_MIPMAP_HINT 0x8192
  334. #define GL_FOG_COORDINATE_SOURCE 0x8450
  335. #define GL_FOG_COORDINATE 0x8451
  336. #define GL_FRAGMENT_DEPTH 0x8452
  337. #define GL_CURRENT_FOG_COORDINATE 0x8453
  338. #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
  339. #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
  340. #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
  341. #define GL_FOG_COORDINATE_ARRAY 0x8457
  342. #define GL_COLOR_SUM 0x8458
  343. #define GL_CURRENT_SECONDARY_COLOR 0x8459
  344. #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
  345. #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
  346. #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
  347. #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
  348. #define GL_SECONDARY_COLOR_ARRAY 0x845E
  349. #define GL_TEXTURE_FILTER_CONTROL 0x8500
  350. #define GL_DEPTH_TEXTURE_MODE 0x884B
  351. #define GL_COMPARE_R_TO_TEXTURE 0x884E
  352. #define GL_FUNC_ADD 0x8006
  353. #define GL_FUNC_SUBTRACT 0x800A
  354. #define GL_FUNC_REVERSE_SUBTRACT 0x800B
  355. #define GL_MIN 0x8007
  356. #define GL_MAX 0x8008
  357. #define GL_CONSTANT_COLOR 0x8001
  358. #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
  359. #define GL_CONSTANT_ALPHA 0x8003
  360. #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
  361. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  362. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  363. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  364. typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  365. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  366. typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  367. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  368. typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
  369. typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  370. typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
  371. typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  372. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
  373. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  374. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  375. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  376. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  377. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  378. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  379. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  380. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  381. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  382. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  383. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  384. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  385. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  386. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  387. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  388. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  389. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  390. typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  391. typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
  392. typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  393. typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
  394. typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  395. typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
  396. typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  397. typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
  398. typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  399. typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
  400. typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  401. typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
  402. typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  403. typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
  404. typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  405. typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
  406. typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  407. typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  408. #ifdef GL_GLEXT_PROTOTYPES
  409. GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  410. GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  411. GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  412. GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
  413. GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
  414. GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
  415. GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
  416. GLAPI void APIENTRY glFogCoordf (GLfloat coord);
  417. GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
  418. GLAPI void APIENTRY glFogCoordd (GLdouble coord);
  419. GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
  420. GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
  421. GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
  422. GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
  423. GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
  424. GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
  425. GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
  426. GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
  427. GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
  428. GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
  429. GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
  430. GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
  431. GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
  432. GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
  433. GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
  434. GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
  435. GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
  436. GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
  437. GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
  438. GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
  439. GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
  440. GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
  441. GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
  442. GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
  443. GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
  444. GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
  445. GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
  446. GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
  447. GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
  448. GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
  449. GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
  450. GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
  451. GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
  452. GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
  453. GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
  454. GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  455. GLAPI void APIENTRY glBlendEquation (GLenum mode);
  456. #endif
  457. #endif /* GL_VERSION_1_4 */
  458. #ifndef GL_VERSION_1_5
  459. #define GL_VERSION_1_5 1
  460. #include <stddef.h>
  461. #ifdef __MACOSX__
  462. typedef long GLsizeiptr;
  463. typedef long GLintptr;
  464. #else
  465. typedef ptrdiff_t GLsizeiptr;
  466. typedef ptrdiff_t GLintptr;
  467. #endif
  468. #define GL_BUFFER_SIZE 0x8764
  469. #define GL_BUFFER_USAGE 0x8765
  470. #define GL_QUERY_COUNTER_BITS 0x8864
  471. #define GL_CURRENT_QUERY 0x8865
  472. #define GL_QUERY_RESULT 0x8866
  473. #define GL_QUERY_RESULT_AVAILABLE 0x8867
  474. #define GL_ARRAY_BUFFER 0x8892
  475. #define GL_ELEMENT_ARRAY_BUFFER 0x8893
  476. #define GL_ARRAY_BUFFER_BINDING 0x8894
  477. #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
  478. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
  479. #define GL_READ_ONLY 0x88B8
  480. #define GL_WRITE_ONLY 0x88B9
  481. #define GL_READ_WRITE 0x88BA
  482. #define GL_BUFFER_ACCESS 0x88BB
  483. #define GL_BUFFER_MAPPED 0x88BC
  484. #define GL_BUFFER_MAP_POINTER 0x88BD
  485. #define GL_STREAM_DRAW 0x88E0
  486. #define GL_STREAM_READ 0x88E1
  487. #define GL_STREAM_COPY 0x88E2
  488. #define GL_STATIC_DRAW 0x88E4
  489. #define GL_STATIC_READ 0x88E5
  490. #define GL_STATIC_COPY 0x88E6
  491. #define GL_DYNAMIC_DRAW 0x88E8
  492. #define GL_DYNAMIC_READ 0x88E9
  493. #define GL_DYNAMIC_COPY 0x88EA
  494. #define GL_SAMPLES_PASSED 0x8914
  495. #define GL_SRC1_ALPHA 0x8589
  496. #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
  497. #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
  498. #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
  499. #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
  500. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
  501. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
  502. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
  503. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
  504. #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
  505. #define GL_FOG_COORD_SRC 0x8450
  506. #define GL_FOG_COORD 0x8451
  507. #define GL_CURRENT_FOG_COORD 0x8453
  508. #define GL_FOG_COORD_ARRAY_TYPE 0x8454
  509. #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
  510. #define GL_FOG_COORD_ARRAY_POINTER 0x8456
  511. #define GL_FOG_COORD_ARRAY 0x8457
  512. #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
  513. #define GL_SRC0_RGB 0x8580
  514. #define GL_SRC1_RGB 0x8581
  515. #define GL_SRC2_RGB 0x8582
  516. #define GL_SRC0_ALPHA 0x8588
  517. #define GL_SRC2_ALPHA 0x858A
  518. typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  519. typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  520. typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  521. typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  522. typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  523. typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  524. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  525. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  526. typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  527. typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  528. typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  529. typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  530. typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  531. typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  532. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  533. typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  534. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  535. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  536. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
  537. #ifdef GL_GLEXT_PROTOTYPES
  538. GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
  539. GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
  540. GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
  541. GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
  542. GLAPI void APIENTRY glEndQuery (GLenum target);
  543. GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
  544. GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
  545. GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
  546. GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
  547. GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
  548. GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
  549. GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
  550. GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  551. GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  552. GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  553. GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
  554. GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
  555. GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
  556. GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
  557. #endif
  558. #endif /* GL_VERSION_1_5 */
  559. #ifndef GL_VERSION_2_0
  560. #define GL_VERSION_2_0 1
  561. typedef char GLchar;
  562. #define GL_BLEND_EQUATION_RGB 0x8009
  563. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
  564. #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
  565. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
  566. #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
  567. #define GL_CURRENT_VERTEX_ATTRIB 0x8626
  568. #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
  569. #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
  570. #define GL_STENCIL_BACK_FUNC 0x8800
  571. #define GL_STENCIL_BACK_FAIL 0x8801
  572. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
  573. #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
  574. #define GL_MAX_DRAW_BUFFERS 0x8824
  575. #define GL_DRAW_BUFFER0 0x8825
  576. #define GL_DRAW_BUFFER1 0x8826
  577. #define GL_DRAW_BUFFER2 0x8827
  578. #define GL_DRAW_BUFFER3 0x8828
  579. #define GL_DRAW_BUFFER4 0x8829
  580. #define GL_DRAW_BUFFER5 0x882A
  581. #define GL_DRAW_BUFFER6 0x882B
  582. #define GL_DRAW_BUFFER7 0x882C
  583. #define GL_DRAW_BUFFER8 0x882D
  584. #define GL_DRAW_BUFFER9 0x882E
  585. #define GL_DRAW_BUFFER10 0x882F
  586. #define GL_DRAW_BUFFER11 0x8830
  587. #define GL_DRAW_BUFFER12 0x8831
  588. #define GL_DRAW_BUFFER13 0x8832
  589. #define GL_DRAW_BUFFER14 0x8833
  590. #define GL_DRAW_BUFFER15 0x8834
  591. #define GL_BLEND_EQUATION_ALPHA 0x883D
  592. #define GL_MAX_VERTEX_ATTRIBS 0x8869
  593. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
  594. #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
  595. #define GL_FRAGMENT_SHADER 0x8B30
  596. #define GL_VERTEX_SHADER 0x8B31
  597. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
  598. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
  599. #define GL_MAX_VARYING_FLOATS 0x8B4B
  600. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
  601. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
  602. #define GL_SHADER_TYPE 0x8B4F
  603. #define GL_FLOAT_VEC2 0x8B50
  604. #define GL_FLOAT_VEC3 0x8B51
  605. #define GL_FLOAT_VEC4 0x8B52
  606. #define GL_INT_VEC2 0x8B53
  607. #define GL_INT_VEC3 0x8B54
  608. #define GL_INT_VEC4 0x8B55
  609. #define GL_BOOL 0x8B56
  610. #define GL_BOOL_VEC2 0x8B57
  611. #define GL_BOOL_VEC3 0x8B58
  612. #define GL_BOOL_VEC4 0x8B59
  613. #define GL_FLOAT_MAT2 0x8B5A
  614. #define GL_FLOAT_MAT3 0x8B5B
  615. #define GL_FLOAT_MAT4 0x8B5C
  616. #define GL_SAMPLER_1D 0x8B5D
  617. #define GL_SAMPLER_2D 0x8B5E
  618. #define GL_SAMPLER_3D 0x8B5F
  619. #define GL_SAMPLER_CUBE 0x8B60
  620. #define GL_SAMPLER_1D_SHADOW 0x8B61
  621. #define GL_SAMPLER_2D_SHADOW 0x8B62
  622. #define GL_DELETE_STATUS 0x8B80
  623. #define GL_COMPILE_STATUS 0x8B81
  624. #define GL_LINK_STATUS 0x8B82
  625. #define GL_VALIDATE_STATUS 0x8B83
  626. #define GL_INFO_LOG_LENGTH 0x8B84
  627. #define GL_ATTACHED_SHADERS 0x8B85
  628. #define GL_ACTIVE_UNIFORMS 0x8B86
  629. #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
  630. #define GL_SHADER_SOURCE_LENGTH 0x8B88
  631. #define GL_ACTIVE_ATTRIBUTES 0x8B89
  632. #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
  633. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
  634. #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
  635. #define GL_CURRENT_PROGRAM 0x8B8D
  636. #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
  637. #define GL_LOWER_LEFT 0x8CA1
  638. #define GL_UPPER_LEFT 0x8CA2
  639. #define GL_STENCIL_BACK_REF 0x8CA3
  640. #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
  641. #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
  642. #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
  643. #define GL_POINT_SPRITE 0x8861
  644. #define GL_COORD_REPLACE 0x8862
  645. #define GL_MAX_TEXTURE_COORDS 0x8871
  646. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  647. typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  648. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  649. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
  650. typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  651. typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  652. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  653. typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  654. typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  655. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  656. typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  657. typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  658. typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  659. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  660. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  661. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  662. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  663. typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  664. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  665. typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  666. typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  667. typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  668. typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  669. typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  670. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  671. typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  672. typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  673. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  674. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  675. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  676. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
  677. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  678. typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  679. typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  680. typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  681. typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  682. typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  683. typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  684. typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  685. typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  686. typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  687. typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  688. typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  689. typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  690. typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  691. typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  692. typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  693. typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  694. typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  695. typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  696. typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  697. typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  698. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  699. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  700. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  701. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  702. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  703. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  704. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  705. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  706. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  707. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  708. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  709. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  710. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  711. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  712. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  713. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  714. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  715. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  716. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  717. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  718. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  719. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  720. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  721. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  722. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  723. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  724. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  725. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  726. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  727. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  728. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  729. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  730. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  731. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  732. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  733. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  734. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  735. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  736. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  737. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  738. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  739. #ifdef GL_GLEXT_PROTOTYPES
  740. GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
  741. GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
  742. GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  743. GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
  744. GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
  745. GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
  746. GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
  747. GLAPI void APIENTRY glCompileShader (GLuint shader);
  748. GLAPI GLuint APIENTRY glCreateProgram (void);
  749. GLAPI GLuint APIENTRY glCreateShader (GLenum type);
  750. GLAPI void APIENTRY glDeleteProgram (GLuint program);
  751. GLAPI void APIENTRY glDeleteShader (GLuint shader);
  752. GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
  753. GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
  754. GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
  755. GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  756. GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  757. GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  758. GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
  759. GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
  760. GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  761. GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
  762. GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  763. GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  764. GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
  765. GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
  766. GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
  767. GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
  768. GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
  769. GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
  770. GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
  771. GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
  772. GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
  773. GLAPI void APIENTRY glLinkProgram (GLuint program);
  774. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  775. GLAPI void APIENTRY glUseProgram (GLuint program);
  776. GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
  777. GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
  778. GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  779. GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  780. GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
  781. GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
  782. GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
  783. GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  784. GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
  785. GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
  786. GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
  787. GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
  788. GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
  789. GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
  790. GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
  791. GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
  792. GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  793. GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  794. GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  795. GLAPI void APIENTRY glValidateProgram (GLuint program);
  796. GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
  797. GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
  798. GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
  799. GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
  800. GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
  801. GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
  802. GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
  803. GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
  804. GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
  805. GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
  806. GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
  807. GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
  808. GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  809. GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
  810. GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  811. GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
  812. GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
  813. GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
  814. GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
  815. GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
  816. GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
  817. GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  818. GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
  819. GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
  820. GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
  821. GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
  822. GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  823. GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
  824. GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  825. GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
  826. GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
  827. GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  828. GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
  829. GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
  830. GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
  831. GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
  832. GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  833. #endif
  834. #endif /* GL_VERSION_2_0 */
  835. #ifndef GL_VERSION_2_1
  836. #define GL_VERSION_2_1 1
  837. #define GL_PIXEL_PACK_BUFFER 0x88EB
  838. #define GL_PIXEL_UNPACK_BUFFER 0x88EC
  839. #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
  840. #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
  841. #define GL_FLOAT_MAT2x3 0x8B65
  842. #define GL_FLOAT_MAT2x4 0x8B66
  843. #define GL_FLOAT_MAT3x2 0x8B67
  844. #define GL_FLOAT_MAT3x4 0x8B68
  845. #define GL_FLOAT_MAT4x2 0x8B69
  846. #define GL_FLOAT_MAT4x3 0x8B6A
  847. #define GL_SRGB 0x8C40
  848. #define GL_SRGB8 0x8C41
  849. #define GL_SRGB_ALPHA 0x8C42
  850. #define GL_SRGB8_ALPHA8 0x8C43
  851. #define GL_COMPRESSED_SRGB 0x8C48
  852. #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
  853. #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
  854. #define GL_SLUMINANCE_ALPHA 0x8C44
  855. #define GL_SLUMINANCE8_ALPHA8 0x8C45
  856. #define GL_SLUMINANCE 0x8C46
  857. #define GL_SLUMINANCE8 0x8C47
  858. #define GL_COMPRESSED_SLUMINANCE 0x8C4A
  859. #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
  860. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  861. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  862. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  863. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  864. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  865. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  866. #ifdef GL_GLEXT_PROTOTYPES
  867. GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  868. GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  869. GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  870. GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  871. GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  872. GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  873. #endif
  874. #endif /* GL_VERSION_2_1 */
  875. #ifndef GL_VERSION_3_0
  876. #define GL_VERSION_3_0 1
  877. typedef unsigned short GLhalf;
  878. #define GL_COMPARE_REF_TO_TEXTURE 0x884E
  879. #define GL_CLIP_DISTANCE0 0x3000
  880. #define GL_CLIP_DISTANCE1 0x3001
  881. #define GL_CLIP_DISTANCE2 0x3002
  882. #define GL_CLIP_DISTANCE3 0x3003
  883. #define GL_CLIP_DISTANCE4 0x3004
  884. #define GL_CLIP_DISTANCE5 0x3005
  885. #define GL_CLIP_DISTANCE6 0x3006
  886. #define GL_CLIP_DISTANCE7 0x3007
  887. #define GL_MAX_CLIP_DISTANCES 0x0D32
  888. #define GL_MAJOR_VERSION 0x821B
  889. #define GL_MINOR_VERSION 0x821C
  890. #define GL_NUM_EXTENSIONS 0x821D
  891. #define GL_CONTEXT_FLAGS 0x821E
  892. #define GL_COMPRESSED_RED 0x8225
  893. #define GL_COMPRESSED_RG 0x8226
  894. #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
  895. #define GL_RGBA32F 0x8814
  896. #define GL_RGB32F 0x8815
  897. #define GL_RGBA16F 0x881A
  898. #define GL_RGB16F 0x881B
  899. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
  900. #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
  901. #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
  902. #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
  903. #define GL_CLAMP_READ_COLOR 0x891C
  904. #define GL_FIXED_ONLY 0x891D
  905. #define GL_MAX_VARYING_COMPONENTS 0x8B4B
  906. #define GL_TEXTURE_1D_ARRAY 0x8C18
  907. #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
  908. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  909. #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
  910. #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
  911. #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
  912. #define GL_R11F_G11F_B10F 0x8C3A
  913. #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
  914. #define GL_RGB9_E5 0x8C3D
  915. #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
  916. #define GL_TEXTURE_SHARED_SIZE 0x8C3F
  917. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
  918. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
  919. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
  920. #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
  921. #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
  922. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
  923. #define GL_PRIMITIVES_GENERATED 0x8C87
  924. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
  925. #define GL_RASTERIZER_DISCARD 0x8C89
  926. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
  927. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
  928. #define GL_INTERLEAVED_ATTRIBS 0x8C8C
  929. #define GL_SEPARATE_ATTRIBS 0x8C8D
  930. #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
  931. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
  932. #define GL_RGBA32UI 0x8D70
  933. #define GL_RGB32UI 0x8D71
  934. #define GL_RGBA16UI 0x8D76
  935. #define GL_RGB16UI 0x8D77
  936. #define GL_RGBA8UI 0x8D7C
  937. #define GL_RGB8UI 0x8D7D
  938. #define GL_RGBA32I 0x8D82
  939. #define GL_RGB32I 0x8D83
  940. #define GL_RGBA16I 0x8D88
  941. #define GL_RGB16I 0x8D89
  942. #define GL_RGBA8I 0x8D8E
  943. #define GL_RGB8I 0x8D8F
  944. #define GL_RED_INTEGER 0x8D94
  945. #define GL_GREEN_INTEGER 0x8D95
  946. #define GL_BLUE_INTEGER 0x8D96
  947. #define GL_RGB_INTEGER 0x8D98
  948. #define GL_RGBA_INTEGER 0x8D99
  949. #define GL_BGR_INTEGER 0x8D9A
  950. #define GL_BGRA_INTEGER 0x8D9B
  951. #define GL_SAMPLER_1D_ARRAY 0x8DC0
  952. #define GL_SAMPLER_2D_ARRAY 0x8DC1
  953. #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
  954. #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
  955. #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
  956. #define GL_UNSIGNED_INT_VEC2 0x8DC6
  957. #define GL_UNSIGNED_INT_VEC3 0x8DC7
  958. #define GL_UNSIGNED_INT_VEC4 0x8DC8
  959. #define GL_INT_SAMPLER_1D 0x8DC9
  960. #define GL_INT_SAMPLER_2D 0x8DCA
  961. #define GL_INT_SAMPLER_3D 0x8DCB
  962. #define GL_INT_SAMPLER_CUBE 0x8DCC
  963. #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
  964. #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
  965. #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
  966. #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
  967. #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
  968. #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
  969. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
  970. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
  971. #define GL_QUERY_WAIT 0x8E13
  972. #define GL_QUERY_NO_WAIT 0x8E14
  973. #define GL_QUERY_BY_REGION_WAIT 0x8E15
  974. #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
  975. #define GL_BUFFER_ACCESS_FLAGS 0x911F
  976. #define GL_BUFFER_MAP_LENGTH 0x9120
  977. #define GL_BUFFER_MAP_OFFSET 0x9121
  978. #define GL_DEPTH_COMPONENT32F 0x8CAC
  979. #define GL_DEPTH32F_STENCIL8 0x8CAD
  980. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  981. #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
  982. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  983. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  984. #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  985. #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  986. #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  987. #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  988. #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  989. #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  990. #define GL_FRAMEBUFFER_DEFAULT 0x8218
  991. #define GL_FRAMEBUFFER_UNDEFINED 0x8219
  992. #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
  993. #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
  994. #define GL_DEPTH_STENCIL 0x84F9
  995. #define GL_UNSIGNED_INT_24_8 0x84FA
  996. #define GL_DEPTH24_STENCIL8 0x88F0
  997. #define GL_TEXTURE_STENCIL_SIZE 0x88F1
  998. #define GL_TEXTURE_RED_TYPE 0x8C10
  999. #define GL_TEXTURE_GREEN_TYPE 0x8C11
  1000. #define GL_TEXTURE_BLUE_TYPE 0x8C12
  1001. #define GL_TEXTURE_ALPHA_TYPE 0x8C13
  1002. #define GL_TEXTURE_DEPTH_TYPE 0x8C16
  1003. #define GL_UNSIGNED_NORMALIZED 0x8C17
  1004. #define GL_FRAMEBUFFER_BINDING 0x8CA6
  1005. #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
  1006. #define GL_RENDERBUFFER_BINDING 0x8CA7
  1007. #define GL_READ_FRAMEBUFFER 0x8CA8
  1008. #define GL_DRAW_FRAMEBUFFER 0x8CA9
  1009. #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
  1010. #define GL_RENDERBUFFER_SAMPLES 0x8CAB
  1011. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  1012. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  1013. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  1014. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  1015. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  1016. #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
  1017. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  1018. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  1019. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  1020. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  1021. #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
  1022. #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
  1023. #define GL_COLOR_ATTACHMENT0 0x8CE0
  1024. #define GL_COLOR_ATTACHMENT1 0x8CE1
  1025. #define GL_COLOR_ATTACHMENT2 0x8CE2
  1026. #define GL_COLOR_ATTACHMENT3 0x8CE3
  1027. #define GL_COLOR_ATTACHMENT4 0x8CE4
  1028. #define GL_COLOR_ATTACHMENT5 0x8CE5
  1029. #define GL_COLOR_ATTACHMENT6 0x8CE6
  1030. #define GL_COLOR_ATTACHMENT7 0x8CE7
  1031. #define GL_COLOR_ATTACHMENT8 0x8CE8
  1032. #define GL_COLOR_ATTACHMENT9 0x8CE9
  1033. #define GL_COLOR_ATTACHMENT10 0x8CEA
  1034. #define GL_COLOR_ATTACHMENT11 0x8CEB
  1035. #define GL_COLOR_ATTACHMENT12 0x8CEC
  1036. #define GL_COLOR_ATTACHMENT13 0x8CED
  1037. #define GL_COLOR_ATTACHMENT14 0x8CEE
  1038. #define GL_COLOR_ATTACHMENT15 0x8CEF
  1039. #define GL_DEPTH_ATTACHMENT 0x8D00
  1040. #define GL_STENCIL_ATTACHMENT 0x8D20
  1041. #define GL_FRAMEBUFFER 0x8D40
  1042. #define GL_RENDERBUFFER 0x8D41
  1043. #define GL_RENDERBUFFER_WIDTH 0x8D42
  1044. #define GL_RENDERBUFFER_HEIGHT 0x8D43
  1045. #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
  1046. #define GL_STENCIL_INDEX1 0x8D46
  1047. #define GL_STENCIL_INDEX4 0x8D47
  1048. #define GL_STENCIL_INDEX8 0x8D48
  1049. #define GL_STENCIL_INDEX16 0x8D49
  1050. #define GL_RENDERBUFFER_RED_SIZE 0x8D50
  1051. #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
  1052. #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
  1053. #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
  1054. #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
  1055. #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
  1056. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1057. #define GL_MAX_SAMPLES 0x8D57
  1058. #define GL_INDEX 0x8222
  1059. #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
  1060. #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
  1061. #define GL_FRAMEBUFFER_SRGB 0x8DB9
  1062. #define GL_HALF_FLOAT 0x140B
  1063. #define GL_MAP_READ_BIT 0x0001
  1064. #define GL_MAP_WRITE_BIT 0x0002
  1065. #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
  1066. #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
  1067. #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
  1068. #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
  1069. #define GL_COMPRESSED_RED_RGTC1 0x8DBB
  1070. #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
  1071. #define GL_COMPRESSED_RG_RGTC2 0x8DBD
  1072. #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
  1073. #define GL_RG 0x8227
  1074. #define GL_RG_INTEGER 0x8228
  1075. #define GL_R8 0x8229
  1076. #define GL_R16 0x822A
  1077. #define GL_RG8 0x822B
  1078. #define GL_RG16 0x822C
  1079. #define GL_R16F 0x822D
  1080. #define GL_R32F 0x822E
  1081. #define GL_RG16F 0x822F
  1082. #define GL_RG32F 0x8230
  1083. #define GL_R8I 0x8231
  1084. #define GL_R8UI 0x8232
  1085. #define GL_R16I 0x8233
  1086. #define GL_R16UI 0x8234
  1087. #define GL_R32I 0x8235
  1088. #define GL_R32UI 0x8236
  1089. #define GL_RG8I 0x8237
  1090. #define GL_RG8UI 0x8238
  1091. #define GL_RG16I 0x8239
  1092. #define GL_RG16UI 0x823A
  1093. #define GL_RG32I 0x823B
  1094. #define GL_RG32UI 0x823C
  1095. #define GL_VERTEX_ARRAY_BINDING 0x85B5
  1096. #define GL_CLAMP_VERTEX_COLOR 0x891A
  1097. #define GL_CLAMP_FRAGMENT_COLOR 0x891B
  1098. #define GL_ALPHA_INTEGER 0x8D97
  1099. typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1100. typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  1101. typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  1102. typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  1103. typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  1104. typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  1105. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  1106. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  1107. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1108. typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  1109. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1110. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1111. typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  1112. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  1113. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  1114. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1115. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  1116. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  1117. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  1118. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  1119. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  1120. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1121. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  1122. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  1123. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  1124. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1125. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  1126. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  1127. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  1128. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  1129. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  1130. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  1131. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  1132. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  1133. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  1134. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  1135. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  1136. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  1137. typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  1138. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  1139. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  1140. typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  1141. typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  1142. typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1143. typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1144. typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1145. typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1146. typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1147. typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1148. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1149. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  1150. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  1151. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  1152. typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  1153. typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1154. typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1155. typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1156. typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  1157. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  1158. typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  1159. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  1160. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  1161. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1162. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1163. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  1164. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  1165. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  1166. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  1167. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  1168. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1169. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1170. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1171. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1172. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1173. typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  1174. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1175. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1176. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1177. typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1178. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1179. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  1180. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  1181. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  1182. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  1183. #ifdef GL_GLEXT_PROTOTYPES
  1184. GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1185. GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
  1186. GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
  1187. GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
  1188. GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
  1189. GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
  1190. GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
  1191. GLAPI void APIENTRY glEndTransformFeedback (void);
  1192. GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1193. GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
  1194. GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1195. GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1196. GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
  1197. GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
  1198. GLAPI void APIENTRY glEndConditionalRender (void);
  1199. GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1200. GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
  1201. GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
  1202. GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
  1203. GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
  1204. GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
  1205. GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1206. GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
  1207. GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
  1208. GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
  1209. GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1210. GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
  1211. GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
  1212. GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
  1213. GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
  1214. GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
  1215. GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
  1216. GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
  1217. GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
  1218. GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
  1219. GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
  1220. GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
  1221. GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
  1222. GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
  1223. GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
  1224. GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
  1225. GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
  1226. GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
  1227. GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1228. GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1229. GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
  1230. GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
  1231. GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
  1232. GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
  1233. GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
  1234. GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
  1235. GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
  1236. GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
  1237. GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
  1238. GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1239. GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1240. GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1241. GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
  1242. GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
  1243. GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
  1244. GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
  1245. GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
  1246. GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1247. GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
  1248. GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
  1249. GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
  1250. GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
  1251. GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
  1252. GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
  1253. GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1254. GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1255. GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1256. GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1257. GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1258. GLAPI void APIENTRY glGenerateMipmap (GLenum target);
  1259. GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1260. GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1261. GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1262. GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1263. GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
  1264. GLAPI void APIENTRY glBindVertexArray (GLuint array);
  1265. GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
  1266. GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
  1267. GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
  1268. #endif
  1269. #endif /* GL_VERSION_3_0 */
  1270. #ifndef GL_VERSION_3_1
  1271. #define GL_VERSION_3_1 1
  1272. #define GL_SAMPLER_2D_RECT 0x8B63
  1273. #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
  1274. #define GL_SAMPLER_BUFFER 0x8DC2
  1275. #define GL_INT_SAMPLER_2D_RECT 0x8DCD
  1276. #define GL_INT_SAMPLER_BUFFER 0x8DD0
  1277. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
  1278. #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
  1279. #define GL_TEXTURE_BUFFER 0x8C2A
  1280. #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
  1281. #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
  1282. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  1283. #define GL_TEXTURE_RECTANGLE 0x84F5
  1284. #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
  1285. #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
  1286. #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
  1287. #define GL_R8_SNORM 0x8F94
  1288. #define GL_RG8_SNORM 0x8F95
  1289. #define GL_RGB8_SNORM 0x8F96
  1290. #define GL_RGBA8_SNORM 0x8F97
  1291. #define GL_R16_SNORM 0x8F98
  1292. #define GL_RG16_SNORM 0x8F99
  1293. #define GL_RGB16_SNORM 0x8F9A
  1294. #define GL_RGBA16_SNORM 0x8F9B
  1295. #define GL_SIGNED_NORMALIZED 0x8F9C
  1296. #define GL_PRIMITIVE_RESTART 0x8F9D
  1297. #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
  1298. #define GL_COPY_READ_BUFFER 0x8F36
  1299. #define GL_COPY_WRITE_BUFFER 0x8F37
  1300. #define GL_UNIFORM_BUFFER 0x8A11
  1301. #define GL_UNIFORM_BUFFER_BINDING 0x8A28
  1302. #define GL_UNIFORM_BUFFER_START 0x8A29
  1303. #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
  1304. #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
  1305. #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
  1306. #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
  1307. #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
  1308. #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
  1309. #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  1310. #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  1311. #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  1312. #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  1313. #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
  1314. #define GL_UNIFORM_TYPE 0x8A37
  1315. #define GL_UNIFORM_SIZE 0x8A38
  1316. #define GL_UNIFORM_NAME_LENGTH 0x8A39
  1317. #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
  1318. #define GL_UNIFORM_OFFSET 0x8A3B
  1319. #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
  1320. #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
  1321. #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
  1322. #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
  1323. #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
  1324. #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
  1325. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
  1326. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  1327. #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  1328. #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  1329. #define GL_INVALID_INDEX 0xFFFFFFFFu
  1330. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1331. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1332. typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1333. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
  1334. typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1335. typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1336. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1337. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1338. typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
  1339. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1340. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1341. typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1342. #ifdef GL_GLEXT_PROTOTYPES
  1343. GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1344. GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1345. GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
  1346. GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
  1347. GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1348. GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1349. GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1350. GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1351. GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
  1352. GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1353. GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1354. GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1355. #endif
  1356. #endif /* GL_VERSION_3_1 */
  1357. #ifndef GL_VERSION_3_2
  1358. #define GL_VERSION_3_2 1
  1359. typedef struct __GLsync *GLsync;
  1360. #ifndef GLEXT_64_TYPES_DEFINED
  1361. /* This code block is duplicated in glxext.h, so must be protected */
  1362. #define GLEXT_64_TYPES_DEFINED
  1363. /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
  1364. /* (as used in the GL_EXT_timer_query extension). */
  1365. #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  1366. #include <inttypes.h>
  1367. #elif defined(__sun__) || defined(__digital__)
  1368. #include <inttypes.h>
  1369. #if defined(__STDC__)
  1370. #if defined(__arch64__) || defined(_LP64)
  1371. typedef long int int64_t;
  1372. typedef unsigned long int uint64_t;
  1373. #else
  1374. typedef long long int int64_t;
  1375. typedef unsigned long long int uint64_t;
  1376. #endif /* __arch64__ */
  1377. #endif /* __STDC__ */
  1378. #elif defined( __VMS ) || defined(__sgi)
  1379. #include <inttypes.h>
  1380. #elif defined(__SCO__) || defined(__USLC__)
  1381. #include <stdint.h>
  1382. #elif defined(__UNIXOS2__) || defined(__SOL64__)
  1383. typedef long int int32_t;
  1384. typedef long long int int64_t;
  1385. typedef unsigned long long int uint64_t;
  1386. #elif defined(_WIN32) && defined(__GNUC__)
  1387. #include <stdint.h>
  1388. #elif defined(_WIN32)
  1389. typedef __int32 int32_t;
  1390. typedef __int64 int64_t;
  1391. typedef unsigned __int64 uint64_t;
  1392. #else
  1393. /* Fallback if nothing above works */
  1394. #include <inttypes.h>
  1395. #endif
  1396. #endif
  1397. typedef uint64_t GLuint64;
  1398. typedef int64_t GLint64;
  1399. #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
  1400. #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  1401. #define GL_LINES_ADJACENCY 0x000A
  1402. #define GL_LINE_STRIP_ADJACENCY 0x000B
  1403. #define GL_TRIANGLES_ADJACENCY 0x000C
  1404. #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
  1405. #define GL_PROGRAM_POINT_SIZE 0x8642
  1406. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  1407. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  1408. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  1409. #define GL_GEOMETRY_SHADER 0x8DD9
  1410. #define GL_GEOMETRY_VERTICES_OUT 0x8916
  1411. #define GL_GEOMETRY_INPUT_TYPE 0x8917
  1412. #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
  1413. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  1414. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
  1415. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  1416. #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
  1417. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
  1418. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  1419. #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
  1420. #define GL_CONTEXT_PROFILE_MASK 0x9126
  1421. #define GL_DEPTH_CLAMP 0x864F
  1422. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  1423. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  1424. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  1425. #define GL_PROVOKING_VERTEX 0x8E4F
  1426. #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
  1427. #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
  1428. #define GL_OBJECT_TYPE 0x9112
  1429. #define GL_SYNC_CONDITION 0x9113
  1430. #define GL_SYNC_STATUS 0x9114
  1431. #define GL_SYNC_FLAGS 0x9115
  1432. #define GL_SYNC_FENCE 0x9116
  1433. #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
  1434. #define GL_UNSIGNALED 0x9118
  1435. #define GL_SIGNALED 0x9119
  1436. #define GL_ALREADY_SIGNALED 0x911A
  1437. #define GL_TIMEOUT_EXPIRED 0x911B
  1438. #define GL_CONDITION_SATISFIED 0x911C
  1439. #define GL_WAIT_FAILED 0x911D
  1440. #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
  1441. #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
  1442. #define GL_SAMPLE_POSITION 0x8E50
  1443. #define GL_SAMPLE_MASK 0x8E51
  1444. #define GL_SAMPLE_MASK_VALUE 0x8E52
  1445. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  1446. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  1447. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
  1448. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  1449. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  1450. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
  1451. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
  1452. #define GL_TEXTURE_SAMPLES 0x9106
  1453. #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
  1454. #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
  1455. #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
  1456. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
  1457. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
  1458. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
  1459. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  1460. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  1461. #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
  1462. #define GL_MAX_INTEGER_SAMPLES 0x9110
  1463. typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1464. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1465. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1466. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1467. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  1468. typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
  1469. typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
  1470. typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
  1471. typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1472. typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1473. typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
  1474. typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1475. typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
  1476. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
  1477. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1478. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1479. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1480. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
  1481. typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
  1482. #ifdef GL_GLEXT_PROTOTYPES
  1483. GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1484. GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1485. GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1486. GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1487. GLAPI void APIENTRY glProvokingVertex (GLenum mode);
  1488. GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
  1489. GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
  1490. GLAPI void APIENTRY glDeleteSync (GLsync sync);
  1491. GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1492. GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1493. GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
  1494. GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1495. GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
  1496. GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
  1497. GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1498. GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1499. GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1500. GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
  1501. GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
  1502. #endif
  1503. #endif /* GL_VERSION_3_2 */
  1504. #ifndef GL_VERSION_3_3
  1505. #define GL_VERSION_3_3 1
  1506. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
  1507. #define GL_SRC1_COLOR 0x88F9
  1508. #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
  1509. #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
  1510. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
  1511. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  1512. #define GL_SAMPLER_BINDING 0x8919
  1513. #define GL_RGB10_A2UI 0x906F
  1514. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  1515. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  1516. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  1517. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  1518. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  1519. #define GL_TIME_ELAPSED 0x88BF
  1520. #define GL_TIMESTAMP 0x8E28
  1521. #define GL_INT_2_10_10_10_REV 0x8D9F
  1522. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1523. typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
  1524. typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
  1525. typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
  1526. typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
  1527. typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  1528. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  1529. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1530. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  1531. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
  1532. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1533. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  1534. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1535. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1536. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
  1537. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
  1538. typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  1539. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
  1540. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
  1541. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  1542. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1543. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1544. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1545. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1546. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1547. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1548. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1549. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1550. typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
  1551. typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
  1552. typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
  1553. typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
  1554. typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
  1555. typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
  1556. typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
  1557. typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
  1558. typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
  1559. typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
  1560. typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
  1561. typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
  1562. typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
  1563. typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
  1564. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1565. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1566. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1567. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1568. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1569. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1570. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1571. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1572. typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
  1573. typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
  1574. typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
  1575. typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1576. typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
  1577. typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
  1578. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
  1579. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1580. #ifdef GL_GLEXT_PROTOTYPES
  1581. GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1582. GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
  1583. GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
  1584. GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
  1585. GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
  1586. GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
  1587. GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
  1588. GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
  1589. GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
  1590. GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
  1591. GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
  1592. GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
  1593. GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
  1594. GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
  1595. GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
  1596. GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
  1597. GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
  1598. GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
  1599. GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
  1600. GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
  1601. GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1602. GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1603. GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1604. GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1605. GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1606. GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1607. GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1608. GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1609. GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
  1610. GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
  1611. GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
  1612. GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
  1613. GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
  1614. GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
  1615. GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
  1616. GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
  1617. GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
  1618. GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
  1619. GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
  1620. GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
  1621. GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
  1622. GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
  1623. GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
  1624. GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
  1625. GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
  1626. GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
  1627. GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
  1628. GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
  1629. GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
  1630. GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
  1631. GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
  1632. GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
  1633. GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
  1634. GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
  1635. GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
  1636. GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
  1637. GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
  1638. GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
  1639. #endif
  1640. #endif /* GL_VERSION_3_3 */
  1641. #ifndef GL_VERSION_4_0
  1642. #define GL_VERSION_4_0 1
  1643. #define GL_SAMPLE_SHADING 0x8C36
  1644. #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
  1645. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  1646. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  1647. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  1648. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  1649. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
  1650. #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
  1651. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
  1652. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
  1653. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  1654. #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
  1655. #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
  1656. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  1657. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  1658. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  1659. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  1660. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  1661. #define GL_MAX_VERTEX_STREAMS 0x8E71
  1662. #define GL_DOUBLE_VEC2 0x8FFC
  1663. #define GL_DOUBLE_VEC3 0x8FFD
  1664. #define GL_DOUBLE_VEC4 0x8FFE
  1665. #define GL_DOUBLE_MAT2 0x8F46
  1666. #define GL_DOUBLE_MAT3 0x8F47
  1667. #define GL_DOUBLE_MAT4 0x8F48
  1668. #define GL_DOUBLE_MAT2x3 0x8F49
  1669. #define GL_DOUBLE_MAT2x4 0x8F4A
  1670. #define GL_DOUBLE_MAT3x2 0x8F4B
  1671. #define GL_DOUBLE_MAT3x4 0x8F4C
  1672. #define GL_DOUBLE_MAT4x2 0x8F4D
  1673. #define GL_DOUBLE_MAT4x3 0x8F4E
  1674. #define GL_ACTIVE_SUBROUTINES 0x8DE5
  1675. #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
  1676. #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  1677. #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
  1678. #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
  1679. #define GL_MAX_SUBROUTINES 0x8DE7
  1680. #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  1681. #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
  1682. #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
  1683. #define GL_PATCHES 0x000E
  1684. #define GL_PATCH_VERTICES 0x8E72
  1685. #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
  1686. #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
  1687. #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
  1688. #define GL_TESS_GEN_MODE 0x8E76
  1689. #define GL_TESS_GEN_SPACING 0x8E77
  1690. #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
  1691. #define GL_TESS_GEN_POINT_MODE 0x8E79
  1692. #define GL_ISOLINES 0x8E7A
  1693. #define GL_FRACTIONAL_ODD 0x8E7B
  1694. #define GL_FRACTIONAL_EVEN 0x8E7C
  1695. #define GL_MAX_PATCH_VERTICES 0x8E7D
  1696. #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
  1697. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  1698. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
  1699. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
  1700. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
  1701. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
  1702. #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
  1703. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
  1704. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
  1705. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
  1706. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
  1707. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
  1708. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
  1709. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
  1710. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
  1711. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
  1712. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  1713. #define GL_TESS_EVALUATION_SHADER 0x8E87
  1714. #define GL_TESS_CONTROL_SHADER 0x8E88
  1715. #define GL_TRANSFORM_FEEDBACK 0x8E22
  1716. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
  1717. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
  1718. #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
  1719. #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  1720. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
  1721. typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  1722. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1723. typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  1724. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1725. typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
  1726. typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
  1727. typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  1728. typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  1729. typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1730. typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1731. typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1732. typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1733. typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1734. typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1735. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1736. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1737. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1738. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1739. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1740. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1741. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1742. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1743. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1744. typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
  1745. typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1746. typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1747. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1748. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1749. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1750. typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
  1751. typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
  1752. typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1753. typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  1754. typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
  1755. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  1756. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
  1757. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  1758. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  1759. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  1760. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  1761. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  1762. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  1763. typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  1764. typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  1765. typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  1766. #ifdef GL_GLEXT_PROTOTYPES
  1767. GLAPI void APIENTRY glMinSampleShading (GLfloat value);
  1768. GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
  1769. GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1770. GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
  1771. GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1772. GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
  1773. GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
  1774. GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
  1775. GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
  1776. GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1777. GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1778. GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
  1779. GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
  1780. GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
  1781. GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
  1782. GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1783. GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1784. GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1785. GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1786. GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1787. GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1788. GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1789. GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1790. GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1791. GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
  1792. GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
  1793. GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
  1794. GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1795. GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1796. GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1797. GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
  1798. GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
  1799. GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1800. GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
  1801. GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
  1802. GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
  1803. GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
  1804. GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
  1805. GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
  1806. GLAPI void APIENTRY glPauseTransformFeedback (void);
  1807. GLAPI void APIENTRY glResumeTransformFeedback (void);
  1808. GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
  1809. GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
  1810. GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
  1811. GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
  1812. GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
  1813. #endif
  1814. #endif /* GL_VERSION_4_0 */
  1815. #ifndef GL_VERSION_4_1
  1816. #define GL_VERSION_4_1 1
  1817. #define GL_FIXED 0x140C
  1818. #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  1819. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  1820. #define GL_LOW_FLOAT 0x8DF0
  1821. #define GL_MEDIUM_FLOAT 0x8DF1
  1822. #define GL_HIGH_FLOAT 0x8DF2
  1823. #define GL_LOW_INT 0x8DF3
  1824. #define GL_MEDIUM_INT 0x8DF4
  1825. #define GL_HIGH_INT 0x8DF5
  1826. #define GL_SHADER_COMPILER 0x8DFA
  1827. #define GL_SHADER_BINARY_FORMATS 0x8DF8
  1828. #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
  1829. #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
  1830. #define GL_MAX_VARYING_VECTORS 0x8DFC
  1831. #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
  1832. #define GL_RGB565 0x8D62
  1833. #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  1834. #define GL_PROGRAM_BINARY_LENGTH 0x8741
  1835. #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
  1836. #define GL_PROGRAM_BINARY_FORMATS 0x87FF
  1837. #define GL_VERTEX_SHADER_BIT 0x00000001
  1838. #define GL_FRAGMENT_SHADER_BIT 0x00000002
  1839. #define GL_GEOMETRY_SHADER_BIT 0x00000004
  1840. #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
  1841. #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
  1842. #define GL_ALL_SHADER_BITS 0xFFFFFFFF
  1843. #define GL_PROGRAM_SEPARABLE 0x8258
  1844. #define GL_ACTIVE_PROGRAM 0x8259
  1845. #define GL_PROGRAM_PIPELINE_BINDING 0x825A
  1846. #define GL_MAX_VIEWPORTS 0x825B
  1847. #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
  1848. #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
  1849. #define GL_LAYER_PROVOKING_VERTEX 0x825E
  1850. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  1851. #define GL_UNDEFINED_VERTEX 0x8260
  1852. typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
  1853. typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
  1854. typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  1855. typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
  1856. typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
  1857. typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  1858. typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  1859. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  1860. typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  1861. typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  1862. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
  1863. typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  1864. typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
  1865. typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  1866. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  1867. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
  1868. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
  1869. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1870. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
  1871. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1872. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
  1873. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1874. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
  1875. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1876. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  1877. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1878. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1879. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1880. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  1881. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1882. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  1883. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1884. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1885. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1886. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1887. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1888. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  1889. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1890. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1891. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1892. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1893. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1894. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1895. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1896. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  1897. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1898. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1899. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1900. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1901. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1902. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1903. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1904. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1905. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1906. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1907. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1908. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1909. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1910. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1911. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1912. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1913. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1914. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1915. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1916. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1917. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1918. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  1919. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1920. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  1921. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  1922. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1923. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1924. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
  1925. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
  1926. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
  1927. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
  1928. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1929. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  1930. typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  1931. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  1932. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
  1933. typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
  1934. typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  1935. typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
  1936. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  1937. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
  1938. typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
  1939. typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
  1940. #ifdef GL_GLEXT_PROTOTYPES
  1941. GLAPI void APIENTRY glReleaseShaderCompiler (void);
  1942. GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
  1943. GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  1944. GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
  1945. GLAPI void APIENTRY glClearDepthf (GLfloat d);
  1946. GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  1947. GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  1948. GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
  1949. GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
  1950. GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
  1951. GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
  1952. GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
  1953. GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
  1954. GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
  1955. GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
  1956. GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
  1957. GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
  1958. GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1959. GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
  1960. GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1961. GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
  1962. GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1963. GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
  1964. GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1965. GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
  1966. GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1967. GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1968. GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1969. GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  1970. GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1971. GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
  1972. GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1973. GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1974. GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1975. GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1976. GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1977. GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  1978. GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1979. GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1980. GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1981. GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1982. GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  1983. GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1984. GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1985. GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  1986. GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1987. GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1988. GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1989. GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1990. GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1991. GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1992. GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1993. GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1994. GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1995. GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1996. GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1997. GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1998. GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1999. GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2000. GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2001. GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2002. GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2003. GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2004. GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2005. GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2006. GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2007. GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
  2008. GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  2009. GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
  2010. GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
  2011. GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  2012. GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2013. GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
  2014. GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
  2015. GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
  2016. GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
  2017. GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  2018. GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
  2019. GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
  2020. GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2021. GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
  2022. GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
  2023. GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2024. GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
  2025. GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
  2026. GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
  2027. GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
  2028. GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
  2029. #endif
  2030. #endif /* GL_VERSION_4_1 */
  2031. #ifndef GL_VERSION_4_2
  2032. #define GL_VERSION_4_2 1
  2033. #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
  2034. #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
  2035. #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
  2036. #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
  2037. #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
  2038. #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
  2039. #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
  2040. #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
  2041. #define GL_NUM_SAMPLE_COUNTS 0x9380
  2042. #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
  2043. #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
  2044. #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
  2045. #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
  2046. #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
  2047. #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
  2048. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
  2049. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
  2050. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
  2051. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
  2052. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
  2053. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
  2054. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
  2055. #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
  2056. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
  2057. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
  2058. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
  2059. #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
  2060. #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
  2061. #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
  2062. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
  2063. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
  2064. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
  2065. #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
  2066. #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
  2067. #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
  2068. #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
  2069. #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
  2070. #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
  2071. #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
  2072. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
  2073. #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
  2074. #define GL_UNIFORM_BARRIER_BIT 0x00000004
  2075. #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
  2076. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
  2077. #define GL_COMMAND_BARRIER_BIT 0x00000040
  2078. #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
  2079. #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
  2080. #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
  2081. #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
  2082. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
  2083. #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
  2084. #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
  2085. #define GL_MAX_IMAGE_UNITS 0x8F38
  2086. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
  2087. #define GL_IMAGE_BINDING_NAME 0x8F3A
  2088. #define GL_IMAGE_BINDING_LEVEL 0x8F3B
  2089. #define GL_IMAGE_BINDING_LAYERED 0x8F3C
  2090. #define GL_IMAGE_BINDING_LAYER 0x8F3D
  2091. #define GL_IMAGE_BINDING_ACCESS 0x8F3E
  2092. #define GL_IMAGE_1D 0x904C
  2093. #define GL_IMAGE_2D 0x904D
  2094. #define GL_IMAGE_3D 0x904E
  2095. #define GL_IMAGE_2D_RECT 0x904F
  2096. #define GL_IMAGE_CUBE 0x9050
  2097. #define GL_IMAGE_BUFFER 0x9051
  2098. #define GL_IMAGE_1D_ARRAY 0x9052
  2099. #define GL_IMAGE_2D_ARRAY 0x9053
  2100. #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
  2101. #define GL_IMAGE_2D_MULTISAMPLE 0x9055
  2102. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
  2103. #define GL_INT_IMAGE_1D 0x9057
  2104. #define GL_INT_IMAGE_2D 0x9058
  2105. #define GL_INT_IMAGE_3D 0x9059
  2106. #define GL_INT_IMAGE_2D_RECT 0x905A
  2107. #define GL_INT_IMAGE_CUBE 0x905B
  2108. #define GL_INT_IMAGE_BUFFER 0x905C
  2109. #define GL_INT_IMAGE_1D_ARRAY 0x905D
  2110. #define GL_INT_IMAGE_2D_ARRAY 0x905E
  2111. #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
  2112. #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
  2113. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
  2114. #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
  2115. #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
  2116. #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
  2117. #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
  2118. #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
  2119. #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
  2120. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
  2121. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
  2122. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
  2123. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
  2124. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
  2125. #define GL_MAX_IMAGE_SAMPLES 0x906D
  2126. #define GL_IMAGE_BINDING_FORMAT 0x906E
  2127. #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  2128. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
  2129. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
  2130. #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
  2131. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
  2132. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
  2133. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
  2134. #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
  2135. #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
  2136. #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
  2137. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
  2138. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
  2139. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
  2140. #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
  2141. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2142. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2143. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2144. typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  2145. typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2146. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2147. typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
  2148. typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2149. typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2150. typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2151. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
  2152. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2153. #ifdef GL_GLEXT_PROTOTYPES
  2154. GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2155. GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2156. GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2157. GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  2158. GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2159. GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2160. GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
  2161. GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2162. GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2163. GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2164. GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
  2165. GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2166. #endif
  2167. #endif /* GL_VERSION_4_2 */
  2168. #ifndef GL_VERSION_4_3
  2169. #define GL_VERSION_4_3 1
  2170. typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  2171. #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
  2172. #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
  2173. #define GL_COMPRESSED_RGB8_ETC2 0x9274
  2174. #define GL_COMPRESSED_SRGB8_ETC2 0x9275
  2175. #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
  2176. #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
  2177. #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
  2178. #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
  2179. #define GL_COMPRESSED_R11_EAC 0x9270
  2180. #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
  2181. #define GL_COMPRESSED_RG11_EAC 0x9272
  2182. #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
  2183. #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
  2184. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
  2185. #define GL_MAX_ELEMENT_INDEX 0x8D6B
  2186. #define GL_COMPUTE_SHADER 0x91B9
  2187. #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
  2188. #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
  2189. #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
  2190. #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
  2191. #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
  2192. #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
  2193. #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
  2194. #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
  2195. #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
  2196. #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
  2197. #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
  2198. #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
  2199. #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
  2200. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
  2201. #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
  2202. #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
  2203. #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
  2204. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
  2205. #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
  2206. #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
  2207. #define GL_DEBUG_SOURCE_API 0x8246
  2208. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
  2209. #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
  2210. #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
  2211. #define GL_DEBUG_SOURCE_APPLICATION 0x824A
  2212. #define GL_DEBUG_SOURCE_OTHER 0x824B
  2213. #define GL_DEBUG_TYPE_ERROR 0x824C
  2214. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
  2215. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
  2216. #define GL_DEBUG_TYPE_PORTABILITY 0x824F
  2217. #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
  2218. #define GL_DEBUG_TYPE_OTHER 0x8251
  2219. #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
  2220. #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
  2221. #define GL_DEBUG_LOGGED_MESSAGES 0x9145
  2222. #define GL_DEBUG_SEVERITY_HIGH 0x9146
  2223. #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
  2224. #define GL_DEBUG_SEVERITY_LOW 0x9148
  2225. #define GL_DEBUG_TYPE_MARKER 0x8268
  2226. #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
  2227. #define GL_DEBUG_TYPE_POP_GROUP 0x826A
  2228. #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
  2229. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
  2230. #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
  2231. #define GL_BUFFER 0x82E0
  2232. #define GL_SHADER 0x82E1
  2233. #define GL_PROGRAM 0x82E2
  2234. #define GL_QUERY 0x82E3
  2235. #define GL_PROGRAM_PIPELINE 0x82E4
  2236. #define GL_SAMPLER 0x82E6
  2237. #define GL_MAX_LABEL_LENGTH 0x82E8
  2238. #define GL_DEBUG_OUTPUT 0x92E0
  2239. #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
  2240. #define GL_MAX_UNIFORM_LOCATIONS 0x826E
  2241. #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
  2242. #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
  2243. #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
  2244. #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
  2245. #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
  2246. #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
  2247. #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
  2248. #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
  2249. #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
  2250. #define GL_INTERNALFORMAT_SUPPORTED 0x826F
  2251. #define GL_INTERNALFORMAT_PREFERRED 0x8270
  2252. #define GL_INTERNALFORMAT_RED_SIZE 0x8271
  2253. #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
  2254. #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
  2255. #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
  2256. #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
  2257. #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
  2258. #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
  2259. #define GL_INTERNALFORMAT_RED_TYPE 0x8278
  2260. #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
  2261. #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
  2262. #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
  2263. #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
  2264. #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
  2265. #define GL_MAX_WIDTH 0x827E
  2266. #define GL_MAX_HEIGHT 0x827F
  2267. #define GL_MAX_DEPTH 0x8280
  2268. #define GL_MAX_LAYERS 0x8281
  2269. #define GL_MAX_COMBINED_DIMENSIONS 0x8282
  2270. #define GL_COLOR_COMPONENTS 0x8283
  2271. #define GL_DEPTH_COMPONENTS 0x8284
  2272. #define GL_STENCIL_COMPONENTS 0x8285
  2273. #define GL_COLOR_RENDERABLE 0x8286
  2274. #define GL_DEPTH_RENDERABLE 0x8287
  2275. #define GL_STENCIL_RENDERABLE 0x8288
  2276. #define GL_FRAMEBUFFER_RENDERABLE 0x8289
  2277. #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
  2278. #define GL_FRAMEBUFFER_BLEND 0x828B
  2279. #define GL_READ_PIXELS 0x828C
  2280. #define GL_READ_PIXELS_FORMAT 0x828D
  2281. #define GL_READ_PIXELS_TYPE 0x828E
  2282. #define GL_TEXTURE_IMAGE_FORMAT 0x828F
  2283. #define GL_TEXTURE_IMAGE_TYPE 0x8290
  2284. #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
  2285. #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
  2286. #define GL_MIPMAP 0x8293
  2287. #define GL_MANUAL_GENERATE_MIPMAP 0x8294
  2288. #define GL_AUTO_GENERATE_MIPMAP 0x8295
  2289. #define GL_COLOR_ENCODING 0x8296
  2290. #define GL_SRGB_READ 0x8297
  2291. #define GL_SRGB_WRITE 0x8298
  2292. #define GL_FILTER 0x829A
  2293. #define GL_VERTEX_TEXTURE 0x829B
  2294. #define GL_TESS_CONTROL_TEXTURE 0x829C
  2295. #define GL_TESS_EVALUATION_TEXTURE 0x829D
  2296. #define GL_GEOMETRY_TEXTURE 0x829E
  2297. #define GL_FRAGMENT_TEXTURE 0x829F
  2298. #define GL_COMPUTE_TEXTURE 0x82A0
  2299. #define GL_TEXTURE_SHADOW 0x82A1
  2300. #define GL_TEXTURE_GATHER 0x82A2
  2301. #define GL_TEXTURE_GATHER_SHADOW 0x82A3
  2302. #define GL_SHADER_IMAGE_LOAD 0x82A4
  2303. #define GL_SHADER_IMAGE_STORE 0x82A5
  2304. #define GL_SHADER_IMAGE_ATOMIC 0x82A6
  2305. #define GL_IMAGE_TEXEL_SIZE 0x82A7
  2306. #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
  2307. #define GL_IMAGE_PIXEL_FORMAT 0x82A9
  2308. #define GL_IMAGE_PIXEL_TYPE 0x82AA
  2309. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
  2310. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
  2311. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
  2312. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
  2313. #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
  2314. #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
  2315. #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
  2316. #define GL_CLEAR_BUFFER 0x82B4
  2317. #define GL_TEXTURE_VIEW 0x82B5
  2318. #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
  2319. #define GL_FULL_SUPPORT 0x82B7
  2320. #define GL_CAVEAT_SUPPORT 0x82B8
  2321. #define GL_IMAGE_CLASS_4_X_32 0x82B9
  2322. #define GL_IMAGE_CLASS_2_X_32 0x82BA
  2323. #define GL_IMAGE_CLASS_1_X_32 0x82BB
  2324. #define GL_IMAGE_CLASS_4_X_16 0x82BC
  2325. #define GL_IMAGE_CLASS_2_X_16 0x82BD
  2326. #define GL_IMAGE_CLASS_1_X_16 0x82BE
  2327. #define GL_IMAGE_CLASS_4_X_8 0x82BF
  2328. #define GL_IMAGE_CLASS_2_X_8 0x82C0
  2329. #define GL_IMAGE_CLASS_1_X_8 0x82C1
  2330. #define GL_IMAGE_CLASS_11_11_10 0x82C2
  2331. #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
  2332. #define GL_VIEW_CLASS_128_BITS 0x82C4
  2333. #define GL_VIEW_CLASS_96_BITS 0x82C5
  2334. #define GL_VIEW_CLASS_64_BITS 0x82C6
  2335. #define GL_VIEW_CLASS_48_BITS 0x82C7
  2336. #define GL_VIEW_CLASS_32_BITS 0x82C8
  2337. #define GL_VIEW_CLASS_24_BITS 0x82C9
  2338. #define GL_VIEW_CLASS_16_BITS 0x82CA
  2339. #define GL_VIEW_CLASS_8_BITS 0x82CB
  2340. #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
  2341. #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
  2342. #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
  2343. #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
  2344. #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
  2345. #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
  2346. #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
  2347. #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
  2348. #define GL_UNIFORM 0x92E1
  2349. #define GL_UNIFORM_BLOCK 0x92E2
  2350. #define GL_PROGRAM_INPUT 0x92E3
  2351. #define GL_PROGRAM_OUTPUT 0x92E4
  2352. #define GL_BUFFER_VARIABLE 0x92E5
  2353. #define GL_SHADER_STORAGE_BLOCK 0x92E6
  2354. #define GL_VERTEX_SUBROUTINE 0x92E8
  2355. #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
  2356. #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
  2357. #define GL_GEOMETRY_SUBROUTINE 0x92EB
  2358. #define GL_FRAGMENT_SUBROUTINE 0x92EC
  2359. #define GL_COMPUTE_SUBROUTINE 0x92ED
  2360. #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
  2361. #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
  2362. #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
  2363. #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
  2364. #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
  2365. #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
  2366. #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
  2367. #define GL_ACTIVE_RESOURCES 0x92F5
  2368. #define GL_MAX_NAME_LENGTH 0x92F6
  2369. #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
  2370. #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
  2371. #define GL_NAME_LENGTH 0x92F9
  2372. #define GL_TYPE 0x92FA
  2373. #define GL_ARRAY_SIZE 0x92FB
  2374. #define GL_OFFSET 0x92FC
  2375. #define GL_BLOCK_INDEX 0x92FD
  2376. #define GL_ARRAY_STRIDE 0x92FE
  2377. #define GL_MATRIX_STRIDE 0x92FF
  2378. #define GL_IS_ROW_MAJOR 0x9300
  2379. #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
  2380. #define GL_BUFFER_BINDING 0x9302
  2381. #define GL_BUFFER_DATA_SIZE 0x9303
  2382. #define GL_NUM_ACTIVE_VARIABLES 0x9304
  2383. #define GL_ACTIVE_VARIABLES 0x9305
  2384. #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
  2385. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
  2386. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
  2387. #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
  2388. #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
  2389. #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
  2390. #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
  2391. #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
  2392. #define GL_LOCATION 0x930E
  2393. #define GL_LOCATION_INDEX 0x930F
  2394. #define GL_IS_PER_PATCH 0x92E7
  2395. #define GL_SHADER_STORAGE_BUFFER 0x90D2
  2396. #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
  2397. #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
  2398. #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
  2399. #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
  2400. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
  2401. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
  2402. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
  2403. #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
  2404. #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
  2405. #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
  2406. #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
  2407. #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
  2408. #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
  2409. #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
  2410. #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
  2411. #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
  2412. #define GL_TEXTURE_BUFFER_OFFSET 0x919D
  2413. #define GL_TEXTURE_BUFFER_SIZE 0x919E
  2414. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
  2415. #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
  2416. #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
  2417. #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
  2418. #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
  2419. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  2420. #define GL_VERTEX_ATTRIB_BINDING 0x82D4
  2421. #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
  2422. #define GL_VERTEX_BINDING_DIVISOR 0x82D6
  2423. #define GL_VERTEX_BINDING_OFFSET 0x82D7
  2424. #define GL_VERTEX_BINDING_STRIDE 0x82D8
  2425. #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
  2426. #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
  2427. #define GL_VERTEX_BINDING_BUFFER 0x8F4F
  2428. #define GL_DISPLAY_LIST 0x82E7
  2429. typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2430. typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2431. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2432. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
  2433. 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);
  2434. typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  2435. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2436. typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  2437. typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2438. typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
  2439. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2440. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
  2441. typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2442. typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2443. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2444. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2445. typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2446. typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2447. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2448. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  2449. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2450. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2451. typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2452. typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2453. typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2454. typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2455. typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2456. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2457. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2458. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2459. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2460. typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
  2461. typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
  2462. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2463. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2464. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
  2465. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2466. typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2467. typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
  2468. typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2469. typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2470. typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
  2471. typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2472. #ifdef GL_GLEXT_PROTOTYPES
  2473. GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2474. GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2475. GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2476. GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
  2477. 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);
  2478. GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
  2479. GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
  2480. GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  2481. GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2482. GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
  2483. GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2484. GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
  2485. GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2486. GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2487. GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2488. GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2489. GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2490. GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2491. GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2492. GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  2493. GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
  2494. GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2495. GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2496. GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2497. GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2498. GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2499. GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2500. GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2501. GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2502. GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2503. GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2504. GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
  2505. GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
  2506. GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2507. GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2508. GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
  2509. GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2510. GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2511. GLAPI void APIENTRY glPopDebugGroup (void);
  2512. GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2513. GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2514. GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
  2515. GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2516. #endif
  2517. #endif /* GL_VERSION_4_3 */
  2518. #ifndef GL_VERSION_4_4
  2519. #define GL_VERSION_4_4 1
  2520. #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
  2521. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
  2522. #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
  2523. #define GL_MAP_PERSISTENT_BIT 0x0040
  2524. #define GL_MAP_COHERENT_BIT 0x0080
  2525. #define GL_DYNAMIC_STORAGE_BIT 0x0100
  2526. #define GL_CLIENT_STORAGE_BIT 0x0200
  2527. #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
  2528. #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
  2529. #define GL_BUFFER_STORAGE_FLAGS 0x8220
  2530. #define GL_CLEAR_TEXTURE 0x9365
  2531. #define GL_LOCATION_COMPONENT 0x934A
  2532. #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
  2533. #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
  2534. #define GL_QUERY_BUFFER 0x9192
  2535. #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
  2536. #define GL_QUERY_BUFFER_BINDING 0x9193
  2537. #define GL_QUERY_RESULT_NO_WAIT 0x9194
  2538. #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
  2539. typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2540. typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2541. 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);
  2542. typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2543. typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2544. typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2545. typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
  2546. typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2547. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2548. #ifdef GL_GLEXT_PROTOTYPES
  2549. GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2550. GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2551. 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);
  2552. GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2553. GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2554. GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
  2555. GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
  2556. GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
  2557. GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2558. #endif
  2559. #endif /* GL_VERSION_4_4 */
  2560. #ifndef GL_ARB_ES2_compatibility
  2561. #define GL_ARB_ES2_compatibility 1
  2562. #endif /* GL_ARB_ES2_compatibility */
  2563. #ifndef GL_ARB_ES3_compatibility
  2564. #define GL_ARB_ES3_compatibility 1
  2565. #endif /* GL_ARB_ES3_compatibility */
  2566. #ifndef GL_ARB_arrays_of_arrays
  2567. #define GL_ARB_arrays_of_arrays 1
  2568. #endif /* GL_ARB_arrays_of_arrays */
  2569. #ifndef GL_ARB_base_instance
  2570. #define GL_ARB_base_instance 1
  2571. #endif /* GL_ARB_base_instance */
  2572. #ifndef GL_ARB_bindless_texture
  2573. #define GL_ARB_bindless_texture 1
  2574. typedef uint64_t GLuint64EXT;
  2575. #define GL_UNSIGNED_INT64_ARB 0x140F
  2576. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
  2577. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
  2578. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  2579. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  2580. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2581. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
  2582. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  2583. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
  2584. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  2585. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
  2586. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2587. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  2588. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
  2589. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
  2590. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
  2591. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  2592. #ifdef GL_GLEXT_PROTOTYPES
  2593. GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
  2594. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
  2595. GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
  2596. GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
  2597. GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2598. GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
  2599. GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
  2600. GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
  2601. GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  2602. GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
  2603. GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2604. GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
  2605. GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
  2606. GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
  2607. GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
  2608. GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
  2609. #endif
  2610. #endif /* GL_ARB_bindless_texture */
  2611. #ifndef GL_ARB_blend_func_extended
  2612. #define GL_ARB_blend_func_extended 1
  2613. #endif /* GL_ARB_blend_func_extended */
  2614. #ifndef GL_ARB_buffer_storage
  2615. #define GL_ARB_buffer_storage 1
  2616. #endif /* GL_ARB_buffer_storage */
  2617. #ifndef GL_ARB_cl_event
  2618. #define GL_ARB_cl_event 1
  2619. struct _cl_context;
  2620. struct _cl_event;
  2621. #define GL_SYNC_CL_EVENT_ARB 0x8240
  2622. #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
  2623. typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  2624. #ifdef GL_GLEXT_PROTOTYPES
  2625. GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  2626. #endif
  2627. #endif /* GL_ARB_cl_event */
  2628. #ifndef GL_ARB_clear_buffer_object
  2629. #define GL_ARB_clear_buffer_object 1
  2630. #endif /* GL_ARB_clear_buffer_object */
  2631. #ifndef GL_ARB_clear_texture
  2632. #define GL_ARB_clear_texture 1
  2633. #endif /* GL_ARB_clear_texture */
  2634. #ifndef GL_ARB_color_buffer_float
  2635. #define GL_ARB_color_buffer_float 1
  2636. #define GL_RGBA_FLOAT_MODE_ARB 0x8820
  2637. #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
  2638. #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
  2639. #define GL_CLAMP_READ_COLOR_ARB 0x891C
  2640. #define GL_FIXED_ONLY_ARB 0x891D
  2641. typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  2642. #ifdef GL_GLEXT_PROTOTYPES
  2643. GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
  2644. #endif
  2645. #endif /* GL_ARB_color_buffer_float */
  2646. #ifndef GL_ARB_compatibility
  2647. #define GL_ARB_compatibility 1
  2648. #endif /* GL_ARB_compatibility */
  2649. #ifndef GL_ARB_compressed_texture_pixel_storage
  2650. #define GL_ARB_compressed_texture_pixel_storage 1
  2651. #endif /* GL_ARB_compressed_texture_pixel_storage */
  2652. #ifndef GL_ARB_compute_shader
  2653. #define GL_ARB_compute_shader 1
  2654. #define GL_COMPUTE_SHADER_BIT 0x00000020
  2655. #endif /* GL_ARB_compute_shader */
  2656. #ifndef GL_ARB_compute_variable_group_size
  2657. #define GL_ARB_compute_variable_group_size 1
  2658. #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
  2659. #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
  2660. #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
  2661. #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
  2662. 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);
  2663. #ifdef GL_GLEXT_PROTOTYPES
  2664. 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);
  2665. #endif
  2666. #endif /* GL_ARB_compute_variable_group_size */
  2667. #ifndef GL_ARB_conservative_depth
  2668. #define GL_ARB_conservative_depth 1
  2669. #endif /* GL_ARB_conservative_depth */
  2670. #ifndef GL_ARB_copy_buffer
  2671. #define GL_ARB_copy_buffer 1
  2672. #define GL_COPY_READ_BUFFER_BINDING 0x8F36
  2673. #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
  2674. #endif /* GL_ARB_copy_buffer */
  2675. #ifndef GL_ARB_copy_image
  2676. #define GL_ARB_copy_image 1
  2677. #endif /* GL_ARB_copy_image */
  2678. #ifndef GL_ARB_debug_output
  2679. #define GL_ARB_debug_output 1
  2680. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  2681. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
  2682. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  2683. #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
  2684. #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
  2685. #define GL_DEBUG_SOURCE_API_ARB 0x8246
  2686. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
  2687. #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
  2688. #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
  2689. #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
  2690. #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
  2691. #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
  2692. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
  2693. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
  2694. #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
  2695. #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
  2696. #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
  2697. #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
  2698. #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
  2699. #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
  2700. #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
  2701. #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
  2702. #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
  2703. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2704. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2705. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
  2706. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2707. #ifdef GL_GLEXT_PROTOTYPES
  2708. GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2709. GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2710. GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
  2711. GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2712. #endif
  2713. #endif /* GL_ARB_debug_output */
  2714. #ifndef GL_ARB_depth_buffer_float
  2715. #define GL_ARB_depth_buffer_float 1
  2716. #endif /* GL_ARB_depth_buffer_float */
  2717. #ifndef GL_ARB_depth_clamp
  2718. #define GL_ARB_depth_clamp 1
  2719. #endif /* GL_ARB_depth_clamp */
  2720. #ifndef GL_ARB_depth_texture
  2721. #define GL_ARB_depth_texture 1
  2722. #define GL_DEPTH_COMPONENT16_ARB 0x81A5
  2723. #define GL_DEPTH_COMPONENT24_ARB 0x81A6
  2724. #define GL_DEPTH_COMPONENT32_ARB 0x81A7
  2725. #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
  2726. #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
  2727. #endif /* GL_ARB_depth_texture */
  2728. #ifndef GL_ARB_draw_buffers
  2729. #define GL_ARB_draw_buffers 1
  2730. #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
  2731. #define GL_DRAW_BUFFER0_ARB 0x8825
  2732. #define GL_DRAW_BUFFER1_ARB 0x8826
  2733. #define GL_DRAW_BUFFER2_ARB 0x8827
  2734. #define GL_DRAW_BUFFER3_ARB 0x8828
  2735. #define GL_DRAW_BUFFER4_ARB 0x8829
  2736. #define GL_DRAW_BUFFER5_ARB 0x882A
  2737. #define GL_DRAW_BUFFER6_ARB 0x882B
  2738. #define GL_DRAW_BUFFER7_ARB 0x882C
  2739. #define GL_DRAW_BUFFER8_ARB 0x882D
  2740. #define GL_DRAW_BUFFER9_ARB 0x882E
  2741. #define GL_DRAW_BUFFER10_ARB 0x882F
  2742. #define GL_DRAW_BUFFER11_ARB 0x8830
  2743. #define GL_DRAW_BUFFER12_ARB 0x8831
  2744. #define GL_DRAW_BUFFER13_ARB 0x8832
  2745. #define GL_DRAW_BUFFER14_ARB 0x8833
  2746. #define GL_DRAW_BUFFER15_ARB 0x8834
  2747. typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  2748. #ifdef GL_GLEXT_PROTOTYPES
  2749. GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
  2750. #endif
  2751. #endif /* GL_ARB_draw_buffers */
  2752. #ifndef GL_ARB_draw_buffers_blend
  2753. #define GL_ARB_draw_buffers_blend 1
  2754. typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  2755. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  2756. typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  2757. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  2758. #ifdef GL_GLEXT_PROTOTYPES
  2759. GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
  2760. GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  2761. GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
  2762. GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  2763. #endif
  2764. #endif /* GL_ARB_draw_buffers_blend */
  2765. #ifndef GL_ARB_draw_elements_base_vertex
  2766. #define GL_ARB_draw_elements_base_vertex 1
  2767. #endif /* GL_ARB_draw_elements_base_vertex */
  2768. #ifndef GL_ARB_draw_indirect
  2769. #define GL_ARB_draw_indirect 1
  2770. #endif /* GL_ARB_draw_indirect */
  2771. #ifndef GL_ARB_draw_instanced
  2772. #define GL_ARB_draw_instanced 1
  2773. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  2774. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  2775. #ifdef GL_GLEXT_PROTOTYPES
  2776. GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  2777. GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  2778. #endif
  2779. #endif /* GL_ARB_draw_instanced */
  2780. #ifndef GL_ARB_enhanced_layouts
  2781. #define GL_ARB_enhanced_layouts 1
  2782. #endif /* GL_ARB_enhanced_layouts */
  2783. #ifndef GL_ARB_explicit_attrib_location
  2784. #define GL_ARB_explicit_attrib_location 1
  2785. #endif /* GL_ARB_explicit_attrib_location */
  2786. #ifndef GL_ARB_explicit_uniform_location
  2787. #define GL_ARB_explicit_uniform_location 1
  2788. #endif /* GL_ARB_explicit_uniform_location */
  2789. #ifndef GL_ARB_fragment_coord_conventions
  2790. #define GL_ARB_fragment_coord_conventions 1
  2791. #endif /* GL_ARB_fragment_coord_conventions */
  2792. #ifndef GL_ARB_fragment_layer_viewport
  2793. #define GL_ARB_fragment_layer_viewport 1
  2794. #endif /* GL_ARB_fragment_layer_viewport */
  2795. #ifndef GL_ARB_fragment_program
  2796. #define GL_ARB_fragment_program 1
  2797. #define GL_FRAGMENT_PROGRAM_ARB 0x8804
  2798. #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
  2799. #define GL_PROGRAM_LENGTH_ARB 0x8627
  2800. #define GL_PROGRAM_FORMAT_ARB 0x8876
  2801. #define GL_PROGRAM_BINDING_ARB 0x8677
  2802. #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
  2803. #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
  2804. #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  2805. #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  2806. #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
  2807. #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
  2808. #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  2809. #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  2810. #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
  2811. #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
  2812. #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
  2813. #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  2814. #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
  2815. #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
  2816. #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
  2817. #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  2818. #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  2819. #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  2820. #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  2821. #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
  2822. #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
  2823. #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
  2824. #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  2825. #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  2826. #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  2827. #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  2828. #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  2829. #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  2830. #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  2831. #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  2832. #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  2833. #define GL_PROGRAM_STRING_ARB 0x8628
  2834. #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
  2835. #define GL_CURRENT_MATRIX_ARB 0x8641
  2836. #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
  2837. #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  2838. #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
  2839. #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  2840. #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
  2841. #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
  2842. #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
  2843. #define GL_MATRIX0_ARB 0x88C0
  2844. #define GL_MATRIX1_ARB 0x88C1
  2845. #define GL_MATRIX2_ARB 0x88C2
  2846. #define GL_MATRIX3_ARB 0x88C3
  2847. #define GL_MATRIX4_ARB 0x88C4
  2848. #define GL_MATRIX5_ARB 0x88C5
  2849. #define GL_MATRIX6_ARB 0x88C6
  2850. #define GL_MATRIX7_ARB 0x88C7
  2851. #define GL_MATRIX8_ARB 0x88C8
  2852. #define GL_MATRIX9_ARB 0x88C9
  2853. #define GL_MATRIX10_ARB 0x88CA
  2854. #define GL_MATRIX11_ARB 0x88CB
  2855. #define GL_MATRIX12_ARB 0x88CC
  2856. #define GL_MATRIX13_ARB 0x88CD
  2857. #define GL_MATRIX14_ARB 0x88CE
  2858. #define GL_MATRIX15_ARB 0x88CF
  2859. #define GL_MATRIX16_ARB 0x88D0
  2860. #define GL_MATRIX17_ARB 0x88D1
  2861. #define GL_MATRIX18_ARB 0x88D2
  2862. #define GL_MATRIX19_ARB 0x88D3
  2863. #define GL_MATRIX20_ARB 0x88D4
  2864. #define GL_MATRIX21_ARB 0x88D5
  2865. #define GL_MATRIX22_ARB 0x88D6
  2866. #define GL_MATRIX23_ARB 0x88D7
  2867. #define GL_MATRIX24_ARB 0x88D8
  2868. #define GL_MATRIX25_ARB 0x88D9
  2869. #define GL_MATRIX26_ARB 0x88DA
  2870. #define GL_MATRIX27_ARB 0x88DB
  2871. #define GL_MATRIX28_ARB 0x88DC
  2872. #define GL_MATRIX29_ARB 0x88DD
  2873. #define GL_MATRIX30_ARB 0x88DE
  2874. #define GL_MATRIX31_ARB 0x88DF
  2875. typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
  2876. typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  2877. typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  2878. typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  2879. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2880. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  2881. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2882. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  2883. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2884. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  2885. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2886. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  2887. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  2888. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  2889. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  2890. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  2891. typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  2892. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
  2893. typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  2894. #ifdef GL_GLEXT_PROTOTYPES
  2895. GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
  2896. GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
  2897. GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
  2898. GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
  2899. GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2900. GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  2901. GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2902. GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  2903. GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2904. GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  2905. GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2906. GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  2907. GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  2908. GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  2909. GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  2910. GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  2911. GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
  2912. GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
  2913. GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
  2914. #endif
  2915. #endif /* GL_ARB_fragment_program */
  2916. #ifndef GL_ARB_fragment_program_shadow
  2917. #define GL_ARB_fragment_program_shadow 1
  2918. #endif /* GL_ARB_fragment_program_shadow */
  2919. #ifndef GL_ARB_fragment_shader
  2920. #define GL_ARB_fragment_shader 1
  2921. #define GL_FRAGMENT_SHADER_ARB 0x8B30
  2922. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  2923. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  2924. #endif /* GL_ARB_fragment_shader */
  2925. #ifndef GL_ARB_framebuffer_no_attachments
  2926. #define GL_ARB_framebuffer_no_attachments 1
  2927. #endif /* GL_ARB_framebuffer_no_attachments */
  2928. #ifndef GL_ARB_framebuffer_object
  2929. #define GL_ARB_framebuffer_object 1
  2930. #endif /* GL_ARB_framebuffer_object */
  2931. #ifndef GL_ARB_framebuffer_sRGB
  2932. #define GL_ARB_framebuffer_sRGB 1
  2933. #endif /* GL_ARB_framebuffer_sRGB */
  2934. #ifndef GL_KHR_context_flush_control
  2935. #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
  2936. #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
  2937. #endif /* GL_KHR_context_flush_control */
  2938. #ifndef GL_ARB_geometry_shader4
  2939. #define GL_ARB_geometry_shader4 1
  2940. #define GL_LINES_ADJACENCY_ARB 0x000A
  2941. #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
  2942. #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
  2943. #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
  2944. #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
  2945. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  2946. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  2947. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  2948. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  2949. #define GL_GEOMETRY_SHADER_ARB 0x8DD9
  2950. #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
  2951. #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
  2952. #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
  2953. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  2954. #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  2955. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  2956. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  2957. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  2958. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  2959. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  2960. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2961. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  2962. #ifdef GL_GLEXT_PROTOTYPES
  2963. GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
  2964. GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
  2965. GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2966. GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  2967. #endif
  2968. #endif /* GL_ARB_geometry_shader4 */
  2969. #ifndef GL_ARB_get_program_binary
  2970. #define GL_ARB_get_program_binary 1
  2971. #endif /* GL_ARB_get_program_binary */
  2972. #ifndef GL_ARB_gpu_shader5
  2973. #define GL_ARB_gpu_shader5 1
  2974. #endif /* GL_ARB_gpu_shader5 */
  2975. #ifndef GL_ARB_gpu_shader_fp64
  2976. #define GL_ARB_gpu_shader_fp64 1
  2977. #endif /* GL_ARB_gpu_shader_fp64 */
  2978. #ifndef GL_ARB_half_float_pixel
  2979. #define GL_ARB_half_float_pixel 1
  2980. typedef unsigned short GLhalfARB;
  2981. #define GL_HALF_FLOAT_ARB 0x140B
  2982. #endif /* GL_ARB_half_float_pixel */
  2983. #ifndef GL_ARB_half_float_vertex
  2984. #define GL_ARB_half_float_vertex 1
  2985. #endif /* GL_ARB_half_float_vertex */
  2986. #ifndef GL_ARB_imaging
  2987. #define GL_ARB_imaging 1
  2988. #define GL_BLEND_COLOR 0x8005
  2989. #define GL_BLEND_EQUATION 0x8009
  2990. #define GL_CONVOLUTION_1D 0x8010
  2991. #define GL_CONVOLUTION_2D 0x8011
  2992. #define GL_SEPARABLE_2D 0x8012
  2993. #define GL_CONVOLUTION_BORDER_MODE 0x8013
  2994. #define GL_CONVOLUTION_FILTER_SCALE 0x8014
  2995. #define GL_CONVOLUTION_FILTER_BIAS 0x8015
  2996. #define GL_REDUCE 0x8016
  2997. #define GL_CONVOLUTION_FORMAT 0x8017
  2998. #define GL_CONVOLUTION_WIDTH 0x8018
  2999. #define GL_CONVOLUTION_HEIGHT 0x8019
  3000. #define GL_MAX_CONVOLUTION_WIDTH 0x801A
  3001. #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
  3002. #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
  3003. #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
  3004. #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
  3005. #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
  3006. #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
  3007. #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
  3008. #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
  3009. #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
  3010. #define GL_HISTOGRAM 0x8024
  3011. #define GL_PROXY_HISTOGRAM 0x8025
  3012. #define GL_HISTOGRAM_WIDTH 0x8026
  3013. #define GL_HISTOGRAM_FORMAT 0x8027
  3014. #define GL_HISTOGRAM_RED_SIZE 0x8028
  3015. #define GL_HISTOGRAM_GREEN_SIZE 0x8029
  3016. #define GL_HISTOGRAM_BLUE_SIZE 0x802A
  3017. #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
  3018. #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
  3019. #define GL_HISTOGRAM_SINK 0x802D
  3020. #define GL_MINMAX 0x802E
  3021. #define GL_MINMAX_FORMAT 0x802F
  3022. #define GL_MINMAX_SINK 0x8030
  3023. #define GL_TABLE_TOO_LARGE 0x8031
  3024. #define GL_COLOR_MATRIX 0x80B1
  3025. #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
  3026. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
  3027. #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
  3028. #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
  3029. #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
  3030. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
  3031. #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
  3032. #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
  3033. #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
  3034. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
  3035. #define GL_COLOR_TABLE 0x80D0
  3036. #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
  3037. #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
  3038. #define GL_PROXY_COLOR_TABLE 0x80D3
  3039. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
  3040. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
  3041. #define GL_COLOR_TABLE_SCALE 0x80D6
  3042. #define GL_COLOR_TABLE_BIAS 0x80D7
  3043. #define GL_COLOR_TABLE_FORMAT 0x80D8
  3044. #define GL_COLOR_TABLE_WIDTH 0x80D9
  3045. #define GL_COLOR_TABLE_RED_SIZE 0x80DA
  3046. #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
  3047. #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
  3048. #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
  3049. #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
  3050. #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
  3051. #define GL_CONSTANT_BORDER 0x8151
  3052. #define GL_REPLICATE_BORDER 0x8153
  3053. #define GL_CONVOLUTION_BORDER_COLOR 0x8154
  3054. typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  3055. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3056. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  3057. typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3058. typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
  3059. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3060. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3061. typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  3062. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  3063. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  3064. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  3065. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  3066. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3067. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  3068. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  3069. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3070. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3071. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
  3072. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3073. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3074. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  3075. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  3076. typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3077. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3078. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3079. typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3080. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3081. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3082. typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3083. typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  3084. typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  3085. typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  3086. #ifdef GL_GLEXT_PROTOTYPES
  3087. GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  3088. GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  3089. GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
  3090. GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3091. GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
  3092. GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3093. GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
  3094. GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  3095. GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  3096. GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  3097. GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  3098. GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
  3099. GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  3100. GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
  3101. GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
  3102. GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3103. GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3104. GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
  3105. GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3106. GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
  3107. GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  3108. GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  3109. GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3110. GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3111. GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
  3112. GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3113. GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3114. GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
  3115. GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3116. GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
  3117. GLAPI void APIENTRY glResetHistogram (GLenum target);
  3118. GLAPI void APIENTRY glResetMinmax (GLenum target);
  3119. #endif
  3120. #endif /* GL_ARB_imaging */
  3121. #ifndef GL_ARB_indirect_parameters
  3122. #define GL_ARB_indirect_parameters 1
  3123. #define GL_PARAMETER_BUFFER_ARB 0x80EE
  3124. #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
  3125. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3126. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3127. #ifdef GL_GLEXT_PROTOTYPES
  3128. GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3129. GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3130. #endif
  3131. #endif /* GL_ARB_indirect_parameters */
  3132. #ifndef GL_ARB_instanced_arrays
  3133. #define GL_ARB_instanced_arrays 1
  3134. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  3135. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
  3136. #ifdef GL_GLEXT_PROTOTYPES
  3137. GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
  3138. #endif
  3139. #endif /* GL_ARB_instanced_arrays */
  3140. #ifndef GL_ARB_internalformat_query
  3141. #define GL_ARB_internalformat_query 1
  3142. #endif /* GL_ARB_internalformat_query */
  3143. #ifndef GL_ARB_internalformat_query2
  3144. #define GL_ARB_internalformat_query2 1
  3145. #define GL_SRGB_DECODE_ARB 0x8299
  3146. #endif /* GL_ARB_internalformat_query2 */
  3147. #ifndef GL_ARB_invalidate_subdata
  3148. #define GL_ARB_invalidate_subdata 1
  3149. #endif /* GL_ARB_invalidate_subdata */
  3150. #ifndef GL_ARB_map_buffer_alignment
  3151. #define GL_ARB_map_buffer_alignment 1
  3152. #endif /* GL_ARB_map_buffer_alignment */
  3153. #ifndef GL_ARB_map_buffer_range
  3154. #define GL_ARB_map_buffer_range 1
  3155. #endif /* GL_ARB_map_buffer_range */
  3156. #ifndef GL_ARB_matrix_palette
  3157. #define GL_ARB_matrix_palette 1
  3158. #define GL_MATRIX_PALETTE_ARB 0x8840
  3159. #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  3160. #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
  3161. #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
  3162. #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
  3163. #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
  3164. #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
  3165. #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
  3166. #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
  3167. #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  3168. typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  3169. typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  3170. typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  3171. typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  3172. typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3173. #ifdef GL_GLEXT_PROTOTYPES
  3174. GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
  3175. GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
  3176. GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
  3177. GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
  3178. GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3179. #endif
  3180. #endif /* GL_ARB_matrix_palette */
  3181. #ifndef GL_ARB_multi_bind
  3182. #define GL_ARB_multi_bind 1
  3183. #endif /* GL_ARB_multi_bind */
  3184. #ifndef GL_ARB_multi_draw_indirect
  3185. #define GL_ARB_multi_draw_indirect 1
  3186. #endif /* GL_ARB_multi_draw_indirect */
  3187. #ifndef GL_ARB_multisample
  3188. #define GL_ARB_multisample 1
  3189. #define GL_MULTISAMPLE_ARB 0x809D
  3190. #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
  3191. #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
  3192. #define GL_SAMPLE_COVERAGE_ARB 0x80A0
  3193. #define GL_SAMPLE_BUFFERS_ARB 0x80A8
  3194. #define GL_SAMPLES_ARB 0x80A9
  3195. #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
  3196. #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
  3197. #define GL_MULTISAMPLE_BIT_ARB 0x20000000
  3198. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
  3199. #ifdef GL_GLEXT_PROTOTYPES
  3200. GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
  3201. #endif
  3202. #endif /* GL_ARB_multisample */
  3203. #ifndef GL_ARB_multitexture
  3204. #define GL_ARB_multitexture 1
  3205. #define GL_TEXTURE0_ARB 0x84C0
  3206. #define GL_TEXTURE1_ARB 0x84C1
  3207. #define GL_TEXTURE2_ARB 0x84C2
  3208. #define GL_TEXTURE3_ARB 0x84C3
  3209. #define GL_TEXTURE4_ARB 0x84C4
  3210. #define GL_TEXTURE5_ARB 0x84C5
  3211. #define GL_TEXTURE6_ARB 0x84C6
  3212. #define GL_TEXTURE7_ARB 0x84C7
  3213. #define GL_TEXTURE8_ARB 0x84C8
  3214. #define GL_TEXTURE9_ARB 0x84C9
  3215. #define GL_TEXTURE10_ARB 0x84CA
  3216. #define GL_TEXTURE11_ARB 0x84CB
  3217. #define GL_TEXTURE12_ARB 0x84CC
  3218. #define GL_TEXTURE13_ARB 0x84CD
  3219. #define GL_TEXTURE14_ARB 0x84CE
  3220. #define GL_TEXTURE15_ARB 0x84CF
  3221. #define GL_TEXTURE16_ARB 0x84D0
  3222. #define GL_TEXTURE17_ARB 0x84D1
  3223. #define GL_TEXTURE18_ARB 0x84D2
  3224. #define GL_TEXTURE19_ARB 0x84D3
  3225. #define GL_TEXTURE20_ARB 0x84D4
  3226. #define GL_TEXTURE21_ARB 0x84D5
  3227. #define GL_TEXTURE22_ARB 0x84D6
  3228. #define GL_TEXTURE23_ARB 0x84D7
  3229. #define GL_TEXTURE24_ARB 0x84D8
  3230. #define GL_TEXTURE25_ARB 0x84D9
  3231. #define GL_TEXTURE26_ARB 0x84DA
  3232. #define GL_TEXTURE27_ARB 0x84DB
  3233. #define GL_TEXTURE28_ARB 0x84DC
  3234. #define GL_TEXTURE29_ARB 0x84DD
  3235. #define GL_TEXTURE30_ARB 0x84DE
  3236. #define GL_TEXTURE31_ARB 0x84DF
  3237. #define GL_ACTIVE_TEXTURE_ARB 0x84E0
  3238. #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
  3239. #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
  3240. typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  3241. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  3242. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  3243. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  3244. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  3245. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  3246. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  3247. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  3248. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  3249. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  3250. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  3251. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  3252. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  3253. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  3254. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  3255. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  3256. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  3257. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  3258. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3259. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  3260. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3261. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  3262. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  3263. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  3264. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  3265. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  3266. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3267. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  3268. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3269. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  3270. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3271. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  3272. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3273. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  3274. #ifdef GL_GLEXT_PROTOTYPES
  3275. GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
  3276. GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
  3277. GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
  3278. GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
  3279. GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
  3280. GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
  3281. GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
  3282. GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
  3283. GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
  3284. GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
  3285. GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
  3286. GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
  3287. GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
  3288. GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
  3289. GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
  3290. GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
  3291. GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
  3292. GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
  3293. GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3294. GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
  3295. GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3296. GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
  3297. GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
  3298. GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
  3299. GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
  3300. GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
  3301. GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3302. GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
  3303. GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3304. GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
  3305. GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3306. GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
  3307. GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3308. GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
  3309. #endif
  3310. #endif /* GL_ARB_multitexture */
  3311. #ifndef GL_ARB_occlusion_query
  3312. #define GL_ARB_occlusion_query 1
  3313. #define GL_QUERY_COUNTER_BITS_ARB 0x8864
  3314. #define GL_CURRENT_QUERY_ARB 0x8865
  3315. #define GL_QUERY_RESULT_ARB 0x8866
  3316. #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
  3317. #define GL_SAMPLES_PASSED_ARB 0x8914
  3318. typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  3319. typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  3320. typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  3321. typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  3322. typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  3323. typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  3324. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  3325. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  3326. #ifdef GL_GLEXT_PROTOTYPES
  3327. GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
  3328. GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
  3329. GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
  3330. GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
  3331. GLAPI void APIENTRY glEndQueryARB (GLenum target);
  3332. GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
  3333. GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
  3334. GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
  3335. #endif
  3336. #endif /* GL_ARB_occlusion_query */
  3337. #ifndef GL_ARB_occlusion_query2
  3338. #define GL_ARB_occlusion_query2 1
  3339. #endif /* GL_ARB_occlusion_query2 */
  3340. #ifndef GL_ARB_pixel_buffer_object
  3341. #define GL_ARB_pixel_buffer_object 1
  3342. #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
  3343. #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
  3344. #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
  3345. #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  3346. #endif /* GL_ARB_pixel_buffer_object */
  3347. #ifndef GL_ARB_point_parameters
  3348. #define GL_ARB_point_parameters 1
  3349. #define GL_POINT_SIZE_MIN_ARB 0x8126
  3350. #define GL_POINT_SIZE_MAX_ARB 0x8127
  3351. #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
  3352. #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  3353. typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  3354. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  3355. #ifdef GL_GLEXT_PROTOTYPES
  3356. GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
  3357. GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
  3358. #endif
  3359. #endif /* GL_ARB_point_parameters */
  3360. #ifndef GL_ARB_point_sprite
  3361. #define GL_ARB_point_sprite 1
  3362. #define GL_POINT_SPRITE_ARB 0x8861
  3363. #define GL_COORD_REPLACE_ARB 0x8862
  3364. #endif /* GL_ARB_point_sprite */
  3365. #ifndef GL_ARB_program_interface_query
  3366. #define GL_ARB_program_interface_query 1
  3367. #endif /* GL_ARB_program_interface_query */
  3368. #ifndef GL_ARB_provoking_vertex
  3369. #define GL_ARB_provoking_vertex 1
  3370. #endif /* GL_ARB_provoking_vertex */
  3371. #ifndef GL_ARB_query_buffer_object
  3372. #define GL_ARB_query_buffer_object 1
  3373. #endif /* GL_ARB_query_buffer_object */
  3374. #ifndef GL_ARB_robust_buffer_access_behavior
  3375. #define GL_ARB_robust_buffer_access_behavior 1
  3376. #endif /* GL_ARB_robust_buffer_access_behavior */
  3377. #ifndef GL_ARB_robustness
  3378. #define GL_ARB_robustness 1
  3379. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  3380. #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
  3381. #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
  3382. #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
  3383. #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
  3384. #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  3385. #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
  3386. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  3387. typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  3388. typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  3389. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
  3390. typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  3391. typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  3392. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  3393. typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  3394. typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  3395. typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  3396. typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  3397. typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  3398. typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  3399. typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  3400. typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
  3401. typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  3402. typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  3403. typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  3404. typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3405. typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3406. #ifdef GL_GLEXT_PROTOTYPES
  3407. GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
  3408. GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  3409. GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  3410. GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
  3411. GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  3412. GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  3413. GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  3414. GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  3415. GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  3416. GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  3417. GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  3418. GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
  3419. GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
  3420. GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
  3421. GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
  3422. GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  3423. GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  3424. GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  3425. GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3426. GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3427. #endif
  3428. #endif /* GL_ARB_robustness */
  3429. #ifndef GL_ARB_robustness_isolation
  3430. #define GL_ARB_robustness_isolation 1
  3431. #endif /* GL_ARB_robustness_isolation */
  3432. #ifndef GL_ARB_sample_shading
  3433. #define GL_ARB_sample_shading 1
  3434. #define GL_SAMPLE_SHADING_ARB 0x8C36
  3435. #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
  3436. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
  3437. #ifdef GL_GLEXT_PROTOTYPES
  3438. GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
  3439. #endif
  3440. #endif /* GL_ARB_sample_shading */
  3441. #ifndef GL_ARB_sampler_objects
  3442. #define GL_ARB_sampler_objects 1
  3443. #endif /* GL_ARB_sampler_objects */
  3444. #ifndef GL_ARB_seamless_cube_map
  3445. #define GL_ARB_seamless_cube_map 1
  3446. #endif /* GL_ARB_seamless_cube_map */
  3447. #ifndef GL_ARB_seamless_cubemap_per_texture
  3448. #define GL_ARB_seamless_cubemap_per_texture 1
  3449. #endif /* GL_ARB_seamless_cubemap_per_texture */
  3450. #ifndef GL_ARB_separate_shader_objects
  3451. #define GL_ARB_separate_shader_objects 1
  3452. #endif /* GL_ARB_separate_shader_objects */
  3453. #ifndef GL_ARB_shader_atomic_counters
  3454. #define GL_ARB_shader_atomic_counters 1
  3455. #endif /* GL_ARB_shader_atomic_counters */
  3456. #ifndef GL_ARB_shader_bit_encoding
  3457. #define GL_ARB_shader_bit_encoding 1
  3458. #endif /* GL_ARB_shader_bit_encoding */
  3459. #ifndef GL_ARB_shader_draw_parameters
  3460. #define GL_ARB_shader_draw_parameters 1
  3461. #endif /* GL_ARB_shader_draw_parameters */
  3462. #ifndef GL_ARB_shader_group_vote
  3463. #define GL_ARB_shader_group_vote 1
  3464. #endif /* GL_ARB_shader_group_vote */
  3465. #ifndef GL_ARB_shader_image_load_store
  3466. #define GL_ARB_shader_image_load_store 1
  3467. #endif /* GL_ARB_shader_image_load_store */
  3468. #ifndef GL_ARB_shader_image_size
  3469. #define GL_ARB_shader_image_size 1
  3470. #endif /* GL_ARB_shader_image_size */
  3471. #ifndef GL_ARB_shader_objects
  3472. #define GL_ARB_shader_objects 1
  3473. #ifdef __APPLE__
  3474. typedef void *GLhandleARB;
  3475. #else
  3476. typedef unsigned int GLhandleARB;
  3477. #endif
  3478. typedef char GLcharARB;
  3479. #define GL_PROGRAM_OBJECT_ARB 0x8B40
  3480. #define GL_SHADER_OBJECT_ARB 0x8B48
  3481. #define GL_OBJECT_TYPE_ARB 0x8B4E
  3482. #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
  3483. #define GL_FLOAT_VEC2_ARB 0x8B50
  3484. #define GL_FLOAT_VEC3_ARB 0x8B51
  3485. #define GL_FLOAT_VEC4_ARB 0x8B52
  3486. #define GL_INT_VEC2_ARB 0x8B53
  3487. #define GL_INT_VEC3_ARB 0x8B54
  3488. #define GL_INT_VEC4_ARB 0x8B55
  3489. #define GL_BOOL_ARB 0x8B56
  3490. #define GL_BOOL_VEC2_ARB 0x8B57
  3491. #define GL_BOOL_VEC3_ARB 0x8B58
  3492. #define GL_BOOL_VEC4_ARB 0x8B59
  3493. #define GL_FLOAT_MAT2_ARB 0x8B5A
  3494. #define GL_FLOAT_MAT3_ARB 0x8B5B
  3495. #define GL_FLOAT_MAT4_ARB 0x8B5C
  3496. #define GL_SAMPLER_1D_ARB 0x8B5D
  3497. #define GL_SAMPLER_2D_ARB 0x8B5E
  3498. #define GL_SAMPLER_3D_ARB 0x8B5F
  3499. #define GL_SAMPLER_CUBE_ARB 0x8B60
  3500. #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
  3501. #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
  3502. #define GL_SAMPLER_2D_RECT_ARB 0x8B63
  3503. #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
  3504. #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
  3505. #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
  3506. #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
  3507. #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
  3508. #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
  3509. #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
  3510. #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
  3511. #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  3512. #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  3513. typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  3514. typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  3515. typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  3516. typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  3517. typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  3518. typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  3519. typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  3520. typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  3521. typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  3522. typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  3523. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  3524. typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  3525. typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  3526. typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  3527. typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  3528. typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  3529. typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  3530. typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  3531. typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  3532. typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3533. typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3534. typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3535. typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  3536. typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3537. typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3538. typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3539. typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  3540. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3541. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3542. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3543. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  3544. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  3545. typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  3546. typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  3547. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  3548. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  3549. typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  3550. typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  3551. typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  3552. #ifdef GL_GLEXT_PROTOTYPES
  3553. GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
  3554. GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
  3555. GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
  3556. GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
  3557. GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  3558. GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
  3559. GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  3560. GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
  3561. GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
  3562. GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
  3563. GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
  3564. GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
  3565. GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
  3566. GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  3567. GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  3568. GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
  3569. GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
  3570. GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
  3571. GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  3572. GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
  3573. GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
  3574. GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
  3575. GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
  3576. GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
  3577. GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
  3578. GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
  3579. GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
  3580. GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3581. GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3582. GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3583. GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
  3584. GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
  3585. GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  3586. GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  3587. GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
  3588. GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  3589. GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
  3590. GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
  3591. GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  3592. #endif
  3593. #endif /* GL_ARB_shader_objects */
  3594. #ifndef GL_ARB_shader_precision
  3595. #define GL_ARB_shader_precision 1
  3596. #endif /* GL_ARB_shader_precision */
  3597. #ifndef GL_ARB_shader_stencil_export
  3598. #define GL_ARB_shader_stencil_export 1
  3599. #endif /* GL_ARB_shader_stencil_export */
  3600. #ifndef GL_ARB_shader_storage_buffer_object
  3601. #define GL_ARB_shader_storage_buffer_object 1
  3602. #endif /* GL_ARB_shader_storage_buffer_object */
  3603. #ifndef GL_ARB_shader_subroutine
  3604. #define GL_ARB_shader_subroutine 1
  3605. #endif /* GL_ARB_shader_subroutine */
  3606. #ifndef GL_ARB_shader_texture_lod
  3607. #define GL_ARB_shader_texture_lod 1
  3608. #endif /* GL_ARB_shader_texture_lod */
  3609. #ifndef GL_ARB_shading_language_100
  3610. #define GL_ARB_shading_language_100 1
  3611. #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
  3612. #endif /* GL_ARB_shading_language_100 */
  3613. #ifndef GL_ARB_shading_language_420pack
  3614. #define GL_ARB_shading_language_420pack 1
  3615. #endif /* GL_ARB_shading_language_420pack */
  3616. #ifndef GL_ARB_shading_language_include
  3617. #define GL_ARB_shading_language_include 1
  3618. #define GL_SHADER_INCLUDE_ARB 0x8DAE
  3619. #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
  3620. #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
  3621. typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  3622. typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  3623. typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  3624. typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  3625. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  3626. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  3627. #ifdef GL_GLEXT_PROTOTYPES
  3628. GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  3629. GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
  3630. GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  3631. GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
  3632. GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  3633. GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  3634. #endif
  3635. #endif /* GL_ARB_shading_language_include */
  3636. #ifndef GL_ARB_shading_language_packing
  3637. #define GL_ARB_shading_language_packing 1
  3638. #endif /* GL_ARB_shading_language_packing */
  3639. #ifndef GL_ARB_shadow
  3640. #define GL_ARB_shadow 1
  3641. #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
  3642. #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
  3643. #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
  3644. #endif /* GL_ARB_shadow */
  3645. #ifndef GL_ARB_shadow_ambient
  3646. #define GL_ARB_shadow_ambient 1
  3647. #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  3648. #endif /* GL_ARB_shadow_ambient */
  3649. #ifndef GL_ARB_sparse_texture
  3650. #define GL_ARB_sparse_texture 1
  3651. #define GL_TEXTURE_SPARSE_ARB 0x91A6
  3652. #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
  3653. #define GL_MIN_SPARSE_LEVEL_ARB 0x919B
  3654. #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
  3655. #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
  3656. #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
  3657. #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
  3658. #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
  3659. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
  3660. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
  3661. #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
  3662. typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  3663. #ifdef GL_GLEXT_PROTOTYPES
  3664. GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  3665. #endif
  3666. #endif /* GL_ARB_sparse_texture */
  3667. #ifndef GL_ARB_stencil_texturing
  3668. #define GL_ARB_stencil_texturing 1
  3669. #endif /* GL_ARB_stencil_texturing */
  3670. #ifndef GL_ARB_sync
  3671. #define GL_ARB_sync 1
  3672. #endif /* GL_ARB_sync */
  3673. #ifndef GL_ARB_tessellation_shader
  3674. #define GL_ARB_tessellation_shader 1
  3675. #endif /* GL_ARB_tessellation_shader */
  3676. #ifndef GL_ARB_texture_border_clamp
  3677. #define GL_ARB_texture_border_clamp 1
  3678. #define GL_CLAMP_TO_BORDER_ARB 0x812D
  3679. #endif /* GL_ARB_texture_border_clamp */
  3680. #ifndef GL_ARB_texture_buffer_object
  3681. #define GL_ARB_texture_buffer_object 1
  3682. #define GL_TEXTURE_BUFFER_ARB 0x8C2A
  3683. #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
  3684. #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
  3685. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  3686. #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
  3687. typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  3688. #ifdef GL_GLEXT_PROTOTYPES
  3689. GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
  3690. #endif
  3691. #endif /* GL_ARB_texture_buffer_object */
  3692. #ifndef GL_ARB_texture_buffer_object_rgb32
  3693. #define GL_ARB_texture_buffer_object_rgb32 1
  3694. #endif /* GL_ARB_texture_buffer_object_rgb32 */
  3695. #ifndef GL_ARB_texture_buffer_range
  3696. #define GL_ARB_texture_buffer_range 1
  3697. #endif /* GL_ARB_texture_buffer_range */
  3698. #ifndef GL_ARB_texture_compression
  3699. #define GL_ARB_texture_compression 1
  3700. #define GL_COMPRESSED_ALPHA_ARB 0x84E9
  3701. #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
  3702. #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  3703. #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
  3704. #define GL_COMPRESSED_RGB_ARB 0x84ED
  3705. #define GL_COMPRESSED_RGBA_ARB 0x84EE
  3706. #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
  3707. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  3708. #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
  3709. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  3710. #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  3711. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  3712. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  3713. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  3714. 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);
  3715. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  3716. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  3717. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
  3718. #ifdef GL_GLEXT_PROTOTYPES
  3719. GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  3720. GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  3721. GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  3722. 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);
  3723. GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  3724. GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  3725. GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
  3726. #endif
  3727. #endif /* GL_ARB_texture_compression */
  3728. #ifndef GL_ARB_texture_compression_bptc
  3729. #define GL_ARB_texture_compression_bptc 1
  3730. #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  3731. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  3732. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  3733. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  3734. #endif /* GL_ARB_texture_compression_bptc */
  3735. #ifndef GL_ARB_texture_compression_rgtc
  3736. #define GL_ARB_texture_compression_rgtc 1
  3737. #endif /* GL_ARB_texture_compression_rgtc */
  3738. #ifndef GL_ARB_texture_cube_map
  3739. #define GL_ARB_texture_cube_map 1
  3740. #define GL_NORMAL_MAP_ARB 0x8511
  3741. #define GL_REFLECTION_MAP_ARB 0x8512
  3742. #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
  3743. #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
  3744. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  3745. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  3746. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  3747. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  3748. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  3749. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  3750. #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
  3751. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
  3752. #endif /* GL_ARB_texture_cube_map */
  3753. #ifndef GL_ARB_texture_cube_map_array
  3754. #define GL_ARB_texture_cube_map_array 1
  3755. #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
  3756. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  3757. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  3758. #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
  3759. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  3760. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  3761. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  3762. #endif /* GL_ARB_texture_cube_map_array */
  3763. #ifndef GL_ARB_texture_env_add
  3764. #define GL_ARB_texture_env_add 1
  3765. #endif /* GL_ARB_texture_env_add */
  3766. #ifndef GL_ARB_texture_env_combine
  3767. #define GL_ARB_texture_env_combine 1
  3768. #define GL_COMBINE_ARB 0x8570
  3769. #define GL_COMBINE_RGB_ARB 0x8571
  3770. #define GL_COMBINE_ALPHA_ARB 0x8572
  3771. #define GL_SOURCE0_RGB_ARB 0x8580
  3772. #define GL_SOURCE1_RGB_ARB 0x8581
  3773. #define GL_SOURCE2_RGB_ARB 0x8582
  3774. #define GL_SOURCE0_ALPHA_ARB 0x8588
  3775. #define GL_SOURCE1_ALPHA_ARB 0x8589
  3776. #define GL_SOURCE2_ALPHA_ARB 0x858A
  3777. #define GL_OPERAND0_RGB_ARB 0x8590
  3778. #define GL_OPERAND1_RGB_ARB 0x8591
  3779. #define GL_OPERAND2_RGB_ARB 0x8592
  3780. #define GL_OPERAND0_ALPHA_ARB 0x8598
  3781. #define GL_OPERAND1_ALPHA_ARB 0x8599
  3782. #define GL_OPERAND2_ALPHA_ARB 0x859A
  3783. #define GL_RGB_SCALE_ARB 0x8573
  3784. #define GL_ADD_SIGNED_ARB 0x8574
  3785. #define GL_INTERPOLATE_ARB 0x8575
  3786. #define GL_SUBTRACT_ARB 0x84E7
  3787. #define GL_CONSTANT_ARB 0x8576
  3788. #define GL_PRIMARY_COLOR_ARB 0x8577
  3789. #define GL_PREVIOUS_ARB 0x8578
  3790. #endif /* GL_ARB_texture_env_combine */
  3791. #ifndef GL_ARB_texture_env_crossbar
  3792. #define GL_ARB_texture_env_crossbar 1
  3793. #endif /* GL_ARB_texture_env_crossbar */
  3794. #ifndef GL_ARB_texture_env_dot3
  3795. #define GL_ARB_texture_env_dot3 1
  3796. #define GL_DOT3_RGB_ARB 0x86AE
  3797. #define GL_DOT3_RGBA_ARB 0x86AF
  3798. #endif /* GL_ARB_texture_env_dot3 */
  3799. #ifndef GL_ARB_texture_float
  3800. #define GL_ARB_texture_float 1
  3801. #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
  3802. #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
  3803. #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
  3804. #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
  3805. #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
  3806. #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
  3807. #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
  3808. #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
  3809. #define GL_RGBA32F_ARB 0x8814
  3810. #define GL_RGB32F_ARB 0x8815
  3811. #define GL_ALPHA32F_ARB 0x8816
  3812. #define GL_INTENSITY32F_ARB 0x8817
  3813. #define GL_LUMINANCE32F_ARB 0x8818
  3814. #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
  3815. #define GL_RGBA16F_ARB 0x881A
  3816. #define GL_RGB16F_ARB 0x881B
  3817. #define GL_ALPHA16F_ARB 0x881C
  3818. #define GL_INTENSITY16F_ARB 0x881D
  3819. #define GL_LUMINANCE16F_ARB 0x881E
  3820. #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
  3821. #endif /* GL_ARB_texture_float */
  3822. #ifndef GL_ARB_texture_gather
  3823. #define GL_ARB_texture_gather 1
  3824. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  3825. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  3826. #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
  3827. #endif /* GL_ARB_texture_gather */
  3828. #ifndef GL_ARB_texture_mirror_clamp_to_edge
  3829. #define GL_ARB_texture_mirror_clamp_to_edge 1
  3830. #endif /* GL_ARB_texture_mirror_clamp_to_edge */
  3831. #ifndef GL_ARB_texture_mirrored_repeat
  3832. #define GL_ARB_texture_mirrored_repeat 1
  3833. #define GL_MIRRORED_REPEAT_ARB 0x8370
  3834. #endif /* GL_ARB_texture_mirrored_repeat */
  3835. #ifndef GL_ARB_texture_multisample
  3836. #define GL_ARB_texture_multisample 1
  3837. #endif /* GL_ARB_texture_multisample */
  3838. #ifndef GL_ARB_texture_non_power_of_two
  3839. #define GL_ARB_texture_non_power_of_two 1
  3840. #endif /* GL_ARB_texture_non_power_of_two */
  3841. #ifndef GL_ARB_texture_query_levels
  3842. #define GL_ARB_texture_query_levels 1
  3843. #endif /* GL_ARB_texture_query_levels */
  3844. #ifndef GL_ARB_texture_query_lod
  3845. #define GL_ARB_texture_query_lod 1
  3846. #endif /* GL_ARB_texture_query_lod */
  3847. #ifndef GL_ARB_texture_rectangle
  3848. #define GL_ARB_texture_rectangle 1
  3849. #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
  3850. #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
  3851. #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
  3852. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  3853. #endif /* GL_ARB_texture_rectangle */
  3854. #ifndef GL_ARB_texture_rg
  3855. #define GL_ARB_texture_rg 1
  3856. #endif /* GL_ARB_texture_rg */
  3857. #ifndef GL_ARB_texture_rgb10_a2ui
  3858. #define GL_ARB_texture_rgb10_a2ui 1
  3859. #endif /* GL_ARB_texture_rgb10_a2ui */
  3860. #ifndef GL_ARB_texture_stencil8
  3861. #define GL_ARB_texture_stencil8 1
  3862. #endif /* GL_ARB_texture_stencil8 */
  3863. #ifndef GL_ARB_texture_storage
  3864. #define GL_ARB_texture_storage 1
  3865. #endif /* GL_ARB_texture_storage */
  3866. #ifndef GL_ARB_texture_storage_multisample
  3867. #define GL_ARB_texture_storage_multisample 1
  3868. #endif /* GL_ARB_texture_storage_multisample */
  3869. #ifndef GL_ARB_texture_swizzle
  3870. #define GL_ARB_texture_swizzle 1
  3871. #endif /* GL_ARB_texture_swizzle */
  3872. #ifndef GL_ARB_texture_view
  3873. #define GL_ARB_texture_view 1
  3874. #endif /* GL_ARB_texture_view */
  3875. #ifndef GL_ARB_timer_query
  3876. #define GL_ARB_timer_query 1
  3877. #endif /* GL_ARB_timer_query */
  3878. #ifndef GL_ARB_transform_feedback2
  3879. #define GL_ARB_transform_feedback2 1
  3880. #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
  3881. #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
  3882. #endif /* GL_ARB_transform_feedback2 */
  3883. #ifndef GL_ARB_transform_feedback3
  3884. #define GL_ARB_transform_feedback3 1
  3885. #endif /* GL_ARB_transform_feedback3 */
  3886. #ifndef GL_ARB_transform_feedback_instanced
  3887. #define GL_ARB_transform_feedback_instanced 1
  3888. #endif /* GL_ARB_transform_feedback_instanced */
  3889. #ifndef GL_ARB_transpose_matrix
  3890. #define GL_ARB_transpose_matrix 1
  3891. #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  3892. #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  3893. #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
  3894. #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
  3895. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  3896. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  3897. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  3898. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  3899. #ifdef GL_GLEXT_PROTOTYPES
  3900. GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
  3901. GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
  3902. GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
  3903. GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
  3904. #endif
  3905. #endif /* GL_ARB_transpose_matrix */
  3906. #ifndef GL_ARB_uniform_buffer_object
  3907. #define GL_ARB_uniform_buffer_object 1
  3908. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
  3909. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  3910. #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  3911. #endif /* GL_ARB_uniform_buffer_object */
  3912. #ifndef GL_ARB_vertex_array_bgra
  3913. #define GL_ARB_vertex_array_bgra 1
  3914. #endif /* GL_ARB_vertex_array_bgra */
  3915. #ifndef GL_ARB_vertex_array_object
  3916. #define GL_ARB_vertex_array_object 1
  3917. #endif /* GL_ARB_vertex_array_object */
  3918. #ifndef GL_ARB_vertex_attrib_64bit
  3919. #define GL_ARB_vertex_attrib_64bit 1
  3920. #endif /* GL_ARB_vertex_attrib_64bit */
  3921. #ifndef GL_ARB_vertex_attrib_binding
  3922. #define GL_ARB_vertex_attrib_binding 1
  3923. #endif /* GL_ARB_vertex_attrib_binding */
  3924. #ifndef GL_ARB_vertex_blend
  3925. #define GL_ARB_vertex_blend 1
  3926. #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
  3927. #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
  3928. #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
  3929. #define GL_VERTEX_BLEND_ARB 0x86A7
  3930. #define GL_CURRENT_WEIGHT_ARB 0x86A8
  3931. #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
  3932. #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
  3933. #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
  3934. #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
  3935. #define GL_WEIGHT_ARRAY_ARB 0x86AD
  3936. #define GL_MODELVIEW0_ARB 0x1700
  3937. #define GL_MODELVIEW1_ARB 0x850A
  3938. #define GL_MODELVIEW2_ARB 0x8722
  3939. #define GL_MODELVIEW3_ARB 0x8723
  3940. #define GL_MODELVIEW4_ARB 0x8724
  3941. #define GL_MODELVIEW5_ARB 0x8725
  3942. #define GL_MODELVIEW6_ARB 0x8726
  3943. #define GL_MODELVIEW7_ARB 0x8727
  3944. #define GL_MODELVIEW8_ARB 0x8728
  3945. #define GL_MODELVIEW9_ARB 0x8729
  3946. #define GL_MODELVIEW10_ARB 0x872A
  3947. #define GL_MODELVIEW11_ARB 0x872B
  3948. #define GL_MODELVIEW12_ARB 0x872C
  3949. #define GL_MODELVIEW13_ARB 0x872D
  3950. #define GL_MODELVIEW14_ARB 0x872E
  3951. #define GL_MODELVIEW15_ARB 0x872F
  3952. #define GL_MODELVIEW16_ARB 0x8730
  3953. #define GL_MODELVIEW17_ARB 0x8731
  3954. #define GL_MODELVIEW18_ARB 0x8732
  3955. #define GL_MODELVIEW19_ARB 0x8733
  3956. #define GL_MODELVIEW20_ARB 0x8734
  3957. #define GL_MODELVIEW21_ARB 0x8735
  3958. #define GL_MODELVIEW22_ARB 0x8736
  3959. #define GL_MODELVIEW23_ARB 0x8737
  3960. #define GL_MODELVIEW24_ARB 0x8738
  3961. #define GL_MODELVIEW25_ARB 0x8739
  3962. #define GL_MODELVIEW26_ARB 0x873A
  3963. #define GL_MODELVIEW27_ARB 0x873B
  3964. #define GL_MODELVIEW28_ARB 0x873C
  3965. #define GL_MODELVIEW29_ARB 0x873D
  3966. #define GL_MODELVIEW30_ARB 0x873E
  3967. #define GL_MODELVIEW31_ARB 0x873F
  3968. typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  3969. typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  3970. typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  3971. typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  3972. typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  3973. typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  3974. typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  3975. typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  3976. typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3977. typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  3978. #ifdef GL_GLEXT_PROTOTYPES
  3979. GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
  3980. GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
  3981. GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
  3982. GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
  3983. GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
  3984. GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
  3985. GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
  3986. GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
  3987. GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3988. GLAPI void APIENTRY glVertexBlendARB (GLint count);
  3989. #endif
  3990. #endif /* GL_ARB_vertex_blend */
  3991. #ifndef GL_ARB_vertex_buffer_object
  3992. #define GL_ARB_vertex_buffer_object 1
  3993. #ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
  3994. typedef long GLsizeiptrARB;
  3995. typedef long GLintptrARB;
  3996. #else
  3997. typedef ptrdiff_t GLsizeiptrARB;
  3998. typedef ptrdiff_t GLintptrARB;
  3999. #endif
  4000. #define GL_BUFFER_SIZE_ARB 0x8764
  4001. #define GL_BUFFER_USAGE_ARB 0x8765
  4002. #define GL_ARRAY_BUFFER_ARB 0x8892
  4003. #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
  4004. #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
  4005. #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  4006. #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  4007. #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  4008. #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  4009. #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  4010. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  4011. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  4012. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  4013. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  4014. #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  4015. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  4016. #define GL_READ_ONLY_ARB 0x88B8
  4017. #define GL_WRITE_ONLY_ARB 0x88B9
  4018. #define GL_READ_WRITE_ARB 0x88BA
  4019. #define GL_BUFFER_ACCESS_ARB 0x88BB
  4020. #define GL_BUFFER_MAPPED_ARB 0x88BC
  4021. #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
  4022. #define GL_STREAM_DRAW_ARB 0x88E0
  4023. #define GL_STREAM_READ_ARB 0x88E1
  4024. #define GL_STREAM_COPY_ARB 0x88E2
  4025. #define GL_STATIC_DRAW_ARB 0x88E4
  4026. #define GL_STATIC_READ_ARB 0x88E5
  4027. #define GL_STATIC_COPY_ARB 0x88E6
  4028. #define GL_DYNAMIC_DRAW_ARB 0x88E8
  4029. #define GL_DYNAMIC_READ_ARB 0x88E9
  4030. #define GL_DYNAMIC_COPY_ARB 0x88EA
  4031. typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  4032. typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  4033. typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  4034. typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  4035. typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  4036. typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  4037. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  4038. typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  4039. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  4040. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  4041. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
  4042. #ifdef GL_GLEXT_PROTOTYPES
  4043. GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
  4044. GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
  4045. GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
  4046. GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
  4047. GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  4048. GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  4049. GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  4050. GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
  4051. GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
  4052. GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
  4053. GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
  4054. #endif
  4055. #endif /* GL_ARB_vertex_buffer_object */
  4056. #ifndef GL_ARB_vertex_program
  4057. #define GL_ARB_vertex_program 1
  4058. #define GL_COLOR_SUM_ARB 0x8458
  4059. #define GL_VERTEX_PROGRAM_ARB 0x8620
  4060. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  4061. #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
  4062. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  4063. #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
  4064. #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
  4065. #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
  4066. #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
  4067. #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  4068. #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
  4069. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  4070. #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
  4071. #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  4072. #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  4073. #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  4074. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  4075. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  4076. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  4077. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  4078. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  4079. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  4080. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  4081. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  4082. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  4083. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  4084. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  4085. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  4086. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4087. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  4088. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4089. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  4090. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  4091. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  4092. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  4093. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  4094. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  4095. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4096. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  4097. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  4098. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  4099. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  4100. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4101. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  4102. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4103. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  4104. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  4105. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4106. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  4107. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  4108. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  4109. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  4110. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  4111. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  4112. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  4113. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  4114. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  4115. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  4116. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
  4117. #ifdef GL_GLEXT_PROTOTYPES
  4118. GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
  4119. GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
  4120. GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
  4121. GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
  4122. GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
  4123. GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
  4124. GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
  4125. GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
  4126. GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
  4127. GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
  4128. GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
  4129. GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
  4130. GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4131. GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
  4132. GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4133. GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
  4134. GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
  4135. GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
  4136. GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
  4137. GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
  4138. GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
  4139. GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4140. GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
  4141. GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
  4142. GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
  4143. GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
  4144. GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4145. GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
  4146. GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4147. GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
  4148. GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
  4149. GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4150. GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
  4151. GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
  4152. GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
  4153. GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
  4154. GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  4155. GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
  4156. GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
  4157. GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
  4158. GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
  4159. GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
  4160. GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
  4161. #endif
  4162. #endif /* GL_ARB_vertex_program */
  4163. #ifndef GL_ARB_vertex_shader
  4164. #define GL_ARB_vertex_shader 1
  4165. #define GL_VERTEX_SHADER_ARB 0x8B31
  4166. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  4167. #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
  4168. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  4169. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  4170. #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
  4171. #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  4172. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  4173. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4174. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  4175. #ifdef GL_GLEXT_PROTOTYPES
  4176. GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  4177. GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4178. GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
  4179. #endif
  4180. #endif /* GL_ARB_vertex_shader */
  4181. #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
  4182. #define GL_ARB_vertex_type_10f_11f_11f_rev 1
  4183. #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
  4184. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  4185. #define GL_ARB_vertex_type_2_10_10_10_rev 1
  4186. #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
  4187. #ifndef GL_ARB_viewport_array
  4188. #define GL_ARB_viewport_array 1
  4189. #endif /* GL_ARB_viewport_array */
  4190. #ifndef GL_ARB_window_pos
  4191. #define GL_ARB_window_pos 1
  4192. typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  4193. typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  4194. typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  4195. typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  4196. typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  4197. typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  4198. typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  4199. typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  4200. typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  4201. typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  4202. typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  4203. typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  4204. typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  4205. typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  4206. typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  4207. typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  4208. #ifdef GL_GLEXT_PROTOTYPES
  4209. GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
  4210. GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
  4211. GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
  4212. GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
  4213. GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
  4214. GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
  4215. GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
  4216. GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
  4217. GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
  4218. GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
  4219. GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
  4220. GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
  4221. GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
  4222. GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
  4223. GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
  4224. GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
  4225. #endif
  4226. #endif /* GL_ARB_window_pos */
  4227. #ifndef GL_KHR_debug
  4228. #define GL_KHR_debug 1
  4229. #endif /* GL_KHR_debug */
  4230. #ifndef GL_KHR_texture_compression_astc_hdr
  4231. #define GL_KHR_texture_compression_astc_hdr 1
  4232. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  4233. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  4234. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  4235. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  4236. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  4237. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  4238. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  4239. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  4240. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  4241. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  4242. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  4243. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  4244. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  4245. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  4246. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  4247. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  4248. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  4249. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  4250. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  4251. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  4252. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  4253. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  4254. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  4255. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  4256. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  4257. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  4258. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  4259. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  4260. #endif /* GL_KHR_texture_compression_astc_hdr */
  4261. #ifndef GL_KHR_texture_compression_astc_ldr
  4262. #define GL_KHR_texture_compression_astc_ldr 1
  4263. #endif /* GL_KHR_texture_compression_astc_ldr */
  4264. #ifndef GL_OES_byte_coordinates
  4265. #define GL_OES_byte_coordinates 1
  4266. typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
  4267. typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
  4268. typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
  4269. typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
  4270. typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  4271. typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
  4272. typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  4273. typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
  4274. typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
  4275. typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
  4276. typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
  4277. typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
  4278. typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
  4279. typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
  4280. typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  4281. typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
  4282. typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);
  4283. typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
  4284. typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);
  4285. typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
  4286. typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
  4287. typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
  4288. #ifdef GL_GLEXT_PROTOTYPES
  4289. GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
  4290. GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
  4291. GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
  4292. GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
  4293. GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  4294. GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
  4295. GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  4296. GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
  4297. GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
  4298. GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
  4299. GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
  4300. GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
  4301. GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
  4302. GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
  4303. GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  4304. GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
  4305. GLAPI void APIENTRY glVertex2bOES (GLbyte x);
  4306. GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
  4307. GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);
  4308. GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
  4309. GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);
  4310. GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
  4311. #endif
  4312. #endif /* GL_OES_byte_coordinates */
  4313. #ifndef GL_OES_compressed_paletted_texture
  4314. #define GL_OES_compressed_paletted_texture 1
  4315. #define GL_PALETTE4_RGB8_OES 0x8B90
  4316. #define GL_PALETTE4_RGBA8_OES 0x8B91
  4317. #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
  4318. #define GL_PALETTE4_RGBA4_OES 0x8B93
  4319. #define GL_PALETTE4_RGB5_A1_OES 0x8B94
  4320. #define GL_PALETTE8_RGB8_OES 0x8B95
  4321. #define GL_PALETTE8_RGBA8_OES 0x8B96
  4322. #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
  4323. #define GL_PALETTE8_RGBA4_OES 0x8B98
  4324. #define GL_PALETTE8_RGB5_A1_OES 0x8B99
  4325. #endif /* GL_OES_compressed_paletted_texture */
  4326. #ifndef GL_OES_fixed_point
  4327. #define GL_OES_fixed_point 1
  4328. typedef GLint GLfixed;
  4329. #define GL_FIXED_OES 0x140C
  4330. typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
  4331. typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4332. typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
  4333. typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
  4334. typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4335. typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
  4336. typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
  4337. typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
  4338. typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  4339. typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
  4340. typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
  4341. typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  4342. typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  4343. typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
  4344. typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
  4345. typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
  4346. typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
  4347. typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
  4348. typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
  4349. typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  4350. typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
  4351. typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
  4352. typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  4353. typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
  4354. typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  4355. typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
  4356. typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
  4357. typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
  4358. typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  4359. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
  4360. typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  4361. typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  4362. typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  4363. typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  4364. typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  4365. typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  4366. typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
  4367. typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  4368. typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4369. typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4370. typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
  4371. typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
  4372. typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
  4373. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  4374. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  4375. typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
  4376. typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
  4377. typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
  4378. typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
  4379. typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
  4380. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  4381. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  4382. typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
  4383. typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
  4384. typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  4385. typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
  4386. typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
  4387. typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
  4388. typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
  4389. typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
  4390. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  4391. typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  4392. typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  4393. typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
  4394. typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  4395. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  4396. typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
  4397. typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
  4398. typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
  4399. typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
  4400. typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  4401. typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
  4402. typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
  4403. typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
  4404. typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
  4405. typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
  4406. typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
  4407. typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
  4408. typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
  4409. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  4410. typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
  4411. typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
  4412. typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  4413. typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
  4414. typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  4415. typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
  4416. typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  4417. typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
  4418. typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
  4419. typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
  4420. typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
  4421. typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
  4422. typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
  4423. typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
  4424. typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  4425. typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
  4426. typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
  4427. typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
  4428. typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
  4429. typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
  4430. typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
  4431. typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
  4432. typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  4433. typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
  4434. #ifdef GL_GLEXT_PROTOTYPES
  4435. GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
  4436. GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4437. GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
  4438. GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
  4439. GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4440. GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
  4441. GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
  4442. GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
  4443. GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  4444. GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
  4445. GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
  4446. GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
  4447. GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  4448. GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
  4449. GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
  4450. GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
  4451. GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
  4452. GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
  4453. GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
  4454. GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  4455. GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
  4456. GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
  4457. GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  4458. GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
  4459. GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  4460. GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
  4461. GLAPI void APIENTRY glPointSizexOES (GLfixed size);
  4462. GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
  4463. GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  4464. GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
  4465. GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
  4466. GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
  4467. GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
  4468. GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
  4469. GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  4470. GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
  4471. GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
  4472. GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  4473. GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4474. GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  4475. GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
  4476. GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
  4477. GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
  4478. GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
  4479. GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  4480. GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
  4481. GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
  4482. GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
  4483. GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
  4484. GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
  4485. GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  4486. GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  4487. GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
  4488. GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
  4489. GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  4490. GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
  4491. GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
  4492. GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
  4493. GLAPI void APIENTRY glIndexxOES (GLfixed component);
  4494. GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
  4495. GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
  4496. GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  4497. GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  4498. GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
  4499. GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  4500. GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
  4501. GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
  4502. GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
  4503. GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
  4504. GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
  4505. GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  4506. GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
  4507. GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
  4508. GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
  4509. GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
  4510. GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
  4511. GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
  4512. GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
  4513. GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
  4514. GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  4515. GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
  4516. GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
  4517. GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
  4518. GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
  4519. GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  4520. GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
  4521. GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  4522. GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
  4523. GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
  4524. GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
  4525. GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
  4526. GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
  4527. GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
  4528. GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
  4529. GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  4530. GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
  4531. GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
  4532. GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
  4533. GLAPI void APIENTRY glVertex2xOES (GLfixed x);
  4534. GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
  4535. GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
  4536. GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
  4537. GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
  4538. GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
  4539. #endif
  4540. #endif /* GL_OES_fixed_point */
  4541. #ifndef GL_OES_query_matrix
  4542. #define GL_OES_query_matrix 1
  4543. typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
  4544. #ifdef GL_GLEXT_PROTOTYPES
  4545. GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
  4546. #endif
  4547. #endif /* GL_OES_query_matrix */
  4548. #ifndef GL_OES_read_format
  4549. #define GL_OES_read_format 1
  4550. #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  4551. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  4552. #endif /* GL_OES_read_format */
  4553. #ifndef GL_OES_single_precision
  4554. #define GL_OES_single_precision 1
  4555. typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
  4556. typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
  4557. typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
  4558. typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  4559. typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
  4560. typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  4561. #ifdef GL_GLEXT_PROTOTYPES
  4562. GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
  4563. GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
  4564. GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
  4565. GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  4566. GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
  4567. GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  4568. #endif
  4569. #endif /* GL_OES_single_precision */
  4570. #ifndef GL_3DFX_multisample
  4571. #define GL_3DFX_multisample 1
  4572. #define GL_MULTISAMPLE_3DFX 0x86B2
  4573. #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
  4574. #define GL_SAMPLES_3DFX 0x86B4
  4575. #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
  4576. #endif /* GL_3DFX_multisample */
  4577. #ifndef GL_3DFX_tbuffer
  4578. #define GL_3DFX_tbuffer 1
  4579. typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  4580. #ifdef GL_GLEXT_PROTOTYPES
  4581. GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
  4582. #endif
  4583. #endif /* GL_3DFX_tbuffer */
  4584. #ifndef GL_3DFX_texture_compression_FXT1
  4585. #define GL_3DFX_texture_compression_FXT1 1
  4586. #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
  4587. #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
  4588. #endif /* GL_3DFX_texture_compression_FXT1 */
  4589. #ifndef GL_AMD_blend_minmax_factor
  4590. #define GL_AMD_blend_minmax_factor 1
  4591. #define GL_FACTOR_MIN_AMD 0x901C
  4592. #define GL_FACTOR_MAX_AMD 0x901D
  4593. #endif /* GL_AMD_blend_minmax_factor */
  4594. #ifndef GL_AMD_conservative_depth
  4595. #define GL_AMD_conservative_depth 1
  4596. #endif /* GL_AMD_conservative_depth */
  4597. #ifndef GL_AMD_debug_output
  4598. #define GL_AMD_debug_output 1
  4599. typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
  4600. #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
  4601. #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
  4602. #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
  4603. #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
  4604. #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
  4605. #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
  4606. #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
  4607. #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
  4608. #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
  4609. #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
  4610. #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
  4611. #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
  4612. #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
  4613. #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
  4614. typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  4615. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  4616. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
  4617. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  4618. #ifdef GL_GLEXT_PROTOTYPES
  4619. GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  4620. GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  4621. GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
  4622. GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  4623. #endif
  4624. #endif /* GL_AMD_debug_output */
  4625. #ifndef GL_AMD_depth_clamp_separate
  4626. #define GL_AMD_depth_clamp_separate 1
  4627. #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
  4628. #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
  4629. #endif /* GL_AMD_depth_clamp_separate */
  4630. #ifndef GL_AMD_draw_buffers_blend
  4631. #define GL_AMD_draw_buffers_blend 1
  4632. typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
  4633. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  4634. typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
  4635. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  4636. #ifdef GL_GLEXT_PROTOTYPES
  4637. GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
  4638. GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  4639. GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
  4640. GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  4641. #endif
  4642. #endif /* GL_AMD_draw_buffers_blend */
  4643. #ifndef GL_AMD_gcn_shader
  4644. #define GL_AMD_gcn_shader 1
  4645. #endif /* GL_AMD_gcn_shader */
  4646. #ifndef GL_AMD_gpu_shader_int64
  4647. #define GL_AMD_gpu_shader_int64 1
  4648. typedef int64_t GLint64EXT;
  4649. #define GL_INT64_NV 0x140E
  4650. #define GL_UNSIGNED_INT64_NV 0x140F
  4651. #define GL_INT8_NV 0x8FE0
  4652. #define GL_INT8_VEC2_NV 0x8FE1
  4653. #define GL_INT8_VEC3_NV 0x8FE2
  4654. #define GL_INT8_VEC4_NV 0x8FE3
  4655. #define GL_INT16_NV 0x8FE4
  4656. #define GL_INT16_VEC2_NV 0x8FE5
  4657. #define GL_INT16_VEC3_NV 0x8FE6
  4658. #define GL_INT16_VEC4_NV 0x8FE7
  4659. #define GL_INT64_VEC2_NV 0x8FE9
  4660. #define GL_INT64_VEC3_NV 0x8FEA
  4661. #define GL_INT64_VEC4_NV 0x8FEB
  4662. #define GL_UNSIGNED_INT8_NV 0x8FEC
  4663. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  4664. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  4665. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  4666. #define GL_UNSIGNED_INT16_NV 0x8FF0
  4667. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  4668. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  4669. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  4670. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  4671. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  4672. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  4673. #define GL_FLOAT16_NV 0x8FF8
  4674. #define GL_FLOAT16_VEC2_NV 0x8FF9
  4675. #define GL_FLOAT16_VEC3_NV 0x8FFA
  4676. #define GL_FLOAT16_VEC4_NV 0x8FFB
  4677. typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  4678. typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  4679. typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4680. typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4681. typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4682. typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4683. typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4684. typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4685. typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  4686. typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  4687. typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4688. typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4689. typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4690. typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4691. typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4692. typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4693. typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
  4694. typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
  4695. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  4696. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  4697. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4698. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4699. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4700. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4701. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4702. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4703. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  4704. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  4705. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4706. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4707. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4708. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4709. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4710. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4711. #ifdef GL_GLEXT_PROTOTYPES
  4712. GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
  4713. GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
  4714. GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4715. GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4716. GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4717. GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4718. GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4719. GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4720. GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
  4721. GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
  4722. GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4723. GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4724. GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4725. GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4726. GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4727. GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4728. GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
  4729. GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
  4730. GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
  4731. GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  4732. GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4733. GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4734. GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4735. GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4736. GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4737. GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4738. GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
  4739. GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  4740. GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4741. GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4742. GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4743. GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4744. GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4745. GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4746. #endif
  4747. #endif /* GL_AMD_gpu_shader_int64 */
  4748. #ifndef GL_AMD_interleaved_elements
  4749. #define GL_AMD_interleaved_elements 1
  4750. #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
  4751. #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
  4752. typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
  4753. #ifdef GL_GLEXT_PROTOTYPES
  4754. GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
  4755. #endif
  4756. #endif /* GL_AMD_interleaved_elements */
  4757. #ifndef GL_AMD_multi_draw_indirect
  4758. #define GL_AMD_multi_draw_indirect 1
  4759. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
  4760. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
  4761. #ifdef GL_GLEXT_PROTOTYPES
  4762. GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
  4763. GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
  4764. #endif
  4765. #endif /* GL_AMD_multi_draw_indirect */
  4766. #ifndef GL_AMD_name_gen_delete
  4767. #define GL_AMD_name_gen_delete 1
  4768. #define GL_DATA_BUFFER_AMD 0x9151
  4769. #define GL_PERFORMANCE_MONITOR_AMD 0x9152
  4770. #define GL_QUERY_OBJECT_AMD 0x9153
  4771. #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
  4772. #define GL_SAMPLER_OBJECT_AMD 0x9155
  4773. typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
  4774. typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
  4775. typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
  4776. #ifdef GL_GLEXT_PROTOTYPES
  4777. GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
  4778. GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
  4779. GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
  4780. #endif
  4781. #endif /* GL_AMD_name_gen_delete */
  4782. #ifndef GL_AMD_occlusion_query_event
  4783. #define GL_AMD_occlusion_query_event 1
  4784. #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
  4785. #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
  4786. #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
  4787. #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
  4788. #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
  4789. #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
  4790. typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
  4791. #ifdef GL_GLEXT_PROTOTYPES
  4792. GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
  4793. #endif
  4794. #endif /* GL_AMD_occlusion_query_event */
  4795. #ifndef GL_AMD_performance_monitor
  4796. #define GL_AMD_performance_monitor 1
  4797. #define GL_COUNTER_TYPE_AMD 0x8BC0
  4798. #define GL_COUNTER_RANGE_AMD 0x8BC1
  4799. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  4800. #define GL_PERCENTAGE_AMD 0x8BC3
  4801. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  4802. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  4803. #define GL_PERFMON_RESULT_AMD 0x8BC6
  4804. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  4805. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  4806. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  4807. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  4808. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
  4809. typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  4810. typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  4811. typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  4812. typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  4813. typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  4814. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  4815. #ifdef GL_GLEXT_PROTOTYPES
  4816. GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  4817. GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  4818. GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  4819. GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  4820. GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
  4821. GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  4822. GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  4823. GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  4824. GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  4825. GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  4826. GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  4827. #endif
  4828. #endif /* GL_AMD_performance_monitor */
  4829. #ifndef GL_AMD_pinned_memory
  4830. #define GL_AMD_pinned_memory 1
  4831. #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
  4832. #endif /* GL_AMD_pinned_memory */
  4833. #ifndef GL_AMD_query_buffer_object
  4834. #define GL_AMD_query_buffer_object 1
  4835. #define GL_QUERY_BUFFER_AMD 0x9192
  4836. #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
  4837. #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
  4838. #endif /* GL_AMD_query_buffer_object */
  4839. #ifndef GL_AMD_sample_positions
  4840. #define GL_AMD_sample_positions 1
  4841. #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
  4842. typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
  4843. #ifdef GL_GLEXT_PROTOTYPES
  4844. GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
  4845. #endif
  4846. #endif /* GL_AMD_sample_positions */
  4847. #ifndef GL_AMD_seamless_cubemap_per_texture
  4848. #define GL_AMD_seamless_cubemap_per_texture 1
  4849. #endif /* GL_AMD_seamless_cubemap_per_texture */
  4850. #ifndef GL_AMD_shader_atomic_counter_ops
  4851. #define GL_AMD_shader_atomic_counter_ops 1
  4852. #endif /* GL_AMD_shader_atomic_counter_ops */
  4853. #ifndef GL_AMD_shader_stencil_export
  4854. #define GL_AMD_shader_stencil_export 1
  4855. #endif /* GL_AMD_shader_stencil_export */
  4856. #ifndef GL_AMD_shader_trinary_minmax
  4857. #define GL_AMD_shader_trinary_minmax 1
  4858. #endif /* GL_AMD_shader_trinary_minmax */
  4859. #ifndef GL_AMD_sparse_texture
  4860. #define GL_AMD_sparse_texture 1
  4861. #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
  4862. #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
  4863. #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
  4864. #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
  4865. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
  4866. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
  4867. #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
  4868. #define GL_MIN_LOD_WARNING_AMD 0x919C
  4869. #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
  4870. typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  4871. typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  4872. #ifdef GL_GLEXT_PROTOTYPES
  4873. GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  4874. GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  4875. #endif
  4876. #endif /* GL_AMD_sparse_texture */
  4877. #ifndef GL_AMD_stencil_operation_extended
  4878. #define GL_AMD_stencil_operation_extended 1
  4879. #define GL_SET_AMD 0x874A
  4880. #define GL_REPLACE_VALUE_AMD 0x874B
  4881. #define GL_STENCIL_OP_VALUE_AMD 0x874C
  4882. #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
  4883. typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
  4884. #ifdef GL_GLEXT_PROTOTYPES
  4885. GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
  4886. #endif
  4887. #endif /* GL_AMD_stencil_operation_extended */
  4888. #ifndef GL_AMD_texture_texture4
  4889. #define GL_AMD_texture_texture4 1
  4890. #endif /* GL_AMD_texture_texture4 */
  4891. #ifndef GL_AMD_transform_feedback3_lines_triangles
  4892. #define GL_AMD_transform_feedback3_lines_triangles 1
  4893. #endif /* GL_AMD_transform_feedback3_lines_triangles */
  4894. #ifndef GL_AMD_transform_feedback4
  4895. #define GL_AMD_transform_feedback4 1
  4896. #define GL_STREAM_RASTERIZATION_AMD 0x91A0
  4897. #endif /* GL_AMD_transform_feedback4 */
  4898. #ifndef GL_AMD_vertex_shader_layer
  4899. #define GL_AMD_vertex_shader_layer 1
  4900. #endif /* GL_AMD_vertex_shader_layer */
  4901. #ifndef GL_AMD_vertex_shader_tessellator
  4902. #define GL_AMD_vertex_shader_tessellator 1
  4903. #define GL_SAMPLER_BUFFER_AMD 0x9001
  4904. #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
  4905. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
  4906. #define GL_TESSELLATION_MODE_AMD 0x9004
  4907. #define GL_TESSELLATION_FACTOR_AMD 0x9005
  4908. #define GL_DISCRETE_AMD 0x9006
  4909. #define GL_CONTINUOUS_AMD 0x9007
  4910. typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
  4911. typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
  4912. #ifdef GL_GLEXT_PROTOTYPES
  4913. GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
  4914. GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
  4915. #endif
  4916. #endif /* GL_AMD_vertex_shader_tessellator */
  4917. #ifndef GL_AMD_vertex_shader_viewport_index
  4918. #define GL_AMD_vertex_shader_viewport_index 1
  4919. #endif /* GL_AMD_vertex_shader_viewport_index */
  4920. #ifndef GL_APPLE_aux_depth_stencil
  4921. #define GL_APPLE_aux_depth_stencil 1
  4922. #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
  4923. #endif /* GL_APPLE_aux_depth_stencil */
  4924. #ifndef GL_APPLE_client_storage
  4925. #define GL_APPLE_client_storage 1
  4926. #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
  4927. #endif /* GL_APPLE_client_storage */
  4928. #ifndef GL_APPLE_element_array
  4929. #define GL_APPLE_element_array 1
  4930. #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
  4931. #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
  4932. #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
  4933. typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
  4934. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
  4935. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  4936. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  4937. typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  4938. #ifdef GL_GLEXT_PROTOTYPES
  4939. GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
  4940. GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
  4941. GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  4942. GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  4943. GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  4944. #endif
  4945. #endif /* GL_APPLE_element_array */
  4946. #ifndef GL_APPLE_fence
  4947. #define GL_APPLE_fence 1
  4948. #define GL_DRAW_PIXELS_APPLE 0x8A0A
  4949. #define GL_FENCE_APPLE 0x8A0B
  4950. typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
  4951. typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
  4952. typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
  4953. typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
  4954. typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
  4955. typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
  4956. typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
  4957. typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
  4958. #ifdef GL_GLEXT_PROTOTYPES
  4959. GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
  4960. GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
  4961. GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
  4962. GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
  4963. GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
  4964. GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
  4965. GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
  4966. GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
  4967. #endif
  4968. #endif /* GL_APPLE_fence */
  4969. #ifndef GL_APPLE_float_pixels
  4970. #define GL_APPLE_float_pixels 1
  4971. #define GL_HALF_APPLE 0x140B
  4972. #define GL_RGBA_FLOAT32_APPLE 0x8814
  4973. #define GL_RGB_FLOAT32_APPLE 0x8815
  4974. #define GL_ALPHA_FLOAT32_APPLE 0x8816
  4975. #define GL_INTENSITY_FLOAT32_APPLE 0x8817
  4976. #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
  4977. #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
  4978. #define GL_RGBA_FLOAT16_APPLE 0x881A
  4979. #define GL_RGB_FLOAT16_APPLE 0x881B
  4980. #define GL_ALPHA_FLOAT16_APPLE 0x881C
  4981. #define GL_INTENSITY_FLOAT16_APPLE 0x881D
  4982. #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
  4983. #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
  4984. #define GL_COLOR_FLOAT_APPLE 0x8A0F
  4985. #endif /* GL_APPLE_float_pixels */
  4986. #ifndef GL_APPLE_flush_buffer_range
  4987. #define GL_APPLE_flush_buffer_range 1
  4988. #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
  4989. #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
  4990. typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
  4991. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
  4992. #ifdef GL_GLEXT_PROTOTYPES
  4993. GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
  4994. GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
  4995. #endif
  4996. #endif /* GL_APPLE_flush_buffer_range */
  4997. #ifndef GL_APPLE_object_purgeable
  4998. #define GL_APPLE_object_purgeable 1
  4999. #define GL_BUFFER_OBJECT_APPLE 0x85B3
  5000. #define GL_RELEASED_APPLE 0x8A19
  5001. #define GL_VOLATILE_APPLE 0x8A1A
  5002. #define GL_RETAINED_APPLE 0x8A1B
  5003. #define GL_UNDEFINED_APPLE 0x8A1C
  5004. #define GL_PURGEABLE_APPLE 0x8A1D
  5005. typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  5006. typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  5007. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  5008. #ifdef GL_GLEXT_PROTOTYPES
  5009. GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  5010. GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  5011. GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  5012. #endif
  5013. #endif /* GL_APPLE_object_purgeable */
  5014. #ifndef GL_APPLE_rgb_422
  5015. #define GL_APPLE_rgb_422 1
  5016. #define GL_RGB_422_APPLE 0x8A1F
  5017. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  5018. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  5019. #define GL_RGB_RAW_422_APPLE 0x8A51
  5020. #endif /* GL_APPLE_rgb_422 */
  5021. #ifndef GL_APPLE_row_bytes
  5022. #define GL_APPLE_row_bytes 1
  5023. #define GL_PACK_ROW_BYTES_APPLE 0x8A15
  5024. #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
  5025. #endif /* GL_APPLE_row_bytes */
  5026. #ifndef GL_APPLE_specular_vector
  5027. #define GL_APPLE_specular_vector 1
  5028. #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  5029. #endif /* GL_APPLE_specular_vector */
  5030. #ifndef GL_APPLE_texture_range
  5031. #define GL_APPLE_texture_range 1
  5032. #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
  5033. #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
  5034. #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
  5035. #define GL_STORAGE_PRIVATE_APPLE 0x85BD
  5036. #define GL_STORAGE_CACHED_APPLE 0x85BE
  5037. #define GL_STORAGE_SHARED_APPLE 0x85BF
  5038. typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
  5039. typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
  5040. #ifdef GL_GLEXT_PROTOTYPES
  5041. GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
  5042. GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
  5043. #endif
  5044. #endif /* GL_APPLE_texture_range */
  5045. #ifndef GL_APPLE_transform_hint
  5046. #define GL_APPLE_transform_hint 1
  5047. #define GL_TRANSFORM_HINT_APPLE 0x85B1
  5048. #endif /* GL_APPLE_transform_hint */
  5049. #ifndef GL_APPLE_vertex_array_object
  5050. #define GL_APPLE_vertex_array_object 1
  5051. #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
  5052. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  5053. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  5054. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
  5055. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  5056. #ifdef GL_GLEXT_PROTOTYPES
  5057. GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
  5058. GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
  5059. GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
  5060. GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
  5061. #endif
  5062. #endif /* GL_APPLE_vertex_array_object */
  5063. #ifndef GL_APPLE_vertex_array_range
  5064. #define GL_APPLE_vertex_array_range 1
  5065. #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
  5066. #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  5067. #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  5068. #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  5069. #define GL_STORAGE_CLIENT_APPLE 0x85B4
  5070. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
  5071. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
  5072. typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
  5073. #ifdef GL_GLEXT_PROTOTYPES
  5074. GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
  5075. GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
  5076. GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
  5077. #endif
  5078. #endif /* GL_APPLE_vertex_array_range */
  5079. #ifndef GL_APPLE_vertex_program_evaluators
  5080. #define GL_APPLE_vertex_program_evaluators 1
  5081. #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
  5082. #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
  5083. #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
  5084. #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
  5085. #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
  5086. #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
  5087. #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
  5088. #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
  5089. #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
  5090. #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
  5091. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  5092. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  5093. typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
  5094. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  5095. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  5096. 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);
  5097. 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);
  5098. #ifdef GL_GLEXT_PROTOTYPES
  5099. GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
  5100. GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
  5101. GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
  5102. GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  5103. GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  5104. 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);
  5105. 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);
  5106. #endif
  5107. #endif /* GL_APPLE_vertex_program_evaluators */
  5108. #ifndef GL_APPLE_ycbcr_422
  5109. #define GL_APPLE_ycbcr_422 1
  5110. #define GL_YCBCR_422_APPLE 0x85B9
  5111. #endif /* GL_APPLE_ycbcr_422 */
  5112. #ifndef GL_ATI_draw_buffers
  5113. #define GL_ATI_draw_buffers 1
  5114. #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
  5115. #define GL_DRAW_BUFFER0_ATI 0x8825
  5116. #define GL_DRAW_BUFFER1_ATI 0x8826
  5117. #define GL_DRAW_BUFFER2_ATI 0x8827
  5118. #define GL_DRAW_BUFFER3_ATI 0x8828
  5119. #define GL_DRAW_BUFFER4_ATI 0x8829
  5120. #define GL_DRAW_BUFFER5_ATI 0x882A
  5121. #define GL_DRAW_BUFFER6_ATI 0x882B
  5122. #define GL_DRAW_BUFFER7_ATI 0x882C
  5123. #define GL_DRAW_BUFFER8_ATI 0x882D
  5124. #define GL_DRAW_BUFFER9_ATI 0x882E
  5125. #define GL_DRAW_BUFFER10_ATI 0x882F
  5126. #define GL_DRAW_BUFFER11_ATI 0x8830
  5127. #define GL_DRAW_BUFFER12_ATI 0x8831
  5128. #define GL_DRAW_BUFFER13_ATI 0x8832
  5129. #define GL_DRAW_BUFFER14_ATI 0x8833
  5130. #define GL_DRAW_BUFFER15_ATI 0x8834
  5131. typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
  5132. #ifdef GL_GLEXT_PROTOTYPES
  5133. GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
  5134. #endif
  5135. #endif /* GL_ATI_draw_buffers */
  5136. #ifndef GL_ATI_element_array
  5137. #define GL_ATI_element_array 1
  5138. #define GL_ELEMENT_ARRAY_ATI 0x8768
  5139. #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
  5140. #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
  5141. typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
  5142. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
  5143. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
  5144. #ifdef GL_GLEXT_PROTOTYPES
  5145. GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
  5146. GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
  5147. GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
  5148. #endif
  5149. #endif /* GL_ATI_element_array */
  5150. #ifndef GL_ATI_envmap_bumpmap
  5151. #define GL_ATI_envmap_bumpmap 1
  5152. #define GL_BUMP_ROT_MATRIX_ATI 0x8775
  5153. #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
  5154. #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
  5155. #define GL_BUMP_TEX_UNITS_ATI 0x8778
  5156. #define GL_DUDV_ATI 0x8779
  5157. #define GL_DU8DV8_ATI 0x877A
  5158. #define GL_BUMP_ENVMAP_ATI 0x877B
  5159. #define GL_BUMP_TARGET_ATI 0x877C
  5160. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
  5161. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
  5162. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  5163. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  5164. #ifdef GL_GLEXT_PROTOTYPES
  5165. GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
  5166. GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
  5167. GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
  5168. GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
  5169. #endif
  5170. #endif /* GL_ATI_envmap_bumpmap */
  5171. #ifndef GL_ATI_fragment_shader
  5172. #define GL_ATI_fragment_shader 1
  5173. #define GL_FRAGMENT_SHADER_ATI 0x8920
  5174. #define GL_REG_0_ATI 0x8921
  5175. #define GL_REG_1_ATI 0x8922
  5176. #define GL_REG_2_ATI 0x8923
  5177. #define GL_REG_3_ATI 0x8924
  5178. #define GL_REG_4_ATI 0x8925
  5179. #define GL_REG_5_ATI 0x8926
  5180. #define GL_REG_6_ATI 0x8927
  5181. #define GL_REG_7_ATI 0x8928
  5182. #define GL_REG_8_ATI 0x8929
  5183. #define GL_REG_9_ATI 0x892A
  5184. #define GL_REG_10_ATI 0x892B
  5185. #define GL_REG_11_ATI 0x892C
  5186. #define GL_REG_12_ATI 0x892D
  5187. #define GL_REG_13_ATI 0x892E
  5188. #define GL_REG_14_ATI 0x892F
  5189. #define GL_REG_15_ATI 0x8930
  5190. #define GL_REG_16_ATI 0x8931
  5191. #define GL_REG_17_ATI 0x8932
  5192. #define GL_REG_18_ATI 0x8933
  5193. #define GL_REG_19_ATI 0x8934
  5194. #define GL_REG_20_ATI 0x8935
  5195. #define GL_REG_21_ATI 0x8936
  5196. #define GL_REG_22_ATI 0x8937
  5197. #define GL_REG_23_ATI 0x8938
  5198. #define GL_REG_24_ATI 0x8939
  5199. #define GL_REG_25_ATI 0x893A
  5200. #define GL_REG_26_ATI 0x893B
  5201. #define GL_REG_27_ATI 0x893C
  5202. #define GL_REG_28_ATI 0x893D
  5203. #define GL_REG_29_ATI 0x893E
  5204. #define GL_REG_30_ATI 0x893F
  5205. #define GL_REG_31_ATI 0x8940
  5206. #define GL_CON_0_ATI 0x8941
  5207. #define GL_CON_1_ATI 0x8942
  5208. #define GL_CON_2_ATI 0x8943
  5209. #define GL_CON_3_ATI 0x8944
  5210. #define GL_CON_4_ATI 0x8945
  5211. #define GL_CON_5_ATI 0x8946
  5212. #define GL_CON_6_ATI 0x8947
  5213. #define GL_CON_7_ATI 0x8948
  5214. #define GL_CON_8_ATI 0x8949
  5215. #define GL_CON_9_ATI 0x894A
  5216. #define GL_CON_10_ATI 0x894B
  5217. #define GL_CON_11_ATI 0x894C
  5218. #define GL_CON_12_ATI 0x894D
  5219. #define GL_CON_13_ATI 0x894E
  5220. #define GL_CON_14_ATI 0x894F
  5221. #define GL_CON_15_ATI 0x8950
  5222. #define GL_CON_16_ATI 0x8951
  5223. #define GL_CON_17_ATI 0x8952
  5224. #define GL_CON_18_ATI 0x8953
  5225. #define GL_CON_19_ATI 0x8954
  5226. #define GL_CON_20_ATI 0x8955
  5227. #define GL_CON_21_ATI 0x8956
  5228. #define GL_CON_22_ATI 0x8957
  5229. #define GL_CON_23_ATI 0x8958
  5230. #define GL_CON_24_ATI 0x8959
  5231. #define GL_CON_25_ATI 0x895A
  5232. #define GL_CON_26_ATI 0x895B
  5233. #define GL_CON_27_ATI 0x895C
  5234. #define GL_CON_28_ATI 0x895D
  5235. #define GL_CON_29_ATI 0x895E
  5236. #define GL_CON_30_ATI 0x895F
  5237. #define GL_CON_31_ATI 0x8960
  5238. #define GL_MOV_ATI 0x8961
  5239. #define GL_ADD_ATI 0x8963
  5240. #define GL_MUL_ATI 0x8964
  5241. #define GL_SUB_ATI 0x8965
  5242. #define GL_DOT3_ATI 0x8966
  5243. #define GL_DOT4_ATI 0x8967
  5244. #define GL_MAD_ATI 0x8968
  5245. #define GL_LERP_ATI 0x8969
  5246. #define GL_CND_ATI 0x896A
  5247. #define GL_CND0_ATI 0x896B
  5248. #define GL_DOT2_ADD_ATI 0x896C
  5249. #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
  5250. #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
  5251. #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
  5252. #define GL_NUM_PASSES_ATI 0x8970
  5253. #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
  5254. #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
  5255. #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  5256. #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
  5257. #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
  5258. #define GL_SWIZZLE_STR_ATI 0x8976
  5259. #define GL_SWIZZLE_STQ_ATI 0x8977
  5260. #define GL_SWIZZLE_STR_DR_ATI 0x8978
  5261. #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
  5262. #define GL_SWIZZLE_STRQ_ATI 0x897A
  5263. #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
  5264. #define GL_RED_BIT_ATI 0x00000001
  5265. #define GL_GREEN_BIT_ATI 0x00000002
  5266. #define GL_BLUE_BIT_ATI 0x00000004
  5267. #define GL_2X_BIT_ATI 0x00000001
  5268. #define GL_4X_BIT_ATI 0x00000002
  5269. #define GL_8X_BIT_ATI 0x00000004
  5270. #define GL_HALF_BIT_ATI 0x00000008
  5271. #define GL_QUARTER_BIT_ATI 0x00000010
  5272. #define GL_EIGHTH_BIT_ATI 0x00000020
  5273. #define GL_SATURATE_BIT_ATI 0x00000040
  5274. #define GL_COMP_BIT_ATI 0x00000002
  5275. #define GL_NEGATE_BIT_ATI 0x00000004
  5276. #define GL_BIAS_BIT_ATI 0x00000008
  5277. typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
  5278. typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
  5279. typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
  5280. typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
  5281. typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
  5282. typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
  5283. typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
  5284. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5285. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5286. 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);
  5287. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5288. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5289. 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);
  5290. typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
  5291. #ifdef GL_GLEXT_PROTOTYPES
  5292. GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
  5293. GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
  5294. GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
  5295. GLAPI void APIENTRY glBeginFragmentShaderATI (void);
  5296. GLAPI void APIENTRY glEndFragmentShaderATI (void);
  5297. GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
  5298. GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
  5299. GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5300. GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5301. 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);
  5302. GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  5303. GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  5304. 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);
  5305. GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
  5306. #endif
  5307. #endif /* GL_ATI_fragment_shader */
  5308. #ifndef GL_ATI_map_object_buffer
  5309. #define GL_ATI_map_object_buffer 1
  5310. typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  5311. typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  5312. #ifdef GL_GLEXT_PROTOTYPES
  5313. GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
  5314. GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
  5315. #endif
  5316. #endif /* GL_ATI_map_object_buffer */
  5317. #ifndef GL_ATI_meminfo
  5318. #define GL_ATI_meminfo 1
  5319. #define GL_VBO_FREE_MEMORY_ATI 0x87FB
  5320. #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
  5321. #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
  5322. #endif /* GL_ATI_meminfo */
  5323. #ifndef GL_ATI_pixel_format_float
  5324. #define GL_ATI_pixel_format_float 1
  5325. #define GL_RGBA_FLOAT_MODE_ATI 0x8820
  5326. #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
  5327. #endif /* GL_ATI_pixel_format_float */
  5328. #ifndef GL_ATI_pn_triangles
  5329. #define GL_ATI_pn_triangles 1
  5330. #define GL_PN_TRIANGLES_ATI 0x87F0
  5331. #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  5332. #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
  5333. #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
  5334. #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  5335. #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  5336. #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  5337. #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  5338. #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  5339. typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
  5340. typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
  5341. #ifdef GL_GLEXT_PROTOTYPES
  5342. GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
  5343. GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
  5344. #endif
  5345. #endif /* GL_ATI_pn_triangles */
  5346. #ifndef GL_ATI_separate_stencil
  5347. #define GL_ATI_separate_stencil 1
  5348. #define GL_STENCIL_BACK_FUNC_ATI 0x8800
  5349. #define GL_STENCIL_BACK_FAIL_ATI 0x8801
  5350. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  5351. #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  5352. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  5353. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  5354. #ifdef GL_GLEXT_PROTOTYPES
  5355. GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  5356. GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  5357. #endif
  5358. #endif /* GL_ATI_separate_stencil */
  5359. #ifndef GL_ATI_text_fragment_shader
  5360. #define GL_ATI_text_fragment_shader 1
  5361. #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
  5362. #endif /* GL_ATI_text_fragment_shader */
  5363. #ifndef GL_ATI_texture_env_combine3
  5364. #define GL_ATI_texture_env_combine3 1
  5365. #define GL_MODULATE_ADD_ATI 0x8744
  5366. #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
  5367. #define GL_MODULATE_SUBTRACT_ATI 0x8746
  5368. #endif /* GL_ATI_texture_env_combine3 */
  5369. #ifndef GL_ATI_texture_float
  5370. #define GL_ATI_texture_float 1
  5371. #define GL_RGBA_FLOAT32_ATI 0x8814
  5372. #define GL_RGB_FLOAT32_ATI 0x8815
  5373. #define GL_ALPHA_FLOAT32_ATI 0x8816
  5374. #define GL_INTENSITY_FLOAT32_ATI 0x8817
  5375. #define GL_LUMINANCE_FLOAT32_ATI 0x8818
  5376. #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
  5377. #define GL_RGBA_FLOAT16_ATI 0x881A
  5378. #define GL_RGB_FLOAT16_ATI 0x881B
  5379. #define GL_ALPHA_FLOAT16_ATI 0x881C
  5380. #define GL_INTENSITY_FLOAT16_ATI 0x881D
  5381. #define GL_LUMINANCE_FLOAT16_ATI 0x881E
  5382. #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
  5383. #endif /* GL_ATI_texture_float */
  5384. #ifndef GL_ATI_texture_mirror_once
  5385. #define GL_ATI_texture_mirror_once 1
  5386. #define GL_MIRROR_CLAMP_ATI 0x8742
  5387. #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
  5388. #endif /* GL_ATI_texture_mirror_once */
  5389. #ifndef GL_ATI_vertex_array_object
  5390. #define GL_ATI_vertex_array_object 1
  5391. #define GL_STATIC_ATI 0x8760
  5392. #define GL_DYNAMIC_ATI 0x8761
  5393. #define GL_PRESERVE_ATI 0x8762
  5394. #define GL_DISCARD_ATI 0x8763
  5395. #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
  5396. #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
  5397. #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
  5398. #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
  5399. typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
  5400. typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
  5401. typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
  5402. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
  5403. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
  5404. typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
  5405. typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5406. typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
  5407. typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
  5408. typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5409. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
  5410. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
  5411. #ifdef GL_GLEXT_PROTOTYPES
  5412. GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
  5413. GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
  5414. GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
  5415. GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
  5416. GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
  5417. GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
  5418. GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5419. GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
  5420. GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
  5421. GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  5422. GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
  5423. GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
  5424. #endif
  5425. #endif /* GL_ATI_vertex_array_object */
  5426. #ifndef GL_ATI_vertex_attrib_array_object
  5427. #define GL_ATI_vertex_attrib_array_object 1
  5428. typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  5429. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
  5430. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
  5431. #ifdef GL_GLEXT_PROTOTYPES
  5432. GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  5433. GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
  5434. GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
  5435. #endif
  5436. #endif /* GL_ATI_vertex_attrib_array_object */
  5437. #ifndef GL_ATI_vertex_streams
  5438. #define GL_ATI_vertex_streams 1
  5439. #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
  5440. #define GL_VERTEX_STREAM0_ATI 0x876C
  5441. #define GL_VERTEX_STREAM1_ATI 0x876D
  5442. #define GL_VERTEX_STREAM2_ATI 0x876E
  5443. #define GL_VERTEX_STREAM3_ATI 0x876F
  5444. #define GL_VERTEX_STREAM4_ATI 0x8770
  5445. #define GL_VERTEX_STREAM5_ATI 0x8771
  5446. #define GL_VERTEX_STREAM6_ATI 0x8772
  5447. #define GL_VERTEX_STREAM7_ATI 0x8773
  5448. #define GL_VERTEX_SOURCE_ATI 0x8774
  5449. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
  5450. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
  5451. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
  5452. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
  5453. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
  5454. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
  5455. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
  5456. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
  5457. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
  5458. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
  5459. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
  5460. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
  5461. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
  5462. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
  5463. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
  5464. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
  5465. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  5466. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  5467. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  5468. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  5469. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  5470. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  5471. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  5472. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  5473. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  5474. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
  5475. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  5476. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
  5477. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5478. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
  5479. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5480. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
  5481. typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  5482. typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
  5483. typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  5484. typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  5485. typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
  5486. typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  5487. typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  5488. typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  5489. typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  5490. typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  5491. typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
  5492. typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
  5493. typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
  5494. #ifdef GL_GLEXT_PROTOTYPES
  5495. GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
  5496. GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
  5497. GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
  5498. GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
  5499. GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
  5500. GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
  5501. GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
  5502. GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
  5503. GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
  5504. GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
  5505. GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
  5506. GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
  5507. GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
  5508. GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
  5509. GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
  5510. GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
  5511. GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
  5512. GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
  5513. GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
  5514. GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
  5515. GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  5516. GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
  5517. GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  5518. GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
  5519. GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  5520. GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
  5521. GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  5522. GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
  5523. GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  5524. GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
  5525. GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5526. GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
  5527. GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  5528. GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
  5529. GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  5530. GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
  5531. GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
  5532. GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
  5533. GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  5534. GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
  5535. GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  5536. GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
  5537. GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
  5538. GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
  5539. GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
  5540. #endif
  5541. #endif /* GL_ATI_vertex_streams */
  5542. #ifndef GL_EXT_422_pixels
  5543. #define GL_EXT_422_pixels 1
  5544. #define GL_422_EXT 0x80CC
  5545. #define GL_422_REV_EXT 0x80CD
  5546. #define GL_422_AVERAGE_EXT 0x80CE
  5547. #define GL_422_REV_AVERAGE_EXT 0x80CF
  5548. #endif /* GL_EXT_422_pixels */
  5549. #ifndef GL_EXT_abgr
  5550. #define GL_EXT_abgr 1
  5551. #define GL_ABGR_EXT 0x8000
  5552. #endif /* GL_EXT_abgr */
  5553. #ifndef GL_EXT_bgra
  5554. #define GL_EXT_bgra 1
  5555. #define GL_BGR_EXT 0x80E0
  5556. #define GL_BGRA_EXT 0x80E1
  5557. #endif /* GL_EXT_bgra */
  5558. #ifndef GL_EXT_bindable_uniform
  5559. #define GL_EXT_bindable_uniform 1
  5560. #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
  5561. #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
  5562. #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
  5563. #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
  5564. #define GL_UNIFORM_BUFFER_EXT 0x8DEE
  5565. #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
  5566. typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
  5567. typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
  5568. typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
  5569. #ifdef GL_GLEXT_PROTOTYPES
  5570. GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
  5571. GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
  5572. GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
  5573. #endif
  5574. #endif /* GL_EXT_bindable_uniform */
  5575. #ifndef GL_EXT_blend_color
  5576. #define GL_EXT_blend_color 1
  5577. #define GL_CONSTANT_COLOR_EXT 0x8001
  5578. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
  5579. #define GL_CONSTANT_ALPHA_EXT 0x8003
  5580. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
  5581. #define GL_BLEND_COLOR_EXT 0x8005
  5582. typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  5583. #ifdef GL_GLEXT_PROTOTYPES
  5584. GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  5585. #endif
  5586. #endif /* GL_EXT_blend_color */
  5587. #ifndef GL_EXT_blend_equation_separate
  5588. #define GL_EXT_blend_equation_separate 1
  5589. #define GL_BLEND_EQUATION_RGB_EXT 0x8009
  5590. #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
  5591. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
  5592. #ifdef GL_GLEXT_PROTOTYPES
  5593. GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
  5594. #endif
  5595. #endif /* GL_EXT_blend_equation_separate */
  5596. #ifndef GL_EXT_blend_func_separate
  5597. #define GL_EXT_blend_func_separate 1
  5598. #define GL_BLEND_DST_RGB_EXT 0x80C8
  5599. #define GL_BLEND_SRC_RGB_EXT 0x80C9
  5600. #define GL_BLEND_DST_ALPHA_EXT 0x80CA
  5601. #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
  5602. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  5603. #ifdef GL_GLEXT_PROTOTYPES
  5604. GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  5605. #endif
  5606. #endif /* GL_EXT_blend_func_separate */
  5607. #ifndef GL_EXT_blend_logic_op
  5608. #define GL_EXT_blend_logic_op 1
  5609. #endif /* GL_EXT_blend_logic_op */
  5610. #ifndef GL_EXT_blend_minmax
  5611. #define GL_EXT_blend_minmax 1
  5612. #define GL_MIN_EXT 0x8007
  5613. #define GL_MAX_EXT 0x8008
  5614. #define GL_FUNC_ADD_EXT 0x8006
  5615. #define GL_BLEND_EQUATION_EXT 0x8009
  5616. typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  5617. #ifdef GL_GLEXT_PROTOTYPES
  5618. GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
  5619. #endif
  5620. #endif /* GL_EXT_blend_minmax */
  5621. #ifndef GL_EXT_blend_subtract
  5622. #define GL_EXT_blend_subtract 1
  5623. #define GL_FUNC_SUBTRACT_EXT 0x800A
  5624. #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
  5625. #endif /* GL_EXT_blend_subtract */
  5626. #ifndef GL_EXT_clip_volume_hint
  5627. #define GL_EXT_clip_volume_hint 1
  5628. #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
  5629. #endif /* GL_EXT_clip_volume_hint */
  5630. #ifndef GL_EXT_cmyka
  5631. #define GL_EXT_cmyka 1
  5632. #define GL_CMYK_EXT 0x800C
  5633. #define GL_CMYKA_EXT 0x800D
  5634. #define GL_PACK_CMYK_HINT_EXT 0x800E
  5635. #define GL_UNPACK_CMYK_HINT_EXT 0x800F
  5636. #endif /* GL_EXT_cmyka */
  5637. #ifndef GL_EXT_color_subtable
  5638. #define GL_EXT_color_subtable 1
  5639. typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  5640. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  5641. #ifdef GL_GLEXT_PROTOTYPES
  5642. GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  5643. GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  5644. #endif
  5645. #endif /* GL_EXT_color_subtable */
  5646. #ifndef GL_EXT_compiled_vertex_array
  5647. #define GL_EXT_compiled_vertex_array 1
  5648. #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
  5649. #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
  5650. typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  5651. typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  5652. #ifdef GL_GLEXT_PROTOTYPES
  5653. GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
  5654. GLAPI void APIENTRY glUnlockArraysEXT (void);
  5655. #endif
  5656. #endif /* GL_EXT_compiled_vertex_array */
  5657. #ifndef GL_EXT_convolution
  5658. #define GL_EXT_convolution 1
  5659. #define GL_CONVOLUTION_1D_EXT 0x8010
  5660. #define GL_CONVOLUTION_2D_EXT 0x8011
  5661. #define GL_SEPARABLE_2D_EXT 0x8012
  5662. #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
  5663. #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
  5664. #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
  5665. #define GL_REDUCE_EXT 0x8016
  5666. #define GL_CONVOLUTION_FORMAT_EXT 0x8017
  5667. #define GL_CONVOLUTION_WIDTH_EXT 0x8018
  5668. #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
  5669. #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
  5670. #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
  5671. #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  5672. #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  5673. #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  5674. #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  5675. #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
  5676. #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  5677. #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  5678. #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  5679. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  5680. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  5681. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  5682. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  5683. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  5684. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  5685. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5686. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  5687. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
  5688. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  5689. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  5690. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  5691. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  5692. #ifdef GL_GLEXT_PROTOTYPES
  5693. GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  5694. GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  5695. GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
  5696. GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  5697. GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
  5698. GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  5699. GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5700. GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  5701. GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
  5702. GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  5703. GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
  5704. GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  5705. GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  5706. #endif
  5707. #endif /* GL_EXT_convolution */
  5708. #ifndef GL_EXT_coordinate_frame
  5709. #define GL_EXT_coordinate_frame 1
  5710. #define GL_TANGENT_ARRAY_EXT 0x8439
  5711. #define GL_BINORMAL_ARRAY_EXT 0x843A
  5712. #define GL_CURRENT_TANGENT_EXT 0x843B
  5713. #define GL_CURRENT_BINORMAL_EXT 0x843C
  5714. #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
  5715. #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
  5716. #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
  5717. #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
  5718. #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
  5719. #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
  5720. #define GL_MAP1_TANGENT_EXT 0x8444
  5721. #define GL_MAP2_TANGENT_EXT 0x8445
  5722. #define GL_MAP1_BINORMAL_EXT 0x8446
  5723. #define GL_MAP2_BINORMAL_EXT 0x8447
  5724. typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  5725. typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  5726. typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  5727. typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  5728. typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  5729. typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  5730. typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  5731. typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  5732. typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  5733. typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  5734. typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  5735. typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  5736. typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  5737. typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  5738. typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  5739. typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  5740. typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  5741. typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  5742. typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  5743. typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  5744. typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  5745. typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  5746. #ifdef GL_GLEXT_PROTOTYPES
  5747. GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
  5748. GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
  5749. GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
  5750. GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
  5751. GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
  5752. GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
  5753. GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
  5754. GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
  5755. GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
  5756. GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
  5757. GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
  5758. GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
  5759. GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
  5760. GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
  5761. GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
  5762. GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
  5763. GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
  5764. GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
  5765. GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
  5766. GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
  5767. GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  5768. GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  5769. #endif
  5770. #endif /* GL_EXT_coordinate_frame */
  5771. #ifndef GL_EXT_copy_texture
  5772. #define GL_EXT_copy_texture 1
  5773. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5774. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5775. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5776. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5777. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5778. #ifdef GL_GLEXT_PROTOTYPES
  5779. GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5780. GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5781. GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5782. GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5783. GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5784. #endif
  5785. #endif /* GL_EXT_copy_texture */
  5786. #ifndef GL_EXT_cull_vertex
  5787. #define GL_EXT_cull_vertex 1
  5788. #define GL_CULL_VERTEX_EXT 0x81AA
  5789. #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
  5790. #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  5791. typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  5792. typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  5793. #ifdef GL_GLEXT_PROTOTYPES
  5794. GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
  5795. GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
  5796. #endif
  5797. #endif /* GL_EXT_cull_vertex */
  5798. #ifndef GL_EXT_debug_label
  5799. #define GL_EXT_debug_label 1
  5800. #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
  5801. #define GL_PROGRAM_OBJECT_EXT 0x8B40
  5802. #define GL_SHADER_OBJECT_EXT 0x8B48
  5803. #define GL_BUFFER_OBJECT_EXT 0x9151
  5804. #define GL_QUERY_OBJECT_EXT 0x9153
  5805. #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
  5806. typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  5807. typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  5808. #ifdef GL_GLEXT_PROTOTYPES
  5809. GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  5810. GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  5811. #endif
  5812. #endif /* GL_EXT_debug_label */
  5813. #ifndef GL_EXT_debug_marker
  5814. #define GL_EXT_debug_marker 1
  5815. typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  5816. typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  5817. typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
  5818. #ifdef GL_GLEXT_PROTOTYPES
  5819. GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
  5820. GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
  5821. GLAPI void APIENTRY glPopGroupMarkerEXT (void);
  5822. #endif
  5823. #endif /* GL_EXT_debug_marker */
  5824. #ifndef GL_EXT_depth_bounds_test
  5825. #define GL_EXT_depth_bounds_test 1
  5826. #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
  5827. #define GL_DEPTH_BOUNDS_EXT 0x8891
  5828. typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
  5829. #ifdef GL_GLEXT_PROTOTYPES
  5830. GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
  5831. #endif
  5832. #endif /* GL_EXT_depth_bounds_test */
  5833. #ifndef GL_EXT_direct_state_access
  5834. #define GL_EXT_direct_state_access 1
  5835. #define GL_PROGRAM_MATRIX_EXT 0x8E2D
  5836. #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
  5837. #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  5838. typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
  5839. typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
  5840. typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
  5841. typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
  5842. typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
  5843. typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  5844. typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  5845. typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  5846. typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  5847. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  5848. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  5849. typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  5850. typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  5851. typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
  5852. typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
  5853. typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  5854. typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  5855. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  5856. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  5857. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  5858. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  5859. typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  5860. 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);
  5861. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  5862. 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);
  5863. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5864. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5865. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5866. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5867. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  5868. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  5869. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  5870. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  5871. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  5872. 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);
  5873. 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);
  5874. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5875. typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  5876. typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  5877. typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  5878. typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  5879. typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  5880. typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  5881. typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  5882. typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  5883. typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  5884. typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  5885. typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  5886. typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  5887. typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  5888. typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  5889. typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  5890. typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  5891. typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  5892. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  5893. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  5894. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  5895. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  5896. typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  5897. 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);
  5898. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  5899. 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);
  5900. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  5901. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  5902. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  5903. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5904. typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  5905. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  5906. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  5907. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  5908. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  5909. 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);
  5910. 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);
  5911. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5912. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  5913. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  5914. typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
  5915. typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
  5916. typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
  5917. typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  5918. typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  5919. typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  5920. typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
  5921. typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
  5922. 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);
  5923. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  5924. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  5925. 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);
  5926. 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);
  5927. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  5928. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
  5929. 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);
  5930. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  5931. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  5932. 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);
  5933. 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);
  5934. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  5935. typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
  5936. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  5937. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  5938. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  5939. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  5940. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  5941. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  5942. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  5943. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  5944. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
  5945. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
  5946. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  5947. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  5948. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  5949. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  5950. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  5951. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  5952. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  5953. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  5954. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  5955. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  5956. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  5957. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  5958. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  5959. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  5960. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  5961. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  5962. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  5963. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5964. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5965. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5966. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5967. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5968. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5969. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5970. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5971. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  5972. typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  5973. typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  5974. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  5975. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  5976. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  5977. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  5978. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  5979. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  5980. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  5981. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  5982. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  5983. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  5984. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  5985. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  5986. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  5987. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  5988. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  5989. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  5990. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  5991. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  5992. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
  5993. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  5994. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  5995. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
  5996. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  5997. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
  5998. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
  5999. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  6000. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  6001. typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
  6002. typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
  6003. typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
  6004. typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  6005. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6006. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  6007. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6008. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  6009. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
  6010. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
  6011. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
  6012. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
  6013. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  6014. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  6015. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6016. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  6017. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  6018. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6019. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6020. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6021. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6022. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  6023. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  6024. typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  6025. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  6026. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  6027. typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  6028. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  6029. typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  6030. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  6031. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6032. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  6033. typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  6034. typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  6035. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6036. typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6037. typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  6038. typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6039. typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6040. typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6041. typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6042. typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6043. typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6044. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  6045. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6046. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  6047. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  6048. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  6049. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  6050. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
  6051. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
  6052. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  6053. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
  6054. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  6055. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  6056. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  6057. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  6058. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  6059. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
  6060. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  6061. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
  6062. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  6063. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  6064. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6065. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6066. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6067. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6068. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6069. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6070. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6071. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6072. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6073. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6074. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6075. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6076. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6077. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6078. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  6079. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  6080. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  6081. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  6082. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  6083. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  6084. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  6085. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  6086. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  6087. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  6088. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  6089. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  6090. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6091. typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  6092. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
  6093. #ifdef GL_GLEXT_PROTOTYPES
  6094. GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
  6095. GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
  6096. GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
  6097. GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
  6098. GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
  6099. GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  6100. GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  6101. GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  6102. GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  6103. GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  6104. GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  6105. GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  6106. GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  6107. GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
  6108. GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
  6109. GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
  6110. GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
  6111. GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  6112. GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  6113. GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
  6114. GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  6115. GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  6116. 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);
  6117. GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  6118. 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);
  6119. GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6120. GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6121. GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6122. GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6123. GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  6124. GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  6125. GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  6126. GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  6127. GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  6128. 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);
  6129. 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);
  6130. GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6131. GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
  6132. GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  6133. GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  6134. GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  6135. GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  6136. GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6137. GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  6138. GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  6139. GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  6140. GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  6141. GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  6142. GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  6143. GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  6144. GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6145. GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  6146. GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  6147. GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  6148. GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  6149. GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6150. GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  6151. GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  6152. GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  6153. 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);
  6154. GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  6155. 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);
  6156. GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6157. GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6158. GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6159. GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6160. GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  6161. GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  6162. GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6163. GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  6164. GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  6165. 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);
  6166. 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);
  6167. GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6168. GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
  6169. GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
  6170. GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
  6171. GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
  6172. GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
  6173. GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
  6174. GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
  6175. GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
  6176. GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
  6177. GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
  6178. 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);
  6179. GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  6180. GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  6181. 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);
  6182. 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);
  6183. GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  6184. GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
  6185. 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);
  6186. GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  6187. GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  6188. 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);
  6189. 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);
  6190. GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  6191. GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
  6192. GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
  6193. GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
  6194. GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
  6195. GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
  6196. GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  6197. GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  6198. GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
  6199. GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
  6200. GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
  6201. GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
  6202. GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  6203. GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  6204. GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  6205. GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6206. GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6207. GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  6208. GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  6209. GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  6210. GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6211. GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6212. GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6213. GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6214. GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6215. GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  6216. GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  6217. GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  6218. GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  6219. GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6220. GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6221. GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6222. GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6223. GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6224. GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6225. GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6226. GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6227. GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6228. GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  6229. GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  6230. GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  6231. GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  6232. GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  6233. GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  6234. GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6235. GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  6236. GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6237. GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  6238. GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  6239. GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  6240. GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  6241. GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6242. GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6243. GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6244. GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6245. GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6246. GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6247. GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  6248. GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
  6249. GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  6250. GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  6251. GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
  6252. GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  6253. GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
  6254. GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
  6255. GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
  6256. GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
  6257. GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
  6258. GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
  6259. GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
  6260. GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  6261. GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6262. GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  6263. GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6264. GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  6265. GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
  6266. GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
  6267. GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
  6268. GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
  6269. GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  6270. GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
  6271. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6272. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  6273. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
  6274. GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6275. GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6276. GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6277. GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6278. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  6279. GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
  6280. GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
  6281. GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
  6282. GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  6283. GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
  6284. GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  6285. GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  6286. GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  6287. GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6288. GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  6289. GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
  6290. GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
  6291. GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6292. GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6293. GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  6294. GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6295. GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6296. GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6297. GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6298. GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6299. GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6300. GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  6301. GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6302. GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
  6303. GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
  6304. GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  6305. GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  6306. GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
  6307. GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
  6308. GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  6309. GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
  6310. GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  6311. GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
  6312. GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  6313. GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  6314. GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  6315. GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
  6316. GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  6317. GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
  6318. GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
  6319. GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  6320. GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6321. GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6322. GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6323. GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6324. GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6325. GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6326. GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6327. GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6328. GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6329. GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6330. GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6331. GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6332. GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6333. GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6334. GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  6335. GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  6336. GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  6337. GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  6338. GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  6339. GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  6340. GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  6341. GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  6342. GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  6343. GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  6344. GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  6345. GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  6346. GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6347. GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
  6348. GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
  6349. #endif
  6350. #endif /* GL_EXT_direct_state_access */
  6351. #ifndef GL_EXT_draw_buffers2
  6352. #define GL_EXT_draw_buffers2 1
  6353. typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  6354. #ifdef GL_GLEXT_PROTOTYPES
  6355. GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  6356. #endif
  6357. #endif /* GL_EXT_draw_buffers2 */
  6358. #ifndef GL_EXT_draw_instanced
  6359. #define GL_EXT_draw_instanced 1
  6360. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  6361. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  6362. #ifdef GL_GLEXT_PROTOTYPES
  6363. GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  6364. GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  6365. #endif
  6366. #endif /* GL_EXT_draw_instanced */
  6367. #ifndef GL_EXT_draw_range_elements
  6368. #define GL_EXT_draw_range_elements 1
  6369. #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
  6370. #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
  6371. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  6372. #ifdef GL_GLEXT_PROTOTYPES
  6373. GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  6374. #endif
  6375. #endif /* GL_EXT_draw_range_elements */
  6376. #ifndef GL_EXT_fog_coord
  6377. #define GL_EXT_fog_coord 1
  6378. #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
  6379. #define GL_FOG_COORDINATE_EXT 0x8451
  6380. #define GL_FRAGMENT_DEPTH_EXT 0x8452
  6381. #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
  6382. #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
  6383. #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  6384. #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  6385. #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
  6386. typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  6387. typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  6388. typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  6389. typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  6390. typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  6391. #ifdef GL_GLEXT_PROTOTYPES
  6392. GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
  6393. GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
  6394. GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
  6395. GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
  6396. GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  6397. #endif
  6398. #endif /* GL_EXT_fog_coord */
  6399. #ifndef GL_EXT_framebuffer_blit
  6400. #define GL_EXT_framebuffer_blit 1
  6401. #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
  6402. #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
  6403. #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
  6404. #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
  6405. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  6406. #ifdef GL_GLEXT_PROTOTYPES
  6407. GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  6408. #endif
  6409. #endif /* GL_EXT_framebuffer_blit */
  6410. #ifndef GL_EXT_framebuffer_multisample
  6411. #define GL_EXT_framebuffer_multisample 1
  6412. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  6413. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  6414. #define GL_MAX_SAMPLES_EXT 0x8D57
  6415. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6416. #ifdef GL_GLEXT_PROTOTYPES
  6417. GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6418. #endif
  6419. #endif /* GL_EXT_framebuffer_multisample */
  6420. #ifndef GL_EXT_framebuffer_multisample_blit_scaled
  6421. #define GL_EXT_framebuffer_multisample_blit_scaled 1
  6422. #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
  6423. #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
  6424. #endif /* GL_EXT_framebuffer_multisample_blit_scaled */
  6425. #ifndef GL_EXT_framebuffer_object
  6426. #define GL_EXT_framebuffer_object 1
  6427. #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
  6428. #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
  6429. #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
  6430. #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
  6431. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
  6432. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
  6433. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
  6434. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
  6435. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
  6436. #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
  6437. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
  6438. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
  6439. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
  6440. #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
  6441. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
  6442. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
  6443. #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
  6444. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  6445. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  6446. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  6447. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  6448. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  6449. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  6450. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  6451. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  6452. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  6453. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  6454. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  6455. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  6456. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  6457. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  6458. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  6459. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  6460. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  6461. #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
  6462. #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
  6463. #define GL_FRAMEBUFFER_EXT 0x8D40
  6464. #define GL_RENDERBUFFER_EXT 0x8D41
  6465. #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
  6466. #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
  6467. #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
  6468. #define GL_STENCIL_INDEX1_EXT 0x8D46
  6469. #define GL_STENCIL_INDEX4_EXT 0x8D47
  6470. #define GL_STENCIL_INDEX8_EXT 0x8D48
  6471. #define GL_STENCIL_INDEX16_EXT 0x8D49
  6472. #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
  6473. #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
  6474. #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
  6475. #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
  6476. #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
  6477. #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
  6478. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
  6479. typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
  6480. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
  6481. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
  6482. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  6483. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6484. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
  6485. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
  6486. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
  6487. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
  6488. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
  6489. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6490. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6491. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6492. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6493. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  6494. typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
  6495. #ifdef GL_GLEXT_PROTOTYPES
  6496. GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
  6497. GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
  6498. GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
  6499. GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
  6500. GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  6501. GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6502. GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
  6503. GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
  6504. GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
  6505. GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
  6506. GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
  6507. GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6508. GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6509. GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6510. GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6511. GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  6512. GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
  6513. #endif
  6514. #endif /* GL_EXT_framebuffer_object */
  6515. #ifndef GL_EXT_framebuffer_sRGB
  6516. #define GL_EXT_framebuffer_sRGB 1
  6517. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  6518. #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
  6519. #endif /* GL_EXT_framebuffer_sRGB */
  6520. #ifndef GL_EXT_geometry_shader4
  6521. #define GL_EXT_geometry_shader4 1
  6522. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  6523. #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
  6524. #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
  6525. #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
  6526. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  6527. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
  6528. #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
  6529. #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
  6530. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  6531. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  6532. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  6533. #define GL_LINES_ADJACENCY_EXT 0x000A
  6534. #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
  6535. #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
  6536. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
  6537. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  6538. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
  6539. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  6540. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
  6541. #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
  6542. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  6543. #ifdef GL_GLEXT_PROTOTYPES
  6544. GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
  6545. #endif
  6546. #endif /* GL_EXT_geometry_shader4 */
  6547. #ifndef GL_EXT_gpu_program_parameters
  6548. #define GL_EXT_gpu_program_parameters 1
  6549. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6550. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6551. #ifdef GL_GLEXT_PROTOTYPES
  6552. GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6553. GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6554. #endif
  6555. #endif /* GL_EXT_gpu_program_parameters */
  6556. #ifndef GL_EXT_gpu_shader4
  6557. #define GL_EXT_gpu_shader4 1
  6558. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
  6559. #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
  6560. #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
  6561. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  6562. #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
  6563. #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
  6564. #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
  6565. #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
  6566. #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
  6567. #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
  6568. #define GL_INT_SAMPLER_1D_EXT 0x8DC9
  6569. #define GL_INT_SAMPLER_2D_EXT 0x8DCA
  6570. #define GL_INT_SAMPLER_3D_EXT 0x8DCB
  6571. #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
  6572. #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
  6573. #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
  6574. #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
  6575. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  6576. #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
  6577. #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
  6578. #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
  6579. #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
  6580. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  6581. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  6582. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  6583. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  6584. #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
  6585. #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
  6586. typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
  6587. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  6588. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
  6589. typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
  6590. typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
  6591. typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  6592. typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6593. typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  6594. typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  6595. typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  6596. typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  6597. #ifdef GL_GLEXT_PROTOTYPES
  6598. GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
  6599. GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
  6600. GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
  6601. GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
  6602. GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
  6603. GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
  6604. GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6605. GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
  6606. GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
  6607. GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
  6608. GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
  6609. #endif
  6610. #endif /* GL_EXT_gpu_shader4 */
  6611. #ifndef GL_EXT_histogram
  6612. #define GL_EXT_histogram 1
  6613. #define GL_HISTOGRAM_EXT 0x8024
  6614. #define GL_PROXY_HISTOGRAM_EXT 0x8025
  6615. #define GL_HISTOGRAM_WIDTH_EXT 0x8026
  6616. #define GL_HISTOGRAM_FORMAT_EXT 0x8027
  6617. #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
  6618. #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
  6619. #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
  6620. #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
  6621. #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
  6622. #define GL_HISTOGRAM_SINK_EXT 0x802D
  6623. #define GL_MINMAX_EXT 0x802E
  6624. #define GL_MINMAX_FORMAT_EXT 0x802F
  6625. #define GL_MINMAX_SINK_EXT 0x8030
  6626. #define GL_TABLE_TOO_LARGE_EXT 0x8031
  6627. typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  6628. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6629. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6630. typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  6631. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6632. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6633. typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  6634. typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  6635. typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  6636. typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  6637. #ifdef GL_GLEXT_PROTOTYPES
  6638. GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  6639. GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6640. GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6641. GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  6642. GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6643. GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6644. GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  6645. GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
  6646. GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
  6647. GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
  6648. #endif
  6649. #endif /* GL_EXT_histogram */
  6650. #ifndef GL_EXT_index_array_formats
  6651. #define GL_EXT_index_array_formats 1
  6652. #define GL_IUI_V2F_EXT 0x81AD
  6653. #define GL_IUI_V3F_EXT 0x81AE
  6654. #define GL_IUI_N3F_V2F_EXT 0x81AF
  6655. #define GL_IUI_N3F_V3F_EXT 0x81B0
  6656. #define GL_T2F_IUI_V2F_EXT 0x81B1
  6657. #define GL_T2F_IUI_V3F_EXT 0x81B2
  6658. #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
  6659. #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
  6660. #endif /* GL_EXT_index_array_formats */
  6661. #ifndef GL_EXT_index_func
  6662. #define GL_EXT_index_func 1
  6663. #define GL_INDEX_TEST_EXT 0x81B5
  6664. #define GL_INDEX_TEST_FUNC_EXT 0x81B6
  6665. #define GL_INDEX_TEST_REF_EXT 0x81B7
  6666. typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  6667. #ifdef GL_GLEXT_PROTOTYPES
  6668. GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
  6669. #endif
  6670. #endif /* GL_EXT_index_func */
  6671. #ifndef GL_EXT_index_material
  6672. #define GL_EXT_index_material 1
  6673. #define GL_INDEX_MATERIAL_EXT 0x81B8
  6674. #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
  6675. #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
  6676. typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  6677. #ifdef GL_GLEXT_PROTOTYPES
  6678. GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
  6679. #endif
  6680. #endif /* GL_EXT_index_material */
  6681. #ifndef GL_EXT_index_texture
  6682. #define GL_EXT_index_texture 1
  6683. #endif /* GL_EXT_index_texture */
  6684. #ifndef GL_EXT_light_texture
  6685. #define GL_EXT_light_texture 1
  6686. #define GL_FRAGMENT_MATERIAL_EXT 0x8349
  6687. #define GL_FRAGMENT_NORMAL_EXT 0x834A
  6688. #define GL_FRAGMENT_COLOR_EXT 0x834C
  6689. #define GL_ATTENUATION_EXT 0x834D
  6690. #define GL_SHADOW_ATTENUATION_EXT 0x834E
  6691. #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
  6692. #define GL_TEXTURE_LIGHT_EXT 0x8350
  6693. #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
  6694. #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  6695. typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  6696. typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  6697. typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  6698. #ifdef GL_GLEXT_PROTOTYPES
  6699. GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
  6700. GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
  6701. GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
  6702. #endif
  6703. #endif /* GL_EXT_light_texture */
  6704. #ifndef GL_EXT_misc_attribute
  6705. #define GL_EXT_misc_attribute 1
  6706. #endif /* GL_EXT_misc_attribute */
  6707. #ifndef GL_EXT_multi_draw_arrays
  6708. #define GL_EXT_multi_draw_arrays 1
  6709. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  6710. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  6711. #ifdef GL_GLEXT_PROTOTYPES
  6712. GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  6713. GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  6714. #endif
  6715. #endif /* GL_EXT_multi_draw_arrays */
  6716. #ifndef GL_EXT_multisample
  6717. #define GL_EXT_multisample 1
  6718. #define GL_MULTISAMPLE_EXT 0x809D
  6719. #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
  6720. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  6721. #define GL_SAMPLE_MASK_EXT 0x80A0
  6722. #define GL_1PASS_EXT 0x80A1
  6723. #define GL_2PASS_0_EXT 0x80A2
  6724. #define GL_2PASS_1_EXT 0x80A3
  6725. #define GL_4PASS_0_EXT 0x80A4
  6726. #define GL_4PASS_1_EXT 0x80A5
  6727. #define GL_4PASS_2_EXT 0x80A6
  6728. #define GL_4PASS_3_EXT 0x80A7
  6729. #define GL_SAMPLE_BUFFERS_EXT 0x80A8
  6730. #define GL_SAMPLES_EXT 0x80A9
  6731. #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
  6732. #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
  6733. #define GL_SAMPLE_PATTERN_EXT 0x80AC
  6734. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  6735. typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  6736. typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  6737. #ifdef GL_GLEXT_PROTOTYPES
  6738. GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
  6739. GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
  6740. #endif
  6741. #endif /* GL_EXT_multisample */
  6742. #ifndef GL_EXT_packed_depth_stencil
  6743. #define GL_EXT_packed_depth_stencil 1
  6744. #define GL_DEPTH_STENCIL_EXT 0x84F9
  6745. #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
  6746. #define GL_DEPTH24_STENCIL8_EXT 0x88F0
  6747. #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
  6748. #endif /* GL_EXT_packed_depth_stencil */
  6749. #ifndef GL_EXT_packed_float
  6750. #define GL_EXT_packed_float 1
  6751. #define GL_R11F_G11F_B10F_EXT 0x8C3A
  6752. #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
  6753. #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
  6754. #endif /* GL_EXT_packed_float */
  6755. #ifndef GL_EXT_packed_pixels
  6756. #define GL_EXT_packed_pixels 1
  6757. #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
  6758. #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
  6759. #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
  6760. #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
  6761. #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
  6762. #endif /* GL_EXT_packed_pixels */
  6763. #ifndef GL_EXT_paletted_texture
  6764. #define GL_EXT_paletted_texture 1
  6765. #define GL_COLOR_INDEX1_EXT 0x80E2
  6766. #define GL_COLOR_INDEX2_EXT 0x80E3
  6767. #define GL_COLOR_INDEX4_EXT 0x80E4
  6768. #define GL_COLOR_INDEX8_EXT 0x80E5
  6769. #define GL_COLOR_INDEX12_EXT 0x80E6
  6770. #define GL_COLOR_INDEX16_EXT 0x80E7
  6771. #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
  6772. typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
  6773. typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
  6774. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6775. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6776. #ifdef GL_GLEXT_PROTOTYPES
  6777. GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
  6778. GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
  6779. GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6780. GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6781. #endif
  6782. #endif /* GL_EXT_paletted_texture */
  6783. #ifndef GL_EXT_pixel_buffer_object
  6784. #define GL_EXT_pixel_buffer_object 1
  6785. #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
  6786. #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
  6787. #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
  6788. #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
  6789. #endif /* GL_EXT_pixel_buffer_object */
  6790. #ifndef GL_EXT_pixel_transform
  6791. #define GL_EXT_pixel_transform 1
  6792. #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
  6793. #define GL_PIXEL_MAG_FILTER_EXT 0x8331
  6794. #define GL_PIXEL_MIN_FILTER_EXT 0x8332
  6795. #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
  6796. #define GL_CUBIC_EXT 0x8334
  6797. #define GL_AVERAGE_EXT 0x8335
  6798. #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  6799. #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  6800. #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
  6801. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  6802. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  6803. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  6804. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  6805. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6806. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6807. #ifdef GL_GLEXT_PROTOTYPES
  6808. GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
  6809. GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
  6810. GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  6811. GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  6812. GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6813. GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6814. #endif
  6815. #endif /* GL_EXT_pixel_transform */
  6816. #ifndef GL_EXT_pixel_transform_color_table
  6817. #define GL_EXT_pixel_transform_color_table 1
  6818. #endif /* GL_EXT_pixel_transform_color_table */
  6819. #ifndef GL_EXT_point_parameters
  6820. #define GL_EXT_point_parameters 1
  6821. #define GL_POINT_SIZE_MIN_EXT 0x8126
  6822. #define GL_POINT_SIZE_MAX_EXT 0x8127
  6823. #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
  6824. #define GL_DISTANCE_ATTENUATION_EXT 0x8129
  6825. typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  6826. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  6827. #ifdef GL_GLEXT_PROTOTYPES
  6828. GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
  6829. GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
  6830. #endif
  6831. #endif /* GL_EXT_point_parameters */
  6832. #ifndef GL_EXT_polygon_offset
  6833. #define GL_EXT_polygon_offset 1
  6834. #define GL_POLYGON_OFFSET_EXT 0x8037
  6835. #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
  6836. #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
  6837. typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  6838. #ifdef GL_GLEXT_PROTOTYPES
  6839. GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
  6840. #endif
  6841. #endif /* GL_EXT_polygon_offset */
  6842. #ifndef GL_EXT_provoking_vertex
  6843. #define GL_EXT_provoking_vertex 1
  6844. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
  6845. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  6846. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  6847. #define GL_PROVOKING_VERTEX_EXT 0x8E4F
  6848. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
  6849. #ifdef GL_GLEXT_PROTOTYPES
  6850. GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
  6851. #endif
  6852. #endif /* GL_EXT_provoking_vertex */
  6853. #ifndef GL_EXT_rescale_normal
  6854. #define GL_EXT_rescale_normal 1
  6855. #define GL_RESCALE_NORMAL_EXT 0x803A
  6856. #endif /* GL_EXT_rescale_normal */
  6857. #ifndef GL_EXT_secondary_color
  6858. #define GL_EXT_secondary_color 1
  6859. #define GL_COLOR_SUM_EXT 0x8458
  6860. #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
  6861. #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  6862. #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  6863. #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  6864. #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  6865. #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
  6866. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  6867. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  6868. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  6869. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  6870. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  6871. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  6872. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  6873. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  6874. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  6875. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  6876. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  6877. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  6878. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  6879. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  6880. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  6881. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  6882. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  6883. #ifdef GL_GLEXT_PROTOTYPES
  6884. GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
  6885. GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
  6886. GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
  6887. GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
  6888. GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
  6889. GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
  6890. GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
  6891. GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
  6892. GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
  6893. GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
  6894. GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
  6895. GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
  6896. GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
  6897. GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
  6898. GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
  6899. GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
  6900. GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
  6901. #endif
  6902. #endif /* GL_EXT_secondary_color */
  6903. #ifndef GL_EXT_separate_shader_objects
  6904. #define GL_EXT_separate_shader_objects 1
  6905. #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
  6906. typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
  6907. typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
  6908. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
  6909. #ifdef GL_GLEXT_PROTOTYPES
  6910. GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
  6911. GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
  6912. GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
  6913. #endif
  6914. #endif /* GL_EXT_separate_shader_objects */
  6915. #ifndef GL_EXT_separate_specular_color
  6916. #define GL_EXT_separate_specular_color 1
  6917. #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
  6918. #define GL_SINGLE_COLOR_EXT 0x81F9
  6919. #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
  6920. #endif /* GL_EXT_separate_specular_color */
  6921. #ifndef GL_EXT_shader_image_load_formatted
  6922. #define GL_EXT_shader_image_load_formatted 1
  6923. #endif /* GL_EXT_shader_image_load_formatted */
  6924. #ifndef GL_EXT_shader_image_load_store
  6925. #define GL_EXT_shader_image_load_store 1
  6926. #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
  6927. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
  6928. #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
  6929. #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
  6930. #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
  6931. #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
  6932. #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
  6933. #define GL_IMAGE_1D_EXT 0x904C
  6934. #define GL_IMAGE_2D_EXT 0x904D
  6935. #define GL_IMAGE_3D_EXT 0x904E
  6936. #define GL_IMAGE_2D_RECT_EXT 0x904F
  6937. #define GL_IMAGE_CUBE_EXT 0x9050
  6938. #define GL_IMAGE_BUFFER_EXT 0x9051
  6939. #define GL_IMAGE_1D_ARRAY_EXT 0x9052
  6940. #define GL_IMAGE_2D_ARRAY_EXT 0x9053
  6941. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  6942. #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
  6943. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
  6944. #define GL_INT_IMAGE_1D_EXT 0x9057
  6945. #define GL_INT_IMAGE_2D_EXT 0x9058
  6946. #define GL_INT_IMAGE_3D_EXT 0x9059
  6947. #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
  6948. #define GL_INT_IMAGE_CUBE_EXT 0x905B
  6949. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  6950. #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
  6951. #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
  6952. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  6953. #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
  6954. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
  6955. #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
  6956. #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
  6957. #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
  6958. #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
  6959. #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
  6960. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  6961. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
  6962. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
  6963. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  6964. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
  6965. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
  6966. #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
  6967. #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
  6968. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
  6969. #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
  6970. #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
  6971. #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
  6972. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
  6973. #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
  6974. #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
  6975. #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
  6976. #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
  6977. #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
  6978. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
  6979. #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
  6980. #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
  6981. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  6982. typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
  6983. #ifdef GL_GLEXT_PROTOTYPES
  6984. GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  6985. GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
  6986. #endif
  6987. #endif /* GL_EXT_shader_image_load_store */
  6988. #ifndef GL_EXT_shader_integer_mix
  6989. #define GL_EXT_shader_integer_mix 1
  6990. #endif /* GL_EXT_shader_integer_mix */
  6991. #ifndef GL_EXT_shadow_funcs
  6992. #define GL_EXT_shadow_funcs 1
  6993. #endif /* GL_EXT_shadow_funcs */
  6994. #ifndef GL_EXT_shared_texture_palette
  6995. #define GL_EXT_shared_texture_palette 1
  6996. #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
  6997. #endif /* GL_EXT_shared_texture_palette */
  6998. #ifndef GL_EXT_stencil_clear_tag
  6999. #define GL_EXT_stencil_clear_tag 1
  7000. #define GL_STENCIL_TAG_BITS_EXT 0x88F2
  7001. #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
  7002. typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
  7003. #ifdef GL_GLEXT_PROTOTYPES
  7004. GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
  7005. #endif
  7006. #endif /* GL_EXT_stencil_clear_tag */
  7007. #ifndef GL_EXT_stencil_two_side
  7008. #define GL_EXT_stencil_two_side 1
  7009. #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
  7010. #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
  7011. typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
  7012. #ifdef GL_GLEXT_PROTOTYPES
  7013. GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
  7014. #endif
  7015. #endif /* GL_EXT_stencil_two_side */
  7016. #ifndef GL_EXT_stencil_wrap
  7017. #define GL_EXT_stencil_wrap 1
  7018. #define GL_INCR_WRAP_EXT 0x8507
  7019. #define GL_DECR_WRAP_EXT 0x8508
  7020. #endif /* GL_EXT_stencil_wrap */
  7021. #ifndef GL_EXT_subtexture
  7022. #define GL_EXT_subtexture 1
  7023. typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  7024. typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  7025. #ifdef GL_GLEXT_PROTOTYPES
  7026. GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  7027. GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  7028. #endif
  7029. #endif /* GL_EXT_subtexture */
  7030. #ifndef GL_EXT_texture
  7031. #define GL_EXT_texture 1
  7032. #define GL_ALPHA4_EXT 0x803B
  7033. #define GL_ALPHA8_EXT 0x803C
  7034. #define GL_ALPHA12_EXT 0x803D
  7035. #define GL_ALPHA16_EXT 0x803E
  7036. #define GL_LUMINANCE4_EXT 0x803F
  7037. #define GL_LUMINANCE8_EXT 0x8040
  7038. #define GL_LUMINANCE12_EXT 0x8041
  7039. #define GL_LUMINANCE16_EXT 0x8042
  7040. #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
  7041. #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
  7042. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  7043. #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
  7044. #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
  7045. #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
  7046. #define GL_INTENSITY_EXT 0x8049
  7047. #define GL_INTENSITY4_EXT 0x804A
  7048. #define GL_INTENSITY8_EXT 0x804B
  7049. #define GL_INTENSITY12_EXT 0x804C
  7050. #define GL_INTENSITY16_EXT 0x804D
  7051. #define GL_RGB2_EXT 0x804E
  7052. #define GL_RGB4_EXT 0x804F
  7053. #define GL_RGB5_EXT 0x8050
  7054. #define GL_RGB8_EXT 0x8051
  7055. #define GL_RGB10_EXT 0x8052
  7056. #define GL_RGB12_EXT 0x8053
  7057. #define GL_RGB16_EXT 0x8054
  7058. #define GL_RGBA2_EXT 0x8055
  7059. #define GL_RGBA4_EXT 0x8056
  7060. #define GL_RGB5_A1_EXT 0x8057
  7061. #define GL_RGBA8_EXT 0x8058
  7062. #define GL_RGB10_A2_EXT 0x8059
  7063. #define GL_RGBA12_EXT 0x805A
  7064. #define GL_RGBA16_EXT 0x805B
  7065. #define GL_TEXTURE_RED_SIZE_EXT 0x805C
  7066. #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
  7067. #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
  7068. #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
  7069. #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
  7070. #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
  7071. #define GL_REPLACE_EXT 0x8062
  7072. #define GL_PROXY_TEXTURE_1D_EXT 0x8063
  7073. #define GL_PROXY_TEXTURE_2D_EXT 0x8064
  7074. #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
  7075. #endif /* GL_EXT_texture */
  7076. #ifndef GL_EXT_texture3D
  7077. #define GL_EXT_texture3D 1
  7078. #define GL_PACK_SKIP_IMAGES_EXT 0x806B
  7079. #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
  7080. #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
  7081. #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
  7082. #define GL_TEXTURE_3D_EXT 0x806F
  7083. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  7084. #define GL_TEXTURE_DEPTH_EXT 0x8071
  7085. #define GL_TEXTURE_WRAP_R_EXT 0x8072
  7086. #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
  7087. 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);
  7088. 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);
  7089. #ifdef GL_GLEXT_PROTOTYPES
  7090. 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);
  7091. 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);
  7092. #endif
  7093. #endif /* GL_EXT_texture3D */
  7094. #ifndef GL_EXT_texture_array
  7095. #define GL_EXT_texture_array 1
  7096. #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
  7097. #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
  7098. #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
  7099. #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
  7100. #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
  7101. #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
  7102. #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
  7103. #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
  7104. #endif /* GL_EXT_texture_array */
  7105. #ifndef GL_EXT_texture_buffer_object
  7106. #define GL_EXT_texture_buffer_object 1
  7107. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  7108. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  7109. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  7110. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  7111. #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
  7112. typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  7113. #ifdef GL_GLEXT_PROTOTYPES
  7114. GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
  7115. #endif
  7116. #endif /* GL_EXT_texture_buffer_object */
  7117. #ifndef GL_EXT_texture_compression_latc
  7118. #define GL_EXT_texture_compression_latc 1
  7119. #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
  7120. #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
  7121. #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
  7122. #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
  7123. #endif /* GL_EXT_texture_compression_latc */
  7124. #ifndef GL_EXT_texture_compression_rgtc
  7125. #define GL_EXT_texture_compression_rgtc 1
  7126. #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
  7127. #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  7128. #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  7129. #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  7130. #endif /* GL_EXT_texture_compression_rgtc */
  7131. #ifndef GL_EXT_texture_compression_s3tc
  7132. #define GL_EXT_texture_compression_s3tc 1
  7133. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  7134. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  7135. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  7136. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  7137. #endif /* GL_EXT_texture_compression_s3tc */
  7138. #ifndef GL_EXT_texture_cube_map
  7139. #define GL_EXT_texture_cube_map 1
  7140. #define GL_NORMAL_MAP_EXT 0x8511
  7141. #define GL_REFLECTION_MAP_EXT 0x8512
  7142. #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
  7143. #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
  7144. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  7145. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  7146. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  7147. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  7148. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  7149. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  7150. #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
  7151. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
  7152. #endif /* GL_EXT_texture_cube_map */
  7153. #ifndef GL_EXT_texture_env_add
  7154. #define GL_EXT_texture_env_add 1
  7155. #endif /* GL_EXT_texture_env_add */
  7156. #ifndef GL_EXT_texture_env_combine
  7157. #define GL_EXT_texture_env_combine 1
  7158. #define GL_COMBINE_EXT 0x8570
  7159. #define GL_COMBINE_RGB_EXT 0x8571
  7160. #define GL_COMBINE_ALPHA_EXT 0x8572
  7161. #define GL_RGB_SCALE_EXT 0x8573
  7162. #define GL_ADD_SIGNED_EXT 0x8574
  7163. #define GL_INTERPOLATE_EXT 0x8575
  7164. #define GL_CONSTANT_EXT 0x8576
  7165. #define GL_PRIMARY_COLOR_EXT 0x8577
  7166. #define GL_PREVIOUS_EXT 0x8578
  7167. #define GL_SOURCE0_RGB_EXT 0x8580
  7168. #define GL_SOURCE1_RGB_EXT 0x8581
  7169. #define GL_SOURCE2_RGB_EXT 0x8582
  7170. #define GL_SOURCE0_ALPHA_EXT 0x8588
  7171. #define GL_SOURCE1_ALPHA_EXT 0x8589
  7172. #define GL_SOURCE2_ALPHA_EXT 0x858A
  7173. #define GL_OPERAND0_RGB_EXT 0x8590
  7174. #define GL_OPERAND1_RGB_EXT 0x8591
  7175. #define GL_OPERAND2_RGB_EXT 0x8592
  7176. #define GL_OPERAND0_ALPHA_EXT 0x8598
  7177. #define GL_OPERAND1_ALPHA_EXT 0x8599
  7178. #define GL_OPERAND2_ALPHA_EXT 0x859A
  7179. #endif /* GL_EXT_texture_env_combine */
  7180. #ifndef GL_EXT_texture_env_dot3
  7181. #define GL_EXT_texture_env_dot3 1
  7182. #define GL_DOT3_RGB_EXT 0x8740
  7183. #define GL_DOT3_RGBA_EXT 0x8741
  7184. #endif /* GL_EXT_texture_env_dot3 */
  7185. #ifndef GL_EXT_texture_filter_anisotropic
  7186. #define GL_EXT_texture_filter_anisotropic 1
  7187. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  7188. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  7189. #endif /* GL_EXT_texture_filter_anisotropic */
  7190. #ifndef GL_EXT_texture_integer
  7191. #define GL_EXT_texture_integer 1
  7192. #define GL_RGBA32UI_EXT 0x8D70
  7193. #define GL_RGB32UI_EXT 0x8D71
  7194. #define GL_ALPHA32UI_EXT 0x8D72
  7195. #define GL_INTENSITY32UI_EXT 0x8D73
  7196. #define GL_LUMINANCE32UI_EXT 0x8D74
  7197. #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
  7198. #define GL_RGBA16UI_EXT 0x8D76
  7199. #define GL_RGB16UI_EXT 0x8D77
  7200. #define GL_ALPHA16UI_EXT 0x8D78
  7201. #define GL_INTENSITY16UI_EXT 0x8D79
  7202. #define GL_LUMINANCE16UI_EXT 0x8D7A
  7203. #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
  7204. #define GL_RGBA8UI_EXT 0x8D7C
  7205. #define GL_RGB8UI_EXT 0x8D7D
  7206. #define GL_ALPHA8UI_EXT 0x8D7E
  7207. #define GL_INTENSITY8UI_EXT 0x8D7F
  7208. #define GL_LUMINANCE8UI_EXT 0x8D80
  7209. #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
  7210. #define GL_RGBA32I_EXT 0x8D82
  7211. #define GL_RGB32I_EXT 0x8D83
  7212. #define GL_ALPHA32I_EXT 0x8D84
  7213. #define GL_INTENSITY32I_EXT 0x8D85
  7214. #define GL_LUMINANCE32I_EXT 0x8D86
  7215. #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
  7216. #define GL_RGBA16I_EXT 0x8D88
  7217. #define GL_RGB16I_EXT 0x8D89
  7218. #define GL_ALPHA16I_EXT 0x8D8A
  7219. #define GL_INTENSITY16I_EXT 0x8D8B
  7220. #define GL_LUMINANCE16I_EXT 0x8D8C
  7221. #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
  7222. #define GL_RGBA8I_EXT 0x8D8E
  7223. #define GL_RGB8I_EXT 0x8D8F
  7224. #define GL_ALPHA8I_EXT 0x8D90
  7225. #define GL_INTENSITY8I_EXT 0x8D91
  7226. #define GL_LUMINANCE8I_EXT 0x8D92
  7227. #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
  7228. #define GL_RED_INTEGER_EXT 0x8D94
  7229. #define GL_GREEN_INTEGER_EXT 0x8D95
  7230. #define GL_BLUE_INTEGER_EXT 0x8D96
  7231. #define GL_ALPHA_INTEGER_EXT 0x8D97
  7232. #define GL_RGB_INTEGER_EXT 0x8D98
  7233. #define GL_RGBA_INTEGER_EXT 0x8D99
  7234. #define GL_BGR_INTEGER_EXT 0x8D9A
  7235. #define GL_BGRA_INTEGER_EXT 0x8D9B
  7236. #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
  7237. #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
  7238. #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
  7239. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  7240. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  7241. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7242. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  7243. typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  7244. typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  7245. #ifdef GL_GLEXT_PROTOTYPES
  7246. GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
  7247. GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
  7248. GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
  7249. GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
  7250. GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
  7251. GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  7252. #endif
  7253. #endif /* GL_EXT_texture_integer */
  7254. #ifndef GL_EXT_texture_lod_bias
  7255. #define GL_EXT_texture_lod_bias 1
  7256. #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
  7257. #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
  7258. #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
  7259. #endif /* GL_EXT_texture_lod_bias */
  7260. #ifndef GL_EXT_texture_mirror_clamp
  7261. #define GL_EXT_texture_mirror_clamp 1
  7262. #define GL_MIRROR_CLAMP_EXT 0x8742
  7263. #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
  7264. #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
  7265. #endif /* GL_EXT_texture_mirror_clamp */
  7266. #ifndef GL_EXT_texture_object
  7267. #define GL_EXT_texture_object 1
  7268. #define GL_TEXTURE_PRIORITY_EXT 0x8066
  7269. #define GL_TEXTURE_RESIDENT_EXT 0x8067
  7270. #define GL_TEXTURE_1D_BINDING_EXT 0x8068
  7271. #define GL_TEXTURE_2D_BINDING_EXT 0x8069
  7272. #define GL_TEXTURE_3D_BINDING_EXT 0x806A
  7273. typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  7274. typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  7275. typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  7276. typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  7277. typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  7278. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  7279. #ifdef GL_GLEXT_PROTOTYPES
  7280. GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
  7281. GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
  7282. GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
  7283. GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
  7284. GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
  7285. GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  7286. #endif
  7287. #endif /* GL_EXT_texture_object */
  7288. #ifndef GL_EXT_texture_perturb_normal
  7289. #define GL_EXT_texture_perturb_normal 1
  7290. #define GL_PERTURB_EXT 0x85AE
  7291. #define GL_TEXTURE_NORMAL_EXT 0x85AF
  7292. typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  7293. #ifdef GL_GLEXT_PROTOTYPES
  7294. GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
  7295. #endif
  7296. #endif /* GL_EXT_texture_perturb_normal */
  7297. #ifndef GL_EXT_texture_sRGB
  7298. #define GL_EXT_texture_sRGB 1
  7299. #define GL_SRGB_EXT 0x8C40
  7300. #define GL_SRGB8_EXT 0x8C41
  7301. #define GL_SRGB_ALPHA_EXT 0x8C42
  7302. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  7303. #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
  7304. #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
  7305. #define GL_SLUMINANCE_EXT 0x8C46
  7306. #define GL_SLUMINANCE8_EXT 0x8C47
  7307. #define GL_COMPRESSED_SRGB_EXT 0x8C48
  7308. #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
  7309. #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
  7310. #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
  7311. #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
  7312. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  7313. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  7314. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  7315. #endif /* GL_EXT_texture_sRGB */
  7316. #ifndef GL_EXT_texture_sRGB_decode
  7317. #define GL_EXT_texture_sRGB_decode 1
  7318. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  7319. #define GL_DECODE_EXT 0x8A49
  7320. #define GL_SKIP_DECODE_EXT 0x8A4A
  7321. #endif /* GL_EXT_texture_sRGB_decode */
  7322. #ifndef GL_EXT_texture_shared_exponent
  7323. #define GL_EXT_texture_shared_exponent 1
  7324. #define GL_RGB9_E5_EXT 0x8C3D
  7325. #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
  7326. #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
  7327. #endif /* GL_EXT_texture_shared_exponent */
  7328. #ifndef GL_EXT_texture_snorm
  7329. #define GL_EXT_texture_snorm 1
  7330. #define GL_ALPHA_SNORM 0x9010
  7331. #define GL_LUMINANCE_SNORM 0x9011
  7332. #define GL_LUMINANCE_ALPHA_SNORM 0x9012
  7333. #define GL_INTENSITY_SNORM 0x9013
  7334. #define GL_ALPHA8_SNORM 0x9014
  7335. #define GL_LUMINANCE8_SNORM 0x9015
  7336. #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
  7337. #define GL_INTENSITY8_SNORM 0x9017
  7338. #define GL_ALPHA16_SNORM 0x9018
  7339. #define GL_LUMINANCE16_SNORM 0x9019
  7340. #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
  7341. #define GL_INTENSITY16_SNORM 0x901B
  7342. #define GL_RED_SNORM 0x8F90
  7343. #define GL_RG_SNORM 0x8F91
  7344. #define GL_RGB_SNORM 0x8F92
  7345. #define GL_RGBA_SNORM 0x8F93
  7346. #endif /* GL_EXT_texture_snorm */
  7347. #ifndef GL_EXT_texture_swizzle
  7348. #define GL_EXT_texture_swizzle 1
  7349. #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
  7350. #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
  7351. #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
  7352. #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
  7353. #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
  7354. #endif /* GL_EXT_texture_swizzle */
  7355. #ifndef GL_EXT_timer_query
  7356. #define GL_EXT_timer_query 1
  7357. #define GL_TIME_ELAPSED_EXT 0x88BF
  7358. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
  7359. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
  7360. #ifdef GL_GLEXT_PROTOTYPES
  7361. GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
  7362. GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
  7363. #endif
  7364. #endif /* GL_EXT_timer_query */
  7365. #ifndef GL_EXT_transform_feedback
  7366. #define GL_EXT_transform_feedback 1
  7367. #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
  7368. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
  7369. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
  7370. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
  7371. #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
  7372. #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
  7373. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  7374. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
  7375. #define GL_RASTERIZER_DISCARD_EXT 0x8C89
  7376. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
  7377. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
  7378. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
  7379. #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
  7380. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
  7381. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
  7382. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
  7383. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
  7384. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  7385. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  7386. typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
  7387. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  7388. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  7389. #ifdef GL_GLEXT_PROTOTYPES
  7390. GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
  7391. GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
  7392. GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  7393. GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  7394. GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
  7395. GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  7396. GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  7397. #endif
  7398. #endif /* GL_EXT_transform_feedback */
  7399. #ifndef GL_EXT_vertex_array
  7400. #define GL_EXT_vertex_array 1
  7401. #define GL_VERTEX_ARRAY_EXT 0x8074
  7402. #define GL_NORMAL_ARRAY_EXT 0x8075
  7403. #define GL_COLOR_ARRAY_EXT 0x8076
  7404. #define GL_INDEX_ARRAY_EXT 0x8077
  7405. #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
  7406. #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
  7407. #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
  7408. #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
  7409. #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
  7410. #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
  7411. #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
  7412. #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
  7413. #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
  7414. #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
  7415. #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
  7416. #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
  7417. #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
  7418. #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
  7419. #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
  7420. #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
  7421. #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
  7422. #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
  7423. #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  7424. #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
  7425. #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
  7426. #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
  7427. #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
  7428. #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
  7429. #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
  7430. #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
  7431. #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  7432. #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
  7433. typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  7434. typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7435. typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  7436. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  7437. typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
  7438. typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7439. typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7440. typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7441. typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7442. #ifdef GL_GLEXT_PROTOTYPES
  7443. GLAPI void APIENTRY glArrayElementEXT (GLint i);
  7444. GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7445. GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
  7446. GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
  7447. GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
  7448. GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7449. GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7450. GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7451. GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  7452. #endif
  7453. #endif /* GL_EXT_vertex_array */
  7454. #ifndef GL_EXT_vertex_array_bgra
  7455. #define GL_EXT_vertex_array_bgra 1
  7456. #endif /* GL_EXT_vertex_array_bgra */
  7457. #ifndef GL_EXT_vertex_attrib_64bit
  7458. #define GL_EXT_vertex_attrib_64bit 1
  7459. #define GL_DOUBLE_VEC2_EXT 0x8FFC
  7460. #define GL_DOUBLE_VEC3_EXT 0x8FFD
  7461. #define GL_DOUBLE_VEC4_EXT 0x8FFE
  7462. #define GL_DOUBLE_MAT2_EXT 0x8F46
  7463. #define GL_DOUBLE_MAT3_EXT 0x8F47
  7464. #define GL_DOUBLE_MAT4_EXT 0x8F48
  7465. #define GL_DOUBLE_MAT2x3_EXT 0x8F49
  7466. #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
  7467. #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
  7468. #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
  7469. #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
  7470. #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
  7471. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
  7472. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
  7473. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  7474. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7475. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
  7476. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
  7477. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
  7478. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
  7479. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7480. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
  7481. #ifdef GL_GLEXT_PROTOTYPES
  7482. GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
  7483. GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
  7484. GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  7485. GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7486. GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
  7487. GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
  7488. GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
  7489. GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
  7490. GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7491. GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
  7492. #endif
  7493. #endif /* GL_EXT_vertex_attrib_64bit */
  7494. #ifndef GL_EXT_vertex_shader
  7495. #define GL_EXT_vertex_shader 1
  7496. #define GL_VERTEX_SHADER_EXT 0x8780
  7497. #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
  7498. #define GL_OP_INDEX_EXT 0x8782
  7499. #define GL_OP_NEGATE_EXT 0x8783
  7500. #define GL_OP_DOT3_EXT 0x8784
  7501. #define GL_OP_DOT4_EXT 0x8785
  7502. #define GL_OP_MUL_EXT 0x8786
  7503. #define GL_OP_ADD_EXT 0x8787
  7504. #define GL_OP_MADD_EXT 0x8788
  7505. #define GL_OP_FRAC_EXT 0x8789
  7506. #define GL_OP_MAX_EXT 0x878A
  7507. #define GL_OP_MIN_EXT 0x878B
  7508. #define GL_OP_SET_GE_EXT 0x878C
  7509. #define GL_OP_SET_LT_EXT 0x878D
  7510. #define GL_OP_CLAMP_EXT 0x878E
  7511. #define GL_OP_FLOOR_EXT 0x878F
  7512. #define GL_OP_ROUND_EXT 0x8790
  7513. #define GL_OP_EXP_BASE_2_EXT 0x8791
  7514. #define GL_OP_LOG_BASE_2_EXT 0x8792
  7515. #define GL_OP_POWER_EXT 0x8793
  7516. #define GL_OP_RECIP_EXT 0x8794
  7517. #define GL_OP_RECIP_SQRT_EXT 0x8795
  7518. #define GL_OP_SUB_EXT 0x8796
  7519. #define GL_OP_CROSS_PRODUCT_EXT 0x8797
  7520. #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
  7521. #define GL_OP_MOV_EXT 0x8799
  7522. #define GL_OUTPUT_VERTEX_EXT 0x879A
  7523. #define GL_OUTPUT_COLOR0_EXT 0x879B
  7524. #define GL_OUTPUT_COLOR1_EXT 0x879C
  7525. #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
  7526. #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
  7527. #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
  7528. #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
  7529. #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
  7530. #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
  7531. #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
  7532. #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
  7533. #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
  7534. #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
  7535. #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
  7536. #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
  7537. #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
  7538. #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
  7539. #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
  7540. #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
  7541. #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
  7542. #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
  7543. #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
  7544. #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
  7545. #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
  7546. #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
  7547. #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
  7548. #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
  7549. #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
  7550. #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
  7551. #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
  7552. #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
  7553. #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
  7554. #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
  7555. #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
  7556. #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
  7557. #define GL_OUTPUT_FOG_EXT 0x87BD
  7558. #define GL_SCALAR_EXT 0x87BE
  7559. #define GL_VECTOR_EXT 0x87BF
  7560. #define GL_MATRIX_EXT 0x87C0
  7561. #define GL_VARIANT_EXT 0x87C1
  7562. #define GL_INVARIANT_EXT 0x87C2
  7563. #define GL_LOCAL_CONSTANT_EXT 0x87C3
  7564. #define GL_LOCAL_EXT 0x87C4
  7565. #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  7566. #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  7567. #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  7568. #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  7569. #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
  7570. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  7571. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  7572. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
  7573. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
  7574. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  7575. #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  7576. #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
  7577. #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
  7578. #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  7579. #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
  7580. #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
  7581. #define GL_X_EXT 0x87D5
  7582. #define GL_Y_EXT 0x87D6
  7583. #define GL_Z_EXT 0x87D7
  7584. #define GL_W_EXT 0x87D8
  7585. #define GL_NEGATIVE_X_EXT 0x87D9
  7586. #define GL_NEGATIVE_Y_EXT 0x87DA
  7587. #define GL_NEGATIVE_Z_EXT 0x87DB
  7588. #define GL_NEGATIVE_W_EXT 0x87DC
  7589. #define GL_ZERO_EXT 0x87DD
  7590. #define GL_ONE_EXT 0x87DE
  7591. #define GL_NEGATIVE_ONE_EXT 0x87DF
  7592. #define GL_NORMALIZED_RANGE_EXT 0x87E0
  7593. #define GL_FULL_RANGE_EXT 0x87E1
  7594. #define GL_CURRENT_VERTEX_EXT 0x87E2
  7595. #define GL_MVP_MATRIX_EXT 0x87E3
  7596. #define GL_VARIANT_VALUE_EXT 0x87E4
  7597. #define GL_VARIANT_DATATYPE_EXT 0x87E5
  7598. #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
  7599. #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
  7600. #define GL_VARIANT_ARRAY_EXT 0x87E8
  7601. #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
  7602. #define GL_INVARIANT_VALUE_EXT 0x87EA
  7603. #define GL_INVARIANT_DATATYPE_EXT 0x87EB
  7604. #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
  7605. #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
  7606. typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
  7607. typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
  7608. typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
  7609. typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
  7610. typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
  7611. typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
  7612. typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  7613. typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  7614. typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  7615. typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  7616. typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  7617. typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  7618. typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  7619. typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
  7620. typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
  7621. typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
  7622. typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
  7623. typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
  7624. typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
  7625. typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
  7626. typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
  7627. typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
  7628. typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
  7629. typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
  7630. typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  7631. typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  7632. typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
  7633. typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
  7634. typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
  7635. typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
  7636. typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
  7637. typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
  7638. typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  7639. typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  7640. typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  7641. typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
  7642. typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  7643. typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  7644. typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  7645. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  7646. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  7647. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  7648. #ifdef GL_GLEXT_PROTOTYPES
  7649. GLAPI void APIENTRY glBeginVertexShaderEXT (void);
  7650. GLAPI void APIENTRY glEndVertexShaderEXT (void);
  7651. GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
  7652. GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
  7653. GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
  7654. GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
  7655. GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  7656. GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  7657. GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  7658. GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  7659. GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
  7660. GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
  7661. GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  7662. GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
  7663. GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
  7664. GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
  7665. GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
  7666. GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
  7667. GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
  7668. GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
  7669. GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
  7670. GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
  7671. GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
  7672. GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
  7673. GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
  7674. GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
  7675. GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
  7676. GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
  7677. GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
  7678. GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
  7679. GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
  7680. GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
  7681. GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  7682. GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  7683. GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  7684. GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
  7685. GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  7686. GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  7687. GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  7688. GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  7689. GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
  7690. GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  7691. #endif
  7692. #endif /* GL_EXT_vertex_shader */
  7693. #ifndef GL_EXT_vertex_weighting
  7694. #define GL_EXT_vertex_weighting 1
  7695. #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
  7696. #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
  7697. #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
  7698. #define GL_MODELVIEW1_MATRIX_EXT 0x8506
  7699. #define GL_VERTEX_WEIGHTING_EXT 0x8509
  7700. #define GL_MODELVIEW0_EXT 0x1700
  7701. #define GL_MODELVIEW1_EXT 0x850A
  7702. #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
  7703. #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
  7704. #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
  7705. #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
  7706. #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  7707. #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  7708. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  7709. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  7710. typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  7711. #ifdef GL_GLEXT_PROTOTYPES
  7712. GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
  7713. GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
  7714. GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
  7715. #endif
  7716. #endif /* GL_EXT_vertex_weighting */
  7717. #ifndef GL_EXT_x11_sync_object
  7718. #define GL_EXT_x11_sync_object 1
  7719. #define GL_SYNC_X11_FENCE_EXT 0x90E1
  7720. typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  7721. #ifdef GL_GLEXT_PROTOTYPES
  7722. GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  7723. #endif
  7724. #endif /* GL_EXT_x11_sync_object */
  7725. #ifndef GL_GREMEDY_frame_terminator
  7726. #define GL_GREMEDY_frame_terminator 1
  7727. typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
  7728. #ifdef GL_GLEXT_PROTOTYPES
  7729. GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
  7730. #endif
  7731. #endif /* GL_GREMEDY_frame_terminator */
  7732. #ifndef GL_GREMEDY_string_marker
  7733. #define GL_GREMEDY_string_marker 1
  7734. typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
  7735. #ifdef GL_GLEXT_PROTOTYPES
  7736. GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
  7737. #endif
  7738. #endif /* GL_GREMEDY_string_marker */
  7739. #ifndef GL_HP_convolution_border_modes
  7740. #define GL_HP_convolution_border_modes 1
  7741. #define GL_IGNORE_BORDER_HP 0x8150
  7742. #define GL_CONSTANT_BORDER_HP 0x8151
  7743. #define GL_REPLICATE_BORDER_HP 0x8153
  7744. #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
  7745. #endif /* GL_HP_convolution_border_modes */
  7746. #ifndef GL_HP_image_transform
  7747. #define GL_HP_image_transform 1
  7748. #define GL_IMAGE_SCALE_X_HP 0x8155
  7749. #define GL_IMAGE_SCALE_Y_HP 0x8156
  7750. #define GL_IMAGE_TRANSLATE_X_HP 0x8157
  7751. #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
  7752. #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
  7753. #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
  7754. #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
  7755. #define GL_IMAGE_MAG_FILTER_HP 0x815C
  7756. #define GL_IMAGE_MIN_FILTER_HP 0x815D
  7757. #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
  7758. #define GL_CUBIC_HP 0x815F
  7759. #define GL_AVERAGE_HP 0x8160
  7760. #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
  7761. #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  7762. #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  7763. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  7764. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  7765. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  7766. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  7767. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  7768. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  7769. #ifdef GL_GLEXT_PROTOTYPES
  7770. GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
  7771. GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
  7772. GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
  7773. GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
  7774. GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
  7775. GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
  7776. #endif
  7777. #endif /* GL_HP_image_transform */
  7778. #ifndef GL_HP_occlusion_test
  7779. #define GL_HP_occlusion_test 1
  7780. #define GL_OCCLUSION_TEST_HP 0x8165
  7781. #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
  7782. #endif /* GL_HP_occlusion_test */
  7783. #ifndef GL_HP_texture_lighting
  7784. #define GL_HP_texture_lighting 1
  7785. #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
  7786. #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
  7787. #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
  7788. #endif /* GL_HP_texture_lighting */
  7789. #ifndef GL_IBM_cull_vertex
  7790. #define GL_IBM_cull_vertex 1
  7791. #define GL_CULL_VERTEX_IBM 103050
  7792. #endif /* GL_IBM_cull_vertex */
  7793. #ifndef GL_IBM_multimode_draw_arrays
  7794. #define GL_IBM_multimode_draw_arrays 1
  7795. typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  7796. typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
  7797. #ifdef GL_GLEXT_PROTOTYPES
  7798. GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  7799. GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
  7800. #endif
  7801. #endif /* GL_IBM_multimode_draw_arrays */
  7802. #ifndef GL_IBM_rasterpos_clip
  7803. #define GL_IBM_rasterpos_clip 1
  7804. #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
  7805. #endif /* GL_IBM_rasterpos_clip */
  7806. #ifndef GL_IBM_static_data
  7807. #define GL_IBM_static_data 1
  7808. #define GL_ALL_STATIC_DATA_IBM 103060
  7809. #define GL_STATIC_VERTEX_ARRAY_IBM 103061
  7810. typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
  7811. #ifdef GL_GLEXT_PROTOTYPES
  7812. GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
  7813. #endif
  7814. #endif /* GL_IBM_static_data */
  7815. #ifndef GL_IBM_texture_mirrored_repeat
  7816. #define GL_IBM_texture_mirrored_repeat 1
  7817. #define GL_MIRRORED_REPEAT_IBM 0x8370
  7818. #endif /* GL_IBM_texture_mirrored_repeat */
  7819. #ifndef GL_IBM_vertex_array_lists
  7820. #define GL_IBM_vertex_array_lists 1
  7821. #define GL_VERTEX_ARRAY_LIST_IBM 103070
  7822. #define GL_NORMAL_ARRAY_LIST_IBM 103071
  7823. #define GL_COLOR_ARRAY_LIST_IBM 103072
  7824. #define GL_INDEX_ARRAY_LIST_IBM 103073
  7825. #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
  7826. #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
  7827. #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
  7828. #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  7829. #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
  7830. #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
  7831. #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
  7832. #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
  7833. #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  7834. #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  7835. #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  7836. #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  7837. typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7838. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7839. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
  7840. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7841. typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7842. typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7843. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7844. typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7845. #ifdef GL_GLEXT_PROTOTYPES
  7846. GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7847. GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7848. GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
  7849. GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7850. GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7851. GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7852. GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7853. GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  7854. #endif
  7855. #endif /* GL_IBM_vertex_array_lists */
  7856. #ifndef GL_INGR_blend_func_separate
  7857. #define GL_INGR_blend_func_separate 1
  7858. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  7859. #ifdef GL_GLEXT_PROTOTYPES
  7860. GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  7861. #endif
  7862. #endif /* GL_INGR_blend_func_separate */
  7863. #ifndef GL_INGR_color_clamp
  7864. #define GL_INGR_color_clamp 1
  7865. #define GL_RED_MIN_CLAMP_INGR 0x8560
  7866. #define GL_GREEN_MIN_CLAMP_INGR 0x8561
  7867. #define GL_BLUE_MIN_CLAMP_INGR 0x8562
  7868. #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
  7869. #define GL_RED_MAX_CLAMP_INGR 0x8564
  7870. #define GL_GREEN_MAX_CLAMP_INGR 0x8565
  7871. #define GL_BLUE_MAX_CLAMP_INGR 0x8566
  7872. #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
  7873. #endif /* GL_INGR_color_clamp */
  7874. #ifndef GL_INGR_interlace_read
  7875. #define GL_INGR_interlace_read 1
  7876. #define GL_INTERLACE_READ_INGR 0x8568
  7877. #endif /* GL_INGR_interlace_read */
  7878. #ifndef GL_INTEL_fragment_shader_ordering
  7879. #define GL_INTEL_fragment_shader_ordering 1
  7880. #endif /* GL_INTEL_fragment_shader_ordering */
  7881. #ifndef GL_INTEL_map_texture
  7882. #define GL_INTEL_map_texture 1
  7883. #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
  7884. #define GL_LAYOUT_DEFAULT_INTEL 0
  7885. #define GL_LAYOUT_LINEAR_INTEL 1
  7886. #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
  7887. typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
  7888. typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
  7889. typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
  7890. #ifdef GL_GLEXT_PROTOTYPES
  7891. GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
  7892. GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
  7893. GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
  7894. #endif
  7895. #endif /* GL_INTEL_map_texture */
  7896. #ifndef GL_INTEL_parallel_arrays
  7897. #define GL_INTEL_parallel_arrays 1
  7898. #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
  7899. #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  7900. #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  7901. #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  7902. #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  7903. typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  7904. typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
  7905. typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  7906. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  7907. #ifdef GL_GLEXT_PROTOTYPES
  7908. GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
  7909. GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
  7910. GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
  7911. GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
  7912. #endif
  7913. #endif /* GL_INTEL_parallel_arrays */
  7914. #ifndef GL_INTEL_performance_query
  7915. #define GL_INTEL_performance_query 1
  7916. #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
  7917. #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
  7918. #define GL_PERFQUERY_WAIT_INTEL 0x83FB
  7919. #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
  7920. #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
  7921. #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
  7922. #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
  7923. #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
  7924. #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
  7925. #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
  7926. #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
  7927. #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
  7928. #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
  7929. #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
  7930. #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
  7931. #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
  7932. #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
  7933. #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
  7934. #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
  7935. #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
  7936. typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
  7937. typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
  7938. typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
  7939. typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
  7940. typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
  7941. typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
  7942. 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);
  7943. typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
  7944. typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
  7945. typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  7946. #ifdef GL_GLEXT_PROTOTYPES
  7947. GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
  7948. GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
  7949. GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
  7950. GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
  7951. GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
  7952. GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
  7953. 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);
  7954. GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
  7955. GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
  7956. GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  7957. #endif
  7958. #endif /* GL_INTEL_performance_query */
  7959. #ifndef GL_MESAX_texture_stack
  7960. #define GL_MESAX_texture_stack 1
  7961. #define GL_TEXTURE_1D_STACK_MESAX 0x8759
  7962. #define GL_TEXTURE_2D_STACK_MESAX 0x875A
  7963. #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
  7964. #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
  7965. #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
  7966. #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
  7967. #endif /* GL_MESAX_texture_stack */
  7968. #ifndef GL_MESA_pack_invert
  7969. #define GL_MESA_pack_invert 1
  7970. #define GL_PACK_INVERT_MESA 0x8758
  7971. #endif /* GL_MESA_pack_invert */
  7972. #ifndef GL_MESA_resize_buffers
  7973. #define GL_MESA_resize_buffers 1
  7974. typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  7975. #ifdef GL_GLEXT_PROTOTYPES
  7976. GLAPI void APIENTRY glResizeBuffersMESA (void);
  7977. #endif
  7978. #endif /* GL_MESA_resize_buffers */
  7979. #ifndef GL_MESA_window_pos
  7980. #define GL_MESA_window_pos 1
  7981. typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  7982. typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  7983. typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  7984. typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  7985. typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  7986. typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  7987. typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  7988. typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  7989. typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  7990. typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  7991. typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  7992. typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  7993. typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  7994. typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  7995. typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  7996. typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  7997. typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7998. typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  7999. typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8000. typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  8001. typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  8002. typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  8003. typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  8004. typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  8005. #ifdef GL_GLEXT_PROTOTYPES
  8006. GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
  8007. GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
  8008. GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
  8009. GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
  8010. GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
  8011. GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
  8012. GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
  8013. GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
  8014. GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
  8015. GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
  8016. GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
  8017. GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
  8018. GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
  8019. GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
  8020. GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
  8021. GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
  8022. GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8023. GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
  8024. GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8025. GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
  8026. GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
  8027. GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
  8028. GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
  8029. GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
  8030. #endif
  8031. #endif /* GL_MESA_window_pos */
  8032. #ifndef GL_MESA_ycbcr_texture
  8033. #define GL_MESA_ycbcr_texture 1
  8034. #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
  8035. #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
  8036. #define GL_YCBCR_MESA 0x8757
  8037. #endif /* GL_MESA_ycbcr_texture */
  8038. #ifndef GL_NVX_conditional_render
  8039. #define GL_NVX_conditional_render 1
  8040. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
  8041. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
  8042. #ifdef GL_GLEXT_PROTOTYPES
  8043. GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
  8044. GLAPI void APIENTRY glEndConditionalRenderNVX (void);
  8045. #endif
  8046. #endif /* GL_NVX_conditional_render */
  8047. #ifndef GL_NVX_gpu_memory_info
  8048. #define GL_NVX_gpu_memory_info 1
  8049. #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
  8050. #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
  8051. #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
  8052. #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
  8053. #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
  8054. #endif /* GL_NVX_gpu_memory_info */
  8055. #ifndef GL_NV_bindless_multi_draw_indirect
  8056. #define GL_NV_bindless_multi_draw_indirect 1
  8057. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  8058. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  8059. #ifdef GL_GLEXT_PROTOTYPES
  8060. GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  8061. GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  8062. #endif
  8063. #endif /* GL_NV_bindless_multi_draw_indirect */
  8064. #ifndef GL_NV_bindless_texture
  8065. #define GL_NV_bindless_texture 1
  8066. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  8067. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  8068. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  8069. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  8070. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  8071. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  8072. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  8073. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  8074. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
  8075. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  8076. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  8077. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  8078. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  8079. #ifdef GL_GLEXT_PROTOTYPES
  8080. GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
  8081. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
  8082. GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
  8083. GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
  8084. GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  8085. GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
  8086. GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
  8087. GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
  8088. GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
  8089. GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
  8090. GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  8091. GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
  8092. GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
  8093. #endif
  8094. #endif /* GL_NV_bindless_texture */
  8095. #ifndef GL_NV_blend_equation_advanced
  8096. #define GL_NV_blend_equation_advanced 1
  8097. #define GL_BLEND_OVERLAP_NV 0x9281
  8098. #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
  8099. #define GL_BLUE_NV 0x1905
  8100. #define GL_COLORBURN_NV 0x929A
  8101. #define GL_COLORDODGE_NV 0x9299
  8102. #define GL_CONJOINT_NV 0x9284
  8103. #define GL_CONTRAST_NV 0x92A1
  8104. #define GL_DARKEN_NV 0x9297
  8105. #define GL_DIFFERENCE_NV 0x929E
  8106. #define GL_DISJOINT_NV 0x9283
  8107. #define GL_DST_ATOP_NV 0x928F
  8108. #define GL_DST_IN_NV 0x928B
  8109. #define GL_DST_NV 0x9287
  8110. #define GL_DST_OUT_NV 0x928D
  8111. #define GL_DST_OVER_NV 0x9289
  8112. #define GL_EXCLUSION_NV 0x92A0
  8113. #define GL_GREEN_NV 0x1904
  8114. #define GL_HARDLIGHT_NV 0x929B
  8115. #define GL_HARDMIX_NV 0x92A9
  8116. #define GL_HSL_COLOR_NV 0x92AF
  8117. #define GL_HSL_HUE_NV 0x92AD
  8118. #define GL_HSL_LUMINOSITY_NV 0x92B0
  8119. #define GL_HSL_SATURATION_NV 0x92AE
  8120. #define GL_INVERT_OVG_NV 0x92B4
  8121. #define GL_INVERT_RGB_NV 0x92A3
  8122. #define GL_LIGHTEN_NV 0x9298
  8123. #define GL_LINEARBURN_NV 0x92A5
  8124. #define GL_LINEARDODGE_NV 0x92A4
  8125. #define GL_LINEARLIGHT_NV 0x92A7
  8126. #define GL_MINUS_CLAMPED_NV 0x92B3
  8127. #define GL_MINUS_NV 0x929F
  8128. #define GL_MULTIPLY_NV 0x9294
  8129. #define GL_OVERLAY_NV 0x9296
  8130. #define GL_PINLIGHT_NV 0x92A8
  8131. #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
  8132. #define GL_PLUS_CLAMPED_NV 0x92B1
  8133. #define GL_PLUS_DARKER_NV 0x9292
  8134. #define GL_PLUS_NV 0x9291
  8135. #define GL_RED_NV 0x1903
  8136. #define GL_SCREEN_NV 0x9295
  8137. #define GL_SOFTLIGHT_NV 0x929C
  8138. #define GL_SRC_ATOP_NV 0x928E
  8139. #define GL_SRC_IN_NV 0x928A
  8140. #define GL_SRC_NV 0x9286
  8141. #define GL_SRC_OUT_NV 0x928C
  8142. #define GL_SRC_OVER_NV 0x9288
  8143. #define GL_UNCORRELATED_NV 0x9282
  8144. #define GL_VIVIDLIGHT_NV 0x92A6
  8145. #define GL_XOR_NV 0x1506
  8146. typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
  8147. typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
  8148. #ifdef GL_GLEXT_PROTOTYPES
  8149. GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
  8150. GLAPI void APIENTRY glBlendBarrierNV (void);
  8151. #endif
  8152. #endif /* GL_NV_blend_equation_advanced */
  8153. #ifndef GL_NV_blend_equation_advanced_coherent
  8154. #define GL_NV_blend_equation_advanced_coherent 1
  8155. #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
  8156. #endif /* GL_NV_blend_equation_advanced_coherent */
  8157. #ifndef GL_NV_blend_square
  8158. #define GL_NV_blend_square 1
  8159. #endif /* GL_NV_blend_square */
  8160. #ifndef GL_NV_compute_program5
  8161. #define GL_NV_compute_program5 1
  8162. #define GL_COMPUTE_PROGRAM_NV 0x90FB
  8163. #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
  8164. #endif /* GL_NV_compute_program5 */
  8165. #ifndef GL_NV_conditional_render
  8166. #define GL_NV_conditional_render 1
  8167. #define GL_QUERY_WAIT_NV 0x8E13
  8168. #define GL_QUERY_NO_WAIT_NV 0x8E14
  8169. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  8170. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  8171. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  8172. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  8173. #ifdef GL_GLEXT_PROTOTYPES
  8174. GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  8175. GLAPI void APIENTRY glEndConditionalRenderNV (void);
  8176. #endif
  8177. #endif /* GL_NV_conditional_render */
  8178. #ifndef GL_NV_copy_depth_to_color
  8179. #define GL_NV_copy_depth_to_color 1
  8180. #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
  8181. #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
  8182. #endif /* GL_NV_copy_depth_to_color */
  8183. #ifndef GL_NV_copy_image
  8184. #define GL_NV_copy_image 1
  8185. 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);
  8186. #ifdef GL_GLEXT_PROTOTYPES
  8187. 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);
  8188. #endif
  8189. #endif /* GL_NV_copy_image */
  8190. #ifndef GL_NV_deep_texture3D
  8191. #define GL_NV_deep_texture3D 1
  8192. #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
  8193. #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
  8194. #endif /* GL_NV_deep_texture3D */
  8195. #ifndef GL_NV_depth_buffer_float
  8196. #define GL_NV_depth_buffer_float 1
  8197. #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
  8198. #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
  8199. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
  8200. #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
  8201. typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
  8202. typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
  8203. typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
  8204. #ifdef GL_GLEXT_PROTOTYPES
  8205. GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
  8206. GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
  8207. GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
  8208. #endif
  8209. #endif /* GL_NV_depth_buffer_float */
  8210. #ifndef GL_NV_depth_clamp
  8211. #define GL_NV_depth_clamp 1
  8212. #define GL_DEPTH_CLAMP_NV 0x864F
  8213. #endif /* GL_NV_depth_clamp */
  8214. #ifndef GL_NV_draw_texture
  8215. #define GL_NV_draw_texture 1
  8216. 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);
  8217. #ifdef GL_GLEXT_PROTOTYPES
  8218. 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);
  8219. #endif
  8220. #endif /* GL_NV_draw_texture */
  8221. #ifndef GL_NV_evaluators
  8222. #define GL_NV_evaluators 1
  8223. #define GL_EVAL_2D_NV 0x86C0
  8224. #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
  8225. #define GL_MAP_TESSELLATION_NV 0x86C2
  8226. #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
  8227. #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
  8228. #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  8229. #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
  8230. #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
  8231. #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
  8232. #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
  8233. #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
  8234. #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
  8235. #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
  8236. #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
  8237. #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
  8238. #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
  8239. #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
  8240. #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
  8241. #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
  8242. #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
  8243. #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
  8244. #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
  8245. #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
  8246. #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
  8247. typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
  8248. typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
  8249. typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8250. typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
  8251. typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
  8252. typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
  8253. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  8254. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  8255. typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  8256. #ifdef GL_GLEXT_PROTOTYPES
  8257. GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
  8258. GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
  8259. GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
  8260. GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
  8261. GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
  8262. GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
  8263. GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
  8264. GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  8265. GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
  8266. #endif
  8267. #endif /* GL_NV_evaluators */
  8268. #ifndef GL_NV_explicit_multisample
  8269. #define GL_NV_explicit_multisample 1
  8270. #define GL_SAMPLE_POSITION_NV 0x8E50
  8271. #define GL_SAMPLE_MASK_NV 0x8E51
  8272. #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
  8273. #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
  8274. #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
  8275. #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
  8276. #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
  8277. #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
  8278. #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
  8279. #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
  8280. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
  8281. typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
  8282. typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
  8283. #ifdef GL_GLEXT_PROTOTYPES
  8284. GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
  8285. GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
  8286. GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
  8287. #endif
  8288. #endif /* GL_NV_explicit_multisample */
  8289. #ifndef GL_NV_fence
  8290. #define GL_NV_fence 1
  8291. #define GL_ALL_COMPLETED_NV 0x84F2
  8292. #define GL_FENCE_STATUS_NV 0x84F3
  8293. #define GL_FENCE_CONDITION_NV 0x84F4
  8294. typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  8295. typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  8296. typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  8297. typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  8298. typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  8299. typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  8300. typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  8301. #ifdef GL_GLEXT_PROTOTYPES
  8302. GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
  8303. GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
  8304. GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
  8305. GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
  8306. GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
  8307. GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
  8308. GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
  8309. #endif
  8310. #endif /* GL_NV_fence */
  8311. #ifndef GL_NV_float_buffer
  8312. #define GL_NV_float_buffer 1
  8313. #define GL_FLOAT_R_NV 0x8880
  8314. #define GL_FLOAT_RG_NV 0x8881
  8315. #define GL_FLOAT_RGB_NV 0x8882
  8316. #define GL_FLOAT_RGBA_NV 0x8883
  8317. #define GL_FLOAT_R16_NV 0x8884
  8318. #define GL_FLOAT_R32_NV 0x8885
  8319. #define GL_FLOAT_RG16_NV 0x8886
  8320. #define GL_FLOAT_RG32_NV 0x8887
  8321. #define GL_FLOAT_RGB16_NV 0x8888
  8322. #define GL_FLOAT_RGB32_NV 0x8889
  8323. #define GL_FLOAT_RGBA16_NV 0x888A
  8324. #define GL_FLOAT_RGBA32_NV 0x888B
  8325. #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
  8326. #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
  8327. #define GL_FLOAT_RGBA_MODE_NV 0x888E
  8328. #endif /* GL_NV_float_buffer */
  8329. #ifndef GL_NV_fog_distance
  8330. #define GL_NV_fog_distance 1
  8331. #define GL_FOG_DISTANCE_MODE_NV 0x855A
  8332. #define GL_EYE_RADIAL_NV 0x855B
  8333. #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
  8334. #endif /* GL_NV_fog_distance */
  8335. #ifndef GL_NV_fragment_program
  8336. #define GL_NV_fragment_program 1
  8337. #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  8338. #define GL_FRAGMENT_PROGRAM_NV 0x8870
  8339. #define GL_MAX_TEXTURE_COORDS_NV 0x8871
  8340. #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
  8341. #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
  8342. #define GL_PROGRAM_ERROR_STRING_NV 0x8874
  8343. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8344. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  8345. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8346. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  8347. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  8348. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  8349. #ifdef GL_GLEXT_PROTOTYPES
  8350. GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  8351. GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  8352. GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8353. GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  8354. GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  8355. GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  8356. #endif
  8357. #endif /* GL_NV_fragment_program */
  8358. #ifndef GL_NV_fragment_program2
  8359. #define GL_NV_fragment_program2 1
  8360. #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  8361. #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
  8362. #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
  8363. #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
  8364. #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
  8365. #endif /* GL_NV_fragment_program2 */
  8366. #ifndef GL_NV_fragment_program4
  8367. #define GL_NV_fragment_program4 1
  8368. #endif /* GL_NV_fragment_program4 */
  8369. #ifndef GL_NV_fragment_program_option
  8370. #define GL_NV_fragment_program_option 1
  8371. #endif /* GL_NV_fragment_program_option */
  8372. #ifndef GL_NV_framebuffer_multisample_coverage
  8373. #define GL_NV_framebuffer_multisample_coverage 1
  8374. #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
  8375. #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
  8376. #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
  8377. #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
  8378. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  8379. #ifdef GL_GLEXT_PROTOTYPES
  8380. GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  8381. #endif
  8382. #endif /* GL_NV_framebuffer_multisample_coverage */
  8383. #ifndef GL_NV_geometry_program4
  8384. #define GL_NV_geometry_program4 1
  8385. #define GL_GEOMETRY_PROGRAM_NV 0x8C26
  8386. #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
  8387. #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
  8388. typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
  8389. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  8390. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8391. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  8392. #ifdef GL_GLEXT_PROTOTYPES
  8393. GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
  8394. GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
  8395. GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8396. GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  8397. #endif
  8398. #endif /* GL_NV_geometry_program4 */
  8399. #ifndef GL_NV_geometry_shader4
  8400. #define GL_NV_geometry_shader4 1
  8401. #endif /* GL_NV_geometry_shader4 */
  8402. #ifndef GL_NV_gpu_program4
  8403. #define GL_NV_gpu_program4 1
  8404. #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
  8405. #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
  8406. #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
  8407. #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
  8408. #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
  8409. #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
  8410. #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
  8411. #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
  8412. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  8413. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  8414. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  8415. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  8416. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  8417. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  8418. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  8419. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  8420. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  8421. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  8422. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  8423. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  8424. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  8425. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  8426. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  8427. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  8428. #ifdef GL_GLEXT_PROTOTYPES
  8429. GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  8430. GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  8431. GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  8432. GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  8433. GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  8434. GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  8435. GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  8436. GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  8437. GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  8438. GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  8439. GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  8440. GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  8441. GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
  8442. GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  8443. GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
  8444. GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  8445. #endif
  8446. #endif /* GL_NV_gpu_program4 */
  8447. #ifndef GL_NV_gpu_program5
  8448. #define GL_NV_gpu_program5 1
  8449. #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
  8450. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
  8451. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
  8452. #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
  8453. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
  8454. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
  8455. #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
  8456. #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
  8457. typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
  8458. typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
  8459. #ifdef GL_GLEXT_PROTOTYPES
  8460. GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
  8461. GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
  8462. #endif
  8463. #endif /* GL_NV_gpu_program5 */
  8464. #ifndef GL_NV_gpu_program5_mem_extended
  8465. #define GL_NV_gpu_program5_mem_extended 1
  8466. #endif /* GL_NV_gpu_program5_mem_extended */
  8467. #ifndef GL_NV_gpu_shader5
  8468. #define GL_NV_gpu_shader5 1
  8469. #endif /* GL_NV_gpu_shader5 */
  8470. #ifndef GL_NV_half_float
  8471. #define GL_NV_half_float 1
  8472. typedef unsigned short GLhalfNV;
  8473. #define GL_HALF_FLOAT_NV 0x140B
  8474. typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
  8475. typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
  8476. typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8477. typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
  8478. typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8479. typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
  8480. typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  8481. typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
  8482. typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8483. typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
  8484. typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  8485. typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
  8486. typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
  8487. typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
  8488. typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
  8489. typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
  8490. typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8491. typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
  8492. typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8493. typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
  8494. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
  8495. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
  8496. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
  8497. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
  8498. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8499. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
  8500. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8501. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
  8502. typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
  8503. typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
  8504. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8505. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
  8506. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
  8507. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
  8508. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
  8509. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
  8510. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
  8511. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
  8512. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8513. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
  8514. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8515. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
  8516. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8517. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8518. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8519. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  8520. #ifdef GL_GLEXT_PROTOTYPES
  8521. GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
  8522. GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
  8523. GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8524. GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
  8525. GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8526. GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
  8527. GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  8528. GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
  8529. GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8530. GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
  8531. GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  8532. GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
  8533. GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
  8534. GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
  8535. GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
  8536. GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
  8537. GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8538. GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
  8539. GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8540. GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
  8541. GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
  8542. GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
  8543. GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
  8544. GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
  8545. GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  8546. GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
  8547. GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  8548. GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
  8549. GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
  8550. GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
  8551. GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  8552. GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
  8553. GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
  8554. GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
  8555. GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
  8556. GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
  8557. GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
  8558. GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
  8559. GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  8560. GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
  8561. GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  8562. GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
  8563. GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8564. GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8565. GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8566. GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  8567. #endif
  8568. #endif /* GL_NV_half_float */
  8569. #ifndef GL_NV_light_max_exponent
  8570. #define GL_NV_light_max_exponent 1
  8571. #define GL_MAX_SHININESS_NV 0x8504
  8572. #define GL_MAX_SPOT_EXPONENT_NV 0x8505
  8573. #endif /* GL_NV_light_max_exponent */
  8574. #ifndef GL_NV_multisample_coverage
  8575. #define GL_NV_multisample_coverage 1
  8576. #define GL_COLOR_SAMPLES_NV 0x8E20
  8577. #endif /* GL_NV_multisample_coverage */
  8578. #ifndef GL_NV_multisample_filter_hint
  8579. #define GL_NV_multisample_filter_hint 1
  8580. #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
  8581. #endif /* GL_NV_multisample_filter_hint */
  8582. #ifndef GL_NV_occlusion_query
  8583. #define GL_NV_occlusion_query 1
  8584. #define GL_PIXEL_COUNTER_BITS_NV 0x8864
  8585. #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
  8586. #define GL_PIXEL_COUNT_NV 0x8866
  8587. #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
  8588. typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
  8589. typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
  8590. typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
  8591. typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
  8592. typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
  8593. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  8594. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
  8595. #ifdef GL_GLEXT_PROTOTYPES
  8596. GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
  8597. GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
  8598. GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
  8599. GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
  8600. GLAPI void APIENTRY glEndOcclusionQueryNV (void);
  8601. GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
  8602. GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
  8603. #endif
  8604. #endif /* GL_NV_occlusion_query */
  8605. #ifndef GL_NV_packed_depth_stencil
  8606. #define GL_NV_packed_depth_stencil 1
  8607. #define GL_DEPTH_STENCIL_NV 0x84F9
  8608. #define GL_UNSIGNED_INT_24_8_NV 0x84FA
  8609. #endif /* GL_NV_packed_depth_stencil */
  8610. #ifndef GL_NV_parameter_buffer_object
  8611. #define GL_NV_parameter_buffer_object 1
  8612. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
  8613. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
  8614. #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
  8615. #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
  8616. #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
  8617. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
  8618. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
  8619. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
  8620. #ifdef GL_GLEXT_PROTOTYPES
  8621. GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
  8622. GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
  8623. GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
  8624. #endif
  8625. #endif /* GL_NV_parameter_buffer_object */
  8626. #ifndef GL_NV_parameter_buffer_object2
  8627. #define GL_NV_parameter_buffer_object2 1
  8628. #endif /* GL_NV_parameter_buffer_object2 */
  8629. #ifndef GL_NV_path_rendering
  8630. #define GL_NV_path_rendering 1
  8631. #define GL_PATH_FORMAT_SVG_NV 0x9070
  8632. #define GL_PATH_FORMAT_PS_NV 0x9071
  8633. #define GL_STANDARD_FONT_NAME_NV 0x9072
  8634. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  8635. #define GL_FILE_NAME_NV 0x9074
  8636. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  8637. #define GL_PATH_END_CAPS_NV 0x9076
  8638. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  8639. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  8640. #define GL_PATH_JOIN_STYLE_NV 0x9079
  8641. #define GL_PATH_MITER_LIMIT_NV 0x907A
  8642. #define GL_PATH_DASH_CAPS_NV 0x907B
  8643. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  8644. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  8645. #define GL_PATH_DASH_OFFSET_NV 0x907E
  8646. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  8647. #define GL_PATH_FILL_MODE_NV 0x9080
  8648. #define GL_PATH_FILL_MASK_NV 0x9081
  8649. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  8650. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  8651. #define GL_PATH_STROKE_MASK_NV 0x9084
  8652. #define GL_COUNT_UP_NV 0x9088
  8653. #define GL_COUNT_DOWN_NV 0x9089
  8654. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  8655. #define GL_CONVEX_HULL_NV 0x908B
  8656. #define GL_BOUNDING_BOX_NV 0x908D
  8657. #define GL_TRANSLATE_X_NV 0x908E
  8658. #define GL_TRANSLATE_Y_NV 0x908F
  8659. #define GL_TRANSLATE_2D_NV 0x9090
  8660. #define GL_TRANSLATE_3D_NV 0x9091
  8661. #define GL_AFFINE_2D_NV 0x9092
  8662. #define GL_AFFINE_3D_NV 0x9094
  8663. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  8664. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  8665. #define GL_UTF8_NV 0x909A
  8666. #define GL_UTF16_NV 0x909B
  8667. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  8668. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  8669. #define GL_PATH_COORD_COUNT_NV 0x909E
  8670. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  8671. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  8672. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  8673. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  8674. #define GL_SQUARE_NV 0x90A3
  8675. #define GL_ROUND_NV 0x90A4
  8676. #define GL_TRIANGULAR_NV 0x90A5
  8677. #define GL_BEVEL_NV 0x90A6
  8678. #define GL_MITER_REVERT_NV 0x90A7
  8679. #define GL_MITER_TRUNCATE_NV 0x90A8
  8680. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  8681. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  8682. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  8683. #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
  8684. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  8685. #define GL_ADJACENT_PAIRS_NV 0x90AE
  8686. #define GL_FIRST_TO_REST_NV 0x90AF
  8687. #define GL_PATH_GEN_MODE_NV 0x90B0
  8688. #define GL_PATH_GEN_COEFF_NV 0x90B1
  8689. #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
  8690. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  8691. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  8692. #define GL_PATH_STENCIL_REF_NV 0x90B8
  8693. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  8694. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  8695. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  8696. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  8697. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  8698. #define GL_MOVE_TO_RESETS_NV 0x90B5
  8699. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  8700. #define GL_CLOSE_PATH_NV 0x00
  8701. #define GL_MOVE_TO_NV 0x02
  8702. #define GL_RELATIVE_MOVE_TO_NV 0x03
  8703. #define GL_LINE_TO_NV 0x04
  8704. #define GL_RELATIVE_LINE_TO_NV 0x05
  8705. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  8706. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  8707. #define GL_VERTICAL_LINE_TO_NV 0x08
  8708. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  8709. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  8710. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  8711. #define GL_CUBIC_CURVE_TO_NV 0x0C
  8712. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  8713. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  8714. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  8715. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  8716. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  8717. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  8718. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  8719. #define GL_SMALL_CW_ARC_TO_NV 0x14
  8720. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  8721. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  8722. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  8723. #define GL_LARGE_CW_ARC_TO_NV 0x18
  8724. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  8725. #define GL_RESTART_PATH_NV 0xF0
  8726. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  8727. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  8728. #define GL_RECT_NV 0xF6
  8729. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  8730. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  8731. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  8732. #define GL_ARC_TO_NV 0xFE
  8733. #define GL_RELATIVE_ARC_TO_NV 0xFF
  8734. #define GL_BOLD_BIT_NV 0x01
  8735. #define GL_ITALIC_BIT_NV 0x02
  8736. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  8737. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  8738. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  8739. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  8740. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  8741. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  8742. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  8743. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  8744. #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
  8745. #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
  8746. #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
  8747. #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
  8748. #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
  8749. #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
  8750. #define GL_FONT_ASCENDER_BIT_NV 0x00200000
  8751. #define GL_FONT_DESCENDER_BIT_NV 0x00400000
  8752. #define GL_FONT_HEIGHT_BIT_NV 0x00800000
  8753. #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
  8754. #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
  8755. #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
  8756. #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
  8757. #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
  8758. #define GL_PRIMARY_COLOR_NV 0x852C
  8759. #define GL_SECONDARY_COLOR_NV 0x852D
  8760. typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
  8761. typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  8762. typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
  8763. typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  8764. typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  8765. typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  8766. typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  8767. typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
  8768. 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);
  8769. typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  8770. typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  8771. typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  8772. typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  8773. typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  8774. typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
  8775. typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  8776. typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
  8777. typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  8778. typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  8779. typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  8780. typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  8781. typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  8782. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  8783. typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  8784. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  8785. typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
  8786. typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  8787. typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  8788. typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
  8789. typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  8790. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
  8791. typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  8792. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  8793. typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
  8794. typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
  8795. typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
  8796. typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
  8797. typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
  8798. typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  8799. typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  8800. typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  8801. typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
  8802. typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
  8803. typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
  8804. typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
  8805. typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  8806. typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  8807. typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  8808. typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  8809. #ifdef GL_GLEXT_PROTOTYPES
  8810. GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
  8811. GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
  8812. GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
  8813. GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  8814. GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  8815. GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  8816. GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  8817. GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
  8818. 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);
  8819. GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  8820. GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  8821. GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
  8822. GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  8823. GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  8824. GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
  8825. GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
  8826. GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
  8827. GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
  8828. GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  8829. GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
  8830. GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
  8831. GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
  8832. GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
  8833. GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  8834. GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  8835. GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
  8836. GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  8837. GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  8838. GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
  8839. GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
  8840. GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
  8841. GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  8842. GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  8843. GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
  8844. GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
  8845. GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
  8846. GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
  8847. GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
  8848. GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  8849. GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  8850. GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  8851. GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
  8852. GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
  8853. GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
  8854. GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
  8855. GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  8856. GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
  8857. GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
  8858. GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  8859. #endif
  8860. #endif /* GL_NV_path_rendering */
  8861. #ifndef GL_NV_pixel_data_range
  8862. #define GL_NV_pixel_data_range 1
  8863. #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
  8864. #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
  8865. #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  8866. #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  8867. #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  8868. #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  8869. typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
  8870. typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
  8871. #ifdef GL_GLEXT_PROTOTYPES
  8872. GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
  8873. GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
  8874. #endif
  8875. #endif /* GL_NV_pixel_data_range */
  8876. #ifndef GL_NV_point_sprite
  8877. #define GL_NV_point_sprite 1
  8878. #define GL_POINT_SPRITE_NV 0x8861
  8879. #define GL_COORD_REPLACE_NV 0x8862
  8880. #define GL_POINT_SPRITE_R_MODE_NV 0x8863
  8881. typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
  8882. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  8883. #ifdef GL_GLEXT_PROTOTYPES
  8884. GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
  8885. GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
  8886. #endif
  8887. #endif /* GL_NV_point_sprite */
  8888. #ifndef GL_NV_present_video
  8889. #define GL_NV_present_video 1
  8890. #define GL_FRAME_NV 0x8E26
  8891. #define GL_FIELDS_NV 0x8E27
  8892. #define GL_CURRENT_TIME_NV 0x8E28
  8893. #define GL_NUM_FILL_STREAMS_NV 0x8E29
  8894. #define GL_PRESENT_TIME_NV 0x8E2A
  8895. #define GL_PRESENT_DURATION_NV 0x8E2B
  8896. 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);
  8897. 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);
  8898. typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
  8899. typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
  8900. typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
  8901. typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  8902. #ifdef GL_GLEXT_PROTOTYPES
  8903. 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);
  8904. 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);
  8905. GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
  8906. GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
  8907. GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
  8908. GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  8909. #endif
  8910. #endif /* GL_NV_present_video */
  8911. #ifndef GL_NV_primitive_restart
  8912. #define GL_NV_primitive_restart 1
  8913. #define GL_PRIMITIVE_RESTART_NV 0x8558
  8914. #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
  8915. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
  8916. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
  8917. #ifdef GL_GLEXT_PROTOTYPES
  8918. GLAPI void APIENTRY glPrimitiveRestartNV (void);
  8919. GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
  8920. #endif
  8921. #endif /* GL_NV_primitive_restart */
  8922. #ifndef GL_NV_register_combiners
  8923. #define GL_NV_register_combiners 1
  8924. #define GL_REGISTER_COMBINERS_NV 0x8522
  8925. #define GL_VARIABLE_A_NV 0x8523
  8926. #define GL_VARIABLE_B_NV 0x8524
  8927. #define GL_VARIABLE_C_NV 0x8525
  8928. #define GL_VARIABLE_D_NV 0x8526
  8929. #define GL_VARIABLE_E_NV 0x8527
  8930. #define GL_VARIABLE_F_NV 0x8528
  8931. #define GL_VARIABLE_G_NV 0x8529
  8932. #define GL_CONSTANT_COLOR0_NV 0x852A
  8933. #define GL_CONSTANT_COLOR1_NV 0x852B
  8934. #define GL_SPARE0_NV 0x852E
  8935. #define GL_SPARE1_NV 0x852F
  8936. #define GL_DISCARD_NV 0x8530
  8937. #define GL_E_TIMES_F_NV 0x8531
  8938. #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  8939. #define GL_UNSIGNED_IDENTITY_NV 0x8536
  8940. #define GL_UNSIGNED_INVERT_NV 0x8537
  8941. #define GL_EXPAND_NORMAL_NV 0x8538
  8942. #define GL_EXPAND_NEGATE_NV 0x8539
  8943. #define GL_HALF_BIAS_NORMAL_NV 0x853A
  8944. #define GL_HALF_BIAS_NEGATE_NV 0x853B
  8945. #define GL_SIGNED_IDENTITY_NV 0x853C
  8946. #define GL_SIGNED_NEGATE_NV 0x853D
  8947. #define GL_SCALE_BY_TWO_NV 0x853E
  8948. #define GL_SCALE_BY_FOUR_NV 0x853F
  8949. #define GL_SCALE_BY_ONE_HALF_NV 0x8540
  8950. #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
  8951. #define GL_COMBINER_INPUT_NV 0x8542
  8952. #define GL_COMBINER_MAPPING_NV 0x8543
  8953. #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
  8954. #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
  8955. #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
  8956. #define GL_COMBINER_MUX_SUM_NV 0x8547
  8957. #define GL_COMBINER_SCALE_NV 0x8548
  8958. #define GL_COMBINER_BIAS_NV 0x8549
  8959. #define GL_COMBINER_AB_OUTPUT_NV 0x854A
  8960. #define GL_COMBINER_CD_OUTPUT_NV 0x854B
  8961. #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
  8962. #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
  8963. #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
  8964. #define GL_COLOR_SUM_CLAMP_NV 0x854F
  8965. #define GL_COMBINER0_NV 0x8550
  8966. #define GL_COMBINER1_NV 0x8551
  8967. #define GL_COMBINER2_NV 0x8552
  8968. #define GL_COMBINER3_NV 0x8553
  8969. #define GL_COMBINER4_NV 0x8554
  8970. #define GL_COMBINER5_NV 0x8555
  8971. #define GL_COMBINER6_NV 0x8556
  8972. #define GL_COMBINER7_NV 0x8557
  8973. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  8974. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  8975. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  8976. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  8977. typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  8978. typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  8979. typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  8980. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  8981. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  8982. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  8983. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  8984. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  8985. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  8986. #ifdef GL_GLEXT_PROTOTYPES
  8987. GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
  8988. GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
  8989. GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
  8990. GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
  8991. GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  8992. GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  8993. GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  8994. GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  8995. GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  8996. GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  8997. GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  8998. GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
  8999. GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
  9000. #endif
  9001. #endif /* GL_NV_register_combiners */
  9002. #ifndef GL_NV_register_combiners2
  9003. #define GL_NV_register_combiners2 1
  9004. #define GL_PER_STAGE_CONSTANTS_NV 0x8535
  9005. typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
  9006. typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
  9007. #ifdef GL_GLEXT_PROTOTYPES
  9008. GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
  9009. GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
  9010. #endif
  9011. #endif /* GL_NV_register_combiners2 */
  9012. #ifndef GL_NV_shader_atomic_counters
  9013. #define GL_NV_shader_atomic_counters 1
  9014. #endif /* GL_NV_shader_atomic_counters */
  9015. #ifndef GL_NV_shader_atomic_float
  9016. #define GL_NV_shader_atomic_float 1
  9017. #endif /* GL_NV_shader_atomic_float */
  9018. #ifndef GL_NV_shader_buffer_load
  9019. #define GL_NV_shader_buffer_load 1
  9020. #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
  9021. #define GL_GPU_ADDRESS_NV 0x8F34
  9022. #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
  9023. typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
  9024. typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
  9025. typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
  9026. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
  9027. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
  9028. typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
  9029. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
  9030. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
  9031. typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
  9032. typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
  9033. typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  9034. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
  9035. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  9036. #ifdef GL_GLEXT_PROTOTYPES
  9037. GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
  9038. GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
  9039. GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
  9040. GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
  9041. GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
  9042. GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
  9043. GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
  9044. GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
  9045. GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
  9046. GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
  9047. GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  9048. GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
  9049. GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  9050. #endif
  9051. #endif /* GL_NV_shader_buffer_load */
  9052. #ifndef GL_NV_shader_buffer_store
  9053. #define GL_NV_shader_buffer_store 1
  9054. #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
  9055. #endif /* GL_NV_shader_buffer_store */
  9056. #ifndef GL_NV_shader_storage_buffer_object
  9057. #define GL_NV_shader_storage_buffer_object 1
  9058. #endif /* GL_NV_shader_storage_buffer_object */
  9059. #ifndef GL_NV_shader_thread_group
  9060. #define GL_NV_shader_thread_group 1
  9061. #define GL_WARP_SIZE_NV 0x9339
  9062. #define GL_WARPS_PER_SM_NV 0x933A
  9063. #define GL_SM_COUNT_NV 0x933B
  9064. #endif /* GL_NV_shader_thread_group */
  9065. #ifndef GL_NV_shader_thread_shuffle
  9066. #define GL_NV_shader_thread_shuffle 1
  9067. #endif /* GL_NV_shader_thread_shuffle */
  9068. #ifndef GL_NV_tessellation_program5
  9069. #define GL_NV_tessellation_program5 1
  9070. #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
  9071. #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
  9072. #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
  9073. #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
  9074. #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
  9075. #endif /* GL_NV_tessellation_program5 */
  9076. #ifndef GL_NV_texgen_emboss
  9077. #define GL_NV_texgen_emboss 1
  9078. #define GL_EMBOSS_LIGHT_NV 0x855D
  9079. #define GL_EMBOSS_CONSTANT_NV 0x855E
  9080. #define GL_EMBOSS_MAP_NV 0x855F
  9081. #endif /* GL_NV_texgen_emboss */
  9082. #ifndef GL_NV_texgen_reflection
  9083. #define GL_NV_texgen_reflection 1
  9084. #define GL_NORMAL_MAP_NV 0x8511
  9085. #define GL_REFLECTION_MAP_NV 0x8512
  9086. #endif /* GL_NV_texgen_reflection */
  9087. #ifndef GL_NV_texture_barrier
  9088. #define GL_NV_texture_barrier 1
  9089. typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
  9090. #ifdef GL_GLEXT_PROTOTYPES
  9091. GLAPI void APIENTRY glTextureBarrierNV (void);
  9092. #endif
  9093. #endif /* GL_NV_texture_barrier */
  9094. #ifndef GL_NV_texture_compression_vtc
  9095. #define GL_NV_texture_compression_vtc 1
  9096. #endif /* GL_NV_texture_compression_vtc */
  9097. #ifndef GL_NV_texture_env_combine4
  9098. #define GL_NV_texture_env_combine4 1
  9099. #define GL_COMBINE4_NV 0x8503
  9100. #define GL_SOURCE3_RGB_NV 0x8583
  9101. #define GL_SOURCE3_ALPHA_NV 0x858B
  9102. #define GL_OPERAND3_RGB_NV 0x8593
  9103. #define GL_OPERAND3_ALPHA_NV 0x859B
  9104. #endif /* GL_NV_texture_env_combine4 */
  9105. #ifndef GL_NV_texture_expand_normal
  9106. #define GL_NV_texture_expand_normal 1
  9107. #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  9108. #endif /* GL_NV_texture_expand_normal */
  9109. #ifndef GL_NV_texture_multisample
  9110. #define GL_NV_texture_multisample 1
  9111. #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
  9112. #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
  9113. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9114. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9115. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9116. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9117. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9118. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9119. #ifdef GL_GLEXT_PROTOTYPES
  9120. GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9121. GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9122. GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9123. GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9124. GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  9125. GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  9126. #endif
  9127. #endif /* GL_NV_texture_multisample */
  9128. #ifndef GL_NV_texture_rectangle
  9129. #define GL_NV_texture_rectangle 1
  9130. #define GL_TEXTURE_RECTANGLE_NV 0x84F5
  9131. #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
  9132. #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
  9133. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
  9134. #endif /* GL_NV_texture_rectangle */
  9135. #ifndef GL_NV_texture_shader
  9136. #define GL_NV_texture_shader 1
  9137. #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
  9138. #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  9139. #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  9140. #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  9141. #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
  9142. #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
  9143. #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
  9144. #define GL_SHADER_CONSISTENT_NV 0x86DD
  9145. #define GL_TEXTURE_SHADER_NV 0x86DE
  9146. #define GL_SHADER_OPERATION_NV 0x86DF
  9147. #define GL_CULL_MODES_NV 0x86E0
  9148. #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
  9149. #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
  9150. #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
  9151. #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
  9152. #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
  9153. #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
  9154. #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
  9155. #define GL_CONST_EYE_NV 0x86E5
  9156. #define GL_PASS_THROUGH_NV 0x86E6
  9157. #define GL_CULL_FRAGMENT_NV 0x86E7
  9158. #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
  9159. #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
  9160. #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
  9161. #define GL_DOT_PRODUCT_NV 0x86EC
  9162. #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
  9163. #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
  9164. #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  9165. #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  9166. #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  9167. #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  9168. #define GL_HILO_NV 0x86F4
  9169. #define GL_DSDT_NV 0x86F5
  9170. #define GL_DSDT_MAG_NV 0x86F6
  9171. #define GL_DSDT_MAG_VIB_NV 0x86F7
  9172. #define GL_HILO16_NV 0x86F8
  9173. #define GL_SIGNED_HILO_NV 0x86F9
  9174. #define GL_SIGNED_HILO16_NV 0x86FA
  9175. #define GL_SIGNED_RGBA_NV 0x86FB
  9176. #define GL_SIGNED_RGBA8_NV 0x86FC
  9177. #define GL_SIGNED_RGB_NV 0x86FE
  9178. #define GL_SIGNED_RGB8_NV 0x86FF
  9179. #define GL_SIGNED_LUMINANCE_NV 0x8701
  9180. #define GL_SIGNED_LUMINANCE8_NV 0x8702
  9181. #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
  9182. #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
  9183. #define GL_SIGNED_ALPHA_NV 0x8705
  9184. #define GL_SIGNED_ALPHA8_NV 0x8706
  9185. #define GL_SIGNED_INTENSITY_NV 0x8707
  9186. #define GL_SIGNED_INTENSITY8_NV 0x8708
  9187. #define GL_DSDT8_NV 0x8709
  9188. #define GL_DSDT8_MAG8_NV 0x870A
  9189. #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
  9190. #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
  9191. #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  9192. #define GL_HI_SCALE_NV 0x870E
  9193. #define GL_LO_SCALE_NV 0x870F
  9194. #define GL_DS_SCALE_NV 0x8710
  9195. #define GL_DT_SCALE_NV 0x8711
  9196. #define GL_MAGNITUDE_SCALE_NV 0x8712
  9197. #define GL_VIBRANCE_SCALE_NV 0x8713
  9198. #define GL_HI_BIAS_NV 0x8714
  9199. #define GL_LO_BIAS_NV 0x8715
  9200. #define GL_DS_BIAS_NV 0x8716
  9201. #define GL_DT_BIAS_NV 0x8717
  9202. #define GL_MAGNITUDE_BIAS_NV 0x8718
  9203. #define GL_VIBRANCE_BIAS_NV 0x8719
  9204. #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
  9205. #define GL_TEXTURE_HI_SIZE_NV 0x871B
  9206. #define GL_TEXTURE_LO_SIZE_NV 0x871C
  9207. #define GL_TEXTURE_DS_SIZE_NV 0x871D
  9208. #define GL_TEXTURE_DT_SIZE_NV 0x871E
  9209. #define GL_TEXTURE_MAG_SIZE_NV 0x871F
  9210. #endif /* GL_NV_texture_shader */
  9211. #ifndef GL_NV_texture_shader2
  9212. #define GL_NV_texture_shader2 1
  9213. #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
  9214. #endif /* GL_NV_texture_shader2 */
  9215. #ifndef GL_NV_texture_shader3
  9216. #define GL_NV_texture_shader3 1
  9217. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  9218. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  9219. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  9220. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  9221. #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
  9222. #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  9223. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  9224. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  9225. #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
  9226. #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
  9227. #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  9228. #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
  9229. #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
  9230. #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  9231. #define GL_HILO8_NV 0x885E
  9232. #define GL_SIGNED_HILO8_NV 0x885F
  9233. #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
  9234. #endif /* GL_NV_texture_shader3 */
  9235. #ifndef GL_NV_transform_feedback
  9236. #define GL_NV_transform_feedback 1
  9237. #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
  9238. #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
  9239. #define GL_TEXTURE_COORD_NV 0x8C79
  9240. #define GL_CLIP_DISTANCE_NV 0x8C7A
  9241. #define GL_VERTEX_ID_NV 0x8C7B
  9242. #define GL_PRIMITIVE_ID_NV 0x8C7C
  9243. #define GL_GENERIC_ATTRIB_NV 0x8C7D
  9244. #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
  9245. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
  9246. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
  9247. #define GL_ACTIVE_VARYINGS_NV 0x8C81
  9248. #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
  9249. #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
  9250. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
  9251. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
  9252. #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
  9253. #define GL_PRIMITIVES_GENERATED_NV 0x8C87
  9254. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
  9255. #define GL_RASTERIZER_DISCARD_NV 0x8C89
  9256. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
  9257. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
  9258. #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
  9259. #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
  9260. #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
  9261. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
  9262. #define GL_LAYER_NV 0x8DAA
  9263. #define GL_NEXT_BUFFER_NV -2
  9264. #define GL_SKIP_COMPONENTS4_NV -3
  9265. #define GL_SKIP_COMPONENTS3_NV -4
  9266. #define GL_SKIP_COMPONENTS2_NV -5
  9267. #define GL_SKIP_COMPONENTS1_NV -6
  9268. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
  9269. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
  9270. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
  9271. typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  9272. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  9273. typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
  9274. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  9275. typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
  9276. typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
  9277. typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  9278. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
  9279. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  9280. #ifdef GL_GLEXT_PROTOTYPES
  9281. GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
  9282. GLAPI void APIENTRY glEndTransformFeedbackNV (void);
  9283. GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
  9284. GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  9285. GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  9286. GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
  9287. GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  9288. GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
  9289. GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
  9290. GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  9291. GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
  9292. GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  9293. #endif
  9294. #endif /* GL_NV_transform_feedback */
  9295. #ifndef GL_NV_transform_feedback2
  9296. #define GL_NV_transform_feedback2 1
  9297. #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
  9298. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
  9299. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
  9300. #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
  9301. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
  9302. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
  9303. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
  9304. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
  9305. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
  9306. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
  9307. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
  9308. #ifdef GL_GLEXT_PROTOTYPES
  9309. GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
  9310. GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
  9311. GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
  9312. GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
  9313. GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
  9314. GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
  9315. GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
  9316. #endif
  9317. #endif /* GL_NV_transform_feedback2 */
  9318. #ifndef GL_NV_vdpau_interop
  9319. #define GL_NV_vdpau_interop 1
  9320. typedef GLintptr GLvdpauSurfaceNV;
  9321. #define GL_SURFACE_STATE_NV 0x86EB
  9322. #define GL_SURFACE_REGISTERED_NV 0x86FD
  9323. #define GL_SURFACE_MAPPED_NV 0x8700
  9324. #define GL_WRITE_DISCARD_NV 0x88BE
  9325. typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
  9326. typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
  9327. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  9328. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  9329. typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
  9330. typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
  9331. typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  9332. typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
  9333. typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  9334. typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  9335. #ifdef GL_GLEXT_PROTOTYPES
  9336. GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
  9337. GLAPI void APIENTRY glVDPAUFiniNV (void);
  9338. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  9339. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  9340. GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
  9341. GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
  9342. GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  9343. GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
  9344. GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  9345. GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  9346. #endif
  9347. #endif /* GL_NV_vdpau_interop */
  9348. #ifndef GL_NV_vertex_array_range
  9349. #define GL_NV_vertex_array_range 1
  9350. #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
  9351. #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
  9352. #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
  9353. #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  9354. #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
  9355. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  9356. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
  9357. #ifdef GL_GLEXT_PROTOTYPES
  9358. GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  9359. GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
  9360. #endif
  9361. #endif /* GL_NV_vertex_array_range */
  9362. #ifndef GL_NV_vertex_array_range2
  9363. #define GL_NV_vertex_array_range2 1
  9364. #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  9365. #endif /* GL_NV_vertex_array_range2 */
  9366. #ifndef GL_NV_vertex_attrib_integer_64bit
  9367. #define GL_NV_vertex_attrib_integer_64bit 1
  9368. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
  9369. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
  9370. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  9371. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  9372. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
  9373. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
  9374. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
  9375. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
  9376. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
  9377. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
  9378. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  9379. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  9380. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  9381. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  9382. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  9383. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  9384. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
  9385. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  9386. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  9387. #ifdef GL_GLEXT_PROTOTYPES
  9388. GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
  9389. GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
  9390. GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  9391. GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  9392. GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
  9393. GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
  9394. GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
  9395. GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
  9396. GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
  9397. GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
  9398. GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  9399. GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  9400. GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
  9401. GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
  9402. GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
  9403. GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
  9404. GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
  9405. GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
  9406. GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  9407. #endif
  9408. #endif /* GL_NV_vertex_attrib_integer_64bit */
  9409. #ifndef GL_NV_vertex_buffer_unified_memory
  9410. #define GL_NV_vertex_buffer_unified_memory 1
  9411. #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
  9412. #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
  9413. #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
  9414. #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
  9415. #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
  9416. #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
  9417. #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
  9418. #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
  9419. #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
  9420. #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
  9421. #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
  9422. #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
  9423. #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
  9424. #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
  9425. #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
  9426. #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
  9427. #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
  9428. #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
  9429. #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
  9430. #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
  9431. #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
  9432. #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
  9433. #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
  9434. #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
  9435. #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
  9436. typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  9437. typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  9438. typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
  9439. typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  9440. typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
  9441. typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  9442. typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
  9443. typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  9444. typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
  9445. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  9446. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  9447. typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
  9448. #ifdef GL_GLEXT_PROTOTYPES
  9449. GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  9450. GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
  9451. GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
  9452. GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
  9453. GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
  9454. GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
  9455. GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
  9456. GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
  9457. GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
  9458. GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  9459. GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  9460. GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
  9461. #endif
  9462. #endif /* GL_NV_vertex_buffer_unified_memory */
  9463. #ifndef GL_NV_vertex_program
  9464. #define GL_NV_vertex_program 1
  9465. #define GL_VERTEX_PROGRAM_NV 0x8620
  9466. #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
  9467. #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
  9468. #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
  9469. #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
  9470. #define GL_CURRENT_ATTRIB_NV 0x8626
  9471. #define GL_PROGRAM_LENGTH_NV 0x8627
  9472. #define GL_PROGRAM_STRING_NV 0x8628
  9473. #define GL_MODELVIEW_PROJECTION_NV 0x8629
  9474. #define GL_IDENTITY_NV 0x862A
  9475. #define GL_INVERSE_NV 0x862B
  9476. #define GL_TRANSPOSE_NV 0x862C
  9477. #define GL_INVERSE_TRANSPOSE_NV 0x862D
  9478. #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  9479. #define GL_MAX_TRACK_MATRICES_NV 0x862F
  9480. #define GL_MATRIX0_NV 0x8630
  9481. #define GL_MATRIX1_NV 0x8631
  9482. #define GL_MATRIX2_NV 0x8632
  9483. #define GL_MATRIX3_NV 0x8633
  9484. #define GL_MATRIX4_NV 0x8634
  9485. #define GL_MATRIX5_NV 0x8635
  9486. #define GL_MATRIX6_NV 0x8636
  9487. #define GL_MATRIX7_NV 0x8637
  9488. #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
  9489. #define GL_CURRENT_MATRIX_NV 0x8641
  9490. #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
  9491. #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
  9492. #define GL_PROGRAM_PARAMETER_NV 0x8644
  9493. #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
  9494. #define GL_PROGRAM_TARGET_NV 0x8646
  9495. #define GL_PROGRAM_RESIDENT_NV 0x8647
  9496. #define GL_TRACK_MATRIX_NV 0x8648
  9497. #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
  9498. #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
  9499. #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
  9500. #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
  9501. #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
  9502. #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
  9503. #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
  9504. #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
  9505. #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
  9506. #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
  9507. #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
  9508. #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
  9509. #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
  9510. #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
  9511. #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
  9512. #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
  9513. #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
  9514. #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
  9515. #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
  9516. #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
  9517. #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
  9518. #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
  9519. #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
  9520. #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
  9521. #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
  9522. #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
  9523. #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
  9524. #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
  9525. #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
  9526. #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
  9527. #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
  9528. #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
  9529. #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
  9530. #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
  9531. #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
  9532. #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
  9533. #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
  9534. #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
  9535. #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
  9536. #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
  9537. #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
  9538. #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
  9539. #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
  9540. #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
  9541. #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
  9542. #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
  9543. #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
  9544. #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
  9545. #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
  9546. #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
  9547. #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
  9548. typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
  9549. typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
  9550. typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  9551. typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
  9552. typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
  9553. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  9554. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9555. typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  9556. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
  9557. typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
  9558. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
  9559. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
  9560. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
  9561. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
  9562. typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
  9563. typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  9564. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9565. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
  9566. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9567. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
  9568. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  9569. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  9570. typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  9571. typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  9572. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  9573. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
  9574. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
  9575. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
  9576. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
  9577. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
  9578. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
  9579. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  9580. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
  9581. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  9582. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
  9583. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  9584. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
  9585. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  9586. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
  9587. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  9588. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
  9589. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  9590. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
  9591. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9592. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
  9593. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9594. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
  9595. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  9596. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
  9597. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  9598. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
  9599. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9600. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9601. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9602. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9603. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9604. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9605. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9606. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9607. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9608. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9609. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9610. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9611. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
  9612. #ifdef GL_GLEXT_PROTOTYPES
  9613. GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
  9614. GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
  9615. GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
  9616. GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
  9617. GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
  9618. GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  9619. GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9620. GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
  9621. GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
  9622. GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
  9623. GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
  9624. GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
  9625. GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
  9626. GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
  9627. GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
  9628. GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  9629. GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9630. GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
  9631. GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9632. GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
  9633. GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  9634. GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  9635. GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
  9636. GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  9637. GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  9638. GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
  9639. GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
  9640. GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
  9641. GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
  9642. GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
  9643. GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
  9644. GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
  9645. GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
  9646. GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
  9647. GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
  9648. GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
  9649. GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
  9650. GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  9651. GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
  9652. GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  9653. GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
  9654. GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
  9655. GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
  9656. GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9657. GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
  9658. GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9659. GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
  9660. GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  9661. GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
  9662. GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  9663. GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
  9664. GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9665. GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9666. GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
  9667. GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9668. GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9669. GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
  9670. GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9671. GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9672. GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
  9673. GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9674. GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9675. GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
  9676. GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
  9677. #endif
  9678. #endif /* GL_NV_vertex_program */
  9679. #ifndef GL_NV_vertex_program1_1
  9680. #define GL_NV_vertex_program1_1 1
  9681. #endif /* GL_NV_vertex_program1_1 */
  9682. #ifndef GL_NV_vertex_program2
  9683. #define GL_NV_vertex_program2 1
  9684. #endif /* GL_NV_vertex_program2 */
  9685. #ifndef GL_NV_vertex_program2_option
  9686. #define GL_NV_vertex_program2_option 1
  9687. #endif /* GL_NV_vertex_program2_option */
  9688. #ifndef GL_NV_vertex_program3
  9689. #define GL_NV_vertex_program3 1
  9690. #endif /* GL_NV_vertex_program3 */
  9691. #ifndef GL_NV_vertex_program4
  9692. #define GL_NV_vertex_program4 1
  9693. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  9694. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  9695. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  9696. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  9697. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  9698. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  9699. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  9700. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  9701. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9702. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  9703. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  9704. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  9705. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  9706. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  9707. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  9708. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  9709. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  9710. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  9711. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  9712. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  9713. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  9714. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  9715. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  9716. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  9717. #ifdef GL_GLEXT_PROTOTYPES
  9718. GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
  9719. GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
  9720. GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
  9721. GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
  9722. GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
  9723. GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
  9724. GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
  9725. GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9726. GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
  9727. GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
  9728. GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
  9729. GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
  9730. GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
  9731. GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
  9732. GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
  9733. GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
  9734. GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
  9735. GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
  9736. GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
  9737. GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
  9738. GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  9739. GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
  9740. GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
  9741. #endif
  9742. #endif /* GL_NV_vertex_program4 */
  9743. #ifndef GL_NV_video_capture
  9744. #define GL_NV_video_capture 1
  9745. #define GL_VIDEO_BUFFER_NV 0x9020
  9746. #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
  9747. #define GL_FIELD_UPPER_NV 0x9022
  9748. #define GL_FIELD_LOWER_NV 0x9023
  9749. #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
  9750. #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
  9751. #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
  9752. #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
  9753. #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
  9754. #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
  9755. #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
  9756. #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
  9757. #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
  9758. #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
  9759. #define GL_PARTIAL_SUCCESS_NV 0x902E
  9760. #define GL_SUCCESS_NV 0x902F
  9761. #define GL_FAILURE_NV 0x9030
  9762. #define GL_YCBYCR8_422_NV 0x9031
  9763. #define GL_YCBAYCR8A_4224_NV 0x9032
  9764. #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
  9765. #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
  9766. #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
  9767. #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
  9768. #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
  9769. #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
  9770. #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
  9771. #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
  9772. #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
  9773. #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
  9774. typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  9775. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  9776. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  9777. typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  9778. typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
  9779. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  9780. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  9781. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  9782. typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  9783. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  9784. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  9785. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  9786. #ifdef GL_GLEXT_PROTOTYPES
  9787. GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
  9788. GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  9789. GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  9790. GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
  9791. GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
  9792. GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  9793. GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  9794. GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  9795. GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  9796. GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  9797. GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  9798. GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  9799. #endif
  9800. #endif /* GL_NV_video_capture */
  9801. #ifndef GL_OML_interlace
  9802. #define GL_OML_interlace 1
  9803. #define GL_INTERLACE_OML 0x8980
  9804. #define GL_INTERLACE_READ_OML 0x8981
  9805. #endif /* GL_OML_interlace */
  9806. #ifndef GL_OML_resample
  9807. #define GL_OML_resample 1
  9808. #define GL_PACK_RESAMPLE_OML 0x8984
  9809. #define GL_UNPACK_RESAMPLE_OML 0x8985
  9810. #define GL_RESAMPLE_REPLICATE_OML 0x8986
  9811. #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
  9812. #define GL_RESAMPLE_AVERAGE_OML 0x8988
  9813. #define GL_RESAMPLE_DECIMATE_OML 0x8989
  9814. #endif /* GL_OML_resample */
  9815. #ifndef GL_OML_subsample
  9816. #define GL_OML_subsample 1
  9817. #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
  9818. #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
  9819. #endif /* GL_OML_subsample */
  9820. #ifndef GL_PGI_misc_hints
  9821. #define GL_PGI_misc_hints 1
  9822. #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
  9823. #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
  9824. #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
  9825. #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
  9826. #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  9827. #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
  9828. #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
  9829. #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
  9830. #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
  9831. #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
  9832. #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
  9833. #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
  9834. #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
  9835. #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
  9836. #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
  9837. #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
  9838. #define GL_CLIP_NEAR_HINT_PGI 0x1A220
  9839. #define GL_CLIP_FAR_HINT_PGI 0x1A221
  9840. #define GL_WIDE_LINE_HINT_PGI 0x1A222
  9841. #define GL_BACK_NORMALS_HINT_PGI 0x1A223
  9842. typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  9843. #ifdef GL_GLEXT_PROTOTYPES
  9844. GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
  9845. #endif
  9846. #endif /* GL_PGI_misc_hints */
  9847. #ifndef GL_PGI_vertex_hints
  9848. #define GL_PGI_vertex_hints 1
  9849. #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
  9850. #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
  9851. #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
  9852. #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
  9853. #define GL_COLOR3_BIT_PGI 0x00010000
  9854. #define GL_COLOR4_BIT_PGI 0x00020000
  9855. #define GL_EDGEFLAG_BIT_PGI 0x00040000
  9856. #define GL_INDEX_BIT_PGI 0x00080000
  9857. #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
  9858. #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  9859. #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
  9860. #define GL_MAT_EMISSION_BIT_PGI 0x00800000
  9861. #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
  9862. #define GL_MAT_SHININESS_BIT_PGI 0x02000000
  9863. #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
  9864. #define GL_NORMAL_BIT_PGI 0x08000000
  9865. #define GL_TEXCOORD1_BIT_PGI 0x10000000
  9866. #define GL_TEXCOORD2_BIT_PGI 0x20000000
  9867. #define GL_TEXCOORD3_BIT_PGI 0x40000000
  9868. #define GL_TEXCOORD4_BIT_PGI 0x80000000
  9869. #define GL_VERTEX23_BIT_PGI 0x00000004
  9870. #define GL_VERTEX4_BIT_PGI 0x00000008
  9871. #endif /* GL_PGI_vertex_hints */
  9872. #ifndef GL_REND_screen_coordinates
  9873. #define GL_REND_screen_coordinates 1
  9874. #define GL_SCREEN_COORDINATES_REND 0x8490
  9875. #define GL_INVERTED_SCREEN_W_REND 0x8491
  9876. #endif /* GL_REND_screen_coordinates */
  9877. #ifndef GL_S3_s3tc
  9878. #define GL_S3_s3tc 1
  9879. #define GL_RGB_S3TC 0x83A0
  9880. #define GL_RGB4_S3TC 0x83A1
  9881. #define GL_RGBA_S3TC 0x83A2
  9882. #define GL_RGBA4_S3TC 0x83A3
  9883. #define GL_RGBA_DXT5_S3TC 0x83A4
  9884. #define GL_RGBA4_DXT5_S3TC 0x83A5
  9885. #endif /* GL_S3_s3tc */
  9886. #ifndef GL_SGIS_detail_texture
  9887. #define GL_SGIS_detail_texture 1
  9888. #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
  9889. #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  9890. #define GL_LINEAR_DETAIL_SGIS 0x8097
  9891. #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
  9892. #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
  9893. #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
  9894. #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
  9895. #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  9896. typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  9897. typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  9898. #ifdef GL_GLEXT_PROTOTYPES
  9899. GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  9900. GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
  9901. #endif
  9902. #endif /* GL_SGIS_detail_texture */
  9903. #ifndef GL_SGIS_fog_function
  9904. #define GL_SGIS_fog_function 1
  9905. #define GL_FOG_FUNC_SGIS 0x812A
  9906. #define GL_FOG_FUNC_POINTS_SGIS 0x812B
  9907. #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
  9908. typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  9909. typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  9910. #ifdef GL_GLEXT_PROTOTYPES
  9911. GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
  9912. GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
  9913. #endif
  9914. #endif /* GL_SGIS_fog_function */
  9915. #ifndef GL_SGIS_generate_mipmap
  9916. #define GL_SGIS_generate_mipmap 1
  9917. #define GL_GENERATE_MIPMAP_SGIS 0x8191
  9918. #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
  9919. #endif /* GL_SGIS_generate_mipmap */
  9920. #ifndef GL_SGIS_multisample
  9921. #define GL_SGIS_multisample 1
  9922. #define GL_MULTISAMPLE_SGIS 0x809D
  9923. #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
  9924. #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
  9925. #define GL_SAMPLE_MASK_SGIS 0x80A0
  9926. #define GL_1PASS_SGIS 0x80A1
  9927. #define GL_2PASS_0_SGIS 0x80A2
  9928. #define GL_2PASS_1_SGIS 0x80A3
  9929. #define GL_4PASS_0_SGIS 0x80A4
  9930. #define GL_4PASS_1_SGIS 0x80A5
  9931. #define GL_4PASS_2_SGIS 0x80A6
  9932. #define GL_4PASS_3_SGIS 0x80A7
  9933. #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
  9934. #define GL_SAMPLES_SGIS 0x80A9
  9935. #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
  9936. #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
  9937. #define GL_SAMPLE_PATTERN_SGIS 0x80AC
  9938. typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  9939. typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  9940. #ifdef GL_GLEXT_PROTOTYPES
  9941. GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
  9942. GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
  9943. #endif
  9944. #endif /* GL_SGIS_multisample */
  9945. #ifndef GL_SGIS_pixel_texture
  9946. #define GL_SGIS_pixel_texture 1
  9947. #define GL_PIXEL_TEXTURE_SGIS 0x8353
  9948. #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  9949. #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  9950. #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
  9951. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  9952. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  9953. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  9954. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  9955. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  9956. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  9957. #ifdef GL_GLEXT_PROTOTYPES
  9958. GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
  9959. GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
  9960. GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
  9961. GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
  9962. GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
  9963. GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
  9964. #endif
  9965. #endif /* GL_SGIS_pixel_texture */
  9966. #ifndef GL_SGIS_point_line_texgen
  9967. #define GL_SGIS_point_line_texgen 1
  9968. #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
  9969. #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
  9970. #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
  9971. #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
  9972. #define GL_EYE_POINT_SGIS 0x81F4
  9973. #define GL_OBJECT_POINT_SGIS 0x81F5
  9974. #define GL_EYE_LINE_SGIS 0x81F6
  9975. #define GL_OBJECT_LINE_SGIS 0x81F7
  9976. #endif /* GL_SGIS_point_line_texgen */
  9977. #ifndef GL_SGIS_point_parameters
  9978. #define GL_SGIS_point_parameters 1
  9979. #define GL_POINT_SIZE_MIN_SGIS 0x8126
  9980. #define GL_POINT_SIZE_MAX_SGIS 0x8127
  9981. #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  9982. #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
  9983. typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  9984. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  9985. #ifdef GL_GLEXT_PROTOTYPES
  9986. GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
  9987. GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
  9988. #endif
  9989. #endif /* GL_SGIS_point_parameters */
  9990. #ifndef GL_SGIS_sharpen_texture
  9991. #define GL_SGIS_sharpen_texture 1
  9992. #define GL_LINEAR_SHARPEN_SGIS 0x80AD
  9993. #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
  9994. #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
  9995. #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  9996. typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  9997. typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  9998. #ifdef GL_GLEXT_PROTOTYPES
  9999. GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  10000. GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
  10001. #endif
  10002. #endif /* GL_SGIS_sharpen_texture */
  10003. #ifndef GL_SGIS_texture4D
  10004. #define GL_SGIS_texture4D 1
  10005. #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
  10006. #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
  10007. #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
  10008. #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
  10009. #define GL_TEXTURE_4D_SGIS 0x8134
  10010. #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
  10011. #define GL_TEXTURE_4DSIZE_SGIS 0x8136
  10012. #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
  10013. #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
  10014. #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
  10015. 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);
  10016. 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);
  10017. #ifdef GL_GLEXT_PROTOTYPES
  10018. 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);
  10019. 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);
  10020. #endif
  10021. #endif /* GL_SGIS_texture4D */
  10022. #ifndef GL_SGIS_texture_border_clamp
  10023. #define GL_SGIS_texture_border_clamp 1
  10024. #define GL_CLAMP_TO_BORDER_SGIS 0x812D
  10025. #endif /* GL_SGIS_texture_border_clamp */
  10026. #ifndef GL_SGIS_texture_color_mask
  10027. #define GL_SGIS_texture_color_mask 1
  10028. #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
  10029. typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  10030. #ifdef GL_GLEXT_PROTOTYPES
  10031. GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  10032. #endif
  10033. #endif /* GL_SGIS_texture_color_mask */
  10034. #ifndef GL_SGIS_texture_edge_clamp
  10035. #define GL_SGIS_texture_edge_clamp 1
  10036. #define GL_CLAMP_TO_EDGE_SGIS 0x812F
  10037. #endif /* GL_SGIS_texture_edge_clamp */
  10038. #ifndef GL_SGIS_texture_filter4
  10039. #define GL_SGIS_texture_filter4 1
  10040. #define GL_FILTER4_SGIS 0x8146
  10041. #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
  10042. typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  10043. typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  10044. #ifdef GL_GLEXT_PROTOTYPES
  10045. GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
  10046. GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  10047. #endif
  10048. #endif /* GL_SGIS_texture_filter4 */
  10049. #ifndef GL_SGIS_texture_lod
  10050. #define GL_SGIS_texture_lod 1
  10051. #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
  10052. #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
  10053. #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
  10054. #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
  10055. #endif /* GL_SGIS_texture_lod */
  10056. #ifndef GL_SGIS_texture_select
  10057. #define GL_SGIS_texture_select 1
  10058. #define GL_DUAL_ALPHA4_SGIS 0x8110
  10059. #define GL_DUAL_ALPHA8_SGIS 0x8111
  10060. #define GL_DUAL_ALPHA12_SGIS 0x8112
  10061. #define GL_DUAL_ALPHA16_SGIS 0x8113
  10062. #define GL_DUAL_LUMINANCE4_SGIS 0x8114
  10063. #define GL_DUAL_LUMINANCE8_SGIS 0x8115
  10064. #define GL_DUAL_LUMINANCE12_SGIS 0x8116
  10065. #define GL_DUAL_LUMINANCE16_SGIS 0x8117
  10066. #define GL_DUAL_INTENSITY4_SGIS 0x8118
  10067. #define GL_DUAL_INTENSITY8_SGIS 0x8119
  10068. #define GL_DUAL_INTENSITY12_SGIS 0x811A
  10069. #define GL_DUAL_INTENSITY16_SGIS 0x811B
  10070. #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
  10071. #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
  10072. #define GL_QUAD_ALPHA4_SGIS 0x811E
  10073. #define GL_QUAD_ALPHA8_SGIS 0x811F
  10074. #define GL_QUAD_LUMINANCE4_SGIS 0x8120
  10075. #define GL_QUAD_LUMINANCE8_SGIS 0x8121
  10076. #define GL_QUAD_INTENSITY4_SGIS 0x8122
  10077. #define GL_QUAD_INTENSITY8_SGIS 0x8123
  10078. #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
  10079. #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
  10080. #endif /* GL_SGIS_texture_select */
  10081. #ifndef GL_SGIX_async
  10082. #define GL_SGIX_async 1
  10083. #define GL_ASYNC_MARKER_SGIX 0x8329
  10084. typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  10085. typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  10086. typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  10087. typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  10088. typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  10089. typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  10090. #ifdef GL_GLEXT_PROTOTYPES
  10091. GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
  10092. GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
  10093. GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
  10094. GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
  10095. GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
  10096. GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
  10097. #endif
  10098. #endif /* GL_SGIX_async */
  10099. #ifndef GL_SGIX_async_histogram
  10100. #define GL_SGIX_async_histogram 1
  10101. #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
  10102. #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
  10103. #endif /* GL_SGIX_async_histogram */
  10104. #ifndef GL_SGIX_async_pixel
  10105. #define GL_SGIX_async_pixel 1
  10106. #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
  10107. #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
  10108. #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
  10109. #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
  10110. #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
  10111. #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
  10112. #endif /* GL_SGIX_async_pixel */
  10113. #ifndef GL_SGIX_blend_alpha_minmax
  10114. #define GL_SGIX_blend_alpha_minmax 1
  10115. #define GL_ALPHA_MIN_SGIX 0x8320
  10116. #define GL_ALPHA_MAX_SGIX 0x8321
  10117. #endif /* GL_SGIX_blend_alpha_minmax */
  10118. #ifndef GL_SGIX_calligraphic_fragment
  10119. #define GL_SGIX_calligraphic_fragment 1
  10120. #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
  10121. #endif /* GL_SGIX_calligraphic_fragment */
  10122. #ifndef GL_SGIX_clipmap
  10123. #define GL_SGIX_clipmap 1
  10124. #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
  10125. #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
  10126. #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
  10127. #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
  10128. #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  10129. #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  10130. #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
  10131. #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
  10132. #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  10133. #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
  10134. #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
  10135. #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
  10136. #endif /* GL_SGIX_clipmap */
  10137. #ifndef GL_SGIX_convolution_accuracy
  10138. #define GL_SGIX_convolution_accuracy 1
  10139. #define GL_CONVOLUTION_HINT_SGIX 0x8316
  10140. #endif /* GL_SGIX_convolution_accuracy */
  10141. #ifndef GL_SGIX_depth_pass_instrument
  10142. #define GL_SGIX_depth_pass_instrument 1
  10143. #endif /* GL_SGIX_depth_pass_instrument */
  10144. #ifndef GL_SGIX_depth_texture
  10145. #define GL_SGIX_depth_texture 1
  10146. #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
  10147. #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
  10148. #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
  10149. #endif /* GL_SGIX_depth_texture */
  10150. #ifndef GL_SGIX_flush_raster
  10151. #define GL_SGIX_flush_raster 1
  10152. typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  10153. #ifdef GL_GLEXT_PROTOTYPES
  10154. GLAPI void APIENTRY glFlushRasterSGIX (void);
  10155. #endif
  10156. #endif /* GL_SGIX_flush_raster */
  10157. #ifndef GL_SGIX_fog_offset
  10158. #define GL_SGIX_fog_offset 1
  10159. #define GL_FOG_OFFSET_SGIX 0x8198
  10160. #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
  10161. #endif /* GL_SGIX_fog_offset */
  10162. #ifndef GL_SGIX_fragment_lighting
  10163. #define GL_SGIX_fragment_lighting 1
  10164. #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
  10165. #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
  10166. #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  10167. #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  10168. #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
  10169. #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
  10170. #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
  10171. #define GL_LIGHT_ENV_MODE_SGIX 0x8407
  10172. #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  10173. #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  10174. #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  10175. #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  10176. #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
  10177. #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
  10178. #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
  10179. #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
  10180. #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
  10181. #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
  10182. #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
  10183. #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
  10184. typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  10185. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  10186. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  10187. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  10188. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  10189. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  10190. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  10191. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  10192. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  10193. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  10194. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  10195. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  10196. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  10197. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  10198. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  10199. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  10200. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  10201. typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  10202. #ifdef GL_GLEXT_PROTOTYPES
  10203. GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
  10204. GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
  10205. GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
  10206. GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
  10207. GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
  10208. GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
  10209. GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
  10210. GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
  10211. GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
  10212. GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
  10213. GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
  10214. GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
  10215. GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
  10216. GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
  10217. GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
  10218. GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
  10219. GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
  10220. GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
  10221. #endif
  10222. #endif /* GL_SGIX_fragment_lighting */
  10223. #ifndef GL_SGIX_framezoom
  10224. #define GL_SGIX_framezoom 1
  10225. #define GL_FRAMEZOOM_SGIX 0x818B
  10226. #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
  10227. #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
  10228. typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  10229. #ifdef GL_GLEXT_PROTOTYPES
  10230. GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
  10231. #endif
  10232. #endif /* GL_SGIX_framezoom */
  10233. #ifndef GL_SGIX_igloo_interface
  10234. #define GL_SGIX_igloo_interface 1
  10235. typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
  10236. #ifdef GL_GLEXT_PROTOTYPES
  10237. GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
  10238. #endif
  10239. #endif /* GL_SGIX_igloo_interface */
  10240. #ifndef GL_SGIX_instruments
  10241. #define GL_SGIX_instruments 1
  10242. #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  10243. #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
  10244. typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  10245. typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  10246. typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  10247. typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  10248. typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  10249. typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  10250. #ifdef GL_GLEXT_PROTOTYPES
  10251. GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  10252. GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
  10253. GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
  10254. GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
  10255. GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  10256. GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
  10257. #endif
  10258. #endif /* GL_SGIX_instruments */
  10259. #ifndef GL_SGIX_interlace
  10260. #define GL_SGIX_interlace 1
  10261. #define GL_INTERLACE_SGIX 0x8094
  10262. #endif /* GL_SGIX_interlace */
  10263. #ifndef GL_SGIX_ir_instrument1
  10264. #define GL_SGIX_ir_instrument1 1
  10265. #define GL_IR_INSTRUMENT1_SGIX 0x817F
  10266. #endif /* GL_SGIX_ir_instrument1 */
  10267. #ifndef GL_SGIX_list_priority
  10268. #define GL_SGIX_list_priority 1
  10269. #define GL_LIST_PRIORITY_SGIX 0x8182
  10270. typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  10271. typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  10272. typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  10273. typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  10274. typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  10275. typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  10276. #ifdef GL_GLEXT_PROTOTYPES
  10277. GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
  10278. GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
  10279. GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
  10280. GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
  10281. GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
  10282. GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
  10283. #endif
  10284. #endif /* GL_SGIX_list_priority */
  10285. #ifndef GL_SGIX_pixel_texture
  10286. #define GL_SGIX_pixel_texture 1
  10287. #define GL_PIXEL_TEX_GEN_SGIX 0x8139
  10288. #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
  10289. typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  10290. #ifdef GL_GLEXT_PROTOTYPES
  10291. GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
  10292. #endif
  10293. #endif /* GL_SGIX_pixel_texture */
  10294. #ifndef GL_SGIX_pixel_tiles
  10295. #define GL_SGIX_pixel_tiles 1
  10296. #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  10297. #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  10298. #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
  10299. #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
  10300. #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
  10301. #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
  10302. #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
  10303. #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
  10304. #endif /* GL_SGIX_pixel_tiles */
  10305. #ifndef GL_SGIX_polynomial_ffd
  10306. #define GL_SGIX_polynomial_ffd 1
  10307. #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
  10308. #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
  10309. #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
  10310. #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
  10311. #define GL_DEFORMATIONS_MASK_SGIX 0x8196
  10312. #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
  10313. 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);
  10314. 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);
  10315. typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  10316. typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  10317. #ifdef GL_GLEXT_PROTOTYPES
  10318. 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);
  10319. 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);
  10320. GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
  10321. GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
  10322. #endif
  10323. #endif /* GL_SGIX_polynomial_ffd */
  10324. #ifndef GL_SGIX_reference_plane
  10325. #define GL_SGIX_reference_plane 1
  10326. #define GL_REFERENCE_PLANE_SGIX 0x817D
  10327. #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
  10328. typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  10329. #ifdef GL_GLEXT_PROTOTYPES
  10330. GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
  10331. #endif
  10332. #endif /* GL_SGIX_reference_plane */
  10333. #ifndef GL_SGIX_resample
  10334. #define GL_SGIX_resample 1
  10335. #define GL_PACK_RESAMPLE_SGIX 0x842C
  10336. #define GL_UNPACK_RESAMPLE_SGIX 0x842D
  10337. #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
  10338. #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
  10339. #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
  10340. #endif /* GL_SGIX_resample */
  10341. #ifndef GL_SGIX_scalebias_hint
  10342. #define GL_SGIX_scalebias_hint 1
  10343. #define GL_SCALEBIAS_HINT_SGIX 0x8322
  10344. #endif /* GL_SGIX_scalebias_hint */
  10345. #ifndef GL_SGIX_shadow
  10346. #define GL_SGIX_shadow 1
  10347. #define GL_TEXTURE_COMPARE_SGIX 0x819A
  10348. #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
  10349. #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
  10350. #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
  10351. #endif /* GL_SGIX_shadow */
  10352. #ifndef GL_SGIX_shadow_ambient
  10353. #define GL_SGIX_shadow_ambient 1
  10354. #define GL_SHADOW_AMBIENT_SGIX 0x80BF
  10355. #endif /* GL_SGIX_shadow_ambient */
  10356. #ifndef GL_SGIX_sprite
  10357. #define GL_SGIX_sprite 1
  10358. #define GL_SPRITE_SGIX 0x8148
  10359. #define GL_SPRITE_MODE_SGIX 0x8149
  10360. #define GL_SPRITE_AXIS_SGIX 0x814A
  10361. #define GL_SPRITE_TRANSLATION_SGIX 0x814B
  10362. #define GL_SPRITE_AXIAL_SGIX 0x814C
  10363. #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
  10364. #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
  10365. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  10366. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  10367. typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  10368. typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  10369. #ifdef GL_GLEXT_PROTOTYPES
  10370. GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
  10371. GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
  10372. GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
  10373. GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
  10374. #endif
  10375. #endif /* GL_SGIX_sprite */
  10376. #ifndef GL_SGIX_subsample
  10377. #define GL_SGIX_subsample 1
  10378. #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
  10379. #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
  10380. #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
  10381. #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
  10382. #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
  10383. #endif /* GL_SGIX_subsample */
  10384. #ifndef GL_SGIX_tag_sample_buffer
  10385. #define GL_SGIX_tag_sample_buffer 1
  10386. typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  10387. #ifdef GL_GLEXT_PROTOTYPES
  10388. GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  10389. #endif
  10390. #endif /* GL_SGIX_tag_sample_buffer */
  10391. #ifndef GL_SGIX_texture_add_env
  10392. #define GL_SGIX_texture_add_env 1
  10393. #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
  10394. #endif /* GL_SGIX_texture_add_env */
  10395. #ifndef GL_SGIX_texture_coordinate_clamp
  10396. #define GL_SGIX_texture_coordinate_clamp 1
  10397. #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
  10398. #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
  10399. #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
  10400. #endif /* GL_SGIX_texture_coordinate_clamp */
  10401. #ifndef GL_SGIX_texture_lod_bias
  10402. #define GL_SGIX_texture_lod_bias 1
  10403. #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
  10404. #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
  10405. #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
  10406. #endif /* GL_SGIX_texture_lod_bias */
  10407. #ifndef GL_SGIX_texture_multi_buffer
  10408. #define GL_SGIX_texture_multi_buffer 1
  10409. #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  10410. #endif /* GL_SGIX_texture_multi_buffer */
  10411. #ifndef GL_SGIX_texture_scale_bias
  10412. #define GL_SGIX_texture_scale_bias 1
  10413. #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
  10414. #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  10415. #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  10416. #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  10417. #endif /* GL_SGIX_texture_scale_bias */
  10418. #ifndef GL_SGIX_vertex_preclip
  10419. #define GL_SGIX_vertex_preclip 1
  10420. #define GL_VERTEX_PRECLIP_SGIX 0x83EE
  10421. #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
  10422. #endif /* GL_SGIX_vertex_preclip */
  10423. #ifndef GL_SGIX_ycrcb
  10424. #define GL_SGIX_ycrcb 1
  10425. #define GL_YCRCB_422_SGIX 0x81BB
  10426. #define GL_YCRCB_444_SGIX 0x81BC
  10427. #endif /* GL_SGIX_ycrcb */
  10428. #ifndef GL_SGIX_ycrcb_subsample
  10429. #define GL_SGIX_ycrcb_subsample 1
  10430. #endif /* GL_SGIX_ycrcb_subsample */
  10431. #ifndef GL_SGIX_ycrcba
  10432. #define GL_SGIX_ycrcba 1
  10433. #define GL_YCRCB_SGIX 0x8318
  10434. #define GL_YCRCBA_SGIX 0x8319
  10435. #endif /* GL_SGIX_ycrcba */
  10436. #ifndef GL_SGI_color_matrix
  10437. #define GL_SGI_color_matrix 1
  10438. #define GL_COLOR_MATRIX_SGI 0x80B1
  10439. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
  10440. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  10441. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  10442. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  10443. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  10444. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  10445. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  10446. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  10447. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  10448. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  10449. #endif /* GL_SGI_color_matrix */
  10450. #ifndef GL_SGI_color_table
  10451. #define GL_SGI_color_table 1
  10452. #define GL_COLOR_TABLE_SGI 0x80D0
  10453. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  10454. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  10455. #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
  10456. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  10457. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  10458. #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
  10459. #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
  10460. #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
  10461. #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
  10462. #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
  10463. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
  10464. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
  10465. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
  10466. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  10467. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  10468. typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  10469. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  10470. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  10471. typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  10472. typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
  10473. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  10474. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  10475. #ifdef GL_GLEXT_PROTOTYPES
  10476. GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  10477. GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
  10478. GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
  10479. GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  10480. GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
  10481. GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
  10482. GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
  10483. #endif
  10484. #endif /* GL_SGI_color_table */
  10485. #ifndef GL_SGI_texture_color_table
  10486. #define GL_SGI_texture_color_table 1
  10487. #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
  10488. #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
  10489. #endif /* GL_SGI_texture_color_table */
  10490. #ifndef GL_SUNX_constant_data
  10491. #define GL_SUNX_constant_data 1
  10492. #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
  10493. #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
  10494. typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  10495. #ifdef GL_GLEXT_PROTOTYPES
  10496. GLAPI void APIENTRY glFinishTextureSUNX (void);
  10497. #endif
  10498. #endif /* GL_SUNX_constant_data */
  10499. #ifndef GL_SUN_convolution_border_modes
  10500. #define GL_SUN_convolution_border_modes 1
  10501. #define GL_WRAP_BORDER_SUN 0x81D4
  10502. #endif /* GL_SUN_convolution_border_modes */
  10503. #ifndef GL_SUN_global_alpha
  10504. #define GL_SUN_global_alpha 1
  10505. #define GL_GLOBAL_ALPHA_SUN 0x81D9
  10506. #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
  10507. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  10508. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  10509. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  10510. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  10511. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  10512. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  10513. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  10514. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  10515. #ifdef GL_GLEXT_PROTOTYPES
  10516. GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
  10517. GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
  10518. GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
  10519. GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
  10520. GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
  10521. GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
  10522. GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
  10523. GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
  10524. #endif
  10525. #endif /* GL_SUN_global_alpha */
  10526. #ifndef GL_SUN_mesh_array
  10527. #define GL_SUN_mesh_array 1
  10528. #define GL_QUAD_MESH_SUN 0x8614
  10529. #define GL_TRIANGLE_MESH_SUN 0x8615
  10530. typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
  10531. #ifdef GL_GLEXT_PROTOTYPES
  10532. GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
  10533. #endif
  10534. #endif /* GL_SUN_mesh_array */
  10535. #ifndef GL_SUN_slice_accum
  10536. #define GL_SUN_slice_accum 1
  10537. #define GL_SLICE_ACCUM_SUN 0x85CC
  10538. #endif /* GL_SUN_slice_accum */
  10539. #ifndef GL_SUN_triangle_list
  10540. #define GL_SUN_triangle_list 1
  10541. #define GL_RESTART_SUN 0x0001
  10542. #define GL_REPLACE_MIDDLE_SUN 0x0002
  10543. #define GL_REPLACE_OLDEST_SUN 0x0003
  10544. #define GL_TRIANGLE_LIST_SUN 0x81D7
  10545. #define GL_REPLACEMENT_CODE_SUN 0x81D8
  10546. #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
  10547. #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  10548. #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  10549. #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  10550. #define GL_R1UI_V3F_SUN 0x85C4
  10551. #define GL_R1UI_C4UB_V3F_SUN 0x85C5
  10552. #define GL_R1UI_C3F_V3F_SUN 0x85C6
  10553. #define GL_R1UI_N3F_V3F_SUN 0x85C7
  10554. #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
  10555. #define GL_R1UI_T2F_V3F_SUN 0x85C9
  10556. #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
  10557. #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
  10558. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  10559. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  10560. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  10561. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  10562. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  10563. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  10564. typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
  10565. #ifdef GL_GLEXT_PROTOTYPES
  10566. GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
  10567. GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
  10568. GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
  10569. GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
  10570. GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
  10571. GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
  10572. GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
  10573. #endif
  10574. #endif /* GL_SUN_triangle_list */
  10575. #ifndef GL_SUN_vertex
  10576. #define GL_SUN_vertex 1
  10577. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  10578. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  10579. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10580. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  10581. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10582. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  10583. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10584. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  10585. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10586. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10587. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  10588. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  10589. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10590. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  10591. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10592. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  10593. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10594. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  10595. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10596. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  10597. 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);
  10598. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10599. 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);
  10600. typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10601. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  10602. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  10603. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10604. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  10605. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10606. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  10607. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10608. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  10609. 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);
  10610. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10611. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  10612. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  10613. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10614. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  10615. 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);
  10616. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10617. #ifdef GL_GLEXT_PROTOTYPES
  10618. GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  10619. GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
  10620. GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10621. GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
  10622. GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10623. GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
  10624. GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10625. GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
  10626. GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10627. GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10628. GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  10629. GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
  10630. GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10631. GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
  10632. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10633. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  10634. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10635. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  10636. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10637. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  10638. 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);
  10639. GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10640. 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);
  10641. GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10642. GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  10643. GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
  10644. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  10645. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  10646. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  10647. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  10648. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10649. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  10650. 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);
  10651. GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10652. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  10653. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  10654. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  10655. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  10656. 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);
  10657. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  10658. #endif
  10659. #endif /* GL_SUN_vertex */
  10660. #ifndef GL_WIN_phong_shading
  10661. #define GL_WIN_phong_shading 1
  10662. #define GL_PHONG_WIN 0x80EA
  10663. #define GL_PHONG_HINT_WIN 0x80EB
  10664. #endif /* GL_WIN_phong_shading */
  10665. #ifndef GL_WIN_specular_fog
  10666. #define GL_WIN_specular_fog 1
  10667. #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
  10668. #endif /* GL_WIN_specular_fog */
  10669. #ifdef __cplusplus
  10670. }
  10671. #endif
  10672. #endif