🛠️🐜 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.

13209 lines
844 KiB

  1. #ifndef __gl_glext_h_
  2. #define __gl_glext_h_ 1
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright 2013-2020 The Khronos Group Inc.
  8. ** SPDX-License-Identifier: MIT
  9. **
  10. ** This header is generated from the Khronos OpenGL / OpenGL ES XML
  11. ** API Registry. The current version of the Registry, generator scripts
  12. ** used to make the header, and the header can be found at
  13. ** https://github.com/KhronosGroup/OpenGL-Registry
  14. */
  15. #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
  16. #ifndef WIN32_LEAN_AND_MEAN
  17. #define WIN32_LEAN_AND_MEAN 1
  18. #endif
  19. #include <windows.h>
  20. #endif
  21. #ifndef APIENTRY
  22. #define APIENTRY
  23. #endif
  24. #ifndef APIENTRYP
  25. #define APIENTRYP APIENTRY *
  26. #endif
  27. #ifndef GLAPI
  28. #define GLAPI extern
  29. #endif
  30. #define GL_GLEXT_VERSION 20220530
  31. /*#include <KHR/khrplatform.h>*/
  32. #ifndef __khrplatform_h_
  33. #define __khrplatform_h_
  34. /*
  35. ** Copyright (c) 2008-2018 The Khronos Group Inc.
  36. **
  37. ** Permission is hereby granted, free of charge, to any person obtaining a
  38. ** copy of this software and/or associated documentation files (the
  39. ** "Materials"), to deal in the Materials without restriction, including
  40. ** without limitation the rights to use, copy, modify, merge, publish,
  41. ** distribute, sublicense, and/or sell copies of the Materials, and to
  42. ** permit persons to whom the Materials are furnished to do so, subject to
  43. ** the following conditions:
  44. **
  45. ** The above copyright notice and this permission notice shall be included
  46. ** in all copies or substantial portions of the Materials.
  47. **
  48. ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  49. ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  50. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  51. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  52. ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  53. ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  54. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  55. */
  56. /* Khronos platform-specific types and definitions.
  57. *
  58. * The master copy of khrplatform.h is maintained in the Khronos EGL
  59. * Registry repository at https://github.com/KhronosGroup/EGL-Registry
  60. * The last semantic modification to khrplatform.h was at commit ID:
  61. * 67a3e0864c2d75ea5287b9f3d2eb74a745936692
  62. *
  63. * Adopters may modify this file to suit their platform. Adopters are
  64. * encouraged to submit platform specific modifications to the Khronos
  65. * group so that they can be included in future versions of this file.
  66. * Please submit changes by filing pull requests or issues on
  67. * the EGL Registry repository linked above.
  68. *
  69. *
  70. * See the Implementer's Guidelines for information about where this file
  71. * should be located on your system and for more details of its use:
  72. * http://www.khronos.org/registry/implementers_guide.pdf
  73. *
  74. * This file should be included as
  75. * #include <KHR/khrplatform.h>
  76. * by Khronos client API header files that use its types and defines.
  77. *
  78. * The types in khrplatform.h should only be used to define API-specific types.
  79. *
  80. * Types defined in khrplatform.h:
  81. * khronos_int8_t signed 8 bit
  82. * khronos_uint8_t unsigned 8 bit
  83. * khronos_int16_t signed 16 bit
  84. * khronos_uint16_t unsigned 16 bit
  85. * khronos_int32_t signed 32 bit
  86. * khronos_uint32_t unsigned 32 bit
  87. * khronos_int64_t signed 64 bit
  88. * khronos_uint64_t unsigned 64 bit
  89. * khronos_intptr_t signed same number of bits as a pointer
  90. * khronos_uintptr_t unsigned same number of bits as a pointer
  91. * khronos_ssize_t signed size
  92. * khronos_usize_t unsigned size
  93. * khronos_float_t signed 32 bit floating point
  94. * khronos_time_ns_t unsigned 64 bit time in nanoseconds
  95. * khronos_utime_nanoseconds_t unsigned time interval or absolute time in
  96. * nanoseconds
  97. * khronos_stime_nanoseconds_t signed time interval in nanoseconds
  98. * khronos_boolean_enum_t enumerated boolean type. This should
  99. * only be used as a base type when a client API's boolean type is
  100. * an enum. Client APIs which use an integer or other type for
  101. * booleans cannot use this as the base type for their boolean.
  102. *
  103. * Tokens defined in khrplatform.h:
  104. *
  105. * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
  106. *
  107. * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
  108. * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
  109. *
  110. * Calling convention macros defined in this file:
  111. * KHRONOS_APICALL
  112. * KHRONOS_APIENTRY
  113. * KHRONOS_APIATTRIBUTES
  114. *
  115. * These may be used in function prototypes as:
  116. *
  117. * KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
  118. * int arg1,
  119. * int arg2) KHRONOS_APIATTRIBUTES;
  120. */
  121. #if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC)
  122. # define KHRONOS_STATIC 1
  123. #endif
  124. /*-------------------------------------------------------------------------
  125. * Definition of KHRONOS_APICALL
  126. *-------------------------------------------------------------------------
  127. * This precedes the return type of the function in the function prototype.
  128. */
  129. #if defined(KHRONOS_STATIC)
  130. /* If the preprocessor constant KHRONOS_STATIC is defined, make the
  131. * header compatible with static linking. */
  132. # define KHRONOS_APICALL
  133. #elif defined(_WIN32)
  134. # define KHRONOS_APICALL __declspec(dllimport)
  135. #elif defined (__SYMBIAN32__)
  136. # define KHRONOS_APICALL IMPORT_C
  137. #elif defined(__ANDROID__)
  138. # define KHRONOS_APICALL __attribute__((visibility("default")))
  139. #else
  140. # define KHRONOS_APICALL
  141. #endif
  142. /*-------------------------------------------------------------------------
  143. * Definition of KHRONOS_APIENTRY
  144. *-------------------------------------------------------------------------
  145. * This follows the return type of the function and precedes the function
  146. * name in the function prototype.
  147. */
  148. #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
  149. /* Win32 but not WinCE */
  150. # define KHRONOS_APIENTRY __stdcall
  151. #else
  152. # define KHRONOS_APIENTRY
  153. #endif
  154. /*-------------------------------------------------------------------------
  155. * Definition of KHRONOS_APIATTRIBUTES
  156. *-------------------------------------------------------------------------
  157. * This follows the closing parenthesis of the function prototype arguments.
  158. */
  159. #if defined (__ARMCC_2__)
  160. #define KHRONOS_APIATTRIBUTES __softfp
  161. #else
  162. #define KHRONOS_APIATTRIBUTES
  163. #endif
  164. /*-------------------------------------------------------------------------
  165. * basic type definitions
  166. *-----------------------------------------------------------------------*/
  167. #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
  168. /*
  169. * Using <stdint.h>
  170. */
  171. #include <stdint.h>
  172. typedef int32_t khronos_int32_t;
  173. typedef uint32_t khronos_uint32_t;
  174. typedef int64_t khronos_int64_t;
  175. typedef uint64_t khronos_uint64_t;
  176. #define KHRONOS_SUPPORT_INT64 1
  177. #define KHRONOS_SUPPORT_FLOAT 1
  178. /*
  179. * To support platform where unsigned long cannot be used interchangeably with
  180. * inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t.
  181. * Ideally, we could just use (u)intptr_t everywhere, but this could result in
  182. * ABI breakage if khronos_uintptr_t is changed from unsigned long to
  183. * unsigned long long or similar (this results in different C++ name mangling).
  184. * To avoid changes for existing platforms, we restrict usage of intptr_t to
  185. * platforms where the size of a pointer is larger than the size of long.
  186. */
  187. #if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
  188. #if __SIZEOF_POINTER__ > __SIZEOF_LONG__
  189. #define KHRONOS_USE_INTPTR_T
  190. #endif
  191. #endif
  192. #elif defined(__VMS ) || defined(__sgi)
  193. /*
  194. * Using <inttypes.h>
  195. */
  196. #include <inttypes.h>
  197. typedef int32_t khronos_int32_t;
  198. typedef uint32_t khronos_uint32_t;
  199. typedef int64_t khronos_int64_t;
  200. typedef uint64_t khronos_uint64_t;
  201. #define KHRONOS_SUPPORT_INT64 1
  202. #define KHRONOS_SUPPORT_FLOAT 1
  203. #elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
  204. /*
  205. * Win32
  206. */
  207. typedef __int32 khronos_int32_t;
  208. typedef unsigned __int32 khronos_uint32_t;
  209. typedef __int64 khronos_int64_t;
  210. typedef unsigned __int64 khronos_uint64_t;
  211. #define KHRONOS_SUPPORT_INT64 1
  212. #define KHRONOS_SUPPORT_FLOAT 1
  213. #elif defined(__sun__) || defined(__digital__)
  214. /*
  215. * Sun or Digital
  216. */
  217. typedef int khronos_int32_t;
  218. typedef unsigned int khronos_uint32_t;
  219. #if defined(__arch64__) || defined(_LP64)
  220. typedef long int khronos_int64_t;
  221. typedef unsigned long int khronos_uint64_t;
  222. #else
  223. typedef long long int khronos_int64_t;
  224. typedef unsigned long long int khronos_uint64_t;
  225. #endif /* __arch64__ */
  226. #define KHRONOS_SUPPORT_INT64 1
  227. #define KHRONOS_SUPPORT_FLOAT 1
  228. #elif 0
  229. /*
  230. * Hypothetical platform with no float or int64 support
  231. */
  232. typedef int khronos_int32_t;
  233. typedef unsigned int khronos_uint32_t;
  234. #define KHRONOS_SUPPORT_INT64 0
  235. #define KHRONOS_SUPPORT_FLOAT 0
  236. #else
  237. /*
  238. * Generic fallback
  239. */
  240. #include <stdint.h>
  241. typedef int32_t khronos_int32_t;
  242. typedef uint32_t khronos_uint32_t;
  243. typedef int64_t khronos_int64_t;
  244. typedef uint64_t khronos_uint64_t;
  245. #define KHRONOS_SUPPORT_INT64 1
  246. #define KHRONOS_SUPPORT_FLOAT 1
  247. #endif
  248. /*
  249. * Types that are (so far) the same on all platforms
  250. */
  251. typedef signed char khronos_int8_t;
  252. typedef unsigned char khronos_uint8_t;
  253. typedef signed short int khronos_int16_t;
  254. typedef unsigned short int khronos_uint16_t;
  255. /*
  256. * Types that differ between LLP64 and LP64 architectures - in LLP64,
  257. * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
  258. * to be the only LLP64 architecture in current use.
  259. */
  260. #ifdef KHRONOS_USE_INTPTR_T
  261. typedef intptr_t khronos_intptr_t;
  262. typedef uintptr_t khronos_uintptr_t;
  263. #elif defined(_WIN64)
  264. typedef signed long long int khronos_intptr_t;
  265. typedef unsigned long long int khronos_uintptr_t;
  266. #else
  267. typedef signed long int khronos_intptr_t;
  268. typedef unsigned long int khronos_uintptr_t;
  269. #endif
  270. #if defined(_WIN64)
  271. typedef signed long long int khronos_ssize_t;
  272. typedef unsigned long long int khronos_usize_t;
  273. #else
  274. typedef signed long int khronos_ssize_t;
  275. typedef unsigned long int khronos_usize_t;
  276. #endif
  277. #if KHRONOS_SUPPORT_FLOAT
  278. /*
  279. * Float type
  280. */
  281. typedef float khronos_float_t;
  282. #endif
  283. #if KHRONOS_SUPPORT_INT64
  284. /* Time types
  285. *
  286. * These types can be used to represent a time interval in nanoseconds or
  287. * an absolute Unadjusted System Time. Unadjusted System Time is the number
  288. * of nanoseconds since some arbitrary system event (e.g. since the last
  289. * time the system booted). The Unadjusted System Time is an unsigned
  290. * 64 bit value that wraps back to 0 every 584 years. Time intervals
  291. * may be either signed or unsigned.
  292. */
  293. typedef khronos_uint64_t khronos_utime_nanoseconds_t;
  294. typedef khronos_int64_t khronos_stime_nanoseconds_t;
  295. #endif
  296. /*
  297. * Dummy value used to pad enum types to 32 bits.
  298. */
  299. #ifndef KHRONOS_MAX_ENUM
  300. #define KHRONOS_MAX_ENUM 0x7FFFFFFF
  301. #endif
  302. /*
  303. * Enumerated boolean type
  304. *
  305. * Values other than zero should be considered to be true. Therefore
  306. * comparisons should not be made against KHRONOS_TRUE.
  307. */
  308. typedef enum {
  309. KHRONOS_FALSE = 0,
  310. KHRONOS_TRUE = 1,
  311. KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
  312. } khronos_boolean_enum_t;
  313. #endif /* __khrplatform_h_ */
  314. /* Generated C header for:
  315. * API: gl
  316. * Profile: compatibility
  317. * Versions considered: .*
  318. * Versions emitted: 1\.[2-9]|[234]\.[0-9]
  319. * Default extensions included: gl
  320. * Additional extensions included: _nomatch_^
  321. * Extensions removed: _nomatch_^
  322. */
  323. #ifndef GL_VERSION_1_2
  324. #define GL_VERSION_1_2 1
  325. #define GL_UNSIGNED_BYTE_3_3_2 0x8032
  326. #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
  327. #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
  328. #define GL_UNSIGNED_INT_8_8_8_8 0x8035
  329. #define GL_UNSIGNED_INT_10_10_10_2 0x8036
  330. #define GL_TEXTURE_BINDING_3D 0x806A
  331. #define GL_PACK_SKIP_IMAGES 0x806B
  332. #define GL_PACK_IMAGE_HEIGHT 0x806C
  333. #define GL_UNPACK_SKIP_IMAGES 0x806D
  334. #define GL_UNPACK_IMAGE_HEIGHT 0x806E
  335. #define GL_TEXTURE_3D 0x806F
  336. #define GL_PROXY_TEXTURE_3D 0x8070
  337. #define GL_TEXTURE_DEPTH 0x8071
  338. #define GL_TEXTURE_WRAP_R 0x8072
  339. #define GL_MAX_3D_TEXTURE_SIZE 0x8073
  340. #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
  341. #define GL_UNSIGNED_SHORT_5_6_5 0x8363
  342. #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
  343. #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
  344. #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
  345. #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
  346. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  347. #define GL_BGR 0x80E0
  348. #define GL_BGRA 0x80E1
  349. #define GL_MAX_ELEMENTS_VERTICES 0x80E8
  350. #define GL_MAX_ELEMENTS_INDICES 0x80E9
  351. #define GL_CLAMP_TO_EDGE 0x812F
  352. #define GL_TEXTURE_MIN_LOD 0x813A
  353. #define GL_TEXTURE_MAX_LOD 0x813B
  354. #define GL_TEXTURE_BASE_LEVEL 0x813C
  355. #define GL_TEXTURE_MAX_LEVEL 0x813D
  356. #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
  357. #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
  358. #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
  359. #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
  360. #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
  361. #define GL_RESCALE_NORMAL 0x803A
  362. #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
  363. #define GL_SINGLE_COLOR 0x81F9
  364. #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
  365. #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
  366. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  367. 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);
  368. 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);
  369. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  370. #ifdef GL_GLEXT_PROTOTYPES
  371. GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  372. 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);
  373. 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);
  374. GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  375. #endif
  376. #endif /* GL_VERSION_1_2 */
  377. #ifndef GL_VERSION_1_3
  378. #define GL_VERSION_1_3 1
  379. #define GL_TEXTURE0 0x84C0
  380. #define GL_TEXTURE1 0x84C1
  381. #define GL_TEXTURE2 0x84C2
  382. #define GL_TEXTURE3 0x84C3
  383. #define GL_TEXTURE4 0x84C4
  384. #define GL_TEXTURE5 0x84C5
  385. #define GL_TEXTURE6 0x84C6
  386. #define GL_TEXTURE7 0x84C7
  387. #define GL_TEXTURE8 0x84C8
  388. #define GL_TEXTURE9 0x84C9
  389. #define GL_TEXTURE10 0x84CA
  390. #define GL_TEXTURE11 0x84CB
  391. #define GL_TEXTURE12 0x84CC
  392. #define GL_TEXTURE13 0x84CD
  393. #define GL_TEXTURE14 0x84CE
  394. #define GL_TEXTURE15 0x84CF
  395. #define GL_TEXTURE16 0x84D0
  396. #define GL_TEXTURE17 0x84D1
  397. #define GL_TEXTURE18 0x84D2
  398. #define GL_TEXTURE19 0x84D3
  399. #define GL_TEXTURE20 0x84D4
  400. #define GL_TEXTURE21 0x84D5
  401. #define GL_TEXTURE22 0x84D6
  402. #define GL_TEXTURE23 0x84D7
  403. #define GL_TEXTURE24 0x84D8
  404. #define GL_TEXTURE25 0x84D9
  405. #define GL_TEXTURE26 0x84DA
  406. #define GL_TEXTURE27 0x84DB
  407. #define GL_TEXTURE28 0x84DC
  408. #define GL_TEXTURE29 0x84DD
  409. #define GL_TEXTURE30 0x84DE
  410. #define GL_TEXTURE31 0x84DF
  411. #define GL_ACTIVE_TEXTURE 0x84E0
  412. #define GL_MULTISAMPLE 0x809D
  413. #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
  414. #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
  415. #define GL_SAMPLE_COVERAGE 0x80A0
  416. #define GL_SAMPLE_BUFFERS 0x80A8
  417. #define GL_SAMPLES 0x80A9
  418. #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
  419. #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
  420. #define GL_TEXTURE_CUBE_MAP 0x8513
  421. #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
  422. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
  423. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
  424. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
  425. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
  426. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
  427. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
  428. #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
  429. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
  430. #define GL_COMPRESSED_RGB 0x84ED
  431. #define GL_COMPRESSED_RGBA 0x84EE
  432. #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
  433. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
  434. #define GL_TEXTURE_COMPRESSED 0x86A1
  435. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
  436. #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
  437. #define GL_CLAMP_TO_BORDER 0x812D
  438. #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
  439. #define GL_MAX_TEXTURE_UNITS 0x84E2
  440. #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
  441. #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
  442. #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
  443. #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
  444. #define GL_MULTISAMPLE_BIT 0x20000000
  445. #define GL_NORMAL_MAP 0x8511
  446. #define GL_REFLECTION_MAP 0x8512
  447. #define GL_COMPRESSED_ALPHA 0x84E9
  448. #define GL_COMPRESSED_LUMINANCE 0x84EA
  449. #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
  450. #define GL_COMPRESSED_INTENSITY 0x84EC
  451. #define GL_COMBINE 0x8570
  452. #define GL_COMBINE_RGB 0x8571
  453. #define GL_COMBINE_ALPHA 0x8572
  454. #define GL_SOURCE0_RGB 0x8580
  455. #define GL_SOURCE1_RGB 0x8581
  456. #define GL_SOURCE2_RGB 0x8582
  457. #define GL_SOURCE0_ALPHA 0x8588
  458. #define GL_SOURCE1_ALPHA 0x8589
  459. #define GL_SOURCE2_ALPHA 0x858A
  460. #define GL_OPERAND0_RGB 0x8590
  461. #define GL_OPERAND1_RGB 0x8591
  462. #define GL_OPERAND2_RGB 0x8592
  463. #define GL_OPERAND0_ALPHA 0x8598
  464. #define GL_OPERAND1_ALPHA 0x8599
  465. #define GL_OPERAND2_ALPHA 0x859A
  466. #define GL_RGB_SCALE 0x8573
  467. #define GL_ADD_SIGNED 0x8574
  468. #define GL_INTERPOLATE 0x8575
  469. #define GL_SUBTRACT 0x84E7
  470. #define GL_CONSTANT 0x8576
  471. #define GL_PRIMARY_COLOR 0x8577
  472. #define GL_PREVIOUS 0x8578
  473. #define GL_DOT3_RGB 0x86AE
  474. #define GL_DOT3_RGBA 0x86AF
  475. typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  476. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
  477. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  478. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  479. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  480. 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);
  481. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  482. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  483. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
  484. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  485. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  486. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  487. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  488. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  489. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  490. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  491. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  492. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  493. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  494. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  495. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  496. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  497. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  498. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  499. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  500. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  501. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  502. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  503. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  504. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  505. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  506. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  507. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  508. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  509. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  510. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  511. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  512. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  513. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  514. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  515. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  516. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  517. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  518. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  519. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  520. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  521. #ifdef GL_GLEXT_PROTOTYPES
  522. GLAPI void APIENTRY glActiveTexture (GLenum texture);
  523. GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
  524. GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  525. GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  526. GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  527. 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);
  528. GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  529. GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  530. GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
  531. GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
  532. GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
  533. GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
  534. GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
  535. GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
  536. GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
  537. GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
  538. GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
  539. GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
  540. GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
  541. GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
  542. GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
  543. GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
  544. GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
  545. GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
  546. GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
  547. GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
  548. GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  549. GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
  550. GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  551. GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
  552. GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
  553. GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
  554. GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
  555. GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
  556. GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  557. GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
  558. GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  559. GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
  560. GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
  561. GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
  562. GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  563. GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
  564. GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
  565. GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
  566. GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
  567. GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
  568. #endif
  569. #endif /* GL_VERSION_1_3 */
  570. #ifndef GL_VERSION_1_4
  571. #define GL_VERSION_1_4 1
  572. #define GL_BLEND_DST_RGB 0x80C8
  573. #define GL_BLEND_SRC_RGB 0x80C9
  574. #define GL_BLEND_DST_ALPHA 0x80CA
  575. #define GL_BLEND_SRC_ALPHA 0x80CB
  576. #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
  577. #define GL_DEPTH_COMPONENT16 0x81A5
  578. #define GL_DEPTH_COMPONENT24 0x81A6
  579. #define GL_DEPTH_COMPONENT32 0x81A7
  580. #define GL_MIRRORED_REPEAT 0x8370
  581. #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
  582. #define GL_TEXTURE_LOD_BIAS 0x8501
  583. #define GL_INCR_WRAP 0x8507
  584. #define GL_DECR_WRAP 0x8508
  585. #define GL_TEXTURE_DEPTH_SIZE 0x884A
  586. #define GL_TEXTURE_COMPARE_MODE 0x884C
  587. #define GL_TEXTURE_COMPARE_FUNC 0x884D
  588. #define GL_POINT_SIZE_MIN 0x8126
  589. #define GL_POINT_SIZE_MAX 0x8127
  590. #define GL_POINT_DISTANCE_ATTENUATION 0x8129
  591. #define GL_GENERATE_MIPMAP 0x8191
  592. #define GL_GENERATE_MIPMAP_HINT 0x8192
  593. #define GL_FOG_COORDINATE_SOURCE 0x8450
  594. #define GL_FOG_COORDINATE 0x8451
  595. #define GL_FRAGMENT_DEPTH 0x8452
  596. #define GL_CURRENT_FOG_COORDINATE 0x8453
  597. #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
  598. #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
  599. #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
  600. #define GL_FOG_COORDINATE_ARRAY 0x8457
  601. #define GL_COLOR_SUM 0x8458
  602. #define GL_CURRENT_SECONDARY_COLOR 0x8459
  603. #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
  604. #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
  605. #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
  606. #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
  607. #define GL_SECONDARY_COLOR_ARRAY 0x845E
  608. #define GL_TEXTURE_FILTER_CONTROL 0x8500
  609. #define GL_DEPTH_TEXTURE_MODE 0x884B
  610. #define GL_COMPARE_R_TO_TEXTURE 0x884E
  611. #define GL_BLEND_COLOR 0x8005
  612. #define GL_BLEND_EQUATION 0x8009
  613. #define GL_CONSTANT_COLOR 0x8001
  614. #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
  615. #define GL_CONSTANT_ALPHA 0x8003
  616. #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
  617. #define GL_FUNC_ADD 0x8006
  618. #define GL_FUNC_REVERSE_SUBTRACT 0x800B
  619. #define GL_FUNC_SUBTRACT 0x800A
  620. #define GL_MIN 0x8007
  621. #define GL_MAX 0x8008
  622. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  623. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  624. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  625. typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  626. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  627. typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  628. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  629. typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
  630. typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  631. typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
  632. typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  633. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
  634. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  635. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  636. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  637. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  638. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  639. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  640. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  641. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  642. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  643. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  644. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  645. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  646. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  647. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  648. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  649. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  650. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  651. typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  652. typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
  653. typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  654. typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
  655. typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  656. typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
  657. typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  658. typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
  659. typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  660. typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
  661. typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  662. typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
  663. typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  664. typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
  665. typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  666. typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
  667. typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  668. typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  669. #ifdef GL_GLEXT_PROTOTYPES
  670. GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  671. GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  672. GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  673. GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
  674. GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
  675. GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
  676. GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
  677. GLAPI void APIENTRY glFogCoordf (GLfloat coord);
  678. GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
  679. GLAPI void APIENTRY glFogCoordd (GLdouble coord);
  680. GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
  681. GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
  682. GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
  683. GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
  684. GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
  685. GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
  686. GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
  687. GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
  688. GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
  689. GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
  690. GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
  691. GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
  692. GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
  693. GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
  694. GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
  695. GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
  696. GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
  697. GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
  698. GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
  699. GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
  700. GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
  701. GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
  702. GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
  703. GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
  704. GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
  705. GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
  706. GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
  707. GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
  708. GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
  709. GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
  710. GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
  711. GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
  712. GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
  713. GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
  714. GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
  715. GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  716. GLAPI void APIENTRY glBlendEquation (GLenum mode);
  717. #endif
  718. #endif /* GL_VERSION_1_4 */
  719. #ifndef GL_VERSION_1_5
  720. #define GL_VERSION_1_5 1
  721. typedef khronos_ssize_t GLsizeiptr;
  722. typedef khronos_intptr_t GLintptr;
  723. #define GL_BUFFER_SIZE 0x8764
  724. #define GL_BUFFER_USAGE 0x8765
  725. #define GL_QUERY_COUNTER_BITS 0x8864
  726. #define GL_CURRENT_QUERY 0x8865
  727. #define GL_QUERY_RESULT 0x8866
  728. #define GL_QUERY_RESULT_AVAILABLE 0x8867
  729. #define GL_ARRAY_BUFFER 0x8892
  730. #define GL_ELEMENT_ARRAY_BUFFER 0x8893
  731. #define GL_ARRAY_BUFFER_BINDING 0x8894
  732. #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
  733. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
  734. #define GL_READ_ONLY 0x88B8
  735. #define GL_WRITE_ONLY 0x88B9
  736. #define GL_READ_WRITE 0x88BA
  737. #define GL_BUFFER_ACCESS 0x88BB
  738. #define GL_BUFFER_MAPPED 0x88BC
  739. #define GL_BUFFER_MAP_POINTER 0x88BD
  740. #define GL_STREAM_DRAW 0x88E0
  741. #define GL_STREAM_READ 0x88E1
  742. #define GL_STREAM_COPY 0x88E2
  743. #define GL_STATIC_DRAW 0x88E4
  744. #define GL_STATIC_READ 0x88E5
  745. #define GL_STATIC_COPY 0x88E6
  746. #define GL_DYNAMIC_DRAW 0x88E8
  747. #define GL_DYNAMIC_READ 0x88E9
  748. #define GL_DYNAMIC_COPY 0x88EA
  749. #define GL_SAMPLES_PASSED 0x8914
  750. #define GL_SRC1_ALPHA 0x8589
  751. #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
  752. #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
  753. #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
  754. #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
  755. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
  756. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
  757. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
  758. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
  759. #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
  760. #define GL_FOG_COORD_SRC 0x8450
  761. #define GL_FOG_COORD 0x8451
  762. #define GL_CURRENT_FOG_COORD 0x8453
  763. #define GL_FOG_COORD_ARRAY_TYPE 0x8454
  764. #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
  765. #define GL_FOG_COORD_ARRAY_POINTER 0x8456
  766. #define GL_FOG_COORD_ARRAY 0x8457
  767. #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
  768. #define GL_SRC0_RGB 0x8580
  769. #define GL_SRC1_RGB 0x8581
  770. #define GL_SRC2_RGB 0x8582
  771. #define GL_SRC0_ALPHA 0x8588
  772. #define GL_SRC2_ALPHA 0x858A
  773. typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  774. typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  775. typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  776. typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  777. typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  778. typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  779. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  780. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  781. typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  782. typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  783. typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  784. typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  785. typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  786. typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  787. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  788. typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  789. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  790. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  791. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
  792. #ifdef GL_GLEXT_PROTOTYPES
  793. GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
  794. GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
  795. GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
  796. GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
  797. GLAPI void APIENTRY glEndQuery (GLenum target);
  798. GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
  799. GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
  800. GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
  801. GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
  802. GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
  803. GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
  804. GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
  805. GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  806. GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  807. GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  808. GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
  809. GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
  810. GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
  811. GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
  812. #endif
  813. #endif /* GL_VERSION_1_5 */
  814. #ifndef GL_VERSION_2_0
  815. #define GL_VERSION_2_0 1
  816. typedef char GLchar;
  817. #define GL_BLEND_EQUATION_RGB 0x8009
  818. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
  819. #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
  820. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
  821. #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
  822. #define GL_CURRENT_VERTEX_ATTRIB 0x8626
  823. #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
  824. #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
  825. #define GL_STENCIL_BACK_FUNC 0x8800
  826. #define GL_STENCIL_BACK_FAIL 0x8801
  827. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
  828. #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
  829. #define GL_MAX_DRAW_BUFFERS 0x8824
  830. #define GL_DRAW_BUFFER0 0x8825
  831. #define GL_DRAW_BUFFER1 0x8826
  832. #define GL_DRAW_BUFFER2 0x8827
  833. #define GL_DRAW_BUFFER3 0x8828
  834. #define GL_DRAW_BUFFER4 0x8829
  835. #define GL_DRAW_BUFFER5 0x882A
  836. #define GL_DRAW_BUFFER6 0x882B
  837. #define GL_DRAW_BUFFER7 0x882C
  838. #define GL_DRAW_BUFFER8 0x882D
  839. #define GL_DRAW_BUFFER9 0x882E
  840. #define GL_DRAW_BUFFER10 0x882F
  841. #define GL_DRAW_BUFFER11 0x8830
  842. #define GL_DRAW_BUFFER12 0x8831
  843. #define GL_DRAW_BUFFER13 0x8832
  844. #define GL_DRAW_BUFFER14 0x8833
  845. #define GL_DRAW_BUFFER15 0x8834
  846. #define GL_BLEND_EQUATION_ALPHA 0x883D
  847. #define GL_MAX_VERTEX_ATTRIBS 0x8869
  848. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
  849. #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
  850. #define GL_FRAGMENT_SHADER 0x8B30
  851. #define GL_VERTEX_SHADER 0x8B31
  852. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
  853. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
  854. #define GL_MAX_VARYING_FLOATS 0x8B4B
  855. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
  856. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
  857. #define GL_SHADER_TYPE 0x8B4F
  858. #define GL_FLOAT_VEC2 0x8B50
  859. #define GL_FLOAT_VEC3 0x8B51
  860. #define GL_FLOAT_VEC4 0x8B52
  861. #define GL_INT_VEC2 0x8B53
  862. #define GL_INT_VEC3 0x8B54
  863. #define GL_INT_VEC4 0x8B55
  864. #define GL_BOOL 0x8B56
  865. #define GL_BOOL_VEC2 0x8B57
  866. #define GL_BOOL_VEC3 0x8B58
  867. #define GL_BOOL_VEC4 0x8B59
  868. #define GL_FLOAT_MAT2 0x8B5A
  869. #define GL_FLOAT_MAT3 0x8B5B
  870. #define GL_FLOAT_MAT4 0x8B5C
  871. #define GL_SAMPLER_1D 0x8B5D
  872. #define GL_SAMPLER_2D 0x8B5E
  873. #define GL_SAMPLER_3D 0x8B5F
  874. #define GL_SAMPLER_CUBE 0x8B60
  875. #define GL_SAMPLER_1D_SHADOW 0x8B61
  876. #define GL_SAMPLER_2D_SHADOW 0x8B62
  877. #define GL_DELETE_STATUS 0x8B80
  878. #define GL_COMPILE_STATUS 0x8B81
  879. #define GL_LINK_STATUS 0x8B82
  880. #define GL_VALIDATE_STATUS 0x8B83
  881. #define GL_INFO_LOG_LENGTH 0x8B84
  882. #define GL_ATTACHED_SHADERS 0x8B85
  883. #define GL_ACTIVE_UNIFORMS 0x8B86
  884. #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
  885. #define GL_SHADER_SOURCE_LENGTH 0x8B88
  886. #define GL_ACTIVE_ATTRIBUTES 0x8B89
  887. #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
  888. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
  889. #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
  890. #define GL_CURRENT_PROGRAM 0x8B8D
  891. #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
  892. #define GL_LOWER_LEFT 0x8CA1
  893. #define GL_UPPER_LEFT 0x8CA2
  894. #define GL_STENCIL_BACK_REF 0x8CA3
  895. #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
  896. #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
  897. #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
  898. #define GL_POINT_SPRITE 0x8861
  899. #define GL_COORD_REPLACE 0x8862
  900. #define GL_MAX_TEXTURE_COORDS 0x8871
  901. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  902. typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  903. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  904. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
  905. typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  906. typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  907. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  908. typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  909. typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  910. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  911. typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  912. typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  913. typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  914. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  915. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  916. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  917. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  918. typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  919. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  920. typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  921. typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  922. typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  923. typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  924. typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  925. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  926. typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  927. typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  928. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  929. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  930. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  931. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
  932. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  933. typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  934. typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  935. typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  936. typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  937. typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  938. typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  939. typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  940. typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  941. typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  942. typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  943. typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  944. typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  945. typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  946. typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  947. typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  948. typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  949. typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  950. typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  951. typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  952. typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  953. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  954. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  955. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  956. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  957. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  958. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  959. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  960. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  961. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  962. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  963. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  964. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  965. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  966. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  967. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  968. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  969. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  970. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  971. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  972. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  973. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  974. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  975. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  976. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  977. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  978. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  979. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  980. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  981. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  982. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  983. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  984. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  985. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  986. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  987. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  988. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  989. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  990. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  991. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  992. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  993. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  994. #ifdef GL_GLEXT_PROTOTYPES
  995. GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
  996. GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
  997. GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  998. GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
  999. GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
  1000. GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
  1001. GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
  1002. GLAPI void APIENTRY glCompileShader (GLuint shader);
  1003. GLAPI GLuint APIENTRY glCreateProgram (void);
  1004. GLAPI GLuint APIENTRY glCreateShader (GLenum type);
  1005. GLAPI void APIENTRY glDeleteProgram (GLuint program);
  1006. GLAPI void APIENTRY glDeleteShader (GLuint shader);
  1007. GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
  1008. GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
  1009. GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
  1010. GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  1011. GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  1012. GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  1013. GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
  1014. GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
  1015. GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1016. GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
  1017. GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1018. GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  1019. GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
  1020. GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
  1021. GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
  1022. GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
  1023. GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
  1024. GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
  1025. GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
  1026. GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
  1027. GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
  1028. GLAPI void APIENTRY glLinkProgram (GLuint program);
  1029. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  1030. GLAPI void APIENTRY glUseProgram (GLuint program);
  1031. GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
  1032. GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
  1033. GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1034. GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1035. GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
  1036. GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
  1037. GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
  1038. GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1039. GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
  1040. GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
  1041. GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
  1042. GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
  1043. GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
  1044. GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
  1045. GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
  1046. GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
  1047. GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1048. GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1049. GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1050. GLAPI void APIENTRY glValidateProgram (GLuint program);
  1051. GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
  1052. GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
  1053. GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
  1054. GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
  1055. GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
  1056. GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
  1057. GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
  1058. GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
  1059. GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
  1060. GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
  1061. GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
  1062. GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
  1063. GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1064. GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
  1065. GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  1066. GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
  1067. GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
  1068. GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
  1069. GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
  1070. GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
  1071. GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
  1072. GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  1073. GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
  1074. GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
  1075. GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
  1076. GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
  1077. GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1078. GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
  1079. GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1080. GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
  1081. GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
  1082. GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  1083. GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
  1084. GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
  1085. GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
  1086. GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
  1087. GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  1088. #endif
  1089. #endif /* GL_VERSION_2_0 */
  1090. #ifndef GL_VERSION_2_1
  1091. #define GL_VERSION_2_1 1
  1092. #define GL_PIXEL_PACK_BUFFER 0x88EB
  1093. #define GL_PIXEL_UNPACK_BUFFER 0x88EC
  1094. #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
  1095. #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
  1096. #define GL_FLOAT_MAT2x3 0x8B65
  1097. #define GL_FLOAT_MAT2x4 0x8B66
  1098. #define GL_FLOAT_MAT3x2 0x8B67
  1099. #define GL_FLOAT_MAT3x4 0x8B68
  1100. #define GL_FLOAT_MAT4x2 0x8B69
  1101. #define GL_FLOAT_MAT4x3 0x8B6A
  1102. #define GL_SRGB 0x8C40
  1103. #define GL_SRGB8 0x8C41
  1104. #define GL_SRGB_ALPHA 0x8C42
  1105. #define GL_SRGB8_ALPHA8 0x8C43
  1106. #define GL_COMPRESSED_SRGB 0x8C48
  1107. #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
  1108. #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
  1109. #define GL_SLUMINANCE_ALPHA 0x8C44
  1110. #define GL_SLUMINANCE8_ALPHA8 0x8C45
  1111. #define GL_SLUMINANCE 0x8C46
  1112. #define GL_SLUMINANCE8 0x8C47
  1113. #define GL_COMPRESSED_SLUMINANCE 0x8C4A
  1114. #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
  1115. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1116. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1117. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1118. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1119. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1120. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1121. #ifdef GL_GLEXT_PROTOTYPES
  1122. GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1123. GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1124. GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1125. GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1126. GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1127. GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1128. #endif
  1129. #endif /* GL_VERSION_2_1 */
  1130. #ifndef GL_VERSION_3_0
  1131. #define GL_VERSION_3_0 1
  1132. typedef khronos_uint16_t GLhalf;
  1133. #define GL_COMPARE_REF_TO_TEXTURE 0x884E
  1134. #define GL_CLIP_DISTANCE0 0x3000
  1135. #define GL_CLIP_DISTANCE1 0x3001
  1136. #define GL_CLIP_DISTANCE2 0x3002
  1137. #define GL_CLIP_DISTANCE3 0x3003
  1138. #define GL_CLIP_DISTANCE4 0x3004
  1139. #define GL_CLIP_DISTANCE5 0x3005
  1140. #define GL_CLIP_DISTANCE6 0x3006
  1141. #define GL_CLIP_DISTANCE7 0x3007
  1142. #define GL_MAX_CLIP_DISTANCES 0x0D32
  1143. #define GL_MAJOR_VERSION 0x821B
  1144. #define GL_MINOR_VERSION 0x821C
  1145. #define GL_NUM_EXTENSIONS 0x821D
  1146. #define GL_CONTEXT_FLAGS 0x821E
  1147. #define GL_COMPRESSED_RED 0x8225
  1148. #define GL_COMPRESSED_RG 0x8226
  1149. #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
  1150. #define GL_RGBA32F 0x8814
  1151. #define GL_RGB32F 0x8815
  1152. #define GL_RGBA16F 0x881A
  1153. #define GL_RGB16F 0x881B
  1154. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
  1155. #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
  1156. #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
  1157. #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
  1158. #define GL_CLAMP_READ_COLOR 0x891C
  1159. #define GL_FIXED_ONLY 0x891D
  1160. #define GL_MAX_VARYING_COMPONENTS 0x8B4B
  1161. #define GL_TEXTURE_1D_ARRAY 0x8C18
  1162. #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
  1163. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  1164. #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
  1165. #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
  1166. #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
  1167. #define GL_R11F_G11F_B10F 0x8C3A
  1168. #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
  1169. #define GL_RGB9_E5 0x8C3D
  1170. #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
  1171. #define GL_TEXTURE_SHARED_SIZE 0x8C3F
  1172. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
  1173. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
  1174. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
  1175. #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
  1176. #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
  1177. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
  1178. #define GL_PRIMITIVES_GENERATED 0x8C87
  1179. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
  1180. #define GL_RASTERIZER_DISCARD 0x8C89
  1181. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
  1182. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
  1183. #define GL_INTERLEAVED_ATTRIBS 0x8C8C
  1184. #define GL_SEPARATE_ATTRIBS 0x8C8D
  1185. #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
  1186. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
  1187. #define GL_RGBA32UI 0x8D70
  1188. #define GL_RGB32UI 0x8D71
  1189. #define GL_RGBA16UI 0x8D76
  1190. #define GL_RGB16UI 0x8D77
  1191. #define GL_RGBA8UI 0x8D7C
  1192. #define GL_RGB8UI 0x8D7D
  1193. #define GL_RGBA32I 0x8D82
  1194. #define GL_RGB32I 0x8D83
  1195. #define GL_RGBA16I 0x8D88
  1196. #define GL_RGB16I 0x8D89
  1197. #define GL_RGBA8I 0x8D8E
  1198. #define GL_RGB8I 0x8D8F
  1199. #define GL_RED_INTEGER 0x8D94
  1200. #define GL_GREEN_INTEGER 0x8D95
  1201. #define GL_BLUE_INTEGER 0x8D96
  1202. #define GL_RGB_INTEGER 0x8D98
  1203. #define GL_RGBA_INTEGER 0x8D99
  1204. #define GL_BGR_INTEGER 0x8D9A
  1205. #define GL_BGRA_INTEGER 0x8D9B
  1206. #define GL_SAMPLER_1D_ARRAY 0x8DC0
  1207. #define GL_SAMPLER_2D_ARRAY 0x8DC1
  1208. #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
  1209. #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
  1210. #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
  1211. #define GL_UNSIGNED_INT_VEC2 0x8DC6
  1212. #define GL_UNSIGNED_INT_VEC3 0x8DC7
  1213. #define GL_UNSIGNED_INT_VEC4 0x8DC8
  1214. #define GL_INT_SAMPLER_1D 0x8DC9
  1215. #define GL_INT_SAMPLER_2D 0x8DCA
  1216. #define GL_INT_SAMPLER_3D 0x8DCB
  1217. #define GL_INT_SAMPLER_CUBE 0x8DCC
  1218. #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
  1219. #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
  1220. #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
  1221. #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
  1222. #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
  1223. #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
  1224. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
  1225. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
  1226. #define GL_QUERY_WAIT 0x8E13
  1227. #define GL_QUERY_NO_WAIT 0x8E14
  1228. #define GL_QUERY_BY_REGION_WAIT 0x8E15
  1229. #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
  1230. #define GL_BUFFER_ACCESS_FLAGS 0x911F
  1231. #define GL_BUFFER_MAP_LENGTH 0x9120
  1232. #define GL_BUFFER_MAP_OFFSET 0x9121
  1233. #define GL_DEPTH_COMPONENT32F 0x8CAC
  1234. #define GL_DEPTH32F_STENCIL8 0x8CAD
  1235. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  1236. #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
  1237. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  1238. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  1239. #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  1240. #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  1241. #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  1242. #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  1243. #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  1244. #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  1245. #define GL_FRAMEBUFFER_DEFAULT 0x8218
  1246. #define GL_FRAMEBUFFER_UNDEFINED 0x8219
  1247. #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
  1248. #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
  1249. #define GL_DEPTH_STENCIL 0x84F9
  1250. #define GL_UNSIGNED_INT_24_8 0x84FA
  1251. #define GL_DEPTH24_STENCIL8 0x88F0
  1252. #define GL_TEXTURE_STENCIL_SIZE 0x88F1
  1253. #define GL_TEXTURE_RED_TYPE 0x8C10
  1254. #define GL_TEXTURE_GREEN_TYPE 0x8C11
  1255. #define GL_TEXTURE_BLUE_TYPE 0x8C12
  1256. #define GL_TEXTURE_ALPHA_TYPE 0x8C13
  1257. #define GL_TEXTURE_DEPTH_TYPE 0x8C16
  1258. #define GL_UNSIGNED_NORMALIZED 0x8C17
  1259. #define GL_FRAMEBUFFER_BINDING 0x8CA6
  1260. #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
  1261. #define GL_RENDERBUFFER_BINDING 0x8CA7
  1262. #define GL_READ_FRAMEBUFFER 0x8CA8
  1263. #define GL_DRAW_FRAMEBUFFER 0x8CA9
  1264. #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
  1265. #define GL_RENDERBUFFER_SAMPLES 0x8CAB
  1266. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  1267. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  1268. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  1269. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  1270. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  1271. #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
  1272. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  1273. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  1274. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  1275. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  1276. #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
  1277. #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
  1278. #define GL_COLOR_ATTACHMENT0 0x8CE0
  1279. #define GL_COLOR_ATTACHMENT1 0x8CE1
  1280. #define GL_COLOR_ATTACHMENT2 0x8CE2
  1281. #define GL_COLOR_ATTACHMENT3 0x8CE3
  1282. #define GL_COLOR_ATTACHMENT4 0x8CE4
  1283. #define GL_COLOR_ATTACHMENT5 0x8CE5
  1284. #define GL_COLOR_ATTACHMENT6 0x8CE6
  1285. #define GL_COLOR_ATTACHMENT7 0x8CE7
  1286. #define GL_COLOR_ATTACHMENT8 0x8CE8
  1287. #define GL_COLOR_ATTACHMENT9 0x8CE9
  1288. #define GL_COLOR_ATTACHMENT10 0x8CEA
  1289. #define GL_COLOR_ATTACHMENT11 0x8CEB
  1290. #define GL_COLOR_ATTACHMENT12 0x8CEC
  1291. #define GL_COLOR_ATTACHMENT13 0x8CED
  1292. #define GL_COLOR_ATTACHMENT14 0x8CEE
  1293. #define GL_COLOR_ATTACHMENT15 0x8CEF
  1294. #define GL_COLOR_ATTACHMENT16 0x8CF0
  1295. #define GL_COLOR_ATTACHMENT17 0x8CF1
  1296. #define GL_COLOR_ATTACHMENT18 0x8CF2
  1297. #define GL_COLOR_ATTACHMENT19 0x8CF3
  1298. #define GL_COLOR_ATTACHMENT20 0x8CF4
  1299. #define GL_COLOR_ATTACHMENT21 0x8CF5
  1300. #define GL_COLOR_ATTACHMENT22 0x8CF6
  1301. #define GL_COLOR_ATTACHMENT23 0x8CF7
  1302. #define GL_COLOR_ATTACHMENT24 0x8CF8
  1303. #define GL_COLOR_ATTACHMENT25 0x8CF9
  1304. #define GL_COLOR_ATTACHMENT26 0x8CFA
  1305. #define GL_COLOR_ATTACHMENT27 0x8CFB
  1306. #define GL_COLOR_ATTACHMENT28 0x8CFC
  1307. #define GL_COLOR_ATTACHMENT29 0x8CFD
  1308. #define GL_COLOR_ATTACHMENT30 0x8CFE
  1309. #define GL_COLOR_ATTACHMENT31 0x8CFF
  1310. #define GL_DEPTH_ATTACHMENT 0x8D00
  1311. #define GL_STENCIL_ATTACHMENT 0x8D20
  1312. #define GL_FRAMEBUFFER 0x8D40
  1313. #define GL_RENDERBUFFER 0x8D41
  1314. #define GL_RENDERBUFFER_WIDTH 0x8D42
  1315. #define GL_RENDERBUFFER_HEIGHT 0x8D43
  1316. #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
  1317. #define GL_STENCIL_INDEX1 0x8D46
  1318. #define GL_STENCIL_INDEX4 0x8D47
  1319. #define GL_STENCIL_INDEX8 0x8D48
  1320. #define GL_STENCIL_INDEX16 0x8D49
  1321. #define GL_RENDERBUFFER_RED_SIZE 0x8D50
  1322. #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
  1323. #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
  1324. #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
  1325. #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
  1326. #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
  1327. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1328. #define GL_MAX_SAMPLES 0x8D57
  1329. #define GL_INDEX 0x8222
  1330. #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
  1331. #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
  1332. #define GL_FRAMEBUFFER_SRGB 0x8DB9
  1333. #define GL_HALF_FLOAT 0x140B
  1334. #define GL_MAP_READ_BIT 0x0001
  1335. #define GL_MAP_WRITE_BIT 0x0002
  1336. #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
  1337. #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
  1338. #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
  1339. #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
  1340. #define GL_COMPRESSED_RED_RGTC1 0x8DBB
  1341. #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
  1342. #define GL_COMPRESSED_RG_RGTC2 0x8DBD
  1343. #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
  1344. #define GL_RG 0x8227
  1345. #define GL_RG_INTEGER 0x8228
  1346. #define GL_R8 0x8229
  1347. #define GL_R16 0x822A
  1348. #define GL_RG8 0x822B
  1349. #define GL_RG16 0x822C
  1350. #define GL_R16F 0x822D
  1351. #define GL_R32F 0x822E
  1352. #define GL_RG16F 0x822F
  1353. #define GL_RG32F 0x8230
  1354. #define GL_R8I 0x8231
  1355. #define GL_R8UI 0x8232
  1356. #define GL_R16I 0x8233
  1357. #define GL_R16UI 0x8234
  1358. #define GL_R32I 0x8235
  1359. #define GL_R32UI 0x8236
  1360. #define GL_RG8I 0x8237
  1361. #define GL_RG8UI 0x8238
  1362. #define GL_RG16I 0x8239
  1363. #define GL_RG16UI 0x823A
  1364. #define GL_RG32I 0x823B
  1365. #define GL_RG32UI 0x823C
  1366. #define GL_VERTEX_ARRAY_BINDING 0x85B5
  1367. #define GL_CLAMP_VERTEX_COLOR 0x891A
  1368. #define GL_CLAMP_FRAGMENT_COLOR 0x891B
  1369. #define GL_ALPHA_INTEGER 0x8D97
  1370. typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1371. typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  1372. typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  1373. typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  1374. typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  1375. typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  1376. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  1377. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  1378. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1379. typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  1380. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1381. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1382. typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  1383. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  1384. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  1385. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1386. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  1387. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  1388. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  1389. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  1390. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  1391. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1392. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  1393. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  1394. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  1395. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1396. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  1397. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  1398. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  1399. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  1400. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  1401. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  1402. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  1403. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  1404. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  1405. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  1406. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  1407. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  1408. typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  1409. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  1410. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  1411. typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  1412. typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  1413. typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1414. typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1415. typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1416. typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1417. typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1418. typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1419. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1420. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  1421. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  1422. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  1423. typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  1424. typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1425. typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1426. typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1427. typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  1428. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  1429. typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  1430. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  1431. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  1432. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1433. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1434. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  1435. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  1436. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  1437. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  1438. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  1439. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1440. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1441. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1442. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1443. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1444. typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  1445. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1446. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1447. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1448. typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1449. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1450. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  1451. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  1452. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  1453. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  1454. #ifdef GL_GLEXT_PROTOTYPES
  1455. GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1456. GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
  1457. GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
  1458. GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
  1459. GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
  1460. GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
  1461. GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
  1462. GLAPI void APIENTRY glEndTransformFeedback (void);
  1463. GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1464. GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
  1465. GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1466. GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1467. GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
  1468. GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
  1469. GLAPI void APIENTRY glEndConditionalRender (void);
  1470. GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1471. GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
  1472. GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
  1473. GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
  1474. GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
  1475. GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
  1476. GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1477. GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
  1478. GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
  1479. GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
  1480. GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1481. GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
  1482. GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
  1483. GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
  1484. GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
  1485. GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
  1486. GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
  1487. GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
  1488. GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
  1489. GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
  1490. GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
  1491. GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
  1492. GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
  1493. GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
  1494. GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
  1495. GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
  1496. GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
  1497. GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
  1498. GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1499. GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1500. GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
  1501. GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
  1502. GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
  1503. GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
  1504. GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
  1505. GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
  1506. GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
  1507. GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
  1508. GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
  1509. GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1510. GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1511. GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1512. GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
  1513. GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
  1514. GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
  1515. GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
  1516. GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
  1517. GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1518. GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
  1519. GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
  1520. GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
  1521. GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
  1522. GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
  1523. GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
  1524. GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1525. GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1526. GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1527. GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1528. GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1529. GLAPI void APIENTRY glGenerateMipmap (GLenum target);
  1530. GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1531. GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1532. GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1533. GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1534. GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
  1535. GLAPI void APIENTRY glBindVertexArray (GLuint array);
  1536. GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
  1537. GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
  1538. GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
  1539. #endif
  1540. #endif /* GL_VERSION_3_0 */
  1541. #ifndef GL_VERSION_3_1
  1542. #define GL_VERSION_3_1 1
  1543. #define GL_SAMPLER_2D_RECT 0x8B63
  1544. #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
  1545. #define GL_SAMPLER_BUFFER 0x8DC2
  1546. #define GL_INT_SAMPLER_2D_RECT 0x8DCD
  1547. #define GL_INT_SAMPLER_BUFFER 0x8DD0
  1548. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
  1549. #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
  1550. #define GL_TEXTURE_BUFFER 0x8C2A
  1551. #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
  1552. #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
  1553. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  1554. #define GL_TEXTURE_RECTANGLE 0x84F5
  1555. #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
  1556. #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
  1557. #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
  1558. #define GL_R8_SNORM 0x8F94
  1559. #define GL_RG8_SNORM 0x8F95
  1560. #define GL_RGB8_SNORM 0x8F96
  1561. #define GL_RGBA8_SNORM 0x8F97
  1562. #define GL_R16_SNORM 0x8F98
  1563. #define GL_RG16_SNORM 0x8F99
  1564. #define GL_RGB16_SNORM 0x8F9A
  1565. #define GL_RGBA16_SNORM 0x8F9B
  1566. #define GL_SIGNED_NORMALIZED 0x8F9C
  1567. #define GL_PRIMITIVE_RESTART 0x8F9D
  1568. #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
  1569. #define GL_COPY_READ_BUFFER 0x8F36
  1570. #define GL_COPY_WRITE_BUFFER 0x8F37
  1571. #define GL_UNIFORM_BUFFER 0x8A11
  1572. #define GL_UNIFORM_BUFFER_BINDING 0x8A28
  1573. #define GL_UNIFORM_BUFFER_START 0x8A29
  1574. #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
  1575. #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
  1576. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
  1577. #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
  1578. #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
  1579. #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
  1580. #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
  1581. #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  1582. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  1583. #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  1584. #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  1585. #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  1586. #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
  1587. #define GL_UNIFORM_TYPE 0x8A37
  1588. #define GL_UNIFORM_SIZE 0x8A38
  1589. #define GL_UNIFORM_NAME_LENGTH 0x8A39
  1590. #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
  1591. #define GL_UNIFORM_OFFSET 0x8A3B
  1592. #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
  1593. #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
  1594. #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
  1595. #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
  1596. #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
  1597. #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
  1598. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
  1599. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  1600. #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  1601. #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  1602. #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  1603. #define GL_INVALID_INDEX 0xFFFFFFFFu
  1604. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1605. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1606. typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1607. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
  1608. typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1609. typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1610. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1611. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1612. typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
  1613. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1614. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1615. typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1616. #ifdef GL_GLEXT_PROTOTYPES
  1617. GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1618. GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1619. GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
  1620. GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
  1621. GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1622. GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1623. GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1624. GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1625. GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
  1626. GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1627. GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1628. GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1629. #endif
  1630. #endif /* GL_VERSION_3_1 */
  1631. #ifndef GL_VERSION_3_2
  1632. #define GL_VERSION_3_2 1
  1633. typedef struct __GLsync *GLsync;
  1634. typedef khronos_uint64_t GLuint64;
  1635. typedef khronos_int64_t GLint64;
  1636. #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
  1637. #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  1638. #define GL_LINES_ADJACENCY 0x000A
  1639. #define GL_LINE_STRIP_ADJACENCY 0x000B
  1640. #define GL_TRIANGLES_ADJACENCY 0x000C
  1641. #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
  1642. #define GL_PROGRAM_POINT_SIZE 0x8642
  1643. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  1644. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  1645. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  1646. #define GL_GEOMETRY_SHADER 0x8DD9
  1647. #define GL_GEOMETRY_VERTICES_OUT 0x8916
  1648. #define GL_GEOMETRY_INPUT_TYPE 0x8917
  1649. #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
  1650. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  1651. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
  1652. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  1653. #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
  1654. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
  1655. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  1656. #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
  1657. #define GL_CONTEXT_PROFILE_MASK 0x9126
  1658. #define GL_DEPTH_CLAMP 0x864F
  1659. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  1660. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  1661. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  1662. #define GL_PROVOKING_VERTEX 0x8E4F
  1663. #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
  1664. #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
  1665. #define GL_OBJECT_TYPE 0x9112
  1666. #define GL_SYNC_CONDITION 0x9113
  1667. #define GL_SYNC_STATUS 0x9114
  1668. #define GL_SYNC_FLAGS 0x9115
  1669. #define GL_SYNC_FENCE 0x9116
  1670. #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
  1671. #define GL_UNSIGNALED 0x9118
  1672. #define GL_SIGNALED 0x9119
  1673. #define GL_ALREADY_SIGNALED 0x911A
  1674. #define GL_TIMEOUT_EXPIRED 0x911B
  1675. #define GL_CONDITION_SATISFIED 0x911C
  1676. #define GL_WAIT_FAILED 0x911D
  1677. #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
  1678. #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
  1679. #define GL_SAMPLE_POSITION 0x8E50
  1680. #define GL_SAMPLE_MASK 0x8E51
  1681. #define GL_SAMPLE_MASK_VALUE 0x8E52
  1682. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  1683. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  1684. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
  1685. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  1686. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  1687. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
  1688. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
  1689. #define GL_TEXTURE_SAMPLES 0x9106
  1690. #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
  1691. #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
  1692. #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
  1693. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
  1694. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
  1695. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
  1696. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  1697. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  1698. #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
  1699. #define GL_MAX_INTEGER_SAMPLES 0x9110
  1700. typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1701. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1702. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1703. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1704. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  1705. typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
  1706. typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
  1707. typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
  1708. typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1709. typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1710. typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
  1711. typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
  1712. typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
  1713. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
  1714. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1715. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1716. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1717. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
  1718. typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
  1719. #ifdef GL_GLEXT_PROTOTYPES
  1720. GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1721. GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1722. GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1723. GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1724. GLAPI void APIENTRY glProvokingVertex (GLenum mode);
  1725. GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
  1726. GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
  1727. GLAPI void APIENTRY glDeleteSync (GLsync sync);
  1728. GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1729. GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1730. GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
  1731. GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
  1732. GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
  1733. GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
  1734. GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1735. GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1736. GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1737. GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
  1738. GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
  1739. #endif
  1740. #endif /* GL_VERSION_3_2 */
  1741. #ifndef GL_VERSION_3_3
  1742. #define GL_VERSION_3_3 1
  1743. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
  1744. #define GL_SRC1_COLOR 0x88F9
  1745. #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
  1746. #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
  1747. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
  1748. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  1749. #define GL_SAMPLER_BINDING 0x8919
  1750. #define GL_RGB10_A2UI 0x906F
  1751. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  1752. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  1753. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  1754. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  1755. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  1756. #define GL_TIME_ELAPSED 0x88BF
  1757. #define GL_TIMESTAMP 0x8E28
  1758. #define GL_INT_2_10_10_10_REV 0x8D9F
  1759. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1760. typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
  1761. typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
  1762. typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
  1763. typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
  1764. typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  1765. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  1766. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1767. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  1768. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
  1769. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1770. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  1771. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1772. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1773. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
  1774. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
  1775. typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  1776. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
  1777. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
  1778. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  1779. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1780. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1781. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1782. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1783. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1784. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1785. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1786. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1787. typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
  1788. typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
  1789. typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
  1790. typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
  1791. typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
  1792. typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
  1793. typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
  1794. typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
  1795. typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
  1796. typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
  1797. typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
  1798. typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
  1799. typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
  1800. typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
  1801. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1802. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1803. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1804. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1805. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1806. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1807. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1808. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1809. typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
  1810. typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
  1811. typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
  1812. typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1813. typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
  1814. typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
  1815. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
  1816. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1817. #ifdef GL_GLEXT_PROTOTYPES
  1818. GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1819. GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
  1820. GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
  1821. GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
  1822. GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
  1823. GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
  1824. GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
  1825. GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
  1826. GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
  1827. GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
  1828. GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
  1829. GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
  1830. GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
  1831. GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
  1832. GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
  1833. GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
  1834. GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
  1835. GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
  1836. GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
  1837. GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
  1838. GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1839. GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1840. GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1841. GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1842. GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1843. GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1844. GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1845. GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1846. GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
  1847. GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
  1848. GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
  1849. GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
  1850. GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
  1851. GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
  1852. GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
  1853. GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
  1854. GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
  1855. GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
  1856. GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
  1857. GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
  1858. GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
  1859. GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
  1860. GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
  1861. GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
  1862. GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
  1863. GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
  1864. GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
  1865. GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
  1866. GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
  1867. GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
  1868. GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
  1869. GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
  1870. GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
  1871. GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
  1872. GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
  1873. GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
  1874. GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
  1875. GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
  1876. #endif
  1877. #endif /* GL_VERSION_3_3 */
  1878. #ifndef GL_VERSION_4_0
  1879. #define GL_VERSION_4_0 1
  1880. #define GL_SAMPLE_SHADING 0x8C36
  1881. #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
  1882. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  1883. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  1884. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  1885. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  1886. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
  1887. #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
  1888. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
  1889. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
  1890. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  1891. #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
  1892. #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
  1893. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  1894. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  1895. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  1896. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  1897. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  1898. #define GL_MAX_VERTEX_STREAMS 0x8E71
  1899. #define GL_DOUBLE_VEC2 0x8FFC
  1900. #define GL_DOUBLE_VEC3 0x8FFD
  1901. #define GL_DOUBLE_VEC4 0x8FFE
  1902. #define GL_DOUBLE_MAT2 0x8F46
  1903. #define GL_DOUBLE_MAT3 0x8F47
  1904. #define GL_DOUBLE_MAT4 0x8F48
  1905. #define GL_DOUBLE_MAT2x3 0x8F49
  1906. #define GL_DOUBLE_MAT2x4 0x8F4A
  1907. #define GL_DOUBLE_MAT3x2 0x8F4B
  1908. #define GL_DOUBLE_MAT3x4 0x8F4C
  1909. #define GL_DOUBLE_MAT4x2 0x8F4D
  1910. #define GL_DOUBLE_MAT4x3 0x8F4E
  1911. #define GL_ACTIVE_SUBROUTINES 0x8DE5
  1912. #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
  1913. #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  1914. #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
  1915. #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
  1916. #define GL_MAX_SUBROUTINES 0x8DE7
  1917. #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  1918. #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
  1919. #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
  1920. #define GL_PATCHES 0x000E
  1921. #define GL_PATCH_VERTICES 0x8E72
  1922. #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
  1923. #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
  1924. #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
  1925. #define GL_TESS_GEN_MODE 0x8E76
  1926. #define GL_TESS_GEN_SPACING 0x8E77
  1927. #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
  1928. #define GL_TESS_GEN_POINT_MODE 0x8E79
  1929. #define GL_ISOLINES 0x8E7A
  1930. #define GL_FRACTIONAL_ODD 0x8E7B
  1931. #define GL_FRACTIONAL_EVEN 0x8E7C
  1932. #define GL_MAX_PATCH_VERTICES 0x8E7D
  1933. #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
  1934. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  1935. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
  1936. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
  1937. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
  1938. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
  1939. #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
  1940. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
  1941. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
  1942. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
  1943. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
  1944. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
  1945. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
  1946. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
  1947. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
  1948. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
  1949. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  1950. #define GL_TESS_EVALUATION_SHADER 0x8E87
  1951. #define GL_TESS_CONTROL_SHADER 0x8E88
  1952. #define GL_TRANSFORM_FEEDBACK 0x8E22
  1953. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
  1954. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
  1955. #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
  1956. #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  1957. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
  1958. typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  1959. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1960. typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  1961. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1962. typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
  1963. typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
  1964. typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  1965. typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  1966. typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1967. typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1968. typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1969. typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1970. typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1971. typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1972. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1973. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1974. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1975. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1976. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1977. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1978. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1979. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1980. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1981. typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
  1982. typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1983. typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1984. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1985. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  1986. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  1987. typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
  1988. typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
  1989. typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1990. typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  1991. typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
  1992. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  1993. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
  1994. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  1995. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  1996. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  1997. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  1998. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  1999. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  2000. typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  2001. typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  2002. typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  2003. #ifdef GL_GLEXT_PROTOTYPES
  2004. GLAPI void APIENTRY glMinSampleShading (GLfloat value);
  2005. GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
  2006. GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  2007. GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
  2008. GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  2009. GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
  2010. GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
  2011. GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
  2012. GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
  2013. GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
  2014. GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2015. GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
  2016. GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
  2017. GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
  2018. GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
  2019. GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2020. GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2021. GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2022. GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2023. GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2024. GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2025. GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2026. GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2027. GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2028. GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
  2029. GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
  2030. GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
  2031. GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  2032. GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2033. GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2034. GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
  2035. GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
  2036. GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  2037. GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
  2038. GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
  2039. GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
  2040. GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
  2041. GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
  2042. GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
  2043. GLAPI void APIENTRY glPauseTransformFeedback (void);
  2044. GLAPI void APIENTRY glResumeTransformFeedback (void);
  2045. GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
  2046. GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
  2047. GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
  2048. GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
  2049. GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
  2050. #endif
  2051. #endif /* GL_VERSION_4_0 */
  2052. #ifndef GL_VERSION_4_1
  2053. #define GL_VERSION_4_1 1
  2054. #define GL_FIXED 0x140C
  2055. #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  2056. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  2057. #define GL_LOW_FLOAT 0x8DF0
  2058. #define GL_MEDIUM_FLOAT 0x8DF1
  2059. #define GL_HIGH_FLOAT 0x8DF2
  2060. #define GL_LOW_INT 0x8DF3
  2061. #define GL_MEDIUM_INT 0x8DF4
  2062. #define GL_HIGH_INT 0x8DF5
  2063. #define GL_SHADER_COMPILER 0x8DFA
  2064. #define GL_SHADER_BINARY_FORMATS 0x8DF8
  2065. #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
  2066. #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
  2067. #define GL_MAX_VARYING_VECTORS 0x8DFC
  2068. #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
  2069. #define GL_RGB565 0x8D62
  2070. #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  2071. #define GL_PROGRAM_BINARY_LENGTH 0x8741
  2072. #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
  2073. #define GL_PROGRAM_BINARY_FORMATS 0x87FF
  2074. #define GL_VERTEX_SHADER_BIT 0x00000001
  2075. #define GL_FRAGMENT_SHADER_BIT 0x00000002
  2076. #define GL_GEOMETRY_SHADER_BIT 0x00000004
  2077. #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
  2078. #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
  2079. #define GL_ALL_SHADER_BITS 0xFFFFFFFF
  2080. #define GL_PROGRAM_SEPARABLE 0x8258
  2081. #define GL_ACTIVE_PROGRAM 0x8259
  2082. #define GL_PROGRAM_PIPELINE_BINDING 0x825A
  2083. #define GL_MAX_VIEWPORTS 0x825B
  2084. #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
  2085. #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
  2086. #define GL_LAYER_PROVOKING_VERTEX 0x825E
  2087. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  2088. #define GL_UNDEFINED_VERTEX 0x8260
  2089. typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
  2090. typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
  2091. typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  2092. typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
  2093. typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
  2094. typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  2095. typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  2096. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  2097. typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  2098. typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  2099. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
  2100. typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  2101. typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
  2102. typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  2103. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  2104. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
  2105. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
  2106. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  2107. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
  2108. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2109. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
  2110. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2111. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
  2112. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2113. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  2114. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  2115. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  2116. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2117. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  2118. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2119. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  2120. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2121. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  2122. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  2123. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  2124. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2125. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  2126. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2127. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  2128. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2129. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  2130. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  2131. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  2132. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2133. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  2134. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2135. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  2136. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2137. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2138. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2139. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2140. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2141. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2142. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2143. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2144. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2145. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2146. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2147. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2148. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2149. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2150. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2151. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2152. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2153. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2154. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2155. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  2156. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  2157. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  2158. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  2159. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  2160. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2161. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
  2162. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
  2163. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
  2164. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
  2165. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  2166. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  2167. typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  2168. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2169. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
  2170. typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
  2171. typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2172. typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
  2173. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  2174. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
  2175. typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
  2176. typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
  2177. #ifdef GL_GLEXT_PROTOTYPES
  2178. GLAPI void APIENTRY glReleaseShaderCompiler (void);
  2179. GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
  2180. GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  2181. GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
  2182. GLAPI void APIENTRY glClearDepthf (GLfloat d);
  2183. GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  2184. GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  2185. GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
  2186. GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
  2187. GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
  2188. GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
  2189. GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
  2190. GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
  2191. GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
  2192. GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
  2193. GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
  2194. GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
  2195. GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2196. GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
  2197. GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2198. GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
  2199. GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2200. GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
  2201. GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2202. GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
  2203. GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2204. GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  2205. GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2206. GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  2207. GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2208. GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
  2209. GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2210. GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  2211. GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2212. GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  2213. GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2214. GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  2215. GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2216. GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  2217. GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2218. GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  2219. GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2220. GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  2221. GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2222. GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  2223. GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2224. GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  2225. GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2226. GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2227. GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2228. GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2229. GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2230. GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2231. GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2232. GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2233. GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2234. GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2235. GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2236. GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2237. GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2238. GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2239. GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2240. GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2241. GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2242. GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2243. GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2244. GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
  2245. GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  2246. GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
  2247. GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
  2248. GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  2249. GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2250. GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
  2251. GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
  2252. GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
  2253. GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
  2254. GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  2255. GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
  2256. GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
  2257. GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2258. GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
  2259. GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
  2260. GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2261. GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
  2262. GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
  2263. GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
  2264. GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
  2265. GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
  2266. #endif
  2267. #endif /* GL_VERSION_4_1 */
  2268. #ifndef GL_VERSION_4_2
  2269. #define GL_VERSION_4_2 1
  2270. #define GL_COPY_READ_BUFFER_BINDING 0x8F36
  2271. #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
  2272. #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
  2273. #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
  2274. #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
  2275. #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
  2276. #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
  2277. #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
  2278. #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
  2279. #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
  2280. #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
  2281. #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
  2282. #define GL_NUM_SAMPLE_COUNTS 0x9380
  2283. #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
  2284. #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
  2285. #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
  2286. #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
  2287. #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
  2288. #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
  2289. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
  2290. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
  2291. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
  2292. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
  2293. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
  2294. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
  2295. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
  2296. #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
  2297. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
  2298. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
  2299. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
  2300. #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
  2301. #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
  2302. #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
  2303. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
  2304. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
  2305. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
  2306. #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
  2307. #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
  2308. #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
  2309. #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
  2310. #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
  2311. #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
  2312. #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
  2313. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
  2314. #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
  2315. #define GL_UNIFORM_BARRIER_BIT 0x00000004
  2316. #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
  2317. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
  2318. #define GL_COMMAND_BARRIER_BIT 0x00000040
  2319. #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
  2320. #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
  2321. #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
  2322. #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
  2323. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
  2324. #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
  2325. #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
  2326. #define GL_MAX_IMAGE_UNITS 0x8F38
  2327. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
  2328. #define GL_IMAGE_BINDING_NAME 0x8F3A
  2329. #define GL_IMAGE_BINDING_LEVEL 0x8F3B
  2330. #define GL_IMAGE_BINDING_LAYERED 0x8F3C
  2331. #define GL_IMAGE_BINDING_LAYER 0x8F3D
  2332. #define GL_IMAGE_BINDING_ACCESS 0x8F3E
  2333. #define GL_IMAGE_1D 0x904C
  2334. #define GL_IMAGE_2D 0x904D
  2335. #define GL_IMAGE_3D 0x904E
  2336. #define GL_IMAGE_2D_RECT 0x904F
  2337. #define GL_IMAGE_CUBE 0x9050
  2338. #define GL_IMAGE_BUFFER 0x9051
  2339. #define GL_IMAGE_1D_ARRAY 0x9052
  2340. #define GL_IMAGE_2D_ARRAY 0x9053
  2341. #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
  2342. #define GL_IMAGE_2D_MULTISAMPLE 0x9055
  2343. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
  2344. #define GL_INT_IMAGE_1D 0x9057
  2345. #define GL_INT_IMAGE_2D 0x9058
  2346. #define GL_INT_IMAGE_3D 0x9059
  2347. #define GL_INT_IMAGE_2D_RECT 0x905A
  2348. #define GL_INT_IMAGE_CUBE 0x905B
  2349. #define GL_INT_IMAGE_BUFFER 0x905C
  2350. #define GL_INT_IMAGE_1D_ARRAY 0x905D
  2351. #define GL_INT_IMAGE_2D_ARRAY 0x905E
  2352. #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
  2353. #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
  2354. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
  2355. #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
  2356. #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
  2357. #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
  2358. #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
  2359. #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
  2360. #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
  2361. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
  2362. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
  2363. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
  2364. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
  2365. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
  2366. #define GL_MAX_IMAGE_SAMPLES 0x906D
  2367. #define GL_IMAGE_BINDING_FORMAT 0x906E
  2368. #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  2369. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
  2370. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
  2371. #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
  2372. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
  2373. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
  2374. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
  2375. #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
  2376. #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
  2377. #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
  2378. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
  2379. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
  2380. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
  2381. #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
  2382. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2383. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2384. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2385. typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
  2386. typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2387. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2388. typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
  2389. typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2390. typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2391. typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2392. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
  2393. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2394. #ifdef GL_GLEXT_PROTOTYPES
  2395. GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2396. GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2397. GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2398. GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
  2399. GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2400. GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2401. GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
  2402. GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2403. GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2404. GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2405. GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
  2406. GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2407. #endif
  2408. #endif /* GL_VERSION_4_2 */
  2409. #ifndef GL_VERSION_4_3
  2410. #define GL_VERSION_4_3 1
  2411. typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  2412. #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
  2413. #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
  2414. #define GL_COMPRESSED_RGB8_ETC2 0x9274
  2415. #define GL_COMPRESSED_SRGB8_ETC2 0x9275
  2416. #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
  2417. #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
  2418. #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
  2419. #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
  2420. #define GL_COMPRESSED_R11_EAC 0x9270
  2421. #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
  2422. #define GL_COMPRESSED_RG11_EAC 0x9272
  2423. #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
  2424. #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
  2425. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
  2426. #define GL_MAX_ELEMENT_INDEX 0x8D6B
  2427. #define GL_COMPUTE_SHADER 0x91B9
  2428. #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
  2429. #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
  2430. #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
  2431. #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
  2432. #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
  2433. #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
  2434. #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
  2435. #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
  2436. #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
  2437. #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
  2438. #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
  2439. #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
  2440. #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
  2441. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
  2442. #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
  2443. #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
  2444. #define GL_COMPUTE_SHADER_BIT 0x00000020
  2445. #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
  2446. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
  2447. #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
  2448. #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
  2449. #define GL_DEBUG_SOURCE_API 0x8246
  2450. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
  2451. #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
  2452. #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
  2453. #define GL_DEBUG_SOURCE_APPLICATION 0x824A
  2454. #define GL_DEBUG_SOURCE_OTHER 0x824B
  2455. #define GL_DEBUG_TYPE_ERROR 0x824C
  2456. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
  2457. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
  2458. #define GL_DEBUG_TYPE_PORTABILITY 0x824F
  2459. #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
  2460. #define GL_DEBUG_TYPE_OTHER 0x8251
  2461. #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
  2462. #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
  2463. #define GL_DEBUG_LOGGED_MESSAGES 0x9145
  2464. #define GL_DEBUG_SEVERITY_HIGH 0x9146
  2465. #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
  2466. #define GL_DEBUG_SEVERITY_LOW 0x9148
  2467. #define GL_DEBUG_TYPE_MARKER 0x8268
  2468. #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
  2469. #define GL_DEBUG_TYPE_POP_GROUP 0x826A
  2470. #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
  2471. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
  2472. #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
  2473. #define GL_BUFFER 0x82E0
  2474. #define GL_SHADER 0x82E1
  2475. #define GL_PROGRAM 0x82E2
  2476. #define GL_QUERY 0x82E3
  2477. #define GL_PROGRAM_PIPELINE 0x82E4
  2478. #define GL_SAMPLER 0x82E6
  2479. #define GL_MAX_LABEL_LENGTH 0x82E8
  2480. #define GL_DEBUG_OUTPUT 0x92E0
  2481. #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
  2482. #define GL_MAX_UNIFORM_LOCATIONS 0x826E
  2483. #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
  2484. #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
  2485. #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
  2486. #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
  2487. #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
  2488. #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
  2489. #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
  2490. #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
  2491. #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
  2492. #define GL_INTERNALFORMAT_SUPPORTED 0x826F
  2493. #define GL_INTERNALFORMAT_PREFERRED 0x8270
  2494. #define GL_INTERNALFORMAT_RED_SIZE 0x8271
  2495. #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
  2496. #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
  2497. #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
  2498. #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
  2499. #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
  2500. #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
  2501. #define GL_INTERNALFORMAT_RED_TYPE 0x8278
  2502. #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
  2503. #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
  2504. #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
  2505. #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
  2506. #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
  2507. #define GL_MAX_WIDTH 0x827E
  2508. #define GL_MAX_HEIGHT 0x827F
  2509. #define GL_MAX_DEPTH 0x8280
  2510. #define GL_MAX_LAYERS 0x8281
  2511. #define GL_MAX_COMBINED_DIMENSIONS 0x8282
  2512. #define GL_COLOR_COMPONENTS 0x8283
  2513. #define GL_DEPTH_COMPONENTS 0x8284
  2514. #define GL_STENCIL_COMPONENTS 0x8285
  2515. #define GL_COLOR_RENDERABLE 0x8286
  2516. #define GL_DEPTH_RENDERABLE 0x8287
  2517. #define GL_STENCIL_RENDERABLE 0x8288
  2518. #define GL_FRAMEBUFFER_RENDERABLE 0x8289
  2519. #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
  2520. #define GL_FRAMEBUFFER_BLEND 0x828B
  2521. #define GL_READ_PIXELS 0x828C
  2522. #define GL_READ_PIXELS_FORMAT 0x828D
  2523. #define GL_READ_PIXELS_TYPE 0x828E
  2524. #define GL_TEXTURE_IMAGE_FORMAT 0x828F
  2525. #define GL_TEXTURE_IMAGE_TYPE 0x8290
  2526. #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
  2527. #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
  2528. #define GL_MIPMAP 0x8293
  2529. #define GL_MANUAL_GENERATE_MIPMAP 0x8294
  2530. #define GL_AUTO_GENERATE_MIPMAP 0x8295
  2531. #define GL_COLOR_ENCODING 0x8296
  2532. #define GL_SRGB_READ 0x8297
  2533. #define GL_SRGB_WRITE 0x8298
  2534. #define GL_FILTER 0x829A
  2535. #define GL_VERTEX_TEXTURE 0x829B
  2536. #define GL_TESS_CONTROL_TEXTURE 0x829C
  2537. #define GL_TESS_EVALUATION_TEXTURE 0x829D
  2538. #define GL_GEOMETRY_TEXTURE 0x829E
  2539. #define GL_FRAGMENT_TEXTURE 0x829F
  2540. #define GL_COMPUTE_TEXTURE 0x82A0
  2541. #define GL_TEXTURE_SHADOW 0x82A1
  2542. #define GL_TEXTURE_GATHER 0x82A2
  2543. #define GL_TEXTURE_GATHER_SHADOW 0x82A3
  2544. #define GL_SHADER_IMAGE_LOAD 0x82A4
  2545. #define GL_SHADER_IMAGE_STORE 0x82A5
  2546. #define GL_SHADER_IMAGE_ATOMIC 0x82A6
  2547. #define GL_IMAGE_TEXEL_SIZE 0x82A7
  2548. #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
  2549. #define GL_IMAGE_PIXEL_FORMAT 0x82A9
  2550. #define GL_IMAGE_PIXEL_TYPE 0x82AA
  2551. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
  2552. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
  2553. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
  2554. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
  2555. #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
  2556. #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
  2557. #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
  2558. #define GL_CLEAR_BUFFER 0x82B4
  2559. #define GL_TEXTURE_VIEW 0x82B5
  2560. #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
  2561. #define GL_FULL_SUPPORT 0x82B7
  2562. #define GL_CAVEAT_SUPPORT 0x82B8
  2563. #define GL_IMAGE_CLASS_4_X_32 0x82B9
  2564. #define GL_IMAGE_CLASS_2_X_32 0x82BA
  2565. #define GL_IMAGE_CLASS_1_X_32 0x82BB
  2566. #define GL_IMAGE_CLASS_4_X_16 0x82BC
  2567. #define GL_IMAGE_CLASS_2_X_16 0x82BD
  2568. #define GL_IMAGE_CLASS_1_X_16 0x82BE
  2569. #define GL_IMAGE_CLASS_4_X_8 0x82BF
  2570. #define GL_IMAGE_CLASS_2_X_8 0x82C0
  2571. #define GL_IMAGE_CLASS_1_X_8 0x82C1
  2572. #define GL_IMAGE_CLASS_11_11_10 0x82C2
  2573. #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
  2574. #define GL_VIEW_CLASS_128_BITS 0x82C4
  2575. #define GL_VIEW_CLASS_96_BITS 0x82C5
  2576. #define GL_VIEW_CLASS_64_BITS 0x82C6
  2577. #define GL_VIEW_CLASS_48_BITS 0x82C7
  2578. #define GL_VIEW_CLASS_32_BITS 0x82C8
  2579. #define GL_VIEW_CLASS_24_BITS 0x82C9
  2580. #define GL_VIEW_CLASS_16_BITS 0x82CA
  2581. #define GL_VIEW_CLASS_8_BITS 0x82CB
  2582. #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
  2583. #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
  2584. #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
  2585. #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
  2586. #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
  2587. #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
  2588. #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
  2589. #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
  2590. #define GL_UNIFORM 0x92E1
  2591. #define GL_UNIFORM_BLOCK 0x92E2
  2592. #define GL_PROGRAM_INPUT 0x92E3
  2593. #define GL_PROGRAM_OUTPUT 0x92E4
  2594. #define GL_BUFFER_VARIABLE 0x92E5
  2595. #define GL_SHADER_STORAGE_BLOCK 0x92E6
  2596. #define GL_VERTEX_SUBROUTINE 0x92E8
  2597. #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
  2598. #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
  2599. #define GL_GEOMETRY_SUBROUTINE 0x92EB
  2600. #define GL_FRAGMENT_SUBROUTINE 0x92EC
  2601. #define GL_COMPUTE_SUBROUTINE 0x92ED
  2602. #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
  2603. #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
  2604. #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
  2605. #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
  2606. #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
  2607. #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
  2608. #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
  2609. #define GL_ACTIVE_RESOURCES 0x92F5
  2610. #define GL_MAX_NAME_LENGTH 0x92F6
  2611. #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
  2612. #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
  2613. #define GL_NAME_LENGTH 0x92F9
  2614. #define GL_TYPE 0x92FA
  2615. #define GL_ARRAY_SIZE 0x92FB
  2616. #define GL_OFFSET 0x92FC
  2617. #define GL_BLOCK_INDEX 0x92FD
  2618. #define GL_ARRAY_STRIDE 0x92FE
  2619. #define GL_MATRIX_STRIDE 0x92FF
  2620. #define GL_IS_ROW_MAJOR 0x9300
  2621. #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
  2622. #define GL_BUFFER_BINDING 0x9302
  2623. #define GL_BUFFER_DATA_SIZE 0x9303
  2624. #define GL_NUM_ACTIVE_VARIABLES 0x9304
  2625. #define GL_ACTIVE_VARIABLES 0x9305
  2626. #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
  2627. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
  2628. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
  2629. #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
  2630. #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
  2631. #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
  2632. #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
  2633. #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
  2634. #define GL_LOCATION 0x930E
  2635. #define GL_LOCATION_INDEX 0x930F
  2636. #define GL_IS_PER_PATCH 0x92E7
  2637. #define GL_SHADER_STORAGE_BUFFER 0x90D2
  2638. #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
  2639. #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
  2640. #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
  2641. #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
  2642. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
  2643. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
  2644. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
  2645. #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
  2646. #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
  2647. #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
  2648. #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
  2649. #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
  2650. #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
  2651. #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
  2652. #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
  2653. #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
  2654. #define GL_TEXTURE_BUFFER_OFFSET 0x919D
  2655. #define GL_TEXTURE_BUFFER_SIZE 0x919E
  2656. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
  2657. #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
  2658. #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
  2659. #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
  2660. #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
  2661. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  2662. #define GL_VERTEX_ATTRIB_BINDING 0x82D4
  2663. #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
  2664. #define GL_VERTEX_BINDING_DIVISOR 0x82D6
  2665. #define GL_VERTEX_BINDING_OFFSET 0x82D7
  2666. #define GL_VERTEX_BINDING_STRIDE 0x82D8
  2667. #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
  2668. #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
  2669. #define GL_VERTEX_BINDING_BUFFER 0x8F4F
  2670. #define GL_DISPLAY_LIST 0x82E7
  2671. typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2672. typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2673. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2674. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
  2675. 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);
  2676. typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  2677. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2678. typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
  2679. typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2680. typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
  2681. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2682. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
  2683. typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2684. typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2685. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2686. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2687. typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2688. typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2689. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2690. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
  2691. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2692. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2693. typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2694. typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2695. typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2696. typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2697. typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2698. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2699. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2700. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2701. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2702. typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
  2703. typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
  2704. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2705. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2706. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
  2707. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2708. typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2709. typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
  2710. typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2711. typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2712. typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
  2713. typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2714. #ifdef GL_GLEXT_PROTOTYPES
  2715. GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2716. GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2717. GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2718. GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
  2719. 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);
  2720. GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
  2721. GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
  2722. GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
  2723. GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2724. GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
  2725. GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2726. GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
  2727. GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2728. GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2729. GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2730. GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2731. GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2732. GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2733. GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2734. GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
  2735. GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
  2736. GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2737. GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2738. GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2739. GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2740. GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2741. GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2742. GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2743. GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2744. GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2745. GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2746. GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
  2747. GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
  2748. GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2749. GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2750. GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
  2751. GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2752. GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2753. GLAPI void APIENTRY glPopDebugGroup (void);
  2754. GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2755. GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2756. GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
  2757. GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2758. #endif
  2759. #endif /* GL_VERSION_4_3 */
  2760. #ifndef GL_VERSION_4_4
  2761. #define GL_VERSION_4_4 1
  2762. #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
  2763. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
  2764. #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
  2765. #define GL_MAP_PERSISTENT_BIT 0x0040
  2766. #define GL_MAP_COHERENT_BIT 0x0080
  2767. #define GL_DYNAMIC_STORAGE_BIT 0x0100
  2768. #define GL_CLIENT_STORAGE_BIT 0x0200
  2769. #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
  2770. #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
  2771. #define GL_BUFFER_STORAGE_FLAGS 0x8220
  2772. #define GL_CLEAR_TEXTURE 0x9365
  2773. #define GL_LOCATION_COMPONENT 0x934A
  2774. #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
  2775. #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
  2776. #define GL_QUERY_BUFFER 0x9192
  2777. #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
  2778. #define GL_QUERY_BUFFER_BINDING 0x9193
  2779. #define GL_QUERY_RESULT_NO_WAIT 0x9194
  2780. #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
  2781. typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2782. typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2783. 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);
  2784. typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2785. typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2786. typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2787. typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
  2788. typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2789. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2790. #ifdef GL_GLEXT_PROTOTYPES
  2791. GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2792. GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2793. 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);
  2794. GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2795. GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2796. GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
  2797. GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
  2798. GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
  2799. GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2800. #endif
  2801. #endif /* GL_VERSION_4_4 */
  2802. #ifndef GL_VERSION_4_5
  2803. #define GL_VERSION_4_5 1
  2804. #define GL_CONTEXT_LOST 0x0507
  2805. #define GL_NEGATIVE_ONE_TO_ONE 0x935E
  2806. #define GL_ZERO_TO_ONE 0x935F
  2807. #define GL_CLIP_ORIGIN 0x935C
  2808. #define GL_CLIP_DEPTH_MODE 0x935D
  2809. #define GL_QUERY_WAIT_INVERTED 0x8E17
  2810. #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
  2811. #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
  2812. #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
  2813. #define GL_MAX_CULL_DISTANCES 0x82F9
  2814. #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
  2815. #define GL_TEXTURE_TARGET 0x1006
  2816. #define GL_QUERY_TARGET 0x82EA
  2817. #define GL_GUILTY_CONTEXT_RESET 0x8253
  2818. #define GL_INNOCENT_CONTEXT_RESET 0x8254
  2819. #define GL_UNKNOWN_CONTEXT_RESET 0x8255
  2820. #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
  2821. #define GL_LOSE_CONTEXT_ON_RESET 0x8252
  2822. #define GL_NO_RESET_NOTIFICATION 0x8261
  2823. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
  2824. #define GL_COLOR_TABLE 0x80D0
  2825. #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
  2826. #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
  2827. #define GL_PROXY_COLOR_TABLE 0x80D3
  2828. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
  2829. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
  2830. #define GL_CONVOLUTION_1D 0x8010
  2831. #define GL_CONVOLUTION_2D 0x8011
  2832. #define GL_SEPARABLE_2D 0x8012
  2833. #define GL_HISTOGRAM 0x8024
  2834. #define GL_PROXY_HISTOGRAM 0x8025
  2835. #define GL_MINMAX 0x802E
  2836. #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
  2837. #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
  2838. typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
  2839. typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  2840. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
  2841. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2842. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
  2843. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
  2844. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
  2845. typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
  2846. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  2847. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  2848. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  2849. typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2850. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2851. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2852. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
  2853. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  2854. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
  2855. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2856. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
  2857. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
  2858. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
  2859. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  2860. typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  2861. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  2862. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
  2863. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  2864. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2865. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
  2866. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  2867. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
  2868. typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
  2869. typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2870. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
  2871. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
  2872. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
  2873. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  2874. typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  2875. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
  2876. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
  2877. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  2878. typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  2879. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  2880. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2881. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  2882. typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
  2883. typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
  2884. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2885. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
  2886. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2887. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2888. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2889. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2890. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  2891. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  2892. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  2893. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  2894. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  2895. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  2896. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  2897. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2898. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2899. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
  2900. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
  2901. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
  2902. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
  2903. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
  2904. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
  2905. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
  2906. typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
  2907. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2908. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
  2909. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
  2910. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
  2911. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
  2912. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
  2913. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
  2914. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
  2915. typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  2916. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
  2917. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
  2918. typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
  2919. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2920. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2921. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  2922. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2923. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2924. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2925. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  2926. typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
  2927. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  2928. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
  2929. typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
  2930. typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  2931. typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
  2932. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2933. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2934. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2935. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2936. typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
  2937. typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2938. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
  2939. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
  2940. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
  2941. typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2942. typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  2943. typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  2944. typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  2945. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  2946. typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  2947. typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  2948. typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  2949. typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  2950. typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  2951. typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  2952. typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  2953. typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
  2954. typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  2955. typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  2956. typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  2957. typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  2958. typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  2959. typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
  2960. #ifdef GL_GLEXT_PROTOTYPES
  2961. GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
  2962. GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
  2963. GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
  2964. GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2965. GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
  2966. GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
  2967. GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
  2968. GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
  2969. GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  2970. GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  2971. GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  2972. GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2973. GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2974. GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2975. GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
  2976. GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  2977. GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
  2978. GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2979. GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
  2980. GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
  2981. GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
  2982. GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  2983. GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
  2984. GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  2985. GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
  2986. GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  2987. GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2988. GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
  2989. GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  2990. GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
  2991. GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
  2992. GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2993. GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
  2994. GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
  2995. GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
  2996. GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  2997. GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  2998. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
  2999. GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
  3000. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  3001. GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
  3002. GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  3003. GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  3004. GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
  3005. GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
  3006. GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
  3007. GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  3008. GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
  3009. GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  3010. GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  3011. GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  3012. GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  3013. GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  3014. GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  3015. GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  3016. GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  3017. GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  3018. GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  3019. GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  3020. GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3021. GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3022. GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
  3023. GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
  3024. GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
  3025. GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
  3026. GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
  3027. GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
  3028. GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
  3029. GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
  3030. GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  3031. GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
  3032. GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
  3033. GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
  3034. GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
  3035. GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
  3036. GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
  3037. GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
  3038. GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
  3039. GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
  3040. GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
  3041. GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
  3042. GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  3043. GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  3044. GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  3045. GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  3046. GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  3047. GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  3048. GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  3049. GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
  3050. GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  3051. GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
  3052. GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
  3053. GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
  3054. GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
  3055. GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  3056. GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  3057. GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  3058. GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  3059. GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
  3060. GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  3061. GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
  3062. GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
  3063. GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
  3064. GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  3065. GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  3066. GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  3067. GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  3068. GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  3069. GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  3070. GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  3071. GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  3072. GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  3073. GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
  3074. GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
  3075. GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
  3076. GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
  3077. GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  3078. GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  3079. GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  3080. GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3081. GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3082. GLAPI void APIENTRY glTextureBarrier (void);
  3083. #endif
  3084. #endif /* GL_VERSION_4_5 */
  3085. #ifndef GL_VERSION_4_6
  3086. #define GL_VERSION_4_6 1
  3087. #define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551
  3088. #define GL_SPIR_V_BINARY 0x9552
  3089. #define GL_PARAMETER_BUFFER 0x80EE
  3090. #define GL_PARAMETER_BUFFER_BINDING 0x80EF
  3091. #define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008
  3092. #define GL_VERTICES_SUBMITTED 0x82EE
  3093. #define GL_PRIMITIVES_SUBMITTED 0x82EF
  3094. #define GL_VERTEX_SHADER_INVOCATIONS 0x82F0
  3095. #define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1
  3096. #define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
  3097. #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
  3098. #define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
  3099. #define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5
  3100. #define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6
  3101. #define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7
  3102. #define GL_POLYGON_OFFSET_CLAMP 0x8E1B
  3103. #define GL_SPIR_V_EXTENSIONS 0x9553
  3104. #define GL_NUM_SPIR_V_EXTENSIONS 0x9554
  3105. #define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
  3106. #define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
  3107. #define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC
  3108. #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
  3109. typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
  3110. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3111. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3112. typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
  3113. #ifdef GL_GLEXT_PROTOTYPES
  3114. GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
  3115. GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3116. GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3117. GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp);
  3118. #endif
  3119. #endif /* GL_VERSION_4_6 */
  3120. #ifndef GL_ARB_ES2_compatibility
  3121. #define GL_ARB_ES2_compatibility 1
  3122. #endif /* GL_ARB_ES2_compatibility */
  3123. #ifndef GL_ARB_ES3_1_compatibility
  3124. #define GL_ARB_ES3_1_compatibility 1
  3125. #endif /* GL_ARB_ES3_1_compatibility */
  3126. #ifndef GL_ARB_ES3_2_compatibility
  3127. #define GL_ARB_ES3_2_compatibility 1
  3128. #define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE
  3129. #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
  3130. #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
  3131. typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  3132. #ifdef GL_GLEXT_PROTOTYPES
  3133. GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  3134. #endif
  3135. #endif /* GL_ARB_ES3_2_compatibility */
  3136. #ifndef GL_ARB_ES3_compatibility
  3137. #define GL_ARB_ES3_compatibility 1
  3138. #endif /* GL_ARB_ES3_compatibility */
  3139. #ifndef GL_ARB_arrays_of_arrays
  3140. #define GL_ARB_arrays_of_arrays 1
  3141. #endif /* GL_ARB_arrays_of_arrays */
  3142. #ifndef GL_ARB_base_instance
  3143. #define GL_ARB_base_instance 1
  3144. #endif /* GL_ARB_base_instance */
  3145. #ifndef GL_ARB_bindless_texture
  3146. #define GL_ARB_bindless_texture 1
  3147. typedef khronos_uint64_t GLuint64EXT;
  3148. #define GL_UNSIGNED_INT64_ARB 0x140F
  3149. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
  3150. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
  3151. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  3152. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  3153. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  3154. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
  3155. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  3156. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
  3157. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3158. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
  3159. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  3160. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  3161. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
  3162. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
  3163. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
  3164. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  3165. #ifdef GL_GLEXT_PROTOTYPES
  3166. GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
  3167. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
  3168. GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
  3169. GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
  3170. GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  3171. GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
  3172. GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
  3173. GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
  3174. GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3175. GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
  3176. GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  3177. GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
  3178. GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
  3179. GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
  3180. GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
  3181. GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
  3182. #endif
  3183. #endif /* GL_ARB_bindless_texture */
  3184. #ifndef GL_ARB_blend_func_extended
  3185. #define GL_ARB_blend_func_extended 1
  3186. #endif /* GL_ARB_blend_func_extended */
  3187. #ifndef GL_ARB_buffer_storage
  3188. #define GL_ARB_buffer_storage 1
  3189. #endif /* GL_ARB_buffer_storage */
  3190. #ifndef GL_ARB_cl_event
  3191. #define GL_ARB_cl_event 1
  3192. struct _cl_context;
  3193. struct _cl_event;
  3194. #define GL_SYNC_CL_EVENT_ARB 0x8240
  3195. #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
  3196. typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  3197. #ifdef GL_GLEXT_PROTOTYPES
  3198. GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  3199. #endif
  3200. #endif /* GL_ARB_cl_event */
  3201. #ifndef GL_ARB_clear_buffer_object
  3202. #define GL_ARB_clear_buffer_object 1
  3203. #endif /* GL_ARB_clear_buffer_object */
  3204. #ifndef GL_ARB_clear_texture
  3205. #define GL_ARB_clear_texture 1
  3206. #endif /* GL_ARB_clear_texture */
  3207. #ifndef GL_ARB_clip_control
  3208. #define GL_ARB_clip_control 1
  3209. #endif /* GL_ARB_clip_control */
  3210. #ifndef GL_ARB_color_buffer_float
  3211. #define GL_ARB_color_buffer_float 1
  3212. #define GL_RGBA_FLOAT_MODE_ARB 0x8820
  3213. #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
  3214. #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
  3215. #define GL_CLAMP_READ_COLOR_ARB 0x891C
  3216. #define GL_FIXED_ONLY_ARB 0x891D
  3217. typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  3218. #ifdef GL_GLEXT_PROTOTYPES
  3219. GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
  3220. #endif
  3221. #endif /* GL_ARB_color_buffer_float */
  3222. #ifndef GL_ARB_compatibility
  3223. #define GL_ARB_compatibility 1
  3224. #endif /* GL_ARB_compatibility */
  3225. #ifndef GL_ARB_compressed_texture_pixel_storage
  3226. #define GL_ARB_compressed_texture_pixel_storage 1
  3227. #endif /* GL_ARB_compressed_texture_pixel_storage */
  3228. #ifndef GL_ARB_compute_shader
  3229. #define GL_ARB_compute_shader 1
  3230. #endif /* GL_ARB_compute_shader */
  3231. #ifndef GL_ARB_compute_variable_group_size
  3232. #define GL_ARB_compute_variable_group_size 1
  3233. #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
  3234. #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
  3235. #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
  3236. #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
  3237. 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);
  3238. #ifdef GL_GLEXT_PROTOTYPES
  3239. 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);
  3240. #endif
  3241. #endif /* GL_ARB_compute_variable_group_size */
  3242. #ifndef GL_ARB_conditional_render_inverted
  3243. #define GL_ARB_conditional_render_inverted 1
  3244. #endif /* GL_ARB_conditional_render_inverted */
  3245. #ifndef GL_ARB_conservative_depth
  3246. #define GL_ARB_conservative_depth 1
  3247. #endif /* GL_ARB_conservative_depth */
  3248. #ifndef GL_ARB_copy_buffer
  3249. #define GL_ARB_copy_buffer 1
  3250. #endif /* GL_ARB_copy_buffer */
  3251. #ifndef GL_ARB_copy_image
  3252. #define GL_ARB_copy_image 1
  3253. #endif /* GL_ARB_copy_image */
  3254. #ifndef GL_ARB_cull_distance
  3255. #define GL_ARB_cull_distance 1
  3256. #endif /* GL_ARB_cull_distance */
  3257. #ifndef GL_ARB_debug_output
  3258. #define GL_ARB_debug_output 1
  3259. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  3260. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
  3261. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  3262. #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
  3263. #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
  3264. #define GL_DEBUG_SOURCE_API_ARB 0x8246
  3265. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
  3266. #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
  3267. #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
  3268. #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
  3269. #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
  3270. #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
  3271. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
  3272. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
  3273. #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
  3274. #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
  3275. #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
  3276. #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
  3277. #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
  3278. #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
  3279. #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
  3280. #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
  3281. #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
  3282. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  3283. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  3284. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
  3285. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  3286. #ifdef GL_GLEXT_PROTOTYPES
  3287. GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  3288. GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  3289. GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
  3290. GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  3291. #endif
  3292. #endif /* GL_ARB_debug_output */
  3293. #ifndef GL_ARB_depth_buffer_float
  3294. #define GL_ARB_depth_buffer_float 1
  3295. #endif /* GL_ARB_depth_buffer_float */
  3296. #ifndef GL_ARB_depth_clamp
  3297. #define GL_ARB_depth_clamp 1
  3298. #endif /* GL_ARB_depth_clamp */
  3299. #ifndef GL_ARB_depth_texture
  3300. #define GL_ARB_depth_texture 1
  3301. #define GL_DEPTH_COMPONENT16_ARB 0x81A5
  3302. #define GL_DEPTH_COMPONENT24_ARB 0x81A6
  3303. #define GL_DEPTH_COMPONENT32_ARB 0x81A7
  3304. #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
  3305. #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
  3306. #endif /* GL_ARB_depth_texture */
  3307. #ifndef GL_ARB_derivative_control
  3308. #define GL_ARB_derivative_control 1
  3309. #endif /* GL_ARB_derivative_control */
  3310. #ifndef GL_ARB_direct_state_access
  3311. #define GL_ARB_direct_state_access 1
  3312. #endif /* GL_ARB_direct_state_access */
  3313. #ifndef GL_ARB_draw_buffers
  3314. #define GL_ARB_draw_buffers 1
  3315. #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
  3316. #define GL_DRAW_BUFFER0_ARB 0x8825
  3317. #define GL_DRAW_BUFFER1_ARB 0x8826
  3318. #define GL_DRAW_BUFFER2_ARB 0x8827
  3319. #define GL_DRAW_BUFFER3_ARB 0x8828
  3320. #define GL_DRAW_BUFFER4_ARB 0x8829
  3321. #define GL_DRAW_BUFFER5_ARB 0x882A
  3322. #define GL_DRAW_BUFFER6_ARB 0x882B
  3323. #define GL_DRAW_BUFFER7_ARB 0x882C
  3324. #define GL_DRAW_BUFFER8_ARB 0x882D
  3325. #define GL_DRAW_BUFFER9_ARB 0x882E
  3326. #define GL_DRAW_BUFFER10_ARB 0x882F
  3327. #define GL_DRAW_BUFFER11_ARB 0x8830
  3328. #define GL_DRAW_BUFFER12_ARB 0x8831
  3329. #define GL_DRAW_BUFFER13_ARB 0x8832
  3330. #define GL_DRAW_BUFFER14_ARB 0x8833
  3331. #define GL_DRAW_BUFFER15_ARB 0x8834
  3332. typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  3333. #ifdef GL_GLEXT_PROTOTYPES
  3334. GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
  3335. #endif
  3336. #endif /* GL_ARB_draw_buffers */
  3337. #ifndef GL_ARB_draw_buffers_blend
  3338. #define GL_ARB_draw_buffers_blend 1
  3339. typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  3340. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  3341. typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  3342. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  3343. #ifdef GL_GLEXT_PROTOTYPES
  3344. GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
  3345. GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  3346. GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
  3347. GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  3348. #endif
  3349. #endif /* GL_ARB_draw_buffers_blend */
  3350. #ifndef GL_ARB_draw_elements_base_vertex
  3351. #define GL_ARB_draw_elements_base_vertex 1
  3352. #endif /* GL_ARB_draw_elements_base_vertex */
  3353. #ifndef GL_ARB_draw_indirect
  3354. #define GL_ARB_draw_indirect 1
  3355. #endif /* GL_ARB_draw_indirect */
  3356. #ifndef GL_ARB_draw_instanced
  3357. #define GL_ARB_draw_instanced 1
  3358. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  3359. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  3360. #ifdef GL_GLEXT_PROTOTYPES
  3361. GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  3362. GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  3363. #endif
  3364. #endif /* GL_ARB_draw_instanced */
  3365. #ifndef GL_ARB_enhanced_layouts
  3366. #define GL_ARB_enhanced_layouts 1
  3367. #endif /* GL_ARB_enhanced_layouts */
  3368. #ifndef GL_ARB_explicit_attrib_location
  3369. #define GL_ARB_explicit_attrib_location 1
  3370. #endif /* GL_ARB_explicit_attrib_location */
  3371. #ifndef GL_ARB_explicit_uniform_location
  3372. #define GL_ARB_explicit_uniform_location 1
  3373. #endif /* GL_ARB_explicit_uniform_location */
  3374. #ifndef GL_ARB_fragment_coord_conventions
  3375. #define GL_ARB_fragment_coord_conventions 1
  3376. #endif /* GL_ARB_fragment_coord_conventions */
  3377. #ifndef GL_ARB_fragment_layer_viewport
  3378. #define GL_ARB_fragment_layer_viewport 1
  3379. #endif /* GL_ARB_fragment_layer_viewport */
  3380. #ifndef GL_ARB_fragment_program
  3381. #define GL_ARB_fragment_program 1
  3382. #define GL_FRAGMENT_PROGRAM_ARB 0x8804
  3383. #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
  3384. #define GL_PROGRAM_LENGTH_ARB 0x8627
  3385. #define GL_PROGRAM_FORMAT_ARB 0x8876
  3386. #define GL_PROGRAM_BINDING_ARB 0x8677
  3387. #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
  3388. #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
  3389. #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  3390. #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  3391. #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
  3392. #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
  3393. #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  3394. #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  3395. #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
  3396. #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
  3397. #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
  3398. #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  3399. #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
  3400. #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
  3401. #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
  3402. #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  3403. #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  3404. #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  3405. #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  3406. #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
  3407. #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
  3408. #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
  3409. #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  3410. #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  3411. #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  3412. #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  3413. #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  3414. #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  3415. #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  3416. #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  3417. #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  3418. #define GL_PROGRAM_STRING_ARB 0x8628
  3419. #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
  3420. #define GL_CURRENT_MATRIX_ARB 0x8641
  3421. #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
  3422. #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  3423. #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
  3424. #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  3425. #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
  3426. #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
  3427. #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
  3428. #define GL_MATRIX0_ARB 0x88C0
  3429. #define GL_MATRIX1_ARB 0x88C1
  3430. #define GL_MATRIX2_ARB 0x88C2
  3431. #define GL_MATRIX3_ARB 0x88C3
  3432. #define GL_MATRIX4_ARB 0x88C4
  3433. #define GL_MATRIX5_ARB 0x88C5
  3434. #define GL_MATRIX6_ARB 0x88C6
  3435. #define GL_MATRIX7_ARB 0x88C7
  3436. #define GL_MATRIX8_ARB 0x88C8
  3437. #define GL_MATRIX9_ARB 0x88C9
  3438. #define GL_MATRIX10_ARB 0x88CA
  3439. #define GL_MATRIX11_ARB 0x88CB
  3440. #define GL_MATRIX12_ARB 0x88CC
  3441. #define GL_MATRIX13_ARB 0x88CD
  3442. #define GL_MATRIX14_ARB 0x88CE
  3443. #define GL_MATRIX15_ARB 0x88CF
  3444. #define GL_MATRIX16_ARB 0x88D0
  3445. #define GL_MATRIX17_ARB 0x88D1
  3446. #define GL_MATRIX18_ARB 0x88D2
  3447. #define GL_MATRIX19_ARB 0x88D3
  3448. #define GL_MATRIX20_ARB 0x88D4
  3449. #define GL_MATRIX21_ARB 0x88D5
  3450. #define GL_MATRIX22_ARB 0x88D6
  3451. #define GL_MATRIX23_ARB 0x88D7
  3452. #define GL_MATRIX24_ARB 0x88D8
  3453. #define GL_MATRIX25_ARB 0x88D9
  3454. #define GL_MATRIX26_ARB 0x88DA
  3455. #define GL_MATRIX27_ARB 0x88DB
  3456. #define GL_MATRIX28_ARB 0x88DC
  3457. #define GL_MATRIX29_ARB 0x88DD
  3458. #define GL_MATRIX30_ARB 0x88DE
  3459. #define GL_MATRIX31_ARB 0x88DF
  3460. typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
  3461. typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  3462. typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  3463. typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  3464. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3465. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  3466. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3467. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  3468. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3469. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  3470. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3471. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  3472. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  3473. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  3474. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  3475. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  3476. typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  3477. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
  3478. typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  3479. #ifdef GL_GLEXT_PROTOTYPES
  3480. GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
  3481. GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
  3482. GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
  3483. GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
  3484. GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3485. GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  3486. GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3487. GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  3488. GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3489. GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  3490. GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3491. GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  3492. GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  3493. GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  3494. GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  3495. GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  3496. GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
  3497. GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
  3498. GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
  3499. #endif
  3500. #endif /* GL_ARB_fragment_program */
  3501. #ifndef GL_ARB_fragment_program_shadow
  3502. #define GL_ARB_fragment_program_shadow 1
  3503. #endif /* GL_ARB_fragment_program_shadow */
  3504. #ifndef GL_ARB_fragment_shader
  3505. #define GL_ARB_fragment_shader 1
  3506. #define GL_FRAGMENT_SHADER_ARB 0x8B30
  3507. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  3508. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  3509. #endif /* GL_ARB_fragment_shader */
  3510. #ifndef GL_ARB_fragment_shader_interlock
  3511. #define GL_ARB_fragment_shader_interlock 1
  3512. #endif /* GL_ARB_fragment_shader_interlock */
  3513. #ifndef GL_ARB_framebuffer_no_attachments
  3514. #define GL_ARB_framebuffer_no_attachments 1
  3515. #endif /* GL_ARB_framebuffer_no_attachments */
  3516. #ifndef GL_ARB_framebuffer_object
  3517. #define GL_ARB_framebuffer_object 1
  3518. #endif /* GL_ARB_framebuffer_object */
  3519. #ifndef GL_ARB_framebuffer_sRGB
  3520. #define GL_ARB_framebuffer_sRGB 1
  3521. #endif /* GL_ARB_framebuffer_sRGB */
  3522. #ifndef GL_ARB_geometry_shader4
  3523. #define GL_ARB_geometry_shader4 1
  3524. #define GL_LINES_ADJACENCY_ARB 0x000A
  3525. #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
  3526. #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
  3527. #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
  3528. #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
  3529. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  3530. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  3531. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  3532. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  3533. #define GL_GEOMETRY_SHADER_ARB 0x8DD9
  3534. #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
  3535. #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
  3536. #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
  3537. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  3538. #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  3539. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  3540. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  3541. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  3542. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  3543. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  3544. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  3545. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  3546. #ifdef GL_GLEXT_PROTOTYPES
  3547. GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
  3548. GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
  3549. GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  3550. GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  3551. #endif
  3552. #endif /* GL_ARB_geometry_shader4 */
  3553. #ifndef GL_ARB_get_program_binary
  3554. #define GL_ARB_get_program_binary 1
  3555. #endif /* GL_ARB_get_program_binary */
  3556. #ifndef GL_ARB_get_texture_sub_image
  3557. #define GL_ARB_get_texture_sub_image 1
  3558. #endif /* GL_ARB_get_texture_sub_image */
  3559. #ifndef GL_ARB_gl_spirv
  3560. #define GL_ARB_gl_spirv 1
  3561. #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
  3562. #define GL_SPIR_V_BINARY_ARB 0x9552
  3563. typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
  3564. #ifdef GL_GLEXT_PROTOTYPES
  3565. GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
  3566. #endif
  3567. #endif /* GL_ARB_gl_spirv */
  3568. #ifndef GL_ARB_gpu_shader5
  3569. #define GL_ARB_gpu_shader5 1
  3570. #endif /* GL_ARB_gpu_shader5 */
  3571. #ifndef GL_ARB_gpu_shader_fp64
  3572. #define GL_ARB_gpu_shader_fp64 1
  3573. #endif /* GL_ARB_gpu_shader_fp64 */
  3574. #ifndef GL_ARB_gpu_shader_int64
  3575. #define GL_ARB_gpu_shader_int64 1
  3576. #define GL_INT64_ARB 0x140E
  3577. #define GL_INT64_VEC2_ARB 0x8FE9
  3578. #define GL_INT64_VEC3_ARB 0x8FEA
  3579. #define GL_INT64_VEC4_ARB 0x8FEB
  3580. #define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5
  3581. #define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6
  3582. #define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7
  3583. typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x);
  3584. typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y);
  3585. typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z);
  3586. typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
  3587. typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
  3588. typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
  3589. typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
  3590. typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
  3591. typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x);
  3592. typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y);
  3593. typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
  3594. typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
  3595. typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3596. typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3597. typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3598. typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3599. typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params);
  3600. typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params);
  3601. typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
  3602. typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
  3603. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x);
  3604. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y);
  3605. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
  3606. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
  3607. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3608. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3609. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3610. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3611. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x);
  3612. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y);
  3613. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
  3614. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
  3615. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3616. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3617. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3618. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3619. #ifdef GL_GLEXT_PROTOTYPES
  3620. GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x);
  3621. GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y);
  3622. GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z);
  3623. GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
  3624. GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value);
  3625. GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value);
  3626. GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value);
  3627. GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value);
  3628. GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x);
  3629. GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y);
  3630. GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
  3631. GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
  3632. GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3633. GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3634. GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3635. GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3636. GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params);
  3637. GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params);
  3638. GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
  3639. GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
  3640. GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x);
  3641. GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y);
  3642. GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
  3643. GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
  3644. GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3645. GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3646. GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3647. GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3648. GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x);
  3649. GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y);
  3650. GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
  3651. GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
  3652. GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3653. GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3654. GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3655. GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3656. #endif
  3657. #endif /* GL_ARB_gpu_shader_int64 */
  3658. #ifndef GL_ARB_half_float_pixel
  3659. #define GL_ARB_half_float_pixel 1
  3660. typedef khronos_uint16_t GLhalfARB;
  3661. #define GL_HALF_FLOAT_ARB 0x140B
  3662. #endif /* GL_ARB_half_float_pixel */
  3663. #ifndef GL_ARB_half_float_vertex
  3664. #define GL_ARB_half_float_vertex 1
  3665. #endif /* GL_ARB_half_float_vertex */
  3666. #ifndef GL_ARB_imaging
  3667. #define GL_ARB_imaging 1
  3668. #define GL_CONVOLUTION_BORDER_MODE 0x8013
  3669. #define GL_CONVOLUTION_FILTER_SCALE 0x8014
  3670. #define GL_CONVOLUTION_FILTER_BIAS 0x8015
  3671. #define GL_REDUCE 0x8016
  3672. #define GL_CONVOLUTION_FORMAT 0x8017
  3673. #define GL_CONVOLUTION_WIDTH 0x8018
  3674. #define GL_CONVOLUTION_HEIGHT 0x8019
  3675. #define GL_MAX_CONVOLUTION_WIDTH 0x801A
  3676. #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
  3677. #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
  3678. #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
  3679. #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
  3680. #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
  3681. #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
  3682. #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
  3683. #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
  3684. #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
  3685. #define GL_HISTOGRAM_WIDTH 0x8026
  3686. #define GL_HISTOGRAM_FORMAT 0x8027
  3687. #define GL_HISTOGRAM_RED_SIZE 0x8028
  3688. #define GL_HISTOGRAM_GREEN_SIZE 0x8029
  3689. #define GL_HISTOGRAM_BLUE_SIZE 0x802A
  3690. #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
  3691. #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
  3692. #define GL_HISTOGRAM_SINK 0x802D
  3693. #define GL_MINMAX_FORMAT 0x802F
  3694. #define GL_MINMAX_SINK 0x8030
  3695. #define GL_TABLE_TOO_LARGE 0x8031
  3696. #define GL_COLOR_MATRIX 0x80B1
  3697. #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
  3698. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
  3699. #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
  3700. #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
  3701. #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
  3702. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
  3703. #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
  3704. #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
  3705. #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
  3706. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
  3707. #define GL_COLOR_TABLE_SCALE 0x80D6
  3708. #define GL_COLOR_TABLE_BIAS 0x80D7
  3709. #define GL_COLOR_TABLE_FORMAT 0x80D8
  3710. #define GL_COLOR_TABLE_WIDTH 0x80D9
  3711. #define GL_COLOR_TABLE_RED_SIZE 0x80DA
  3712. #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
  3713. #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
  3714. #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
  3715. #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
  3716. #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
  3717. #define GL_CONSTANT_BORDER 0x8151
  3718. #define GL_REPLICATE_BORDER 0x8153
  3719. #define GL_CONVOLUTION_BORDER_COLOR 0x8154
  3720. typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  3721. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3722. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  3723. typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3724. typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
  3725. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3726. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3727. typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  3728. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  3729. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  3730. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  3731. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  3732. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3733. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  3734. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  3735. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3736. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3737. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
  3738. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3739. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3740. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  3741. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  3742. typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3743. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3744. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3745. typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3746. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3747. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3748. typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3749. typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  3750. typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  3751. typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  3752. #ifdef GL_GLEXT_PROTOTYPES
  3753. GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  3754. GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  3755. GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
  3756. GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3757. GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
  3758. GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3759. GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
  3760. GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  3761. GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  3762. GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  3763. GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  3764. GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
  3765. GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  3766. GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
  3767. GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
  3768. GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3769. GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3770. GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
  3771. GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3772. GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
  3773. GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  3774. GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  3775. GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3776. GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3777. GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
  3778. GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3779. GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3780. GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
  3781. GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3782. GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
  3783. GLAPI void APIENTRY glResetHistogram (GLenum target);
  3784. GLAPI void APIENTRY glResetMinmax (GLenum target);
  3785. #endif
  3786. #endif /* GL_ARB_imaging */
  3787. #ifndef GL_ARB_indirect_parameters
  3788. #define GL_ARB_indirect_parameters 1
  3789. #define GL_PARAMETER_BUFFER_ARB 0x80EE
  3790. #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
  3791. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3792. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3793. #ifdef GL_GLEXT_PROTOTYPES
  3794. GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3795. GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3796. #endif
  3797. #endif /* GL_ARB_indirect_parameters */
  3798. #ifndef GL_ARB_instanced_arrays
  3799. #define GL_ARB_instanced_arrays 1
  3800. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  3801. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
  3802. #ifdef GL_GLEXT_PROTOTYPES
  3803. GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
  3804. #endif
  3805. #endif /* GL_ARB_instanced_arrays */
  3806. #ifndef GL_ARB_internalformat_query
  3807. #define GL_ARB_internalformat_query 1
  3808. #endif /* GL_ARB_internalformat_query */
  3809. #ifndef GL_ARB_internalformat_query2
  3810. #define GL_ARB_internalformat_query2 1
  3811. #define GL_SRGB_DECODE_ARB 0x8299
  3812. #define GL_VIEW_CLASS_EAC_R11 0x9383
  3813. #define GL_VIEW_CLASS_EAC_RG11 0x9384
  3814. #define GL_VIEW_CLASS_ETC2_RGB 0x9385
  3815. #define GL_VIEW_CLASS_ETC2_RGBA 0x9386
  3816. #define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387
  3817. #define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388
  3818. #define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389
  3819. #define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A
  3820. #define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B
  3821. #define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C
  3822. #define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D
  3823. #define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E
  3824. #define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F
  3825. #define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390
  3826. #define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391
  3827. #define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392
  3828. #define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393
  3829. #define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394
  3830. #define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395
  3831. #endif /* GL_ARB_internalformat_query2 */
  3832. #ifndef GL_ARB_invalidate_subdata
  3833. #define GL_ARB_invalidate_subdata 1
  3834. #endif /* GL_ARB_invalidate_subdata */
  3835. #ifndef GL_ARB_map_buffer_alignment
  3836. #define GL_ARB_map_buffer_alignment 1
  3837. #endif /* GL_ARB_map_buffer_alignment */
  3838. #ifndef GL_ARB_map_buffer_range
  3839. #define GL_ARB_map_buffer_range 1
  3840. #endif /* GL_ARB_map_buffer_range */
  3841. #ifndef GL_ARB_matrix_palette
  3842. #define GL_ARB_matrix_palette 1
  3843. #define GL_MATRIX_PALETTE_ARB 0x8840
  3844. #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  3845. #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
  3846. #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
  3847. #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
  3848. #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
  3849. #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
  3850. #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
  3851. #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
  3852. #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  3853. typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  3854. typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  3855. typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  3856. typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  3857. typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3858. #ifdef GL_GLEXT_PROTOTYPES
  3859. GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
  3860. GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
  3861. GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
  3862. GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
  3863. GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3864. #endif
  3865. #endif /* GL_ARB_matrix_palette */
  3866. #ifndef GL_ARB_multi_bind
  3867. #define GL_ARB_multi_bind 1
  3868. #endif /* GL_ARB_multi_bind */
  3869. #ifndef GL_ARB_multi_draw_indirect
  3870. #define GL_ARB_multi_draw_indirect 1
  3871. #endif /* GL_ARB_multi_draw_indirect */
  3872. #ifndef GL_ARB_multisample
  3873. #define GL_ARB_multisample 1
  3874. #define GL_MULTISAMPLE_ARB 0x809D
  3875. #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
  3876. #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
  3877. #define GL_SAMPLE_COVERAGE_ARB 0x80A0
  3878. #define GL_SAMPLE_BUFFERS_ARB 0x80A8
  3879. #define GL_SAMPLES_ARB 0x80A9
  3880. #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
  3881. #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
  3882. #define GL_MULTISAMPLE_BIT_ARB 0x20000000
  3883. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
  3884. #ifdef GL_GLEXT_PROTOTYPES
  3885. GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
  3886. #endif
  3887. #endif /* GL_ARB_multisample */
  3888. #ifndef GL_ARB_multitexture
  3889. #define GL_ARB_multitexture 1
  3890. #define GL_TEXTURE0_ARB 0x84C0
  3891. #define GL_TEXTURE1_ARB 0x84C1
  3892. #define GL_TEXTURE2_ARB 0x84C2
  3893. #define GL_TEXTURE3_ARB 0x84C3
  3894. #define GL_TEXTURE4_ARB 0x84C4
  3895. #define GL_TEXTURE5_ARB 0x84C5
  3896. #define GL_TEXTURE6_ARB 0x84C6
  3897. #define GL_TEXTURE7_ARB 0x84C7
  3898. #define GL_TEXTURE8_ARB 0x84C8
  3899. #define GL_TEXTURE9_ARB 0x84C9
  3900. #define GL_TEXTURE10_ARB 0x84CA
  3901. #define GL_TEXTURE11_ARB 0x84CB
  3902. #define GL_TEXTURE12_ARB 0x84CC
  3903. #define GL_TEXTURE13_ARB 0x84CD
  3904. #define GL_TEXTURE14_ARB 0x84CE
  3905. #define GL_TEXTURE15_ARB 0x84CF
  3906. #define GL_TEXTURE16_ARB 0x84D0
  3907. #define GL_TEXTURE17_ARB 0x84D1
  3908. #define GL_TEXTURE18_ARB 0x84D2
  3909. #define GL_TEXTURE19_ARB 0x84D3
  3910. #define GL_TEXTURE20_ARB 0x84D4
  3911. #define GL_TEXTURE21_ARB 0x84D5
  3912. #define GL_TEXTURE22_ARB 0x84D6
  3913. #define GL_TEXTURE23_ARB 0x84D7
  3914. #define GL_TEXTURE24_ARB 0x84D8
  3915. #define GL_TEXTURE25_ARB 0x84D9
  3916. #define GL_TEXTURE26_ARB 0x84DA
  3917. #define GL_TEXTURE27_ARB 0x84DB
  3918. #define GL_TEXTURE28_ARB 0x84DC
  3919. #define GL_TEXTURE29_ARB 0x84DD
  3920. #define GL_TEXTURE30_ARB 0x84DE
  3921. #define GL_TEXTURE31_ARB 0x84DF
  3922. #define GL_ACTIVE_TEXTURE_ARB 0x84E0
  3923. #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
  3924. #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
  3925. typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  3926. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  3927. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  3928. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  3929. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  3930. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  3931. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  3932. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  3933. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  3934. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  3935. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  3936. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  3937. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  3938. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  3939. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  3940. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  3941. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  3942. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  3943. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3944. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  3945. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3946. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  3947. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  3948. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  3949. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  3950. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  3951. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3952. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  3953. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3954. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  3955. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3956. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  3957. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3958. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  3959. #ifdef GL_GLEXT_PROTOTYPES
  3960. GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
  3961. GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
  3962. GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
  3963. GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
  3964. GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
  3965. GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
  3966. GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
  3967. GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
  3968. GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
  3969. GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
  3970. GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
  3971. GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
  3972. GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
  3973. GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
  3974. GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
  3975. GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
  3976. GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
  3977. GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
  3978. GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3979. GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
  3980. GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3981. GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
  3982. GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
  3983. GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
  3984. GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
  3985. GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
  3986. GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3987. GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
  3988. GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3989. GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
  3990. GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3991. GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
  3992. GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3993. GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
  3994. #endif
  3995. #endif /* GL_ARB_multitexture */
  3996. #ifndef GL_ARB_occlusion_query
  3997. #define GL_ARB_occlusion_query 1
  3998. #define GL_QUERY_COUNTER_BITS_ARB 0x8864
  3999. #define GL_CURRENT_QUERY_ARB 0x8865
  4000. #define GL_QUERY_RESULT_ARB 0x8866
  4001. #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
  4002. #define GL_SAMPLES_PASSED_ARB 0x8914
  4003. typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  4004. typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  4005. typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  4006. typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  4007. typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  4008. typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  4009. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  4010. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  4011. #ifdef GL_GLEXT_PROTOTYPES
  4012. GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
  4013. GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
  4014. GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
  4015. GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
  4016. GLAPI void APIENTRY glEndQueryARB (GLenum target);
  4017. GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
  4018. GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
  4019. GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
  4020. #endif
  4021. #endif /* GL_ARB_occlusion_query */
  4022. #ifndef GL_ARB_occlusion_query2
  4023. #define GL_ARB_occlusion_query2 1
  4024. #endif /* GL_ARB_occlusion_query2 */
  4025. #ifndef GL_ARB_parallel_shader_compile
  4026. #define GL_ARB_parallel_shader_compile 1
  4027. #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
  4028. #define GL_COMPLETION_STATUS_ARB 0x91B1
  4029. typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count);
  4030. #ifdef GL_GLEXT_PROTOTYPES
  4031. GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count);
  4032. #endif
  4033. #endif /* GL_ARB_parallel_shader_compile */
  4034. #ifndef GL_ARB_pipeline_statistics_query
  4035. #define GL_ARB_pipeline_statistics_query 1
  4036. #define GL_VERTICES_SUBMITTED_ARB 0x82EE
  4037. #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
  4038. #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
  4039. #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
  4040. #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
  4041. #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
  4042. #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
  4043. #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
  4044. #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
  4045. #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
  4046. #endif /* GL_ARB_pipeline_statistics_query */
  4047. #ifndef GL_ARB_pixel_buffer_object
  4048. #define GL_ARB_pixel_buffer_object 1
  4049. #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
  4050. #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
  4051. #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
  4052. #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  4053. #endif /* GL_ARB_pixel_buffer_object */
  4054. #ifndef GL_ARB_point_parameters
  4055. #define GL_ARB_point_parameters 1
  4056. #define GL_POINT_SIZE_MIN_ARB 0x8126
  4057. #define GL_POINT_SIZE_MAX_ARB 0x8127
  4058. #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
  4059. #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  4060. typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  4061. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  4062. #ifdef GL_GLEXT_PROTOTYPES
  4063. GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
  4064. GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
  4065. #endif
  4066. #endif /* GL_ARB_point_parameters */
  4067. #ifndef GL_ARB_point_sprite
  4068. #define GL_ARB_point_sprite 1
  4069. #define GL_POINT_SPRITE_ARB 0x8861
  4070. #define GL_COORD_REPLACE_ARB 0x8862
  4071. #endif /* GL_ARB_point_sprite */
  4072. #ifndef GL_ARB_polygon_offset_clamp
  4073. #define GL_ARB_polygon_offset_clamp 1
  4074. #endif /* GL_ARB_polygon_offset_clamp */
  4075. #ifndef GL_ARB_post_depth_coverage
  4076. #define GL_ARB_post_depth_coverage 1
  4077. #endif /* GL_ARB_post_depth_coverage */
  4078. #ifndef GL_ARB_program_interface_query
  4079. #define GL_ARB_program_interface_query 1
  4080. #endif /* GL_ARB_program_interface_query */
  4081. #ifndef GL_ARB_provoking_vertex
  4082. #define GL_ARB_provoking_vertex 1
  4083. #endif /* GL_ARB_provoking_vertex */
  4084. #ifndef GL_ARB_query_buffer_object
  4085. #define GL_ARB_query_buffer_object 1
  4086. #endif /* GL_ARB_query_buffer_object */
  4087. #ifndef GL_ARB_robust_buffer_access_behavior
  4088. #define GL_ARB_robust_buffer_access_behavior 1
  4089. #endif /* GL_ARB_robust_buffer_access_behavior */
  4090. #ifndef GL_ARB_robustness
  4091. #define GL_ARB_robustness 1
  4092. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  4093. #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
  4094. #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
  4095. #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
  4096. #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
  4097. #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  4098. #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
  4099. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  4100. typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  4101. typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  4102. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
  4103. typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  4104. typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  4105. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  4106. typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  4107. typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  4108. typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  4109. typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  4110. typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  4111. typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  4112. typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  4113. typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
  4114. typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  4115. typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  4116. typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  4117. typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  4118. typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  4119. #ifdef GL_GLEXT_PROTOTYPES
  4120. GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
  4121. GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  4122. GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  4123. GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
  4124. GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  4125. GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  4126. GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  4127. GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  4128. GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  4129. GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  4130. GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  4131. GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
  4132. GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
  4133. GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
  4134. GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
  4135. GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  4136. GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  4137. GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  4138. GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  4139. GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  4140. #endif
  4141. #endif /* GL_ARB_robustness */
  4142. #ifndef GL_ARB_robustness_isolation
  4143. #define GL_ARB_robustness_isolation 1
  4144. #endif /* GL_ARB_robustness_isolation */
  4145. #ifndef GL_ARB_sample_locations
  4146. #define GL_ARB_sample_locations 1
  4147. #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
  4148. #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
  4149. #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
  4150. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
  4151. #define GL_SAMPLE_LOCATION_ARB 0x8E50
  4152. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
  4153. #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
  4154. #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
  4155. typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  4156. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  4157. typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void);
  4158. #ifdef GL_GLEXT_PROTOTYPES
  4159. GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  4160. GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  4161. GLAPI void APIENTRY glEvaluateDepthValuesARB (void);
  4162. #endif
  4163. #endif /* GL_ARB_sample_locations */
  4164. #ifndef GL_ARB_sample_shading
  4165. #define GL_ARB_sample_shading 1
  4166. #define GL_SAMPLE_SHADING_ARB 0x8C36
  4167. #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
  4168. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
  4169. #ifdef GL_GLEXT_PROTOTYPES
  4170. GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
  4171. #endif
  4172. #endif /* GL_ARB_sample_shading */
  4173. #ifndef GL_ARB_sampler_objects
  4174. #define GL_ARB_sampler_objects 1
  4175. #endif /* GL_ARB_sampler_objects */
  4176. #ifndef GL_ARB_seamless_cube_map
  4177. #define GL_ARB_seamless_cube_map 1
  4178. #endif /* GL_ARB_seamless_cube_map */
  4179. #ifndef GL_ARB_seamless_cubemap_per_texture
  4180. #define GL_ARB_seamless_cubemap_per_texture 1
  4181. #endif /* GL_ARB_seamless_cubemap_per_texture */
  4182. #ifndef GL_ARB_separate_shader_objects
  4183. #define GL_ARB_separate_shader_objects 1
  4184. #endif /* GL_ARB_separate_shader_objects */
  4185. #ifndef GL_ARB_shader_atomic_counter_ops
  4186. #define GL_ARB_shader_atomic_counter_ops 1
  4187. #endif /* GL_ARB_shader_atomic_counter_ops */
  4188. #ifndef GL_ARB_shader_atomic_counters
  4189. #define GL_ARB_shader_atomic_counters 1
  4190. #endif /* GL_ARB_shader_atomic_counters */
  4191. #ifndef GL_ARB_shader_ballot
  4192. #define GL_ARB_shader_ballot 1
  4193. #endif /* GL_ARB_shader_ballot */
  4194. #ifndef GL_ARB_shader_bit_encoding
  4195. #define GL_ARB_shader_bit_encoding 1
  4196. #endif /* GL_ARB_shader_bit_encoding */
  4197. #ifndef GL_ARB_shader_clock
  4198. #define GL_ARB_shader_clock 1
  4199. #endif /* GL_ARB_shader_clock */
  4200. #ifndef GL_ARB_shader_draw_parameters
  4201. #define GL_ARB_shader_draw_parameters 1
  4202. #endif /* GL_ARB_shader_draw_parameters */
  4203. #ifndef GL_ARB_shader_group_vote
  4204. #define GL_ARB_shader_group_vote 1
  4205. #endif /* GL_ARB_shader_group_vote */
  4206. #ifndef GL_ARB_shader_image_load_store
  4207. #define GL_ARB_shader_image_load_store 1
  4208. #endif /* GL_ARB_shader_image_load_store */
  4209. #ifndef GL_ARB_shader_image_size
  4210. #define GL_ARB_shader_image_size 1
  4211. #endif /* GL_ARB_shader_image_size */
  4212. #ifndef GL_ARB_shader_objects
  4213. #define GL_ARB_shader_objects 1
  4214. #ifdef __APPLE__
  4215. typedef void *GLhandleARB;
  4216. #else
  4217. typedef unsigned int GLhandleARB;
  4218. #endif
  4219. typedef char GLcharARB;
  4220. #define GL_PROGRAM_OBJECT_ARB 0x8B40
  4221. #define GL_SHADER_OBJECT_ARB 0x8B48
  4222. #define GL_OBJECT_TYPE_ARB 0x8B4E
  4223. #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
  4224. #define GL_FLOAT_VEC2_ARB 0x8B50
  4225. #define GL_FLOAT_VEC3_ARB 0x8B51
  4226. #define GL_FLOAT_VEC4_ARB 0x8B52
  4227. #define GL_INT_VEC2_ARB 0x8B53
  4228. #define GL_INT_VEC3_ARB 0x8B54
  4229. #define GL_INT_VEC4_ARB 0x8B55
  4230. #define GL_BOOL_ARB 0x8B56
  4231. #define GL_BOOL_VEC2_ARB 0x8B57
  4232. #define GL_BOOL_VEC3_ARB 0x8B58
  4233. #define GL_BOOL_VEC4_ARB 0x8B59
  4234. #define GL_FLOAT_MAT2_ARB 0x8B5A
  4235. #define GL_FLOAT_MAT3_ARB 0x8B5B
  4236. #define GL_FLOAT_MAT4_ARB 0x8B5C
  4237. #define GL_SAMPLER_1D_ARB 0x8B5D
  4238. #define GL_SAMPLER_2D_ARB 0x8B5E
  4239. #define GL_SAMPLER_3D_ARB 0x8B5F
  4240. #define GL_SAMPLER_CUBE_ARB 0x8B60
  4241. #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
  4242. #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
  4243. #define GL_SAMPLER_2D_RECT_ARB 0x8B63
  4244. #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
  4245. #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
  4246. #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
  4247. #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
  4248. #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
  4249. #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
  4250. #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
  4251. #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
  4252. #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  4253. #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  4254. typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  4255. typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  4256. typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  4257. typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  4258. typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  4259. typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  4260. typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  4261. typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  4262. typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  4263. typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  4264. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  4265. typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  4266. typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  4267. typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  4268. typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  4269. typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  4270. typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  4271. typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  4272. typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  4273. typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  4274. typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  4275. typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  4276. typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  4277. typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  4278. typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  4279. typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  4280. typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  4281. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4282. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4283. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4284. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  4285. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  4286. typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  4287. typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  4288. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  4289. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4290. typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  4291. typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  4292. typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  4293. #ifdef GL_GLEXT_PROTOTYPES
  4294. GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
  4295. GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
  4296. GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
  4297. GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
  4298. GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  4299. GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
  4300. GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  4301. GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
  4302. GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
  4303. GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
  4304. GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
  4305. GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
  4306. GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
  4307. GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  4308. GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  4309. GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
  4310. GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
  4311. GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
  4312. GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  4313. GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
  4314. GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
  4315. GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
  4316. GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
  4317. GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
  4318. GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
  4319. GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
  4320. GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
  4321. GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4322. GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4323. GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4324. GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
  4325. GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
  4326. GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  4327. GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  4328. GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
  4329. GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4330. GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
  4331. GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
  4332. GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  4333. #endif
  4334. #endif /* GL_ARB_shader_objects */
  4335. #ifndef GL_ARB_shader_precision
  4336. #define GL_ARB_shader_precision 1
  4337. #endif /* GL_ARB_shader_precision */
  4338. #ifndef GL_ARB_shader_stencil_export
  4339. #define GL_ARB_shader_stencil_export 1
  4340. #endif /* GL_ARB_shader_stencil_export */
  4341. #ifndef GL_ARB_shader_storage_buffer_object
  4342. #define GL_ARB_shader_storage_buffer_object 1
  4343. #endif /* GL_ARB_shader_storage_buffer_object */
  4344. #ifndef GL_ARB_shader_subroutine
  4345. #define GL_ARB_shader_subroutine 1
  4346. #endif /* GL_ARB_shader_subroutine */
  4347. #ifndef GL_ARB_shader_texture_image_samples
  4348. #define GL_ARB_shader_texture_image_samples 1
  4349. #endif /* GL_ARB_shader_texture_image_samples */
  4350. #ifndef GL_ARB_shader_texture_lod
  4351. #define GL_ARB_shader_texture_lod 1
  4352. #endif /* GL_ARB_shader_texture_lod */
  4353. #ifndef GL_ARB_shader_viewport_layer_array
  4354. #define GL_ARB_shader_viewport_layer_array 1
  4355. #endif /* GL_ARB_shader_viewport_layer_array */
  4356. #ifndef GL_ARB_shading_language_100
  4357. #define GL_ARB_shading_language_100 1
  4358. #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
  4359. #endif /* GL_ARB_shading_language_100 */
  4360. #ifndef GL_ARB_shading_language_420pack
  4361. #define GL_ARB_shading_language_420pack 1
  4362. #endif /* GL_ARB_shading_language_420pack */
  4363. #ifndef GL_ARB_shading_language_include
  4364. #define GL_ARB_shading_language_include 1
  4365. #define GL_SHADER_INCLUDE_ARB 0x8DAE
  4366. #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
  4367. #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
  4368. typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  4369. typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  4370. typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  4371. typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  4372. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  4373. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  4374. #ifdef GL_GLEXT_PROTOTYPES
  4375. GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  4376. GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
  4377. GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  4378. GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
  4379. GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  4380. GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  4381. #endif
  4382. #endif /* GL_ARB_shading_language_include */
  4383. #ifndef GL_ARB_shading_language_packing
  4384. #define GL_ARB_shading_language_packing 1
  4385. #endif /* GL_ARB_shading_language_packing */
  4386. #ifndef GL_ARB_shadow
  4387. #define GL_ARB_shadow 1
  4388. #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
  4389. #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
  4390. #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
  4391. #endif /* GL_ARB_shadow */
  4392. #ifndef GL_ARB_shadow_ambient
  4393. #define GL_ARB_shadow_ambient 1
  4394. #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  4395. #endif /* GL_ARB_shadow_ambient */
  4396. #ifndef GL_ARB_sparse_buffer
  4397. #define GL_ARB_sparse_buffer 1
  4398. #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
  4399. #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
  4400. typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4401. typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4402. typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4403. #ifdef GL_GLEXT_PROTOTYPES
  4404. GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4405. GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4406. GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4407. #endif
  4408. #endif /* GL_ARB_sparse_buffer */
  4409. #ifndef GL_ARB_sparse_texture
  4410. #define GL_ARB_sparse_texture 1
  4411. #define GL_TEXTURE_SPARSE_ARB 0x91A6
  4412. #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
  4413. #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
  4414. #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
  4415. #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
  4416. #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
  4417. #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
  4418. #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
  4419. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
  4420. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
  4421. #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
  4422. typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  4423. #ifdef GL_GLEXT_PROTOTYPES
  4424. GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  4425. #endif
  4426. #endif /* GL_ARB_sparse_texture */
  4427. #ifndef GL_ARB_sparse_texture2
  4428. #define GL_ARB_sparse_texture2 1
  4429. #endif /* GL_ARB_sparse_texture2 */
  4430. #ifndef GL_ARB_sparse_texture_clamp
  4431. #define GL_ARB_sparse_texture_clamp 1
  4432. #endif /* GL_ARB_sparse_texture_clamp */
  4433. #ifndef GL_ARB_spirv_extensions
  4434. #define GL_ARB_spirv_extensions 1
  4435. #endif /* GL_ARB_spirv_extensions */
  4436. #ifndef GL_ARB_stencil_texturing
  4437. #define GL_ARB_stencil_texturing 1
  4438. #endif /* GL_ARB_stencil_texturing */
  4439. #ifndef GL_ARB_sync
  4440. #define GL_ARB_sync 1
  4441. #endif /* GL_ARB_sync */
  4442. #ifndef GL_ARB_tessellation_shader
  4443. #define GL_ARB_tessellation_shader 1
  4444. #endif /* GL_ARB_tessellation_shader */
  4445. #ifndef GL_ARB_texture_barrier
  4446. #define GL_ARB_texture_barrier 1
  4447. #endif /* GL_ARB_texture_barrier */
  4448. #ifndef GL_ARB_texture_border_clamp
  4449. #define GL_ARB_texture_border_clamp 1
  4450. #define GL_CLAMP_TO_BORDER_ARB 0x812D
  4451. #endif /* GL_ARB_texture_border_clamp */
  4452. #ifndef GL_ARB_texture_buffer_object
  4453. #define GL_ARB_texture_buffer_object 1
  4454. #define GL_TEXTURE_BUFFER_ARB 0x8C2A
  4455. #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
  4456. #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
  4457. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  4458. #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
  4459. typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  4460. #ifdef GL_GLEXT_PROTOTYPES
  4461. GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
  4462. #endif
  4463. #endif /* GL_ARB_texture_buffer_object */
  4464. #ifndef GL_ARB_texture_buffer_object_rgb32
  4465. #define GL_ARB_texture_buffer_object_rgb32 1
  4466. #endif /* GL_ARB_texture_buffer_object_rgb32 */
  4467. #ifndef GL_ARB_texture_buffer_range
  4468. #define GL_ARB_texture_buffer_range 1
  4469. #endif /* GL_ARB_texture_buffer_range */
  4470. #ifndef GL_ARB_texture_compression
  4471. #define GL_ARB_texture_compression 1
  4472. #define GL_COMPRESSED_ALPHA_ARB 0x84E9
  4473. #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
  4474. #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  4475. #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
  4476. #define GL_COMPRESSED_RGB_ARB 0x84ED
  4477. #define GL_COMPRESSED_RGBA_ARB 0x84EE
  4478. #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
  4479. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  4480. #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
  4481. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  4482. #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  4483. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  4484. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  4485. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  4486. 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);
  4487. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  4488. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  4489. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
  4490. #ifdef GL_GLEXT_PROTOTYPES
  4491. GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  4492. GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  4493. GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  4494. 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);
  4495. GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  4496. GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  4497. GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
  4498. #endif
  4499. #endif /* GL_ARB_texture_compression */
  4500. #ifndef GL_ARB_texture_compression_bptc
  4501. #define GL_ARB_texture_compression_bptc 1
  4502. #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  4503. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  4504. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  4505. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  4506. #endif /* GL_ARB_texture_compression_bptc */
  4507. #ifndef GL_ARB_texture_compression_rgtc
  4508. #define GL_ARB_texture_compression_rgtc 1
  4509. #endif /* GL_ARB_texture_compression_rgtc */
  4510. #ifndef GL_ARB_texture_cube_map
  4511. #define GL_ARB_texture_cube_map 1
  4512. #define GL_NORMAL_MAP_ARB 0x8511
  4513. #define GL_REFLECTION_MAP_ARB 0x8512
  4514. #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
  4515. #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
  4516. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  4517. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  4518. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  4519. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  4520. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  4521. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  4522. #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
  4523. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
  4524. #endif /* GL_ARB_texture_cube_map */
  4525. #ifndef GL_ARB_texture_cube_map_array
  4526. #define GL_ARB_texture_cube_map_array 1
  4527. #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
  4528. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  4529. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  4530. #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
  4531. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  4532. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  4533. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  4534. #endif /* GL_ARB_texture_cube_map_array */
  4535. #ifndef GL_ARB_texture_env_add
  4536. #define GL_ARB_texture_env_add 1
  4537. #endif /* GL_ARB_texture_env_add */
  4538. #ifndef GL_ARB_texture_env_combine
  4539. #define GL_ARB_texture_env_combine 1
  4540. #define GL_COMBINE_ARB 0x8570
  4541. #define GL_COMBINE_RGB_ARB 0x8571
  4542. #define GL_COMBINE_ALPHA_ARB 0x8572
  4543. #define GL_SOURCE0_RGB_ARB 0x8580
  4544. #define GL_SOURCE1_RGB_ARB 0x8581
  4545. #define GL_SOURCE2_RGB_ARB 0x8582
  4546. #define GL_SOURCE0_ALPHA_ARB 0x8588
  4547. #define GL_SOURCE1_ALPHA_ARB 0x8589
  4548. #define GL_SOURCE2_ALPHA_ARB 0x858A
  4549. #define GL_OPERAND0_RGB_ARB 0x8590
  4550. #define GL_OPERAND1_RGB_ARB 0x8591
  4551. #define GL_OPERAND2_RGB_ARB 0x8592
  4552. #define GL_OPERAND0_ALPHA_ARB 0x8598
  4553. #define GL_OPERAND1_ALPHA_ARB 0x8599
  4554. #define GL_OPERAND2_ALPHA_ARB 0x859A
  4555. #define GL_RGB_SCALE_ARB 0x8573
  4556. #define GL_ADD_SIGNED_ARB 0x8574
  4557. #define GL_INTERPOLATE_ARB 0x8575
  4558. #define GL_SUBTRACT_ARB 0x84E7
  4559. #define GL_CONSTANT_ARB 0x8576
  4560. #define GL_PRIMARY_COLOR_ARB 0x8577
  4561. #define GL_PREVIOUS_ARB 0x8578
  4562. #endif /* GL_ARB_texture_env_combine */
  4563. #ifndef GL_ARB_texture_env_crossbar
  4564. #define GL_ARB_texture_env_crossbar 1
  4565. #endif /* GL_ARB_texture_env_crossbar */
  4566. #ifndef GL_ARB_texture_env_dot3
  4567. #define GL_ARB_texture_env_dot3 1
  4568. #define GL_DOT3_RGB_ARB 0x86AE
  4569. #define GL_DOT3_RGBA_ARB 0x86AF
  4570. #endif /* GL_ARB_texture_env_dot3 */
  4571. #ifndef GL_ARB_texture_filter_anisotropic
  4572. #define GL_ARB_texture_filter_anisotropic 1
  4573. #endif /* GL_ARB_texture_filter_anisotropic */
  4574. #ifndef GL_ARB_texture_filter_minmax
  4575. #define GL_ARB_texture_filter_minmax 1
  4576. #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366
  4577. #define GL_WEIGHTED_AVERAGE_ARB 0x9367
  4578. #endif /* GL_ARB_texture_filter_minmax */
  4579. #ifndef GL_ARB_texture_float
  4580. #define GL_ARB_texture_float 1
  4581. #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
  4582. #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
  4583. #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
  4584. #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
  4585. #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
  4586. #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
  4587. #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
  4588. #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
  4589. #define GL_RGBA32F_ARB 0x8814
  4590. #define GL_RGB32F_ARB 0x8815
  4591. #define GL_ALPHA32F_ARB 0x8816
  4592. #define GL_INTENSITY32F_ARB 0x8817
  4593. #define GL_LUMINANCE32F_ARB 0x8818
  4594. #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
  4595. #define GL_RGBA16F_ARB 0x881A
  4596. #define GL_RGB16F_ARB 0x881B
  4597. #define GL_ALPHA16F_ARB 0x881C
  4598. #define GL_INTENSITY16F_ARB 0x881D
  4599. #define GL_LUMINANCE16F_ARB 0x881E
  4600. #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
  4601. #endif /* GL_ARB_texture_float */
  4602. #ifndef GL_ARB_texture_gather
  4603. #define GL_ARB_texture_gather 1
  4604. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  4605. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  4606. #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
  4607. #endif /* GL_ARB_texture_gather */
  4608. #ifndef GL_ARB_texture_mirror_clamp_to_edge
  4609. #define GL_ARB_texture_mirror_clamp_to_edge 1
  4610. #endif /* GL_ARB_texture_mirror_clamp_to_edge */
  4611. #ifndef GL_ARB_texture_mirrored_repeat
  4612. #define GL_ARB_texture_mirrored_repeat 1
  4613. #define GL_MIRRORED_REPEAT_ARB 0x8370
  4614. #endif /* GL_ARB_texture_mirrored_repeat */
  4615. #ifndef GL_ARB_texture_multisample
  4616. #define GL_ARB_texture_multisample 1
  4617. #endif /* GL_ARB_texture_multisample */
  4618. #ifndef GL_ARB_texture_non_power_of_two
  4619. #define GL_ARB_texture_non_power_of_two 1
  4620. #endif /* GL_ARB_texture_non_power_of_two */
  4621. #ifndef GL_ARB_texture_query_levels
  4622. #define GL_ARB_texture_query_levels 1
  4623. #endif /* GL_ARB_texture_query_levels */
  4624. #ifndef GL_ARB_texture_query_lod
  4625. #define GL_ARB_texture_query_lod 1
  4626. #endif /* GL_ARB_texture_query_lod */
  4627. #ifndef GL_ARB_texture_rectangle
  4628. #define GL_ARB_texture_rectangle 1
  4629. #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
  4630. #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
  4631. #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
  4632. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  4633. #endif /* GL_ARB_texture_rectangle */
  4634. #ifndef GL_ARB_texture_rg
  4635. #define GL_ARB_texture_rg 1
  4636. #endif /* GL_ARB_texture_rg */
  4637. #ifndef GL_ARB_texture_rgb10_a2ui
  4638. #define GL_ARB_texture_rgb10_a2ui 1
  4639. #endif /* GL_ARB_texture_rgb10_a2ui */
  4640. #ifndef GL_ARB_texture_stencil8
  4641. #define GL_ARB_texture_stencil8 1
  4642. #endif /* GL_ARB_texture_stencil8 */
  4643. #ifndef GL_ARB_texture_storage
  4644. #define GL_ARB_texture_storage 1
  4645. #endif /* GL_ARB_texture_storage */
  4646. #ifndef GL_ARB_texture_storage_multisample
  4647. #define GL_ARB_texture_storage_multisample 1
  4648. #endif /* GL_ARB_texture_storage_multisample */
  4649. #ifndef GL_ARB_texture_swizzle
  4650. #define GL_ARB_texture_swizzle 1
  4651. #endif /* GL_ARB_texture_swizzle */
  4652. #ifndef GL_ARB_texture_view
  4653. #define GL_ARB_texture_view 1
  4654. #endif /* GL_ARB_texture_view */
  4655. #ifndef GL_ARB_timer_query
  4656. #define GL_ARB_timer_query 1
  4657. #endif /* GL_ARB_timer_query */
  4658. #ifndef GL_ARB_transform_feedback2
  4659. #define GL_ARB_transform_feedback2 1
  4660. #endif /* GL_ARB_transform_feedback2 */
  4661. #ifndef GL_ARB_transform_feedback3
  4662. #define GL_ARB_transform_feedback3 1
  4663. #endif /* GL_ARB_transform_feedback3 */
  4664. #ifndef GL_ARB_transform_feedback_instanced
  4665. #define GL_ARB_transform_feedback_instanced 1
  4666. #endif /* GL_ARB_transform_feedback_instanced */
  4667. #ifndef GL_ARB_transform_feedback_overflow_query
  4668. #define GL_ARB_transform_feedback_overflow_query 1
  4669. #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
  4670. #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
  4671. #endif /* GL_ARB_transform_feedback_overflow_query */
  4672. #ifndef GL_ARB_transpose_matrix
  4673. #define GL_ARB_transpose_matrix 1
  4674. #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  4675. #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  4676. #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
  4677. #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
  4678. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  4679. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  4680. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  4681. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  4682. #ifdef GL_GLEXT_PROTOTYPES
  4683. GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
  4684. GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
  4685. GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
  4686. GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
  4687. #endif
  4688. #endif /* GL_ARB_transpose_matrix */
  4689. #ifndef GL_ARB_uniform_buffer_object
  4690. #define GL_ARB_uniform_buffer_object 1
  4691. #endif /* GL_ARB_uniform_buffer_object */
  4692. #ifndef GL_ARB_vertex_array_bgra
  4693. #define GL_ARB_vertex_array_bgra 1
  4694. #endif /* GL_ARB_vertex_array_bgra */
  4695. #ifndef GL_ARB_vertex_array_object
  4696. #define GL_ARB_vertex_array_object 1
  4697. #endif /* GL_ARB_vertex_array_object */
  4698. #ifndef GL_ARB_vertex_attrib_64bit
  4699. #define GL_ARB_vertex_attrib_64bit 1
  4700. #endif /* GL_ARB_vertex_attrib_64bit */
  4701. #ifndef GL_ARB_vertex_attrib_binding
  4702. #define GL_ARB_vertex_attrib_binding 1
  4703. #endif /* GL_ARB_vertex_attrib_binding */
  4704. #ifndef GL_ARB_vertex_blend
  4705. #define GL_ARB_vertex_blend 1
  4706. #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
  4707. #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
  4708. #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
  4709. #define GL_VERTEX_BLEND_ARB 0x86A7
  4710. #define GL_CURRENT_WEIGHT_ARB 0x86A8
  4711. #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
  4712. #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
  4713. #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
  4714. #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
  4715. #define GL_WEIGHT_ARRAY_ARB 0x86AD
  4716. #define GL_MODELVIEW0_ARB 0x1700
  4717. #define GL_MODELVIEW1_ARB 0x850A
  4718. #define GL_MODELVIEW2_ARB 0x8722
  4719. #define GL_MODELVIEW3_ARB 0x8723
  4720. #define GL_MODELVIEW4_ARB 0x8724
  4721. #define GL_MODELVIEW5_ARB 0x8725
  4722. #define GL_MODELVIEW6_ARB 0x8726
  4723. #define GL_MODELVIEW7_ARB 0x8727
  4724. #define GL_MODELVIEW8_ARB 0x8728
  4725. #define GL_MODELVIEW9_ARB 0x8729
  4726. #define GL_MODELVIEW10_ARB 0x872A
  4727. #define GL_MODELVIEW11_ARB 0x872B
  4728. #define GL_MODELVIEW12_ARB 0x872C
  4729. #define GL_MODELVIEW13_ARB 0x872D
  4730. #define GL_MODELVIEW14_ARB 0x872E
  4731. #define GL_MODELVIEW15_ARB 0x872F
  4732. #define GL_MODELVIEW16_ARB 0x8730
  4733. #define GL_MODELVIEW17_ARB 0x8731
  4734. #define GL_MODELVIEW18_ARB 0x8732
  4735. #define GL_MODELVIEW19_ARB 0x8733
  4736. #define GL_MODELVIEW20_ARB 0x8734
  4737. #define GL_MODELVIEW21_ARB 0x8735
  4738. #define GL_MODELVIEW22_ARB 0x8736
  4739. #define GL_MODELVIEW23_ARB 0x8737
  4740. #define GL_MODELVIEW24_ARB 0x8738
  4741. #define GL_MODELVIEW25_ARB 0x8739
  4742. #define GL_MODELVIEW26_ARB 0x873A
  4743. #define GL_MODELVIEW27_ARB 0x873B
  4744. #define GL_MODELVIEW28_ARB 0x873C
  4745. #define GL_MODELVIEW29_ARB 0x873D
  4746. #define GL_MODELVIEW30_ARB 0x873E
  4747. #define GL_MODELVIEW31_ARB 0x873F
  4748. typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  4749. typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  4750. typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  4751. typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  4752. typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  4753. typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  4754. typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  4755. typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  4756. typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  4757. typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  4758. #ifdef GL_GLEXT_PROTOTYPES
  4759. GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
  4760. GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
  4761. GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
  4762. GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
  4763. GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
  4764. GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
  4765. GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
  4766. GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
  4767. GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  4768. GLAPI void APIENTRY glVertexBlendARB (GLint count);
  4769. #endif
  4770. #endif /* GL_ARB_vertex_blend */
  4771. #ifndef GL_ARB_vertex_buffer_object
  4772. #define GL_ARB_vertex_buffer_object 1
  4773. typedef khronos_ssize_t GLsizeiptrARB;
  4774. typedef khronos_intptr_t GLintptrARB;
  4775. #define GL_BUFFER_SIZE_ARB 0x8764
  4776. #define GL_BUFFER_USAGE_ARB 0x8765
  4777. #define GL_ARRAY_BUFFER_ARB 0x8892
  4778. #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
  4779. #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
  4780. #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  4781. #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  4782. #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  4783. #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  4784. #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  4785. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  4786. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  4787. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  4788. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  4789. #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  4790. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  4791. #define GL_READ_ONLY_ARB 0x88B8
  4792. #define GL_WRITE_ONLY_ARB 0x88B9
  4793. #define GL_READ_WRITE_ARB 0x88BA
  4794. #define GL_BUFFER_ACCESS_ARB 0x88BB
  4795. #define GL_BUFFER_MAPPED_ARB 0x88BC
  4796. #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
  4797. #define GL_STREAM_DRAW_ARB 0x88E0
  4798. #define GL_STREAM_READ_ARB 0x88E1
  4799. #define GL_STREAM_COPY_ARB 0x88E2
  4800. #define GL_STATIC_DRAW_ARB 0x88E4
  4801. #define GL_STATIC_READ_ARB 0x88E5
  4802. #define GL_STATIC_COPY_ARB 0x88E6
  4803. #define GL_DYNAMIC_DRAW_ARB 0x88E8
  4804. #define GL_DYNAMIC_READ_ARB 0x88E9
  4805. #define GL_DYNAMIC_COPY_ARB 0x88EA
  4806. typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  4807. typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  4808. typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  4809. typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  4810. typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  4811. typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  4812. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  4813. typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  4814. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  4815. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  4816. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
  4817. #ifdef GL_GLEXT_PROTOTYPES
  4818. GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
  4819. GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
  4820. GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
  4821. GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
  4822. GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  4823. GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  4824. GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  4825. GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
  4826. GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
  4827. GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
  4828. GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
  4829. #endif
  4830. #endif /* GL_ARB_vertex_buffer_object */
  4831. #ifndef GL_ARB_vertex_program
  4832. #define GL_ARB_vertex_program 1
  4833. #define GL_COLOR_SUM_ARB 0x8458
  4834. #define GL_VERTEX_PROGRAM_ARB 0x8620
  4835. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  4836. #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
  4837. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  4838. #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
  4839. #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
  4840. #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
  4841. #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
  4842. #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  4843. #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
  4844. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  4845. #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
  4846. #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  4847. #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  4848. #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  4849. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  4850. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  4851. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  4852. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  4853. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  4854. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  4855. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  4856. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  4857. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  4858. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  4859. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  4860. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  4861. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4862. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  4863. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4864. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  4865. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  4866. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  4867. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  4868. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  4869. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  4870. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4871. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  4872. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  4873. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  4874. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  4875. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4876. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  4877. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4878. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  4879. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  4880. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4881. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  4882. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  4883. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  4884. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  4885. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  4886. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  4887. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  4888. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  4889. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  4890. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  4891. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
  4892. #ifdef GL_GLEXT_PROTOTYPES
  4893. GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
  4894. GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
  4895. GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
  4896. GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
  4897. GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
  4898. GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
  4899. GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
  4900. GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
  4901. GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
  4902. GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
  4903. GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
  4904. GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
  4905. GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4906. GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
  4907. GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4908. GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
  4909. GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
  4910. GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
  4911. GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
  4912. GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
  4913. GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
  4914. GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4915. GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
  4916. GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
  4917. GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
  4918. GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
  4919. GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4920. GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
  4921. GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4922. GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
  4923. GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
  4924. GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4925. GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
  4926. GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
  4927. GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
  4928. GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
  4929. GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  4930. GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
  4931. GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
  4932. GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
  4933. GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
  4934. GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
  4935. GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
  4936. #endif
  4937. #endif /* GL_ARB_vertex_program */
  4938. #ifndef GL_ARB_vertex_shader
  4939. #define GL_ARB_vertex_shader 1
  4940. #define GL_VERTEX_SHADER_ARB 0x8B31
  4941. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  4942. #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
  4943. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  4944. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  4945. #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
  4946. #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  4947. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  4948. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4949. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  4950. #ifdef GL_GLEXT_PROTOTYPES
  4951. GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  4952. GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4953. GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
  4954. #endif
  4955. #endif /* GL_ARB_vertex_shader */
  4956. #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
  4957. #define GL_ARB_vertex_type_10f_11f_11f_rev 1
  4958. #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
  4959. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  4960. #define GL_ARB_vertex_type_2_10_10_10_rev 1
  4961. #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
  4962. #ifndef GL_ARB_viewport_array
  4963. #define GL_ARB_viewport_array 1
  4964. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYDVNVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  4965. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDDNVPROC) (GLuint index, GLdouble n, GLdouble f);
  4966. #ifdef GL_GLEXT_PROTOTYPES
  4967. GLAPI void APIENTRY glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble *v);
  4968. GLAPI void APIENTRY glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f);
  4969. #endif
  4970. #endif /* GL_ARB_viewport_array */
  4971. #ifndef GL_ARB_window_pos
  4972. #define GL_ARB_window_pos 1
  4973. typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  4974. typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  4975. typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  4976. typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  4977. typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  4978. typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  4979. typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  4980. typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  4981. typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  4982. typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  4983. typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  4984. typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  4985. typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  4986. typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  4987. typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  4988. typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  4989. #ifdef GL_GLEXT_PROTOTYPES
  4990. GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
  4991. GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
  4992. GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
  4993. GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
  4994. GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
  4995. GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
  4996. GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
  4997. GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
  4998. GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
  4999. GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
  5000. GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
  5001. GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
  5002. GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
  5003. GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
  5004. GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
  5005. GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
  5006. #endif
  5007. #endif /* GL_ARB_window_pos */
  5008. #ifndef GL_KHR_blend_equation_advanced
  5009. #define GL_KHR_blend_equation_advanced 1
  5010. #define GL_MULTIPLY_KHR 0x9294
  5011. #define GL_SCREEN_KHR 0x9295
  5012. #define GL_OVERLAY_KHR 0x9296
  5013. #define GL_DARKEN_KHR 0x9297
  5014. #define GL_LIGHTEN_KHR 0x9298
  5015. #define GL_COLORDODGE_KHR 0x9299
  5016. #define GL_COLORBURN_KHR 0x929A
  5017. #define GL_HARDLIGHT_KHR 0x929B
  5018. #define GL_SOFTLIGHT_KHR 0x929C
  5019. #define GL_DIFFERENCE_KHR 0x929E
  5020. #define GL_EXCLUSION_KHR 0x92A0
  5021. #define GL_HSL_HUE_KHR 0x92AD
  5022. #define GL_HSL_SATURATION_KHR 0x92AE
  5023. #define GL_HSL_COLOR_KHR 0x92AF
  5024. #define GL_HSL_LUMINOSITY_KHR 0x92B0
  5025. typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
  5026. #ifdef GL_GLEXT_PROTOTYPES
  5027. GLAPI void APIENTRY glBlendBarrierKHR (void);
  5028. #endif
  5029. #endif /* GL_KHR_blend_equation_advanced */
  5030. #ifndef GL_KHR_blend_equation_advanced_coherent
  5031. #define GL_KHR_blend_equation_advanced_coherent 1
  5032. #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
  5033. #endif /* GL_KHR_blend_equation_advanced_coherent */
  5034. #ifndef GL_KHR_context_flush_control
  5035. #define GL_KHR_context_flush_control 1
  5036. #endif /* GL_KHR_context_flush_control */
  5037. #ifndef GL_KHR_debug
  5038. #define GL_KHR_debug 1
  5039. #endif /* GL_KHR_debug */
  5040. #ifndef GL_KHR_no_error
  5041. #define GL_KHR_no_error 1
  5042. #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
  5043. #endif /* GL_KHR_no_error */
  5044. #ifndef GL_KHR_parallel_shader_compile
  5045. #define GL_KHR_parallel_shader_compile 1
  5046. #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
  5047. #define GL_COMPLETION_STATUS_KHR 0x91B1
  5048. typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
  5049. #ifdef GL_GLEXT_PROTOTYPES
  5050. GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
  5051. #endif
  5052. #endif /* GL_KHR_parallel_shader_compile */
  5053. #ifndef GL_KHR_robust_buffer_access_behavior
  5054. #define GL_KHR_robust_buffer_access_behavior 1
  5055. #endif /* GL_KHR_robust_buffer_access_behavior */
  5056. #ifndef GL_KHR_robustness
  5057. #define GL_KHR_robustness 1
  5058. #define GL_CONTEXT_ROBUST_ACCESS 0x90F3
  5059. #endif /* GL_KHR_robustness */
  5060. #ifndef GL_KHR_shader_subgroup
  5061. #define GL_KHR_shader_subgroup 1
  5062. #define GL_SUBGROUP_SIZE_KHR 0x9532
  5063. #define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
  5064. #define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
  5065. #define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
  5066. #define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
  5067. #define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
  5068. #define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
  5069. #define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
  5070. #define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
  5071. #define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
  5072. #define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
  5073. #define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
  5074. #endif /* GL_KHR_shader_subgroup */
  5075. #ifndef GL_KHR_texture_compression_astc_hdr
  5076. #define GL_KHR_texture_compression_astc_hdr 1
  5077. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  5078. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  5079. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  5080. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  5081. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  5082. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  5083. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  5084. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  5085. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  5086. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  5087. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  5088. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  5089. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  5090. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  5091. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  5092. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  5093. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  5094. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  5095. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  5096. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  5097. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  5098. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  5099. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  5100. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  5101. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  5102. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  5103. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  5104. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  5105. #endif /* GL_KHR_texture_compression_astc_hdr */
  5106. #ifndef GL_KHR_texture_compression_astc_ldr
  5107. #define GL_KHR_texture_compression_astc_ldr 1
  5108. #endif /* GL_KHR_texture_compression_astc_ldr */
  5109. #ifndef GL_KHR_texture_compression_astc_sliced_3d
  5110. #define GL_KHR_texture_compression_astc_sliced_3d 1
  5111. #endif /* GL_KHR_texture_compression_astc_sliced_3d */
  5112. #ifndef GL_OES_byte_coordinates
  5113. #define GL_OES_byte_coordinates 1
  5114. typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
  5115. typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
  5116. typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
  5117. typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
  5118. typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  5119. typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
  5120. typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  5121. typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
  5122. typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
  5123. typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
  5124. typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
  5125. typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
  5126. typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
  5127. typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
  5128. typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  5129. typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
  5130. typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
  5131. typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
  5132. typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
  5133. typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
  5134. typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
  5135. typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
  5136. #ifdef GL_GLEXT_PROTOTYPES
  5137. GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
  5138. GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
  5139. GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
  5140. GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
  5141. GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  5142. GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
  5143. GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  5144. GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
  5145. GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
  5146. GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
  5147. GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
  5148. GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
  5149. GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
  5150. GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
  5151. GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  5152. GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
  5153. GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
  5154. GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
  5155. GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
  5156. GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
  5157. GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
  5158. GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
  5159. #endif
  5160. #endif /* GL_OES_byte_coordinates */
  5161. #ifndef GL_OES_compressed_paletted_texture
  5162. #define GL_OES_compressed_paletted_texture 1
  5163. #define GL_PALETTE4_RGB8_OES 0x8B90
  5164. #define GL_PALETTE4_RGBA8_OES 0x8B91
  5165. #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
  5166. #define GL_PALETTE4_RGBA4_OES 0x8B93
  5167. #define GL_PALETTE4_RGB5_A1_OES 0x8B94
  5168. #define GL_PALETTE8_RGB8_OES 0x8B95
  5169. #define GL_PALETTE8_RGBA8_OES 0x8B96
  5170. #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
  5171. #define GL_PALETTE8_RGBA4_OES 0x8B98
  5172. #define GL_PALETTE8_RGB5_A1_OES 0x8B99
  5173. #endif /* GL_OES_compressed_paletted_texture */
  5174. #ifndef GL_OES_fixed_point
  5175. #define GL_OES_fixed_point 1
  5176. typedef khronos_int32_t GLfixed;
  5177. #define GL_FIXED_OES 0x140C
  5178. typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
  5179. typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5180. typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
  5181. typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
  5182. typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5183. typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
  5184. typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
  5185. typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
  5186. typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  5187. typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
  5188. typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
  5189. typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  5190. typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  5191. typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
  5192. typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
  5193. typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
  5194. typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
  5195. typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
  5196. typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
  5197. typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  5198. typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
  5199. typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
  5200. typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  5201. typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
  5202. typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  5203. typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
  5204. typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
  5205. typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
  5206. typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  5207. typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  5208. typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  5209. typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  5210. typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  5211. typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  5212. typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  5213. typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
  5214. typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  5215. typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5216. typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5217. typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
  5218. typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
  5219. typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
  5220. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  5221. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  5222. typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
  5223. typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
  5224. typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
  5225. typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
  5226. typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
  5227. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  5228. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  5229. typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
  5230. typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
  5231. typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  5232. typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
  5233. typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
  5234. typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
  5235. typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
  5236. typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
  5237. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  5238. typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  5239. typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  5240. typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
  5241. typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  5242. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  5243. typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
  5244. typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
  5245. typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
  5246. typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
  5247. typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  5248. typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
  5249. typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
  5250. typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
  5251. typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
  5252. typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
  5253. typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
  5254. typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
  5255. typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
  5256. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  5257. typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
  5258. typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
  5259. typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  5260. typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
  5261. typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  5262. typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
  5263. typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  5264. typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
  5265. typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
  5266. typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
  5267. typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
  5268. typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
  5269. typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
  5270. typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
  5271. typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  5272. typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
  5273. typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
  5274. typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
  5275. typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
  5276. typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
  5277. typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
  5278. typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
  5279. typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  5280. typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
  5281. #ifdef GL_GLEXT_PROTOTYPES
  5282. GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
  5283. GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5284. GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
  5285. GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
  5286. GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5287. GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
  5288. GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
  5289. GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
  5290. GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  5291. GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
  5292. GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
  5293. GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
  5294. GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  5295. GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
  5296. GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
  5297. GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
  5298. GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
  5299. GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
  5300. GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
  5301. GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  5302. GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
  5303. GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
  5304. GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  5305. GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
  5306. GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  5307. GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
  5308. GLAPI void APIENTRY glPointSizexOES (GLfixed size);
  5309. GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
  5310. GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  5311. GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
  5312. GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
  5313. GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
  5314. GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
  5315. GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  5316. GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
  5317. GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
  5318. GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  5319. GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5320. GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5321. GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
  5322. GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
  5323. GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
  5324. GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
  5325. GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  5326. GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
  5327. GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
  5328. GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
  5329. GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
  5330. GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
  5331. GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  5332. GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  5333. GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
  5334. GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
  5335. GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  5336. GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
  5337. GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
  5338. GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
  5339. GLAPI void APIENTRY glIndexxOES (GLfixed component);
  5340. GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
  5341. GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
  5342. GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  5343. GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  5344. GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
  5345. GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  5346. GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
  5347. GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
  5348. GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
  5349. GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
  5350. GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
  5351. GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  5352. GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
  5353. GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
  5354. GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
  5355. GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
  5356. GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
  5357. GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
  5358. GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
  5359. GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
  5360. GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  5361. GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
  5362. GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
  5363. GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
  5364. GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
  5365. GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  5366. GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
  5367. GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  5368. GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
  5369. GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
  5370. GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
  5371. GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
  5372. GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
  5373. GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
  5374. GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
  5375. GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  5376. GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
  5377. GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
  5378. GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
  5379. GLAPI void APIENTRY glVertex2xOES (GLfixed x);
  5380. GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
  5381. GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
  5382. GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
  5383. GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
  5384. GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
  5385. #endif
  5386. #endif /* GL_OES_fixed_point */
  5387. #ifndef GL_OES_query_matrix
  5388. #define GL_OES_query_matrix 1
  5389. typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
  5390. #ifdef GL_GLEXT_PROTOTYPES
  5391. GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
  5392. #endif
  5393. #endif /* GL_OES_query_matrix */
  5394. #ifndef GL_OES_read_format
  5395. #define GL_OES_read_format 1
  5396. #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  5397. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  5398. #endif /* GL_OES_read_format */
  5399. #ifndef GL_OES_single_precision
  5400. #define GL_OES_single_precision 1
  5401. typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
  5402. typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
  5403. typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
  5404. typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  5405. typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
  5406. typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  5407. #ifdef GL_GLEXT_PROTOTYPES
  5408. GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
  5409. GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
  5410. GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
  5411. GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  5412. GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
  5413. GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  5414. #endif
  5415. #endif /* GL_OES_single_precision */
  5416. #ifndef GL_3DFX_multisample
  5417. #define GL_3DFX_multisample 1
  5418. #define GL_MULTISAMPLE_3DFX 0x86B2
  5419. #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
  5420. #define GL_SAMPLES_3DFX 0x86B4
  5421. #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
  5422. #endif /* GL_3DFX_multisample */
  5423. #ifndef GL_3DFX_tbuffer
  5424. #define GL_3DFX_tbuffer 1
  5425. typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  5426. #ifdef GL_GLEXT_PROTOTYPES
  5427. GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
  5428. #endif
  5429. #endif /* GL_3DFX_tbuffer */
  5430. #ifndef GL_3DFX_texture_compression_FXT1
  5431. #define GL_3DFX_texture_compression_FXT1 1
  5432. #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
  5433. #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
  5434. #endif /* GL_3DFX_texture_compression_FXT1 */
  5435. #ifndef GL_AMD_blend_minmax_factor
  5436. #define GL_AMD_blend_minmax_factor 1
  5437. #define GL_FACTOR_MIN_AMD 0x901C
  5438. #define GL_FACTOR_MAX_AMD 0x901D
  5439. #endif /* GL_AMD_blend_minmax_factor */
  5440. #ifndef GL_AMD_conservative_depth
  5441. #define GL_AMD_conservative_depth 1
  5442. #endif /* GL_AMD_conservative_depth */
  5443. #ifndef GL_AMD_debug_output
  5444. #define GL_AMD_debug_output 1
  5445. typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
  5446. #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
  5447. #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
  5448. #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
  5449. #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
  5450. #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
  5451. #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
  5452. #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
  5453. #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
  5454. #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
  5455. #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
  5456. #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
  5457. #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
  5458. #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
  5459. #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
  5460. typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  5461. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  5462. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
  5463. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  5464. #ifdef GL_GLEXT_PROTOTYPES
  5465. GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  5466. GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  5467. GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
  5468. GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  5469. #endif
  5470. #endif /* GL_AMD_debug_output */
  5471. #ifndef GL_AMD_depth_clamp_separate
  5472. #define GL_AMD_depth_clamp_separate 1
  5473. #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
  5474. #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
  5475. #endif /* GL_AMD_depth_clamp_separate */
  5476. #ifndef GL_AMD_draw_buffers_blend
  5477. #define GL_AMD_draw_buffers_blend 1
  5478. typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
  5479. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  5480. typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
  5481. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  5482. #ifdef GL_GLEXT_PROTOTYPES
  5483. GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
  5484. GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  5485. GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
  5486. GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  5487. #endif
  5488. #endif /* GL_AMD_draw_buffers_blend */
  5489. #ifndef GL_AMD_framebuffer_multisample_advanced
  5490. #define GL_AMD_framebuffer_multisample_advanced 1
  5491. #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
  5492. #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
  5493. #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
  5494. #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
  5495. #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
  5496. #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
  5497. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
  5498. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
  5499. #ifdef GL_GLEXT_PROTOTYPES
  5500. GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
  5501. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
  5502. #endif
  5503. #endif /* GL_AMD_framebuffer_multisample_advanced */
  5504. #ifndef GL_AMD_framebuffer_sample_positions
  5505. #define GL_AMD_framebuffer_sample_positions 1
  5506. #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
  5507. #define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE
  5508. #define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF
  5509. #define GL_ALL_PIXELS_AMD 0xFFFFFFFF
  5510. typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
  5511. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
  5512. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
  5513. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
  5514. #ifdef GL_GLEXT_PROTOTYPES
  5515. GLAPI void APIENTRY glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
  5516. GLAPI void APIENTRY glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
  5517. GLAPI void APIENTRY glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
  5518. GLAPI void APIENTRY glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
  5519. #endif
  5520. #endif /* GL_AMD_framebuffer_sample_positions */
  5521. #ifndef GL_AMD_gcn_shader
  5522. #define GL_AMD_gcn_shader 1
  5523. #endif /* GL_AMD_gcn_shader */
  5524. #ifndef GL_AMD_gpu_shader_half_float
  5525. #define GL_AMD_gpu_shader_half_float 1
  5526. #define GL_FLOAT16_NV 0x8FF8
  5527. #define GL_FLOAT16_VEC2_NV 0x8FF9
  5528. #define GL_FLOAT16_VEC3_NV 0x8FFA
  5529. #define GL_FLOAT16_VEC4_NV 0x8FFB
  5530. #define GL_FLOAT16_MAT2_AMD 0x91C5
  5531. #define GL_FLOAT16_MAT3_AMD 0x91C6
  5532. #define GL_FLOAT16_MAT4_AMD 0x91C7
  5533. #define GL_FLOAT16_MAT2x3_AMD 0x91C8
  5534. #define GL_FLOAT16_MAT2x4_AMD 0x91C9
  5535. #define GL_FLOAT16_MAT3x2_AMD 0x91CA
  5536. #define GL_FLOAT16_MAT3x4_AMD 0x91CB
  5537. #define GL_FLOAT16_MAT4x2_AMD 0x91CC
  5538. #define GL_FLOAT16_MAT4x3_AMD 0x91CD
  5539. #endif /* GL_AMD_gpu_shader_half_float */
  5540. #ifndef GL_AMD_gpu_shader_int16
  5541. #define GL_AMD_gpu_shader_int16 1
  5542. #endif /* GL_AMD_gpu_shader_int16 */
  5543. #ifndef GL_AMD_gpu_shader_int64
  5544. #define GL_AMD_gpu_shader_int64 1
  5545. typedef khronos_int64_t GLint64EXT;
  5546. #define GL_INT64_NV 0x140E
  5547. #define GL_UNSIGNED_INT64_NV 0x140F
  5548. #define GL_INT8_NV 0x8FE0
  5549. #define GL_INT8_VEC2_NV 0x8FE1
  5550. #define GL_INT8_VEC3_NV 0x8FE2
  5551. #define GL_INT8_VEC4_NV 0x8FE3
  5552. #define GL_INT16_NV 0x8FE4
  5553. #define GL_INT16_VEC2_NV 0x8FE5
  5554. #define GL_INT16_VEC3_NV 0x8FE6
  5555. #define GL_INT16_VEC4_NV 0x8FE7
  5556. #define GL_INT64_VEC2_NV 0x8FE9
  5557. #define GL_INT64_VEC3_NV 0x8FEA
  5558. #define GL_INT64_VEC4_NV 0x8FEB
  5559. #define GL_UNSIGNED_INT8_NV 0x8FEC
  5560. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  5561. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  5562. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  5563. #define GL_UNSIGNED_INT16_NV 0x8FF0
  5564. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  5565. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  5566. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  5567. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  5568. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  5569. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  5570. typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  5571. typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  5572. typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  5573. typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  5574. typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  5575. typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  5576. typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  5577. typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  5578. typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  5579. typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  5580. typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  5581. typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  5582. typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  5583. typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  5584. typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  5585. typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  5586. typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
  5587. typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
  5588. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  5589. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  5590. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  5591. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  5592. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5593. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5594. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5595. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5596. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  5597. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  5598. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  5599. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  5600. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5601. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5602. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5603. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5604. #ifdef GL_GLEXT_PROTOTYPES
  5605. GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
  5606. GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
  5607. GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  5608. GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  5609. GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  5610. GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  5611. GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  5612. GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  5613. GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
  5614. GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
  5615. GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  5616. GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  5617. GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  5618. GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  5619. GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  5620. GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  5621. GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
  5622. GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
  5623. GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
  5624. GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  5625. GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  5626. GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  5627. GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5628. GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5629. GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5630. GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5631. GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
  5632. GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  5633. GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  5634. GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  5635. GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5636. GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5637. GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5638. GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5639. #endif
  5640. #endif /* GL_AMD_gpu_shader_int64 */
  5641. #ifndef GL_AMD_interleaved_elements
  5642. #define GL_AMD_interleaved_elements 1
  5643. #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
  5644. #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
  5645. typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
  5646. #ifdef GL_GLEXT_PROTOTYPES
  5647. GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
  5648. #endif
  5649. #endif /* GL_AMD_interleaved_elements */
  5650. #ifndef GL_AMD_multi_draw_indirect
  5651. #define GL_AMD_multi_draw_indirect 1
  5652. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
  5653. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
  5654. #ifdef GL_GLEXT_PROTOTYPES
  5655. GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
  5656. GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
  5657. #endif
  5658. #endif /* GL_AMD_multi_draw_indirect */
  5659. #ifndef GL_AMD_name_gen_delete
  5660. #define GL_AMD_name_gen_delete 1
  5661. #define GL_DATA_BUFFER_AMD 0x9151
  5662. #define GL_PERFORMANCE_MONITOR_AMD 0x9152
  5663. #define GL_QUERY_OBJECT_AMD 0x9153
  5664. #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
  5665. #define GL_SAMPLER_OBJECT_AMD 0x9155
  5666. typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
  5667. typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
  5668. typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
  5669. #ifdef GL_GLEXT_PROTOTYPES
  5670. GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
  5671. GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
  5672. GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
  5673. #endif
  5674. #endif /* GL_AMD_name_gen_delete */
  5675. #ifndef GL_AMD_occlusion_query_event
  5676. #define GL_AMD_occlusion_query_event 1
  5677. #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
  5678. #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
  5679. #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
  5680. #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
  5681. #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
  5682. #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
  5683. typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
  5684. #ifdef GL_GLEXT_PROTOTYPES
  5685. GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
  5686. #endif
  5687. #endif /* GL_AMD_occlusion_query_event */
  5688. #ifndef GL_AMD_performance_monitor
  5689. #define GL_AMD_performance_monitor 1
  5690. #define GL_COUNTER_TYPE_AMD 0x8BC0
  5691. #define GL_COUNTER_RANGE_AMD 0x8BC1
  5692. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  5693. #define GL_PERCENTAGE_AMD 0x8BC3
  5694. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  5695. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  5696. #define GL_PERFMON_RESULT_AMD 0x8BC6
  5697. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  5698. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  5699. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  5700. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  5701. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
  5702. typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  5703. typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  5704. typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  5705. typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  5706. typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  5707. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  5708. #ifdef GL_GLEXT_PROTOTYPES
  5709. GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  5710. GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  5711. GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  5712. GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  5713. GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
  5714. GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  5715. GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  5716. GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  5717. GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  5718. GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  5719. GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  5720. #endif
  5721. #endif /* GL_AMD_performance_monitor */
  5722. #ifndef GL_AMD_pinned_memory
  5723. #define GL_AMD_pinned_memory 1
  5724. #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
  5725. #endif /* GL_AMD_pinned_memory */
  5726. #ifndef GL_AMD_query_buffer_object
  5727. #define GL_AMD_query_buffer_object 1
  5728. #define GL_QUERY_BUFFER_AMD 0x9192
  5729. #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
  5730. #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
  5731. #endif /* GL_AMD_query_buffer_object */
  5732. #ifndef GL_AMD_sample_positions
  5733. #define GL_AMD_sample_positions 1
  5734. typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
  5735. #ifdef GL_GLEXT_PROTOTYPES
  5736. GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
  5737. #endif
  5738. #endif /* GL_AMD_sample_positions */
  5739. #ifndef GL_AMD_seamless_cubemap_per_texture
  5740. #define GL_AMD_seamless_cubemap_per_texture 1
  5741. #endif /* GL_AMD_seamless_cubemap_per_texture */
  5742. #ifndef GL_AMD_shader_atomic_counter_ops
  5743. #define GL_AMD_shader_atomic_counter_ops 1
  5744. #endif /* GL_AMD_shader_atomic_counter_ops */
  5745. #ifndef GL_AMD_shader_ballot
  5746. #define GL_AMD_shader_ballot 1
  5747. #endif /* GL_AMD_shader_ballot */
  5748. #ifndef GL_AMD_shader_explicit_vertex_parameter
  5749. #define GL_AMD_shader_explicit_vertex_parameter 1
  5750. #endif /* GL_AMD_shader_explicit_vertex_parameter */
  5751. #ifndef GL_AMD_shader_gpu_shader_half_float_fetch
  5752. #define GL_AMD_shader_gpu_shader_half_float_fetch 1
  5753. #endif /* GL_AMD_shader_gpu_shader_half_float_fetch */
  5754. #ifndef GL_AMD_shader_image_load_store_lod
  5755. #define GL_AMD_shader_image_load_store_lod 1
  5756. #endif /* GL_AMD_shader_image_load_store_lod */
  5757. #ifndef GL_AMD_shader_stencil_export
  5758. #define GL_AMD_shader_stencil_export 1
  5759. #endif /* GL_AMD_shader_stencil_export */
  5760. #ifndef GL_AMD_shader_trinary_minmax
  5761. #define GL_AMD_shader_trinary_minmax 1
  5762. #endif /* GL_AMD_shader_trinary_minmax */
  5763. #ifndef GL_AMD_sparse_texture
  5764. #define GL_AMD_sparse_texture 1
  5765. #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
  5766. #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
  5767. #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
  5768. #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
  5769. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
  5770. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
  5771. #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
  5772. #define GL_MIN_LOD_WARNING_AMD 0x919C
  5773. #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
  5774. typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  5775. typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  5776. #ifdef GL_GLEXT_PROTOTYPES
  5777. GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  5778. GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  5779. #endif
  5780. #endif /* GL_AMD_sparse_texture */
  5781. #ifndef GL_AMD_stencil_operation_extended
  5782. #define GL_AMD_stencil_operation_extended 1
  5783. #define GL_SET_AMD 0x874A
  5784. #define GL_REPLACE_VALUE_AMD 0x874B
  5785. #define GL_STENCIL_OP_VALUE_AMD 0x874C
  5786. #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
  5787. typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
  5788. #ifdef GL_GLEXT_PROTOTYPES
  5789. GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
  5790. #endif
  5791. #endif /* GL_AMD_stencil_operation_extended */
  5792. #ifndef GL_AMD_texture_gather_bias_lod
  5793. #define GL_AMD_texture_gather_bias_lod 1
  5794. #endif /* GL_AMD_texture_gather_bias_lod */
  5795. #ifndef GL_AMD_texture_texture4
  5796. #define GL_AMD_texture_texture4 1
  5797. #endif /* GL_AMD_texture_texture4 */
  5798. #ifndef GL_AMD_transform_feedback3_lines_triangles
  5799. #define GL_AMD_transform_feedback3_lines_triangles 1
  5800. #endif /* GL_AMD_transform_feedback3_lines_triangles */
  5801. #ifndef GL_AMD_transform_feedback4
  5802. #define GL_AMD_transform_feedback4 1
  5803. #define GL_STREAM_RASTERIZATION_AMD 0x91A0
  5804. #endif /* GL_AMD_transform_feedback4 */
  5805. #ifndef GL_AMD_vertex_shader_layer
  5806. #define GL_AMD_vertex_shader_layer 1
  5807. #endif /* GL_AMD_vertex_shader_layer */
  5808. #ifndef GL_AMD_vertex_shader_tessellator
  5809. #define GL_AMD_vertex_shader_tessellator 1
  5810. #define GL_SAMPLER_BUFFER_AMD 0x9001
  5811. #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
  5812. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
  5813. #define GL_TESSELLATION_MODE_AMD 0x9004
  5814. #define GL_TESSELLATION_FACTOR_AMD 0x9005
  5815. #define GL_DISCRETE_AMD 0x9006
  5816. #define GL_CONTINUOUS_AMD 0x9007
  5817. typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
  5818. typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
  5819. #ifdef GL_GLEXT_PROTOTYPES
  5820. GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
  5821. GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
  5822. #endif
  5823. #endif /* GL_AMD_vertex_shader_tessellator */
  5824. #ifndef GL_AMD_vertex_shader_viewport_index
  5825. #define GL_AMD_vertex_shader_viewport_index 1
  5826. #endif /* GL_AMD_vertex_shader_viewport_index */
  5827. #ifndef GL_APPLE_aux_depth_stencil
  5828. #define GL_APPLE_aux_depth_stencil 1
  5829. #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
  5830. #endif /* GL_APPLE_aux_depth_stencil */
  5831. #ifndef GL_APPLE_client_storage
  5832. #define GL_APPLE_client_storage 1
  5833. #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
  5834. #endif /* GL_APPLE_client_storage */
  5835. #ifndef GL_APPLE_element_array
  5836. #define GL_APPLE_element_array 1
  5837. #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
  5838. #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
  5839. #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
  5840. typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
  5841. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
  5842. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  5843. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  5844. typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  5845. #ifdef GL_GLEXT_PROTOTYPES
  5846. GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
  5847. GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
  5848. GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  5849. GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  5850. GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  5851. #endif
  5852. #endif /* GL_APPLE_element_array */
  5853. #ifndef GL_APPLE_fence
  5854. #define GL_APPLE_fence 1
  5855. #define GL_DRAW_PIXELS_APPLE 0x8A0A
  5856. #define GL_FENCE_APPLE 0x8A0B
  5857. typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
  5858. typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
  5859. typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
  5860. typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
  5861. typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
  5862. typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
  5863. typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
  5864. typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
  5865. #ifdef GL_GLEXT_PROTOTYPES
  5866. GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
  5867. GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
  5868. GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
  5869. GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
  5870. GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
  5871. GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
  5872. GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
  5873. GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
  5874. #endif
  5875. #endif /* GL_APPLE_fence */
  5876. #ifndef GL_APPLE_float_pixels
  5877. #define GL_APPLE_float_pixels 1
  5878. #define GL_HALF_APPLE 0x140B
  5879. #define GL_RGBA_FLOAT32_APPLE 0x8814
  5880. #define GL_RGB_FLOAT32_APPLE 0x8815
  5881. #define GL_ALPHA_FLOAT32_APPLE 0x8816
  5882. #define GL_INTENSITY_FLOAT32_APPLE 0x8817
  5883. #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
  5884. #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
  5885. #define GL_RGBA_FLOAT16_APPLE 0x881A
  5886. #define GL_RGB_FLOAT16_APPLE 0x881B
  5887. #define GL_ALPHA_FLOAT16_APPLE 0x881C
  5888. #define GL_INTENSITY_FLOAT16_APPLE 0x881D
  5889. #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
  5890. #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
  5891. #define GL_COLOR_FLOAT_APPLE 0x8A0F
  5892. #endif /* GL_APPLE_float_pixels */
  5893. #ifndef GL_APPLE_flush_buffer_range
  5894. #define GL_APPLE_flush_buffer_range 1
  5895. #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
  5896. #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
  5897. typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
  5898. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
  5899. #ifdef GL_GLEXT_PROTOTYPES
  5900. GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
  5901. GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
  5902. #endif
  5903. #endif /* GL_APPLE_flush_buffer_range */
  5904. #ifndef GL_APPLE_object_purgeable
  5905. #define GL_APPLE_object_purgeable 1
  5906. #define GL_BUFFER_OBJECT_APPLE 0x85B3
  5907. #define GL_RELEASED_APPLE 0x8A19
  5908. #define GL_VOLATILE_APPLE 0x8A1A
  5909. #define GL_RETAINED_APPLE 0x8A1B
  5910. #define GL_UNDEFINED_APPLE 0x8A1C
  5911. #define GL_PURGEABLE_APPLE 0x8A1D
  5912. typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  5913. typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  5914. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  5915. #ifdef GL_GLEXT_PROTOTYPES
  5916. GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  5917. GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  5918. GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  5919. #endif
  5920. #endif /* GL_APPLE_object_purgeable */
  5921. #ifndef GL_APPLE_rgb_422
  5922. #define GL_APPLE_rgb_422 1
  5923. #define GL_RGB_422_APPLE 0x8A1F
  5924. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  5925. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  5926. #define GL_RGB_RAW_422_APPLE 0x8A51
  5927. #endif /* GL_APPLE_rgb_422 */
  5928. #ifndef GL_APPLE_row_bytes
  5929. #define GL_APPLE_row_bytes 1
  5930. #define GL_PACK_ROW_BYTES_APPLE 0x8A15
  5931. #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
  5932. #endif /* GL_APPLE_row_bytes */
  5933. #ifndef GL_APPLE_specular_vector
  5934. #define GL_APPLE_specular_vector 1
  5935. #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  5936. #endif /* GL_APPLE_specular_vector */
  5937. #ifndef GL_APPLE_texture_range
  5938. #define GL_APPLE_texture_range 1
  5939. #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
  5940. #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
  5941. #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
  5942. #define GL_STORAGE_PRIVATE_APPLE 0x85BD
  5943. #define GL_STORAGE_CACHED_APPLE 0x85BE
  5944. #define GL_STORAGE_SHARED_APPLE 0x85BF
  5945. typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
  5946. typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
  5947. #ifdef GL_GLEXT_PROTOTYPES
  5948. GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
  5949. GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
  5950. #endif
  5951. #endif /* GL_APPLE_texture_range */
  5952. #ifndef GL_APPLE_transform_hint
  5953. #define GL_APPLE_transform_hint 1
  5954. #define GL_TRANSFORM_HINT_APPLE 0x85B1
  5955. #endif /* GL_APPLE_transform_hint */
  5956. #ifndef GL_APPLE_vertex_array_object
  5957. #define GL_APPLE_vertex_array_object 1
  5958. #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
  5959. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  5960. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  5961. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
  5962. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  5963. #ifdef GL_GLEXT_PROTOTYPES
  5964. GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
  5965. GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
  5966. GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
  5967. GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
  5968. #endif
  5969. #endif /* GL_APPLE_vertex_array_object */
  5970. #ifndef GL_APPLE_vertex_array_range
  5971. #define GL_APPLE_vertex_array_range 1
  5972. #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
  5973. #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  5974. #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  5975. #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  5976. #define GL_STORAGE_CLIENT_APPLE 0x85B4
  5977. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
  5978. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
  5979. typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
  5980. #ifdef GL_GLEXT_PROTOTYPES
  5981. GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
  5982. GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
  5983. GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
  5984. #endif
  5985. #endif /* GL_APPLE_vertex_array_range */
  5986. #ifndef GL_APPLE_vertex_program_evaluators
  5987. #define GL_APPLE_vertex_program_evaluators 1
  5988. #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
  5989. #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
  5990. #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
  5991. #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
  5992. #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
  5993. #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
  5994. #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
  5995. #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
  5996. #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
  5997. #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
  5998. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  5999. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  6000. typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
  6001. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  6002. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  6003. 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);
  6004. 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);
  6005. #ifdef GL_GLEXT_PROTOTYPES
  6006. GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
  6007. GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
  6008. GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
  6009. GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  6010. GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  6011. 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);
  6012. 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);
  6013. #endif
  6014. #endif /* GL_APPLE_vertex_program_evaluators */
  6015. #ifndef GL_APPLE_ycbcr_422
  6016. #define GL_APPLE_ycbcr_422 1
  6017. #define GL_YCBCR_422_APPLE 0x85B9
  6018. #endif /* GL_APPLE_ycbcr_422 */
  6019. #ifndef GL_ATI_draw_buffers
  6020. #define GL_ATI_draw_buffers 1
  6021. #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
  6022. #define GL_DRAW_BUFFER0_ATI 0x8825
  6023. #define GL_DRAW_BUFFER1_ATI 0x8826
  6024. #define GL_DRAW_BUFFER2_ATI 0x8827
  6025. #define GL_DRAW_BUFFER3_ATI 0x8828
  6026. #define GL_DRAW_BUFFER4_ATI 0x8829
  6027. #define GL_DRAW_BUFFER5_ATI 0x882A
  6028. #define GL_DRAW_BUFFER6_ATI 0x882B
  6029. #define GL_DRAW_BUFFER7_ATI 0x882C
  6030. #define GL_DRAW_BUFFER8_ATI 0x882D
  6031. #define GL_DRAW_BUFFER9_ATI 0x882E
  6032. #define GL_DRAW_BUFFER10_ATI 0x882F
  6033. #define GL_DRAW_BUFFER11_ATI 0x8830
  6034. #define GL_DRAW_BUFFER12_ATI 0x8831
  6035. #define GL_DRAW_BUFFER13_ATI 0x8832
  6036. #define GL_DRAW_BUFFER14_ATI 0x8833
  6037. #define GL_DRAW_BUFFER15_ATI 0x8834
  6038. typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
  6039. #ifdef GL_GLEXT_PROTOTYPES
  6040. GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
  6041. #endif
  6042. #endif /* GL_ATI_draw_buffers */
  6043. #ifndef GL_ATI_element_array
  6044. #define GL_ATI_element_array 1
  6045. #define GL_ELEMENT_ARRAY_ATI 0x8768
  6046. #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
  6047. #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
  6048. typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
  6049. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
  6050. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
  6051. #ifdef GL_GLEXT_PROTOTYPES
  6052. GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
  6053. GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
  6054. GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
  6055. #endif
  6056. #endif /* GL_ATI_element_array */
  6057. #ifndef GL_ATI_envmap_bumpmap
  6058. #define GL_ATI_envmap_bumpmap 1
  6059. #define GL_BUMP_ROT_MATRIX_ATI 0x8775
  6060. #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
  6061. #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
  6062. #define GL_BUMP_TEX_UNITS_ATI 0x8778
  6063. #define GL_DUDV_ATI 0x8779
  6064. #define GL_DU8DV8_ATI 0x877A
  6065. #define GL_BUMP_ENVMAP_ATI 0x877B
  6066. #define GL_BUMP_TARGET_ATI 0x877C
  6067. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
  6068. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
  6069. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  6070. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  6071. #ifdef GL_GLEXT_PROTOTYPES
  6072. GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
  6073. GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
  6074. GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
  6075. GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
  6076. #endif
  6077. #endif /* GL_ATI_envmap_bumpmap */
  6078. #ifndef GL_ATI_fragment_shader
  6079. #define GL_ATI_fragment_shader 1
  6080. #define GL_FRAGMENT_SHADER_ATI 0x8920
  6081. #define GL_REG_0_ATI 0x8921
  6082. #define GL_REG_1_ATI 0x8922
  6083. #define GL_REG_2_ATI 0x8923
  6084. #define GL_REG_3_ATI 0x8924
  6085. #define GL_REG_4_ATI 0x8925
  6086. #define GL_REG_5_ATI 0x8926
  6087. #define GL_REG_6_ATI 0x8927
  6088. #define GL_REG_7_ATI 0x8928
  6089. #define GL_REG_8_ATI 0x8929
  6090. #define GL_REG_9_ATI 0x892A
  6091. #define GL_REG_10_ATI 0x892B
  6092. #define GL_REG_11_ATI 0x892C
  6093. #define GL_REG_12_ATI 0x892D
  6094. #define GL_REG_13_ATI 0x892E
  6095. #define GL_REG_14_ATI 0x892F
  6096. #define GL_REG_15_ATI 0x8930
  6097. #define GL_REG_16_ATI 0x8931
  6098. #define GL_REG_17_ATI 0x8932
  6099. #define GL_REG_18_ATI 0x8933
  6100. #define GL_REG_19_ATI 0x8934
  6101. #define GL_REG_20_ATI 0x8935
  6102. #define GL_REG_21_ATI 0x8936
  6103. #define GL_REG_22_ATI 0x8937
  6104. #define GL_REG_23_ATI 0x8938
  6105. #define GL_REG_24_ATI 0x8939
  6106. #define GL_REG_25_ATI 0x893A
  6107. #define GL_REG_26_ATI 0x893B
  6108. #define GL_REG_27_ATI 0x893C
  6109. #define GL_REG_28_ATI 0x893D
  6110. #define GL_REG_29_ATI 0x893E
  6111. #define GL_REG_30_ATI 0x893F
  6112. #define GL_REG_31_ATI 0x8940
  6113. #define GL_CON_0_ATI 0x8941
  6114. #define GL_CON_1_ATI 0x8942
  6115. #define GL_CON_2_ATI 0x8943
  6116. #define GL_CON_3_ATI 0x8944
  6117. #define GL_CON_4_ATI 0x8945
  6118. #define GL_CON_5_ATI 0x8946
  6119. #define GL_CON_6_ATI 0x8947
  6120. #define GL_CON_7_ATI 0x8948
  6121. #define GL_CON_8_ATI 0x8949
  6122. #define GL_CON_9_ATI 0x894A
  6123. #define GL_CON_10_ATI 0x894B
  6124. #define GL_CON_11_ATI 0x894C
  6125. #define GL_CON_12_ATI 0x894D
  6126. #define GL_CON_13_ATI 0x894E
  6127. #define GL_CON_14_ATI 0x894F
  6128. #define GL_CON_15_ATI 0x8950
  6129. #define GL_CON_16_ATI 0x8951
  6130. #define GL_CON_17_ATI 0x8952
  6131. #define GL_CON_18_ATI 0x8953
  6132. #define GL_CON_19_ATI 0x8954
  6133. #define GL_CON_20_ATI 0x8955
  6134. #define GL_CON_21_ATI 0x8956
  6135. #define GL_CON_22_ATI 0x8957
  6136. #define GL_CON_23_ATI 0x8958
  6137. #define GL_CON_24_ATI 0x8959
  6138. #define GL_CON_25_ATI 0x895A
  6139. #define GL_CON_26_ATI 0x895B
  6140. #define GL_CON_27_ATI 0x895C
  6141. #define GL_CON_28_ATI 0x895D
  6142. #define GL_CON_29_ATI 0x895E
  6143. #define GL_CON_30_ATI 0x895F
  6144. #define GL_CON_31_ATI 0x8960
  6145. #define GL_MOV_ATI 0x8961
  6146. #define GL_ADD_ATI 0x8963
  6147. #define GL_MUL_ATI 0x8964
  6148. #define GL_SUB_ATI 0x8965
  6149. #define GL_DOT3_ATI 0x8966
  6150. #define GL_DOT4_ATI 0x8967
  6151. #define GL_MAD_ATI 0x8968
  6152. #define GL_LERP_ATI 0x8969
  6153. #define GL_CND_ATI 0x896A
  6154. #define GL_CND0_ATI 0x896B
  6155. #define GL_DOT2_ADD_ATI 0x896C
  6156. #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
  6157. #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
  6158. #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
  6159. #define GL_NUM_PASSES_ATI 0x8970
  6160. #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
  6161. #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
  6162. #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  6163. #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
  6164. #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
  6165. #define GL_SWIZZLE_STR_ATI 0x8976
  6166. #define GL_SWIZZLE_STQ_ATI 0x8977
  6167. #define GL_SWIZZLE_STR_DR_ATI 0x8978
  6168. #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
  6169. #define GL_SWIZZLE_STRQ_ATI 0x897A
  6170. #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
  6171. #define GL_RED_BIT_ATI 0x00000001
  6172. #define GL_GREEN_BIT_ATI 0x00000002
  6173. #define GL_BLUE_BIT_ATI 0x00000004
  6174. #define GL_2X_BIT_ATI 0x00000001
  6175. #define GL_4X_BIT_ATI 0x00000002
  6176. #define GL_8X_BIT_ATI 0x00000004
  6177. #define GL_HALF_BIT_ATI 0x00000008
  6178. #define GL_QUARTER_BIT_ATI 0x00000010
  6179. #define GL_EIGHTH_BIT_ATI 0x00000020
  6180. #define GL_SATURATE_BIT_ATI 0x00000040
  6181. #define GL_COMP_BIT_ATI 0x00000002
  6182. #define GL_NEGATE_BIT_ATI 0x00000004
  6183. #define GL_BIAS_BIT_ATI 0x00000008
  6184. typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
  6185. typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
  6186. typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
  6187. typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
  6188. typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
  6189. typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
  6190. typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
  6191. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6192. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6193. 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);
  6194. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6195. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6196. 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);
  6197. typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
  6198. #ifdef GL_GLEXT_PROTOTYPES
  6199. GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
  6200. GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
  6201. GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
  6202. GLAPI void APIENTRY glBeginFragmentShaderATI (void);
  6203. GLAPI void APIENTRY glEndFragmentShaderATI (void);
  6204. GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
  6205. GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
  6206. GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6207. GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6208. 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);
  6209. GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6210. GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6211. 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);
  6212. GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
  6213. #endif
  6214. #endif /* GL_ATI_fragment_shader */
  6215. #ifndef GL_ATI_map_object_buffer
  6216. #define GL_ATI_map_object_buffer 1
  6217. typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  6218. typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  6219. #ifdef GL_GLEXT_PROTOTYPES
  6220. GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
  6221. GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
  6222. #endif
  6223. #endif /* GL_ATI_map_object_buffer */
  6224. #ifndef GL_ATI_meminfo
  6225. #define GL_ATI_meminfo 1
  6226. #define GL_VBO_FREE_MEMORY_ATI 0x87FB
  6227. #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
  6228. #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
  6229. #endif /* GL_ATI_meminfo */
  6230. #ifndef GL_ATI_pixel_format_float
  6231. #define GL_ATI_pixel_format_float 1
  6232. #define GL_RGBA_FLOAT_MODE_ATI 0x8820
  6233. #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
  6234. #endif /* GL_ATI_pixel_format_float */
  6235. #ifndef GL_ATI_pn_triangles
  6236. #define GL_ATI_pn_triangles 1
  6237. #define GL_PN_TRIANGLES_ATI 0x87F0
  6238. #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  6239. #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
  6240. #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
  6241. #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  6242. #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  6243. #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  6244. #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  6245. #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  6246. typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
  6247. typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
  6248. #ifdef GL_GLEXT_PROTOTYPES
  6249. GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
  6250. GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
  6251. #endif
  6252. #endif /* GL_ATI_pn_triangles */
  6253. #ifndef GL_ATI_separate_stencil
  6254. #define GL_ATI_separate_stencil 1
  6255. #define GL_STENCIL_BACK_FUNC_ATI 0x8800
  6256. #define GL_STENCIL_BACK_FAIL_ATI 0x8801
  6257. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  6258. #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  6259. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  6260. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  6261. #ifdef GL_GLEXT_PROTOTYPES
  6262. GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  6263. GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  6264. #endif
  6265. #endif /* GL_ATI_separate_stencil */
  6266. #ifndef GL_ATI_text_fragment_shader
  6267. #define GL_ATI_text_fragment_shader 1
  6268. #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
  6269. #endif /* GL_ATI_text_fragment_shader */
  6270. #ifndef GL_ATI_texture_env_combine3
  6271. #define GL_ATI_texture_env_combine3 1
  6272. #define GL_MODULATE_ADD_ATI 0x8744
  6273. #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
  6274. #define GL_MODULATE_SUBTRACT_ATI 0x8746
  6275. #endif /* GL_ATI_texture_env_combine3 */
  6276. #ifndef GL_ATI_texture_float
  6277. #define GL_ATI_texture_float 1
  6278. #define GL_RGBA_FLOAT32_ATI 0x8814
  6279. #define GL_RGB_FLOAT32_ATI 0x8815
  6280. #define GL_ALPHA_FLOAT32_ATI 0x8816
  6281. #define GL_INTENSITY_FLOAT32_ATI 0x8817
  6282. #define GL_LUMINANCE_FLOAT32_ATI 0x8818
  6283. #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
  6284. #define GL_RGBA_FLOAT16_ATI 0x881A
  6285. #define GL_RGB_FLOAT16_ATI 0x881B
  6286. #define GL_ALPHA_FLOAT16_ATI 0x881C
  6287. #define GL_INTENSITY_FLOAT16_ATI 0x881D
  6288. #define GL_LUMINANCE_FLOAT16_ATI 0x881E
  6289. #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
  6290. #endif /* GL_ATI_texture_float */
  6291. #ifndef GL_ATI_texture_mirror_once
  6292. #define GL_ATI_texture_mirror_once 1
  6293. #define GL_MIRROR_CLAMP_ATI 0x8742
  6294. #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
  6295. #endif /* GL_ATI_texture_mirror_once */
  6296. #ifndef GL_ATI_vertex_array_object
  6297. #define GL_ATI_vertex_array_object 1
  6298. #define GL_STATIC_ATI 0x8760
  6299. #define GL_DYNAMIC_ATI 0x8761
  6300. #define GL_PRESERVE_ATI 0x8762
  6301. #define GL_DISCARD_ATI 0x8763
  6302. #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
  6303. #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
  6304. #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
  6305. #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
  6306. typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
  6307. typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
  6308. typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
  6309. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
  6310. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
  6311. typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
  6312. typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6313. typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
  6314. typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
  6315. typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6316. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
  6317. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
  6318. #ifdef GL_GLEXT_PROTOTYPES
  6319. GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
  6320. GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
  6321. GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
  6322. GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
  6323. GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
  6324. GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
  6325. GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6326. GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
  6327. GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
  6328. GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6329. GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
  6330. GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
  6331. #endif
  6332. #endif /* GL_ATI_vertex_array_object */
  6333. #ifndef GL_ATI_vertex_attrib_array_object
  6334. #define GL_ATI_vertex_attrib_array_object 1
  6335. typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  6336. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
  6337. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
  6338. #ifdef GL_GLEXT_PROTOTYPES
  6339. GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  6340. GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
  6341. GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
  6342. #endif
  6343. #endif /* GL_ATI_vertex_attrib_array_object */
  6344. #ifndef GL_ATI_vertex_streams
  6345. #define GL_ATI_vertex_streams 1
  6346. #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
  6347. #define GL_VERTEX_STREAM0_ATI 0x876C
  6348. #define GL_VERTEX_STREAM1_ATI 0x876D
  6349. #define GL_VERTEX_STREAM2_ATI 0x876E
  6350. #define GL_VERTEX_STREAM3_ATI 0x876F
  6351. #define GL_VERTEX_STREAM4_ATI 0x8770
  6352. #define GL_VERTEX_STREAM5_ATI 0x8771
  6353. #define GL_VERTEX_STREAM6_ATI 0x8772
  6354. #define GL_VERTEX_STREAM7_ATI 0x8773
  6355. #define GL_VERTEX_SOURCE_ATI 0x8774
  6356. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
  6357. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
  6358. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
  6359. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
  6360. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
  6361. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
  6362. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
  6363. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
  6364. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
  6365. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
  6366. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
  6367. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
  6368. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
  6369. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
  6370. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
  6371. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
  6372. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  6373. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  6374. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  6375. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  6376. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  6377. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  6378. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  6379. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  6380. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  6381. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
  6382. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  6383. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
  6384. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6385. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
  6386. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6387. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
  6388. typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  6389. typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
  6390. typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  6391. typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  6392. typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
  6393. typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  6394. typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  6395. typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  6396. typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  6397. typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  6398. typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
  6399. typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
  6400. typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
  6401. #ifdef GL_GLEXT_PROTOTYPES
  6402. GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
  6403. GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
  6404. GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
  6405. GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
  6406. GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
  6407. GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
  6408. GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
  6409. GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
  6410. GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
  6411. GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
  6412. GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
  6413. GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
  6414. GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
  6415. GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
  6416. GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
  6417. GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
  6418. GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
  6419. GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
  6420. GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
  6421. GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
  6422. GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  6423. GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
  6424. GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  6425. GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
  6426. GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  6427. GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
  6428. GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  6429. GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
  6430. GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6431. GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
  6432. GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6433. GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
  6434. GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  6435. GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
  6436. GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  6437. GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
  6438. GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
  6439. GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
  6440. GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  6441. GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
  6442. GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  6443. GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
  6444. GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
  6445. GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
  6446. GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
  6447. #endif
  6448. #endif /* GL_ATI_vertex_streams */
  6449. #ifndef GL_EXT_422_pixels
  6450. #define GL_EXT_422_pixels 1
  6451. #define GL_422_EXT 0x80CC
  6452. #define GL_422_REV_EXT 0x80CD
  6453. #define GL_422_AVERAGE_EXT 0x80CE
  6454. #define GL_422_REV_AVERAGE_EXT 0x80CF
  6455. #endif /* GL_EXT_422_pixels */
  6456. #ifndef GL_EXT_EGL_image_storage
  6457. #define GL_EXT_EGL_image_storage 1
  6458. typedef void *GLeglImageOES;
  6459. typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
  6460. typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
  6461. #ifdef GL_GLEXT_PROTOTYPES
  6462. GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
  6463. GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
  6464. #endif
  6465. #endif /* GL_EXT_EGL_image_storage */
  6466. #ifndef GL_EXT_EGL_sync
  6467. #define GL_EXT_EGL_sync 1
  6468. #endif /* GL_EXT_EGL_sync */
  6469. #ifndef GL_EXT_abgr
  6470. #define GL_EXT_abgr 1
  6471. #define GL_ABGR_EXT 0x8000
  6472. #endif /* GL_EXT_abgr */
  6473. #ifndef GL_EXT_bgra
  6474. #define GL_EXT_bgra 1
  6475. #define GL_BGR_EXT 0x80E0
  6476. #define GL_BGRA_EXT 0x80E1
  6477. #endif /* GL_EXT_bgra */
  6478. #ifndef GL_EXT_bindable_uniform
  6479. #define GL_EXT_bindable_uniform 1
  6480. #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
  6481. #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
  6482. #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
  6483. #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
  6484. #define GL_UNIFORM_BUFFER_EXT 0x8DEE
  6485. #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
  6486. typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
  6487. typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
  6488. typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
  6489. #ifdef GL_GLEXT_PROTOTYPES
  6490. GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
  6491. GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
  6492. GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
  6493. #endif
  6494. #endif /* GL_EXT_bindable_uniform */
  6495. #ifndef GL_EXT_blend_color
  6496. #define GL_EXT_blend_color 1
  6497. #define GL_CONSTANT_COLOR_EXT 0x8001
  6498. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
  6499. #define GL_CONSTANT_ALPHA_EXT 0x8003
  6500. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
  6501. #define GL_BLEND_COLOR_EXT 0x8005
  6502. typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  6503. #ifdef GL_GLEXT_PROTOTYPES
  6504. GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  6505. #endif
  6506. #endif /* GL_EXT_blend_color */
  6507. #ifndef GL_EXT_blend_equation_separate
  6508. #define GL_EXT_blend_equation_separate 1
  6509. #define GL_BLEND_EQUATION_RGB_EXT 0x8009
  6510. #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
  6511. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
  6512. #ifdef GL_GLEXT_PROTOTYPES
  6513. GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
  6514. #endif
  6515. #endif /* GL_EXT_blend_equation_separate */
  6516. #ifndef GL_EXT_blend_func_separate
  6517. #define GL_EXT_blend_func_separate 1
  6518. #define GL_BLEND_DST_RGB_EXT 0x80C8
  6519. #define GL_BLEND_SRC_RGB_EXT 0x80C9
  6520. #define GL_BLEND_DST_ALPHA_EXT 0x80CA
  6521. #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
  6522. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  6523. #ifdef GL_GLEXT_PROTOTYPES
  6524. GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  6525. #endif
  6526. #endif /* GL_EXT_blend_func_separate */
  6527. #ifndef GL_EXT_blend_logic_op
  6528. #define GL_EXT_blend_logic_op 1
  6529. #endif /* GL_EXT_blend_logic_op */
  6530. #ifndef GL_EXT_blend_minmax
  6531. #define GL_EXT_blend_minmax 1
  6532. #define GL_MIN_EXT 0x8007
  6533. #define GL_MAX_EXT 0x8008
  6534. #define GL_FUNC_ADD_EXT 0x8006
  6535. #define GL_BLEND_EQUATION_EXT 0x8009
  6536. typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  6537. #ifdef GL_GLEXT_PROTOTYPES
  6538. GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
  6539. #endif
  6540. #endif /* GL_EXT_blend_minmax */
  6541. #ifndef GL_EXT_blend_subtract
  6542. #define GL_EXT_blend_subtract 1
  6543. #define GL_FUNC_SUBTRACT_EXT 0x800A
  6544. #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
  6545. #endif /* GL_EXT_blend_subtract */
  6546. #ifndef GL_EXT_clip_volume_hint
  6547. #define GL_EXT_clip_volume_hint 1
  6548. #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
  6549. #endif /* GL_EXT_clip_volume_hint */
  6550. #ifndef GL_EXT_cmyka
  6551. #define GL_EXT_cmyka 1
  6552. #define GL_CMYK_EXT 0x800C
  6553. #define GL_CMYKA_EXT 0x800D
  6554. #define GL_PACK_CMYK_HINT_EXT 0x800E
  6555. #define GL_UNPACK_CMYK_HINT_EXT 0x800F
  6556. #endif /* GL_EXT_cmyka */
  6557. #ifndef GL_EXT_color_subtable
  6558. #define GL_EXT_color_subtable 1
  6559. typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  6560. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  6561. #ifdef GL_GLEXT_PROTOTYPES
  6562. GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  6563. GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  6564. #endif
  6565. #endif /* GL_EXT_color_subtable */
  6566. #ifndef GL_EXT_compiled_vertex_array
  6567. #define GL_EXT_compiled_vertex_array 1
  6568. #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
  6569. #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
  6570. typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  6571. typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  6572. #ifdef GL_GLEXT_PROTOTYPES
  6573. GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
  6574. GLAPI void APIENTRY glUnlockArraysEXT (void);
  6575. #endif
  6576. #endif /* GL_EXT_compiled_vertex_array */
  6577. #ifndef GL_EXT_convolution
  6578. #define GL_EXT_convolution 1
  6579. #define GL_CONVOLUTION_1D_EXT 0x8010
  6580. #define GL_CONVOLUTION_2D_EXT 0x8011
  6581. #define GL_SEPARABLE_2D_EXT 0x8012
  6582. #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
  6583. #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
  6584. #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
  6585. #define GL_REDUCE_EXT 0x8016
  6586. #define GL_CONVOLUTION_FORMAT_EXT 0x8017
  6587. #define GL_CONVOLUTION_WIDTH_EXT 0x8018
  6588. #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
  6589. #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
  6590. #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
  6591. #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  6592. #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  6593. #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  6594. #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  6595. #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
  6596. #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  6597. #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  6598. #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  6599. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  6600. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  6601. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  6602. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  6603. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  6604. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  6605. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  6606. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  6607. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
  6608. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6609. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6610. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  6611. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  6612. #ifdef GL_GLEXT_PROTOTYPES
  6613. GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  6614. GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  6615. GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
  6616. GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  6617. GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
  6618. GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  6619. GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  6620. GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  6621. GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
  6622. GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6623. GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6624. GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  6625. GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  6626. #endif
  6627. #endif /* GL_EXT_convolution */
  6628. #ifndef GL_EXT_coordinate_frame
  6629. #define GL_EXT_coordinate_frame 1
  6630. #define GL_TANGENT_ARRAY_EXT 0x8439
  6631. #define GL_BINORMAL_ARRAY_EXT 0x843A
  6632. #define GL_CURRENT_TANGENT_EXT 0x843B
  6633. #define GL_CURRENT_BINORMAL_EXT 0x843C
  6634. #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
  6635. #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
  6636. #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
  6637. #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
  6638. #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
  6639. #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
  6640. #define GL_MAP1_TANGENT_EXT 0x8444
  6641. #define GL_MAP2_TANGENT_EXT 0x8445
  6642. #define GL_MAP1_BINORMAL_EXT 0x8446
  6643. #define GL_MAP2_BINORMAL_EXT 0x8447
  6644. typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  6645. typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  6646. typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  6647. typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  6648. typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  6649. typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  6650. typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  6651. typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  6652. typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  6653. typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  6654. typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  6655. typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  6656. typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  6657. typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  6658. typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  6659. typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  6660. typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  6661. typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  6662. typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  6663. typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  6664. typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  6665. typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  6666. #ifdef GL_GLEXT_PROTOTYPES
  6667. GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
  6668. GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
  6669. GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
  6670. GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
  6671. GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
  6672. GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
  6673. GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
  6674. GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
  6675. GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
  6676. GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
  6677. GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
  6678. GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
  6679. GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
  6680. GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
  6681. GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
  6682. GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
  6683. GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
  6684. GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
  6685. GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
  6686. GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
  6687. GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  6688. GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  6689. #endif
  6690. #endif /* GL_EXT_coordinate_frame */
  6691. #ifndef GL_EXT_copy_texture
  6692. #define GL_EXT_copy_texture 1
  6693. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6694. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6695. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6696. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6697. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6698. #ifdef GL_GLEXT_PROTOTYPES
  6699. GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6700. GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6701. GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6702. GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6703. GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6704. #endif
  6705. #endif /* GL_EXT_copy_texture */
  6706. #ifndef GL_EXT_cull_vertex
  6707. #define GL_EXT_cull_vertex 1
  6708. #define GL_CULL_VERTEX_EXT 0x81AA
  6709. #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
  6710. #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  6711. typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  6712. typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  6713. #ifdef GL_GLEXT_PROTOTYPES
  6714. GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
  6715. GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
  6716. #endif
  6717. #endif /* GL_EXT_cull_vertex */
  6718. #ifndef GL_EXT_debug_label
  6719. #define GL_EXT_debug_label 1
  6720. #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
  6721. #define GL_PROGRAM_OBJECT_EXT 0x8B40
  6722. #define GL_SHADER_OBJECT_EXT 0x8B48
  6723. #define GL_BUFFER_OBJECT_EXT 0x9151
  6724. #define GL_QUERY_OBJECT_EXT 0x9153
  6725. #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
  6726. typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  6727. typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  6728. #ifdef GL_GLEXT_PROTOTYPES
  6729. GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  6730. GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  6731. #endif
  6732. #endif /* GL_EXT_debug_label */
  6733. #ifndef GL_EXT_debug_marker
  6734. #define GL_EXT_debug_marker 1
  6735. typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  6736. typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  6737. typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
  6738. #ifdef GL_GLEXT_PROTOTYPES
  6739. GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
  6740. GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
  6741. GLAPI void APIENTRY glPopGroupMarkerEXT (void);
  6742. #endif
  6743. #endif /* GL_EXT_debug_marker */
  6744. #ifndef GL_EXT_depth_bounds_test
  6745. #define GL_EXT_depth_bounds_test 1
  6746. #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
  6747. #define GL_DEPTH_BOUNDS_EXT 0x8891
  6748. typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
  6749. #ifdef GL_GLEXT_PROTOTYPES
  6750. GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
  6751. #endif
  6752. #endif /* GL_EXT_depth_bounds_test */
  6753. #ifndef GL_EXT_direct_state_access
  6754. #define GL_EXT_direct_state_access 1
  6755. #define GL_PROGRAM_MATRIX_EXT 0x8E2D
  6756. #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
  6757. #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  6758. typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
  6759. typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
  6760. typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
  6761. typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
  6762. typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
  6763. typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  6764. typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  6765. typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  6766. typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  6767. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  6768. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  6769. typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  6770. typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  6771. typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
  6772. typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
  6773. typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  6774. typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  6775. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  6776. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  6777. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  6778. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  6779. typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  6780. 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);
  6781. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  6782. 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);
  6783. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6784. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6785. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6786. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6787. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  6788. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  6789. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  6790. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  6791. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  6792. 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);
  6793. 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);
  6794. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6795. typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  6796. typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  6797. typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  6798. typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  6799. typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  6800. typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6801. typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  6802. typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  6803. typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  6804. typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  6805. typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  6806. typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  6807. typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  6808. typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6809. typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  6810. typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  6811. typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  6812. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  6813. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6814. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  6815. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  6816. typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  6817. 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);
  6818. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  6819. 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);
  6820. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6821. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6822. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6823. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6824. typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  6825. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  6826. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6827. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  6828. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  6829. 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);
  6830. 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);
  6831. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6832. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  6833. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  6834. typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
  6835. typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
  6836. typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
  6837. typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  6838. typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  6839. typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  6840. typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
  6841. typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
  6842. 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);
  6843. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  6844. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  6845. 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);
  6846. 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);
  6847. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  6848. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
  6849. 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);
  6850. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  6851. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  6852. 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);
  6853. 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);
  6854. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  6855. typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
  6856. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  6857. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  6858. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  6859. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  6860. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  6861. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  6862. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  6863. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  6864. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
  6865. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
  6866. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  6867. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  6868. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  6869. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6870. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6871. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  6872. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  6873. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  6874. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6875. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6876. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6877. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6878. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6879. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6880. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6881. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6882. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6883. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6884. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6885. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6886. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6887. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6888. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6889. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6890. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6891. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6892. typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  6893. typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  6894. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  6895. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  6896. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  6897. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  6898. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6899. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  6900. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6901. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  6902. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  6903. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  6904. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  6905. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6906. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6907. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6908. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6909. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6910. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6911. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  6912. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
  6913. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  6914. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  6915. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
  6916. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  6917. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
  6918. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
  6919. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  6920. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  6921. typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
  6922. typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
  6923. typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
  6924. typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  6925. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6926. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  6927. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6928. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  6929. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
  6930. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
  6931. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
  6932. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
  6933. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  6934. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  6935. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6936. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  6937. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  6938. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6939. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6940. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6941. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6942. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  6943. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  6944. typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  6945. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  6946. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  6947. typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  6948. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  6949. typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  6950. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  6951. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6952. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  6953. typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  6954. typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  6955. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6956. typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6957. typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  6958. typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6959. typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6960. typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6961. typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6962. typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6963. typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6964. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  6965. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6966. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  6967. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  6968. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  6969. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  6970. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
  6971. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
  6972. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  6973. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
  6974. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  6975. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  6976. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  6977. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  6978. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  6979. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
  6980. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  6981. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
  6982. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  6983. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  6984. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6985. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6986. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6987. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6988. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6989. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6990. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6991. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6992. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6993. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6994. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6995. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6996. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6997. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6998. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  6999. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  7000. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  7001. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  7002. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  7003. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  7004. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  7005. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  7006. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  7007. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  7008. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  7009. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  7010. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7011. typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  7012. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
  7013. #ifdef GL_GLEXT_PROTOTYPES
  7014. GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
  7015. GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
  7016. GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
  7017. GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
  7018. GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
  7019. GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  7020. GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  7021. GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  7022. GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  7023. GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  7024. GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  7025. GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  7026. GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  7027. GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
  7028. GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
  7029. GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
  7030. GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
  7031. GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  7032. GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  7033. GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
  7034. GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  7035. GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  7036. 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);
  7037. GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  7038. 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);
  7039. GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  7040. GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  7041. GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  7042. GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7043. GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  7044. GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  7045. GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  7046. GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  7047. GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  7048. 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);
  7049. 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);
  7050. GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7051. GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
  7052. GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7053. GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  7054. GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  7055. GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  7056. GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  7057. GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  7058. GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  7059. GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  7060. GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  7061. GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  7062. GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  7063. GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  7064. GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  7065. GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  7066. GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  7067. GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  7068. GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  7069. GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  7070. GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  7071. GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  7072. GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  7073. 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);
  7074. GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  7075. 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);
  7076. GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  7077. GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  7078. GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  7079. GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7080. GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  7081. GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  7082. GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  7083. GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  7084. GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  7085. 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);
  7086. 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);
  7087. GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7088. GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
  7089. GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
  7090. GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
  7091. GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
  7092. GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
  7093. GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
  7094. GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
  7095. GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
  7096. GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
  7097. GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
  7098. 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);
  7099. GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  7100. GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  7101. 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);
  7102. 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);
  7103. GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  7104. GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
  7105. 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);
  7106. GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  7107. GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  7108. 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);
  7109. 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);
  7110. GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  7111. GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
  7112. GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
  7113. GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
  7114. GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
  7115. GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
  7116. GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  7117. GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  7118. GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
  7119. GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
  7120. GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
  7121. GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
  7122. GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  7123. GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  7124. GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  7125. GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  7126. GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  7127. GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  7128. GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  7129. GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  7130. GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  7131. GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7132. GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7133. GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7134. GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7135. GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  7136. GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  7137. GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  7138. GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  7139. GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7140. GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7141. GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7142. GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7143. GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7144. GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7145. GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7146. GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7147. GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7148. GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  7149. GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  7150. GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  7151. GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  7152. GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  7153. GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  7154. GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  7155. GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  7156. GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  7157. GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  7158. GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  7159. GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  7160. GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  7161. GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7162. GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7163. GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7164. GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7165. GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7166. GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7167. GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  7168. GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
  7169. GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  7170. GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  7171. GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
  7172. GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  7173. GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
  7174. GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
  7175. GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
  7176. GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
  7177. GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
  7178. GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
  7179. GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
  7180. GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  7181. GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7182. GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  7183. GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7184. GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  7185. GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
  7186. GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
  7187. GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
  7188. GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
  7189. GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  7190. GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
  7191. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7192. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  7193. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
  7194. GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7195. GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7196. GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7197. GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7198. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  7199. GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
  7200. GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
  7201. GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
  7202. GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  7203. GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
  7204. GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  7205. GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  7206. GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  7207. GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  7208. GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  7209. GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
  7210. GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
  7211. GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7212. GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7213. GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  7214. GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7215. GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7216. GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7217. GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7218. GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7219. GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7220. GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  7221. GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7222. GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
  7223. GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
  7224. GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  7225. GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  7226. GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
  7227. GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
  7228. GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  7229. GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
  7230. GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  7231. GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
  7232. GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  7233. GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  7234. GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  7235. GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
  7236. GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  7237. GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
  7238. GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
  7239. GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  7240. GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7241. GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7242. GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7243. GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7244. GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7245. GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7246. GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7247. GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7248. GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7249. GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7250. GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7251. GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7252. GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7253. GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7254. GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  7255. GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  7256. GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  7257. GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  7258. GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  7259. GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  7260. GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  7261. GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  7262. GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  7263. GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  7264. GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  7265. GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  7266. GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7267. GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  7268. GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
  7269. #endif
  7270. #endif /* GL_EXT_direct_state_access */
  7271. #ifndef GL_EXT_draw_buffers2
  7272. #define GL_EXT_draw_buffers2 1
  7273. typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  7274. #ifdef GL_GLEXT_PROTOTYPES
  7275. GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  7276. #endif
  7277. #endif /* GL_EXT_draw_buffers2 */
  7278. #ifndef GL_EXT_draw_instanced
  7279. #define GL_EXT_draw_instanced 1
  7280. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  7281. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  7282. #ifdef GL_GLEXT_PROTOTYPES
  7283. GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  7284. GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  7285. #endif
  7286. #endif /* GL_EXT_draw_instanced */
  7287. #ifndef GL_EXT_draw_range_elements
  7288. #define GL_EXT_draw_range_elements 1
  7289. #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
  7290. #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
  7291. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  7292. #ifdef GL_GLEXT_PROTOTYPES
  7293. GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  7294. #endif
  7295. #endif /* GL_EXT_draw_range_elements */
  7296. #ifndef GL_EXT_external_buffer
  7297. #define GL_EXT_external_buffer 1
  7298. typedef void *GLeglClientBufferEXT;
  7299. typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
  7300. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
  7301. #ifdef GL_GLEXT_PROTOTYPES
  7302. GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
  7303. GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
  7304. #endif
  7305. #endif /* GL_EXT_external_buffer */
  7306. #ifndef GL_EXT_fog_coord
  7307. #define GL_EXT_fog_coord 1
  7308. #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
  7309. #define GL_FOG_COORDINATE_EXT 0x8451
  7310. #define GL_FRAGMENT_DEPTH_EXT 0x8452
  7311. #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
  7312. #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
  7313. #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  7314. #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  7315. #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
  7316. typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  7317. typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  7318. typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  7319. typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  7320. typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  7321. #ifdef GL_GLEXT_PROTOTYPES
  7322. GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
  7323. GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
  7324. GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
  7325. GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
  7326. GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  7327. #endif
  7328. #endif /* GL_EXT_fog_coord */
  7329. #ifndef GL_EXT_framebuffer_blit
  7330. #define GL_EXT_framebuffer_blit 1
  7331. #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
  7332. #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
  7333. #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
  7334. #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
  7335. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  7336. #ifdef GL_GLEXT_PROTOTYPES
  7337. GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  7338. #endif
  7339. #endif /* GL_EXT_framebuffer_blit */
  7340. #ifndef GL_EXT_framebuffer_multisample
  7341. #define GL_EXT_framebuffer_multisample 1
  7342. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  7343. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  7344. #define GL_MAX_SAMPLES_EXT 0x8D57
  7345. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7346. #ifdef GL_GLEXT_PROTOTYPES
  7347. GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7348. #endif
  7349. #endif /* GL_EXT_framebuffer_multisample */
  7350. #ifndef GL_EXT_framebuffer_multisample_blit_scaled
  7351. #define GL_EXT_framebuffer_multisample_blit_scaled 1
  7352. #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
  7353. #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
  7354. #endif /* GL_EXT_framebuffer_multisample_blit_scaled */
  7355. #ifndef GL_EXT_framebuffer_object
  7356. #define GL_EXT_framebuffer_object 1
  7357. #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
  7358. #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
  7359. #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
  7360. #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
  7361. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
  7362. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
  7363. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
  7364. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
  7365. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
  7366. #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
  7367. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
  7368. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
  7369. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
  7370. #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
  7371. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
  7372. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
  7373. #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
  7374. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  7375. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  7376. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  7377. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  7378. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  7379. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  7380. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  7381. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  7382. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  7383. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  7384. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  7385. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  7386. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  7387. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  7388. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  7389. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  7390. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  7391. #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
  7392. #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
  7393. #define GL_FRAMEBUFFER_EXT 0x8D40
  7394. #define GL_RENDERBUFFER_EXT 0x8D41
  7395. #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
  7396. #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
  7397. #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
  7398. #define GL_STENCIL_INDEX1_EXT 0x8D46
  7399. #define GL_STENCIL_INDEX4_EXT 0x8D47
  7400. #define GL_STENCIL_INDEX8_EXT 0x8D48
  7401. #define GL_STENCIL_INDEX16_EXT 0x8D49
  7402. #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
  7403. #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
  7404. #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
  7405. #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
  7406. #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
  7407. #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
  7408. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
  7409. typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
  7410. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
  7411. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
  7412. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  7413. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7414. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
  7415. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
  7416. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
  7417. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
  7418. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
  7419. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7420. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7421. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7422. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7423. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  7424. typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
  7425. #ifdef GL_GLEXT_PROTOTYPES
  7426. GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
  7427. GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
  7428. GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
  7429. GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
  7430. GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  7431. GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7432. GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
  7433. GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
  7434. GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
  7435. GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
  7436. GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
  7437. GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7438. GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7439. GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7440. GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7441. GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  7442. GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
  7443. #endif
  7444. #endif /* GL_EXT_framebuffer_object */
  7445. #ifndef GL_EXT_framebuffer_sRGB
  7446. #define GL_EXT_framebuffer_sRGB 1
  7447. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  7448. #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
  7449. #endif /* GL_EXT_framebuffer_sRGB */
  7450. #ifndef GL_EXT_geometry_shader4
  7451. #define GL_EXT_geometry_shader4 1
  7452. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  7453. #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
  7454. #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
  7455. #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
  7456. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  7457. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
  7458. #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
  7459. #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
  7460. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  7461. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  7462. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  7463. #define GL_LINES_ADJACENCY_EXT 0x000A
  7464. #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
  7465. #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
  7466. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
  7467. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  7468. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
  7469. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  7470. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
  7471. #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
  7472. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  7473. #ifdef GL_GLEXT_PROTOTYPES
  7474. GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
  7475. #endif
  7476. #endif /* GL_EXT_geometry_shader4 */
  7477. #ifndef GL_EXT_gpu_program_parameters
  7478. #define GL_EXT_gpu_program_parameters 1
  7479. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7480. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7481. #ifdef GL_GLEXT_PROTOTYPES
  7482. GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7483. GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7484. #endif
  7485. #endif /* GL_EXT_gpu_program_parameters */
  7486. #ifndef GL_EXT_gpu_shader4
  7487. #define GL_EXT_gpu_shader4 1
  7488. #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
  7489. #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
  7490. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  7491. #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
  7492. #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
  7493. #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
  7494. #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
  7495. #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
  7496. #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
  7497. #define GL_INT_SAMPLER_1D_EXT 0x8DC9
  7498. #define GL_INT_SAMPLER_2D_EXT 0x8DCA
  7499. #define GL_INT_SAMPLER_3D_EXT 0x8DCB
  7500. #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
  7501. #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
  7502. #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
  7503. #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
  7504. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  7505. #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
  7506. #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
  7507. #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
  7508. #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
  7509. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  7510. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  7511. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  7512. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  7513. #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
  7514. #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
  7515. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
  7516. typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
  7517. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  7518. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
  7519. typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
  7520. typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
  7521. typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  7522. typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7523. typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7524. typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7525. typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7526. typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7527. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  7528. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  7529. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  7530. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  7531. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  7532. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  7533. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  7534. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  7535. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  7536. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  7537. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  7538. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  7539. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  7540. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  7541. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  7542. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  7543. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  7544. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  7545. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  7546. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  7547. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7548. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  7549. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  7550. #ifdef GL_GLEXT_PROTOTYPES
  7551. GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
  7552. GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
  7553. GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
  7554. GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
  7555. GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
  7556. GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
  7557. GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7558. GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
  7559. GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
  7560. GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
  7561. GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
  7562. GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
  7563. GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
  7564. GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
  7565. GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
  7566. GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
  7567. GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
  7568. GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
  7569. GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  7570. GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
  7571. GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
  7572. GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
  7573. GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
  7574. GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
  7575. GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
  7576. GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
  7577. GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
  7578. GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
  7579. GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
  7580. GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
  7581. GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
  7582. GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7583. GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
  7584. GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
  7585. #endif
  7586. #endif /* GL_EXT_gpu_shader4 */
  7587. #ifndef GL_EXT_histogram
  7588. #define GL_EXT_histogram 1
  7589. #define GL_HISTOGRAM_EXT 0x8024
  7590. #define GL_PROXY_HISTOGRAM_EXT 0x8025
  7591. #define GL_HISTOGRAM_WIDTH_EXT 0x8026
  7592. #define GL_HISTOGRAM_FORMAT_EXT 0x8027
  7593. #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
  7594. #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
  7595. #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
  7596. #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
  7597. #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
  7598. #define GL_HISTOGRAM_SINK_EXT 0x802D
  7599. #define GL_MINMAX_EXT 0x802E
  7600. #define GL_MINMAX_FORMAT_EXT 0x802F
  7601. #define GL_MINMAX_SINK_EXT 0x8030
  7602. #define GL_TABLE_TOO_LARGE_EXT 0x8031
  7603. typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  7604. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7605. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7606. typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  7607. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7608. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7609. typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  7610. typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  7611. typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  7612. typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  7613. #ifdef GL_GLEXT_PROTOTYPES
  7614. GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  7615. GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7616. GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7617. GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  7618. GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7619. GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7620. GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  7621. GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
  7622. GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
  7623. GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
  7624. #endif
  7625. #endif /* GL_EXT_histogram */
  7626. #ifndef GL_EXT_index_array_formats
  7627. #define GL_EXT_index_array_formats 1
  7628. #define GL_IUI_V2F_EXT 0x81AD
  7629. #define GL_IUI_V3F_EXT 0x81AE
  7630. #define GL_IUI_N3F_V2F_EXT 0x81AF
  7631. #define GL_IUI_N3F_V3F_EXT 0x81B0
  7632. #define GL_T2F_IUI_V2F_EXT 0x81B1
  7633. #define GL_T2F_IUI_V3F_EXT 0x81B2
  7634. #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
  7635. #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
  7636. #endif /* GL_EXT_index_array_formats */
  7637. #ifndef GL_EXT_index_func
  7638. #define GL_EXT_index_func 1
  7639. #define GL_INDEX_TEST_EXT 0x81B5
  7640. #define GL_INDEX_TEST_FUNC_EXT 0x81B6
  7641. #define GL_INDEX_TEST_REF_EXT 0x81B7
  7642. typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  7643. #ifdef GL_GLEXT_PROTOTYPES
  7644. GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
  7645. #endif
  7646. #endif /* GL_EXT_index_func */
  7647. #ifndef GL_EXT_index_material
  7648. #define GL_EXT_index_material 1
  7649. #define GL_INDEX_MATERIAL_EXT 0x81B8
  7650. #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
  7651. #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
  7652. typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  7653. #ifdef GL_GLEXT_PROTOTYPES
  7654. GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
  7655. #endif
  7656. #endif /* GL_EXT_index_material */
  7657. #ifndef GL_EXT_index_texture
  7658. #define GL_EXT_index_texture 1
  7659. #endif /* GL_EXT_index_texture */
  7660. #ifndef GL_EXT_light_texture
  7661. #define GL_EXT_light_texture 1
  7662. #define GL_FRAGMENT_MATERIAL_EXT 0x8349
  7663. #define GL_FRAGMENT_NORMAL_EXT 0x834A
  7664. #define GL_FRAGMENT_COLOR_EXT 0x834C
  7665. #define GL_ATTENUATION_EXT 0x834D
  7666. #define GL_SHADOW_ATTENUATION_EXT 0x834E
  7667. #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
  7668. #define GL_TEXTURE_LIGHT_EXT 0x8350
  7669. #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
  7670. #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  7671. typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  7672. typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  7673. typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  7674. #ifdef GL_GLEXT_PROTOTYPES
  7675. GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
  7676. GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
  7677. GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
  7678. #endif
  7679. #endif /* GL_EXT_light_texture */
  7680. #ifndef GL_EXT_memory_object
  7681. #define GL_EXT_memory_object 1
  7682. #define GL_TEXTURE_TILING_EXT 0x9580
  7683. #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
  7684. #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
  7685. #define GL_NUM_TILING_TYPES_EXT 0x9582
  7686. #define GL_TILING_TYPES_EXT 0x9583
  7687. #define GL_OPTIMAL_TILING_EXT 0x9584
  7688. #define GL_LINEAR_TILING_EXT 0x9585
  7689. #define GL_NUM_DEVICE_UUIDS_EXT 0x9596
  7690. #define GL_DEVICE_UUID_EXT 0x9597
  7691. #define GL_DRIVER_UUID_EXT 0x9598
  7692. #define GL_UUID_SIZE_EXT 16
  7693. typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
  7694. typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
  7695. typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
  7696. typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
  7697. typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
  7698. typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
  7699. typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
  7700. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
  7701. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7702. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
  7703. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7704. typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
  7705. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
  7706. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7707. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
  7708. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7709. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
  7710. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
  7711. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
  7712. #ifdef GL_GLEXT_PROTOTYPES
  7713. GLAPI void APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
  7714. GLAPI void APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
  7715. GLAPI void APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
  7716. GLAPI GLboolean APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
  7717. GLAPI void APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
  7718. GLAPI void APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
  7719. GLAPI void APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
  7720. GLAPI void APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
  7721. GLAPI void APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7722. GLAPI void APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
  7723. GLAPI void APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7724. GLAPI void APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
  7725. GLAPI void APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
  7726. GLAPI void APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7727. GLAPI void APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
  7728. GLAPI void APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7729. GLAPI void APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
  7730. GLAPI void APIENTRY glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
  7731. GLAPI void APIENTRY glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
  7732. #endif
  7733. #endif /* GL_EXT_memory_object */
  7734. #ifndef GL_EXT_memory_object_fd
  7735. #define GL_EXT_memory_object_fd 1
  7736. #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
  7737. typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
  7738. #ifdef GL_GLEXT_PROTOTYPES
  7739. GLAPI void APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
  7740. #endif
  7741. #endif /* GL_EXT_memory_object_fd */
  7742. #ifndef GL_EXT_memory_object_win32
  7743. #define GL_EXT_memory_object_win32 1
  7744. #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
  7745. #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
  7746. #define GL_DEVICE_LUID_EXT 0x9599
  7747. #define GL_DEVICE_NODE_MASK_EXT 0x959A
  7748. #define GL_LUID_SIZE_EXT 8
  7749. #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
  7750. #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
  7751. #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
  7752. #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
  7753. typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
  7754. typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
  7755. #ifdef GL_GLEXT_PROTOTYPES
  7756. GLAPI void APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
  7757. GLAPI void APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
  7758. #endif
  7759. #endif /* GL_EXT_memory_object_win32 */
  7760. #ifndef GL_EXT_misc_attribute
  7761. #define GL_EXT_misc_attribute 1
  7762. #endif /* GL_EXT_misc_attribute */
  7763. #ifndef GL_EXT_multi_draw_arrays
  7764. #define GL_EXT_multi_draw_arrays 1
  7765. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  7766. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  7767. #ifdef GL_GLEXT_PROTOTYPES
  7768. GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  7769. GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  7770. #endif
  7771. #endif /* GL_EXT_multi_draw_arrays */
  7772. #ifndef GL_EXT_multisample
  7773. #define GL_EXT_multisample 1
  7774. #define GL_MULTISAMPLE_EXT 0x809D
  7775. #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
  7776. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  7777. #define GL_SAMPLE_MASK_EXT 0x80A0
  7778. #define GL_1PASS_EXT 0x80A1
  7779. #define GL_2PASS_0_EXT 0x80A2
  7780. #define GL_2PASS_1_EXT 0x80A3
  7781. #define GL_4PASS_0_EXT 0x80A4
  7782. #define GL_4PASS_1_EXT 0x80A5
  7783. #define GL_4PASS_2_EXT 0x80A6
  7784. #define GL_4PASS_3_EXT 0x80A7
  7785. #define GL_SAMPLE_BUFFERS_EXT 0x80A8
  7786. #define GL_SAMPLES_EXT 0x80A9
  7787. #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
  7788. #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
  7789. #define GL_SAMPLE_PATTERN_EXT 0x80AC
  7790. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  7791. typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  7792. typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  7793. #ifdef GL_GLEXT_PROTOTYPES
  7794. GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
  7795. GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
  7796. #endif
  7797. #endif /* GL_EXT_multisample */
  7798. #ifndef GL_EXT_multiview_tessellation_geometry_shader
  7799. #define GL_EXT_multiview_tessellation_geometry_shader 1
  7800. #endif /* GL_EXT_multiview_tessellation_geometry_shader */
  7801. #ifndef GL_EXT_multiview_texture_multisample
  7802. #define GL_EXT_multiview_texture_multisample 1
  7803. #endif /* GL_EXT_multiview_texture_multisample */
  7804. #ifndef GL_EXT_multiview_timer_query
  7805. #define GL_EXT_multiview_timer_query 1
  7806. #endif /* GL_EXT_multiview_timer_query */
  7807. #ifndef GL_EXT_packed_depth_stencil
  7808. #define GL_EXT_packed_depth_stencil 1
  7809. #define GL_DEPTH_STENCIL_EXT 0x84F9
  7810. #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
  7811. #define GL_DEPTH24_STENCIL8_EXT 0x88F0
  7812. #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
  7813. #endif /* GL_EXT_packed_depth_stencil */
  7814. #ifndef GL_EXT_packed_float
  7815. #define GL_EXT_packed_float 1
  7816. #define GL_R11F_G11F_B10F_EXT 0x8C3A
  7817. #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
  7818. #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
  7819. #endif /* GL_EXT_packed_float */
  7820. #ifndef GL_EXT_packed_pixels
  7821. #define GL_EXT_packed_pixels 1
  7822. #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
  7823. #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
  7824. #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
  7825. #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
  7826. #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
  7827. #endif /* GL_EXT_packed_pixels */
  7828. #ifndef GL_EXT_paletted_texture
  7829. #define GL_EXT_paletted_texture 1
  7830. #define GL_COLOR_INDEX1_EXT 0x80E2
  7831. #define GL_COLOR_INDEX2_EXT 0x80E3
  7832. #define GL_COLOR_INDEX4_EXT 0x80E4
  7833. #define GL_COLOR_INDEX8_EXT 0x80E5
  7834. #define GL_COLOR_INDEX12_EXT 0x80E6
  7835. #define GL_COLOR_INDEX16_EXT 0x80E7
  7836. #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
  7837. typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
  7838. typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
  7839. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7840. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7841. #ifdef GL_GLEXT_PROTOTYPES
  7842. GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
  7843. GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
  7844. GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7845. GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7846. #endif
  7847. #endif /* GL_EXT_paletted_texture */
  7848. #ifndef GL_EXT_pixel_buffer_object
  7849. #define GL_EXT_pixel_buffer_object 1
  7850. #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
  7851. #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
  7852. #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
  7853. #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
  7854. #endif /* GL_EXT_pixel_buffer_object */
  7855. #ifndef GL_EXT_pixel_transform
  7856. #define GL_EXT_pixel_transform 1
  7857. #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
  7858. #define GL_PIXEL_MAG_FILTER_EXT 0x8331
  7859. #define GL_PIXEL_MIN_FILTER_EXT 0x8332
  7860. #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
  7861. #define GL_CUBIC_EXT 0x8334
  7862. #define GL_AVERAGE_EXT 0x8335
  7863. #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  7864. #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  7865. #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
  7866. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  7867. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  7868. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  7869. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  7870. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7871. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7872. #ifdef GL_GLEXT_PROTOTYPES
  7873. GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
  7874. GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
  7875. GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  7876. GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  7877. GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7878. GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7879. #endif
  7880. #endif /* GL_EXT_pixel_transform */
  7881. #ifndef GL_EXT_pixel_transform_color_table
  7882. #define GL_EXT_pixel_transform_color_table 1
  7883. #endif /* GL_EXT_pixel_transform_color_table */
  7884. #ifndef GL_EXT_point_parameters
  7885. #define GL_EXT_point_parameters 1
  7886. #define GL_POINT_SIZE_MIN_EXT 0x8126
  7887. #define GL_POINT_SIZE_MAX_EXT 0x8127
  7888. #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
  7889. #define GL_DISTANCE_ATTENUATION_EXT 0x8129
  7890. typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  7891. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  7892. #ifdef GL_GLEXT_PROTOTYPES
  7893. GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
  7894. GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
  7895. #endif
  7896. #endif /* GL_EXT_point_parameters */
  7897. #ifndef GL_EXT_polygon_offset
  7898. #define GL_EXT_polygon_offset 1
  7899. #define GL_POLYGON_OFFSET_EXT 0x8037
  7900. #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
  7901. #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
  7902. typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  7903. #ifdef GL_GLEXT_PROTOTYPES
  7904. GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
  7905. #endif
  7906. #endif /* GL_EXT_polygon_offset */
  7907. #ifndef GL_EXT_polygon_offset_clamp
  7908. #define GL_EXT_polygon_offset_clamp 1
  7909. #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
  7910. typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
  7911. #ifdef GL_GLEXT_PROTOTYPES
  7912. GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
  7913. #endif
  7914. #endif /* GL_EXT_polygon_offset_clamp */
  7915. #ifndef GL_EXT_post_depth_coverage
  7916. #define GL_EXT_post_depth_coverage 1
  7917. #endif /* GL_EXT_post_depth_coverage */
  7918. #ifndef GL_EXT_provoking_vertex
  7919. #define GL_EXT_provoking_vertex 1
  7920. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
  7921. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  7922. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  7923. #define GL_PROVOKING_VERTEX_EXT 0x8E4F
  7924. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
  7925. #ifdef GL_GLEXT_PROTOTYPES
  7926. GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
  7927. #endif
  7928. #endif /* GL_EXT_provoking_vertex */
  7929. #ifndef GL_EXT_raster_multisample
  7930. #define GL_EXT_raster_multisample 1
  7931. #define GL_RASTER_MULTISAMPLE_EXT 0x9327
  7932. #define GL_RASTER_SAMPLES_EXT 0x9328
  7933. #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
  7934. #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
  7935. #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
  7936. #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
  7937. typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
  7938. #ifdef GL_GLEXT_PROTOTYPES
  7939. GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
  7940. #endif
  7941. #endif /* GL_EXT_raster_multisample */
  7942. #ifndef GL_EXT_rescale_normal
  7943. #define GL_EXT_rescale_normal 1
  7944. #define GL_RESCALE_NORMAL_EXT 0x803A
  7945. #endif /* GL_EXT_rescale_normal */
  7946. #ifndef GL_EXT_secondary_color
  7947. #define GL_EXT_secondary_color 1
  7948. #define GL_COLOR_SUM_EXT 0x8458
  7949. #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
  7950. #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  7951. #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  7952. #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  7953. #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  7954. #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
  7955. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  7956. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  7957. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  7958. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  7959. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  7960. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  7961. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  7962. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  7963. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  7964. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  7965. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  7966. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  7967. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  7968. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  7969. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  7970. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  7971. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  7972. #ifdef GL_GLEXT_PROTOTYPES
  7973. GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
  7974. GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
  7975. GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
  7976. GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
  7977. GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
  7978. GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
  7979. GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
  7980. GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
  7981. GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
  7982. GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
  7983. GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
  7984. GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
  7985. GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
  7986. GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
  7987. GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
  7988. GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
  7989. GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
  7990. #endif
  7991. #endif /* GL_EXT_secondary_color */
  7992. #ifndef GL_EXT_semaphore
  7993. #define GL_EXT_semaphore 1
  7994. #define GL_LAYOUT_GENERAL_EXT 0x958D
  7995. #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
  7996. #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
  7997. #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
  7998. #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
  7999. #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
  8000. #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
  8001. #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
  8002. #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
  8003. typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
  8004. typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
  8005. typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
  8006. typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
  8007. typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
  8008. typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
  8009. typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
  8010. #ifdef GL_GLEXT_PROTOTYPES
  8011. GLAPI void APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
  8012. GLAPI void APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
  8013. GLAPI GLboolean APIENTRY glIsSemaphoreEXT (GLuint semaphore);
  8014. GLAPI void APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
  8015. GLAPI void APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
  8016. GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
  8017. GLAPI void APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
  8018. #endif
  8019. #endif /* GL_EXT_semaphore */
  8020. #ifndef GL_EXT_semaphore_fd
  8021. #define GL_EXT_semaphore_fd 1
  8022. typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
  8023. #ifdef GL_GLEXT_PROTOTYPES
  8024. GLAPI void APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
  8025. #endif
  8026. #endif /* GL_EXT_semaphore_fd */
  8027. #ifndef GL_EXT_semaphore_win32
  8028. #define GL_EXT_semaphore_win32 1
  8029. #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
  8030. #define GL_D3D12_FENCE_VALUE_EXT 0x9595
  8031. typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
  8032. typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
  8033. #ifdef GL_GLEXT_PROTOTYPES
  8034. GLAPI void APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
  8035. GLAPI void APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
  8036. #endif
  8037. #endif /* GL_EXT_semaphore_win32 */
  8038. #ifndef GL_EXT_separate_shader_objects
  8039. #define GL_EXT_separate_shader_objects 1
  8040. #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
  8041. typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
  8042. typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
  8043. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
  8044. #ifdef GL_GLEXT_PROTOTYPES
  8045. GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
  8046. GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
  8047. GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
  8048. #endif
  8049. #endif /* GL_EXT_separate_shader_objects */
  8050. #ifndef GL_EXT_separate_specular_color
  8051. #define GL_EXT_separate_specular_color 1
  8052. #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
  8053. #define GL_SINGLE_COLOR_EXT 0x81F9
  8054. #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
  8055. #endif /* GL_EXT_separate_specular_color */
  8056. #ifndef GL_EXT_shader_framebuffer_fetch
  8057. #define GL_EXT_shader_framebuffer_fetch 1
  8058. #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
  8059. #endif /* GL_EXT_shader_framebuffer_fetch */
  8060. #ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
  8061. #define GL_EXT_shader_framebuffer_fetch_non_coherent 1
  8062. typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
  8063. #ifdef GL_GLEXT_PROTOTYPES
  8064. GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
  8065. #endif
  8066. #endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
  8067. #ifndef GL_EXT_shader_image_load_formatted
  8068. #define GL_EXT_shader_image_load_formatted 1
  8069. #endif /* GL_EXT_shader_image_load_formatted */
  8070. #ifndef GL_EXT_shader_image_load_store
  8071. #define GL_EXT_shader_image_load_store 1
  8072. #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
  8073. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
  8074. #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
  8075. #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
  8076. #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
  8077. #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
  8078. #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
  8079. #define GL_IMAGE_1D_EXT 0x904C
  8080. #define GL_IMAGE_2D_EXT 0x904D
  8081. #define GL_IMAGE_3D_EXT 0x904E
  8082. #define GL_IMAGE_2D_RECT_EXT 0x904F
  8083. #define GL_IMAGE_CUBE_EXT 0x9050
  8084. #define GL_IMAGE_BUFFER_EXT 0x9051
  8085. #define GL_IMAGE_1D_ARRAY_EXT 0x9052
  8086. #define GL_IMAGE_2D_ARRAY_EXT 0x9053
  8087. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  8088. #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
  8089. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
  8090. #define GL_INT_IMAGE_1D_EXT 0x9057
  8091. #define GL_INT_IMAGE_2D_EXT 0x9058
  8092. #define GL_INT_IMAGE_3D_EXT 0x9059
  8093. #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
  8094. #define GL_INT_IMAGE_CUBE_EXT 0x905B
  8095. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  8096. #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
  8097. #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
  8098. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  8099. #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
  8100. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
  8101. #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
  8102. #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
  8103. #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
  8104. #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
  8105. #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
  8106. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  8107. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
  8108. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
  8109. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  8110. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
  8111. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
  8112. #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
  8113. #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
  8114. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
  8115. #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
  8116. #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
  8117. #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
  8118. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
  8119. #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
  8120. #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
  8121. #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
  8122. #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
  8123. #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
  8124. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
  8125. #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
  8126. #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
  8127. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  8128. typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
  8129. #ifdef GL_GLEXT_PROTOTYPES
  8130. GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  8131. GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
  8132. #endif
  8133. #endif /* GL_EXT_shader_image_load_store */
  8134. #ifndef GL_EXT_shader_integer_mix
  8135. #define GL_EXT_shader_integer_mix 1
  8136. #endif /* GL_EXT_shader_integer_mix */
  8137. #ifndef GL_EXT_shader_samples_identical
  8138. #define GL_EXT_shader_samples_identical 1
  8139. #endif /* GL_EXT_shader_samples_identical */
  8140. #ifndef GL_EXT_shadow_funcs
  8141. #define GL_EXT_shadow_funcs 1
  8142. #endif /* GL_EXT_shadow_funcs */
  8143. #ifndef GL_EXT_shared_texture_palette
  8144. #define GL_EXT_shared_texture_palette 1
  8145. #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
  8146. #endif /* GL_EXT_shared_texture_palette */
  8147. #ifndef GL_EXT_sparse_texture2
  8148. #define GL_EXT_sparse_texture2 1
  8149. #endif /* GL_EXT_sparse_texture2 */
  8150. #ifndef GL_EXT_stencil_clear_tag
  8151. #define GL_EXT_stencil_clear_tag 1
  8152. #define GL_STENCIL_TAG_BITS_EXT 0x88F2
  8153. #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
  8154. typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
  8155. #ifdef GL_GLEXT_PROTOTYPES
  8156. GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
  8157. #endif
  8158. #endif /* GL_EXT_stencil_clear_tag */
  8159. #ifndef GL_EXT_stencil_two_side
  8160. #define GL_EXT_stencil_two_side 1
  8161. #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
  8162. #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
  8163. typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
  8164. #ifdef GL_GLEXT_PROTOTYPES
  8165. GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
  8166. #endif
  8167. #endif /* GL_EXT_stencil_two_side */
  8168. #ifndef GL_EXT_stencil_wrap
  8169. #define GL_EXT_stencil_wrap 1
  8170. #define GL_INCR_WRAP_EXT 0x8507
  8171. #define GL_DECR_WRAP_EXT 0x8508
  8172. #endif /* GL_EXT_stencil_wrap */
  8173. #ifndef GL_EXT_subtexture
  8174. #define GL_EXT_subtexture 1
  8175. typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  8176. typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  8177. #ifdef GL_GLEXT_PROTOTYPES
  8178. GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  8179. GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  8180. #endif
  8181. #endif /* GL_EXT_subtexture */
  8182. #ifndef GL_EXT_texture
  8183. #define GL_EXT_texture 1
  8184. #define GL_ALPHA4_EXT 0x803B
  8185. #define GL_ALPHA8_EXT 0x803C
  8186. #define GL_ALPHA12_EXT 0x803D
  8187. #define GL_ALPHA16_EXT 0x803E
  8188. #define GL_LUMINANCE4_EXT 0x803F
  8189. #define GL_LUMINANCE8_EXT 0x8040
  8190. #define GL_LUMINANCE12_EXT 0x8041
  8191. #define GL_LUMINANCE16_EXT 0x8042
  8192. #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
  8193. #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
  8194. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  8195. #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
  8196. #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
  8197. #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
  8198. #define GL_INTENSITY_EXT 0x8049
  8199. #define GL_INTENSITY4_EXT 0x804A
  8200. #define GL_INTENSITY8_EXT 0x804B
  8201. #define GL_INTENSITY12_EXT 0x804C
  8202. #define GL_INTENSITY16_EXT 0x804D
  8203. #define GL_RGB2_EXT 0x804E
  8204. #define GL_RGB4_EXT 0x804F
  8205. #define GL_RGB5_EXT 0x8050
  8206. #define GL_RGB8_EXT 0x8051
  8207. #define GL_RGB10_EXT 0x8052
  8208. #define GL_RGB12_EXT 0x8053
  8209. #define GL_RGB16_EXT 0x8054
  8210. #define GL_RGBA2_EXT 0x8055
  8211. #define GL_RGBA4_EXT 0x8056
  8212. #define GL_RGB5_A1_EXT 0x8057
  8213. #define GL_RGBA8_EXT 0x8058
  8214. #define GL_RGB10_A2_EXT 0x8059
  8215. #define GL_RGBA12_EXT 0x805A
  8216. #define GL_RGBA16_EXT 0x805B
  8217. #define GL_TEXTURE_RED_SIZE_EXT 0x805C
  8218. #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
  8219. #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
  8220. #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
  8221. #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
  8222. #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
  8223. #define GL_REPLACE_EXT 0x8062
  8224. #define GL_PROXY_TEXTURE_1D_EXT 0x8063
  8225. #define GL_PROXY_TEXTURE_2D_EXT 0x8064
  8226. #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
  8227. #endif /* GL_EXT_texture */
  8228. #ifndef GL_EXT_texture3D
  8229. #define GL_EXT_texture3D 1
  8230. #define GL_PACK_SKIP_IMAGES_EXT 0x806B
  8231. #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
  8232. #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
  8233. #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
  8234. #define GL_TEXTURE_3D_EXT 0x806F
  8235. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  8236. #define GL_TEXTURE_DEPTH_EXT 0x8071
  8237. #define GL_TEXTURE_WRAP_R_EXT 0x8072
  8238. #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
  8239. 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);
  8240. 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);
  8241. #ifdef GL_GLEXT_PROTOTYPES
  8242. 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);
  8243. 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);
  8244. #endif
  8245. #endif /* GL_EXT_texture3D */
  8246. #ifndef GL_EXT_texture_array
  8247. #define GL_EXT_texture_array 1
  8248. #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
  8249. #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
  8250. #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
  8251. #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
  8252. #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
  8253. #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
  8254. #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
  8255. #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
  8256. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8257. #ifdef GL_GLEXT_PROTOTYPES
  8258. GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8259. #endif
  8260. #endif /* GL_EXT_texture_array */
  8261. #ifndef GL_EXT_texture_buffer_object
  8262. #define GL_EXT_texture_buffer_object 1
  8263. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  8264. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  8265. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  8266. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  8267. #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
  8268. typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  8269. #ifdef GL_GLEXT_PROTOTYPES
  8270. GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
  8271. #endif
  8272. #endif /* GL_EXT_texture_buffer_object */
  8273. #ifndef GL_EXT_texture_compression_latc
  8274. #define GL_EXT_texture_compression_latc 1
  8275. #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
  8276. #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
  8277. #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
  8278. #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
  8279. #endif /* GL_EXT_texture_compression_latc */
  8280. #ifndef GL_EXT_texture_compression_rgtc
  8281. #define GL_EXT_texture_compression_rgtc 1
  8282. #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
  8283. #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  8284. #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  8285. #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  8286. #endif /* GL_EXT_texture_compression_rgtc */
  8287. #ifndef GL_EXT_texture_compression_s3tc
  8288. #define GL_EXT_texture_compression_s3tc 1
  8289. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  8290. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  8291. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  8292. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  8293. #endif /* GL_EXT_texture_compression_s3tc */
  8294. #ifndef GL_EXT_texture_cube_map
  8295. #define GL_EXT_texture_cube_map 1
  8296. #define GL_NORMAL_MAP_EXT 0x8511
  8297. #define GL_REFLECTION_MAP_EXT 0x8512
  8298. #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
  8299. #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
  8300. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  8301. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  8302. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  8303. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  8304. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  8305. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  8306. #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
  8307. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
  8308. #endif /* GL_EXT_texture_cube_map */
  8309. #ifndef GL_EXT_texture_env_add
  8310. #define GL_EXT_texture_env_add 1
  8311. #endif /* GL_EXT_texture_env_add */
  8312. #ifndef GL_EXT_texture_env_combine
  8313. #define GL_EXT_texture_env_combine 1
  8314. #define GL_COMBINE_EXT 0x8570
  8315. #define GL_COMBINE_RGB_EXT 0x8571
  8316. #define GL_COMBINE_ALPHA_EXT 0x8572
  8317. #define GL_RGB_SCALE_EXT 0x8573
  8318. #define GL_ADD_SIGNED_EXT 0x8574
  8319. #define GL_INTERPOLATE_EXT 0x8575
  8320. #define GL_CONSTANT_EXT 0x8576
  8321. #define GL_PRIMARY_COLOR_EXT 0x8577
  8322. #define GL_PREVIOUS_EXT 0x8578
  8323. #define GL_SOURCE0_RGB_EXT 0x8580
  8324. #define GL_SOURCE1_RGB_EXT 0x8581
  8325. #define GL_SOURCE2_RGB_EXT 0x8582
  8326. #define GL_SOURCE0_ALPHA_EXT 0x8588
  8327. #define GL_SOURCE1_ALPHA_EXT 0x8589
  8328. #define GL_SOURCE2_ALPHA_EXT 0x858A
  8329. #define GL_OPERAND0_RGB_EXT 0x8590
  8330. #define GL_OPERAND1_RGB_EXT 0x8591
  8331. #define GL_OPERAND2_RGB_EXT 0x8592
  8332. #define GL_OPERAND0_ALPHA_EXT 0x8598
  8333. #define GL_OPERAND1_ALPHA_EXT 0x8599
  8334. #define GL_OPERAND2_ALPHA_EXT 0x859A
  8335. #endif /* GL_EXT_texture_env_combine */
  8336. #ifndef GL_EXT_texture_env_dot3
  8337. #define GL_EXT_texture_env_dot3 1
  8338. #define GL_DOT3_RGB_EXT 0x8740
  8339. #define GL_DOT3_RGBA_EXT 0x8741
  8340. #endif /* GL_EXT_texture_env_dot3 */
  8341. #ifndef GL_EXT_texture_filter_anisotropic
  8342. #define GL_EXT_texture_filter_anisotropic 1
  8343. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  8344. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  8345. #endif /* GL_EXT_texture_filter_anisotropic */
  8346. #ifndef GL_EXT_texture_filter_minmax
  8347. #define GL_EXT_texture_filter_minmax 1
  8348. #define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
  8349. #define GL_WEIGHTED_AVERAGE_EXT 0x9367
  8350. #endif /* GL_EXT_texture_filter_minmax */
  8351. #ifndef GL_EXT_texture_integer
  8352. #define GL_EXT_texture_integer 1
  8353. #define GL_RGBA32UI_EXT 0x8D70
  8354. #define GL_RGB32UI_EXT 0x8D71
  8355. #define GL_ALPHA32UI_EXT 0x8D72
  8356. #define GL_INTENSITY32UI_EXT 0x8D73
  8357. #define GL_LUMINANCE32UI_EXT 0x8D74
  8358. #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
  8359. #define GL_RGBA16UI_EXT 0x8D76
  8360. #define GL_RGB16UI_EXT 0x8D77
  8361. #define GL_ALPHA16UI_EXT 0x8D78
  8362. #define GL_INTENSITY16UI_EXT 0x8D79
  8363. #define GL_LUMINANCE16UI_EXT 0x8D7A
  8364. #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
  8365. #define GL_RGBA8UI_EXT 0x8D7C
  8366. #define GL_RGB8UI_EXT 0x8D7D
  8367. #define GL_ALPHA8UI_EXT 0x8D7E
  8368. #define GL_INTENSITY8UI_EXT 0x8D7F
  8369. #define GL_LUMINANCE8UI_EXT 0x8D80
  8370. #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
  8371. #define GL_RGBA32I_EXT 0x8D82
  8372. #define GL_RGB32I_EXT 0x8D83
  8373. #define GL_ALPHA32I_EXT 0x8D84
  8374. #define GL_INTENSITY32I_EXT 0x8D85
  8375. #define GL_LUMINANCE32I_EXT 0x8D86
  8376. #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
  8377. #define GL_RGBA16I_EXT 0x8D88
  8378. #define GL_RGB16I_EXT 0x8D89
  8379. #define GL_ALPHA16I_EXT 0x8D8A
  8380. #define GL_INTENSITY16I_EXT 0x8D8B
  8381. #define GL_LUMINANCE16I_EXT 0x8D8C
  8382. #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
  8383. #define GL_RGBA8I_EXT 0x8D8E
  8384. #define GL_RGB8I_EXT 0x8D8F
  8385. #define GL_ALPHA8I_EXT 0x8D90
  8386. #define GL_INTENSITY8I_EXT 0x8D91
  8387. #define GL_LUMINANCE8I_EXT 0x8D92
  8388. #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
  8389. #define GL_RED_INTEGER_EXT 0x8D94
  8390. #define GL_GREEN_INTEGER_EXT 0x8D95
  8391. #define GL_BLUE_INTEGER_EXT 0x8D96
  8392. #define GL_ALPHA_INTEGER_EXT 0x8D97
  8393. #define GL_RGB_INTEGER_EXT 0x8D98
  8394. #define GL_RGBA_INTEGER_EXT 0x8D99
  8395. #define GL_BGR_INTEGER_EXT 0x8D9A
  8396. #define GL_BGRA_INTEGER_EXT 0x8D9B
  8397. #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
  8398. #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
  8399. #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
  8400. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  8401. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  8402. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8403. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  8404. typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  8405. typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  8406. #ifdef GL_GLEXT_PROTOTYPES
  8407. GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
  8408. GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
  8409. GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
  8410. GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
  8411. GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
  8412. GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  8413. #endif
  8414. #endif /* GL_EXT_texture_integer */
  8415. #ifndef GL_EXT_texture_lod_bias
  8416. #define GL_EXT_texture_lod_bias 1
  8417. #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
  8418. #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
  8419. #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
  8420. #endif /* GL_EXT_texture_lod_bias */
  8421. #ifndef GL_EXT_texture_mirror_clamp
  8422. #define GL_EXT_texture_mirror_clamp 1
  8423. #define GL_MIRROR_CLAMP_EXT 0x8742
  8424. #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
  8425. #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
  8426. #endif /* GL_EXT_texture_mirror_clamp */
  8427. #ifndef GL_EXT_texture_object
  8428. #define GL_EXT_texture_object 1
  8429. #define GL_TEXTURE_PRIORITY_EXT 0x8066
  8430. #define GL_TEXTURE_RESIDENT_EXT 0x8067
  8431. #define GL_TEXTURE_1D_BINDING_EXT 0x8068
  8432. #define GL_TEXTURE_2D_BINDING_EXT 0x8069
  8433. #define GL_TEXTURE_3D_BINDING_EXT 0x806A
  8434. typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  8435. typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  8436. typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  8437. typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  8438. typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  8439. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  8440. #ifdef GL_GLEXT_PROTOTYPES
  8441. GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
  8442. GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
  8443. GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
  8444. GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
  8445. GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
  8446. GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  8447. #endif
  8448. #endif /* GL_EXT_texture_object */
  8449. #ifndef GL_EXT_texture_perturb_normal
  8450. #define GL_EXT_texture_perturb_normal 1
  8451. #define GL_PERTURB_EXT 0x85AE
  8452. #define GL_TEXTURE_NORMAL_EXT 0x85AF
  8453. typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  8454. #ifdef GL_GLEXT_PROTOTYPES
  8455. GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
  8456. #endif
  8457. #endif /* GL_EXT_texture_perturb_normal */
  8458. #ifndef GL_EXT_texture_sRGB
  8459. #define GL_EXT_texture_sRGB 1
  8460. #define GL_SRGB_EXT 0x8C40
  8461. #define GL_SRGB8_EXT 0x8C41
  8462. #define GL_SRGB_ALPHA_EXT 0x8C42
  8463. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  8464. #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
  8465. #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
  8466. #define GL_SLUMINANCE_EXT 0x8C46
  8467. #define GL_SLUMINANCE8_EXT 0x8C47
  8468. #define GL_COMPRESSED_SRGB_EXT 0x8C48
  8469. #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
  8470. #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
  8471. #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
  8472. #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
  8473. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  8474. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  8475. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  8476. #endif /* GL_EXT_texture_sRGB */
  8477. #ifndef GL_EXT_texture_sRGB_R8
  8478. #define GL_EXT_texture_sRGB_R8 1
  8479. #define GL_SR8_EXT 0x8FBD
  8480. #endif /* GL_EXT_texture_sRGB_R8 */
  8481. #ifndef GL_EXT_texture_sRGB_RG8
  8482. #define GL_EXT_texture_sRGB_RG8 1
  8483. #define GL_SRG8_EXT 0x8FBE
  8484. #endif /* GL_EXT_texture_sRGB_RG8 */
  8485. #ifndef GL_EXT_texture_sRGB_decode
  8486. #define GL_EXT_texture_sRGB_decode 1
  8487. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  8488. #define GL_DECODE_EXT 0x8A49
  8489. #define GL_SKIP_DECODE_EXT 0x8A4A
  8490. #endif /* GL_EXT_texture_sRGB_decode */
  8491. #ifndef GL_EXT_texture_shadow_lod
  8492. #define GL_EXT_texture_shadow_lod 1
  8493. #endif /* GL_EXT_texture_shadow_lod */
  8494. #ifndef GL_EXT_texture_shared_exponent
  8495. #define GL_EXT_texture_shared_exponent 1
  8496. #define GL_RGB9_E5_EXT 0x8C3D
  8497. #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
  8498. #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
  8499. #endif /* GL_EXT_texture_shared_exponent */
  8500. #ifndef GL_EXT_texture_snorm
  8501. #define GL_EXT_texture_snorm 1
  8502. #define GL_ALPHA_SNORM 0x9010
  8503. #define GL_LUMINANCE_SNORM 0x9011
  8504. #define GL_LUMINANCE_ALPHA_SNORM 0x9012
  8505. #define GL_INTENSITY_SNORM 0x9013
  8506. #define GL_ALPHA8_SNORM 0x9014
  8507. #define GL_LUMINANCE8_SNORM 0x9015
  8508. #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
  8509. #define GL_INTENSITY8_SNORM 0x9017
  8510. #define GL_ALPHA16_SNORM 0x9018
  8511. #define GL_LUMINANCE16_SNORM 0x9019
  8512. #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
  8513. #define GL_INTENSITY16_SNORM 0x901B
  8514. #define GL_RED_SNORM 0x8F90
  8515. #define GL_RG_SNORM 0x8F91
  8516. #define GL_RGB_SNORM 0x8F92
  8517. #define GL_RGBA_SNORM 0x8F93
  8518. #endif /* GL_EXT_texture_snorm */
  8519. #ifndef GL_EXT_texture_storage
  8520. #define GL_EXT_texture_storage 1
  8521. #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
  8522. #define GL_RGBA32F_EXT 0x8814
  8523. #define GL_RGB32F_EXT 0x8815
  8524. #define GL_ALPHA32F_EXT 0x8816
  8525. #define GL_LUMINANCE32F_EXT 0x8818
  8526. #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
  8527. #define GL_RGBA16F_EXT 0x881A
  8528. #define GL_RGB16F_EXT 0x881B
  8529. #define GL_ALPHA16F_EXT 0x881C
  8530. #define GL_LUMINANCE16F_EXT 0x881E
  8531. #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
  8532. #define GL_BGRA8_EXT 0x93A1
  8533. #define GL_R8_EXT 0x8229
  8534. #define GL_RG8_EXT 0x822B
  8535. #define GL_R32F_EXT 0x822E
  8536. #define GL_RG32F_EXT 0x8230
  8537. #define GL_R16F_EXT 0x822D
  8538. #define GL_RG16F_EXT 0x822F
  8539. typedef void (APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  8540. typedef void (APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  8541. typedef void (APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  8542. #ifdef GL_GLEXT_PROTOTYPES
  8543. GLAPI void APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  8544. GLAPI void APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  8545. GLAPI void APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  8546. #endif
  8547. #endif /* GL_EXT_texture_storage */
  8548. #ifndef GL_EXT_texture_swizzle
  8549. #define GL_EXT_texture_swizzle 1
  8550. #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
  8551. #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
  8552. #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
  8553. #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
  8554. #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
  8555. #endif /* GL_EXT_texture_swizzle */
  8556. #ifndef GL_EXT_timer_query
  8557. #define GL_EXT_timer_query 1
  8558. #define GL_TIME_ELAPSED_EXT 0x88BF
  8559. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
  8560. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
  8561. #ifdef GL_GLEXT_PROTOTYPES
  8562. GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
  8563. GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
  8564. #endif
  8565. #endif /* GL_EXT_timer_query */
  8566. #ifndef GL_EXT_transform_feedback
  8567. #define GL_EXT_transform_feedback 1
  8568. #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
  8569. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
  8570. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
  8571. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
  8572. #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
  8573. #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
  8574. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  8575. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
  8576. #define GL_RASTERIZER_DISCARD_EXT 0x8C89
  8577. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
  8578. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
  8579. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
  8580. #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
  8581. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
  8582. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
  8583. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
  8584. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
  8585. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8586. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  8587. typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
  8588. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  8589. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  8590. #ifdef GL_GLEXT_PROTOTYPES
  8591. GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
  8592. GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
  8593. GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8594. GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  8595. GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
  8596. GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  8597. GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  8598. #endif
  8599. #endif /* GL_EXT_transform_feedback */
  8600. #ifndef GL_EXT_vertex_array
  8601. #define GL_EXT_vertex_array 1
  8602. #define GL_VERTEX_ARRAY_EXT 0x8074
  8603. #define GL_NORMAL_ARRAY_EXT 0x8075
  8604. #define GL_COLOR_ARRAY_EXT 0x8076
  8605. #define GL_INDEX_ARRAY_EXT 0x8077
  8606. #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
  8607. #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
  8608. #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
  8609. #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
  8610. #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
  8611. #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
  8612. #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
  8613. #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
  8614. #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
  8615. #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
  8616. #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
  8617. #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
  8618. #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
  8619. #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
  8620. #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
  8621. #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
  8622. #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
  8623. #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
  8624. #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  8625. #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
  8626. #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
  8627. #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
  8628. #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
  8629. #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
  8630. #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
  8631. #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
  8632. #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  8633. #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
  8634. typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  8635. typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8636. typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  8637. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  8638. typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
  8639. typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8640. typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8641. typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8642. typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8643. #ifdef GL_GLEXT_PROTOTYPES
  8644. GLAPI void APIENTRY glArrayElementEXT (GLint i);
  8645. GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8646. GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
  8647. GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
  8648. GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
  8649. GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8650. GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8651. GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8652. GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8653. #endif
  8654. #endif /* GL_EXT_vertex_array */
  8655. #ifndef GL_EXT_vertex_array_bgra
  8656. #define GL_EXT_vertex_array_bgra 1
  8657. #endif /* GL_EXT_vertex_array_bgra */
  8658. #ifndef GL_EXT_vertex_attrib_64bit
  8659. #define GL_EXT_vertex_attrib_64bit 1
  8660. #define GL_DOUBLE_VEC2_EXT 0x8FFC
  8661. #define GL_DOUBLE_VEC3_EXT 0x8FFD
  8662. #define GL_DOUBLE_VEC4_EXT 0x8FFE
  8663. #define GL_DOUBLE_MAT2_EXT 0x8F46
  8664. #define GL_DOUBLE_MAT3_EXT 0x8F47
  8665. #define GL_DOUBLE_MAT4_EXT 0x8F48
  8666. #define GL_DOUBLE_MAT2x3_EXT 0x8F49
  8667. #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
  8668. #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
  8669. #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
  8670. #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
  8671. #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
  8672. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
  8673. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
  8674. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  8675. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8676. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
  8677. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
  8678. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
  8679. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
  8680. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  8681. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
  8682. #ifdef GL_GLEXT_PROTOTYPES
  8683. GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
  8684. GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
  8685. GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  8686. GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8687. GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
  8688. GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
  8689. GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
  8690. GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
  8691. GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  8692. GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
  8693. #endif
  8694. #endif /* GL_EXT_vertex_attrib_64bit */
  8695. #ifndef GL_EXT_vertex_shader
  8696. #define GL_EXT_vertex_shader 1
  8697. #define GL_VERTEX_SHADER_EXT 0x8780
  8698. #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
  8699. #define GL_OP_INDEX_EXT 0x8782
  8700. #define GL_OP_NEGATE_EXT 0x8783
  8701. #define GL_OP_DOT3_EXT 0x8784
  8702. #define GL_OP_DOT4_EXT 0x8785
  8703. #define GL_OP_MUL_EXT 0x8786
  8704. #define GL_OP_ADD_EXT 0x8787
  8705. #define GL_OP_MADD_EXT 0x8788
  8706. #define GL_OP_FRAC_EXT 0x8789
  8707. #define GL_OP_MAX_EXT 0x878A
  8708. #define GL_OP_MIN_EXT 0x878B
  8709. #define GL_OP_SET_GE_EXT 0x878C
  8710. #define GL_OP_SET_LT_EXT 0x878D
  8711. #define GL_OP_CLAMP_EXT 0x878E
  8712. #define GL_OP_FLOOR_EXT 0x878F
  8713. #define GL_OP_ROUND_EXT 0x8790
  8714. #define GL_OP_EXP_BASE_2_EXT 0x8791
  8715. #define GL_OP_LOG_BASE_2_EXT 0x8792
  8716. #define GL_OP_POWER_EXT 0x8793
  8717. #define GL_OP_RECIP_EXT 0x8794
  8718. #define GL_OP_RECIP_SQRT_EXT 0x8795
  8719. #define GL_OP_SUB_EXT 0x8796
  8720. #define GL_OP_CROSS_PRODUCT_EXT 0x8797
  8721. #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
  8722. #define GL_OP_MOV_EXT 0x8799
  8723. #define GL_OUTPUT_VERTEX_EXT 0x879A
  8724. #define GL_OUTPUT_COLOR0_EXT 0x879B
  8725. #define GL_OUTPUT_COLOR1_EXT 0x879C
  8726. #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
  8727. #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
  8728. #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
  8729. #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
  8730. #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
  8731. #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
  8732. #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
  8733. #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
  8734. #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
  8735. #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
  8736. #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
  8737. #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
  8738. #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
  8739. #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
  8740. #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
  8741. #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
  8742. #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
  8743. #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
  8744. #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
  8745. #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
  8746. #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
  8747. #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
  8748. #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
  8749. #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
  8750. #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
  8751. #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
  8752. #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
  8753. #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
  8754. #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
  8755. #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
  8756. #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
  8757. #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
  8758. #define GL_OUTPUT_FOG_EXT 0x87BD
  8759. #define GL_SCALAR_EXT 0x87BE
  8760. #define GL_VECTOR_EXT 0x87BF
  8761. #define GL_MATRIX_EXT 0x87C0
  8762. #define GL_VARIANT_EXT 0x87C1
  8763. #define GL_INVARIANT_EXT 0x87C2
  8764. #define GL_LOCAL_CONSTANT_EXT 0x87C3
  8765. #define GL_LOCAL_EXT 0x87C4
  8766. #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  8767. #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  8768. #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  8769. #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  8770. #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
  8771. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  8772. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  8773. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
  8774. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
  8775. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  8776. #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  8777. #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
  8778. #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
  8779. #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  8780. #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
  8781. #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
  8782. #define GL_X_EXT 0x87D5
  8783. #define GL_Y_EXT 0x87D6
  8784. #define GL_Z_EXT 0x87D7
  8785. #define GL_W_EXT 0x87D8
  8786. #define GL_NEGATIVE_X_EXT 0x87D9
  8787. #define GL_NEGATIVE_Y_EXT 0x87DA
  8788. #define GL_NEGATIVE_Z_EXT 0x87DB
  8789. #define GL_NEGATIVE_W_EXT 0x87DC
  8790. #define GL_ZERO_EXT 0x87DD
  8791. #define GL_ONE_EXT 0x87DE
  8792. #define GL_NEGATIVE_ONE_EXT 0x87DF
  8793. #define GL_NORMALIZED_RANGE_EXT 0x87E0
  8794. #define GL_FULL_RANGE_EXT 0x87E1
  8795. #define GL_CURRENT_VERTEX_EXT 0x87E2
  8796. #define GL_MVP_MATRIX_EXT 0x87E3
  8797. #define GL_VARIANT_VALUE_EXT 0x87E4
  8798. #define GL_VARIANT_DATATYPE_EXT 0x87E5
  8799. #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
  8800. #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
  8801. #define GL_VARIANT_ARRAY_EXT 0x87E8
  8802. #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
  8803. #define GL_INVARIANT_VALUE_EXT 0x87EA
  8804. #define GL_INVARIANT_DATATYPE_EXT 0x87EB
  8805. #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
  8806. #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
  8807. typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
  8808. typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
  8809. typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
  8810. typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
  8811. typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
  8812. typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
  8813. typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  8814. typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  8815. typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8816. typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8817. typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  8818. typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  8819. typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  8820. typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
  8821. typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
  8822. typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
  8823. typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
  8824. typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
  8825. typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
  8826. typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
  8827. typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
  8828. typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
  8829. typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
  8830. typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
  8831. typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  8832. typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  8833. typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
  8834. typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
  8835. typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
  8836. typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
  8837. typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
  8838. typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
  8839. typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8840. typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8841. typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8842. typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
  8843. typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8844. typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8845. typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8846. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8847. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8848. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8849. #ifdef GL_GLEXT_PROTOTYPES
  8850. GLAPI void APIENTRY glBeginVertexShaderEXT (void);
  8851. GLAPI void APIENTRY glEndVertexShaderEXT (void);
  8852. GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
  8853. GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
  8854. GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
  8855. GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
  8856. GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  8857. GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  8858. GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8859. GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8860. GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
  8861. GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
  8862. GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  8863. GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
  8864. GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
  8865. GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
  8866. GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
  8867. GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
  8868. GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
  8869. GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
  8870. GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
  8871. GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
  8872. GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
  8873. GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
  8874. GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
  8875. GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
  8876. GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
  8877. GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
  8878. GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
  8879. GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
  8880. GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
  8881. GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
  8882. GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8883. GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8884. GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8885. GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
  8886. GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8887. GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8888. GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8889. GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8890. GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8891. GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8892. #endif
  8893. #endif /* GL_EXT_vertex_shader */
  8894. #ifndef GL_EXT_vertex_weighting
  8895. #define GL_EXT_vertex_weighting 1
  8896. #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
  8897. #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
  8898. #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
  8899. #define GL_MODELVIEW1_MATRIX_EXT 0x8506
  8900. #define GL_VERTEX_WEIGHTING_EXT 0x8509
  8901. #define GL_MODELVIEW0_EXT 0x1700
  8902. #define GL_MODELVIEW1_EXT 0x850A
  8903. #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
  8904. #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
  8905. #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
  8906. #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
  8907. #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  8908. #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  8909. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  8910. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  8911. typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  8912. #ifdef GL_GLEXT_PROTOTYPES
  8913. GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
  8914. GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
  8915. GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
  8916. #endif
  8917. #endif /* GL_EXT_vertex_weighting */
  8918. #ifndef GL_EXT_win32_keyed_mutex
  8919. #define GL_EXT_win32_keyed_mutex 1
  8920. typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
  8921. typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
  8922. #ifdef GL_GLEXT_PROTOTYPES
  8923. GLAPI GLboolean APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
  8924. GLAPI GLboolean APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
  8925. #endif
  8926. #endif /* GL_EXT_win32_keyed_mutex */
  8927. #ifndef GL_EXT_window_rectangles
  8928. #define GL_EXT_window_rectangles 1
  8929. #define GL_INCLUSIVE_EXT 0x8F10
  8930. #define GL_EXCLUSIVE_EXT 0x8F11
  8931. #define GL_WINDOW_RECTANGLE_EXT 0x8F12
  8932. #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
  8933. #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
  8934. #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
  8935. typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
  8936. #ifdef GL_GLEXT_PROTOTYPES
  8937. GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
  8938. #endif
  8939. #endif /* GL_EXT_window_rectangles */
  8940. #ifndef GL_EXT_x11_sync_object
  8941. #define GL_EXT_x11_sync_object 1
  8942. #define GL_SYNC_X11_FENCE_EXT 0x90E1
  8943. typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  8944. #ifdef GL_GLEXT_PROTOTYPES
  8945. GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  8946. #endif
  8947. #endif /* GL_EXT_x11_sync_object */
  8948. #ifndef GL_GREMEDY_frame_terminator
  8949. #define GL_GREMEDY_frame_terminator 1
  8950. typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
  8951. #ifdef GL_GLEXT_PROTOTYPES
  8952. GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
  8953. #endif
  8954. #endif /* GL_GREMEDY_frame_terminator */
  8955. #ifndef GL_GREMEDY_string_marker
  8956. #define GL_GREMEDY_string_marker 1
  8957. typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
  8958. #ifdef GL_GLEXT_PROTOTYPES
  8959. GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
  8960. #endif
  8961. #endif /* GL_GREMEDY_string_marker */
  8962. #ifndef GL_HP_convolution_border_modes
  8963. #define GL_HP_convolution_border_modes 1
  8964. #define GL_IGNORE_BORDER_HP 0x8150
  8965. #define GL_CONSTANT_BORDER_HP 0x8151
  8966. #define GL_REPLICATE_BORDER_HP 0x8153
  8967. #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
  8968. #endif /* GL_HP_convolution_border_modes */
  8969. #ifndef GL_HP_image_transform
  8970. #define GL_HP_image_transform 1
  8971. #define GL_IMAGE_SCALE_X_HP 0x8155
  8972. #define GL_IMAGE_SCALE_Y_HP 0x8156
  8973. #define GL_IMAGE_TRANSLATE_X_HP 0x8157
  8974. #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
  8975. #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
  8976. #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
  8977. #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
  8978. #define GL_IMAGE_MAG_FILTER_HP 0x815C
  8979. #define GL_IMAGE_MIN_FILTER_HP 0x815D
  8980. #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
  8981. #define GL_CUBIC_HP 0x815F
  8982. #define GL_AVERAGE_HP 0x8160
  8983. #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
  8984. #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  8985. #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  8986. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  8987. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  8988. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  8989. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8990. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  8991. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  8992. #ifdef GL_GLEXT_PROTOTYPES
  8993. GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
  8994. GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
  8995. GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
  8996. GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
  8997. GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
  8998. GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
  8999. #endif
  9000. #endif /* GL_HP_image_transform */
  9001. #ifndef GL_HP_occlusion_test
  9002. #define GL_HP_occlusion_test 1
  9003. #define GL_OCCLUSION_TEST_HP 0x8165
  9004. #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
  9005. #endif /* GL_HP_occlusion_test */
  9006. #ifndef GL_HP_texture_lighting
  9007. #define GL_HP_texture_lighting 1
  9008. #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
  9009. #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
  9010. #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
  9011. #endif /* GL_HP_texture_lighting */
  9012. #ifndef GL_IBM_cull_vertex
  9013. #define GL_IBM_cull_vertex 1
  9014. #define GL_CULL_VERTEX_IBM 103050
  9015. #endif /* GL_IBM_cull_vertex */
  9016. #ifndef GL_IBM_multimode_draw_arrays
  9017. #define GL_IBM_multimode_draw_arrays 1
  9018. typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  9019. typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
  9020. #ifdef GL_GLEXT_PROTOTYPES
  9021. GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  9022. GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
  9023. #endif
  9024. #endif /* GL_IBM_multimode_draw_arrays */
  9025. #ifndef GL_IBM_rasterpos_clip
  9026. #define GL_IBM_rasterpos_clip 1
  9027. #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
  9028. #endif /* GL_IBM_rasterpos_clip */
  9029. #ifndef GL_IBM_static_data
  9030. #define GL_IBM_static_data 1
  9031. #define GL_ALL_STATIC_DATA_IBM 103060
  9032. #define GL_STATIC_VERTEX_ARRAY_IBM 103061
  9033. typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
  9034. #ifdef GL_GLEXT_PROTOTYPES
  9035. GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
  9036. #endif
  9037. #endif /* GL_IBM_static_data */
  9038. #ifndef GL_IBM_texture_mirrored_repeat
  9039. #define GL_IBM_texture_mirrored_repeat 1
  9040. #define GL_MIRRORED_REPEAT_IBM 0x8370
  9041. #endif /* GL_IBM_texture_mirrored_repeat */
  9042. #ifndef GL_IBM_vertex_array_lists
  9043. #define GL_IBM_vertex_array_lists 1
  9044. #define GL_VERTEX_ARRAY_LIST_IBM 103070
  9045. #define GL_NORMAL_ARRAY_LIST_IBM 103071
  9046. #define GL_COLOR_ARRAY_LIST_IBM 103072
  9047. #define GL_INDEX_ARRAY_LIST_IBM 103073
  9048. #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
  9049. #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
  9050. #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
  9051. #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  9052. #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
  9053. #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
  9054. #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
  9055. #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
  9056. #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  9057. #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  9058. #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  9059. #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  9060. typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9061. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9062. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
  9063. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9064. typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9065. typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9066. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9067. typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9068. #ifdef GL_GLEXT_PROTOTYPES
  9069. GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9070. GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9071. GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
  9072. GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9073. GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9074. GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9075. GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9076. GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9077. #endif
  9078. #endif /* GL_IBM_vertex_array_lists */
  9079. #ifndef GL_INGR_blend_func_separate
  9080. #define GL_INGR_blend_func_separate 1
  9081. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  9082. #ifdef GL_GLEXT_PROTOTYPES
  9083. GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  9084. #endif
  9085. #endif /* GL_INGR_blend_func_separate */
  9086. #ifndef GL_INGR_color_clamp
  9087. #define GL_INGR_color_clamp 1
  9088. #define GL_RED_MIN_CLAMP_INGR 0x8560
  9089. #define GL_GREEN_MIN_CLAMP_INGR 0x8561
  9090. #define GL_BLUE_MIN_CLAMP_INGR 0x8562
  9091. #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
  9092. #define GL_RED_MAX_CLAMP_INGR 0x8564
  9093. #define GL_GREEN_MAX_CLAMP_INGR 0x8565
  9094. #define GL_BLUE_MAX_CLAMP_INGR 0x8566
  9095. #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
  9096. #endif /* GL_INGR_color_clamp */
  9097. #ifndef GL_INGR_interlace_read
  9098. #define GL_INGR_interlace_read 1
  9099. #define GL_INTERLACE_READ_INGR 0x8568
  9100. #endif /* GL_INGR_interlace_read */
  9101. #ifndef GL_INTEL_blackhole_render
  9102. #define GL_INTEL_blackhole_render 1
  9103. #define GL_BLACKHOLE_RENDER_INTEL 0x83FC
  9104. #endif /* GL_INTEL_blackhole_render */
  9105. #ifndef GL_INTEL_conservative_rasterization
  9106. #define GL_INTEL_conservative_rasterization 1
  9107. #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
  9108. #endif /* GL_INTEL_conservative_rasterization */
  9109. #ifndef GL_INTEL_fragment_shader_ordering
  9110. #define GL_INTEL_fragment_shader_ordering 1
  9111. #endif /* GL_INTEL_fragment_shader_ordering */
  9112. #ifndef GL_INTEL_framebuffer_CMAA
  9113. #define GL_INTEL_framebuffer_CMAA 1
  9114. typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
  9115. #ifdef GL_GLEXT_PROTOTYPES
  9116. GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
  9117. #endif
  9118. #endif /* GL_INTEL_framebuffer_CMAA */
  9119. #ifndef GL_INTEL_map_texture
  9120. #define GL_INTEL_map_texture 1
  9121. #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
  9122. #define GL_LAYOUT_DEFAULT_INTEL 0
  9123. #define GL_LAYOUT_LINEAR_INTEL 1
  9124. #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
  9125. typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
  9126. typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
  9127. typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
  9128. #ifdef GL_GLEXT_PROTOTYPES
  9129. GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
  9130. GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
  9131. GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
  9132. #endif
  9133. #endif /* GL_INTEL_map_texture */
  9134. #ifndef GL_INTEL_parallel_arrays
  9135. #define GL_INTEL_parallel_arrays 1
  9136. #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
  9137. #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  9138. #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  9139. #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  9140. #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  9141. typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  9142. typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
  9143. typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  9144. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  9145. #ifdef GL_GLEXT_PROTOTYPES
  9146. GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
  9147. GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
  9148. GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
  9149. GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
  9150. #endif
  9151. #endif /* GL_INTEL_parallel_arrays */
  9152. #ifndef GL_INTEL_performance_query
  9153. #define GL_INTEL_performance_query 1
  9154. #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
  9155. #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
  9156. #define GL_PERFQUERY_WAIT_INTEL 0x83FB
  9157. #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
  9158. #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
  9159. #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
  9160. #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
  9161. #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
  9162. #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
  9163. #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
  9164. #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
  9165. #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
  9166. #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
  9167. #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
  9168. #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
  9169. #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
  9170. #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
  9171. #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
  9172. #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
  9173. #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
  9174. typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
  9175. typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
  9176. typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
  9177. typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
  9178. typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
  9179. typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
  9180. 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);
  9181. typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
  9182. typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
  9183. typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  9184. #ifdef GL_GLEXT_PROTOTYPES
  9185. GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
  9186. GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
  9187. GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
  9188. GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
  9189. GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
  9190. GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
  9191. 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);
  9192. GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
  9193. GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
  9194. GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  9195. #endif
  9196. #endif /* GL_INTEL_performance_query */
  9197. #ifndef GL_MESAX_texture_stack
  9198. #define GL_MESAX_texture_stack 1
  9199. #define GL_TEXTURE_1D_STACK_MESAX 0x8759
  9200. #define GL_TEXTURE_2D_STACK_MESAX 0x875A
  9201. #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
  9202. #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
  9203. #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
  9204. #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
  9205. #endif /* GL_MESAX_texture_stack */
  9206. #ifndef GL_MESA_framebuffer_flip_x
  9207. #define GL_MESA_framebuffer_flip_x 1
  9208. #define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
  9209. #endif /* GL_MESA_framebuffer_flip_x */
  9210. #ifndef GL_MESA_framebuffer_flip_y
  9211. #define GL_MESA_framebuffer_flip_y 1
  9212. #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
  9213. typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param);
  9214. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params);
  9215. #ifdef GL_GLEXT_PROTOTYPES
  9216. GLAPI void APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param);
  9217. GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params);
  9218. #endif
  9219. #endif /* GL_MESA_framebuffer_flip_y */
  9220. #ifndef GL_MESA_framebuffer_swap_xy
  9221. #define GL_MESA_framebuffer_swap_xy 1
  9222. #define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
  9223. #endif /* GL_MESA_framebuffer_swap_xy */
  9224. #ifndef GL_MESA_pack_invert
  9225. #define GL_MESA_pack_invert 1
  9226. #define GL_PACK_INVERT_MESA 0x8758
  9227. #endif /* GL_MESA_pack_invert */
  9228. #ifndef GL_MESA_program_binary_formats
  9229. #define GL_MESA_program_binary_formats 1
  9230. #define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
  9231. #endif /* GL_MESA_program_binary_formats */
  9232. #ifndef GL_MESA_resize_buffers
  9233. #define GL_MESA_resize_buffers 1
  9234. typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  9235. #ifdef GL_GLEXT_PROTOTYPES
  9236. GLAPI void APIENTRY glResizeBuffersMESA (void);
  9237. #endif
  9238. #endif /* GL_MESA_resize_buffers */
  9239. #ifndef GL_MESA_shader_integer_functions
  9240. #define GL_MESA_shader_integer_functions 1
  9241. #endif /* GL_MESA_shader_integer_functions */
  9242. #ifndef GL_MESA_tile_raster_order
  9243. #define GL_MESA_tile_raster_order 1
  9244. #define GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8
  9245. #define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9
  9246. #define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA
  9247. #endif /* GL_MESA_tile_raster_order */
  9248. #ifndef GL_MESA_window_pos
  9249. #define GL_MESA_window_pos 1
  9250. typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  9251. typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  9252. typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  9253. typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  9254. typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  9255. typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  9256. typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  9257. typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  9258. typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  9259. typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  9260. typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  9261. typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  9262. typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  9263. typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  9264. typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  9265. typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  9266. typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9267. typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  9268. typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9269. typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  9270. typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  9271. typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  9272. typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  9273. typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  9274. #ifdef GL_GLEXT_PROTOTYPES
  9275. GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
  9276. GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
  9277. GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
  9278. GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
  9279. GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
  9280. GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
  9281. GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
  9282. GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
  9283. GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
  9284. GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
  9285. GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
  9286. GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
  9287. GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
  9288. GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
  9289. GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
  9290. GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
  9291. GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9292. GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
  9293. GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9294. GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
  9295. GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
  9296. GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
  9297. GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
  9298. GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
  9299. #endif
  9300. #endif /* GL_MESA_window_pos */
  9301. #ifndef GL_MESA_ycbcr_texture
  9302. #define GL_MESA_ycbcr_texture 1
  9303. #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
  9304. #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
  9305. #define GL_YCBCR_MESA 0x8757
  9306. #endif /* GL_MESA_ycbcr_texture */
  9307. #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
  9308. #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
  9309. #endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
  9310. #ifndef GL_NVX_conditional_render
  9311. #define GL_NVX_conditional_render 1
  9312. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
  9313. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
  9314. #ifdef GL_GLEXT_PROTOTYPES
  9315. GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
  9316. GLAPI void APIENTRY glEndConditionalRenderNVX (void);
  9317. #endif
  9318. #endif /* GL_NVX_conditional_render */
  9319. #ifndef GL_NVX_gpu_memory_info
  9320. #define GL_NVX_gpu_memory_info 1
  9321. #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
  9322. #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
  9323. #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
  9324. #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
  9325. #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
  9326. #endif /* GL_NVX_gpu_memory_info */
  9327. #ifndef GL_NVX_gpu_multicast2
  9328. #define GL_NVX_gpu_multicast2 1
  9329. #define GL_UPLOAD_GPU_MASK_NVX 0x954A
  9330. typedef void (APIENTRYP PFNGLUPLOADGPUMASKNVXPROC) (GLbitfield mask);
  9331. typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
  9332. typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC) (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
  9333. typedef void (APIENTRYP PFNGLMULTICASTSCISSORARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
  9334. typedef GLuint (APIENTRYP PFNGLASYNCCOPYBUFFERSUBDATANVXPROC) (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
  9335. typedef GLuint (APIENTRYP PFNGLASYNCCOPYIMAGESUBDATANVXPROC) (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, 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, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
  9336. #ifdef GL_GLEXT_PROTOTYPES
  9337. GLAPI void APIENTRY glUploadGpuMaskNVX (GLbitfield mask);
  9338. GLAPI void APIENTRY glMulticastViewportArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
  9339. GLAPI void APIENTRY glMulticastViewportPositionWScaleNVX (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
  9340. GLAPI void APIENTRY glMulticastScissorArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
  9341. GLAPI GLuint APIENTRY glAsyncCopyBufferSubDataNVX (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
  9342. GLAPI GLuint APIENTRY glAsyncCopyImageSubDataNVX (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, 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, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
  9343. #endif
  9344. #endif /* GL_NVX_gpu_multicast2 */
  9345. #ifndef GL_NVX_linked_gpu_multicast
  9346. #define GL_NVX_linked_gpu_multicast 1
  9347. #define GL_LGPU_SEPARATE_STORAGE_BIT_NVX 0x0800
  9348. #define GL_MAX_LGPU_GPUS_NVX 0x92BA
  9349. typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  9350. typedef void (APIENTRYP PFNGLLGPUCOPYIMAGESUBDATANVXPROC) (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
  9351. typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) (void);
  9352. #ifdef GL_GLEXT_PROTOTYPES
  9353. GLAPI void APIENTRY glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  9354. GLAPI void APIENTRY glLGPUCopyImageSubDataNVX (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
  9355. GLAPI void APIENTRY glLGPUInterlockNVX (void);
  9356. #endif
  9357. #endif /* GL_NVX_linked_gpu_multicast */
  9358. #ifndef GL_NVX_progress_fence
  9359. #define GL_NVX_progress_fence 1
  9360. typedef GLuint (APIENTRYP PFNGLCREATEPROGRESSFENCENVXPROC) (void);
  9361. typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREUI64NVXPROC) (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9362. typedef void (APIENTRYP PFNGLWAITSEMAPHOREUI64NVXPROC) (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9363. typedef void (APIENTRYP PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC) (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9364. #ifdef GL_GLEXT_PROTOTYPES
  9365. GLAPI GLuint APIENTRY glCreateProgressFenceNVX (void);
  9366. GLAPI void APIENTRY glSignalSemaphoreui64NVX (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9367. GLAPI void APIENTRY glWaitSemaphoreui64NVX (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9368. GLAPI void APIENTRY glClientWaitSemaphoreui64NVX (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9369. #endif
  9370. #endif /* GL_NVX_progress_fence */
  9371. #ifndef GL_NV_alpha_to_coverage_dither_control
  9372. #define GL_NV_alpha_to_coverage_dither_control 1
  9373. #define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D
  9374. #define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E
  9375. #define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F
  9376. #define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF
  9377. typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) (GLenum mode);
  9378. #ifdef GL_GLEXT_PROTOTYPES
  9379. GLAPI void APIENTRY glAlphaToCoverageDitherControlNV (GLenum mode);
  9380. #endif
  9381. #endif /* GL_NV_alpha_to_coverage_dither_control */
  9382. #ifndef GL_NV_bindless_multi_draw_indirect
  9383. #define GL_NV_bindless_multi_draw_indirect 1
  9384. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  9385. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  9386. #ifdef GL_GLEXT_PROTOTYPES
  9387. GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  9388. GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  9389. #endif
  9390. #endif /* GL_NV_bindless_multi_draw_indirect */
  9391. #ifndef GL_NV_bindless_multi_draw_indirect_count
  9392. #define GL_NV_bindless_multi_draw_indirect_count 1
  9393. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
  9394. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
  9395. #ifdef GL_GLEXT_PROTOTYPES
  9396. GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
  9397. GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
  9398. #endif
  9399. #endif /* GL_NV_bindless_multi_draw_indirect_count */
  9400. #ifndef GL_NV_bindless_texture
  9401. #define GL_NV_bindless_texture 1
  9402. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  9403. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  9404. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  9405. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  9406. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  9407. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  9408. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  9409. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  9410. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
  9411. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  9412. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  9413. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  9414. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  9415. #ifdef GL_GLEXT_PROTOTYPES
  9416. GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
  9417. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
  9418. GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
  9419. GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
  9420. GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  9421. GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
  9422. GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
  9423. GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
  9424. GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
  9425. GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
  9426. GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  9427. GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
  9428. GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
  9429. #endif
  9430. #endif /* GL_NV_bindless_texture */
  9431. #ifndef GL_NV_blend_equation_advanced
  9432. #define GL_NV_blend_equation_advanced 1
  9433. #define GL_BLEND_OVERLAP_NV 0x9281
  9434. #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
  9435. #define GL_BLUE_NV 0x1905
  9436. #define GL_COLORBURN_NV 0x929A
  9437. #define GL_COLORDODGE_NV 0x9299
  9438. #define GL_CONJOINT_NV 0x9284
  9439. #define GL_CONTRAST_NV 0x92A1
  9440. #define GL_DARKEN_NV 0x9297
  9441. #define GL_DIFFERENCE_NV 0x929E
  9442. #define GL_DISJOINT_NV 0x9283
  9443. #define GL_DST_ATOP_NV 0x928F
  9444. #define GL_DST_IN_NV 0x928B
  9445. #define GL_DST_NV 0x9287
  9446. #define GL_DST_OUT_NV 0x928D
  9447. #define GL_DST_OVER_NV 0x9289
  9448. #define GL_EXCLUSION_NV 0x92A0
  9449. #define GL_GREEN_NV 0x1904
  9450. #define GL_HARDLIGHT_NV 0x929B
  9451. #define GL_HARDMIX_NV 0x92A9
  9452. #define GL_HSL_COLOR_NV 0x92AF
  9453. #define GL_HSL_HUE_NV 0x92AD
  9454. #define GL_HSL_LUMINOSITY_NV 0x92B0
  9455. #define GL_HSL_SATURATION_NV 0x92AE
  9456. #define GL_INVERT_OVG_NV 0x92B4
  9457. #define GL_INVERT_RGB_NV 0x92A3
  9458. #define GL_LIGHTEN_NV 0x9298
  9459. #define GL_LINEARBURN_NV 0x92A5
  9460. #define GL_LINEARDODGE_NV 0x92A4
  9461. #define GL_LINEARLIGHT_NV 0x92A7
  9462. #define GL_MINUS_CLAMPED_NV 0x92B3
  9463. #define GL_MINUS_NV 0x929F
  9464. #define GL_MULTIPLY_NV 0x9294
  9465. #define GL_OVERLAY_NV 0x9296
  9466. #define GL_PINLIGHT_NV 0x92A8
  9467. #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
  9468. #define GL_PLUS_CLAMPED_NV 0x92B1
  9469. #define GL_PLUS_DARKER_NV 0x9292
  9470. #define GL_PLUS_NV 0x9291
  9471. #define GL_RED_NV 0x1903
  9472. #define GL_SCREEN_NV 0x9295
  9473. #define GL_SOFTLIGHT_NV 0x929C
  9474. #define GL_SRC_ATOP_NV 0x928E
  9475. #define GL_SRC_IN_NV 0x928A
  9476. #define GL_SRC_NV 0x9286
  9477. #define GL_SRC_OUT_NV 0x928C
  9478. #define GL_SRC_OVER_NV 0x9288
  9479. #define GL_UNCORRELATED_NV 0x9282
  9480. #define GL_VIVIDLIGHT_NV 0x92A6
  9481. #define GL_XOR_NV 0x1506
  9482. typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
  9483. typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
  9484. #ifdef GL_GLEXT_PROTOTYPES
  9485. GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
  9486. GLAPI void APIENTRY glBlendBarrierNV (void);
  9487. #endif
  9488. #endif /* GL_NV_blend_equation_advanced */
  9489. #ifndef GL_NV_blend_equation_advanced_coherent
  9490. #define GL_NV_blend_equation_advanced_coherent 1
  9491. #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
  9492. #endif /* GL_NV_blend_equation_advanced_coherent */
  9493. #ifndef GL_NV_blend_minmax_factor
  9494. #define GL_NV_blend_minmax_factor 1
  9495. #endif /* GL_NV_blend_minmax_factor */
  9496. #ifndef GL_NV_blend_square
  9497. #define GL_NV_blend_square 1
  9498. #endif /* GL_NV_blend_square */
  9499. #ifndef GL_NV_clip_space_w_scaling
  9500. #define GL_NV_clip_space_w_scaling 1
  9501. #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
  9502. #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
  9503. #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
  9504. typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
  9505. #ifdef GL_GLEXT_PROTOTYPES
  9506. GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
  9507. #endif
  9508. #endif /* GL_NV_clip_space_w_scaling */
  9509. #ifndef GL_NV_command_list
  9510. #define GL_NV_command_list 1
  9511. #define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000
  9512. #define GL_NOP_COMMAND_NV 0x0001
  9513. #define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002
  9514. #define GL_DRAW_ARRAYS_COMMAND_NV 0x0003
  9515. #define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004
  9516. #define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005
  9517. #define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006
  9518. #define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007
  9519. #define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008
  9520. #define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009
  9521. #define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A
  9522. #define GL_BLEND_COLOR_COMMAND_NV 0x000B
  9523. #define GL_STENCIL_REF_COMMAND_NV 0x000C
  9524. #define GL_LINE_WIDTH_COMMAND_NV 0x000D
  9525. #define GL_POLYGON_OFFSET_COMMAND_NV 0x000E
  9526. #define GL_ALPHA_REF_COMMAND_NV 0x000F
  9527. #define GL_VIEWPORT_COMMAND_NV 0x0010
  9528. #define GL_SCISSOR_COMMAND_NV 0x0011
  9529. #define GL_FRONT_FACE_COMMAND_NV 0x0012
  9530. typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states);
  9531. typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states);
  9532. typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state);
  9533. typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode);
  9534. typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
  9535. typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype);
  9536. typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
  9537. typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
  9538. typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9539. typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9540. typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists);
  9541. typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists);
  9542. typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list);
  9543. typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9544. typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments);
  9545. typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list);
  9546. typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list);
  9547. #ifdef GL_GLEXT_PROTOTYPES
  9548. GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states);
  9549. GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states);
  9550. GLAPI GLboolean APIENTRY glIsStateNV (GLuint state);
  9551. GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode);
  9552. GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
  9553. GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype);
  9554. GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
  9555. GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
  9556. GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9557. GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9558. GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists);
  9559. GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists);
  9560. GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list);
  9561. GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9562. GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments);
  9563. GLAPI void APIENTRY glCompileCommandListNV (GLuint list);
  9564. GLAPI void APIENTRY glCallCommandListNV (GLuint list);
  9565. #endif
  9566. #endif /* GL_NV_command_list */
  9567. #ifndef GL_NV_compute_program5
  9568. #define GL_NV_compute_program5 1
  9569. #define GL_COMPUTE_PROGRAM_NV 0x90FB
  9570. #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
  9571. #endif /* GL_NV_compute_program5 */
  9572. #ifndef GL_NV_compute_shader_derivatives
  9573. #define GL_NV_compute_shader_derivatives 1
  9574. #endif /* GL_NV_compute_shader_derivatives */
  9575. #ifndef GL_NV_conditional_render
  9576. #define GL_NV_conditional_render 1
  9577. #define GL_QUERY_WAIT_NV 0x8E13
  9578. #define GL_QUERY_NO_WAIT_NV 0x8E14
  9579. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  9580. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  9581. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  9582. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  9583. #ifdef GL_GLEXT_PROTOTYPES
  9584. GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  9585. GLAPI void APIENTRY glEndConditionalRenderNV (void);
  9586. #endif
  9587. #endif /* GL_NV_conditional_render */
  9588. #ifndef GL_NV_conservative_raster
  9589. #define GL_NV_conservative_raster 1
  9590. #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
  9591. #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
  9592. #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
  9593. #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
  9594. typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
  9595. #ifdef GL_GLEXT_PROTOTYPES
  9596. GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
  9597. #endif
  9598. #endif /* GL_NV_conservative_raster */
  9599. #ifndef GL_NV_conservative_raster_dilate
  9600. #define GL_NV_conservative_raster_dilate 1
  9601. #define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379
  9602. #define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A
  9603. #define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B
  9604. typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value);
  9605. #ifdef GL_GLEXT_PROTOTYPES
  9606. GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value);
  9607. #endif
  9608. #endif /* GL_NV_conservative_raster_dilate */
  9609. #ifndef GL_NV_conservative_raster_pre_snap
  9610. #define GL_NV_conservative_raster_pre_snap 1
  9611. #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
  9612. #endif /* GL_NV_conservative_raster_pre_snap */
  9613. #ifndef GL_NV_conservative_raster_pre_snap_triangles
  9614. #define GL_NV_conservative_raster_pre_snap_triangles 1
  9615. #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
  9616. #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
  9617. #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
  9618. typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
  9619. #ifdef GL_GLEXT_PROTOTYPES
  9620. GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
  9621. #endif
  9622. #endif /* GL_NV_conservative_raster_pre_snap_triangles */
  9623. #ifndef GL_NV_conservative_raster_underestimation
  9624. #define GL_NV_conservative_raster_underestimation 1
  9625. #endif /* GL_NV_conservative_raster_underestimation */
  9626. #ifndef GL_NV_copy_depth_to_color
  9627. #define GL_NV_copy_depth_to_color 1
  9628. #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
  9629. #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
  9630. #endif /* GL_NV_copy_depth_to_color */
  9631. #ifndef GL_NV_copy_image
  9632. #define GL_NV_copy_image 1
  9633. 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);
  9634. #ifdef GL_GLEXT_PROTOTYPES
  9635. 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);
  9636. #endif
  9637. #endif /* GL_NV_copy_image */
  9638. #ifndef GL_NV_deep_texture3D
  9639. #define GL_NV_deep_texture3D 1
  9640. #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
  9641. #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
  9642. #endif /* GL_NV_deep_texture3D */
  9643. #ifndef GL_NV_depth_buffer_float
  9644. #define GL_NV_depth_buffer_float 1
  9645. #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
  9646. #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
  9647. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
  9648. #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
  9649. typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
  9650. typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
  9651. typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
  9652. #ifdef GL_GLEXT_PROTOTYPES
  9653. GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
  9654. GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
  9655. GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
  9656. #endif
  9657. #endif /* GL_NV_depth_buffer_float */
  9658. #ifndef GL_NV_depth_clamp
  9659. #define GL_NV_depth_clamp 1
  9660. #define GL_DEPTH_CLAMP_NV 0x864F
  9661. #endif /* GL_NV_depth_clamp */
  9662. #ifndef GL_NV_draw_texture
  9663. #define GL_NV_draw_texture 1
  9664. 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);
  9665. #ifdef GL_GLEXT_PROTOTYPES
  9666. 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);
  9667. #endif
  9668. #endif /* GL_NV_draw_texture */
  9669. #ifndef GL_NV_draw_vulkan_image
  9670. #define GL_NV_draw_vulkan_image 1
  9671. typedef void (APIENTRY *GLVULKANPROCNV)(void);
  9672. typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  9673. typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
  9674. typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
  9675. typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
  9676. typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
  9677. #ifdef GL_GLEXT_PROTOTYPES
  9678. GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  9679. GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name);
  9680. GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
  9681. GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
  9682. GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
  9683. #endif
  9684. #endif /* GL_NV_draw_vulkan_image */
  9685. #ifndef GL_NV_evaluators
  9686. #define GL_NV_evaluators 1
  9687. #define GL_EVAL_2D_NV 0x86C0
  9688. #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
  9689. #define GL_MAP_TESSELLATION_NV 0x86C2
  9690. #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
  9691. #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
  9692. #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  9693. #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
  9694. #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
  9695. #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
  9696. #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
  9697. #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
  9698. #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
  9699. #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
  9700. #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
  9701. #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
  9702. #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
  9703. #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
  9704. #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
  9705. #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
  9706. #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
  9707. #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
  9708. #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
  9709. #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
  9710. #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
  9711. typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
  9712. typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
  9713. typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  9714. typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
  9715. typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
  9716. typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
  9717. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  9718. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9719. typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  9720. #ifdef GL_GLEXT_PROTOTYPES
  9721. GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
  9722. GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
  9723. GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
  9724. GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
  9725. GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
  9726. GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
  9727. GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
  9728. GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9729. GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
  9730. #endif
  9731. #endif /* GL_NV_evaluators */
  9732. #ifndef GL_NV_explicit_multisample
  9733. #define GL_NV_explicit_multisample 1
  9734. #define GL_SAMPLE_POSITION_NV 0x8E50
  9735. #define GL_SAMPLE_MASK_NV 0x8E51
  9736. #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
  9737. #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
  9738. #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
  9739. #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
  9740. #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
  9741. #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
  9742. #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
  9743. #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
  9744. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
  9745. typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
  9746. typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
  9747. #ifdef GL_GLEXT_PROTOTYPES
  9748. GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
  9749. GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
  9750. GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
  9751. #endif
  9752. #endif /* GL_NV_explicit_multisample */
  9753. #ifndef GL_NV_fence
  9754. #define GL_NV_fence 1
  9755. #define GL_ALL_COMPLETED_NV 0x84F2
  9756. #define GL_FENCE_STATUS_NV 0x84F3
  9757. #define GL_FENCE_CONDITION_NV 0x84F4
  9758. typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  9759. typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  9760. typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  9761. typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  9762. typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  9763. typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  9764. typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  9765. #ifdef GL_GLEXT_PROTOTYPES
  9766. GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
  9767. GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
  9768. GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
  9769. GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
  9770. GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
  9771. GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
  9772. GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
  9773. #endif
  9774. #endif /* GL_NV_fence */
  9775. #ifndef GL_NV_fill_rectangle
  9776. #define GL_NV_fill_rectangle 1
  9777. #define GL_FILL_RECTANGLE_NV 0x933C
  9778. #endif /* GL_NV_fill_rectangle */
  9779. #ifndef GL_NV_float_buffer
  9780. #define GL_NV_float_buffer 1
  9781. #define GL_FLOAT_R_NV 0x8880
  9782. #define GL_FLOAT_RG_NV 0x8881
  9783. #define GL_FLOAT_RGB_NV 0x8882
  9784. #define GL_FLOAT_RGBA_NV 0x8883
  9785. #define GL_FLOAT_R16_NV 0x8884
  9786. #define GL_FLOAT_R32_NV 0x8885
  9787. #define GL_FLOAT_RG16_NV 0x8886
  9788. #define GL_FLOAT_RG32_NV 0x8887
  9789. #define GL_FLOAT_RGB16_NV 0x8888
  9790. #define GL_FLOAT_RGB32_NV 0x8889
  9791. #define GL_FLOAT_RGBA16_NV 0x888A
  9792. #define GL_FLOAT_RGBA32_NV 0x888B
  9793. #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
  9794. #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
  9795. #define GL_FLOAT_RGBA_MODE_NV 0x888E
  9796. #endif /* GL_NV_float_buffer */
  9797. #ifndef GL_NV_fog_distance
  9798. #define GL_NV_fog_distance 1
  9799. #define GL_FOG_DISTANCE_MODE_NV 0x855A
  9800. #define GL_EYE_RADIAL_NV 0x855B
  9801. #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
  9802. #endif /* GL_NV_fog_distance */
  9803. #ifndef GL_NV_fragment_coverage_to_color
  9804. #define GL_NV_fragment_coverage_to_color 1
  9805. #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
  9806. #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
  9807. typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
  9808. #ifdef GL_GLEXT_PROTOTYPES
  9809. GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);
  9810. #endif
  9811. #endif /* GL_NV_fragment_coverage_to_color */
  9812. #ifndef GL_NV_fragment_program
  9813. #define GL_NV_fragment_program 1
  9814. #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  9815. #define GL_FRAGMENT_PROGRAM_NV 0x8870
  9816. #define GL_MAX_TEXTURE_COORDS_NV 0x8871
  9817. #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
  9818. #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
  9819. #define GL_PROGRAM_ERROR_STRING_NV 0x8874
  9820. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9821. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  9822. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9823. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  9824. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  9825. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  9826. #ifdef GL_GLEXT_PROTOTYPES
  9827. GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9828. GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  9829. GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9830. GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  9831. GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  9832. GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  9833. #endif
  9834. #endif /* GL_NV_fragment_program */
  9835. #ifndef GL_NV_fragment_program2
  9836. #define GL_NV_fragment_program2 1
  9837. #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  9838. #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
  9839. #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
  9840. #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
  9841. #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
  9842. #endif /* GL_NV_fragment_program2 */
  9843. #ifndef GL_NV_fragment_program4
  9844. #define GL_NV_fragment_program4 1
  9845. #endif /* GL_NV_fragment_program4 */
  9846. #ifndef GL_NV_fragment_program_option
  9847. #define GL_NV_fragment_program_option 1
  9848. #endif /* GL_NV_fragment_program_option */
  9849. #ifndef GL_NV_fragment_shader_barycentric
  9850. #define GL_NV_fragment_shader_barycentric 1
  9851. #endif /* GL_NV_fragment_shader_barycentric */
  9852. #ifndef GL_NV_fragment_shader_interlock
  9853. #define GL_NV_fragment_shader_interlock 1
  9854. #endif /* GL_NV_fragment_shader_interlock */
  9855. #ifndef GL_NV_framebuffer_mixed_samples
  9856. #define GL_NV_framebuffer_mixed_samples 1
  9857. #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
  9858. #define GL_COLOR_SAMPLES_NV 0x8E20
  9859. #define GL_DEPTH_SAMPLES_NV 0x932D
  9860. #define GL_STENCIL_SAMPLES_NV 0x932E
  9861. #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
  9862. #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
  9863. #define GL_COVERAGE_MODULATION_NV 0x9332
  9864. #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
  9865. typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
  9866. typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v);
  9867. typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
  9868. #ifdef GL_GLEXT_PROTOTYPES
  9869. GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
  9870. GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v);
  9871. GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
  9872. #endif
  9873. #endif /* GL_NV_framebuffer_mixed_samples */
  9874. #ifndef GL_NV_framebuffer_multisample_coverage
  9875. #define GL_NV_framebuffer_multisample_coverage 1
  9876. #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
  9877. #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
  9878. #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
  9879. #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
  9880. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9881. #ifdef GL_GLEXT_PROTOTYPES
  9882. GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9883. #endif
  9884. #endif /* GL_NV_framebuffer_multisample_coverage */
  9885. #ifndef GL_NV_geometry_program4
  9886. #define GL_NV_geometry_program4 1
  9887. #define GL_GEOMETRY_PROGRAM_NV 0x8C26
  9888. #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
  9889. #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
  9890. typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
  9891. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  9892. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  9893. #ifdef GL_GLEXT_PROTOTYPES
  9894. GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
  9895. GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
  9896. GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  9897. #endif
  9898. #endif /* GL_NV_geometry_program4 */
  9899. #ifndef GL_NV_geometry_shader4
  9900. #define GL_NV_geometry_shader4 1
  9901. #endif /* GL_NV_geometry_shader4 */
  9902. #ifndef GL_NV_geometry_shader_passthrough
  9903. #define GL_NV_geometry_shader_passthrough 1
  9904. #endif /* GL_NV_geometry_shader_passthrough */
  9905. #ifndef GL_NV_gpu_multicast
  9906. #define GL_NV_gpu_multicast 1
  9907. #define GL_PER_GPU_STORAGE_BIT_NV 0x0800
  9908. #define GL_MULTICAST_GPUS_NV 0x92BA
  9909. #define GL_RENDER_GPU_MASK_NV 0x9558
  9910. #define GL_PER_GPU_STORAGE_NV 0x9548
  9911. #define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549
  9912. typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask);
  9913. typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  9914. typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  9915. typedef void (APIENTRYP PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) (GLuint srcGpu, GLbitfield dstGpuMask, 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);
  9916. typedef void (APIENTRYP PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  9917. typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  9918. typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) (void);
  9919. typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask);
  9920. typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint *params);
  9921. typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
  9922. typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
  9923. typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
  9924. #ifdef GL_GLEXT_PROTOTYPES
  9925. GLAPI void APIENTRY glRenderGpuMaskNV (GLbitfield mask);
  9926. GLAPI void APIENTRY glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  9927. GLAPI void APIENTRY glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  9928. GLAPI void APIENTRY glMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, 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);
  9929. GLAPI void APIENTRY glMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  9930. GLAPI void APIENTRY glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  9931. GLAPI void APIENTRY glMulticastBarrierNV (void);
  9932. GLAPI void APIENTRY glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask);
  9933. GLAPI void APIENTRY glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params);
  9934. GLAPI void APIENTRY glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
  9935. GLAPI void APIENTRY glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
  9936. GLAPI void APIENTRY glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
  9937. #endif
  9938. #endif /* GL_NV_gpu_multicast */
  9939. #ifndef GL_NV_gpu_program4
  9940. #define GL_NV_gpu_program4 1
  9941. #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
  9942. #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
  9943. #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
  9944. #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
  9945. #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
  9946. #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
  9947. #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
  9948. #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
  9949. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9950. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  9951. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9952. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9953. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  9954. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9955. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9956. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  9957. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9958. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9959. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  9960. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9961. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  9962. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  9963. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  9964. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  9965. #ifdef GL_GLEXT_PROTOTYPES
  9966. GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9967. GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  9968. GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9969. GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9970. GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  9971. GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9972. GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9973. GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  9974. GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9975. GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9976. GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  9977. GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9978. GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
  9979. GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  9980. GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
  9981. GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  9982. #endif
  9983. #endif /* GL_NV_gpu_program4 */
  9984. #ifndef GL_NV_gpu_program5
  9985. #define GL_NV_gpu_program5 1
  9986. #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
  9987. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
  9988. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
  9989. #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
  9990. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
  9991. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
  9992. #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
  9993. #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
  9994. typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
  9995. typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
  9996. #ifdef GL_GLEXT_PROTOTYPES
  9997. GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
  9998. GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
  9999. #endif
  10000. #endif /* GL_NV_gpu_program5 */
  10001. #ifndef GL_NV_gpu_program5_mem_extended
  10002. #define GL_NV_gpu_program5_mem_extended 1
  10003. #endif /* GL_NV_gpu_program5_mem_extended */
  10004. #ifndef GL_NV_gpu_shader5
  10005. #define GL_NV_gpu_shader5 1
  10006. #endif /* GL_NV_gpu_shader5 */
  10007. #ifndef GL_NV_half_float
  10008. #define GL_NV_half_float 1
  10009. typedef unsigned short GLhalfNV;
  10010. #define GL_HALF_FLOAT_NV 0x140B
  10011. typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
  10012. typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
  10013. typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10014. typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
  10015. typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10016. typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
  10017. typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  10018. typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
  10019. typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10020. typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
  10021. typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  10022. typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
  10023. typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
  10024. typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
  10025. typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
  10026. typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
  10027. typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10028. typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
  10029. typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10030. typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
  10031. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
  10032. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
  10033. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
  10034. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
  10035. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10036. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
  10037. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10038. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
  10039. typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
  10040. typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
  10041. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10042. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
  10043. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
  10044. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
  10045. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
  10046. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
  10047. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
  10048. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
  10049. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10050. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
  10051. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10052. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
  10053. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10054. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10055. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10056. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10057. #ifdef GL_GLEXT_PROTOTYPES
  10058. GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
  10059. GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
  10060. GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10061. GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
  10062. GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10063. GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
  10064. GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  10065. GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
  10066. GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10067. GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
  10068. GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  10069. GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
  10070. GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
  10071. GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
  10072. GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
  10073. GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
  10074. GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10075. GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
  10076. GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10077. GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
  10078. GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
  10079. GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
  10080. GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
  10081. GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
  10082. GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10083. GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
  10084. GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10085. GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
  10086. GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
  10087. GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
  10088. GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10089. GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
  10090. GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
  10091. GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
  10092. GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
  10093. GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
  10094. GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
  10095. GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
  10096. GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10097. GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
  10098. GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10099. GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
  10100. GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10101. GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10102. GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10103. GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10104. #endif
  10105. #endif /* GL_NV_half_float */
  10106. #ifndef GL_NV_internalformat_sample_query
  10107. #define GL_NV_internalformat_sample_query 1
  10108. #define GL_MULTISAMPLES_NV 0x9371
  10109. #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
  10110. #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
  10111. #define GL_CONFORMANT_NV 0x9374
  10112. typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
  10113. #ifdef GL_GLEXT_PROTOTYPES
  10114. GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
  10115. #endif
  10116. #endif /* GL_NV_internalformat_sample_query */
  10117. #ifndef GL_NV_light_max_exponent
  10118. #define GL_NV_light_max_exponent 1
  10119. #define GL_MAX_SHININESS_NV 0x8504
  10120. #define GL_MAX_SPOT_EXPONENT_NV 0x8505
  10121. #endif /* GL_NV_light_max_exponent */
  10122. #ifndef GL_NV_memory_attachment
  10123. #define GL_NV_memory_attachment 1
  10124. #define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
  10125. #define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
  10126. #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
  10127. #define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
  10128. #define GL_MEMORY_ATTACHABLE_NV 0x95A8
  10129. #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
  10130. #define GL_DETACHED_TEXTURES_NV 0x95AA
  10131. #define GL_DETACHED_BUFFERS_NV 0x95AB
  10132. #define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
  10133. #define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
  10134. typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
  10135. typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
  10136. typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
  10137. typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
  10138. typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
  10139. typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
  10140. #ifdef GL_GLEXT_PROTOTYPES
  10141. GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
  10142. GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
  10143. GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
  10144. GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
  10145. GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
  10146. GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
  10147. #endif
  10148. #endif /* GL_NV_memory_attachment */
  10149. #ifndef GL_NV_memory_object_sparse
  10150. #define GL_NV_memory_object_sparse 1
  10151. typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
  10152. typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
  10153. typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
  10154. typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
  10155. #ifdef GL_GLEXT_PROTOTYPES
  10156. GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
  10157. GLAPI void APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
  10158. GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
  10159. GLAPI void APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
  10160. #endif
  10161. #endif /* GL_NV_memory_object_sparse */
  10162. #ifndef GL_NV_mesh_shader
  10163. #define GL_NV_mesh_shader 1
  10164. #define GL_MESH_SHADER_NV 0x9559
  10165. #define GL_TASK_SHADER_NV 0x955A
  10166. #define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
  10167. #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
  10168. #define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
  10169. #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
  10170. #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
  10171. #define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
  10172. #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
  10173. #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
  10174. #define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
  10175. #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
  10176. #define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
  10177. #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
  10178. #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
  10179. #define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
  10180. #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
  10181. #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
  10182. #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
  10183. #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
  10184. #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
  10185. #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
  10186. #define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
  10187. #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
  10188. #define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
  10189. #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
  10190. #define GL_MAX_MESH_VIEWS_NV 0x9557
  10191. #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
  10192. #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
  10193. #define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
  10194. #define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
  10195. #define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
  10196. #define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
  10197. #define GL_MESH_VERTICES_OUT_NV 0x9579
  10198. #define GL_MESH_PRIMITIVES_OUT_NV 0x957A
  10199. #define GL_MESH_OUTPUT_TYPE_NV 0x957B
  10200. #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
  10201. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
  10202. #define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
  10203. #define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
  10204. #define GL_MESH_SHADER_BIT_NV 0x00000040
  10205. #define GL_TASK_SHADER_BIT_NV 0x00000080
  10206. #define GL_MESH_SUBROUTINE_NV 0x957C
  10207. #define GL_TASK_SUBROUTINE_NV 0x957D
  10208. #define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
  10209. #define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
  10210. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
  10211. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
  10212. typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
  10213. typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
  10214. typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
  10215. typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  10216. #ifdef GL_GLEXT_PROTOTYPES
  10217. GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
  10218. GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
  10219. GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
  10220. GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  10221. #endif
  10222. #endif /* GL_NV_mesh_shader */
  10223. #ifndef GL_NV_multisample_coverage
  10224. #define GL_NV_multisample_coverage 1
  10225. #endif /* GL_NV_multisample_coverage */
  10226. #ifndef GL_NV_multisample_filter_hint
  10227. #define GL_NV_multisample_filter_hint 1
  10228. #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
  10229. #endif /* GL_NV_multisample_filter_hint */
  10230. #ifndef GL_NV_occlusion_query
  10231. #define GL_NV_occlusion_query 1
  10232. #define GL_PIXEL_COUNTER_BITS_NV 0x8864
  10233. #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
  10234. #define GL_PIXEL_COUNT_NV 0x8866
  10235. #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
  10236. typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
  10237. typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
  10238. typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
  10239. typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
  10240. typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
  10241. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  10242. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
  10243. #ifdef GL_GLEXT_PROTOTYPES
  10244. GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
  10245. GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
  10246. GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
  10247. GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
  10248. GLAPI void APIENTRY glEndOcclusionQueryNV (void);
  10249. GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
  10250. GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
  10251. #endif
  10252. #endif /* GL_NV_occlusion_query */
  10253. #ifndef GL_NV_packed_depth_stencil
  10254. #define GL_NV_packed_depth_stencil 1
  10255. #define GL_DEPTH_STENCIL_NV 0x84F9
  10256. #define GL_UNSIGNED_INT_24_8_NV 0x84FA
  10257. #endif /* GL_NV_packed_depth_stencil */
  10258. #ifndef GL_NV_parameter_buffer_object
  10259. #define GL_NV_parameter_buffer_object 1
  10260. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
  10261. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
  10262. #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
  10263. #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
  10264. #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
  10265. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
  10266. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
  10267. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
  10268. #ifdef GL_GLEXT_PROTOTYPES
  10269. GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
  10270. GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
  10271. GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
  10272. #endif
  10273. #endif /* GL_NV_parameter_buffer_object */
  10274. #ifndef GL_NV_parameter_buffer_object2
  10275. #define GL_NV_parameter_buffer_object2 1
  10276. #endif /* GL_NV_parameter_buffer_object2 */
  10277. #ifndef GL_NV_path_rendering
  10278. #define GL_NV_path_rendering 1
  10279. #define GL_PATH_FORMAT_SVG_NV 0x9070
  10280. #define GL_PATH_FORMAT_PS_NV 0x9071
  10281. #define GL_STANDARD_FONT_NAME_NV 0x9072
  10282. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  10283. #define GL_FILE_NAME_NV 0x9074
  10284. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  10285. #define GL_PATH_END_CAPS_NV 0x9076
  10286. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  10287. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  10288. #define GL_PATH_JOIN_STYLE_NV 0x9079
  10289. #define GL_PATH_MITER_LIMIT_NV 0x907A
  10290. #define GL_PATH_DASH_CAPS_NV 0x907B
  10291. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  10292. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  10293. #define GL_PATH_DASH_OFFSET_NV 0x907E
  10294. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  10295. #define GL_PATH_FILL_MODE_NV 0x9080
  10296. #define GL_PATH_FILL_MASK_NV 0x9081
  10297. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  10298. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  10299. #define GL_PATH_STROKE_MASK_NV 0x9084
  10300. #define GL_COUNT_UP_NV 0x9088
  10301. #define GL_COUNT_DOWN_NV 0x9089
  10302. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  10303. #define GL_CONVEX_HULL_NV 0x908B
  10304. #define GL_BOUNDING_BOX_NV 0x908D
  10305. #define GL_TRANSLATE_X_NV 0x908E
  10306. #define GL_TRANSLATE_Y_NV 0x908F
  10307. #define GL_TRANSLATE_2D_NV 0x9090
  10308. #define GL_TRANSLATE_3D_NV 0x9091
  10309. #define GL_AFFINE_2D_NV 0x9092
  10310. #define GL_AFFINE_3D_NV 0x9094
  10311. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  10312. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  10313. #define GL_UTF8_NV 0x909A
  10314. #define GL_UTF16_NV 0x909B
  10315. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  10316. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  10317. #define GL_PATH_COORD_COUNT_NV 0x909E
  10318. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  10319. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  10320. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  10321. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  10322. #define GL_SQUARE_NV 0x90A3
  10323. #define GL_ROUND_NV 0x90A4
  10324. #define GL_TRIANGULAR_NV 0x90A5
  10325. #define GL_BEVEL_NV 0x90A6
  10326. #define GL_MITER_REVERT_NV 0x90A7
  10327. #define GL_MITER_TRUNCATE_NV 0x90A8
  10328. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  10329. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  10330. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  10331. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  10332. #define GL_ADJACENT_PAIRS_NV 0x90AE
  10333. #define GL_FIRST_TO_REST_NV 0x90AF
  10334. #define GL_PATH_GEN_MODE_NV 0x90B0
  10335. #define GL_PATH_GEN_COEFF_NV 0x90B1
  10336. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  10337. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  10338. #define GL_PATH_STENCIL_REF_NV 0x90B8
  10339. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  10340. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  10341. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  10342. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  10343. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  10344. #define GL_MOVE_TO_RESETS_NV 0x90B5
  10345. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  10346. #define GL_CLOSE_PATH_NV 0x00
  10347. #define GL_MOVE_TO_NV 0x02
  10348. #define GL_RELATIVE_MOVE_TO_NV 0x03
  10349. #define GL_LINE_TO_NV 0x04
  10350. #define GL_RELATIVE_LINE_TO_NV 0x05
  10351. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  10352. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  10353. #define GL_VERTICAL_LINE_TO_NV 0x08
  10354. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  10355. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  10356. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  10357. #define GL_CUBIC_CURVE_TO_NV 0x0C
  10358. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  10359. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  10360. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  10361. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  10362. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  10363. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  10364. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  10365. #define GL_SMALL_CW_ARC_TO_NV 0x14
  10366. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  10367. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  10368. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  10369. #define GL_LARGE_CW_ARC_TO_NV 0x18
  10370. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  10371. #define GL_RESTART_PATH_NV 0xF0
  10372. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  10373. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  10374. #define GL_RECT_NV 0xF6
  10375. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  10376. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  10377. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  10378. #define GL_ARC_TO_NV 0xFE
  10379. #define GL_RELATIVE_ARC_TO_NV 0xFF
  10380. #define GL_BOLD_BIT_NV 0x01
  10381. #define GL_ITALIC_BIT_NV 0x02
  10382. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  10383. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  10384. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  10385. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  10386. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  10387. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  10388. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  10389. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  10390. #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
  10391. #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
  10392. #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
  10393. #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
  10394. #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
  10395. #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
  10396. #define GL_FONT_ASCENDER_BIT_NV 0x00200000
  10397. #define GL_FONT_DESCENDER_BIT_NV 0x00400000
  10398. #define GL_FONT_HEIGHT_BIT_NV 0x00800000
  10399. #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
  10400. #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
  10401. #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
  10402. #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
  10403. #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
  10404. #define GL_ROUNDED_RECT_NV 0xE8
  10405. #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
  10406. #define GL_ROUNDED_RECT2_NV 0xEA
  10407. #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
  10408. #define GL_ROUNDED_RECT4_NV 0xEC
  10409. #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
  10410. #define GL_ROUNDED_RECT8_NV 0xEE
  10411. #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
  10412. #define GL_RELATIVE_RECT_NV 0xF7
  10413. #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
  10414. #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
  10415. #define GL_FONT_UNAVAILABLE_NV 0x936A
  10416. #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
  10417. #define GL_CONIC_CURVE_TO_NV 0x1A
  10418. #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
  10419. #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
  10420. #define GL_STANDARD_FONT_FORMAT_NV 0x936C
  10421. #define GL_2_BYTES_NV 0x1407
  10422. #define GL_3_BYTES_NV 0x1408
  10423. #define GL_4_BYTES_NV 0x1409
  10424. #define GL_EYE_LINEAR_NV 0x2400
  10425. #define GL_OBJECT_LINEAR_NV 0x2401
  10426. #define GL_CONSTANT_NV 0x8576
  10427. #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
  10428. #define GL_PRIMARY_COLOR_NV 0x852C
  10429. #define GL_SECONDARY_COLOR_NV 0x852D
  10430. #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
  10431. #define GL_PATH_PROJECTION_NV 0x1701
  10432. #define GL_PATH_MODELVIEW_NV 0x1700
  10433. #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
  10434. #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
  10435. #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
  10436. #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
  10437. #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
  10438. #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
  10439. #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
  10440. #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
  10441. #define GL_FRAGMENT_INPUT_NV 0x936D
  10442. typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
  10443. typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  10444. typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
  10445. typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  10446. typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  10447. typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  10448. typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  10449. typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
  10450. 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);
  10451. typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10452. typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  10453. typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  10454. typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  10455. typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  10456. typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
  10457. typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  10458. typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
  10459. typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  10460. typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  10461. typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  10462. typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  10463. typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  10464. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  10465. typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10466. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10467. typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
  10468. typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  10469. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
  10470. typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10471. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10472. typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
  10473. typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
  10474. typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
  10475. typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
  10476. typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
  10477. typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  10478. typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  10479. typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  10480. typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  10481. typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  10482. typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  10483. typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  10484. typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10485. typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10486. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10487. typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10488. typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10489. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10490. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  10491. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  10492. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10493. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10494. typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
  10495. typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10496. typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10497. typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  10498. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
  10499. typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  10500. typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  10501. typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
  10502. typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
  10503. typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
  10504. typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
  10505. typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
  10506. #ifdef GL_GLEXT_PROTOTYPES
  10507. GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
  10508. GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
  10509. GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
  10510. GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  10511. GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  10512. GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  10513. GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  10514. GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
  10515. 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);
  10516. GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10517. GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  10518. GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
  10519. GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  10520. GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  10521. GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
  10522. GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
  10523. GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
  10524. GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
  10525. GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  10526. GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
  10527. GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
  10528. GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
  10529. GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
  10530. GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10531. GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10532. GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
  10533. GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
  10534. GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
  10535. GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10536. GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10537. GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
  10538. GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
  10539. GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
  10540. GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
  10541. GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
  10542. GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  10543. GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  10544. GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  10545. GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  10546. GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
  10547. GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
  10548. GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  10549. GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
  10550. GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
  10551. GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  10552. GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
  10553. GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
  10554. GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  10555. GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  10556. GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  10557. GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10558. GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10559. GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
  10560. GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10561. GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10562. GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  10563. GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
  10564. GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  10565. GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  10566. GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
  10567. GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
  10568. GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
  10569. GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
  10570. GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
  10571. #endif
  10572. #endif /* GL_NV_path_rendering */
  10573. #ifndef GL_NV_path_rendering_shared_edge
  10574. #define GL_NV_path_rendering_shared_edge 1
  10575. #define GL_SHARED_EDGE_NV 0xC0
  10576. #endif /* GL_NV_path_rendering_shared_edge */
  10577. #ifndef GL_NV_pixel_data_range
  10578. #define GL_NV_pixel_data_range 1
  10579. #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
  10580. #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
  10581. #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  10582. #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  10583. #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  10584. #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  10585. typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
  10586. typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
  10587. #ifdef GL_GLEXT_PROTOTYPES
  10588. GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
  10589. GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
  10590. #endif
  10591. #endif /* GL_NV_pixel_data_range */
  10592. #ifndef GL_NV_point_sprite
  10593. #define GL_NV_point_sprite 1
  10594. #define GL_POINT_SPRITE_NV 0x8861
  10595. #define GL_COORD_REPLACE_NV 0x8862
  10596. #define GL_POINT_SPRITE_R_MODE_NV 0x8863
  10597. typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
  10598. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  10599. #ifdef GL_GLEXT_PROTOTYPES
  10600. GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
  10601. GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
  10602. #endif
  10603. #endif /* GL_NV_point_sprite */
  10604. #ifndef GL_NV_present_video
  10605. #define GL_NV_present_video 1
  10606. #define GL_FRAME_NV 0x8E26
  10607. #define GL_FIELDS_NV 0x8E27
  10608. #define GL_CURRENT_TIME_NV 0x8E28
  10609. #define GL_NUM_FILL_STREAMS_NV 0x8E29
  10610. #define GL_PRESENT_TIME_NV 0x8E2A
  10611. #define GL_PRESENT_DURATION_NV 0x8E2B
  10612. 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);
  10613. 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);
  10614. typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
  10615. typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
  10616. typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
  10617. typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  10618. #ifdef GL_GLEXT_PROTOTYPES
  10619. 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);
  10620. 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);
  10621. GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
  10622. GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
  10623. GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
  10624. GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  10625. #endif
  10626. #endif /* GL_NV_present_video */
  10627. #ifndef GL_NV_primitive_restart
  10628. #define GL_NV_primitive_restart 1
  10629. #define GL_PRIMITIVE_RESTART_NV 0x8558
  10630. #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
  10631. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
  10632. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
  10633. #ifdef GL_GLEXT_PROTOTYPES
  10634. GLAPI void APIENTRY glPrimitiveRestartNV (void);
  10635. GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
  10636. #endif
  10637. #endif /* GL_NV_primitive_restart */
  10638. #ifndef GL_NV_primitive_shading_rate
  10639. #define GL_NV_primitive_shading_rate 1
  10640. #define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
  10641. #define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
  10642. #endif /* GL_NV_primitive_shading_rate */
  10643. #ifndef GL_NV_query_resource
  10644. #define GL_NV_query_resource 1
  10645. #define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540
  10646. #define GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV 0x9542
  10647. #define GL_QUERY_RESOURCE_SYS_RESERVED_NV 0x9544
  10648. #define GL_QUERY_RESOURCE_TEXTURE_NV 0x9545
  10649. #define GL_QUERY_RESOURCE_RENDERBUFFER_NV 0x9546
  10650. #define GL_QUERY_RESOURCE_BUFFEROBJECT_NV 0x9547
  10651. typedef GLint (APIENTRYP PFNGLQUERYRESOURCENVPROC) (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
  10652. #ifdef GL_GLEXT_PROTOTYPES
  10653. GLAPI GLint APIENTRY glQueryResourceNV (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
  10654. #endif
  10655. #endif /* GL_NV_query_resource */
  10656. #ifndef GL_NV_query_resource_tag
  10657. #define GL_NV_query_resource_tag 1
  10658. typedef void (APIENTRYP PFNGLGENQUERYRESOURCETAGNVPROC) (GLsizei n, GLint *tagIds);
  10659. typedef void (APIENTRYP PFNGLDELETEQUERYRESOURCETAGNVPROC) (GLsizei n, const GLint *tagIds);
  10660. typedef void (APIENTRYP PFNGLQUERYRESOURCETAGNVPROC) (GLint tagId, const GLchar *tagString);
  10661. #ifdef GL_GLEXT_PROTOTYPES
  10662. GLAPI void APIENTRY glGenQueryResourceTagNV (GLsizei n, GLint *tagIds);
  10663. GLAPI void APIENTRY glDeleteQueryResourceTagNV (GLsizei n, const GLint *tagIds);
  10664. GLAPI void APIENTRY glQueryResourceTagNV (GLint tagId, const GLchar *tagString);
  10665. #endif
  10666. #endif /* GL_NV_query_resource_tag */
  10667. #ifndef GL_NV_register_combiners
  10668. #define GL_NV_register_combiners 1
  10669. #define GL_REGISTER_COMBINERS_NV 0x8522
  10670. #define GL_VARIABLE_A_NV 0x8523
  10671. #define GL_VARIABLE_B_NV 0x8524
  10672. #define GL_VARIABLE_C_NV 0x8525
  10673. #define GL_VARIABLE_D_NV 0x8526
  10674. #define GL_VARIABLE_E_NV 0x8527
  10675. #define GL_VARIABLE_F_NV 0x8528
  10676. #define GL_VARIABLE_G_NV 0x8529
  10677. #define GL_CONSTANT_COLOR0_NV 0x852A
  10678. #define GL_CONSTANT_COLOR1_NV 0x852B
  10679. #define GL_SPARE0_NV 0x852E
  10680. #define GL_SPARE1_NV 0x852F
  10681. #define GL_DISCARD_NV 0x8530
  10682. #define GL_E_TIMES_F_NV 0x8531
  10683. #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  10684. #define GL_UNSIGNED_IDENTITY_NV 0x8536
  10685. #define GL_UNSIGNED_INVERT_NV 0x8537
  10686. #define GL_EXPAND_NORMAL_NV 0x8538
  10687. #define GL_EXPAND_NEGATE_NV 0x8539
  10688. #define GL_HALF_BIAS_NORMAL_NV 0x853A
  10689. #define GL_HALF_BIAS_NEGATE_NV 0x853B
  10690. #define GL_SIGNED_IDENTITY_NV 0x853C
  10691. #define GL_SIGNED_NEGATE_NV 0x853D
  10692. #define GL_SCALE_BY_TWO_NV 0x853E
  10693. #define GL_SCALE_BY_FOUR_NV 0x853F
  10694. #define GL_SCALE_BY_ONE_HALF_NV 0x8540
  10695. #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
  10696. #define GL_COMBINER_INPUT_NV 0x8542
  10697. #define GL_COMBINER_MAPPING_NV 0x8543
  10698. #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
  10699. #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
  10700. #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
  10701. #define GL_COMBINER_MUX_SUM_NV 0x8547
  10702. #define GL_COMBINER_SCALE_NV 0x8548
  10703. #define GL_COMBINER_BIAS_NV 0x8549
  10704. #define GL_COMBINER_AB_OUTPUT_NV 0x854A
  10705. #define GL_COMBINER_CD_OUTPUT_NV 0x854B
  10706. #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
  10707. #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
  10708. #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
  10709. #define GL_COLOR_SUM_CLAMP_NV 0x854F
  10710. #define GL_COMBINER0_NV 0x8550
  10711. #define GL_COMBINER1_NV 0x8551
  10712. #define GL_COMBINER2_NV 0x8552
  10713. #define GL_COMBINER3_NV 0x8553
  10714. #define GL_COMBINER4_NV 0x8554
  10715. #define GL_COMBINER5_NV 0x8555
  10716. #define GL_COMBINER6_NV 0x8556
  10717. #define GL_COMBINER7_NV 0x8557
  10718. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  10719. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  10720. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  10721. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  10722. typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10723. typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  10724. typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10725. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  10726. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  10727. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  10728. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  10729. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  10730. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  10731. #ifdef GL_GLEXT_PROTOTYPES
  10732. GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
  10733. GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
  10734. GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
  10735. GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
  10736. GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10737. GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  10738. GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10739. GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  10740. GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  10741. GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  10742. GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  10743. GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
  10744. GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
  10745. #endif
  10746. #endif /* GL_NV_register_combiners */
  10747. #ifndef GL_NV_register_combiners2
  10748. #define GL_NV_register_combiners2 1
  10749. #define GL_PER_STAGE_CONSTANTS_NV 0x8535
  10750. typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
  10751. typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
  10752. #ifdef GL_GLEXT_PROTOTYPES
  10753. GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
  10754. GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
  10755. #endif
  10756. #endif /* GL_NV_register_combiners2 */
  10757. #ifndef GL_NV_representative_fragment_test
  10758. #define GL_NV_representative_fragment_test 1
  10759. #define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
  10760. #endif /* GL_NV_representative_fragment_test */
  10761. #ifndef GL_NV_robustness_video_memory_purge
  10762. #define GL_NV_robustness_video_memory_purge 1
  10763. #define GL_PURGED_CONTEXT_RESET_NV 0x92BB
  10764. #endif /* GL_NV_robustness_video_memory_purge */
  10765. #ifndef GL_NV_sample_locations
  10766. #define GL_NV_sample_locations 1
  10767. #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
  10768. #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
  10769. #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
  10770. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
  10771. #define GL_SAMPLE_LOCATION_NV 0x8E50
  10772. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
  10773. #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
  10774. #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
  10775. typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  10776. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  10777. typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
  10778. #ifdef GL_GLEXT_PROTOTYPES
  10779. GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  10780. GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  10781. GLAPI void APIENTRY glResolveDepthValuesNV (void);
  10782. #endif
  10783. #endif /* GL_NV_sample_locations */
  10784. #ifndef GL_NV_sample_mask_override_coverage
  10785. #define GL_NV_sample_mask_override_coverage 1
  10786. #endif /* GL_NV_sample_mask_override_coverage */
  10787. #ifndef GL_NV_scissor_exclusive
  10788. #define GL_NV_scissor_exclusive 1
  10789. #define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
  10790. #define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
  10791. typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
  10792. typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
  10793. #ifdef GL_GLEXT_PROTOTYPES
  10794. GLAPI void APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height);
  10795. GLAPI void APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v);
  10796. #endif
  10797. #endif /* GL_NV_scissor_exclusive */
  10798. #ifndef GL_NV_shader_atomic_counters
  10799. #define GL_NV_shader_atomic_counters 1
  10800. #endif /* GL_NV_shader_atomic_counters */
  10801. #ifndef GL_NV_shader_atomic_float
  10802. #define GL_NV_shader_atomic_float 1
  10803. #endif /* GL_NV_shader_atomic_float */
  10804. #ifndef GL_NV_shader_atomic_float64
  10805. #define GL_NV_shader_atomic_float64 1
  10806. #endif /* GL_NV_shader_atomic_float64 */
  10807. #ifndef GL_NV_shader_atomic_fp16_vector
  10808. #define GL_NV_shader_atomic_fp16_vector 1
  10809. #endif /* GL_NV_shader_atomic_fp16_vector */
  10810. #ifndef GL_NV_shader_atomic_int64
  10811. #define GL_NV_shader_atomic_int64 1
  10812. #endif /* GL_NV_shader_atomic_int64 */
  10813. #ifndef GL_NV_shader_buffer_load
  10814. #define GL_NV_shader_buffer_load 1
  10815. #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
  10816. #define GL_GPU_ADDRESS_NV 0x8F34
  10817. #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
  10818. typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
  10819. typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
  10820. typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
  10821. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
  10822. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
  10823. typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
  10824. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
  10825. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
  10826. typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
  10827. typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
  10828. typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  10829. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
  10830. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10831. #ifdef GL_GLEXT_PROTOTYPES
  10832. GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
  10833. GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
  10834. GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
  10835. GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
  10836. GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
  10837. GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
  10838. GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
  10839. GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
  10840. GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
  10841. GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
  10842. GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  10843. GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
  10844. GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10845. #endif
  10846. #endif /* GL_NV_shader_buffer_load */
  10847. #ifndef GL_NV_shader_buffer_store
  10848. #define GL_NV_shader_buffer_store 1
  10849. #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
  10850. #endif /* GL_NV_shader_buffer_store */
  10851. #ifndef GL_NV_shader_storage_buffer_object
  10852. #define GL_NV_shader_storage_buffer_object 1
  10853. #endif /* GL_NV_shader_storage_buffer_object */
  10854. #ifndef GL_NV_shader_subgroup_partitioned
  10855. #define GL_NV_shader_subgroup_partitioned 1
  10856. #define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
  10857. #endif /* GL_NV_shader_subgroup_partitioned */
  10858. #ifndef GL_NV_shader_texture_footprint
  10859. #define GL_NV_shader_texture_footprint 1
  10860. #endif /* GL_NV_shader_texture_footprint */
  10861. #ifndef GL_NV_shader_thread_group
  10862. #define GL_NV_shader_thread_group 1
  10863. #define GL_WARP_SIZE_NV 0x9339
  10864. #define GL_WARPS_PER_SM_NV 0x933A
  10865. #define GL_SM_COUNT_NV 0x933B
  10866. #endif /* GL_NV_shader_thread_group */
  10867. #ifndef GL_NV_shader_thread_shuffle
  10868. #define GL_NV_shader_thread_shuffle 1
  10869. #endif /* GL_NV_shader_thread_shuffle */
  10870. #ifndef GL_NV_shading_rate_image
  10871. #define GL_NV_shading_rate_image 1
  10872. #define GL_SHADING_RATE_IMAGE_NV 0x9563
  10873. #define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
  10874. #define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
  10875. #define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
  10876. #define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
  10877. #define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
  10878. #define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
  10879. #define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
  10880. #define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
  10881. #define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
  10882. #define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
  10883. #define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
  10884. #define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
  10885. #define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
  10886. #define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
  10887. #define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
  10888. #define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
  10889. #define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
  10890. #define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
  10891. #define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
  10892. #define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
  10893. typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture);
  10894. typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate);
  10895. typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location);
  10896. typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize);
  10897. typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
  10898. typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order);
  10899. typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations);
  10900. #ifdef GL_GLEXT_PROTOTYPES
  10901. GLAPI void APIENTRY glBindShadingRateImageNV (GLuint texture);
  10902. GLAPI void APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate);
  10903. GLAPI void APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location);
  10904. GLAPI void APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize);
  10905. GLAPI void APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
  10906. GLAPI void APIENTRY glShadingRateSampleOrderNV (GLenum order);
  10907. GLAPI void APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations);
  10908. #endif
  10909. #endif /* GL_NV_shading_rate_image */
  10910. #ifndef GL_NV_stereo_view_rendering
  10911. #define GL_NV_stereo_view_rendering 1
  10912. #endif /* GL_NV_stereo_view_rendering */
  10913. #ifndef GL_NV_tessellation_program5
  10914. #define GL_NV_tessellation_program5 1
  10915. #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
  10916. #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
  10917. #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
  10918. #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
  10919. #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
  10920. #endif /* GL_NV_tessellation_program5 */
  10921. #ifndef GL_NV_texgen_emboss
  10922. #define GL_NV_texgen_emboss 1
  10923. #define GL_EMBOSS_LIGHT_NV 0x855D
  10924. #define GL_EMBOSS_CONSTANT_NV 0x855E
  10925. #define GL_EMBOSS_MAP_NV 0x855F
  10926. #endif /* GL_NV_texgen_emboss */
  10927. #ifndef GL_NV_texgen_reflection
  10928. #define GL_NV_texgen_reflection 1
  10929. #define GL_NORMAL_MAP_NV 0x8511
  10930. #define GL_REFLECTION_MAP_NV 0x8512
  10931. #endif /* GL_NV_texgen_reflection */
  10932. #ifndef GL_NV_texture_barrier
  10933. #define GL_NV_texture_barrier 1
  10934. typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
  10935. #ifdef GL_GLEXT_PROTOTYPES
  10936. GLAPI void APIENTRY glTextureBarrierNV (void);
  10937. #endif
  10938. #endif /* GL_NV_texture_barrier */
  10939. #ifndef GL_NV_texture_compression_vtc
  10940. #define GL_NV_texture_compression_vtc 1
  10941. #endif /* GL_NV_texture_compression_vtc */
  10942. #ifndef GL_NV_texture_env_combine4
  10943. #define GL_NV_texture_env_combine4 1
  10944. #define GL_COMBINE4_NV 0x8503
  10945. #define GL_SOURCE3_RGB_NV 0x8583
  10946. #define GL_SOURCE3_ALPHA_NV 0x858B
  10947. #define GL_OPERAND3_RGB_NV 0x8593
  10948. #define GL_OPERAND3_ALPHA_NV 0x859B
  10949. #endif /* GL_NV_texture_env_combine4 */
  10950. #ifndef GL_NV_texture_expand_normal
  10951. #define GL_NV_texture_expand_normal 1
  10952. #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  10953. #endif /* GL_NV_texture_expand_normal */
  10954. #ifndef GL_NV_texture_multisample
  10955. #define GL_NV_texture_multisample 1
  10956. #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
  10957. #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
  10958. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10959. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10960. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10961. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10962. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10963. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10964. #ifdef GL_GLEXT_PROTOTYPES
  10965. GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10966. GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10967. GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10968. GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10969. GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10970. GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10971. #endif
  10972. #endif /* GL_NV_texture_multisample */
  10973. #ifndef GL_NV_texture_rectangle
  10974. #define GL_NV_texture_rectangle 1
  10975. #define GL_TEXTURE_RECTANGLE_NV 0x84F5
  10976. #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
  10977. #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
  10978. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
  10979. #endif /* GL_NV_texture_rectangle */
  10980. #ifndef GL_NV_texture_rectangle_compressed
  10981. #define GL_NV_texture_rectangle_compressed 1
  10982. #endif /* GL_NV_texture_rectangle_compressed */
  10983. #ifndef GL_NV_texture_shader
  10984. #define GL_NV_texture_shader 1
  10985. #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
  10986. #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  10987. #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  10988. #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  10989. #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
  10990. #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
  10991. #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
  10992. #define GL_SHADER_CONSISTENT_NV 0x86DD
  10993. #define GL_TEXTURE_SHADER_NV 0x86DE
  10994. #define GL_SHADER_OPERATION_NV 0x86DF
  10995. #define GL_CULL_MODES_NV 0x86E0
  10996. #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
  10997. #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
  10998. #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
  10999. #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
  11000. #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
  11001. #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
  11002. #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
  11003. #define GL_CONST_EYE_NV 0x86E5
  11004. #define GL_PASS_THROUGH_NV 0x86E6
  11005. #define GL_CULL_FRAGMENT_NV 0x86E7
  11006. #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
  11007. #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
  11008. #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
  11009. #define GL_DOT_PRODUCT_NV 0x86EC
  11010. #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
  11011. #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
  11012. #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  11013. #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  11014. #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  11015. #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  11016. #define GL_HILO_NV 0x86F4
  11017. #define GL_DSDT_NV 0x86F5
  11018. #define GL_DSDT_MAG_NV 0x86F6
  11019. #define GL_DSDT_MAG_VIB_NV 0x86F7
  11020. #define GL_HILO16_NV 0x86F8
  11021. #define GL_SIGNED_HILO_NV 0x86F9
  11022. #define GL_SIGNED_HILO16_NV 0x86FA
  11023. #define GL_SIGNED_RGBA_NV 0x86FB
  11024. #define GL_SIGNED_RGBA8_NV 0x86FC
  11025. #define GL_SIGNED_RGB_NV 0x86FE
  11026. #define GL_SIGNED_RGB8_NV 0x86FF
  11027. #define GL_SIGNED_LUMINANCE_NV 0x8701
  11028. #define GL_SIGNED_LUMINANCE8_NV 0x8702
  11029. #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
  11030. #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
  11031. #define GL_SIGNED_ALPHA_NV 0x8705
  11032. #define GL_SIGNED_ALPHA8_NV 0x8706
  11033. #define GL_SIGNED_INTENSITY_NV 0x8707
  11034. #define GL_SIGNED_INTENSITY8_NV 0x8708
  11035. #define GL_DSDT8_NV 0x8709
  11036. #define GL_DSDT8_MAG8_NV 0x870A
  11037. #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
  11038. #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
  11039. #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  11040. #define GL_HI_SCALE_NV 0x870E
  11041. #define GL_LO_SCALE_NV 0x870F
  11042. #define GL_DS_SCALE_NV 0x8710
  11043. #define GL_DT_SCALE_NV 0x8711
  11044. #define GL_MAGNITUDE_SCALE_NV 0x8712
  11045. #define GL_VIBRANCE_SCALE_NV 0x8713
  11046. #define GL_HI_BIAS_NV 0x8714
  11047. #define GL_LO_BIAS_NV 0x8715
  11048. #define GL_DS_BIAS_NV 0x8716
  11049. #define GL_DT_BIAS_NV 0x8717
  11050. #define GL_MAGNITUDE_BIAS_NV 0x8718
  11051. #define GL_VIBRANCE_BIAS_NV 0x8719
  11052. #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
  11053. #define GL_TEXTURE_HI_SIZE_NV 0x871B
  11054. #define GL_TEXTURE_LO_SIZE_NV 0x871C
  11055. #define GL_TEXTURE_DS_SIZE_NV 0x871D
  11056. #define GL_TEXTURE_DT_SIZE_NV 0x871E
  11057. #define GL_TEXTURE_MAG_SIZE_NV 0x871F
  11058. #endif /* GL_NV_texture_shader */
  11059. #ifndef GL_NV_texture_shader2
  11060. #define GL_NV_texture_shader2 1
  11061. #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
  11062. #endif /* GL_NV_texture_shader2 */
  11063. #ifndef GL_NV_texture_shader3
  11064. #define GL_NV_texture_shader3 1
  11065. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  11066. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  11067. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  11068. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  11069. #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
  11070. #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  11071. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  11072. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  11073. #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
  11074. #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
  11075. #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  11076. #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
  11077. #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
  11078. #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  11079. #define GL_HILO8_NV 0x885E
  11080. #define GL_SIGNED_HILO8_NV 0x885F
  11081. #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
  11082. #endif /* GL_NV_texture_shader3 */
  11083. #ifndef GL_NV_timeline_semaphore
  11084. #define GL_NV_timeline_semaphore 1
  11085. #define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595
  11086. #define GL_SEMAPHORE_TYPE_NV 0x95B3
  11087. #define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4
  11088. #define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5
  11089. #define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6
  11090. typedef void (APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores);
  11091. typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params);
  11092. typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params);
  11093. #ifdef GL_GLEXT_PROTOTYPES
  11094. GLAPI void APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores);
  11095. GLAPI void APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params);
  11096. GLAPI void APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params);
  11097. #endif
  11098. #endif /* GL_NV_timeline_semaphore */
  11099. #ifndef GL_NV_transform_feedback
  11100. #define GL_NV_transform_feedback 1
  11101. #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
  11102. #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
  11103. #define GL_TEXTURE_COORD_NV 0x8C79
  11104. #define GL_CLIP_DISTANCE_NV 0x8C7A
  11105. #define GL_VERTEX_ID_NV 0x8C7B
  11106. #define GL_PRIMITIVE_ID_NV 0x8C7C
  11107. #define GL_GENERIC_ATTRIB_NV 0x8C7D
  11108. #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
  11109. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
  11110. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
  11111. #define GL_ACTIVE_VARYINGS_NV 0x8C81
  11112. #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
  11113. #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
  11114. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
  11115. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
  11116. #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
  11117. #define GL_PRIMITIVES_GENERATED_NV 0x8C87
  11118. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
  11119. #define GL_RASTERIZER_DISCARD_NV 0x8C89
  11120. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
  11121. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
  11122. #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
  11123. #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
  11124. #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
  11125. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
  11126. #define GL_LAYER_NV 0x8DAA
  11127. #define GL_NEXT_BUFFER_NV -2
  11128. #define GL_SKIP_COMPONENTS4_NV -3
  11129. #define GL_SKIP_COMPONENTS3_NV -4
  11130. #define GL_SKIP_COMPONENTS2_NV -5
  11131. #define GL_SKIP_COMPONENTS1_NV -6
  11132. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
  11133. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
  11134. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLenum bufferMode);
  11135. typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  11136. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  11137. typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
  11138. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  11139. typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
  11140. typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
  11141. typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  11142. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
  11143. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  11144. #ifdef GL_GLEXT_PROTOTYPES
  11145. GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
  11146. GLAPI void APIENTRY glEndTransformFeedbackNV (void);
  11147. GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLsizei count, const GLint *attribs, GLenum bufferMode);
  11148. GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  11149. GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  11150. GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
  11151. GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  11152. GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
  11153. GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
  11154. GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  11155. GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
  11156. GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  11157. #endif
  11158. #endif /* GL_NV_transform_feedback */
  11159. #ifndef GL_NV_transform_feedback2
  11160. #define GL_NV_transform_feedback2 1
  11161. #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
  11162. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
  11163. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
  11164. #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
  11165. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
  11166. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
  11167. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
  11168. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
  11169. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
  11170. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
  11171. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
  11172. #ifdef GL_GLEXT_PROTOTYPES
  11173. GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
  11174. GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
  11175. GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
  11176. GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
  11177. GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
  11178. GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
  11179. GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
  11180. #endif
  11181. #endif /* GL_NV_transform_feedback2 */
  11182. #ifndef GL_NV_uniform_buffer_unified_memory
  11183. #define GL_NV_uniform_buffer_unified_memory 1
  11184. #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
  11185. #define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F
  11186. #define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370
  11187. #endif /* GL_NV_uniform_buffer_unified_memory */
  11188. #ifndef GL_NV_vdpau_interop
  11189. #define GL_NV_vdpau_interop 1
  11190. typedef GLintptr GLvdpauSurfaceNV;
  11191. #define GL_SURFACE_STATE_NV 0x86EB
  11192. #define GL_SURFACE_REGISTERED_NV 0x86FD
  11193. #define GL_SURFACE_MAPPED_NV 0x8700
  11194. #define GL_WRITE_DISCARD_NV 0x88BE
  11195. typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
  11196. typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
  11197. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11198. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11199. typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
  11200. typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
  11201. typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
  11202. typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
  11203. typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  11204. typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  11205. #ifdef GL_GLEXT_PROTOTYPES
  11206. GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
  11207. GLAPI void APIENTRY glVDPAUFiniNV (void);
  11208. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11209. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11210. GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
  11211. GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
  11212. GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
  11213. GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
  11214. GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  11215. GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  11216. #endif
  11217. #endif /* GL_NV_vdpau_interop */
  11218. #ifndef GL_NV_vdpau_interop2
  11219. #define GL_NV_vdpau_interop2 1
  11220. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
  11221. #ifdef GL_GLEXT_PROTOTYPES
  11222. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
  11223. #endif
  11224. #endif /* GL_NV_vdpau_interop2 */
  11225. #ifndef GL_NV_vertex_array_range
  11226. #define GL_NV_vertex_array_range 1
  11227. #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
  11228. #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
  11229. #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
  11230. #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  11231. #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
  11232. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  11233. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
  11234. #ifdef GL_GLEXT_PROTOTYPES
  11235. GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  11236. GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
  11237. #endif
  11238. #endif /* GL_NV_vertex_array_range */
  11239. #ifndef GL_NV_vertex_array_range2
  11240. #define GL_NV_vertex_array_range2 1
  11241. #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  11242. #endif /* GL_NV_vertex_array_range2 */
  11243. #ifndef GL_NV_vertex_attrib_integer_64bit
  11244. #define GL_NV_vertex_attrib_integer_64bit 1
  11245. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
  11246. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
  11247. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11248. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11249. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11250. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11251. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11252. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11253. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
  11254. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
  11255. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11256. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11257. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11258. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11259. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11260. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11261. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
  11262. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  11263. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  11264. #ifdef GL_GLEXT_PROTOTYPES
  11265. GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
  11266. GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
  11267. GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11268. GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11269. GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
  11270. GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
  11271. GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
  11272. GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
  11273. GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
  11274. GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
  11275. GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11276. GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11277. GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
  11278. GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
  11279. GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
  11280. GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
  11281. GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
  11282. GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
  11283. GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  11284. #endif
  11285. #endif /* GL_NV_vertex_attrib_integer_64bit */
  11286. #ifndef GL_NV_vertex_buffer_unified_memory
  11287. #define GL_NV_vertex_buffer_unified_memory 1
  11288. #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
  11289. #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
  11290. #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
  11291. #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
  11292. #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
  11293. #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
  11294. #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
  11295. #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
  11296. #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
  11297. #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
  11298. #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
  11299. #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
  11300. #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
  11301. #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
  11302. #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
  11303. #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
  11304. #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
  11305. #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
  11306. #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
  11307. #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
  11308. #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
  11309. #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
  11310. #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
  11311. #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
  11312. #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
  11313. typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  11314. typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11315. typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
  11316. typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11317. typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
  11318. typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11319. typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
  11320. typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11321. typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
  11322. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  11323. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  11324. typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
  11325. #ifdef GL_GLEXT_PROTOTYPES
  11326. GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  11327. GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
  11328. GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
  11329. GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
  11330. GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
  11331. GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
  11332. GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
  11333. GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
  11334. GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
  11335. GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  11336. GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  11337. GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
  11338. #endif
  11339. #endif /* GL_NV_vertex_buffer_unified_memory */
  11340. #ifndef GL_NV_vertex_program
  11341. #define GL_NV_vertex_program 1
  11342. #define GL_VERTEX_PROGRAM_NV 0x8620
  11343. #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
  11344. #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
  11345. #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
  11346. #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
  11347. #define GL_CURRENT_ATTRIB_NV 0x8626
  11348. #define GL_PROGRAM_LENGTH_NV 0x8627
  11349. #define GL_PROGRAM_STRING_NV 0x8628
  11350. #define GL_MODELVIEW_PROJECTION_NV 0x8629
  11351. #define GL_IDENTITY_NV 0x862A
  11352. #define GL_INVERSE_NV 0x862B
  11353. #define GL_TRANSPOSE_NV 0x862C
  11354. #define GL_INVERSE_TRANSPOSE_NV 0x862D
  11355. #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  11356. #define GL_MAX_TRACK_MATRICES_NV 0x862F
  11357. #define GL_MATRIX0_NV 0x8630
  11358. #define GL_MATRIX1_NV 0x8631
  11359. #define GL_MATRIX2_NV 0x8632
  11360. #define GL_MATRIX3_NV 0x8633
  11361. #define GL_MATRIX4_NV 0x8634
  11362. #define GL_MATRIX5_NV 0x8635
  11363. #define GL_MATRIX6_NV 0x8636
  11364. #define GL_MATRIX7_NV 0x8637
  11365. #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
  11366. #define GL_CURRENT_MATRIX_NV 0x8641
  11367. #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
  11368. #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
  11369. #define GL_PROGRAM_PARAMETER_NV 0x8644
  11370. #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
  11371. #define GL_PROGRAM_TARGET_NV 0x8646
  11372. #define GL_PROGRAM_RESIDENT_NV 0x8647
  11373. #define GL_TRACK_MATRIX_NV 0x8648
  11374. #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
  11375. #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
  11376. #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
  11377. #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
  11378. #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
  11379. #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
  11380. #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
  11381. #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
  11382. #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
  11383. #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
  11384. #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
  11385. #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
  11386. #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
  11387. #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
  11388. #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
  11389. #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
  11390. #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
  11391. #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
  11392. #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
  11393. #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
  11394. #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
  11395. #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
  11396. #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
  11397. #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
  11398. #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
  11399. #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
  11400. #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
  11401. #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
  11402. #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
  11403. #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
  11404. #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
  11405. #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
  11406. #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
  11407. #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
  11408. #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
  11409. #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
  11410. #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
  11411. #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
  11412. #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
  11413. #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
  11414. #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
  11415. #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
  11416. #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
  11417. #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
  11418. #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
  11419. #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
  11420. #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
  11421. #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
  11422. #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
  11423. #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
  11424. #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
  11425. typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
  11426. typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
  11427. typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  11428. typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
  11429. typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
  11430. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  11431. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  11432. typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  11433. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
  11434. typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
  11435. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
  11436. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
  11437. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
  11438. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
  11439. typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
  11440. typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  11441. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11442. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
  11443. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11444. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
  11445. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  11446. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  11447. typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  11448. typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  11449. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  11450. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
  11451. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
  11452. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
  11453. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
  11454. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
  11455. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
  11456. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  11457. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
  11458. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  11459. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
  11460. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  11461. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
  11462. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  11463. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
  11464. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  11465. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
  11466. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  11467. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
  11468. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11469. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
  11470. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11471. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
  11472. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  11473. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
  11474. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  11475. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
  11476. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  11477. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  11478. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  11479. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  11480. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  11481. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  11482. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  11483. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  11484. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  11485. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  11486. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  11487. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  11488. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
  11489. #ifdef GL_GLEXT_PROTOTYPES
  11490. GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
  11491. GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
  11492. GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
  11493. GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
  11494. GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
  11495. GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  11496. GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  11497. GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
  11498. GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
  11499. GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
  11500. GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
  11501. GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
  11502. GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
  11503. GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
  11504. GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
  11505. GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  11506. GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11507. GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
  11508. GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11509. GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
  11510. GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  11511. GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  11512. GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
  11513. GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  11514. GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  11515. GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
  11516. GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
  11517. GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
  11518. GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
  11519. GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
  11520. GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
  11521. GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
  11522. GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
  11523. GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
  11524. GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
  11525. GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
  11526. GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
  11527. GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  11528. GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
  11529. GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  11530. GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
  11531. GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
  11532. GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
  11533. GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11534. GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
  11535. GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11536. GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
  11537. GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  11538. GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
  11539. GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  11540. GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
  11541. GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
  11542. GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
  11543. GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
  11544. GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
  11545. GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
  11546. GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
  11547. GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
  11548. GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
  11549. GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
  11550. GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
  11551. GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
  11552. GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
  11553. GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
  11554. #endif
  11555. #endif /* GL_NV_vertex_program */
  11556. #ifndef GL_NV_vertex_program1_1
  11557. #define GL_NV_vertex_program1_1 1
  11558. #endif /* GL_NV_vertex_program1_1 */
  11559. #ifndef GL_NV_vertex_program2
  11560. #define GL_NV_vertex_program2 1
  11561. #endif /* GL_NV_vertex_program2 */
  11562. #ifndef GL_NV_vertex_program2_option
  11563. #define GL_NV_vertex_program2_option 1
  11564. #endif /* GL_NV_vertex_program2_option */
  11565. #ifndef GL_NV_vertex_program3
  11566. #define GL_NV_vertex_program3 1
  11567. #endif /* GL_NV_vertex_program3 */
  11568. #ifndef GL_NV_vertex_program4
  11569. #define GL_NV_vertex_program4 1
  11570. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  11571. #endif /* GL_NV_vertex_program4 */
  11572. #ifndef GL_NV_video_capture
  11573. #define GL_NV_video_capture 1
  11574. #define GL_VIDEO_BUFFER_NV 0x9020
  11575. #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
  11576. #define GL_FIELD_UPPER_NV 0x9022
  11577. #define GL_FIELD_LOWER_NV 0x9023
  11578. #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
  11579. #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
  11580. #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
  11581. #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
  11582. #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
  11583. #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
  11584. #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
  11585. #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
  11586. #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
  11587. #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
  11588. #define GL_PARTIAL_SUCCESS_NV 0x902E
  11589. #define GL_SUCCESS_NV 0x902F
  11590. #define GL_FAILURE_NV 0x9030
  11591. #define GL_YCBYCR8_422_NV 0x9031
  11592. #define GL_YCBAYCR8A_4224_NV 0x9032
  11593. #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
  11594. #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
  11595. #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
  11596. #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
  11597. #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
  11598. #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
  11599. #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
  11600. #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
  11601. #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
  11602. #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
  11603. typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  11604. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  11605. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  11606. typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  11607. typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
  11608. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  11609. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  11610. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  11611. typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  11612. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  11613. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  11614. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  11615. #ifdef GL_GLEXT_PROTOTYPES
  11616. GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
  11617. GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  11618. GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  11619. GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
  11620. GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
  11621. GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  11622. GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  11623. GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  11624. GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  11625. GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  11626. GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  11627. GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  11628. #endif
  11629. #endif /* GL_NV_video_capture */
  11630. #ifndef GL_NV_viewport_array2
  11631. #define GL_NV_viewport_array2 1
  11632. #endif /* GL_NV_viewport_array2 */
  11633. #ifndef GL_NV_viewport_swizzle
  11634. #define GL_NV_viewport_swizzle 1
  11635. #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
  11636. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
  11637. #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
  11638. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
  11639. #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
  11640. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
  11641. #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
  11642. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
  11643. #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
  11644. #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
  11645. #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
  11646. #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
  11647. typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
  11648. #ifdef GL_GLEXT_PROTOTYPES
  11649. GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
  11650. #endif
  11651. #endif /* GL_NV_viewport_swizzle */
  11652. #ifndef GL_OML_interlace
  11653. #define GL_OML_interlace 1
  11654. #define GL_INTERLACE_OML 0x8980
  11655. #define GL_INTERLACE_READ_OML 0x8981
  11656. #endif /* GL_OML_interlace */
  11657. #ifndef GL_OML_resample
  11658. #define GL_OML_resample 1
  11659. #define GL_PACK_RESAMPLE_OML 0x8984
  11660. #define GL_UNPACK_RESAMPLE_OML 0x8985
  11661. #define GL_RESAMPLE_REPLICATE_OML 0x8986
  11662. #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
  11663. #define GL_RESAMPLE_AVERAGE_OML 0x8988
  11664. #define GL_RESAMPLE_DECIMATE_OML 0x8989
  11665. #endif /* GL_OML_resample */
  11666. #ifndef GL_OML_subsample
  11667. #define GL_OML_subsample 1
  11668. #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
  11669. #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
  11670. #endif /* GL_OML_subsample */
  11671. #ifndef GL_OVR_multiview
  11672. #define GL_OVR_multiview 1
  11673. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
  11674. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
  11675. #define GL_MAX_VIEWS_OVR 0x9631
  11676. #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
  11677. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  11678. #ifdef GL_GLEXT_PROTOTYPES
  11679. GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  11680. #endif
  11681. #endif /* GL_OVR_multiview */
  11682. #ifndef GL_OVR_multiview2
  11683. #define GL_OVR_multiview2 1
  11684. #endif /* GL_OVR_multiview2 */
  11685. #ifndef GL_PGI_misc_hints
  11686. #define GL_PGI_misc_hints 1
  11687. #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
  11688. #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
  11689. #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
  11690. #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
  11691. #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  11692. #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
  11693. #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
  11694. #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
  11695. #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
  11696. #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
  11697. #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
  11698. #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
  11699. #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
  11700. #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
  11701. #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
  11702. #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
  11703. #define GL_CLIP_NEAR_HINT_PGI 0x1A220
  11704. #define GL_CLIP_FAR_HINT_PGI 0x1A221
  11705. #define GL_WIDE_LINE_HINT_PGI 0x1A222
  11706. #define GL_BACK_NORMALS_HINT_PGI 0x1A223
  11707. typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  11708. #ifdef GL_GLEXT_PROTOTYPES
  11709. GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
  11710. #endif
  11711. #endif /* GL_PGI_misc_hints */
  11712. #ifndef GL_PGI_vertex_hints
  11713. #define GL_PGI_vertex_hints 1
  11714. #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
  11715. #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
  11716. #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
  11717. #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
  11718. #define GL_COLOR3_BIT_PGI 0x00010000
  11719. #define GL_COLOR4_BIT_PGI 0x00020000
  11720. #define GL_EDGEFLAG_BIT_PGI 0x00040000
  11721. #define GL_INDEX_BIT_PGI 0x00080000
  11722. #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
  11723. #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  11724. #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
  11725. #define GL_MAT_EMISSION_BIT_PGI 0x00800000
  11726. #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
  11727. #define GL_MAT_SHININESS_BIT_PGI 0x02000000
  11728. #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
  11729. #define GL_NORMAL_BIT_PGI 0x08000000
  11730. #define GL_TEXCOORD1_BIT_PGI 0x10000000
  11731. #define GL_TEXCOORD2_BIT_PGI 0x20000000
  11732. #define GL_TEXCOORD3_BIT_PGI 0x40000000
  11733. #define GL_TEXCOORD4_BIT_PGI 0x80000000
  11734. #define GL_VERTEX23_BIT_PGI 0x00000004
  11735. #define GL_VERTEX4_BIT_PGI 0x00000008
  11736. #endif /* GL_PGI_vertex_hints */
  11737. #ifndef GL_REND_screen_coordinates
  11738. #define GL_REND_screen_coordinates 1
  11739. #define GL_SCREEN_COORDINATES_REND 0x8490
  11740. #define GL_INVERTED_SCREEN_W_REND 0x8491
  11741. #endif /* GL_REND_screen_coordinates */
  11742. #ifndef GL_S3_s3tc
  11743. #define GL_S3_s3tc 1
  11744. #define GL_RGB_S3TC 0x83A0
  11745. #define GL_RGB4_S3TC 0x83A1
  11746. #define GL_RGBA_S3TC 0x83A2
  11747. #define GL_RGBA4_S3TC 0x83A3
  11748. #define GL_RGBA_DXT5_S3TC 0x83A4
  11749. #define GL_RGBA4_DXT5_S3TC 0x83A5
  11750. #endif /* GL_S3_s3tc */
  11751. #ifndef GL_SGIS_detail_texture
  11752. #define GL_SGIS_detail_texture 1
  11753. #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
  11754. #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  11755. #define GL_LINEAR_DETAIL_SGIS 0x8097
  11756. #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
  11757. #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
  11758. #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
  11759. #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
  11760. #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  11761. typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  11762. typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  11763. #ifdef GL_GLEXT_PROTOTYPES
  11764. GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  11765. GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
  11766. #endif
  11767. #endif /* GL_SGIS_detail_texture */
  11768. #ifndef GL_SGIS_fog_function
  11769. #define GL_SGIS_fog_function 1
  11770. #define GL_FOG_FUNC_SGIS 0x812A
  11771. #define GL_FOG_FUNC_POINTS_SGIS 0x812B
  11772. #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
  11773. typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  11774. typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  11775. #ifdef GL_GLEXT_PROTOTYPES
  11776. GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
  11777. GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
  11778. #endif
  11779. #endif /* GL_SGIS_fog_function */
  11780. #ifndef GL_SGIS_generate_mipmap
  11781. #define GL_SGIS_generate_mipmap 1
  11782. #define GL_GENERATE_MIPMAP_SGIS 0x8191
  11783. #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
  11784. #endif /* GL_SGIS_generate_mipmap */
  11785. #ifndef GL_SGIS_multisample
  11786. #define GL_SGIS_multisample 1
  11787. #define GL_MULTISAMPLE_SGIS 0x809D
  11788. #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
  11789. #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
  11790. #define GL_SAMPLE_MASK_SGIS 0x80A0
  11791. #define GL_1PASS_SGIS 0x80A1
  11792. #define GL_2PASS_0_SGIS 0x80A2
  11793. #define GL_2PASS_1_SGIS 0x80A3
  11794. #define GL_4PASS_0_SGIS 0x80A4
  11795. #define GL_4PASS_1_SGIS 0x80A5
  11796. #define GL_4PASS_2_SGIS 0x80A6
  11797. #define GL_4PASS_3_SGIS 0x80A7
  11798. #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
  11799. #define GL_SAMPLES_SGIS 0x80A9
  11800. #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
  11801. #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
  11802. #define GL_SAMPLE_PATTERN_SGIS 0x80AC
  11803. typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  11804. typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  11805. #ifdef GL_GLEXT_PROTOTYPES
  11806. GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
  11807. GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
  11808. #endif
  11809. #endif /* GL_SGIS_multisample */
  11810. #ifndef GL_SGIS_pixel_texture
  11811. #define GL_SGIS_pixel_texture 1
  11812. #define GL_PIXEL_TEXTURE_SGIS 0x8353
  11813. #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  11814. #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  11815. #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
  11816. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  11817. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  11818. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  11819. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  11820. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  11821. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  11822. #ifdef GL_GLEXT_PROTOTYPES
  11823. GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
  11824. GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
  11825. GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
  11826. GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
  11827. GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
  11828. GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
  11829. #endif
  11830. #endif /* GL_SGIS_pixel_texture */
  11831. #ifndef GL_SGIS_point_line_texgen
  11832. #define GL_SGIS_point_line_texgen 1
  11833. #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
  11834. #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
  11835. #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
  11836. #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
  11837. #define GL_EYE_POINT_SGIS 0x81F4
  11838. #define GL_OBJECT_POINT_SGIS 0x81F5
  11839. #define GL_EYE_LINE_SGIS 0x81F6
  11840. #define GL_OBJECT_LINE_SGIS 0x81F7
  11841. #endif /* GL_SGIS_point_line_texgen */
  11842. #ifndef GL_SGIS_point_parameters
  11843. #define GL_SGIS_point_parameters 1
  11844. #define GL_POINT_SIZE_MIN_SGIS 0x8126
  11845. #define GL_POINT_SIZE_MAX_SGIS 0x8127
  11846. #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  11847. #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
  11848. typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  11849. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  11850. #ifdef GL_GLEXT_PROTOTYPES
  11851. GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
  11852. GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
  11853. #endif
  11854. #endif /* GL_SGIS_point_parameters */
  11855. #ifndef GL_SGIS_sharpen_texture
  11856. #define GL_SGIS_sharpen_texture 1
  11857. #define GL_LINEAR_SHARPEN_SGIS 0x80AD
  11858. #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
  11859. #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
  11860. #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  11861. typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  11862. typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  11863. #ifdef GL_GLEXT_PROTOTYPES
  11864. GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  11865. GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
  11866. #endif
  11867. #endif /* GL_SGIS_sharpen_texture */
  11868. #ifndef GL_SGIS_texture4D
  11869. #define GL_SGIS_texture4D 1
  11870. #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
  11871. #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
  11872. #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
  11873. #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
  11874. #define GL_TEXTURE_4D_SGIS 0x8134
  11875. #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
  11876. #define GL_TEXTURE_4DSIZE_SGIS 0x8136
  11877. #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
  11878. #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
  11879. #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
  11880. 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);
  11881. 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);
  11882. #ifdef GL_GLEXT_PROTOTYPES
  11883. 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);
  11884. 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);
  11885. #endif
  11886. #endif /* GL_SGIS_texture4D */
  11887. #ifndef GL_SGIS_texture_border_clamp
  11888. #define GL_SGIS_texture_border_clamp 1
  11889. #define GL_CLAMP_TO_BORDER_SGIS 0x812D
  11890. #endif /* GL_SGIS_texture_border_clamp */
  11891. #ifndef GL_SGIS_texture_color_mask
  11892. #define GL_SGIS_texture_color_mask 1
  11893. #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
  11894. typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  11895. #ifdef GL_GLEXT_PROTOTYPES
  11896. GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  11897. #endif
  11898. #endif /* GL_SGIS_texture_color_mask */
  11899. #ifndef GL_SGIS_texture_edge_clamp
  11900. #define GL_SGIS_texture_edge_clamp 1
  11901. #define GL_CLAMP_TO_EDGE_SGIS 0x812F
  11902. #endif /* GL_SGIS_texture_edge_clamp */
  11903. #ifndef GL_SGIS_texture_filter4
  11904. #define GL_SGIS_texture_filter4 1
  11905. #define GL_FILTER4_SGIS 0x8146
  11906. #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
  11907. typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  11908. typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  11909. #ifdef GL_GLEXT_PROTOTYPES
  11910. GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
  11911. GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  11912. #endif
  11913. #endif /* GL_SGIS_texture_filter4 */
  11914. #ifndef GL_SGIS_texture_lod
  11915. #define GL_SGIS_texture_lod 1
  11916. #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
  11917. #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
  11918. #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
  11919. #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
  11920. #endif /* GL_SGIS_texture_lod */
  11921. #ifndef GL_SGIS_texture_select
  11922. #define GL_SGIS_texture_select 1
  11923. #define GL_DUAL_ALPHA4_SGIS 0x8110
  11924. #define GL_DUAL_ALPHA8_SGIS 0x8111
  11925. #define GL_DUAL_ALPHA12_SGIS 0x8112
  11926. #define GL_DUAL_ALPHA16_SGIS 0x8113
  11927. #define GL_DUAL_LUMINANCE4_SGIS 0x8114
  11928. #define GL_DUAL_LUMINANCE8_SGIS 0x8115
  11929. #define GL_DUAL_LUMINANCE12_SGIS 0x8116
  11930. #define GL_DUAL_LUMINANCE16_SGIS 0x8117
  11931. #define GL_DUAL_INTENSITY4_SGIS 0x8118
  11932. #define GL_DUAL_INTENSITY8_SGIS 0x8119
  11933. #define GL_DUAL_INTENSITY12_SGIS 0x811A
  11934. #define GL_DUAL_INTENSITY16_SGIS 0x811B
  11935. #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
  11936. #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
  11937. #define GL_QUAD_ALPHA4_SGIS 0x811E
  11938. #define GL_QUAD_ALPHA8_SGIS 0x811F
  11939. #define GL_QUAD_LUMINANCE4_SGIS 0x8120
  11940. #define GL_QUAD_LUMINANCE8_SGIS 0x8121
  11941. #define GL_QUAD_INTENSITY4_SGIS 0x8122
  11942. #define GL_QUAD_INTENSITY8_SGIS 0x8123
  11943. #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
  11944. #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
  11945. #endif /* GL_SGIS_texture_select */
  11946. #ifndef GL_SGIX_async
  11947. #define GL_SGIX_async 1
  11948. #define GL_ASYNC_MARKER_SGIX 0x8329
  11949. typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  11950. typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  11951. typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  11952. typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  11953. typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  11954. typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  11955. #ifdef GL_GLEXT_PROTOTYPES
  11956. GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
  11957. GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
  11958. GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
  11959. GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
  11960. GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
  11961. GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
  11962. #endif
  11963. #endif /* GL_SGIX_async */
  11964. #ifndef GL_SGIX_async_histogram
  11965. #define GL_SGIX_async_histogram 1
  11966. #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
  11967. #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
  11968. #endif /* GL_SGIX_async_histogram */
  11969. #ifndef GL_SGIX_async_pixel
  11970. #define GL_SGIX_async_pixel 1
  11971. #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
  11972. #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
  11973. #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
  11974. #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
  11975. #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
  11976. #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
  11977. #endif /* GL_SGIX_async_pixel */
  11978. #ifndef GL_SGIX_blend_alpha_minmax
  11979. #define GL_SGIX_blend_alpha_minmax 1
  11980. #define GL_ALPHA_MIN_SGIX 0x8320
  11981. #define GL_ALPHA_MAX_SGIX 0x8321
  11982. #endif /* GL_SGIX_blend_alpha_minmax */
  11983. #ifndef GL_SGIX_calligraphic_fragment
  11984. #define GL_SGIX_calligraphic_fragment 1
  11985. #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
  11986. #endif /* GL_SGIX_calligraphic_fragment */
  11987. #ifndef GL_SGIX_clipmap
  11988. #define GL_SGIX_clipmap 1
  11989. #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
  11990. #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
  11991. #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
  11992. #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
  11993. #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  11994. #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  11995. #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
  11996. #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
  11997. #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  11998. #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
  11999. #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
  12000. #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
  12001. #endif /* GL_SGIX_clipmap */
  12002. #ifndef GL_SGIX_convolution_accuracy
  12003. #define GL_SGIX_convolution_accuracy 1
  12004. #define GL_CONVOLUTION_HINT_SGIX 0x8316
  12005. #endif /* GL_SGIX_convolution_accuracy */
  12006. #ifndef GL_SGIX_depth_pass_instrument
  12007. #define GL_SGIX_depth_pass_instrument 1
  12008. #endif /* GL_SGIX_depth_pass_instrument */
  12009. #ifndef GL_SGIX_depth_texture
  12010. #define GL_SGIX_depth_texture 1
  12011. #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
  12012. #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
  12013. #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
  12014. #endif /* GL_SGIX_depth_texture */
  12015. #ifndef GL_SGIX_flush_raster
  12016. #define GL_SGIX_flush_raster 1
  12017. typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  12018. #ifdef GL_GLEXT_PROTOTYPES
  12019. GLAPI void APIENTRY glFlushRasterSGIX (void);
  12020. #endif
  12021. #endif /* GL_SGIX_flush_raster */
  12022. #ifndef GL_SGIX_fog_offset
  12023. #define GL_SGIX_fog_offset 1
  12024. #define GL_FOG_OFFSET_SGIX 0x8198
  12025. #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
  12026. #endif /* GL_SGIX_fog_offset */
  12027. #ifndef GL_SGIX_fragment_lighting
  12028. #define GL_SGIX_fragment_lighting 1
  12029. #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
  12030. #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
  12031. #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  12032. #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  12033. #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
  12034. #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
  12035. #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
  12036. #define GL_LIGHT_ENV_MODE_SGIX 0x8407
  12037. #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  12038. #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  12039. #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  12040. #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  12041. #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
  12042. #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
  12043. #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
  12044. #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
  12045. #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
  12046. #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
  12047. #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
  12048. #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
  12049. typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  12050. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  12051. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  12052. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  12053. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  12054. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  12055. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  12056. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  12057. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  12058. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  12059. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  12060. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  12061. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  12062. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  12063. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  12064. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  12065. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  12066. typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  12067. #ifdef GL_GLEXT_PROTOTYPES
  12068. GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
  12069. GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
  12070. GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
  12071. GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
  12072. GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
  12073. GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
  12074. GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
  12075. GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
  12076. GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
  12077. GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
  12078. GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
  12079. GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
  12080. GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
  12081. GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
  12082. GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
  12083. GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
  12084. GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
  12085. GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
  12086. #endif
  12087. #endif /* GL_SGIX_fragment_lighting */
  12088. #ifndef GL_SGIX_framezoom
  12089. #define GL_SGIX_framezoom 1
  12090. #define GL_FRAMEZOOM_SGIX 0x818B
  12091. #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
  12092. #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
  12093. typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  12094. #ifdef GL_GLEXT_PROTOTYPES
  12095. GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
  12096. #endif
  12097. #endif /* GL_SGIX_framezoom */
  12098. #ifndef GL_SGIX_igloo_interface
  12099. #define GL_SGIX_igloo_interface 1
  12100. typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
  12101. #ifdef GL_GLEXT_PROTOTYPES
  12102. GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
  12103. #endif
  12104. #endif /* GL_SGIX_igloo_interface */
  12105. #ifndef GL_SGIX_instruments
  12106. #define GL_SGIX_instruments 1
  12107. #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  12108. #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
  12109. typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  12110. typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  12111. typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  12112. typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  12113. typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  12114. typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  12115. #ifdef GL_GLEXT_PROTOTYPES
  12116. GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  12117. GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
  12118. GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
  12119. GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
  12120. GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  12121. GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
  12122. #endif
  12123. #endif /* GL_SGIX_instruments */
  12124. #ifndef GL_SGIX_interlace
  12125. #define GL_SGIX_interlace 1
  12126. #define GL_INTERLACE_SGIX 0x8094
  12127. #endif /* GL_SGIX_interlace */
  12128. #ifndef GL_SGIX_ir_instrument1
  12129. #define GL_SGIX_ir_instrument1 1
  12130. #define GL_IR_INSTRUMENT1_SGIX 0x817F
  12131. #endif /* GL_SGIX_ir_instrument1 */
  12132. #ifndef GL_SGIX_list_priority
  12133. #define GL_SGIX_list_priority 1
  12134. #define GL_LIST_PRIORITY_SGIX 0x8182
  12135. typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  12136. typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  12137. typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  12138. typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  12139. typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  12140. typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  12141. #ifdef GL_GLEXT_PROTOTYPES
  12142. GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
  12143. GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
  12144. GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
  12145. GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
  12146. GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
  12147. GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
  12148. #endif
  12149. #endif /* GL_SGIX_list_priority */
  12150. #ifndef GL_SGIX_pixel_texture
  12151. #define GL_SGIX_pixel_texture 1
  12152. #define GL_PIXEL_TEX_GEN_SGIX 0x8139
  12153. #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
  12154. typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  12155. #ifdef GL_GLEXT_PROTOTYPES
  12156. GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
  12157. #endif
  12158. #endif /* GL_SGIX_pixel_texture */
  12159. #ifndef GL_SGIX_pixel_tiles
  12160. #define GL_SGIX_pixel_tiles 1
  12161. #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  12162. #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  12163. #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
  12164. #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
  12165. #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
  12166. #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
  12167. #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
  12168. #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
  12169. #endif /* GL_SGIX_pixel_tiles */
  12170. #ifndef GL_SGIX_polynomial_ffd
  12171. #define GL_SGIX_polynomial_ffd 1
  12172. #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
  12173. #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
  12174. #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
  12175. #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
  12176. #define GL_DEFORMATIONS_MASK_SGIX 0x8196
  12177. #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
  12178. 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);
  12179. 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);
  12180. typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  12181. typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  12182. #ifdef GL_GLEXT_PROTOTYPES
  12183. 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);
  12184. 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);
  12185. GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
  12186. GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
  12187. #endif
  12188. #endif /* GL_SGIX_polynomial_ffd */
  12189. #ifndef GL_SGIX_reference_plane
  12190. #define GL_SGIX_reference_plane 1
  12191. #define GL_REFERENCE_PLANE_SGIX 0x817D
  12192. #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
  12193. typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  12194. #ifdef GL_GLEXT_PROTOTYPES
  12195. GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
  12196. #endif
  12197. #endif /* GL_SGIX_reference_plane */
  12198. #ifndef GL_SGIX_resample
  12199. #define GL_SGIX_resample 1
  12200. #define GL_PACK_RESAMPLE_SGIX 0x842E
  12201. #define GL_UNPACK_RESAMPLE_SGIX 0x842F
  12202. #define GL_RESAMPLE_REPLICATE_SGIX 0x8433
  12203. #define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434
  12204. #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
  12205. #endif /* GL_SGIX_resample */
  12206. #ifndef GL_SGIX_scalebias_hint
  12207. #define GL_SGIX_scalebias_hint 1
  12208. #define GL_SCALEBIAS_HINT_SGIX 0x8322
  12209. #endif /* GL_SGIX_scalebias_hint */
  12210. #ifndef GL_SGIX_shadow
  12211. #define GL_SGIX_shadow 1
  12212. #define GL_TEXTURE_COMPARE_SGIX 0x819A
  12213. #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
  12214. #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
  12215. #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
  12216. #endif /* GL_SGIX_shadow */
  12217. #ifndef GL_SGIX_shadow_ambient
  12218. #define GL_SGIX_shadow_ambient 1
  12219. #define GL_SHADOW_AMBIENT_SGIX 0x80BF
  12220. #endif /* GL_SGIX_shadow_ambient */
  12221. #ifndef GL_SGIX_sprite
  12222. #define GL_SGIX_sprite 1
  12223. #define GL_SPRITE_SGIX 0x8148
  12224. #define GL_SPRITE_MODE_SGIX 0x8149
  12225. #define GL_SPRITE_AXIS_SGIX 0x814A
  12226. #define GL_SPRITE_TRANSLATION_SGIX 0x814B
  12227. #define GL_SPRITE_AXIAL_SGIX 0x814C
  12228. #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
  12229. #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
  12230. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  12231. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  12232. typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  12233. typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  12234. #ifdef GL_GLEXT_PROTOTYPES
  12235. GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
  12236. GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
  12237. GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
  12238. GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
  12239. #endif
  12240. #endif /* GL_SGIX_sprite */
  12241. #ifndef GL_SGIX_subsample
  12242. #define GL_SGIX_subsample 1
  12243. #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
  12244. #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
  12245. #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
  12246. #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
  12247. #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
  12248. #endif /* GL_SGIX_subsample */
  12249. #ifndef GL_SGIX_tag_sample_buffer
  12250. #define GL_SGIX_tag_sample_buffer 1
  12251. typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  12252. #ifdef GL_GLEXT_PROTOTYPES
  12253. GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  12254. #endif
  12255. #endif /* GL_SGIX_tag_sample_buffer */
  12256. #ifndef GL_SGIX_texture_add_env
  12257. #define GL_SGIX_texture_add_env 1
  12258. #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
  12259. #endif /* GL_SGIX_texture_add_env */
  12260. #ifndef GL_SGIX_texture_coordinate_clamp
  12261. #define GL_SGIX_texture_coordinate_clamp 1
  12262. #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
  12263. #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
  12264. #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
  12265. #endif /* GL_SGIX_texture_coordinate_clamp */
  12266. #ifndef GL_SGIX_texture_lod_bias
  12267. #define GL_SGIX_texture_lod_bias 1
  12268. #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
  12269. #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
  12270. #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
  12271. #endif /* GL_SGIX_texture_lod_bias */
  12272. #ifndef GL_SGIX_texture_multi_buffer
  12273. #define GL_SGIX_texture_multi_buffer 1
  12274. #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  12275. #endif /* GL_SGIX_texture_multi_buffer */
  12276. #ifndef GL_SGIX_texture_scale_bias
  12277. #define GL_SGIX_texture_scale_bias 1
  12278. #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
  12279. #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  12280. #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  12281. #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  12282. #endif /* GL_SGIX_texture_scale_bias */
  12283. #ifndef GL_SGIX_vertex_preclip
  12284. #define GL_SGIX_vertex_preclip 1
  12285. #define GL_VERTEX_PRECLIP_SGIX 0x83EE
  12286. #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
  12287. #endif /* GL_SGIX_vertex_preclip */
  12288. #ifndef GL_SGIX_ycrcb
  12289. #define GL_SGIX_ycrcb 1
  12290. #define GL_YCRCB_422_SGIX 0x81BB
  12291. #define GL_YCRCB_444_SGIX 0x81BC
  12292. #endif /* GL_SGIX_ycrcb */
  12293. #ifndef GL_SGIX_ycrcb_subsample
  12294. #define GL_SGIX_ycrcb_subsample 1
  12295. #endif /* GL_SGIX_ycrcb_subsample */
  12296. #ifndef GL_SGIX_ycrcba
  12297. #define GL_SGIX_ycrcba 1
  12298. #define GL_YCRCB_SGIX 0x8318
  12299. #define GL_YCRCBA_SGIX 0x8319
  12300. #endif /* GL_SGIX_ycrcba */
  12301. #ifndef GL_SGI_color_matrix
  12302. #define GL_SGI_color_matrix 1
  12303. #define GL_COLOR_MATRIX_SGI 0x80B1
  12304. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
  12305. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  12306. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  12307. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  12308. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  12309. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  12310. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  12311. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  12312. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  12313. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  12314. #endif /* GL_SGI_color_matrix */
  12315. #ifndef GL_SGI_color_table
  12316. #define GL_SGI_color_table 1
  12317. #define GL_COLOR_TABLE_SGI 0x80D0
  12318. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  12319. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  12320. #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
  12321. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  12322. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  12323. #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
  12324. #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
  12325. #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
  12326. #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
  12327. #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
  12328. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
  12329. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
  12330. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
  12331. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  12332. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  12333. typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  12334. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  12335. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  12336. typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  12337. typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
  12338. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  12339. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  12340. #ifdef GL_GLEXT_PROTOTYPES
  12341. GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  12342. GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
  12343. GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
  12344. GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  12345. GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
  12346. GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
  12347. GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
  12348. #endif
  12349. #endif /* GL_SGI_color_table */
  12350. #ifndef GL_SGI_texture_color_table
  12351. #define GL_SGI_texture_color_table 1
  12352. #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
  12353. #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
  12354. #endif /* GL_SGI_texture_color_table */
  12355. #ifndef GL_SUNX_constant_data
  12356. #define GL_SUNX_constant_data 1
  12357. #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
  12358. #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
  12359. typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  12360. #ifdef GL_GLEXT_PROTOTYPES
  12361. GLAPI void APIENTRY glFinishTextureSUNX (void);
  12362. #endif
  12363. #endif /* GL_SUNX_constant_data */
  12364. #ifndef GL_SUN_convolution_border_modes
  12365. #define GL_SUN_convolution_border_modes 1
  12366. #define GL_WRAP_BORDER_SUN 0x81D4
  12367. #endif /* GL_SUN_convolution_border_modes */
  12368. #ifndef GL_SUN_global_alpha
  12369. #define GL_SUN_global_alpha 1
  12370. #define GL_GLOBAL_ALPHA_SUN 0x81D9
  12371. #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
  12372. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  12373. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  12374. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  12375. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  12376. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  12377. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  12378. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  12379. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  12380. #ifdef GL_GLEXT_PROTOTYPES
  12381. GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
  12382. GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
  12383. GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
  12384. GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
  12385. GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
  12386. GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
  12387. GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
  12388. GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
  12389. #endif
  12390. #endif /* GL_SUN_global_alpha */
  12391. #ifndef GL_SUN_mesh_array
  12392. #define GL_SUN_mesh_array 1
  12393. #define GL_QUAD_MESH_SUN 0x8614
  12394. #define GL_TRIANGLE_MESH_SUN 0x8615
  12395. typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
  12396. #ifdef GL_GLEXT_PROTOTYPES
  12397. GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
  12398. #endif
  12399. #endif /* GL_SUN_mesh_array */
  12400. #ifndef GL_SUN_slice_accum
  12401. #define GL_SUN_slice_accum 1
  12402. #define GL_SLICE_ACCUM_SUN 0x85CC
  12403. #endif /* GL_SUN_slice_accum */
  12404. #ifndef GL_SUN_triangle_list
  12405. #define GL_SUN_triangle_list 1
  12406. #define GL_RESTART_SUN 0x0001
  12407. #define GL_REPLACE_MIDDLE_SUN 0x0002
  12408. #define GL_REPLACE_OLDEST_SUN 0x0003
  12409. #define GL_TRIANGLE_LIST_SUN 0x81D7
  12410. #define GL_REPLACEMENT_CODE_SUN 0x81D8
  12411. #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
  12412. #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  12413. #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  12414. #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  12415. #define GL_R1UI_V3F_SUN 0x85C4
  12416. #define GL_R1UI_C4UB_V3F_SUN 0x85C5
  12417. #define GL_R1UI_C3F_V3F_SUN 0x85C6
  12418. #define GL_R1UI_N3F_V3F_SUN 0x85C7
  12419. #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
  12420. #define GL_R1UI_T2F_V3F_SUN 0x85C9
  12421. #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
  12422. #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
  12423. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  12424. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  12425. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  12426. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  12427. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  12428. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  12429. typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
  12430. #ifdef GL_GLEXT_PROTOTYPES
  12431. GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
  12432. GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
  12433. GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
  12434. GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
  12435. GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
  12436. GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
  12437. GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
  12438. #endif
  12439. #endif /* GL_SUN_triangle_list */
  12440. #ifndef GL_SUN_vertex
  12441. #define GL_SUN_vertex 1
  12442. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  12443. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  12444. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12445. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  12446. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12447. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  12448. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12449. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  12450. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12451. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12452. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12453. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  12454. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  12455. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  12456. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12457. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  12458. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12459. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  12460. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12461. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12462. 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);
  12463. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12464. 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);
  12465. typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12466. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  12467. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  12468. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12469. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  12470. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12471. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  12472. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12473. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  12474. 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);
  12475. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12476. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12477. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  12478. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12479. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12480. 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);
  12481. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12482. #ifdef GL_GLEXT_PROTOTYPES
  12483. GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  12484. GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
  12485. GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12486. GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
  12487. GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12488. GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
  12489. GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12490. GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
  12491. GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12492. GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12493. GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12494. GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
  12495. GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  12496. GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
  12497. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12498. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  12499. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12500. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  12501. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12502. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12503. 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);
  12504. GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12505. 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);
  12506. GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12507. GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  12508. GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
  12509. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12510. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  12511. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12512. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  12513. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12514. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  12515. 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);
  12516. GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12517. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12518. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  12519. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12520. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12521. 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);
  12522. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12523. #endif
  12524. #endif /* GL_SUN_vertex */
  12525. #ifndef GL_WIN_phong_shading
  12526. #define GL_WIN_phong_shading 1
  12527. #define GL_PHONG_WIN 0x80EA
  12528. #define GL_PHONG_HINT_WIN 0x80EB
  12529. #endif /* GL_WIN_phong_shading */
  12530. #ifndef GL_WIN_specular_fog
  12531. #define GL_WIN_specular_fog 1
  12532. #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
  12533. #endif /* GL_WIN_specular_fog */
  12534. #ifdef __cplusplus
  12535. }
  12536. #endif
  12537. #endif