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

13213 lines
844 KiB

  1. /* SDL modified the include guard to be compatible with Mesa and Apple include guards:
  2. * - Mesa uses: __gl_glext_h_
  3. * - Apple uses: __glext_h_ */
  4. #if !defined(__glext_h_) && !defined(__gl_glext_h_)
  5. #define __glext_h_ 1
  6. #define __gl_glext_h_ 1
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. /*
  11. ** Copyright 2013-2020 The Khronos Group Inc.
  12. ** SPDX-License-Identifier: MIT
  13. **
  14. ** This header is generated from the Khronos OpenGL / OpenGL ES XML
  15. ** API Registry. The current version of the Registry, generator scripts
  16. ** used to make the header, and the header can be found at
  17. ** https://github.com/KhronosGroup/OpenGL-Registry
  18. */
  19. #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
  20. #ifndef WIN32_LEAN_AND_MEAN
  21. #define WIN32_LEAN_AND_MEAN 1
  22. #endif
  23. #include <windows.h>
  24. #endif
  25. #ifndef APIENTRY
  26. #define APIENTRY
  27. #endif
  28. #ifndef APIENTRYP
  29. #define APIENTRYP APIENTRY *
  30. #endif
  31. #ifndef GLAPI
  32. #define GLAPI extern
  33. #endif
  34. #define GL_GLEXT_VERSION 20220530
  35. /*#include <KHR/khrplatform.h>*/
  36. #ifndef __khrplatform_h_
  37. #define __khrplatform_h_
  38. /*
  39. ** Copyright (c) 2008-2018 The Khronos Group Inc.
  40. **
  41. ** Permission is hereby granted, free of charge, to any person obtaining a
  42. ** copy of this software and/or associated documentation files (the
  43. ** "Materials"), to deal in the Materials without restriction, including
  44. ** without limitation the rights to use, copy, modify, merge, publish,
  45. ** distribute, sublicense, and/or sell copies of the Materials, and to
  46. ** permit persons to whom the Materials are furnished to do so, subject to
  47. ** the following conditions:
  48. **
  49. ** The above copyright notice and this permission notice shall be included
  50. ** in all copies or substantial portions of the Materials.
  51. **
  52. ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  53. ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  54. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  55. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  56. ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  57. ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  58. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  59. */
  60. /* Khronos platform-specific types and definitions.
  61. *
  62. * The master copy of khrplatform.h is maintained in the Khronos EGL
  63. * Registry repository at https://github.com/KhronosGroup/EGL-Registry
  64. * The last semantic modification to khrplatform.h was at commit ID:
  65. * 67a3e0864c2d75ea5287b9f3d2eb74a745936692
  66. *
  67. * Adopters may modify this file to suit their platform. Adopters are
  68. * encouraged to submit platform specific modifications to the Khronos
  69. * group so that they can be included in future versions of this file.
  70. * Please submit changes by filing pull requests or issues on
  71. * the EGL Registry repository linked above.
  72. *
  73. *
  74. * See the Implementer's Guidelines for information about where this file
  75. * should be located on your system and for more details of its use:
  76. * http://www.khronos.org/registry/implementers_guide.pdf
  77. *
  78. * This file should be included as
  79. * #include <KHR/khrplatform.h>
  80. * by Khronos client API header files that use its types and defines.
  81. *
  82. * The types in khrplatform.h should only be used to define API-specific types.
  83. *
  84. * Types defined in khrplatform.h:
  85. * khronos_int8_t signed 8 bit
  86. * khronos_uint8_t unsigned 8 bit
  87. * khronos_int16_t signed 16 bit
  88. * khronos_uint16_t unsigned 16 bit
  89. * khronos_int32_t signed 32 bit
  90. * khronos_uint32_t unsigned 32 bit
  91. * khronos_int64_t signed 64 bit
  92. * khronos_uint64_t unsigned 64 bit
  93. * khronos_intptr_t signed same number of bits as a pointer
  94. * khronos_uintptr_t unsigned same number of bits as a pointer
  95. * khronos_ssize_t signed size
  96. * khronos_usize_t unsigned size
  97. * khronos_float_t signed 32 bit floating point
  98. * khronos_time_ns_t unsigned 64 bit time in nanoseconds
  99. * khronos_utime_nanoseconds_t unsigned time interval or absolute time in
  100. * nanoseconds
  101. * khronos_stime_nanoseconds_t signed time interval in nanoseconds
  102. * khronos_boolean_enum_t enumerated boolean type. This should
  103. * only be used as a base type when a client API's boolean type is
  104. * an enum. Client APIs which use an integer or other type for
  105. * booleans cannot use this as the base type for their boolean.
  106. *
  107. * Tokens defined in khrplatform.h:
  108. *
  109. * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
  110. *
  111. * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
  112. * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
  113. *
  114. * Calling convention macros defined in this file:
  115. * KHRONOS_APICALL
  116. * KHRONOS_APIENTRY
  117. * KHRONOS_APIATTRIBUTES
  118. *
  119. * These may be used in function prototypes as:
  120. *
  121. * KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
  122. * int arg1,
  123. * int arg2) KHRONOS_APIATTRIBUTES;
  124. */
  125. #if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC)
  126. # define KHRONOS_STATIC 1
  127. #endif
  128. /*-------------------------------------------------------------------------
  129. * Definition of KHRONOS_APICALL
  130. *-------------------------------------------------------------------------
  131. * This precedes the return type of the function in the function prototype.
  132. */
  133. #if defined(KHRONOS_STATIC)
  134. /* If the preprocessor constant KHRONOS_STATIC is defined, make the
  135. * header compatible with static linking. */
  136. # define KHRONOS_APICALL
  137. #elif defined(_WIN32)
  138. # define KHRONOS_APICALL __declspec(dllimport)
  139. #elif defined (__SYMBIAN32__)
  140. # define KHRONOS_APICALL IMPORT_C
  141. #elif defined(__ANDROID__)
  142. # define KHRONOS_APICALL __attribute__((visibility("default")))
  143. #else
  144. # define KHRONOS_APICALL
  145. #endif
  146. /*-------------------------------------------------------------------------
  147. * Definition of KHRONOS_APIENTRY
  148. *-------------------------------------------------------------------------
  149. * This follows the return type of the function and precedes the function
  150. * name in the function prototype.
  151. */
  152. #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
  153. /* Win32 but not WinCE */
  154. # define KHRONOS_APIENTRY __stdcall
  155. #else
  156. # define KHRONOS_APIENTRY
  157. #endif
  158. /*-------------------------------------------------------------------------
  159. * Definition of KHRONOS_APIATTRIBUTES
  160. *-------------------------------------------------------------------------
  161. * This follows the closing parenthesis of the function prototype arguments.
  162. */
  163. #if defined (__ARMCC_2__)
  164. #define KHRONOS_APIATTRIBUTES __softfp
  165. #else
  166. #define KHRONOS_APIATTRIBUTES
  167. #endif
  168. /*-------------------------------------------------------------------------
  169. * basic type definitions
  170. *-----------------------------------------------------------------------*/
  171. #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
  172. /*
  173. * Using <stdint.h>
  174. */
  175. #include <stdint.h>
  176. typedef int32_t khronos_int32_t;
  177. typedef uint32_t khronos_uint32_t;
  178. typedef int64_t khronos_int64_t;
  179. typedef uint64_t khronos_uint64_t;
  180. #define KHRONOS_SUPPORT_INT64 1
  181. #define KHRONOS_SUPPORT_FLOAT 1
  182. /*
  183. * To support platform where unsigned long cannot be used interchangeably with
  184. * inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t.
  185. * Ideally, we could just use (u)intptr_t everywhere, but this could result in
  186. * ABI breakage if khronos_uintptr_t is changed from unsigned long to
  187. * unsigned long long or similar (this results in different C++ name mangling).
  188. * To avoid changes for existing platforms, we restrict usage of intptr_t to
  189. * platforms where the size of a pointer is larger than the size of long.
  190. */
  191. #if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
  192. #if __SIZEOF_POINTER__ > __SIZEOF_LONG__
  193. #define KHRONOS_USE_INTPTR_T
  194. #endif
  195. #endif
  196. #elif defined(__VMS ) || defined(__sgi)
  197. /*
  198. * Using <inttypes.h>
  199. */
  200. #include <inttypes.h>
  201. typedef int32_t khronos_int32_t;
  202. typedef uint32_t khronos_uint32_t;
  203. typedef int64_t khronos_int64_t;
  204. typedef uint64_t khronos_uint64_t;
  205. #define KHRONOS_SUPPORT_INT64 1
  206. #define KHRONOS_SUPPORT_FLOAT 1
  207. #elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
  208. /*
  209. * Win32
  210. */
  211. typedef __int32 khronos_int32_t;
  212. typedef unsigned __int32 khronos_uint32_t;
  213. typedef __int64 khronos_int64_t;
  214. typedef unsigned __int64 khronos_uint64_t;
  215. #define KHRONOS_SUPPORT_INT64 1
  216. #define KHRONOS_SUPPORT_FLOAT 1
  217. #elif defined(__sun__) || defined(__digital__)
  218. /*
  219. * Sun or Digital
  220. */
  221. typedef int khronos_int32_t;
  222. typedef unsigned int khronos_uint32_t;
  223. #if defined(__arch64__) || defined(_LP64)
  224. typedef long int khronos_int64_t;
  225. typedef unsigned long int khronos_uint64_t;
  226. #else
  227. typedef long long int khronos_int64_t;
  228. typedef unsigned long long int khronos_uint64_t;
  229. #endif /* __arch64__ */
  230. #define KHRONOS_SUPPORT_INT64 1
  231. #define KHRONOS_SUPPORT_FLOAT 1
  232. #elif 0
  233. /*
  234. * Hypothetical platform with no float or int64 support
  235. */
  236. typedef int khronos_int32_t;
  237. typedef unsigned int khronos_uint32_t;
  238. #define KHRONOS_SUPPORT_INT64 0
  239. #define KHRONOS_SUPPORT_FLOAT 0
  240. #else
  241. /*
  242. * Generic fallback
  243. */
  244. #include <stdint.h>
  245. typedef int32_t khronos_int32_t;
  246. typedef uint32_t khronos_uint32_t;
  247. typedef int64_t khronos_int64_t;
  248. typedef uint64_t khronos_uint64_t;
  249. #define KHRONOS_SUPPORT_INT64 1
  250. #define KHRONOS_SUPPORT_FLOAT 1
  251. #endif
  252. /*
  253. * Types that are (so far) the same on all platforms
  254. */
  255. typedef signed char khronos_int8_t;
  256. typedef unsigned char khronos_uint8_t;
  257. typedef signed short int khronos_int16_t;
  258. typedef unsigned short int khronos_uint16_t;
  259. /*
  260. * Types that differ between LLP64 and LP64 architectures - in LLP64,
  261. * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
  262. * to be the only LLP64 architecture in current use.
  263. */
  264. #ifdef KHRONOS_USE_INTPTR_T
  265. typedef intptr_t khronos_intptr_t;
  266. typedef uintptr_t khronos_uintptr_t;
  267. #elif defined(_WIN64)
  268. typedef signed long long int khronos_intptr_t;
  269. typedef unsigned long long int khronos_uintptr_t;
  270. #else
  271. typedef signed long int khronos_intptr_t;
  272. typedef unsigned long int khronos_uintptr_t;
  273. #endif
  274. #if defined(_WIN64)
  275. typedef signed long long int khronos_ssize_t;
  276. typedef unsigned long long int khronos_usize_t;
  277. #else
  278. typedef signed long int khronos_ssize_t;
  279. typedef unsigned long int khronos_usize_t;
  280. #endif
  281. #if KHRONOS_SUPPORT_FLOAT
  282. /*
  283. * Float type
  284. */
  285. typedef float khronos_float_t;
  286. #endif
  287. #if KHRONOS_SUPPORT_INT64
  288. /* Time types
  289. *
  290. * These types can be used to represent a time interval in nanoseconds or
  291. * an absolute Unadjusted System Time. Unadjusted System Time is the number
  292. * of nanoseconds since some arbitrary system event (e.g. since the last
  293. * time the system booted). The Unadjusted System Time is an unsigned
  294. * 64 bit value that wraps back to 0 every 584 years. Time intervals
  295. * may be either signed or unsigned.
  296. */
  297. typedef khronos_uint64_t khronos_utime_nanoseconds_t;
  298. typedef khronos_int64_t khronos_stime_nanoseconds_t;
  299. #endif
  300. /*
  301. * Dummy value used to pad enum types to 32 bits.
  302. */
  303. #ifndef KHRONOS_MAX_ENUM
  304. #define KHRONOS_MAX_ENUM 0x7FFFFFFF
  305. #endif
  306. /*
  307. * Enumerated boolean type
  308. *
  309. * Values other than zero should be considered to be true. Therefore
  310. * comparisons should not be made against KHRONOS_TRUE.
  311. */
  312. typedef enum {
  313. KHRONOS_FALSE = 0,
  314. KHRONOS_TRUE = 1,
  315. KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
  316. } khronos_boolean_enum_t;
  317. #endif /* __khrplatform_h_ */
  318. /* Generated C header for:
  319. * API: gl
  320. * Profile: compatibility
  321. * Versions considered: .*
  322. * Versions emitted: 1\.[2-9]|[234]\.[0-9]
  323. * Default extensions included: gl
  324. * Additional extensions included: _nomatch_^
  325. * Extensions removed: _nomatch_^
  326. */
  327. #ifndef GL_VERSION_1_2
  328. #define GL_VERSION_1_2 1
  329. #define GL_UNSIGNED_BYTE_3_3_2 0x8032
  330. #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
  331. #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
  332. #define GL_UNSIGNED_INT_8_8_8_8 0x8035
  333. #define GL_UNSIGNED_INT_10_10_10_2 0x8036
  334. #define GL_TEXTURE_BINDING_3D 0x806A
  335. #define GL_PACK_SKIP_IMAGES 0x806B
  336. #define GL_PACK_IMAGE_HEIGHT 0x806C
  337. #define GL_UNPACK_SKIP_IMAGES 0x806D
  338. #define GL_UNPACK_IMAGE_HEIGHT 0x806E
  339. #define GL_TEXTURE_3D 0x806F
  340. #define GL_PROXY_TEXTURE_3D 0x8070
  341. #define GL_TEXTURE_DEPTH 0x8071
  342. #define GL_TEXTURE_WRAP_R 0x8072
  343. #define GL_MAX_3D_TEXTURE_SIZE 0x8073
  344. #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
  345. #define GL_UNSIGNED_SHORT_5_6_5 0x8363
  346. #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
  347. #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
  348. #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
  349. #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
  350. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  351. #define GL_BGR 0x80E0
  352. #define GL_BGRA 0x80E1
  353. #define GL_MAX_ELEMENTS_VERTICES 0x80E8
  354. #define GL_MAX_ELEMENTS_INDICES 0x80E9
  355. #define GL_CLAMP_TO_EDGE 0x812F
  356. #define GL_TEXTURE_MIN_LOD 0x813A
  357. #define GL_TEXTURE_MAX_LOD 0x813B
  358. #define GL_TEXTURE_BASE_LEVEL 0x813C
  359. #define GL_TEXTURE_MAX_LEVEL 0x813D
  360. #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
  361. #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
  362. #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
  363. #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
  364. #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
  365. #define GL_RESCALE_NORMAL 0x803A
  366. #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
  367. #define GL_SINGLE_COLOR 0x81F9
  368. #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
  369. #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
  370. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  371. 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);
  372. 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);
  373. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  374. #ifdef GL_GLEXT_PROTOTYPES
  375. GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  376. 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);
  377. 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);
  378. GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  379. #endif
  380. #endif /* GL_VERSION_1_2 */
  381. #ifndef GL_VERSION_1_3
  382. #define GL_VERSION_1_3 1
  383. #define GL_TEXTURE0 0x84C0
  384. #define GL_TEXTURE1 0x84C1
  385. #define GL_TEXTURE2 0x84C2
  386. #define GL_TEXTURE3 0x84C3
  387. #define GL_TEXTURE4 0x84C4
  388. #define GL_TEXTURE5 0x84C5
  389. #define GL_TEXTURE6 0x84C6
  390. #define GL_TEXTURE7 0x84C7
  391. #define GL_TEXTURE8 0x84C8
  392. #define GL_TEXTURE9 0x84C9
  393. #define GL_TEXTURE10 0x84CA
  394. #define GL_TEXTURE11 0x84CB
  395. #define GL_TEXTURE12 0x84CC
  396. #define GL_TEXTURE13 0x84CD
  397. #define GL_TEXTURE14 0x84CE
  398. #define GL_TEXTURE15 0x84CF
  399. #define GL_TEXTURE16 0x84D0
  400. #define GL_TEXTURE17 0x84D1
  401. #define GL_TEXTURE18 0x84D2
  402. #define GL_TEXTURE19 0x84D3
  403. #define GL_TEXTURE20 0x84D4
  404. #define GL_TEXTURE21 0x84D5
  405. #define GL_TEXTURE22 0x84D6
  406. #define GL_TEXTURE23 0x84D7
  407. #define GL_TEXTURE24 0x84D8
  408. #define GL_TEXTURE25 0x84D9
  409. #define GL_TEXTURE26 0x84DA
  410. #define GL_TEXTURE27 0x84DB
  411. #define GL_TEXTURE28 0x84DC
  412. #define GL_TEXTURE29 0x84DD
  413. #define GL_TEXTURE30 0x84DE
  414. #define GL_TEXTURE31 0x84DF
  415. #define GL_ACTIVE_TEXTURE 0x84E0
  416. #define GL_MULTISAMPLE 0x809D
  417. #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
  418. #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
  419. #define GL_SAMPLE_COVERAGE 0x80A0
  420. #define GL_SAMPLE_BUFFERS 0x80A8
  421. #define GL_SAMPLES 0x80A9
  422. #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
  423. #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
  424. #define GL_TEXTURE_CUBE_MAP 0x8513
  425. #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
  426. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
  427. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
  428. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
  429. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
  430. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
  431. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
  432. #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
  433. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
  434. #define GL_COMPRESSED_RGB 0x84ED
  435. #define GL_COMPRESSED_RGBA 0x84EE
  436. #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
  437. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
  438. #define GL_TEXTURE_COMPRESSED 0x86A1
  439. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
  440. #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
  441. #define GL_CLAMP_TO_BORDER 0x812D
  442. #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
  443. #define GL_MAX_TEXTURE_UNITS 0x84E2
  444. #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
  445. #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
  446. #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
  447. #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
  448. #define GL_MULTISAMPLE_BIT 0x20000000
  449. #define GL_NORMAL_MAP 0x8511
  450. #define GL_REFLECTION_MAP 0x8512
  451. #define GL_COMPRESSED_ALPHA 0x84E9
  452. #define GL_COMPRESSED_LUMINANCE 0x84EA
  453. #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
  454. #define GL_COMPRESSED_INTENSITY 0x84EC
  455. #define GL_COMBINE 0x8570
  456. #define GL_COMBINE_RGB 0x8571
  457. #define GL_COMBINE_ALPHA 0x8572
  458. #define GL_SOURCE0_RGB 0x8580
  459. #define GL_SOURCE1_RGB 0x8581
  460. #define GL_SOURCE2_RGB 0x8582
  461. #define GL_SOURCE0_ALPHA 0x8588
  462. #define GL_SOURCE1_ALPHA 0x8589
  463. #define GL_SOURCE2_ALPHA 0x858A
  464. #define GL_OPERAND0_RGB 0x8590
  465. #define GL_OPERAND1_RGB 0x8591
  466. #define GL_OPERAND2_RGB 0x8592
  467. #define GL_OPERAND0_ALPHA 0x8598
  468. #define GL_OPERAND1_ALPHA 0x8599
  469. #define GL_OPERAND2_ALPHA 0x859A
  470. #define GL_RGB_SCALE 0x8573
  471. #define GL_ADD_SIGNED 0x8574
  472. #define GL_INTERPOLATE 0x8575
  473. #define GL_SUBTRACT 0x84E7
  474. #define GL_CONSTANT 0x8576
  475. #define GL_PRIMARY_COLOR 0x8577
  476. #define GL_PREVIOUS 0x8578
  477. #define GL_DOT3_RGB 0x86AE
  478. #define GL_DOT3_RGBA 0x86AF
  479. typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  480. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
  481. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  482. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  483. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  484. 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);
  485. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  486. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  487. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
  488. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  489. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  490. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  491. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  492. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  493. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  494. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  495. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  496. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  497. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  498. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  499. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  500. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  501. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  502. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  503. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  504. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  505. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  506. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  507. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  508. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  509. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  510. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  511. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  512. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  513. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  514. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  515. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  516. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  517. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  518. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  519. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  520. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  521. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  522. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  523. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  524. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  525. #ifdef GL_GLEXT_PROTOTYPES
  526. GLAPI void APIENTRY glActiveTexture (GLenum texture);
  527. GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
  528. GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  529. GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  530. GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  531. 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);
  532. GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  533. GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  534. GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
  535. GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
  536. GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
  537. GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
  538. GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
  539. GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
  540. GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
  541. GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
  542. GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
  543. GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
  544. GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
  545. GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
  546. GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
  547. GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
  548. GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
  549. GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
  550. GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
  551. GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
  552. GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  553. GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
  554. GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  555. GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
  556. GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
  557. GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
  558. GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
  559. GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
  560. GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  561. GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
  562. GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  563. GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
  564. GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
  565. GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
  566. GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  567. GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
  568. GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
  569. GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
  570. GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
  571. GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
  572. #endif
  573. #endif /* GL_VERSION_1_3 */
  574. #ifndef GL_VERSION_1_4
  575. #define GL_VERSION_1_4 1
  576. #define GL_BLEND_DST_RGB 0x80C8
  577. #define GL_BLEND_SRC_RGB 0x80C9
  578. #define GL_BLEND_DST_ALPHA 0x80CA
  579. #define GL_BLEND_SRC_ALPHA 0x80CB
  580. #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
  581. #define GL_DEPTH_COMPONENT16 0x81A5
  582. #define GL_DEPTH_COMPONENT24 0x81A6
  583. #define GL_DEPTH_COMPONENT32 0x81A7
  584. #define GL_MIRRORED_REPEAT 0x8370
  585. #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
  586. #define GL_TEXTURE_LOD_BIAS 0x8501
  587. #define GL_INCR_WRAP 0x8507
  588. #define GL_DECR_WRAP 0x8508
  589. #define GL_TEXTURE_DEPTH_SIZE 0x884A
  590. #define GL_TEXTURE_COMPARE_MODE 0x884C
  591. #define GL_TEXTURE_COMPARE_FUNC 0x884D
  592. #define GL_POINT_SIZE_MIN 0x8126
  593. #define GL_POINT_SIZE_MAX 0x8127
  594. #define GL_POINT_DISTANCE_ATTENUATION 0x8129
  595. #define GL_GENERATE_MIPMAP 0x8191
  596. #define GL_GENERATE_MIPMAP_HINT 0x8192
  597. #define GL_FOG_COORDINATE_SOURCE 0x8450
  598. #define GL_FOG_COORDINATE 0x8451
  599. #define GL_FRAGMENT_DEPTH 0x8452
  600. #define GL_CURRENT_FOG_COORDINATE 0x8453
  601. #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
  602. #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
  603. #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
  604. #define GL_FOG_COORDINATE_ARRAY 0x8457
  605. #define GL_COLOR_SUM 0x8458
  606. #define GL_CURRENT_SECONDARY_COLOR 0x8459
  607. #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
  608. #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
  609. #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
  610. #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
  611. #define GL_SECONDARY_COLOR_ARRAY 0x845E
  612. #define GL_TEXTURE_FILTER_CONTROL 0x8500
  613. #define GL_DEPTH_TEXTURE_MODE 0x884B
  614. #define GL_COMPARE_R_TO_TEXTURE 0x884E
  615. #define GL_BLEND_COLOR 0x8005
  616. #define GL_BLEND_EQUATION 0x8009
  617. #define GL_CONSTANT_COLOR 0x8001
  618. #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
  619. #define GL_CONSTANT_ALPHA 0x8003
  620. #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
  621. #define GL_FUNC_ADD 0x8006
  622. #define GL_FUNC_REVERSE_SUBTRACT 0x800B
  623. #define GL_FUNC_SUBTRACT 0x800A
  624. #define GL_MIN 0x8007
  625. #define GL_MAX 0x8008
  626. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  627. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  628. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  629. typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  630. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  631. typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  632. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  633. typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
  634. typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  635. typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
  636. typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  637. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer);
  638. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  639. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  640. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  641. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  642. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  643. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  644. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  645. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  646. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  647. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  648. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  649. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  650. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  651. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  652. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  653. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  654. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  655. typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  656. typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
  657. typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  658. typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
  659. typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  660. typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
  661. typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  662. typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
  663. typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  664. typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
  665. typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  666. typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
  667. typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  668. typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
  669. typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  670. typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
  671. typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  672. typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  673. #ifdef GL_GLEXT_PROTOTYPES
  674. GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  675. GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  676. GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  677. GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
  678. GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
  679. GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
  680. GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
  681. GLAPI void APIENTRY glFogCoordf (GLfloat coord);
  682. GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
  683. GLAPI void APIENTRY glFogCoordd (GLdouble coord);
  684. GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
  685. GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer);
  686. GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
  687. GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
  688. GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
  689. GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
  690. GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
  691. GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
  692. GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
  693. GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
  694. GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
  695. GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
  696. GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
  697. GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
  698. GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
  699. GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
  700. GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
  701. GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
  702. GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer);
  703. GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
  704. GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
  705. GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
  706. GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
  707. GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
  708. GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
  709. GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
  710. GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
  711. GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
  712. GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
  713. GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
  714. GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
  715. GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
  716. GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
  717. GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
  718. GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
  719. GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  720. GLAPI void APIENTRY glBlendEquation (GLenum mode);
  721. #endif
  722. #endif /* GL_VERSION_1_4 */
  723. #ifndef GL_VERSION_1_5
  724. #define GL_VERSION_1_5 1
  725. typedef khronos_ssize_t GLsizeiptr;
  726. typedef khronos_intptr_t GLintptr;
  727. #define GL_BUFFER_SIZE 0x8764
  728. #define GL_BUFFER_USAGE 0x8765
  729. #define GL_QUERY_COUNTER_BITS 0x8864
  730. #define GL_CURRENT_QUERY 0x8865
  731. #define GL_QUERY_RESULT 0x8866
  732. #define GL_QUERY_RESULT_AVAILABLE 0x8867
  733. #define GL_ARRAY_BUFFER 0x8892
  734. #define GL_ELEMENT_ARRAY_BUFFER 0x8893
  735. #define GL_ARRAY_BUFFER_BINDING 0x8894
  736. #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
  737. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
  738. #define GL_READ_ONLY 0x88B8
  739. #define GL_WRITE_ONLY 0x88B9
  740. #define GL_READ_WRITE 0x88BA
  741. #define GL_BUFFER_ACCESS 0x88BB
  742. #define GL_BUFFER_MAPPED 0x88BC
  743. #define GL_BUFFER_MAP_POINTER 0x88BD
  744. #define GL_STREAM_DRAW 0x88E0
  745. #define GL_STREAM_READ 0x88E1
  746. #define GL_STREAM_COPY 0x88E2
  747. #define GL_STATIC_DRAW 0x88E4
  748. #define GL_STATIC_READ 0x88E5
  749. #define GL_STATIC_COPY 0x88E6
  750. #define GL_DYNAMIC_DRAW 0x88E8
  751. #define GL_DYNAMIC_READ 0x88E9
  752. #define GL_DYNAMIC_COPY 0x88EA
  753. #define GL_SAMPLES_PASSED 0x8914
  754. #define GL_SRC1_ALPHA 0x8589
  755. #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
  756. #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
  757. #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
  758. #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
  759. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
  760. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
  761. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
  762. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
  763. #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
  764. #define GL_FOG_COORD_SRC 0x8450
  765. #define GL_FOG_COORD 0x8451
  766. #define GL_CURRENT_FOG_COORD 0x8453
  767. #define GL_FOG_COORD_ARRAY_TYPE 0x8454
  768. #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
  769. #define GL_FOG_COORD_ARRAY_POINTER 0x8456
  770. #define GL_FOG_COORD_ARRAY 0x8457
  771. #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
  772. #define GL_SRC0_RGB 0x8580
  773. #define GL_SRC1_RGB 0x8581
  774. #define GL_SRC2_RGB 0x8582
  775. #define GL_SRC0_ALPHA 0x8588
  776. #define GL_SRC2_ALPHA 0x858A
  777. typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  778. typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  779. typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  780. typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  781. typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  782. typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  783. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  784. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  785. typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  786. typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  787. typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  788. typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  789. typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  790. typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  791. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  792. typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  793. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  794. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  795. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
  796. #ifdef GL_GLEXT_PROTOTYPES
  797. GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
  798. GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
  799. GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
  800. GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
  801. GLAPI void APIENTRY glEndQuery (GLenum target);
  802. GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
  803. GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
  804. GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
  805. GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
  806. GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
  807. GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
  808. GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
  809. GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  810. GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  811. GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  812. GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
  813. GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
  814. GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
  815. GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
  816. #endif
  817. #endif /* GL_VERSION_1_5 */
  818. #ifndef GL_VERSION_2_0
  819. #define GL_VERSION_2_0 1
  820. typedef char GLchar;
  821. #define GL_BLEND_EQUATION_RGB 0x8009
  822. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
  823. #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
  824. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
  825. #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
  826. #define GL_CURRENT_VERTEX_ATTRIB 0x8626
  827. #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
  828. #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
  829. #define GL_STENCIL_BACK_FUNC 0x8800
  830. #define GL_STENCIL_BACK_FAIL 0x8801
  831. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
  832. #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
  833. #define GL_MAX_DRAW_BUFFERS 0x8824
  834. #define GL_DRAW_BUFFER0 0x8825
  835. #define GL_DRAW_BUFFER1 0x8826
  836. #define GL_DRAW_BUFFER2 0x8827
  837. #define GL_DRAW_BUFFER3 0x8828
  838. #define GL_DRAW_BUFFER4 0x8829
  839. #define GL_DRAW_BUFFER5 0x882A
  840. #define GL_DRAW_BUFFER6 0x882B
  841. #define GL_DRAW_BUFFER7 0x882C
  842. #define GL_DRAW_BUFFER8 0x882D
  843. #define GL_DRAW_BUFFER9 0x882E
  844. #define GL_DRAW_BUFFER10 0x882F
  845. #define GL_DRAW_BUFFER11 0x8830
  846. #define GL_DRAW_BUFFER12 0x8831
  847. #define GL_DRAW_BUFFER13 0x8832
  848. #define GL_DRAW_BUFFER14 0x8833
  849. #define GL_DRAW_BUFFER15 0x8834
  850. #define GL_BLEND_EQUATION_ALPHA 0x883D
  851. #define GL_MAX_VERTEX_ATTRIBS 0x8869
  852. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
  853. #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
  854. #define GL_FRAGMENT_SHADER 0x8B30
  855. #define GL_VERTEX_SHADER 0x8B31
  856. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
  857. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
  858. #define GL_MAX_VARYING_FLOATS 0x8B4B
  859. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
  860. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
  861. #define GL_SHADER_TYPE 0x8B4F
  862. #define GL_FLOAT_VEC2 0x8B50
  863. #define GL_FLOAT_VEC3 0x8B51
  864. #define GL_FLOAT_VEC4 0x8B52
  865. #define GL_INT_VEC2 0x8B53
  866. #define GL_INT_VEC3 0x8B54
  867. #define GL_INT_VEC4 0x8B55
  868. #define GL_BOOL 0x8B56
  869. #define GL_BOOL_VEC2 0x8B57
  870. #define GL_BOOL_VEC3 0x8B58
  871. #define GL_BOOL_VEC4 0x8B59
  872. #define GL_FLOAT_MAT2 0x8B5A
  873. #define GL_FLOAT_MAT3 0x8B5B
  874. #define GL_FLOAT_MAT4 0x8B5C
  875. #define GL_SAMPLER_1D 0x8B5D
  876. #define GL_SAMPLER_2D 0x8B5E
  877. #define GL_SAMPLER_3D 0x8B5F
  878. #define GL_SAMPLER_CUBE 0x8B60
  879. #define GL_SAMPLER_1D_SHADOW 0x8B61
  880. #define GL_SAMPLER_2D_SHADOW 0x8B62
  881. #define GL_DELETE_STATUS 0x8B80
  882. #define GL_COMPILE_STATUS 0x8B81
  883. #define GL_LINK_STATUS 0x8B82
  884. #define GL_VALIDATE_STATUS 0x8B83
  885. #define GL_INFO_LOG_LENGTH 0x8B84
  886. #define GL_ATTACHED_SHADERS 0x8B85
  887. #define GL_ACTIVE_UNIFORMS 0x8B86
  888. #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
  889. #define GL_SHADER_SOURCE_LENGTH 0x8B88
  890. #define GL_ACTIVE_ATTRIBUTES 0x8B89
  891. #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
  892. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
  893. #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
  894. #define GL_CURRENT_PROGRAM 0x8B8D
  895. #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
  896. #define GL_LOWER_LEFT 0x8CA1
  897. #define GL_UPPER_LEFT 0x8CA2
  898. #define GL_STENCIL_BACK_REF 0x8CA3
  899. #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
  900. #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
  901. #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
  902. #define GL_POINT_SPRITE 0x8861
  903. #define GL_COORD_REPLACE 0x8862
  904. #define GL_MAX_TEXTURE_COORDS 0x8871
  905. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  906. typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  907. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  908. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
  909. typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  910. typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  911. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  912. typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  913. typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  914. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  915. typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  916. typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  917. typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  918. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  919. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  920. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  921. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  922. typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  923. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  924. typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  925. typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  926. typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  927. typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  928. typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  929. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  930. typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  931. typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  932. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  933. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  934. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  935. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
  936. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  937. typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  938. typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  939. typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  940. typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  941. typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  942. typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  943. typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  944. typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  945. typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  946. typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  947. typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  948. typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  949. typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  950. typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  951. typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  952. typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  953. typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  954. typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  955. typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  956. typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  957. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  958. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  959. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  960. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  961. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  962. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  963. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  964. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  965. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  966. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  967. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  968. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  969. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  970. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  971. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  972. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  973. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  974. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  975. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  976. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  977. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  978. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  979. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  980. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  981. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  982. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  983. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  984. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  985. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  986. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  987. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  988. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  989. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  990. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  991. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  992. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  993. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  994. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  995. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  996. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  997. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  998. #ifdef GL_GLEXT_PROTOTYPES
  999. GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
  1000. GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
  1001. GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  1002. GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
  1003. GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
  1004. GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
  1005. GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
  1006. GLAPI void APIENTRY glCompileShader (GLuint shader);
  1007. GLAPI GLuint APIENTRY glCreateProgram (void);
  1008. GLAPI GLuint APIENTRY glCreateShader (GLenum type);
  1009. GLAPI void APIENTRY glDeleteProgram (GLuint program);
  1010. GLAPI void APIENTRY glDeleteShader (GLuint shader);
  1011. GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
  1012. GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
  1013. GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
  1014. GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  1015. GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  1016. GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  1017. GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
  1018. GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
  1019. GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1020. GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
  1021. GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1022. GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  1023. GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
  1024. GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
  1025. GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
  1026. GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
  1027. GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
  1028. GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
  1029. GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
  1030. GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
  1031. GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
  1032. GLAPI void APIENTRY glLinkProgram (GLuint program);
  1033. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  1034. GLAPI void APIENTRY glUseProgram (GLuint program);
  1035. GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
  1036. GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
  1037. GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1038. GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1039. GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
  1040. GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
  1041. GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
  1042. GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1043. GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
  1044. GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
  1045. GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
  1046. GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
  1047. GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
  1048. GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
  1049. GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
  1050. GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
  1051. GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1052. GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1053. GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1054. GLAPI void APIENTRY glValidateProgram (GLuint program);
  1055. GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
  1056. GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
  1057. GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
  1058. GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
  1059. GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
  1060. GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
  1061. GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
  1062. GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
  1063. GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
  1064. GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
  1065. GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
  1066. GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
  1067. GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1068. GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
  1069. GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  1070. GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
  1071. GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
  1072. GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
  1073. GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
  1074. GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
  1075. GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
  1076. GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  1077. GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
  1078. GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
  1079. GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
  1080. GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
  1081. GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1082. GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
  1083. GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1084. GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
  1085. GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
  1086. GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  1087. GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
  1088. GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
  1089. GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
  1090. GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
  1091. GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  1092. #endif
  1093. #endif /* GL_VERSION_2_0 */
  1094. #ifndef GL_VERSION_2_1
  1095. #define GL_VERSION_2_1 1
  1096. #define GL_PIXEL_PACK_BUFFER 0x88EB
  1097. #define GL_PIXEL_UNPACK_BUFFER 0x88EC
  1098. #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
  1099. #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
  1100. #define GL_FLOAT_MAT2x3 0x8B65
  1101. #define GL_FLOAT_MAT2x4 0x8B66
  1102. #define GL_FLOAT_MAT3x2 0x8B67
  1103. #define GL_FLOAT_MAT3x4 0x8B68
  1104. #define GL_FLOAT_MAT4x2 0x8B69
  1105. #define GL_FLOAT_MAT4x3 0x8B6A
  1106. #define GL_SRGB 0x8C40
  1107. #define GL_SRGB8 0x8C41
  1108. #define GL_SRGB_ALPHA 0x8C42
  1109. #define GL_SRGB8_ALPHA8 0x8C43
  1110. #define GL_COMPRESSED_SRGB 0x8C48
  1111. #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
  1112. #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
  1113. #define GL_SLUMINANCE_ALPHA 0x8C44
  1114. #define GL_SLUMINANCE8_ALPHA8 0x8C45
  1115. #define GL_SLUMINANCE 0x8C46
  1116. #define GL_SLUMINANCE8 0x8C47
  1117. #define GL_COMPRESSED_SLUMINANCE 0x8C4A
  1118. #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
  1119. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1120. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1121. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1122. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1123. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1124. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1125. #ifdef GL_GLEXT_PROTOTYPES
  1126. GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1127. GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1128. GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1129. GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1130. GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1131. GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1132. #endif
  1133. #endif /* GL_VERSION_2_1 */
  1134. #ifndef GL_VERSION_3_0
  1135. #define GL_VERSION_3_0 1
  1136. typedef khronos_uint16_t GLhalf;
  1137. #define GL_COMPARE_REF_TO_TEXTURE 0x884E
  1138. #define GL_CLIP_DISTANCE0 0x3000
  1139. #define GL_CLIP_DISTANCE1 0x3001
  1140. #define GL_CLIP_DISTANCE2 0x3002
  1141. #define GL_CLIP_DISTANCE3 0x3003
  1142. #define GL_CLIP_DISTANCE4 0x3004
  1143. #define GL_CLIP_DISTANCE5 0x3005
  1144. #define GL_CLIP_DISTANCE6 0x3006
  1145. #define GL_CLIP_DISTANCE7 0x3007
  1146. #define GL_MAX_CLIP_DISTANCES 0x0D32
  1147. #define GL_MAJOR_VERSION 0x821B
  1148. #define GL_MINOR_VERSION 0x821C
  1149. #define GL_NUM_EXTENSIONS 0x821D
  1150. #define GL_CONTEXT_FLAGS 0x821E
  1151. #define GL_COMPRESSED_RED 0x8225
  1152. #define GL_COMPRESSED_RG 0x8226
  1153. #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
  1154. #define GL_RGBA32F 0x8814
  1155. #define GL_RGB32F 0x8815
  1156. #define GL_RGBA16F 0x881A
  1157. #define GL_RGB16F 0x881B
  1158. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
  1159. #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
  1160. #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
  1161. #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
  1162. #define GL_CLAMP_READ_COLOR 0x891C
  1163. #define GL_FIXED_ONLY 0x891D
  1164. #define GL_MAX_VARYING_COMPONENTS 0x8B4B
  1165. #define GL_TEXTURE_1D_ARRAY 0x8C18
  1166. #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
  1167. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  1168. #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
  1169. #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
  1170. #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
  1171. #define GL_R11F_G11F_B10F 0x8C3A
  1172. #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
  1173. #define GL_RGB9_E5 0x8C3D
  1174. #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
  1175. #define GL_TEXTURE_SHARED_SIZE 0x8C3F
  1176. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
  1177. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
  1178. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
  1179. #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
  1180. #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
  1181. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
  1182. #define GL_PRIMITIVES_GENERATED 0x8C87
  1183. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
  1184. #define GL_RASTERIZER_DISCARD 0x8C89
  1185. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
  1186. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
  1187. #define GL_INTERLEAVED_ATTRIBS 0x8C8C
  1188. #define GL_SEPARATE_ATTRIBS 0x8C8D
  1189. #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
  1190. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
  1191. #define GL_RGBA32UI 0x8D70
  1192. #define GL_RGB32UI 0x8D71
  1193. #define GL_RGBA16UI 0x8D76
  1194. #define GL_RGB16UI 0x8D77
  1195. #define GL_RGBA8UI 0x8D7C
  1196. #define GL_RGB8UI 0x8D7D
  1197. #define GL_RGBA32I 0x8D82
  1198. #define GL_RGB32I 0x8D83
  1199. #define GL_RGBA16I 0x8D88
  1200. #define GL_RGB16I 0x8D89
  1201. #define GL_RGBA8I 0x8D8E
  1202. #define GL_RGB8I 0x8D8F
  1203. #define GL_RED_INTEGER 0x8D94
  1204. #define GL_GREEN_INTEGER 0x8D95
  1205. #define GL_BLUE_INTEGER 0x8D96
  1206. #define GL_RGB_INTEGER 0x8D98
  1207. #define GL_RGBA_INTEGER 0x8D99
  1208. #define GL_BGR_INTEGER 0x8D9A
  1209. #define GL_BGRA_INTEGER 0x8D9B
  1210. #define GL_SAMPLER_1D_ARRAY 0x8DC0
  1211. #define GL_SAMPLER_2D_ARRAY 0x8DC1
  1212. #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
  1213. #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
  1214. #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
  1215. #define GL_UNSIGNED_INT_VEC2 0x8DC6
  1216. #define GL_UNSIGNED_INT_VEC3 0x8DC7
  1217. #define GL_UNSIGNED_INT_VEC4 0x8DC8
  1218. #define GL_INT_SAMPLER_1D 0x8DC9
  1219. #define GL_INT_SAMPLER_2D 0x8DCA
  1220. #define GL_INT_SAMPLER_3D 0x8DCB
  1221. #define GL_INT_SAMPLER_CUBE 0x8DCC
  1222. #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
  1223. #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
  1224. #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
  1225. #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
  1226. #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
  1227. #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
  1228. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
  1229. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
  1230. #define GL_QUERY_WAIT 0x8E13
  1231. #define GL_QUERY_NO_WAIT 0x8E14
  1232. #define GL_QUERY_BY_REGION_WAIT 0x8E15
  1233. #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
  1234. #define GL_BUFFER_ACCESS_FLAGS 0x911F
  1235. #define GL_BUFFER_MAP_LENGTH 0x9120
  1236. #define GL_BUFFER_MAP_OFFSET 0x9121
  1237. #define GL_DEPTH_COMPONENT32F 0x8CAC
  1238. #define GL_DEPTH32F_STENCIL8 0x8CAD
  1239. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  1240. #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
  1241. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  1242. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  1243. #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  1244. #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  1245. #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  1246. #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  1247. #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  1248. #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  1249. #define GL_FRAMEBUFFER_DEFAULT 0x8218
  1250. #define GL_FRAMEBUFFER_UNDEFINED 0x8219
  1251. #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
  1252. #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
  1253. #define GL_DEPTH_STENCIL 0x84F9
  1254. #define GL_UNSIGNED_INT_24_8 0x84FA
  1255. #define GL_DEPTH24_STENCIL8 0x88F0
  1256. #define GL_TEXTURE_STENCIL_SIZE 0x88F1
  1257. #define GL_TEXTURE_RED_TYPE 0x8C10
  1258. #define GL_TEXTURE_GREEN_TYPE 0x8C11
  1259. #define GL_TEXTURE_BLUE_TYPE 0x8C12
  1260. #define GL_TEXTURE_ALPHA_TYPE 0x8C13
  1261. #define GL_TEXTURE_DEPTH_TYPE 0x8C16
  1262. #define GL_UNSIGNED_NORMALIZED 0x8C17
  1263. #define GL_FRAMEBUFFER_BINDING 0x8CA6
  1264. #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
  1265. #define GL_RENDERBUFFER_BINDING 0x8CA7
  1266. #define GL_READ_FRAMEBUFFER 0x8CA8
  1267. #define GL_DRAW_FRAMEBUFFER 0x8CA9
  1268. #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
  1269. #define GL_RENDERBUFFER_SAMPLES 0x8CAB
  1270. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  1271. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  1272. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  1273. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  1274. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  1275. #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
  1276. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  1277. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  1278. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  1279. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  1280. #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
  1281. #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
  1282. #define GL_COLOR_ATTACHMENT0 0x8CE0
  1283. #define GL_COLOR_ATTACHMENT1 0x8CE1
  1284. #define GL_COLOR_ATTACHMENT2 0x8CE2
  1285. #define GL_COLOR_ATTACHMENT3 0x8CE3
  1286. #define GL_COLOR_ATTACHMENT4 0x8CE4
  1287. #define GL_COLOR_ATTACHMENT5 0x8CE5
  1288. #define GL_COLOR_ATTACHMENT6 0x8CE6
  1289. #define GL_COLOR_ATTACHMENT7 0x8CE7
  1290. #define GL_COLOR_ATTACHMENT8 0x8CE8
  1291. #define GL_COLOR_ATTACHMENT9 0x8CE9
  1292. #define GL_COLOR_ATTACHMENT10 0x8CEA
  1293. #define GL_COLOR_ATTACHMENT11 0x8CEB
  1294. #define GL_COLOR_ATTACHMENT12 0x8CEC
  1295. #define GL_COLOR_ATTACHMENT13 0x8CED
  1296. #define GL_COLOR_ATTACHMENT14 0x8CEE
  1297. #define GL_COLOR_ATTACHMENT15 0x8CEF
  1298. #define GL_COLOR_ATTACHMENT16 0x8CF0
  1299. #define GL_COLOR_ATTACHMENT17 0x8CF1
  1300. #define GL_COLOR_ATTACHMENT18 0x8CF2
  1301. #define GL_COLOR_ATTACHMENT19 0x8CF3
  1302. #define GL_COLOR_ATTACHMENT20 0x8CF4
  1303. #define GL_COLOR_ATTACHMENT21 0x8CF5
  1304. #define GL_COLOR_ATTACHMENT22 0x8CF6
  1305. #define GL_COLOR_ATTACHMENT23 0x8CF7
  1306. #define GL_COLOR_ATTACHMENT24 0x8CF8
  1307. #define GL_COLOR_ATTACHMENT25 0x8CF9
  1308. #define GL_COLOR_ATTACHMENT26 0x8CFA
  1309. #define GL_COLOR_ATTACHMENT27 0x8CFB
  1310. #define GL_COLOR_ATTACHMENT28 0x8CFC
  1311. #define GL_COLOR_ATTACHMENT29 0x8CFD
  1312. #define GL_COLOR_ATTACHMENT30 0x8CFE
  1313. #define GL_COLOR_ATTACHMENT31 0x8CFF
  1314. #define GL_DEPTH_ATTACHMENT 0x8D00
  1315. #define GL_STENCIL_ATTACHMENT 0x8D20
  1316. #define GL_FRAMEBUFFER 0x8D40
  1317. #define GL_RENDERBUFFER 0x8D41
  1318. #define GL_RENDERBUFFER_WIDTH 0x8D42
  1319. #define GL_RENDERBUFFER_HEIGHT 0x8D43
  1320. #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
  1321. #define GL_STENCIL_INDEX1 0x8D46
  1322. #define GL_STENCIL_INDEX4 0x8D47
  1323. #define GL_STENCIL_INDEX8 0x8D48
  1324. #define GL_STENCIL_INDEX16 0x8D49
  1325. #define GL_RENDERBUFFER_RED_SIZE 0x8D50
  1326. #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
  1327. #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
  1328. #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
  1329. #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
  1330. #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
  1331. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1332. #define GL_MAX_SAMPLES 0x8D57
  1333. #define GL_INDEX 0x8222
  1334. #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
  1335. #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
  1336. #define GL_FRAMEBUFFER_SRGB 0x8DB9
  1337. #define GL_HALF_FLOAT 0x140B
  1338. #define GL_MAP_READ_BIT 0x0001
  1339. #define GL_MAP_WRITE_BIT 0x0002
  1340. #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
  1341. #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
  1342. #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
  1343. #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
  1344. #define GL_COMPRESSED_RED_RGTC1 0x8DBB
  1345. #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
  1346. #define GL_COMPRESSED_RG_RGTC2 0x8DBD
  1347. #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
  1348. #define GL_RG 0x8227
  1349. #define GL_RG_INTEGER 0x8228
  1350. #define GL_R8 0x8229
  1351. #define GL_R16 0x822A
  1352. #define GL_RG8 0x822B
  1353. #define GL_RG16 0x822C
  1354. #define GL_R16F 0x822D
  1355. #define GL_R32F 0x822E
  1356. #define GL_RG16F 0x822F
  1357. #define GL_RG32F 0x8230
  1358. #define GL_R8I 0x8231
  1359. #define GL_R8UI 0x8232
  1360. #define GL_R16I 0x8233
  1361. #define GL_R16UI 0x8234
  1362. #define GL_R32I 0x8235
  1363. #define GL_R32UI 0x8236
  1364. #define GL_RG8I 0x8237
  1365. #define GL_RG8UI 0x8238
  1366. #define GL_RG16I 0x8239
  1367. #define GL_RG16UI 0x823A
  1368. #define GL_RG32I 0x823B
  1369. #define GL_RG32UI 0x823C
  1370. #define GL_VERTEX_ARRAY_BINDING 0x85B5
  1371. #define GL_CLAMP_VERTEX_COLOR 0x891A
  1372. #define GL_CLAMP_FRAGMENT_COLOR 0x891B
  1373. #define GL_ALPHA_INTEGER 0x8D97
  1374. typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1375. typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  1376. typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  1377. typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  1378. typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  1379. typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  1380. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  1381. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  1382. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1383. typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  1384. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1385. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1386. typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  1387. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  1388. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  1389. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1390. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  1391. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  1392. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  1393. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  1394. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  1395. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1396. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  1397. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  1398. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  1399. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1400. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  1401. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  1402. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  1403. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  1404. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  1405. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  1406. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  1407. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  1408. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  1409. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  1410. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  1411. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  1412. typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  1413. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  1414. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  1415. typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  1416. typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  1417. typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1418. typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1419. typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1420. typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1421. typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1422. typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1423. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1424. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  1425. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  1426. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  1427. typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  1428. typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1429. typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1430. typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1431. typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  1432. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  1433. typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  1434. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  1435. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  1436. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1437. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1438. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  1439. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  1440. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  1441. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  1442. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  1443. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1444. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1445. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1446. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1447. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1448. typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  1449. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1450. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1451. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1452. typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1453. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1454. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  1455. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  1456. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  1457. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  1458. #ifdef GL_GLEXT_PROTOTYPES
  1459. GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1460. GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
  1461. GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
  1462. GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
  1463. GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
  1464. GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
  1465. GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
  1466. GLAPI void APIENTRY glEndTransformFeedback (void);
  1467. GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1468. GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
  1469. GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1470. GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1471. GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
  1472. GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
  1473. GLAPI void APIENTRY glEndConditionalRender (void);
  1474. GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1475. GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
  1476. GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
  1477. GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
  1478. GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
  1479. GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
  1480. GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1481. GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
  1482. GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
  1483. GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
  1484. GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1485. GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
  1486. GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
  1487. GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
  1488. GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
  1489. GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
  1490. GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
  1491. GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
  1492. GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
  1493. GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
  1494. GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
  1495. GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
  1496. GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
  1497. GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
  1498. GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
  1499. GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
  1500. GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
  1501. GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
  1502. GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1503. GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1504. GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
  1505. GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
  1506. GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
  1507. GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
  1508. GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
  1509. GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
  1510. GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
  1511. GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
  1512. GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
  1513. GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1514. GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1515. GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1516. GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
  1517. GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
  1518. GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
  1519. GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
  1520. GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
  1521. GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1522. GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
  1523. GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
  1524. GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
  1525. GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
  1526. GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
  1527. GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
  1528. GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1529. GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1530. GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1531. GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1532. GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1533. GLAPI void APIENTRY glGenerateMipmap (GLenum target);
  1534. GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1535. GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1536. GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1537. GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1538. GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
  1539. GLAPI void APIENTRY glBindVertexArray (GLuint array);
  1540. GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
  1541. GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
  1542. GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
  1543. #endif
  1544. #endif /* GL_VERSION_3_0 */
  1545. #ifndef GL_VERSION_3_1
  1546. #define GL_VERSION_3_1 1
  1547. #define GL_SAMPLER_2D_RECT 0x8B63
  1548. #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
  1549. #define GL_SAMPLER_BUFFER 0x8DC2
  1550. #define GL_INT_SAMPLER_2D_RECT 0x8DCD
  1551. #define GL_INT_SAMPLER_BUFFER 0x8DD0
  1552. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
  1553. #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
  1554. #define GL_TEXTURE_BUFFER 0x8C2A
  1555. #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
  1556. #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
  1557. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  1558. #define GL_TEXTURE_RECTANGLE 0x84F5
  1559. #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
  1560. #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
  1561. #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
  1562. #define GL_R8_SNORM 0x8F94
  1563. #define GL_RG8_SNORM 0x8F95
  1564. #define GL_RGB8_SNORM 0x8F96
  1565. #define GL_RGBA8_SNORM 0x8F97
  1566. #define GL_R16_SNORM 0x8F98
  1567. #define GL_RG16_SNORM 0x8F99
  1568. #define GL_RGB16_SNORM 0x8F9A
  1569. #define GL_RGBA16_SNORM 0x8F9B
  1570. #define GL_SIGNED_NORMALIZED 0x8F9C
  1571. #define GL_PRIMITIVE_RESTART 0x8F9D
  1572. #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
  1573. #define GL_COPY_READ_BUFFER 0x8F36
  1574. #define GL_COPY_WRITE_BUFFER 0x8F37
  1575. #define GL_UNIFORM_BUFFER 0x8A11
  1576. #define GL_UNIFORM_BUFFER_BINDING 0x8A28
  1577. #define GL_UNIFORM_BUFFER_START 0x8A29
  1578. #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
  1579. #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
  1580. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
  1581. #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
  1582. #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
  1583. #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
  1584. #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
  1585. #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  1586. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  1587. #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  1588. #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  1589. #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  1590. #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
  1591. #define GL_UNIFORM_TYPE 0x8A37
  1592. #define GL_UNIFORM_SIZE 0x8A38
  1593. #define GL_UNIFORM_NAME_LENGTH 0x8A39
  1594. #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
  1595. #define GL_UNIFORM_OFFSET 0x8A3B
  1596. #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
  1597. #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
  1598. #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
  1599. #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
  1600. #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
  1601. #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
  1602. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
  1603. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  1604. #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  1605. #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  1606. #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  1607. #define GL_INVALID_INDEX 0xFFFFFFFFu
  1608. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1609. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1610. typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1611. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
  1612. typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1613. typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1614. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1615. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1616. typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
  1617. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1618. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1619. typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1620. #ifdef GL_GLEXT_PROTOTYPES
  1621. GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1622. GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1623. GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
  1624. GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
  1625. GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1626. GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1627. GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1628. GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1629. GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
  1630. GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1631. GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1632. GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1633. #endif
  1634. #endif /* GL_VERSION_3_1 */
  1635. #ifndef GL_VERSION_3_2
  1636. #define GL_VERSION_3_2 1
  1637. typedef struct __GLsync *GLsync;
  1638. typedef khronos_uint64_t GLuint64;
  1639. typedef khronos_int64_t GLint64;
  1640. #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
  1641. #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  1642. #define GL_LINES_ADJACENCY 0x000A
  1643. #define GL_LINE_STRIP_ADJACENCY 0x000B
  1644. #define GL_TRIANGLES_ADJACENCY 0x000C
  1645. #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
  1646. #define GL_PROGRAM_POINT_SIZE 0x8642
  1647. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  1648. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  1649. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  1650. #define GL_GEOMETRY_SHADER 0x8DD9
  1651. #define GL_GEOMETRY_VERTICES_OUT 0x8916
  1652. #define GL_GEOMETRY_INPUT_TYPE 0x8917
  1653. #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
  1654. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  1655. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
  1656. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  1657. #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
  1658. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
  1659. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  1660. #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
  1661. #define GL_CONTEXT_PROFILE_MASK 0x9126
  1662. #define GL_DEPTH_CLAMP 0x864F
  1663. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  1664. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  1665. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  1666. #define GL_PROVOKING_VERTEX 0x8E4F
  1667. #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
  1668. #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
  1669. #define GL_OBJECT_TYPE 0x9112
  1670. #define GL_SYNC_CONDITION 0x9113
  1671. #define GL_SYNC_STATUS 0x9114
  1672. #define GL_SYNC_FLAGS 0x9115
  1673. #define GL_SYNC_FENCE 0x9116
  1674. #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
  1675. #define GL_UNSIGNALED 0x9118
  1676. #define GL_SIGNALED 0x9119
  1677. #define GL_ALREADY_SIGNALED 0x911A
  1678. #define GL_TIMEOUT_EXPIRED 0x911B
  1679. #define GL_CONDITION_SATISFIED 0x911C
  1680. #define GL_WAIT_FAILED 0x911D
  1681. #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
  1682. #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
  1683. #define GL_SAMPLE_POSITION 0x8E50
  1684. #define GL_SAMPLE_MASK 0x8E51
  1685. #define GL_SAMPLE_MASK_VALUE 0x8E52
  1686. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  1687. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  1688. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
  1689. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  1690. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  1691. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
  1692. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
  1693. #define GL_TEXTURE_SAMPLES 0x9106
  1694. #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
  1695. #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
  1696. #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
  1697. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
  1698. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
  1699. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
  1700. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  1701. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  1702. #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
  1703. #define GL_MAX_INTEGER_SAMPLES 0x9110
  1704. typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1705. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1706. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1707. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1708. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  1709. typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
  1710. typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
  1711. typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
  1712. typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1713. typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1714. typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
  1715. typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
  1716. typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
  1717. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
  1718. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1719. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1720. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1721. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
  1722. typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
  1723. #ifdef GL_GLEXT_PROTOTYPES
  1724. GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1725. GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1726. GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1727. GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1728. GLAPI void APIENTRY glProvokingVertex (GLenum mode);
  1729. GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
  1730. GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
  1731. GLAPI void APIENTRY glDeleteSync (GLsync sync);
  1732. GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1733. GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1734. GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
  1735. GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
  1736. GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
  1737. GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
  1738. GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1739. GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1740. GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1741. GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
  1742. GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
  1743. #endif
  1744. #endif /* GL_VERSION_3_2 */
  1745. #ifndef GL_VERSION_3_3
  1746. #define GL_VERSION_3_3 1
  1747. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
  1748. #define GL_SRC1_COLOR 0x88F9
  1749. #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
  1750. #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
  1751. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
  1752. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  1753. #define GL_SAMPLER_BINDING 0x8919
  1754. #define GL_RGB10_A2UI 0x906F
  1755. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  1756. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  1757. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  1758. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  1759. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  1760. #define GL_TIME_ELAPSED 0x88BF
  1761. #define GL_TIMESTAMP 0x8E28
  1762. #define GL_INT_2_10_10_10_REV 0x8D9F
  1763. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1764. typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
  1765. typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
  1766. typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
  1767. typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
  1768. typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  1769. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  1770. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1771. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  1772. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
  1773. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1774. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  1775. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1776. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1777. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
  1778. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
  1779. typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  1780. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
  1781. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
  1782. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  1783. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1784. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1785. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1786. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1787. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1788. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1789. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1790. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1791. typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
  1792. typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
  1793. typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
  1794. typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
  1795. typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
  1796. typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
  1797. typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
  1798. typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
  1799. typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
  1800. typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
  1801. typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
  1802. typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
  1803. typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
  1804. typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
  1805. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1806. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1807. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1808. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1809. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1810. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1811. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
  1812. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  1813. typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
  1814. typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
  1815. typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
  1816. typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1817. typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
  1818. typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
  1819. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
  1820. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  1821. #ifdef GL_GLEXT_PROTOTYPES
  1822. GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1823. GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
  1824. GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
  1825. GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
  1826. GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
  1827. GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
  1828. GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
  1829. GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
  1830. GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
  1831. GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
  1832. GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
  1833. GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
  1834. GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
  1835. GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
  1836. GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
  1837. GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
  1838. GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
  1839. GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
  1840. GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
  1841. GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
  1842. GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1843. GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1844. GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1845. GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1846. GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1847. GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1848. GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1849. GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1850. GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
  1851. GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
  1852. GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
  1853. GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
  1854. GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
  1855. GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
  1856. GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
  1857. GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
  1858. GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
  1859. GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
  1860. GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
  1861. GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
  1862. GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
  1863. GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
  1864. GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
  1865. GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
  1866. GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
  1867. GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
  1868. GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
  1869. GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
  1870. GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
  1871. GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
  1872. GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
  1873. GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
  1874. GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
  1875. GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
  1876. GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
  1877. GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
  1878. GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
  1879. GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
  1880. #endif
  1881. #endif /* GL_VERSION_3_3 */
  1882. #ifndef GL_VERSION_4_0
  1883. #define GL_VERSION_4_0 1
  1884. #define GL_SAMPLE_SHADING 0x8C36
  1885. #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
  1886. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  1887. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  1888. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  1889. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  1890. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
  1891. #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
  1892. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
  1893. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
  1894. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  1895. #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
  1896. #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
  1897. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  1898. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  1899. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  1900. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  1901. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  1902. #define GL_MAX_VERTEX_STREAMS 0x8E71
  1903. #define GL_DOUBLE_VEC2 0x8FFC
  1904. #define GL_DOUBLE_VEC3 0x8FFD
  1905. #define GL_DOUBLE_VEC4 0x8FFE
  1906. #define GL_DOUBLE_MAT2 0x8F46
  1907. #define GL_DOUBLE_MAT3 0x8F47
  1908. #define GL_DOUBLE_MAT4 0x8F48
  1909. #define GL_DOUBLE_MAT2x3 0x8F49
  1910. #define GL_DOUBLE_MAT2x4 0x8F4A
  1911. #define GL_DOUBLE_MAT3x2 0x8F4B
  1912. #define GL_DOUBLE_MAT3x4 0x8F4C
  1913. #define GL_DOUBLE_MAT4x2 0x8F4D
  1914. #define GL_DOUBLE_MAT4x3 0x8F4E
  1915. #define GL_ACTIVE_SUBROUTINES 0x8DE5
  1916. #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
  1917. #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  1918. #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
  1919. #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
  1920. #define GL_MAX_SUBROUTINES 0x8DE7
  1921. #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  1922. #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
  1923. #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
  1924. #define GL_PATCHES 0x000E
  1925. #define GL_PATCH_VERTICES 0x8E72
  1926. #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
  1927. #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
  1928. #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
  1929. #define GL_TESS_GEN_MODE 0x8E76
  1930. #define GL_TESS_GEN_SPACING 0x8E77
  1931. #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
  1932. #define GL_TESS_GEN_POINT_MODE 0x8E79
  1933. #define GL_ISOLINES 0x8E7A
  1934. #define GL_FRACTIONAL_ODD 0x8E7B
  1935. #define GL_FRACTIONAL_EVEN 0x8E7C
  1936. #define GL_MAX_PATCH_VERTICES 0x8E7D
  1937. #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
  1938. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  1939. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
  1940. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
  1941. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
  1942. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
  1943. #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
  1944. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
  1945. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
  1946. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
  1947. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
  1948. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
  1949. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
  1950. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
  1951. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
  1952. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
  1953. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  1954. #define GL_TESS_EVALUATION_SHADER 0x8E87
  1955. #define GL_TESS_CONTROL_SHADER 0x8E88
  1956. #define GL_TRANSFORM_FEEDBACK 0x8E22
  1957. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
  1958. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
  1959. #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
  1960. #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  1961. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
  1962. typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  1963. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1964. typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  1965. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1966. typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
  1967. typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
  1968. typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  1969. typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  1970. typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1971. typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1972. typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1973. typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1974. typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1975. typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1976. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1977. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1978. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1979. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1980. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1981. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1982. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1983. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1984. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1985. typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
  1986. typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1987. typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1988. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1989. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  1990. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  1991. typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
  1992. typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
  1993. typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1994. typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  1995. typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
  1996. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  1997. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
  1998. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  1999. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  2000. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  2001. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  2002. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  2003. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  2004. typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  2005. typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  2006. typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  2007. #ifdef GL_GLEXT_PROTOTYPES
  2008. GLAPI void APIENTRY glMinSampleShading (GLfloat value);
  2009. GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
  2010. GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  2011. GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
  2012. GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  2013. GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
  2014. GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
  2015. GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
  2016. GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
  2017. GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
  2018. GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2019. GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
  2020. GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
  2021. GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
  2022. GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
  2023. GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2024. GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2025. GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2026. GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2027. GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2028. GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2029. GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2030. GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2031. GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2032. GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
  2033. GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
  2034. GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
  2035. GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  2036. GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2037. GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2038. GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
  2039. GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
  2040. GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  2041. GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
  2042. GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
  2043. GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
  2044. GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
  2045. GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
  2046. GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
  2047. GLAPI void APIENTRY glPauseTransformFeedback (void);
  2048. GLAPI void APIENTRY glResumeTransformFeedback (void);
  2049. GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
  2050. GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
  2051. GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
  2052. GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
  2053. GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
  2054. #endif
  2055. #endif /* GL_VERSION_4_0 */
  2056. #ifndef GL_VERSION_4_1
  2057. #define GL_VERSION_4_1 1
  2058. #define GL_FIXED 0x140C
  2059. #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  2060. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  2061. #define GL_LOW_FLOAT 0x8DF0
  2062. #define GL_MEDIUM_FLOAT 0x8DF1
  2063. #define GL_HIGH_FLOAT 0x8DF2
  2064. #define GL_LOW_INT 0x8DF3
  2065. #define GL_MEDIUM_INT 0x8DF4
  2066. #define GL_HIGH_INT 0x8DF5
  2067. #define GL_SHADER_COMPILER 0x8DFA
  2068. #define GL_SHADER_BINARY_FORMATS 0x8DF8
  2069. #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
  2070. #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
  2071. #define GL_MAX_VARYING_VECTORS 0x8DFC
  2072. #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
  2073. #define GL_RGB565 0x8D62
  2074. #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  2075. #define GL_PROGRAM_BINARY_LENGTH 0x8741
  2076. #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
  2077. #define GL_PROGRAM_BINARY_FORMATS 0x87FF
  2078. #define GL_VERTEX_SHADER_BIT 0x00000001
  2079. #define GL_FRAGMENT_SHADER_BIT 0x00000002
  2080. #define GL_GEOMETRY_SHADER_BIT 0x00000004
  2081. #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
  2082. #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
  2083. #define GL_ALL_SHADER_BITS 0xFFFFFFFF
  2084. #define GL_PROGRAM_SEPARABLE 0x8258
  2085. #define GL_ACTIVE_PROGRAM 0x8259
  2086. #define GL_PROGRAM_PIPELINE_BINDING 0x825A
  2087. #define GL_MAX_VIEWPORTS 0x825B
  2088. #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
  2089. #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
  2090. #define GL_LAYER_PROVOKING_VERTEX 0x825E
  2091. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  2092. #define GL_UNDEFINED_VERTEX 0x8260
  2093. typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
  2094. typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
  2095. typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  2096. typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
  2097. typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
  2098. typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  2099. typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  2100. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  2101. typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  2102. typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  2103. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
  2104. typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  2105. typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
  2106. typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  2107. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  2108. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
  2109. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
  2110. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  2111. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
  2112. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2113. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
  2114. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2115. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
  2116. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2117. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  2118. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  2119. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  2120. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2121. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  2122. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2123. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  2124. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2125. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  2126. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  2127. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  2128. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2129. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  2130. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2131. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  2132. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2133. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  2134. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  2135. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  2136. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2137. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  2138. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2139. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  2140. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2141. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2142. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2143. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2144. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2145. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2146. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2147. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2148. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2149. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2150. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2151. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2152. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2153. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2154. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2155. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2156. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2157. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2158. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2159. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  2160. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  2161. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  2162. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  2163. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  2164. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2165. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
  2166. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
  2167. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
  2168. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
  2169. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  2170. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  2171. typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  2172. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2173. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
  2174. typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
  2175. typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2176. typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
  2177. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  2178. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
  2179. typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
  2180. typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
  2181. #ifdef GL_GLEXT_PROTOTYPES
  2182. GLAPI void APIENTRY glReleaseShaderCompiler (void);
  2183. GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
  2184. GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  2185. GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
  2186. GLAPI void APIENTRY glClearDepthf (GLfloat d);
  2187. GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  2188. GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  2189. GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
  2190. GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
  2191. GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
  2192. GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
  2193. GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
  2194. GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
  2195. GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
  2196. GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
  2197. GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
  2198. GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
  2199. GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2200. GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
  2201. GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2202. GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
  2203. GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2204. GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
  2205. GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2206. GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
  2207. GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2208. GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  2209. GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2210. GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  2211. GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2212. GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
  2213. GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2214. GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  2215. GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2216. GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  2217. GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2218. GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  2219. GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2220. GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  2221. GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2222. GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  2223. GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2224. GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  2225. GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2226. GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  2227. GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2228. GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  2229. GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2230. GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2231. GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2232. GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2233. GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2234. GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2235. GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2236. GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2237. GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2238. GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2239. GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2240. GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2241. GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2242. GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2243. GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2244. GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2245. GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2246. GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2247. GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2248. GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
  2249. GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  2250. GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
  2251. GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
  2252. GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  2253. GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2254. GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
  2255. GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
  2256. GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
  2257. GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
  2258. GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  2259. GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
  2260. GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
  2261. GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2262. GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
  2263. GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
  2264. GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2265. GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
  2266. GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
  2267. GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
  2268. GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
  2269. GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
  2270. #endif
  2271. #endif /* GL_VERSION_4_1 */
  2272. #ifndef GL_VERSION_4_2
  2273. #define GL_VERSION_4_2 1
  2274. #define GL_COPY_READ_BUFFER_BINDING 0x8F36
  2275. #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
  2276. #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
  2277. #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
  2278. #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
  2279. #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
  2280. #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
  2281. #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
  2282. #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
  2283. #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
  2284. #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
  2285. #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
  2286. #define GL_NUM_SAMPLE_COUNTS 0x9380
  2287. #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
  2288. #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
  2289. #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
  2290. #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
  2291. #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
  2292. #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
  2293. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
  2294. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
  2295. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
  2296. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
  2297. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
  2298. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
  2299. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
  2300. #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
  2301. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
  2302. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
  2303. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
  2304. #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
  2305. #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
  2306. #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
  2307. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
  2308. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
  2309. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
  2310. #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
  2311. #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
  2312. #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
  2313. #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
  2314. #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
  2315. #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
  2316. #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
  2317. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
  2318. #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
  2319. #define GL_UNIFORM_BARRIER_BIT 0x00000004
  2320. #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
  2321. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
  2322. #define GL_COMMAND_BARRIER_BIT 0x00000040
  2323. #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
  2324. #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
  2325. #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
  2326. #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
  2327. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
  2328. #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
  2329. #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
  2330. #define GL_MAX_IMAGE_UNITS 0x8F38
  2331. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
  2332. #define GL_IMAGE_BINDING_NAME 0x8F3A
  2333. #define GL_IMAGE_BINDING_LEVEL 0x8F3B
  2334. #define GL_IMAGE_BINDING_LAYERED 0x8F3C
  2335. #define GL_IMAGE_BINDING_LAYER 0x8F3D
  2336. #define GL_IMAGE_BINDING_ACCESS 0x8F3E
  2337. #define GL_IMAGE_1D 0x904C
  2338. #define GL_IMAGE_2D 0x904D
  2339. #define GL_IMAGE_3D 0x904E
  2340. #define GL_IMAGE_2D_RECT 0x904F
  2341. #define GL_IMAGE_CUBE 0x9050
  2342. #define GL_IMAGE_BUFFER 0x9051
  2343. #define GL_IMAGE_1D_ARRAY 0x9052
  2344. #define GL_IMAGE_2D_ARRAY 0x9053
  2345. #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
  2346. #define GL_IMAGE_2D_MULTISAMPLE 0x9055
  2347. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
  2348. #define GL_INT_IMAGE_1D 0x9057
  2349. #define GL_INT_IMAGE_2D 0x9058
  2350. #define GL_INT_IMAGE_3D 0x9059
  2351. #define GL_INT_IMAGE_2D_RECT 0x905A
  2352. #define GL_INT_IMAGE_CUBE 0x905B
  2353. #define GL_INT_IMAGE_BUFFER 0x905C
  2354. #define GL_INT_IMAGE_1D_ARRAY 0x905D
  2355. #define GL_INT_IMAGE_2D_ARRAY 0x905E
  2356. #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
  2357. #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
  2358. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
  2359. #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
  2360. #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
  2361. #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
  2362. #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
  2363. #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
  2364. #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
  2365. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
  2366. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
  2367. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
  2368. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
  2369. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
  2370. #define GL_MAX_IMAGE_SAMPLES 0x906D
  2371. #define GL_IMAGE_BINDING_FORMAT 0x906E
  2372. #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  2373. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
  2374. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
  2375. #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
  2376. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
  2377. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
  2378. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
  2379. #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
  2380. #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
  2381. #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
  2382. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
  2383. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
  2384. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
  2385. #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
  2386. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2387. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2388. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2389. typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
  2390. typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2391. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2392. typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
  2393. typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2394. typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2395. typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2396. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
  2397. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2398. #ifdef GL_GLEXT_PROTOTYPES
  2399. GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2400. GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2401. GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2402. GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
  2403. GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2404. GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2405. GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
  2406. GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2407. GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2408. GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2409. GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
  2410. GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2411. #endif
  2412. #endif /* GL_VERSION_4_2 */
  2413. #ifndef GL_VERSION_4_3
  2414. #define GL_VERSION_4_3 1
  2415. typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  2416. #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
  2417. #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
  2418. #define GL_COMPRESSED_RGB8_ETC2 0x9274
  2419. #define GL_COMPRESSED_SRGB8_ETC2 0x9275
  2420. #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
  2421. #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
  2422. #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
  2423. #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
  2424. #define GL_COMPRESSED_R11_EAC 0x9270
  2425. #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
  2426. #define GL_COMPRESSED_RG11_EAC 0x9272
  2427. #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
  2428. #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
  2429. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
  2430. #define GL_MAX_ELEMENT_INDEX 0x8D6B
  2431. #define GL_COMPUTE_SHADER 0x91B9
  2432. #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
  2433. #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
  2434. #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
  2435. #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
  2436. #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
  2437. #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
  2438. #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
  2439. #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
  2440. #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
  2441. #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
  2442. #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
  2443. #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
  2444. #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
  2445. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
  2446. #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
  2447. #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
  2448. #define GL_COMPUTE_SHADER_BIT 0x00000020
  2449. #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
  2450. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
  2451. #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
  2452. #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
  2453. #define GL_DEBUG_SOURCE_API 0x8246
  2454. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
  2455. #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
  2456. #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
  2457. #define GL_DEBUG_SOURCE_APPLICATION 0x824A
  2458. #define GL_DEBUG_SOURCE_OTHER 0x824B
  2459. #define GL_DEBUG_TYPE_ERROR 0x824C
  2460. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
  2461. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
  2462. #define GL_DEBUG_TYPE_PORTABILITY 0x824F
  2463. #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
  2464. #define GL_DEBUG_TYPE_OTHER 0x8251
  2465. #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
  2466. #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
  2467. #define GL_DEBUG_LOGGED_MESSAGES 0x9145
  2468. #define GL_DEBUG_SEVERITY_HIGH 0x9146
  2469. #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
  2470. #define GL_DEBUG_SEVERITY_LOW 0x9148
  2471. #define GL_DEBUG_TYPE_MARKER 0x8268
  2472. #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
  2473. #define GL_DEBUG_TYPE_POP_GROUP 0x826A
  2474. #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
  2475. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
  2476. #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
  2477. #define GL_BUFFER 0x82E0
  2478. #define GL_SHADER 0x82E1
  2479. #define GL_PROGRAM 0x82E2
  2480. #define GL_QUERY 0x82E3
  2481. #define GL_PROGRAM_PIPELINE 0x82E4
  2482. #define GL_SAMPLER 0x82E6
  2483. #define GL_MAX_LABEL_LENGTH 0x82E8
  2484. #define GL_DEBUG_OUTPUT 0x92E0
  2485. #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
  2486. #define GL_MAX_UNIFORM_LOCATIONS 0x826E
  2487. #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
  2488. #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
  2489. #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
  2490. #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
  2491. #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
  2492. #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
  2493. #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
  2494. #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
  2495. #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
  2496. #define GL_INTERNALFORMAT_SUPPORTED 0x826F
  2497. #define GL_INTERNALFORMAT_PREFERRED 0x8270
  2498. #define GL_INTERNALFORMAT_RED_SIZE 0x8271
  2499. #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
  2500. #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
  2501. #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
  2502. #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
  2503. #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
  2504. #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
  2505. #define GL_INTERNALFORMAT_RED_TYPE 0x8278
  2506. #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
  2507. #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
  2508. #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
  2509. #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
  2510. #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
  2511. #define GL_MAX_WIDTH 0x827E
  2512. #define GL_MAX_HEIGHT 0x827F
  2513. #define GL_MAX_DEPTH 0x8280
  2514. #define GL_MAX_LAYERS 0x8281
  2515. #define GL_MAX_COMBINED_DIMENSIONS 0x8282
  2516. #define GL_COLOR_COMPONENTS 0x8283
  2517. #define GL_DEPTH_COMPONENTS 0x8284
  2518. #define GL_STENCIL_COMPONENTS 0x8285
  2519. #define GL_COLOR_RENDERABLE 0x8286
  2520. #define GL_DEPTH_RENDERABLE 0x8287
  2521. #define GL_STENCIL_RENDERABLE 0x8288
  2522. #define GL_FRAMEBUFFER_RENDERABLE 0x8289
  2523. #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
  2524. #define GL_FRAMEBUFFER_BLEND 0x828B
  2525. #define GL_READ_PIXELS 0x828C
  2526. #define GL_READ_PIXELS_FORMAT 0x828D
  2527. #define GL_READ_PIXELS_TYPE 0x828E
  2528. #define GL_TEXTURE_IMAGE_FORMAT 0x828F
  2529. #define GL_TEXTURE_IMAGE_TYPE 0x8290
  2530. #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
  2531. #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
  2532. #define GL_MIPMAP 0x8293
  2533. #define GL_MANUAL_GENERATE_MIPMAP 0x8294
  2534. #define GL_AUTO_GENERATE_MIPMAP 0x8295
  2535. #define GL_COLOR_ENCODING 0x8296
  2536. #define GL_SRGB_READ 0x8297
  2537. #define GL_SRGB_WRITE 0x8298
  2538. #define GL_FILTER 0x829A
  2539. #define GL_VERTEX_TEXTURE 0x829B
  2540. #define GL_TESS_CONTROL_TEXTURE 0x829C
  2541. #define GL_TESS_EVALUATION_TEXTURE 0x829D
  2542. #define GL_GEOMETRY_TEXTURE 0x829E
  2543. #define GL_FRAGMENT_TEXTURE 0x829F
  2544. #define GL_COMPUTE_TEXTURE 0x82A0
  2545. #define GL_TEXTURE_SHADOW 0x82A1
  2546. #define GL_TEXTURE_GATHER 0x82A2
  2547. #define GL_TEXTURE_GATHER_SHADOW 0x82A3
  2548. #define GL_SHADER_IMAGE_LOAD 0x82A4
  2549. #define GL_SHADER_IMAGE_STORE 0x82A5
  2550. #define GL_SHADER_IMAGE_ATOMIC 0x82A6
  2551. #define GL_IMAGE_TEXEL_SIZE 0x82A7
  2552. #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
  2553. #define GL_IMAGE_PIXEL_FORMAT 0x82A9
  2554. #define GL_IMAGE_PIXEL_TYPE 0x82AA
  2555. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
  2556. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
  2557. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
  2558. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
  2559. #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
  2560. #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
  2561. #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
  2562. #define GL_CLEAR_BUFFER 0x82B4
  2563. #define GL_TEXTURE_VIEW 0x82B5
  2564. #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
  2565. #define GL_FULL_SUPPORT 0x82B7
  2566. #define GL_CAVEAT_SUPPORT 0x82B8
  2567. #define GL_IMAGE_CLASS_4_X_32 0x82B9
  2568. #define GL_IMAGE_CLASS_2_X_32 0x82BA
  2569. #define GL_IMAGE_CLASS_1_X_32 0x82BB
  2570. #define GL_IMAGE_CLASS_4_X_16 0x82BC
  2571. #define GL_IMAGE_CLASS_2_X_16 0x82BD
  2572. #define GL_IMAGE_CLASS_1_X_16 0x82BE
  2573. #define GL_IMAGE_CLASS_4_X_8 0x82BF
  2574. #define GL_IMAGE_CLASS_2_X_8 0x82C0
  2575. #define GL_IMAGE_CLASS_1_X_8 0x82C1
  2576. #define GL_IMAGE_CLASS_11_11_10 0x82C2
  2577. #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
  2578. #define GL_VIEW_CLASS_128_BITS 0x82C4
  2579. #define GL_VIEW_CLASS_96_BITS 0x82C5
  2580. #define GL_VIEW_CLASS_64_BITS 0x82C6
  2581. #define GL_VIEW_CLASS_48_BITS 0x82C7
  2582. #define GL_VIEW_CLASS_32_BITS 0x82C8
  2583. #define GL_VIEW_CLASS_24_BITS 0x82C9
  2584. #define GL_VIEW_CLASS_16_BITS 0x82CA
  2585. #define GL_VIEW_CLASS_8_BITS 0x82CB
  2586. #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
  2587. #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
  2588. #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
  2589. #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
  2590. #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
  2591. #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
  2592. #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
  2593. #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
  2594. #define GL_UNIFORM 0x92E1
  2595. #define GL_UNIFORM_BLOCK 0x92E2
  2596. #define GL_PROGRAM_INPUT 0x92E3
  2597. #define GL_PROGRAM_OUTPUT 0x92E4
  2598. #define GL_BUFFER_VARIABLE 0x92E5
  2599. #define GL_SHADER_STORAGE_BLOCK 0x92E6
  2600. #define GL_VERTEX_SUBROUTINE 0x92E8
  2601. #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
  2602. #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
  2603. #define GL_GEOMETRY_SUBROUTINE 0x92EB
  2604. #define GL_FRAGMENT_SUBROUTINE 0x92EC
  2605. #define GL_COMPUTE_SUBROUTINE 0x92ED
  2606. #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
  2607. #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
  2608. #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
  2609. #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
  2610. #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
  2611. #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
  2612. #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
  2613. #define GL_ACTIVE_RESOURCES 0x92F5
  2614. #define GL_MAX_NAME_LENGTH 0x92F6
  2615. #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
  2616. #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
  2617. #define GL_NAME_LENGTH 0x92F9
  2618. #define GL_TYPE 0x92FA
  2619. #define GL_ARRAY_SIZE 0x92FB
  2620. #define GL_OFFSET 0x92FC
  2621. #define GL_BLOCK_INDEX 0x92FD
  2622. #define GL_ARRAY_STRIDE 0x92FE
  2623. #define GL_MATRIX_STRIDE 0x92FF
  2624. #define GL_IS_ROW_MAJOR 0x9300
  2625. #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
  2626. #define GL_BUFFER_BINDING 0x9302
  2627. #define GL_BUFFER_DATA_SIZE 0x9303
  2628. #define GL_NUM_ACTIVE_VARIABLES 0x9304
  2629. #define GL_ACTIVE_VARIABLES 0x9305
  2630. #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
  2631. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
  2632. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
  2633. #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
  2634. #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
  2635. #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
  2636. #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
  2637. #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
  2638. #define GL_LOCATION 0x930E
  2639. #define GL_LOCATION_INDEX 0x930F
  2640. #define GL_IS_PER_PATCH 0x92E7
  2641. #define GL_SHADER_STORAGE_BUFFER 0x90D2
  2642. #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
  2643. #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
  2644. #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
  2645. #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
  2646. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
  2647. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
  2648. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
  2649. #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
  2650. #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
  2651. #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
  2652. #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
  2653. #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
  2654. #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
  2655. #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
  2656. #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
  2657. #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
  2658. #define GL_TEXTURE_BUFFER_OFFSET 0x919D
  2659. #define GL_TEXTURE_BUFFER_SIZE 0x919E
  2660. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
  2661. #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
  2662. #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
  2663. #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
  2664. #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
  2665. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  2666. #define GL_VERTEX_ATTRIB_BINDING 0x82D4
  2667. #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
  2668. #define GL_VERTEX_BINDING_DIVISOR 0x82D6
  2669. #define GL_VERTEX_BINDING_OFFSET 0x82D7
  2670. #define GL_VERTEX_BINDING_STRIDE 0x82D8
  2671. #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
  2672. #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
  2673. #define GL_VERTEX_BINDING_BUFFER 0x8F4F
  2674. #define GL_DISPLAY_LIST 0x82E7
  2675. typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2676. typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2677. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2678. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
  2679. 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);
  2680. typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  2681. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2682. typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
  2683. typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2684. typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
  2685. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2686. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
  2687. typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2688. typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2689. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2690. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2691. typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2692. typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2693. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2694. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
  2695. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2696. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2697. typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2698. typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2699. typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2700. typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2701. typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2702. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2703. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2704. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2705. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2706. typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
  2707. typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
  2708. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2709. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2710. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
  2711. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2712. typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2713. typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
  2714. typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2715. typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2716. typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
  2717. typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2718. #ifdef GL_GLEXT_PROTOTYPES
  2719. GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2720. GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2721. GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2722. GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
  2723. 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);
  2724. GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
  2725. GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
  2726. GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
  2727. GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2728. GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
  2729. GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2730. GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
  2731. GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2732. GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2733. GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2734. GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2735. GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2736. GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2737. GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2738. GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
  2739. GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
  2740. GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2741. GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2742. GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2743. GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2744. GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2745. GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2746. GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2747. GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2748. GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2749. GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2750. GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
  2751. GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
  2752. GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2753. GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2754. GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
  2755. GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2756. GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2757. GLAPI void APIENTRY glPopDebugGroup (void);
  2758. GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2759. GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2760. GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
  2761. GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2762. #endif
  2763. #endif /* GL_VERSION_4_3 */
  2764. #ifndef GL_VERSION_4_4
  2765. #define GL_VERSION_4_4 1
  2766. #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
  2767. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
  2768. #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
  2769. #define GL_MAP_PERSISTENT_BIT 0x0040
  2770. #define GL_MAP_COHERENT_BIT 0x0080
  2771. #define GL_DYNAMIC_STORAGE_BIT 0x0100
  2772. #define GL_CLIENT_STORAGE_BIT 0x0200
  2773. #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
  2774. #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
  2775. #define GL_BUFFER_STORAGE_FLAGS 0x8220
  2776. #define GL_CLEAR_TEXTURE 0x9365
  2777. #define GL_LOCATION_COMPONENT 0x934A
  2778. #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
  2779. #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
  2780. #define GL_QUERY_BUFFER 0x9192
  2781. #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
  2782. #define GL_QUERY_BUFFER_BINDING 0x9193
  2783. #define GL_QUERY_RESULT_NO_WAIT 0x9194
  2784. #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
  2785. typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2786. typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2787. 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);
  2788. typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2789. typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2790. typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2791. typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
  2792. typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2793. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2794. #ifdef GL_GLEXT_PROTOTYPES
  2795. GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2796. GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2797. 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);
  2798. GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2799. GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2800. GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
  2801. GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
  2802. GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
  2803. GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2804. #endif
  2805. #endif /* GL_VERSION_4_4 */
  2806. #ifndef GL_VERSION_4_5
  2807. #define GL_VERSION_4_5 1
  2808. #define GL_CONTEXT_LOST 0x0507
  2809. #define GL_NEGATIVE_ONE_TO_ONE 0x935E
  2810. #define GL_ZERO_TO_ONE 0x935F
  2811. #define GL_CLIP_ORIGIN 0x935C
  2812. #define GL_CLIP_DEPTH_MODE 0x935D
  2813. #define GL_QUERY_WAIT_INVERTED 0x8E17
  2814. #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
  2815. #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
  2816. #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
  2817. #define GL_MAX_CULL_DISTANCES 0x82F9
  2818. #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
  2819. #define GL_TEXTURE_TARGET 0x1006
  2820. #define GL_QUERY_TARGET 0x82EA
  2821. #define GL_GUILTY_CONTEXT_RESET 0x8253
  2822. #define GL_INNOCENT_CONTEXT_RESET 0x8254
  2823. #define GL_UNKNOWN_CONTEXT_RESET 0x8255
  2824. #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
  2825. #define GL_LOSE_CONTEXT_ON_RESET 0x8252
  2826. #define GL_NO_RESET_NOTIFICATION 0x8261
  2827. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
  2828. #define GL_COLOR_TABLE 0x80D0
  2829. #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
  2830. #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
  2831. #define GL_PROXY_COLOR_TABLE 0x80D3
  2832. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
  2833. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
  2834. #define GL_CONVOLUTION_1D 0x8010
  2835. #define GL_CONVOLUTION_2D 0x8011
  2836. #define GL_SEPARABLE_2D 0x8012
  2837. #define GL_HISTOGRAM 0x8024
  2838. #define GL_PROXY_HISTOGRAM 0x8025
  2839. #define GL_MINMAX 0x802E
  2840. #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
  2841. #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
  2842. typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
  2843. typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  2844. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
  2845. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2846. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
  2847. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
  2848. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
  2849. typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
  2850. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  2851. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  2852. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  2853. typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2854. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2855. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2856. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
  2857. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  2858. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
  2859. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2860. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
  2861. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
  2862. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
  2863. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  2864. typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  2865. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  2866. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
  2867. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  2868. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2869. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
  2870. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  2871. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
  2872. typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
  2873. typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2874. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
  2875. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
  2876. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
  2877. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  2878. 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);
  2879. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
  2880. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
  2881. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  2882. typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  2883. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  2884. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2885. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  2886. typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
  2887. typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
  2888. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2889. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
  2890. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2891. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2892. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2893. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2894. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  2895. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  2896. 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);
  2897. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  2898. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  2899. 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);
  2900. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  2901. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2902. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2903. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
  2904. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
  2905. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
  2906. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
  2907. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
  2908. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
  2909. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
  2910. typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
  2911. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2912. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
  2913. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
  2914. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
  2915. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
  2916. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
  2917. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
  2918. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
  2919. typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  2920. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
  2921. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
  2922. typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
  2923. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2924. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2925. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  2926. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2927. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2928. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2929. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  2930. typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
  2931. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  2932. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
  2933. typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
  2934. typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  2935. typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
  2936. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2937. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2938. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2939. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2940. typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
  2941. 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);
  2942. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
  2943. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
  2944. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
  2945. typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2946. typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  2947. typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  2948. typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  2949. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  2950. typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  2951. typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  2952. typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  2953. typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  2954. typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  2955. typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  2956. typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  2957. typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
  2958. typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  2959. typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  2960. typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  2961. typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  2962. typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  2963. typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
  2964. #ifdef GL_GLEXT_PROTOTYPES
  2965. GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
  2966. GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
  2967. GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
  2968. GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2969. GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
  2970. GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
  2971. GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
  2972. GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
  2973. GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  2974. GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  2975. GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  2976. GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2977. GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2978. GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2979. GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
  2980. GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  2981. GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
  2982. GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2983. GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
  2984. GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
  2985. GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
  2986. GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  2987. GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
  2988. GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  2989. GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
  2990. GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  2991. GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2992. GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
  2993. GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  2994. GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
  2995. GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
  2996. GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2997. GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
  2998. GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
  2999. GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
  3000. GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  3001. 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);
  3002. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
  3003. GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
  3004. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  3005. GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
  3006. GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  3007. GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  3008. GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
  3009. GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
  3010. GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
  3011. GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  3012. GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
  3013. GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  3014. GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  3015. GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  3016. GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  3017. GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  3018. GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  3019. 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);
  3020. GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  3021. GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  3022. 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);
  3023. GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  3024. GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3025. GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3026. GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
  3027. GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
  3028. GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
  3029. GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
  3030. GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
  3031. GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
  3032. GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
  3033. GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
  3034. GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  3035. GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
  3036. GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
  3037. GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
  3038. GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
  3039. GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
  3040. GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
  3041. GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
  3042. GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
  3043. GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
  3044. GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
  3045. GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
  3046. GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  3047. GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  3048. GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  3049. GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  3050. GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  3051. GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  3052. GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  3053. GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
  3054. GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  3055. GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
  3056. GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
  3057. GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
  3058. GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
  3059. GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  3060. GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  3061. GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  3062. GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  3063. GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
  3064. 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);
  3065. GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
  3066. GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
  3067. GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
  3068. GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  3069. GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  3070. GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  3071. GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  3072. GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  3073. GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  3074. GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  3075. GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  3076. GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  3077. GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
  3078. GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
  3079. GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
  3080. GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
  3081. GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  3082. GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  3083. GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  3084. GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3085. GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  3086. GLAPI void APIENTRY glTextureBarrier (void);
  3087. #endif
  3088. #endif /* GL_VERSION_4_5 */
  3089. #ifndef GL_VERSION_4_6
  3090. #define GL_VERSION_4_6 1
  3091. #define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551
  3092. #define GL_SPIR_V_BINARY 0x9552
  3093. #define GL_PARAMETER_BUFFER 0x80EE
  3094. #define GL_PARAMETER_BUFFER_BINDING 0x80EF
  3095. #define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008
  3096. #define GL_VERTICES_SUBMITTED 0x82EE
  3097. #define GL_PRIMITIVES_SUBMITTED 0x82EF
  3098. #define GL_VERTEX_SHADER_INVOCATIONS 0x82F0
  3099. #define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1
  3100. #define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
  3101. #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
  3102. #define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
  3103. #define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5
  3104. #define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6
  3105. #define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7
  3106. #define GL_POLYGON_OFFSET_CLAMP 0x8E1B
  3107. #define GL_SPIR_V_EXTENSIONS 0x9553
  3108. #define GL_NUM_SPIR_V_EXTENSIONS 0x9554
  3109. #define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
  3110. #define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
  3111. #define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC
  3112. #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
  3113. typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
  3114. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3115. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3116. typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
  3117. #ifdef GL_GLEXT_PROTOTYPES
  3118. GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
  3119. GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3120. GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3121. GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp);
  3122. #endif
  3123. #endif /* GL_VERSION_4_6 */
  3124. #ifndef GL_ARB_ES2_compatibility
  3125. #define GL_ARB_ES2_compatibility 1
  3126. #endif /* GL_ARB_ES2_compatibility */
  3127. #ifndef GL_ARB_ES3_1_compatibility
  3128. #define GL_ARB_ES3_1_compatibility 1
  3129. #endif /* GL_ARB_ES3_1_compatibility */
  3130. #ifndef GL_ARB_ES3_2_compatibility
  3131. #define GL_ARB_ES3_2_compatibility 1
  3132. #define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE
  3133. #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
  3134. #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
  3135. typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  3136. #ifdef GL_GLEXT_PROTOTYPES
  3137. GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  3138. #endif
  3139. #endif /* GL_ARB_ES3_2_compatibility */
  3140. #ifndef GL_ARB_ES3_compatibility
  3141. #define GL_ARB_ES3_compatibility 1
  3142. #endif /* GL_ARB_ES3_compatibility */
  3143. #ifndef GL_ARB_arrays_of_arrays
  3144. #define GL_ARB_arrays_of_arrays 1
  3145. #endif /* GL_ARB_arrays_of_arrays */
  3146. #ifndef GL_ARB_base_instance
  3147. #define GL_ARB_base_instance 1
  3148. #endif /* GL_ARB_base_instance */
  3149. #ifndef GL_ARB_bindless_texture
  3150. #define GL_ARB_bindless_texture 1
  3151. typedef khronos_uint64_t GLuint64EXT;
  3152. #define GL_UNSIGNED_INT64_ARB 0x140F
  3153. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
  3154. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
  3155. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  3156. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  3157. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  3158. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
  3159. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  3160. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
  3161. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3162. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
  3163. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  3164. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  3165. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
  3166. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
  3167. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
  3168. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  3169. #ifdef GL_GLEXT_PROTOTYPES
  3170. GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
  3171. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
  3172. GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
  3173. GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
  3174. GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  3175. GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
  3176. GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
  3177. GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
  3178. GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3179. GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
  3180. GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  3181. GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
  3182. GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
  3183. GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
  3184. GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
  3185. GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
  3186. #endif
  3187. #endif /* GL_ARB_bindless_texture */
  3188. #ifndef GL_ARB_blend_func_extended
  3189. #define GL_ARB_blend_func_extended 1
  3190. #endif /* GL_ARB_blend_func_extended */
  3191. #ifndef GL_ARB_buffer_storage
  3192. #define GL_ARB_buffer_storage 1
  3193. #endif /* GL_ARB_buffer_storage */
  3194. #ifndef GL_ARB_cl_event
  3195. #define GL_ARB_cl_event 1
  3196. struct _cl_context;
  3197. struct _cl_event;
  3198. #define GL_SYNC_CL_EVENT_ARB 0x8240
  3199. #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
  3200. typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  3201. #ifdef GL_GLEXT_PROTOTYPES
  3202. GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  3203. #endif
  3204. #endif /* GL_ARB_cl_event */
  3205. #ifndef GL_ARB_clear_buffer_object
  3206. #define GL_ARB_clear_buffer_object 1
  3207. #endif /* GL_ARB_clear_buffer_object */
  3208. #ifndef GL_ARB_clear_texture
  3209. #define GL_ARB_clear_texture 1
  3210. #endif /* GL_ARB_clear_texture */
  3211. #ifndef GL_ARB_clip_control
  3212. #define GL_ARB_clip_control 1
  3213. #endif /* GL_ARB_clip_control */
  3214. #ifndef GL_ARB_color_buffer_float
  3215. #define GL_ARB_color_buffer_float 1
  3216. #define GL_RGBA_FLOAT_MODE_ARB 0x8820
  3217. #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
  3218. #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
  3219. #define GL_CLAMP_READ_COLOR_ARB 0x891C
  3220. #define GL_FIXED_ONLY_ARB 0x891D
  3221. typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  3222. #ifdef GL_GLEXT_PROTOTYPES
  3223. GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
  3224. #endif
  3225. #endif /* GL_ARB_color_buffer_float */
  3226. #ifndef GL_ARB_compatibility
  3227. #define GL_ARB_compatibility 1
  3228. #endif /* GL_ARB_compatibility */
  3229. #ifndef GL_ARB_compressed_texture_pixel_storage
  3230. #define GL_ARB_compressed_texture_pixel_storage 1
  3231. #endif /* GL_ARB_compressed_texture_pixel_storage */
  3232. #ifndef GL_ARB_compute_shader
  3233. #define GL_ARB_compute_shader 1
  3234. #endif /* GL_ARB_compute_shader */
  3235. #ifndef GL_ARB_compute_variable_group_size
  3236. #define GL_ARB_compute_variable_group_size 1
  3237. #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
  3238. #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
  3239. #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
  3240. #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
  3241. 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);
  3242. #ifdef GL_GLEXT_PROTOTYPES
  3243. 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);
  3244. #endif
  3245. #endif /* GL_ARB_compute_variable_group_size */
  3246. #ifndef GL_ARB_conditional_render_inverted
  3247. #define GL_ARB_conditional_render_inverted 1
  3248. #endif /* GL_ARB_conditional_render_inverted */
  3249. #ifndef GL_ARB_conservative_depth
  3250. #define GL_ARB_conservative_depth 1
  3251. #endif /* GL_ARB_conservative_depth */
  3252. #ifndef GL_ARB_copy_buffer
  3253. #define GL_ARB_copy_buffer 1
  3254. #endif /* GL_ARB_copy_buffer */
  3255. #ifndef GL_ARB_copy_image
  3256. #define GL_ARB_copy_image 1
  3257. #endif /* GL_ARB_copy_image */
  3258. #ifndef GL_ARB_cull_distance
  3259. #define GL_ARB_cull_distance 1
  3260. #endif /* GL_ARB_cull_distance */
  3261. #ifndef GL_ARB_debug_output
  3262. #define GL_ARB_debug_output 1
  3263. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  3264. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
  3265. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  3266. #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
  3267. #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
  3268. #define GL_DEBUG_SOURCE_API_ARB 0x8246
  3269. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
  3270. #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
  3271. #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
  3272. #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
  3273. #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
  3274. #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
  3275. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
  3276. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
  3277. #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
  3278. #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
  3279. #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
  3280. #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
  3281. #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
  3282. #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
  3283. #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
  3284. #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
  3285. #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
  3286. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  3287. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  3288. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
  3289. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  3290. #ifdef GL_GLEXT_PROTOTYPES
  3291. GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  3292. GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  3293. GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
  3294. GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  3295. #endif
  3296. #endif /* GL_ARB_debug_output */
  3297. #ifndef GL_ARB_depth_buffer_float
  3298. #define GL_ARB_depth_buffer_float 1
  3299. #endif /* GL_ARB_depth_buffer_float */
  3300. #ifndef GL_ARB_depth_clamp
  3301. #define GL_ARB_depth_clamp 1
  3302. #endif /* GL_ARB_depth_clamp */
  3303. #ifndef GL_ARB_depth_texture
  3304. #define GL_ARB_depth_texture 1
  3305. #define GL_DEPTH_COMPONENT16_ARB 0x81A5
  3306. #define GL_DEPTH_COMPONENT24_ARB 0x81A6
  3307. #define GL_DEPTH_COMPONENT32_ARB 0x81A7
  3308. #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
  3309. #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
  3310. #endif /* GL_ARB_depth_texture */
  3311. #ifndef GL_ARB_derivative_control
  3312. #define GL_ARB_derivative_control 1
  3313. #endif /* GL_ARB_derivative_control */
  3314. #ifndef GL_ARB_direct_state_access
  3315. #define GL_ARB_direct_state_access 1
  3316. #endif /* GL_ARB_direct_state_access */
  3317. #ifndef GL_ARB_draw_buffers
  3318. #define GL_ARB_draw_buffers 1
  3319. #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
  3320. #define GL_DRAW_BUFFER0_ARB 0x8825
  3321. #define GL_DRAW_BUFFER1_ARB 0x8826
  3322. #define GL_DRAW_BUFFER2_ARB 0x8827
  3323. #define GL_DRAW_BUFFER3_ARB 0x8828
  3324. #define GL_DRAW_BUFFER4_ARB 0x8829
  3325. #define GL_DRAW_BUFFER5_ARB 0x882A
  3326. #define GL_DRAW_BUFFER6_ARB 0x882B
  3327. #define GL_DRAW_BUFFER7_ARB 0x882C
  3328. #define GL_DRAW_BUFFER8_ARB 0x882D
  3329. #define GL_DRAW_BUFFER9_ARB 0x882E
  3330. #define GL_DRAW_BUFFER10_ARB 0x882F
  3331. #define GL_DRAW_BUFFER11_ARB 0x8830
  3332. #define GL_DRAW_BUFFER12_ARB 0x8831
  3333. #define GL_DRAW_BUFFER13_ARB 0x8832
  3334. #define GL_DRAW_BUFFER14_ARB 0x8833
  3335. #define GL_DRAW_BUFFER15_ARB 0x8834
  3336. typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  3337. #ifdef GL_GLEXT_PROTOTYPES
  3338. GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
  3339. #endif
  3340. #endif /* GL_ARB_draw_buffers */
  3341. #ifndef GL_ARB_draw_buffers_blend
  3342. #define GL_ARB_draw_buffers_blend 1
  3343. typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  3344. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  3345. typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  3346. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  3347. #ifdef GL_GLEXT_PROTOTYPES
  3348. GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
  3349. GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  3350. GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
  3351. GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  3352. #endif
  3353. #endif /* GL_ARB_draw_buffers_blend */
  3354. #ifndef GL_ARB_draw_elements_base_vertex
  3355. #define GL_ARB_draw_elements_base_vertex 1
  3356. #endif /* GL_ARB_draw_elements_base_vertex */
  3357. #ifndef GL_ARB_draw_indirect
  3358. #define GL_ARB_draw_indirect 1
  3359. #endif /* GL_ARB_draw_indirect */
  3360. #ifndef GL_ARB_draw_instanced
  3361. #define GL_ARB_draw_instanced 1
  3362. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  3363. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  3364. #ifdef GL_GLEXT_PROTOTYPES
  3365. GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  3366. GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  3367. #endif
  3368. #endif /* GL_ARB_draw_instanced */
  3369. #ifndef GL_ARB_enhanced_layouts
  3370. #define GL_ARB_enhanced_layouts 1
  3371. #endif /* GL_ARB_enhanced_layouts */
  3372. #ifndef GL_ARB_explicit_attrib_location
  3373. #define GL_ARB_explicit_attrib_location 1
  3374. #endif /* GL_ARB_explicit_attrib_location */
  3375. #ifndef GL_ARB_explicit_uniform_location
  3376. #define GL_ARB_explicit_uniform_location 1
  3377. #endif /* GL_ARB_explicit_uniform_location */
  3378. #ifndef GL_ARB_fragment_coord_conventions
  3379. #define GL_ARB_fragment_coord_conventions 1
  3380. #endif /* GL_ARB_fragment_coord_conventions */
  3381. #ifndef GL_ARB_fragment_layer_viewport
  3382. #define GL_ARB_fragment_layer_viewport 1
  3383. #endif /* GL_ARB_fragment_layer_viewport */
  3384. #ifndef GL_ARB_fragment_program
  3385. #define GL_ARB_fragment_program 1
  3386. #define GL_FRAGMENT_PROGRAM_ARB 0x8804
  3387. #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
  3388. #define GL_PROGRAM_LENGTH_ARB 0x8627
  3389. #define GL_PROGRAM_FORMAT_ARB 0x8876
  3390. #define GL_PROGRAM_BINDING_ARB 0x8677
  3391. #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
  3392. #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
  3393. #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  3394. #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  3395. #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
  3396. #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
  3397. #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  3398. #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  3399. #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
  3400. #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
  3401. #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
  3402. #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  3403. #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
  3404. #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
  3405. #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
  3406. #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  3407. #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  3408. #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  3409. #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  3410. #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
  3411. #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
  3412. #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
  3413. #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  3414. #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  3415. #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  3416. #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  3417. #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  3418. #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  3419. #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  3420. #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  3421. #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  3422. #define GL_PROGRAM_STRING_ARB 0x8628
  3423. #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
  3424. #define GL_CURRENT_MATRIX_ARB 0x8641
  3425. #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
  3426. #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  3427. #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
  3428. #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  3429. #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
  3430. #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
  3431. #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
  3432. #define GL_MATRIX0_ARB 0x88C0
  3433. #define GL_MATRIX1_ARB 0x88C1
  3434. #define GL_MATRIX2_ARB 0x88C2
  3435. #define GL_MATRIX3_ARB 0x88C3
  3436. #define GL_MATRIX4_ARB 0x88C4
  3437. #define GL_MATRIX5_ARB 0x88C5
  3438. #define GL_MATRIX6_ARB 0x88C6
  3439. #define GL_MATRIX7_ARB 0x88C7
  3440. #define GL_MATRIX8_ARB 0x88C8
  3441. #define GL_MATRIX9_ARB 0x88C9
  3442. #define GL_MATRIX10_ARB 0x88CA
  3443. #define GL_MATRIX11_ARB 0x88CB
  3444. #define GL_MATRIX12_ARB 0x88CC
  3445. #define GL_MATRIX13_ARB 0x88CD
  3446. #define GL_MATRIX14_ARB 0x88CE
  3447. #define GL_MATRIX15_ARB 0x88CF
  3448. #define GL_MATRIX16_ARB 0x88D0
  3449. #define GL_MATRIX17_ARB 0x88D1
  3450. #define GL_MATRIX18_ARB 0x88D2
  3451. #define GL_MATRIX19_ARB 0x88D3
  3452. #define GL_MATRIX20_ARB 0x88D4
  3453. #define GL_MATRIX21_ARB 0x88D5
  3454. #define GL_MATRIX22_ARB 0x88D6
  3455. #define GL_MATRIX23_ARB 0x88D7
  3456. #define GL_MATRIX24_ARB 0x88D8
  3457. #define GL_MATRIX25_ARB 0x88D9
  3458. #define GL_MATRIX26_ARB 0x88DA
  3459. #define GL_MATRIX27_ARB 0x88DB
  3460. #define GL_MATRIX28_ARB 0x88DC
  3461. #define GL_MATRIX29_ARB 0x88DD
  3462. #define GL_MATRIX30_ARB 0x88DE
  3463. #define GL_MATRIX31_ARB 0x88DF
  3464. typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string);
  3465. typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  3466. typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  3467. typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  3468. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3469. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  3470. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3471. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  3472. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3473. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  3474. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3475. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  3476. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  3477. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  3478. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  3479. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  3480. typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  3481. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string);
  3482. typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  3483. #ifdef GL_GLEXT_PROTOTYPES
  3484. GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string);
  3485. GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
  3486. GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
  3487. GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
  3488. GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3489. GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  3490. GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3491. GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  3492. GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3493. GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  3494. GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3495. GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  3496. GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  3497. GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  3498. GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  3499. GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  3500. GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
  3501. GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string);
  3502. GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
  3503. #endif
  3504. #endif /* GL_ARB_fragment_program */
  3505. #ifndef GL_ARB_fragment_program_shadow
  3506. #define GL_ARB_fragment_program_shadow 1
  3507. #endif /* GL_ARB_fragment_program_shadow */
  3508. #ifndef GL_ARB_fragment_shader
  3509. #define GL_ARB_fragment_shader 1
  3510. #define GL_FRAGMENT_SHADER_ARB 0x8B30
  3511. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  3512. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  3513. #endif /* GL_ARB_fragment_shader */
  3514. #ifndef GL_ARB_fragment_shader_interlock
  3515. #define GL_ARB_fragment_shader_interlock 1
  3516. #endif /* GL_ARB_fragment_shader_interlock */
  3517. #ifndef GL_ARB_framebuffer_no_attachments
  3518. #define GL_ARB_framebuffer_no_attachments 1
  3519. #endif /* GL_ARB_framebuffer_no_attachments */
  3520. #ifndef GL_ARB_framebuffer_object
  3521. #define GL_ARB_framebuffer_object 1
  3522. #endif /* GL_ARB_framebuffer_object */
  3523. #ifndef GL_ARB_framebuffer_sRGB
  3524. #define GL_ARB_framebuffer_sRGB 1
  3525. #endif /* GL_ARB_framebuffer_sRGB */
  3526. #ifndef GL_ARB_geometry_shader4
  3527. #define GL_ARB_geometry_shader4 1
  3528. #define GL_LINES_ADJACENCY_ARB 0x000A
  3529. #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
  3530. #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
  3531. #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
  3532. #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
  3533. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  3534. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  3535. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  3536. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  3537. #define GL_GEOMETRY_SHADER_ARB 0x8DD9
  3538. #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
  3539. #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
  3540. #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
  3541. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  3542. #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  3543. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  3544. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  3545. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  3546. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  3547. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  3548. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  3549. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  3550. #ifdef GL_GLEXT_PROTOTYPES
  3551. GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
  3552. GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
  3553. GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  3554. GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  3555. #endif
  3556. #endif /* GL_ARB_geometry_shader4 */
  3557. #ifndef GL_ARB_get_program_binary
  3558. #define GL_ARB_get_program_binary 1
  3559. #endif /* GL_ARB_get_program_binary */
  3560. #ifndef GL_ARB_get_texture_sub_image
  3561. #define GL_ARB_get_texture_sub_image 1
  3562. #endif /* GL_ARB_get_texture_sub_image */
  3563. #ifndef GL_ARB_gl_spirv
  3564. #define GL_ARB_gl_spirv 1
  3565. #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
  3566. #define GL_SPIR_V_BINARY_ARB 0x9552
  3567. typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
  3568. #ifdef GL_GLEXT_PROTOTYPES
  3569. GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
  3570. #endif
  3571. #endif /* GL_ARB_gl_spirv */
  3572. #ifndef GL_ARB_gpu_shader5
  3573. #define GL_ARB_gpu_shader5 1
  3574. #endif /* GL_ARB_gpu_shader5 */
  3575. #ifndef GL_ARB_gpu_shader_fp64
  3576. #define GL_ARB_gpu_shader_fp64 1
  3577. #endif /* GL_ARB_gpu_shader_fp64 */
  3578. #ifndef GL_ARB_gpu_shader_int64
  3579. #define GL_ARB_gpu_shader_int64 1
  3580. #define GL_INT64_ARB 0x140E
  3581. #define GL_INT64_VEC2_ARB 0x8FE9
  3582. #define GL_INT64_VEC3_ARB 0x8FEA
  3583. #define GL_INT64_VEC4_ARB 0x8FEB
  3584. #define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5
  3585. #define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6
  3586. #define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7
  3587. typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x);
  3588. typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y);
  3589. typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z);
  3590. typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
  3591. typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
  3592. typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
  3593. typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
  3594. typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
  3595. typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x);
  3596. typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y);
  3597. typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
  3598. typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
  3599. typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3600. typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3601. typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3602. typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  3603. typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params);
  3604. typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params);
  3605. typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
  3606. typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
  3607. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x);
  3608. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y);
  3609. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
  3610. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
  3611. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3612. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3613. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3614. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3615. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x);
  3616. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y);
  3617. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
  3618. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
  3619. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3620. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3621. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3622. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3623. #ifdef GL_GLEXT_PROTOTYPES
  3624. GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x);
  3625. GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y);
  3626. GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z);
  3627. GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
  3628. GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value);
  3629. GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value);
  3630. GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value);
  3631. GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value);
  3632. GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x);
  3633. GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y);
  3634. GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
  3635. GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
  3636. GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3637. GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3638. GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3639. GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  3640. GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params);
  3641. GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params);
  3642. GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
  3643. GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
  3644. GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x);
  3645. GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y);
  3646. GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
  3647. GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
  3648. GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3649. GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3650. GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3651. GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
  3652. GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x);
  3653. GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y);
  3654. GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
  3655. GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
  3656. GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3657. GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3658. GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3659. GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
  3660. #endif
  3661. #endif /* GL_ARB_gpu_shader_int64 */
  3662. #ifndef GL_ARB_half_float_pixel
  3663. #define GL_ARB_half_float_pixel 1
  3664. typedef khronos_uint16_t GLhalfARB;
  3665. #define GL_HALF_FLOAT_ARB 0x140B
  3666. #endif /* GL_ARB_half_float_pixel */
  3667. #ifndef GL_ARB_half_float_vertex
  3668. #define GL_ARB_half_float_vertex 1
  3669. #endif /* GL_ARB_half_float_vertex */
  3670. #ifndef GL_ARB_imaging
  3671. #define GL_ARB_imaging 1
  3672. #define GL_CONVOLUTION_BORDER_MODE 0x8013
  3673. #define GL_CONVOLUTION_FILTER_SCALE 0x8014
  3674. #define GL_CONVOLUTION_FILTER_BIAS 0x8015
  3675. #define GL_REDUCE 0x8016
  3676. #define GL_CONVOLUTION_FORMAT 0x8017
  3677. #define GL_CONVOLUTION_WIDTH 0x8018
  3678. #define GL_CONVOLUTION_HEIGHT 0x8019
  3679. #define GL_MAX_CONVOLUTION_WIDTH 0x801A
  3680. #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
  3681. #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
  3682. #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
  3683. #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
  3684. #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
  3685. #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
  3686. #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
  3687. #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
  3688. #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
  3689. #define GL_HISTOGRAM_WIDTH 0x8026
  3690. #define GL_HISTOGRAM_FORMAT 0x8027
  3691. #define GL_HISTOGRAM_RED_SIZE 0x8028
  3692. #define GL_HISTOGRAM_GREEN_SIZE 0x8029
  3693. #define GL_HISTOGRAM_BLUE_SIZE 0x802A
  3694. #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
  3695. #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
  3696. #define GL_HISTOGRAM_SINK 0x802D
  3697. #define GL_MINMAX_FORMAT 0x802F
  3698. #define GL_MINMAX_SINK 0x8030
  3699. #define GL_TABLE_TOO_LARGE 0x8031
  3700. #define GL_COLOR_MATRIX 0x80B1
  3701. #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
  3702. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
  3703. #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
  3704. #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
  3705. #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
  3706. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
  3707. #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
  3708. #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
  3709. #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
  3710. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
  3711. #define GL_COLOR_TABLE_SCALE 0x80D6
  3712. #define GL_COLOR_TABLE_BIAS 0x80D7
  3713. #define GL_COLOR_TABLE_FORMAT 0x80D8
  3714. #define GL_COLOR_TABLE_WIDTH 0x80D9
  3715. #define GL_COLOR_TABLE_RED_SIZE 0x80DA
  3716. #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
  3717. #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
  3718. #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
  3719. #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
  3720. #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
  3721. #define GL_CONSTANT_BORDER 0x8151
  3722. #define GL_REPLICATE_BORDER 0x8153
  3723. #define GL_CONVOLUTION_BORDER_COLOR 0x8154
  3724. typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  3725. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3726. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  3727. typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3728. typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table);
  3729. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3730. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3731. typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  3732. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  3733. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  3734. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  3735. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  3736. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  3737. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  3738. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  3739. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3740. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3741. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image);
  3742. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3743. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3744. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  3745. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  3746. typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3747. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3748. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3749. typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3750. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  3751. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  3752. typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3753. typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  3754. typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  3755. typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  3756. #ifdef GL_GLEXT_PROTOTYPES
  3757. GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  3758. GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  3759. GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
  3760. GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3761. GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table);
  3762. GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3763. GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
  3764. GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  3765. GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  3766. GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  3767. GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  3768. GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
  3769. GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  3770. GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
  3771. GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
  3772. GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  3773. GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  3774. GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image);
  3775. GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3776. GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
  3777. GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  3778. GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  3779. GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3780. GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3781. GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
  3782. GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  3783. GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
  3784. GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
  3785. GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  3786. GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
  3787. GLAPI void APIENTRY glResetHistogram (GLenum target);
  3788. GLAPI void APIENTRY glResetMinmax (GLenum target);
  3789. #endif
  3790. #endif /* GL_ARB_imaging */
  3791. #ifndef GL_ARB_indirect_parameters
  3792. #define GL_ARB_indirect_parameters 1
  3793. #define GL_PARAMETER_BUFFER_ARB 0x80EE
  3794. #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
  3795. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3796. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3797. #ifdef GL_GLEXT_PROTOTYPES
  3798. GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3799. GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3800. #endif
  3801. #endif /* GL_ARB_indirect_parameters */
  3802. #ifndef GL_ARB_instanced_arrays
  3803. #define GL_ARB_instanced_arrays 1
  3804. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  3805. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
  3806. #ifdef GL_GLEXT_PROTOTYPES
  3807. GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
  3808. #endif
  3809. #endif /* GL_ARB_instanced_arrays */
  3810. #ifndef GL_ARB_internalformat_query
  3811. #define GL_ARB_internalformat_query 1
  3812. #endif /* GL_ARB_internalformat_query */
  3813. #ifndef GL_ARB_internalformat_query2
  3814. #define GL_ARB_internalformat_query2 1
  3815. #define GL_SRGB_DECODE_ARB 0x8299
  3816. #define GL_VIEW_CLASS_EAC_R11 0x9383
  3817. #define GL_VIEW_CLASS_EAC_RG11 0x9384
  3818. #define GL_VIEW_CLASS_ETC2_RGB 0x9385
  3819. #define GL_VIEW_CLASS_ETC2_RGBA 0x9386
  3820. #define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387
  3821. #define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388
  3822. #define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389
  3823. #define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A
  3824. #define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B
  3825. #define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C
  3826. #define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D
  3827. #define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E
  3828. #define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F
  3829. #define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390
  3830. #define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391
  3831. #define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392
  3832. #define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393
  3833. #define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394
  3834. #define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395
  3835. #endif /* GL_ARB_internalformat_query2 */
  3836. #ifndef GL_ARB_invalidate_subdata
  3837. #define GL_ARB_invalidate_subdata 1
  3838. #endif /* GL_ARB_invalidate_subdata */
  3839. #ifndef GL_ARB_map_buffer_alignment
  3840. #define GL_ARB_map_buffer_alignment 1
  3841. #endif /* GL_ARB_map_buffer_alignment */
  3842. #ifndef GL_ARB_map_buffer_range
  3843. #define GL_ARB_map_buffer_range 1
  3844. #endif /* GL_ARB_map_buffer_range */
  3845. #ifndef GL_ARB_matrix_palette
  3846. #define GL_ARB_matrix_palette 1
  3847. #define GL_MATRIX_PALETTE_ARB 0x8840
  3848. #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  3849. #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
  3850. #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
  3851. #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
  3852. #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
  3853. #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
  3854. #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
  3855. #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
  3856. #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  3857. typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  3858. typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  3859. typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  3860. typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  3861. typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3862. #ifdef GL_GLEXT_PROTOTYPES
  3863. GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
  3864. GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
  3865. GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
  3866. GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
  3867. GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  3868. #endif
  3869. #endif /* GL_ARB_matrix_palette */
  3870. #ifndef GL_ARB_multi_bind
  3871. #define GL_ARB_multi_bind 1
  3872. #endif /* GL_ARB_multi_bind */
  3873. #ifndef GL_ARB_multi_draw_indirect
  3874. #define GL_ARB_multi_draw_indirect 1
  3875. #endif /* GL_ARB_multi_draw_indirect */
  3876. #ifndef GL_ARB_multisample
  3877. #define GL_ARB_multisample 1
  3878. #define GL_MULTISAMPLE_ARB 0x809D
  3879. #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
  3880. #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
  3881. #define GL_SAMPLE_COVERAGE_ARB 0x80A0
  3882. #define GL_SAMPLE_BUFFERS_ARB 0x80A8
  3883. #define GL_SAMPLES_ARB 0x80A9
  3884. #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
  3885. #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
  3886. #define GL_MULTISAMPLE_BIT_ARB 0x20000000
  3887. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
  3888. #ifdef GL_GLEXT_PROTOTYPES
  3889. GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
  3890. #endif
  3891. #endif /* GL_ARB_multisample */
  3892. #ifndef GL_ARB_multitexture
  3893. #define GL_ARB_multitexture 1
  3894. #define GL_TEXTURE0_ARB 0x84C0
  3895. #define GL_TEXTURE1_ARB 0x84C1
  3896. #define GL_TEXTURE2_ARB 0x84C2
  3897. #define GL_TEXTURE3_ARB 0x84C3
  3898. #define GL_TEXTURE4_ARB 0x84C4
  3899. #define GL_TEXTURE5_ARB 0x84C5
  3900. #define GL_TEXTURE6_ARB 0x84C6
  3901. #define GL_TEXTURE7_ARB 0x84C7
  3902. #define GL_TEXTURE8_ARB 0x84C8
  3903. #define GL_TEXTURE9_ARB 0x84C9
  3904. #define GL_TEXTURE10_ARB 0x84CA
  3905. #define GL_TEXTURE11_ARB 0x84CB
  3906. #define GL_TEXTURE12_ARB 0x84CC
  3907. #define GL_TEXTURE13_ARB 0x84CD
  3908. #define GL_TEXTURE14_ARB 0x84CE
  3909. #define GL_TEXTURE15_ARB 0x84CF
  3910. #define GL_TEXTURE16_ARB 0x84D0
  3911. #define GL_TEXTURE17_ARB 0x84D1
  3912. #define GL_TEXTURE18_ARB 0x84D2
  3913. #define GL_TEXTURE19_ARB 0x84D3
  3914. #define GL_TEXTURE20_ARB 0x84D4
  3915. #define GL_TEXTURE21_ARB 0x84D5
  3916. #define GL_TEXTURE22_ARB 0x84D6
  3917. #define GL_TEXTURE23_ARB 0x84D7
  3918. #define GL_TEXTURE24_ARB 0x84D8
  3919. #define GL_TEXTURE25_ARB 0x84D9
  3920. #define GL_TEXTURE26_ARB 0x84DA
  3921. #define GL_TEXTURE27_ARB 0x84DB
  3922. #define GL_TEXTURE28_ARB 0x84DC
  3923. #define GL_TEXTURE29_ARB 0x84DD
  3924. #define GL_TEXTURE30_ARB 0x84DE
  3925. #define GL_TEXTURE31_ARB 0x84DF
  3926. #define GL_ACTIVE_TEXTURE_ARB 0x84E0
  3927. #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
  3928. #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
  3929. typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  3930. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  3931. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  3932. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  3933. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  3934. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  3935. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  3936. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  3937. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  3938. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  3939. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  3940. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  3941. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  3942. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  3943. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  3944. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  3945. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  3946. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  3947. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3948. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  3949. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3950. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  3951. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  3952. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  3953. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  3954. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  3955. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3956. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  3957. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3958. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  3959. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3960. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  3961. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3962. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  3963. #ifdef GL_GLEXT_PROTOTYPES
  3964. GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
  3965. GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
  3966. GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
  3967. GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
  3968. GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
  3969. GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
  3970. GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
  3971. GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
  3972. GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
  3973. GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
  3974. GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
  3975. GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
  3976. GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
  3977. GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
  3978. GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
  3979. GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
  3980. GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
  3981. GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
  3982. GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  3983. GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
  3984. GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  3985. GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
  3986. GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
  3987. GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
  3988. GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
  3989. GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
  3990. GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  3991. GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
  3992. GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  3993. GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
  3994. GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
  3995. GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
  3996. GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  3997. GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
  3998. #endif
  3999. #endif /* GL_ARB_multitexture */
  4000. #ifndef GL_ARB_occlusion_query
  4001. #define GL_ARB_occlusion_query 1
  4002. #define GL_QUERY_COUNTER_BITS_ARB 0x8864
  4003. #define GL_CURRENT_QUERY_ARB 0x8865
  4004. #define GL_QUERY_RESULT_ARB 0x8866
  4005. #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
  4006. #define GL_SAMPLES_PASSED_ARB 0x8914
  4007. typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  4008. typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  4009. typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  4010. typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  4011. typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  4012. typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  4013. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  4014. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  4015. #ifdef GL_GLEXT_PROTOTYPES
  4016. GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
  4017. GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
  4018. GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
  4019. GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
  4020. GLAPI void APIENTRY glEndQueryARB (GLenum target);
  4021. GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
  4022. GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
  4023. GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
  4024. #endif
  4025. #endif /* GL_ARB_occlusion_query */
  4026. #ifndef GL_ARB_occlusion_query2
  4027. #define GL_ARB_occlusion_query2 1
  4028. #endif /* GL_ARB_occlusion_query2 */
  4029. #ifndef GL_ARB_parallel_shader_compile
  4030. #define GL_ARB_parallel_shader_compile 1
  4031. #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
  4032. #define GL_COMPLETION_STATUS_ARB 0x91B1
  4033. typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count);
  4034. #ifdef GL_GLEXT_PROTOTYPES
  4035. GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count);
  4036. #endif
  4037. #endif /* GL_ARB_parallel_shader_compile */
  4038. #ifndef GL_ARB_pipeline_statistics_query
  4039. #define GL_ARB_pipeline_statistics_query 1
  4040. #define GL_VERTICES_SUBMITTED_ARB 0x82EE
  4041. #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
  4042. #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
  4043. #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
  4044. #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
  4045. #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
  4046. #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
  4047. #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
  4048. #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
  4049. #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
  4050. #endif /* GL_ARB_pipeline_statistics_query */
  4051. #ifndef GL_ARB_pixel_buffer_object
  4052. #define GL_ARB_pixel_buffer_object 1
  4053. #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
  4054. #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
  4055. #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
  4056. #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  4057. #endif /* GL_ARB_pixel_buffer_object */
  4058. #ifndef GL_ARB_point_parameters
  4059. #define GL_ARB_point_parameters 1
  4060. #define GL_POINT_SIZE_MIN_ARB 0x8126
  4061. #define GL_POINT_SIZE_MAX_ARB 0x8127
  4062. #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
  4063. #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  4064. typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  4065. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  4066. #ifdef GL_GLEXT_PROTOTYPES
  4067. GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
  4068. GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
  4069. #endif
  4070. #endif /* GL_ARB_point_parameters */
  4071. #ifndef GL_ARB_point_sprite
  4072. #define GL_ARB_point_sprite 1
  4073. #define GL_POINT_SPRITE_ARB 0x8861
  4074. #define GL_COORD_REPLACE_ARB 0x8862
  4075. #endif /* GL_ARB_point_sprite */
  4076. #ifndef GL_ARB_polygon_offset_clamp
  4077. #define GL_ARB_polygon_offset_clamp 1
  4078. #endif /* GL_ARB_polygon_offset_clamp */
  4079. #ifndef GL_ARB_post_depth_coverage
  4080. #define GL_ARB_post_depth_coverage 1
  4081. #endif /* GL_ARB_post_depth_coverage */
  4082. #ifndef GL_ARB_program_interface_query
  4083. #define GL_ARB_program_interface_query 1
  4084. #endif /* GL_ARB_program_interface_query */
  4085. #ifndef GL_ARB_provoking_vertex
  4086. #define GL_ARB_provoking_vertex 1
  4087. #endif /* GL_ARB_provoking_vertex */
  4088. #ifndef GL_ARB_query_buffer_object
  4089. #define GL_ARB_query_buffer_object 1
  4090. #endif /* GL_ARB_query_buffer_object */
  4091. #ifndef GL_ARB_robust_buffer_access_behavior
  4092. #define GL_ARB_robust_buffer_access_behavior 1
  4093. #endif /* GL_ARB_robust_buffer_access_behavior */
  4094. #ifndef GL_ARB_robustness
  4095. #define GL_ARB_robustness 1
  4096. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  4097. #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
  4098. #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
  4099. #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
  4100. #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
  4101. #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  4102. #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
  4103. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  4104. typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  4105. typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  4106. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
  4107. typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  4108. typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  4109. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  4110. typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  4111. typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  4112. typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  4113. typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  4114. typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  4115. typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  4116. typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  4117. typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
  4118. typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  4119. typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  4120. typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  4121. typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  4122. typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  4123. #ifdef GL_GLEXT_PROTOTYPES
  4124. GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
  4125. GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  4126. GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  4127. GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
  4128. GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  4129. GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  4130. GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  4131. GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  4132. GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  4133. GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  4134. GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  4135. GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
  4136. GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
  4137. GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
  4138. GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
  4139. GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
  4140. GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
  4141. GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
  4142. GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  4143. GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
  4144. #endif
  4145. #endif /* GL_ARB_robustness */
  4146. #ifndef GL_ARB_robustness_isolation
  4147. #define GL_ARB_robustness_isolation 1
  4148. #endif /* GL_ARB_robustness_isolation */
  4149. #ifndef GL_ARB_sample_locations
  4150. #define GL_ARB_sample_locations 1
  4151. #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
  4152. #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
  4153. #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
  4154. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
  4155. #define GL_SAMPLE_LOCATION_ARB 0x8E50
  4156. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
  4157. #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
  4158. #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
  4159. typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  4160. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  4161. typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void);
  4162. #ifdef GL_GLEXT_PROTOTYPES
  4163. GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  4164. GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  4165. GLAPI void APIENTRY glEvaluateDepthValuesARB (void);
  4166. #endif
  4167. #endif /* GL_ARB_sample_locations */
  4168. #ifndef GL_ARB_sample_shading
  4169. #define GL_ARB_sample_shading 1
  4170. #define GL_SAMPLE_SHADING_ARB 0x8C36
  4171. #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
  4172. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
  4173. #ifdef GL_GLEXT_PROTOTYPES
  4174. GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
  4175. #endif
  4176. #endif /* GL_ARB_sample_shading */
  4177. #ifndef GL_ARB_sampler_objects
  4178. #define GL_ARB_sampler_objects 1
  4179. #endif /* GL_ARB_sampler_objects */
  4180. #ifndef GL_ARB_seamless_cube_map
  4181. #define GL_ARB_seamless_cube_map 1
  4182. #endif /* GL_ARB_seamless_cube_map */
  4183. #ifndef GL_ARB_seamless_cubemap_per_texture
  4184. #define GL_ARB_seamless_cubemap_per_texture 1
  4185. #endif /* GL_ARB_seamless_cubemap_per_texture */
  4186. #ifndef GL_ARB_separate_shader_objects
  4187. #define GL_ARB_separate_shader_objects 1
  4188. #endif /* GL_ARB_separate_shader_objects */
  4189. #ifndef GL_ARB_shader_atomic_counter_ops
  4190. #define GL_ARB_shader_atomic_counter_ops 1
  4191. #endif /* GL_ARB_shader_atomic_counter_ops */
  4192. #ifndef GL_ARB_shader_atomic_counters
  4193. #define GL_ARB_shader_atomic_counters 1
  4194. #endif /* GL_ARB_shader_atomic_counters */
  4195. #ifndef GL_ARB_shader_ballot
  4196. #define GL_ARB_shader_ballot 1
  4197. #endif /* GL_ARB_shader_ballot */
  4198. #ifndef GL_ARB_shader_bit_encoding
  4199. #define GL_ARB_shader_bit_encoding 1
  4200. #endif /* GL_ARB_shader_bit_encoding */
  4201. #ifndef GL_ARB_shader_clock
  4202. #define GL_ARB_shader_clock 1
  4203. #endif /* GL_ARB_shader_clock */
  4204. #ifndef GL_ARB_shader_draw_parameters
  4205. #define GL_ARB_shader_draw_parameters 1
  4206. #endif /* GL_ARB_shader_draw_parameters */
  4207. #ifndef GL_ARB_shader_group_vote
  4208. #define GL_ARB_shader_group_vote 1
  4209. #endif /* GL_ARB_shader_group_vote */
  4210. #ifndef GL_ARB_shader_image_load_store
  4211. #define GL_ARB_shader_image_load_store 1
  4212. #endif /* GL_ARB_shader_image_load_store */
  4213. #ifndef GL_ARB_shader_image_size
  4214. #define GL_ARB_shader_image_size 1
  4215. #endif /* GL_ARB_shader_image_size */
  4216. #ifndef GL_ARB_shader_objects
  4217. #define GL_ARB_shader_objects 1
  4218. #ifdef __APPLE__
  4219. typedef void *GLhandleARB;
  4220. #else
  4221. typedef unsigned int GLhandleARB;
  4222. #endif
  4223. typedef char GLcharARB;
  4224. #define GL_PROGRAM_OBJECT_ARB 0x8B40
  4225. #define GL_SHADER_OBJECT_ARB 0x8B48
  4226. #define GL_OBJECT_TYPE_ARB 0x8B4E
  4227. #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
  4228. #define GL_FLOAT_VEC2_ARB 0x8B50
  4229. #define GL_FLOAT_VEC3_ARB 0x8B51
  4230. #define GL_FLOAT_VEC4_ARB 0x8B52
  4231. #define GL_INT_VEC2_ARB 0x8B53
  4232. #define GL_INT_VEC3_ARB 0x8B54
  4233. #define GL_INT_VEC4_ARB 0x8B55
  4234. #define GL_BOOL_ARB 0x8B56
  4235. #define GL_BOOL_VEC2_ARB 0x8B57
  4236. #define GL_BOOL_VEC3_ARB 0x8B58
  4237. #define GL_BOOL_VEC4_ARB 0x8B59
  4238. #define GL_FLOAT_MAT2_ARB 0x8B5A
  4239. #define GL_FLOAT_MAT3_ARB 0x8B5B
  4240. #define GL_FLOAT_MAT4_ARB 0x8B5C
  4241. #define GL_SAMPLER_1D_ARB 0x8B5D
  4242. #define GL_SAMPLER_2D_ARB 0x8B5E
  4243. #define GL_SAMPLER_3D_ARB 0x8B5F
  4244. #define GL_SAMPLER_CUBE_ARB 0x8B60
  4245. #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
  4246. #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
  4247. #define GL_SAMPLER_2D_RECT_ARB 0x8B63
  4248. #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
  4249. #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
  4250. #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
  4251. #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
  4252. #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
  4253. #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
  4254. #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
  4255. #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
  4256. #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  4257. #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  4258. typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  4259. typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  4260. typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  4261. typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  4262. typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  4263. typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  4264. typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  4265. typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  4266. typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  4267. typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  4268. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  4269. typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  4270. typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  4271. typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  4272. typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  4273. typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  4274. typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  4275. typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  4276. typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  4277. typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  4278. typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  4279. typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  4280. typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  4281. typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  4282. typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  4283. typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  4284. typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  4285. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4286. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4287. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4288. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  4289. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  4290. typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  4291. typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  4292. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  4293. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4294. typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  4295. typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  4296. typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  4297. #ifdef GL_GLEXT_PROTOTYPES
  4298. GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
  4299. GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
  4300. GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
  4301. GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
  4302. GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length);
  4303. GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
  4304. GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  4305. GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
  4306. GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
  4307. GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
  4308. GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
  4309. GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
  4310. GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
  4311. GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  4312. GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  4313. GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
  4314. GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
  4315. GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
  4316. GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  4317. GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
  4318. GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
  4319. GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
  4320. GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
  4321. GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
  4322. GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
  4323. GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
  4324. GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
  4325. GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4326. GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4327. GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  4328. GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
  4329. GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
  4330. GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  4331. GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  4332. GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
  4333. GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4334. GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
  4335. GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
  4336. GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  4337. #endif
  4338. #endif /* GL_ARB_shader_objects */
  4339. #ifndef GL_ARB_shader_precision
  4340. #define GL_ARB_shader_precision 1
  4341. #endif /* GL_ARB_shader_precision */
  4342. #ifndef GL_ARB_shader_stencil_export
  4343. #define GL_ARB_shader_stencil_export 1
  4344. #endif /* GL_ARB_shader_stencil_export */
  4345. #ifndef GL_ARB_shader_storage_buffer_object
  4346. #define GL_ARB_shader_storage_buffer_object 1
  4347. #endif /* GL_ARB_shader_storage_buffer_object */
  4348. #ifndef GL_ARB_shader_subroutine
  4349. #define GL_ARB_shader_subroutine 1
  4350. #endif /* GL_ARB_shader_subroutine */
  4351. #ifndef GL_ARB_shader_texture_image_samples
  4352. #define GL_ARB_shader_texture_image_samples 1
  4353. #endif /* GL_ARB_shader_texture_image_samples */
  4354. #ifndef GL_ARB_shader_texture_lod
  4355. #define GL_ARB_shader_texture_lod 1
  4356. #endif /* GL_ARB_shader_texture_lod */
  4357. #ifndef GL_ARB_shader_viewport_layer_array
  4358. #define GL_ARB_shader_viewport_layer_array 1
  4359. #endif /* GL_ARB_shader_viewport_layer_array */
  4360. #ifndef GL_ARB_shading_language_100
  4361. #define GL_ARB_shading_language_100 1
  4362. #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
  4363. #endif /* GL_ARB_shading_language_100 */
  4364. #ifndef GL_ARB_shading_language_420pack
  4365. #define GL_ARB_shading_language_420pack 1
  4366. #endif /* GL_ARB_shading_language_420pack */
  4367. #ifndef GL_ARB_shading_language_include
  4368. #define GL_ARB_shading_language_include 1
  4369. #define GL_SHADER_INCLUDE_ARB 0x8DAE
  4370. #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
  4371. #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
  4372. typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  4373. typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  4374. typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  4375. typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  4376. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  4377. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  4378. #ifdef GL_GLEXT_PROTOTYPES
  4379. GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  4380. GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
  4381. GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  4382. GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
  4383. GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  4384. GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  4385. #endif
  4386. #endif /* GL_ARB_shading_language_include */
  4387. #ifndef GL_ARB_shading_language_packing
  4388. #define GL_ARB_shading_language_packing 1
  4389. #endif /* GL_ARB_shading_language_packing */
  4390. #ifndef GL_ARB_shadow
  4391. #define GL_ARB_shadow 1
  4392. #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
  4393. #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
  4394. #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
  4395. #endif /* GL_ARB_shadow */
  4396. #ifndef GL_ARB_shadow_ambient
  4397. #define GL_ARB_shadow_ambient 1
  4398. #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  4399. #endif /* GL_ARB_shadow_ambient */
  4400. #ifndef GL_ARB_sparse_buffer
  4401. #define GL_ARB_sparse_buffer 1
  4402. #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
  4403. #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
  4404. typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4405. typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4406. typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4407. #ifdef GL_GLEXT_PROTOTYPES
  4408. GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4409. GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4410. GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  4411. #endif
  4412. #endif /* GL_ARB_sparse_buffer */
  4413. #ifndef GL_ARB_sparse_texture
  4414. #define GL_ARB_sparse_texture 1
  4415. #define GL_TEXTURE_SPARSE_ARB 0x91A6
  4416. #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
  4417. #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
  4418. #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
  4419. #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
  4420. #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
  4421. #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
  4422. #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
  4423. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
  4424. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
  4425. #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
  4426. typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  4427. #ifdef GL_GLEXT_PROTOTYPES
  4428. GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  4429. #endif
  4430. #endif /* GL_ARB_sparse_texture */
  4431. #ifndef GL_ARB_sparse_texture2
  4432. #define GL_ARB_sparse_texture2 1
  4433. #endif /* GL_ARB_sparse_texture2 */
  4434. #ifndef GL_ARB_sparse_texture_clamp
  4435. #define GL_ARB_sparse_texture_clamp 1
  4436. #endif /* GL_ARB_sparse_texture_clamp */
  4437. #ifndef GL_ARB_spirv_extensions
  4438. #define GL_ARB_spirv_extensions 1
  4439. #endif /* GL_ARB_spirv_extensions */
  4440. #ifndef GL_ARB_stencil_texturing
  4441. #define GL_ARB_stencil_texturing 1
  4442. #endif /* GL_ARB_stencil_texturing */
  4443. #ifndef GL_ARB_sync
  4444. #define GL_ARB_sync 1
  4445. #endif /* GL_ARB_sync */
  4446. #ifndef GL_ARB_tessellation_shader
  4447. #define GL_ARB_tessellation_shader 1
  4448. #endif /* GL_ARB_tessellation_shader */
  4449. #ifndef GL_ARB_texture_barrier
  4450. #define GL_ARB_texture_barrier 1
  4451. #endif /* GL_ARB_texture_barrier */
  4452. #ifndef GL_ARB_texture_border_clamp
  4453. #define GL_ARB_texture_border_clamp 1
  4454. #define GL_CLAMP_TO_BORDER_ARB 0x812D
  4455. #endif /* GL_ARB_texture_border_clamp */
  4456. #ifndef GL_ARB_texture_buffer_object
  4457. #define GL_ARB_texture_buffer_object 1
  4458. #define GL_TEXTURE_BUFFER_ARB 0x8C2A
  4459. #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
  4460. #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
  4461. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  4462. #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
  4463. typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  4464. #ifdef GL_GLEXT_PROTOTYPES
  4465. GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
  4466. #endif
  4467. #endif /* GL_ARB_texture_buffer_object */
  4468. #ifndef GL_ARB_texture_buffer_object_rgb32
  4469. #define GL_ARB_texture_buffer_object_rgb32 1
  4470. #endif /* GL_ARB_texture_buffer_object_rgb32 */
  4471. #ifndef GL_ARB_texture_buffer_range
  4472. #define GL_ARB_texture_buffer_range 1
  4473. #endif /* GL_ARB_texture_buffer_range */
  4474. #ifndef GL_ARB_texture_compression
  4475. #define GL_ARB_texture_compression 1
  4476. #define GL_COMPRESSED_ALPHA_ARB 0x84E9
  4477. #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
  4478. #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  4479. #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
  4480. #define GL_COMPRESSED_RGB_ARB 0x84ED
  4481. #define GL_COMPRESSED_RGBA_ARB 0x84EE
  4482. #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
  4483. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  4484. #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
  4485. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  4486. #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  4487. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  4488. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  4489. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  4490. 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);
  4491. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  4492. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  4493. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img);
  4494. #ifdef GL_GLEXT_PROTOTYPES
  4495. GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  4496. GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  4497. GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  4498. 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);
  4499. GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  4500. GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  4501. GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img);
  4502. #endif
  4503. #endif /* GL_ARB_texture_compression */
  4504. #ifndef GL_ARB_texture_compression_bptc
  4505. #define GL_ARB_texture_compression_bptc 1
  4506. #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  4507. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  4508. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  4509. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  4510. #endif /* GL_ARB_texture_compression_bptc */
  4511. #ifndef GL_ARB_texture_compression_rgtc
  4512. #define GL_ARB_texture_compression_rgtc 1
  4513. #endif /* GL_ARB_texture_compression_rgtc */
  4514. #ifndef GL_ARB_texture_cube_map
  4515. #define GL_ARB_texture_cube_map 1
  4516. #define GL_NORMAL_MAP_ARB 0x8511
  4517. #define GL_REFLECTION_MAP_ARB 0x8512
  4518. #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
  4519. #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
  4520. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  4521. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  4522. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  4523. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  4524. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  4525. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  4526. #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
  4527. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
  4528. #endif /* GL_ARB_texture_cube_map */
  4529. #ifndef GL_ARB_texture_cube_map_array
  4530. #define GL_ARB_texture_cube_map_array 1
  4531. #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
  4532. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  4533. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  4534. #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
  4535. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  4536. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  4537. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  4538. #endif /* GL_ARB_texture_cube_map_array */
  4539. #ifndef GL_ARB_texture_env_add
  4540. #define GL_ARB_texture_env_add 1
  4541. #endif /* GL_ARB_texture_env_add */
  4542. #ifndef GL_ARB_texture_env_combine
  4543. #define GL_ARB_texture_env_combine 1
  4544. #define GL_COMBINE_ARB 0x8570
  4545. #define GL_COMBINE_RGB_ARB 0x8571
  4546. #define GL_COMBINE_ALPHA_ARB 0x8572
  4547. #define GL_SOURCE0_RGB_ARB 0x8580
  4548. #define GL_SOURCE1_RGB_ARB 0x8581
  4549. #define GL_SOURCE2_RGB_ARB 0x8582
  4550. #define GL_SOURCE0_ALPHA_ARB 0x8588
  4551. #define GL_SOURCE1_ALPHA_ARB 0x8589
  4552. #define GL_SOURCE2_ALPHA_ARB 0x858A
  4553. #define GL_OPERAND0_RGB_ARB 0x8590
  4554. #define GL_OPERAND1_RGB_ARB 0x8591
  4555. #define GL_OPERAND2_RGB_ARB 0x8592
  4556. #define GL_OPERAND0_ALPHA_ARB 0x8598
  4557. #define GL_OPERAND1_ALPHA_ARB 0x8599
  4558. #define GL_OPERAND2_ALPHA_ARB 0x859A
  4559. #define GL_RGB_SCALE_ARB 0x8573
  4560. #define GL_ADD_SIGNED_ARB 0x8574
  4561. #define GL_INTERPOLATE_ARB 0x8575
  4562. #define GL_SUBTRACT_ARB 0x84E7
  4563. #define GL_CONSTANT_ARB 0x8576
  4564. #define GL_PRIMARY_COLOR_ARB 0x8577
  4565. #define GL_PREVIOUS_ARB 0x8578
  4566. #endif /* GL_ARB_texture_env_combine */
  4567. #ifndef GL_ARB_texture_env_crossbar
  4568. #define GL_ARB_texture_env_crossbar 1
  4569. #endif /* GL_ARB_texture_env_crossbar */
  4570. #ifndef GL_ARB_texture_env_dot3
  4571. #define GL_ARB_texture_env_dot3 1
  4572. #define GL_DOT3_RGB_ARB 0x86AE
  4573. #define GL_DOT3_RGBA_ARB 0x86AF
  4574. #endif /* GL_ARB_texture_env_dot3 */
  4575. #ifndef GL_ARB_texture_filter_anisotropic
  4576. #define GL_ARB_texture_filter_anisotropic 1
  4577. #endif /* GL_ARB_texture_filter_anisotropic */
  4578. #ifndef GL_ARB_texture_filter_minmax
  4579. #define GL_ARB_texture_filter_minmax 1
  4580. #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366
  4581. #define GL_WEIGHTED_AVERAGE_ARB 0x9367
  4582. #endif /* GL_ARB_texture_filter_minmax */
  4583. #ifndef GL_ARB_texture_float
  4584. #define GL_ARB_texture_float 1
  4585. #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
  4586. #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
  4587. #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
  4588. #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
  4589. #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
  4590. #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
  4591. #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
  4592. #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
  4593. #define GL_RGBA32F_ARB 0x8814
  4594. #define GL_RGB32F_ARB 0x8815
  4595. #define GL_ALPHA32F_ARB 0x8816
  4596. #define GL_INTENSITY32F_ARB 0x8817
  4597. #define GL_LUMINANCE32F_ARB 0x8818
  4598. #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
  4599. #define GL_RGBA16F_ARB 0x881A
  4600. #define GL_RGB16F_ARB 0x881B
  4601. #define GL_ALPHA16F_ARB 0x881C
  4602. #define GL_INTENSITY16F_ARB 0x881D
  4603. #define GL_LUMINANCE16F_ARB 0x881E
  4604. #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
  4605. #endif /* GL_ARB_texture_float */
  4606. #ifndef GL_ARB_texture_gather
  4607. #define GL_ARB_texture_gather 1
  4608. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  4609. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  4610. #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
  4611. #endif /* GL_ARB_texture_gather */
  4612. #ifndef GL_ARB_texture_mirror_clamp_to_edge
  4613. #define GL_ARB_texture_mirror_clamp_to_edge 1
  4614. #endif /* GL_ARB_texture_mirror_clamp_to_edge */
  4615. #ifndef GL_ARB_texture_mirrored_repeat
  4616. #define GL_ARB_texture_mirrored_repeat 1
  4617. #define GL_MIRRORED_REPEAT_ARB 0x8370
  4618. #endif /* GL_ARB_texture_mirrored_repeat */
  4619. #ifndef GL_ARB_texture_multisample
  4620. #define GL_ARB_texture_multisample 1
  4621. #endif /* GL_ARB_texture_multisample */
  4622. #ifndef GL_ARB_texture_non_power_of_two
  4623. #define GL_ARB_texture_non_power_of_two 1
  4624. #endif /* GL_ARB_texture_non_power_of_two */
  4625. #ifndef GL_ARB_texture_query_levels
  4626. #define GL_ARB_texture_query_levels 1
  4627. #endif /* GL_ARB_texture_query_levels */
  4628. #ifndef GL_ARB_texture_query_lod
  4629. #define GL_ARB_texture_query_lod 1
  4630. #endif /* GL_ARB_texture_query_lod */
  4631. #ifndef GL_ARB_texture_rectangle
  4632. #define GL_ARB_texture_rectangle 1
  4633. #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
  4634. #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
  4635. #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
  4636. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  4637. #endif /* GL_ARB_texture_rectangle */
  4638. #ifndef GL_ARB_texture_rg
  4639. #define GL_ARB_texture_rg 1
  4640. #endif /* GL_ARB_texture_rg */
  4641. #ifndef GL_ARB_texture_rgb10_a2ui
  4642. #define GL_ARB_texture_rgb10_a2ui 1
  4643. #endif /* GL_ARB_texture_rgb10_a2ui */
  4644. #ifndef GL_ARB_texture_stencil8
  4645. #define GL_ARB_texture_stencil8 1
  4646. #endif /* GL_ARB_texture_stencil8 */
  4647. #ifndef GL_ARB_texture_storage
  4648. #define GL_ARB_texture_storage 1
  4649. #endif /* GL_ARB_texture_storage */
  4650. #ifndef GL_ARB_texture_storage_multisample
  4651. #define GL_ARB_texture_storage_multisample 1
  4652. #endif /* GL_ARB_texture_storage_multisample */
  4653. #ifndef GL_ARB_texture_swizzle
  4654. #define GL_ARB_texture_swizzle 1
  4655. #endif /* GL_ARB_texture_swizzle */
  4656. #ifndef GL_ARB_texture_view
  4657. #define GL_ARB_texture_view 1
  4658. #endif /* GL_ARB_texture_view */
  4659. #ifndef GL_ARB_timer_query
  4660. #define GL_ARB_timer_query 1
  4661. #endif /* GL_ARB_timer_query */
  4662. #ifndef GL_ARB_transform_feedback2
  4663. #define GL_ARB_transform_feedback2 1
  4664. #endif /* GL_ARB_transform_feedback2 */
  4665. #ifndef GL_ARB_transform_feedback3
  4666. #define GL_ARB_transform_feedback3 1
  4667. #endif /* GL_ARB_transform_feedback3 */
  4668. #ifndef GL_ARB_transform_feedback_instanced
  4669. #define GL_ARB_transform_feedback_instanced 1
  4670. #endif /* GL_ARB_transform_feedback_instanced */
  4671. #ifndef GL_ARB_transform_feedback_overflow_query
  4672. #define GL_ARB_transform_feedback_overflow_query 1
  4673. #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
  4674. #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
  4675. #endif /* GL_ARB_transform_feedback_overflow_query */
  4676. #ifndef GL_ARB_transpose_matrix
  4677. #define GL_ARB_transpose_matrix 1
  4678. #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  4679. #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  4680. #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
  4681. #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
  4682. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  4683. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  4684. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  4685. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  4686. #ifdef GL_GLEXT_PROTOTYPES
  4687. GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
  4688. GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
  4689. GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
  4690. GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
  4691. #endif
  4692. #endif /* GL_ARB_transpose_matrix */
  4693. #ifndef GL_ARB_uniform_buffer_object
  4694. #define GL_ARB_uniform_buffer_object 1
  4695. #endif /* GL_ARB_uniform_buffer_object */
  4696. #ifndef GL_ARB_vertex_array_bgra
  4697. #define GL_ARB_vertex_array_bgra 1
  4698. #endif /* GL_ARB_vertex_array_bgra */
  4699. #ifndef GL_ARB_vertex_array_object
  4700. #define GL_ARB_vertex_array_object 1
  4701. #endif /* GL_ARB_vertex_array_object */
  4702. #ifndef GL_ARB_vertex_attrib_64bit
  4703. #define GL_ARB_vertex_attrib_64bit 1
  4704. #endif /* GL_ARB_vertex_attrib_64bit */
  4705. #ifndef GL_ARB_vertex_attrib_binding
  4706. #define GL_ARB_vertex_attrib_binding 1
  4707. #endif /* GL_ARB_vertex_attrib_binding */
  4708. #ifndef GL_ARB_vertex_blend
  4709. #define GL_ARB_vertex_blend 1
  4710. #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
  4711. #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
  4712. #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
  4713. #define GL_VERTEX_BLEND_ARB 0x86A7
  4714. #define GL_CURRENT_WEIGHT_ARB 0x86A8
  4715. #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
  4716. #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
  4717. #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
  4718. #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
  4719. #define GL_WEIGHT_ARRAY_ARB 0x86AD
  4720. #define GL_MODELVIEW0_ARB 0x1700
  4721. #define GL_MODELVIEW1_ARB 0x850A
  4722. #define GL_MODELVIEW2_ARB 0x8722
  4723. #define GL_MODELVIEW3_ARB 0x8723
  4724. #define GL_MODELVIEW4_ARB 0x8724
  4725. #define GL_MODELVIEW5_ARB 0x8725
  4726. #define GL_MODELVIEW6_ARB 0x8726
  4727. #define GL_MODELVIEW7_ARB 0x8727
  4728. #define GL_MODELVIEW8_ARB 0x8728
  4729. #define GL_MODELVIEW9_ARB 0x8729
  4730. #define GL_MODELVIEW10_ARB 0x872A
  4731. #define GL_MODELVIEW11_ARB 0x872B
  4732. #define GL_MODELVIEW12_ARB 0x872C
  4733. #define GL_MODELVIEW13_ARB 0x872D
  4734. #define GL_MODELVIEW14_ARB 0x872E
  4735. #define GL_MODELVIEW15_ARB 0x872F
  4736. #define GL_MODELVIEW16_ARB 0x8730
  4737. #define GL_MODELVIEW17_ARB 0x8731
  4738. #define GL_MODELVIEW18_ARB 0x8732
  4739. #define GL_MODELVIEW19_ARB 0x8733
  4740. #define GL_MODELVIEW20_ARB 0x8734
  4741. #define GL_MODELVIEW21_ARB 0x8735
  4742. #define GL_MODELVIEW22_ARB 0x8736
  4743. #define GL_MODELVIEW23_ARB 0x8737
  4744. #define GL_MODELVIEW24_ARB 0x8738
  4745. #define GL_MODELVIEW25_ARB 0x8739
  4746. #define GL_MODELVIEW26_ARB 0x873A
  4747. #define GL_MODELVIEW27_ARB 0x873B
  4748. #define GL_MODELVIEW28_ARB 0x873C
  4749. #define GL_MODELVIEW29_ARB 0x873D
  4750. #define GL_MODELVIEW30_ARB 0x873E
  4751. #define GL_MODELVIEW31_ARB 0x873F
  4752. typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  4753. typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  4754. typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  4755. typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  4756. typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  4757. typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  4758. typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  4759. typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  4760. typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  4761. typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  4762. #ifdef GL_GLEXT_PROTOTYPES
  4763. GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
  4764. GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
  4765. GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
  4766. GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
  4767. GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
  4768. GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
  4769. GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
  4770. GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
  4771. GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer);
  4772. GLAPI void APIENTRY glVertexBlendARB (GLint count);
  4773. #endif
  4774. #endif /* GL_ARB_vertex_blend */
  4775. #ifndef GL_ARB_vertex_buffer_object
  4776. #define GL_ARB_vertex_buffer_object 1
  4777. typedef khronos_ssize_t GLsizeiptrARB;
  4778. typedef khronos_intptr_t GLintptrARB;
  4779. #define GL_BUFFER_SIZE_ARB 0x8764
  4780. #define GL_BUFFER_USAGE_ARB 0x8765
  4781. #define GL_ARRAY_BUFFER_ARB 0x8892
  4782. #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
  4783. #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
  4784. #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  4785. #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  4786. #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  4787. #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  4788. #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  4789. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  4790. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  4791. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  4792. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  4793. #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  4794. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  4795. #define GL_READ_ONLY_ARB 0x88B8
  4796. #define GL_WRITE_ONLY_ARB 0x88B9
  4797. #define GL_READ_WRITE_ARB 0x88BA
  4798. #define GL_BUFFER_ACCESS_ARB 0x88BB
  4799. #define GL_BUFFER_MAPPED_ARB 0x88BC
  4800. #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
  4801. #define GL_STREAM_DRAW_ARB 0x88E0
  4802. #define GL_STREAM_READ_ARB 0x88E1
  4803. #define GL_STREAM_COPY_ARB 0x88E2
  4804. #define GL_STATIC_DRAW_ARB 0x88E4
  4805. #define GL_STATIC_READ_ARB 0x88E5
  4806. #define GL_STATIC_COPY_ARB 0x88E6
  4807. #define GL_DYNAMIC_DRAW_ARB 0x88E8
  4808. #define GL_DYNAMIC_READ_ARB 0x88E9
  4809. #define GL_DYNAMIC_COPY_ARB 0x88EA
  4810. typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  4811. typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  4812. typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  4813. typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  4814. typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  4815. typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  4816. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  4817. typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  4818. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  4819. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  4820. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params);
  4821. #ifdef GL_GLEXT_PROTOTYPES
  4822. GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
  4823. GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
  4824. GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
  4825. GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
  4826. GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage);
  4827. GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data);
  4828. GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data);
  4829. GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access);
  4830. GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
  4831. GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
  4832. GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params);
  4833. #endif
  4834. #endif /* GL_ARB_vertex_buffer_object */
  4835. #ifndef GL_ARB_vertex_program
  4836. #define GL_ARB_vertex_program 1
  4837. #define GL_COLOR_SUM_ARB 0x8458
  4838. #define GL_VERTEX_PROGRAM_ARB 0x8620
  4839. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  4840. #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
  4841. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  4842. #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
  4843. #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
  4844. #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
  4845. #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
  4846. #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  4847. #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
  4848. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  4849. #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
  4850. #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  4851. #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  4852. #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  4853. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  4854. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  4855. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  4856. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  4857. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  4858. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  4859. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  4860. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  4861. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  4862. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  4863. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  4864. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  4865. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4866. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  4867. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4868. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  4869. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  4870. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  4871. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  4872. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  4873. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  4874. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4875. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  4876. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  4877. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  4878. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  4879. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4880. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  4881. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4882. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  4883. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  4884. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4885. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  4886. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  4887. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  4888. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  4889. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  4890. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  4891. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  4892. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  4893. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  4894. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  4895. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer);
  4896. #ifdef GL_GLEXT_PROTOTYPES
  4897. GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
  4898. GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
  4899. GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
  4900. GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
  4901. GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
  4902. GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
  4903. GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
  4904. GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
  4905. GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
  4906. GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
  4907. GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
  4908. GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
  4909. GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  4910. GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
  4911. GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  4912. GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
  4913. GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
  4914. GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
  4915. GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
  4916. GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
  4917. GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
  4918. GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  4919. GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
  4920. GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
  4921. GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
  4922. GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
  4923. GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4924. GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
  4925. GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4926. GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
  4927. GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
  4928. GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  4929. GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
  4930. GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
  4931. GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
  4932. GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
  4933. GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  4934. GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
  4935. GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
  4936. GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
  4937. GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
  4938. GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
  4939. GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer);
  4940. #endif
  4941. #endif /* GL_ARB_vertex_program */
  4942. #ifndef GL_ARB_vertex_shader
  4943. #define GL_ARB_vertex_shader 1
  4944. #define GL_VERTEX_SHADER_ARB 0x8B31
  4945. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  4946. #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
  4947. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  4948. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  4949. #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
  4950. #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  4951. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  4952. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4953. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  4954. #ifdef GL_GLEXT_PROTOTYPES
  4955. GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  4956. GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  4957. GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
  4958. #endif
  4959. #endif /* GL_ARB_vertex_shader */
  4960. #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
  4961. #define GL_ARB_vertex_type_10f_11f_11f_rev 1
  4962. #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
  4963. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  4964. #define GL_ARB_vertex_type_2_10_10_10_rev 1
  4965. #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
  4966. #ifndef GL_ARB_viewport_array
  4967. #define GL_ARB_viewport_array 1
  4968. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYDVNVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  4969. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDDNVPROC) (GLuint index, GLdouble n, GLdouble f);
  4970. #ifdef GL_GLEXT_PROTOTYPES
  4971. GLAPI void APIENTRY glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble *v);
  4972. GLAPI void APIENTRY glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f);
  4973. #endif
  4974. #endif /* GL_ARB_viewport_array */
  4975. #ifndef GL_ARB_window_pos
  4976. #define GL_ARB_window_pos 1
  4977. typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  4978. typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  4979. typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  4980. typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  4981. typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  4982. typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  4983. typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  4984. typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  4985. typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  4986. typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  4987. typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  4988. typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  4989. typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  4990. typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  4991. typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  4992. typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  4993. #ifdef GL_GLEXT_PROTOTYPES
  4994. GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
  4995. GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
  4996. GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
  4997. GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
  4998. GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
  4999. GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
  5000. GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
  5001. GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
  5002. GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
  5003. GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
  5004. GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
  5005. GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
  5006. GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
  5007. GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
  5008. GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
  5009. GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
  5010. #endif
  5011. #endif /* GL_ARB_window_pos */
  5012. #ifndef GL_KHR_blend_equation_advanced
  5013. #define GL_KHR_blend_equation_advanced 1
  5014. #define GL_MULTIPLY_KHR 0x9294
  5015. #define GL_SCREEN_KHR 0x9295
  5016. #define GL_OVERLAY_KHR 0x9296
  5017. #define GL_DARKEN_KHR 0x9297
  5018. #define GL_LIGHTEN_KHR 0x9298
  5019. #define GL_COLORDODGE_KHR 0x9299
  5020. #define GL_COLORBURN_KHR 0x929A
  5021. #define GL_HARDLIGHT_KHR 0x929B
  5022. #define GL_SOFTLIGHT_KHR 0x929C
  5023. #define GL_DIFFERENCE_KHR 0x929E
  5024. #define GL_EXCLUSION_KHR 0x92A0
  5025. #define GL_HSL_HUE_KHR 0x92AD
  5026. #define GL_HSL_SATURATION_KHR 0x92AE
  5027. #define GL_HSL_COLOR_KHR 0x92AF
  5028. #define GL_HSL_LUMINOSITY_KHR 0x92B0
  5029. typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
  5030. #ifdef GL_GLEXT_PROTOTYPES
  5031. GLAPI void APIENTRY glBlendBarrierKHR (void);
  5032. #endif
  5033. #endif /* GL_KHR_blend_equation_advanced */
  5034. #ifndef GL_KHR_blend_equation_advanced_coherent
  5035. #define GL_KHR_blend_equation_advanced_coherent 1
  5036. #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
  5037. #endif /* GL_KHR_blend_equation_advanced_coherent */
  5038. #ifndef GL_KHR_context_flush_control
  5039. #define GL_KHR_context_flush_control 1
  5040. #endif /* GL_KHR_context_flush_control */
  5041. #ifndef GL_KHR_debug
  5042. #define GL_KHR_debug 1
  5043. #endif /* GL_KHR_debug */
  5044. #ifndef GL_KHR_no_error
  5045. #define GL_KHR_no_error 1
  5046. #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
  5047. #endif /* GL_KHR_no_error */
  5048. #ifndef GL_KHR_parallel_shader_compile
  5049. #define GL_KHR_parallel_shader_compile 1
  5050. #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
  5051. #define GL_COMPLETION_STATUS_KHR 0x91B1
  5052. typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
  5053. #ifdef GL_GLEXT_PROTOTYPES
  5054. GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
  5055. #endif
  5056. #endif /* GL_KHR_parallel_shader_compile */
  5057. #ifndef GL_KHR_robust_buffer_access_behavior
  5058. #define GL_KHR_robust_buffer_access_behavior 1
  5059. #endif /* GL_KHR_robust_buffer_access_behavior */
  5060. #ifndef GL_KHR_robustness
  5061. #define GL_KHR_robustness 1
  5062. #define GL_CONTEXT_ROBUST_ACCESS 0x90F3
  5063. #endif /* GL_KHR_robustness */
  5064. #ifndef GL_KHR_shader_subgroup
  5065. #define GL_KHR_shader_subgroup 1
  5066. #define GL_SUBGROUP_SIZE_KHR 0x9532
  5067. #define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
  5068. #define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
  5069. #define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
  5070. #define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
  5071. #define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
  5072. #define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
  5073. #define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
  5074. #define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
  5075. #define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
  5076. #define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
  5077. #define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
  5078. #endif /* GL_KHR_shader_subgroup */
  5079. #ifndef GL_KHR_texture_compression_astc_hdr
  5080. #define GL_KHR_texture_compression_astc_hdr 1
  5081. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  5082. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  5083. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  5084. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  5085. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  5086. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  5087. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  5088. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  5089. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  5090. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  5091. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  5092. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  5093. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  5094. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  5095. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  5096. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  5097. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  5098. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  5099. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  5100. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  5101. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  5102. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  5103. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  5104. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  5105. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  5106. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  5107. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  5108. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  5109. #endif /* GL_KHR_texture_compression_astc_hdr */
  5110. #ifndef GL_KHR_texture_compression_astc_ldr
  5111. #define GL_KHR_texture_compression_astc_ldr 1
  5112. #endif /* GL_KHR_texture_compression_astc_ldr */
  5113. #ifndef GL_KHR_texture_compression_astc_sliced_3d
  5114. #define GL_KHR_texture_compression_astc_sliced_3d 1
  5115. #endif /* GL_KHR_texture_compression_astc_sliced_3d */
  5116. #ifndef GL_OES_byte_coordinates
  5117. #define GL_OES_byte_coordinates 1
  5118. typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
  5119. typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords);
  5120. typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t);
  5121. typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords);
  5122. typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  5123. typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords);
  5124. typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  5125. typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords);
  5126. typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s);
  5127. typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords);
  5128. typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t);
  5129. typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords);
  5130. typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
  5131. typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
  5132. typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  5133. typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
  5134. typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
  5135. typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
  5136. typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
  5137. typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
  5138. typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
  5139. typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
  5140. #ifdef GL_GLEXT_PROTOTYPES
  5141. GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
  5142. GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords);
  5143. GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t);
  5144. GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords);
  5145. GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r);
  5146. GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords);
  5147. GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  5148. GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords);
  5149. GLAPI void APIENTRY glTexCoord1bOES (GLbyte s);
  5150. GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords);
  5151. GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t);
  5152. GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords);
  5153. GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
  5154. GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
  5155. GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
  5156. GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
  5157. GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
  5158. GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
  5159. GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
  5160. GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
  5161. GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
  5162. GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
  5163. #endif
  5164. #endif /* GL_OES_byte_coordinates */
  5165. #ifndef GL_OES_compressed_paletted_texture
  5166. #define GL_OES_compressed_paletted_texture 1
  5167. #define GL_PALETTE4_RGB8_OES 0x8B90
  5168. #define GL_PALETTE4_RGBA8_OES 0x8B91
  5169. #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
  5170. #define GL_PALETTE4_RGBA4_OES 0x8B93
  5171. #define GL_PALETTE4_RGB5_A1_OES 0x8B94
  5172. #define GL_PALETTE8_RGB8_OES 0x8B95
  5173. #define GL_PALETTE8_RGBA8_OES 0x8B96
  5174. #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
  5175. #define GL_PALETTE8_RGBA4_OES 0x8B98
  5176. #define GL_PALETTE8_RGB5_A1_OES 0x8B99
  5177. #endif /* GL_OES_compressed_paletted_texture */
  5178. #ifndef GL_OES_fixed_point
  5179. #define GL_OES_fixed_point 1
  5180. typedef khronos_int32_t GLfixed;
  5181. #define GL_FIXED_OES 0x140C
  5182. typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
  5183. typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5184. typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
  5185. typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
  5186. typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5187. typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
  5188. typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
  5189. typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
  5190. typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  5191. typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
  5192. typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
  5193. typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  5194. typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  5195. typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
  5196. typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
  5197. typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
  5198. typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
  5199. typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
  5200. typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
  5201. typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  5202. typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
  5203. typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
  5204. typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  5205. typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
  5206. typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  5207. typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
  5208. typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
  5209. typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
  5210. typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  5211. typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  5212. typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  5213. typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  5214. typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  5215. typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  5216. typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  5217. typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value);
  5218. typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  5219. typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5220. typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5221. typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue);
  5222. typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components);
  5223. typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components);
  5224. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
  5225. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
  5226. typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u);
  5227. typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords);
  5228. typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v);
  5229. typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords);
  5230. typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer);
  5231. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  5232. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
  5233. typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params);
  5234. typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v);
  5235. typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
  5236. typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values);
  5237. typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
  5238. typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params);
  5239. typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component);
  5240. typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component);
  5241. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  5242. typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  5243. typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  5244. typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2);
  5245. typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  5246. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m);
  5247. typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s);
  5248. typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords);
  5249. typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t);
  5250. typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords);
  5251. typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  5252. typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords);
  5253. typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords);
  5254. typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords);
  5255. typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token);
  5256. typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values);
  5257. typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param);
  5258. typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param);
  5259. typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor);
  5260. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  5261. typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y);
  5262. typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords);
  5263. typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  5264. typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords);
  5265. typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  5266. typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords);
  5267. typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  5268. typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2);
  5269. typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s);
  5270. typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords);
  5271. typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t);
  5272. typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords);
  5273. typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r);
  5274. typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords);
  5275. typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  5276. typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords);
  5277. typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
  5278. typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
  5279. typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x);
  5280. typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords);
  5281. typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y);
  5282. typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords);
  5283. typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z);
  5284. typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords);
  5285. #ifdef GL_GLEXT_PROTOTYPES
  5286. GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
  5287. GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5288. GLAPI void APIENTRY glClearDepthxOES (GLfixed depth);
  5289. GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
  5290. GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5291. GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
  5292. GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param);
  5293. GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
  5294. GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  5295. GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
  5296. GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
  5297. GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
  5298. GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  5299. GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
  5300. GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
  5301. GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
  5302. GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
  5303. GLAPI void APIENTRY glLineWidthxOES (GLfixed width);
  5304. GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m);
  5305. GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  5306. GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
  5307. GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m);
  5308. GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  5309. GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
  5310. GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
  5311. GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
  5312. GLAPI void APIENTRY glPointSizexOES (GLfixed size);
  5313. GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
  5314. GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  5315. GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
  5316. GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
  5317. GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
  5318. GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
  5319. GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  5320. GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
  5321. GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value);
  5322. GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap);
  5323. GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5324. GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  5325. GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue);
  5326. GLAPI void APIENTRY glColor3xvOES (const GLfixed *components);
  5327. GLAPI void APIENTRY glColor4xvOES (const GLfixed *components);
  5328. GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param);
  5329. GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
  5330. GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u);
  5331. GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords);
  5332. GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v);
  5333. GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords);
  5334. GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer);
  5335. GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  5336. GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
  5337. GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params);
  5338. GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v);
  5339. GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param);
  5340. GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values);
  5341. GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
  5342. GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params);
  5343. GLAPI void APIENTRY glIndexxOES (GLfixed component);
  5344. GLAPI void APIENTRY glIndexxvOES (const GLfixed *component);
  5345. GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m);
  5346. GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points);
  5347. GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points);
  5348. GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2);
  5349. GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2);
  5350. GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m);
  5351. GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s);
  5352. GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords);
  5353. GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t);
  5354. GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords);
  5355. GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r);
  5356. GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords);
  5357. GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords);
  5358. GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords);
  5359. GLAPI void APIENTRY glPassThroughxOES (GLfixed token);
  5360. GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values);
  5361. GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param);
  5362. GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param);
  5363. GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor);
  5364. GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities);
  5365. GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y);
  5366. GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords);
  5367. GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z);
  5368. GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords);
  5369. GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w);
  5370. GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords);
  5371. GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2);
  5372. GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2);
  5373. GLAPI void APIENTRY glTexCoord1xOES (GLfixed s);
  5374. GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords);
  5375. GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t);
  5376. GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords);
  5377. GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r);
  5378. GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords);
  5379. GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  5380. GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords);
  5381. GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
  5382. GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
  5383. GLAPI void APIENTRY glVertex2xOES (GLfixed x);
  5384. GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords);
  5385. GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y);
  5386. GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords);
  5387. GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z);
  5388. GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords);
  5389. #endif
  5390. #endif /* GL_OES_fixed_point */
  5391. #ifndef GL_OES_query_matrix
  5392. #define GL_OES_query_matrix 1
  5393. typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
  5394. #ifdef GL_GLEXT_PROTOTYPES
  5395. GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
  5396. #endif
  5397. #endif /* GL_OES_query_matrix */
  5398. #ifndef GL_OES_read_format
  5399. #define GL_OES_read_format 1
  5400. #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  5401. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  5402. #endif /* GL_OES_read_format */
  5403. #ifndef GL_OES_single_precision
  5404. #define GL_OES_single_precision 1
  5405. typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
  5406. typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
  5407. typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
  5408. typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  5409. typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
  5410. typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  5411. #ifdef GL_GLEXT_PROTOTYPES
  5412. GLAPI void APIENTRY glClearDepthfOES (GLclampf depth);
  5413. GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
  5414. GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
  5415. GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  5416. GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
  5417. GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  5418. #endif
  5419. #endif /* GL_OES_single_precision */
  5420. #ifndef GL_3DFX_multisample
  5421. #define GL_3DFX_multisample 1
  5422. #define GL_MULTISAMPLE_3DFX 0x86B2
  5423. #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
  5424. #define GL_SAMPLES_3DFX 0x86B4
  5425. #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
  5426. #endif /* GL_3DFX_multisample */
  5427. #ifndef GL_3DFX_tbuffer
  5428. #define GL_3DFX_tbuffer 1
  5429. typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  5430. #ifdef GL_GLEXT_PROTOTYPES
  5431. GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
  5432. #endif
  5433. #endif /* GL_3DFX_tbuffer */
  5434. #ifndef GL_3DFX_texture_compression_FXT1
  5435. #define GL_3DFX_texture_compression_FXT1 1
  5436. #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
  5437. #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
  5438. #endif /* GL_3DFX_texture_compression_FXT1 */
  5439. #ifndef GL_AMD_blend_minmax_factor
  5440. #define GL_AMD_blend_minmax_factor 1
  5441. #define GL_FACTOR_MIN_AMD 0x901C
  5442. #define GL_FACTOR_MAX_AMD 0x901D
  5443. #endif /* GL_AMD_blend_minmax_factor */
  5444. #ifndef GL_AMD_conservative_depth
  5445. #define GL_AMD_conservative_depth 1
  5446. #endif /* GL_AMD_conservative_depth */
  5447. #ifndef GL_AMD_debug_output
  5448. #define GL_AMD_debug_output 1
  5449. typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);
  5450. #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
  5451. #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
  5452. #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
  5453. #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
  5454. #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
  5455. #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
  5456. #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
  5457. #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
  5458. #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
  5459. #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
  5460. #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
  5461. #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
  5462. #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
  5463. #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
  5464. typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  5465. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  5466. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
  5467. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  5468. #ifdef GL_GLEXT_PROTOTYPES
  5469. GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  5470. GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  5471. GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
  5472. GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  5473. #endif
  5474. #endif /* GL_AMD_debug_output */
  5475. #ifndef GL_AMD_depth_clamp_separate
  5476. #define GL_AMD_depth_clamp_separate 1
  5477. #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
  5478. #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
  5479. #endif /* GL_AMD_depth_clamp_separate */
  5480. #ifndef GL_AMD_draw_buffers_blend
  5481. #define GL_AMD_draw_buffers_blend 1
  5482. typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
  5483. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  5484. typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
  5485. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  5486. #ifdef GL_GLEXT_PROTOTYPES
  5487. GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
  5488. GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  5489. GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
  5490. GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  5491. #endif
  5492. #endif /* GL_AMD_draw_buffers_blend */
  5493. #ifndef GL_AMD_framebuffer_multisample_advanced
  5494. #define GL_AMD_framebuffer_multisample_advanced 1
  5495. #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
  5496. #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
  5497. #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
  5498. #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
  5499. #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
  5500. #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
  5501. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
  5502. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
  5503. #ifdef GL_GLEXT_PROTOTYPES
  5504. GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
  5505. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
  5506. #endif
  5507. #endif /* GL_AMD_framebuffer_multisample_advanced */
  5508. #ifndef GL_AMD_framebuffer_sample_positions
  5509. #define GL_AMD_framebuffer_sample_positions 1
  5510. #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
  5511. #define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE
  5512. #define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF
  5513. #define GL_ALL_PIXELS_AMD 0xFFFFFFFF
  5514. typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
  5515. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
  5516. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
  5517. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
  5518. #ifdef GL_GLEXT_PROTOTYPES
  5519. GLAPI void APIENTRY glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
  5520. GLAPI void APIENTRY glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
  5521. GLAPI void APIENTRY glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
  5522. GLAPI void APIENTRY glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
  5523. #endif
  5524. #endif /* GL_AMD_framebuffer_sample_positions */
  5525. #ifndef GL_AMD_gcn_shader
  5526. #define GL_AMD_gcn_shader 1
  5527. #endif /* GL_AMD_gcn_shader */
  5528. #ifndef GL_AMD_gpu_shader_half_float
  5529. #define GL_AMD_gpu_shader_half_float 1
  5530. #define GL_FLOAT16_NV 0x8FF8
  5531. #define GL_FLOAT16_VEC2_NV 0x8FF9
  5532. #define GL_FLOAT16_VEC3_NV 0x8FFA
  5533. #define GL_FLOAT16_VEC4_NV 0x8FFB
  5534. #define GL_FLOAT16_MAT2_AMD 0x91C5
  5535. #define GL_FLOAT16_MAT3_AMD 0x91C6
  5536. #define GL_FLOAT16_MAT4_AMD 0x91C7
  5537. #define GL_FLOAT16_MAT2x3_AMD 0x91C8
  5538. #define GL_FLOAT16_MAT2x4_AMD 0x91C9
  5539. #define GL_FLOAT16_MAT3x2_AMD 0x91CA
  5540. #define GL_FLOAT16_MAT3x4_AMD 0x91CB
  5541. #define GL_FLOAT16_MAT4x2_AMD 0x91CC
  5542. #define GL_FLOAT16_MAT4x3_AMD 0x91CD
  5543. #endif /* GL_AMD_gpu_shader_half_float */
  5544. #ifndef GL_AMD_gpu_shader_int16
  5545. #define GL_AMD_gpu_shader_int16 1
  5546. #endif /* GL_AMD_gpu_shader_int16 */
  5547. #ifndef GL_AMD_gpu_shader_int64
  5548. #define GL_AMD_gpu_shader_int64 1
  5549. typedef khronos_int64_t GLint64EXT;
  5550. #define GL_INT64_NV 0x140E
  5551. #define GL_UNSIGNED_INT64_NV 0x140F
  5552. #define GL_INT8_NV 0x8FE0
  5553. #define GL_INT8_VEC2_NV 0x8FE1
  5554. #define GL_INT8_VEC3_NV 0x8FE2
  5555. #define GL_INT8_VEC4_NV 0x8FE3
  5556. #define GL_INT16_NV 0x8FE4
  5557. #define GL_INT16_VEC2_NV 0x8FE5
  5558. #define GL_INT16_VEC3_NV 0x8FE6
  5559. #define GL_INT16_VEC4_NV 0x8FE7
  5560. #define GL_INT64_VEC2_NV 0x8FE9
  5561. #define GL_INT64_VEC3_NV 0x8FEA
  5562. #define GL_INT64_VEC4_NV 0x8FEB
  5563. #define GL_UNSIGNED_INT8_NV 0x8FEC
  5564. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  5565. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  5566. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  5567. #define GL_UNSIGNED_INT16_NV 0x8FF0
  5568. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  5569. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  5570. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  5571. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  5572. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  5573. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  5574. typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  5575. typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  5576. typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  5577. typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  5578. typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  5579. typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  5580. typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  5581. typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  5582. typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  5583. typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  5584. typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  5585. typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  5586. typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  5587. typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  5588. typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  5589. typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  5590. typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
  5591. typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
  5592. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  5593. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  5594. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  5595. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  5596. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5597. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5598. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5599. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5600. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  5601. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  5602. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  5603. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  5604. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5605. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5606. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5607. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5608. #ifdef GL_GLEXT_PROTOTYPES
  5609. GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
  5610. GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
  5611. GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  5612. GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  5613. GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  5614. GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  5615. GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  5616. GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  5617. GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
  5618. GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
  5619. GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  5620. GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  5621. GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  5622. GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  5623. GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  5624. GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  5625. GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
  5626. GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
  5627. GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
  5628. GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  5629. GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  5630. GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  5631. GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5632. GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5633. GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5634. GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  5635. GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
  5636. GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  5637. GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  5638. GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  5639. GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5640. GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5641. GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5642. GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  5643. #endif
  5644. #endif /* GL_AMD_gpu_shader_int64 */
  5645. #ifndef GL_AMD_interleaved_elements
  5646. #define GL_AMD_interleaved_elements 1
  5647. #define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4
  5648. #define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5
  5649. typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param);
  5650. #ifdef GL_GLEXT_PROTOTYPES
  5651. GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param);
  5652. #endif
  5653. #endif /* GL_AMD_interleaved_elements */
  5654. #ifndef GL_AMD_multi_draw_indirect
  5655. #define GL_AMD_multi_draw_indirect 1
  5656. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
  5657. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
  5658. #ifdef GL_GLEXT_PROTOTYPES
  5659. GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride);
  5660. GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride);
  5661. #endif
  5662. #endif /* GL_AMD_multi_draw_indirect */
  5663. #ifndef GL_AMD_name_gen_delete
  5664. #define GL_AMD_name_gen_delete 1
  5665. #define GL_DATA_BUFFER_AMD 0x9151
  5666. #define GL_PERFORMANCE_MONITOR_AMD 0x9152
  5667. #define GL_QUERY_OBJECT_AMD 0x9153
  5668. #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
  5669. #define GL_SAMPLER_OBJECT_AMD 0x9155
  5670. typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
  5671. typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
  5672. typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
  5673. #ifdef GL_GLEXT_PROTOTYPES
  5674. GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
  5675. GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
  5676. GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
  5677. #endif
  5678. #endif /* GL_AMD_name_gen_delete */
  5679. #ifndef GL_AMD_occlusion_query_event
  5680. #define GL_AMD_occlusion_query_event 1
  5681. #define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F
  5682. #define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001
  5683. #define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002
  5684. #define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004
  5685. #define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008
  5686. #define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF
  5687. typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param);
  5688. #ifdef GL_GLEXT_PROTOTYPES
  5689. GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param);
  5690. #endif
  5691. #endif /* GL_AMD_occlusion_query_event */
  5692. #ifndef GL_AMD_performance_monitor
  5693. #define GL_AMD_performance_monitor 1
  5694. #define GL_COUNTER_TYPE_AMD 0x8BC0
  5695. #define GL_COUNTER_RANGE_AMD 0x8BC1
  5696. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  5697. #define GL_PERCENTAGE_AMD 0x8BC3
  5698. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  5699. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  5700. #define GL_PERFMON_RESULT_AMD 0x8BC6
  5701. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  5702. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  5703. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  5704. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  5705. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
  5706. typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  5707. typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  5708. typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  5709. typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  5710. typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  5711. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  5712. #ifdef GL_GLEXT_PROTOTYPES
  5713. GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  5714. GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  5715. GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  5716. GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  5717. GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
  5718. GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  5719. GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  5720. GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  5721. GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  5722. GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  5723. GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  5724. #endif
  5725. #endif /* GL_AMD_performance_monitor */
  5726. #ifndef GL_AMD_pinned_memory
  5727. #define GL_AMD_pinned_memory 1
  5728. #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
  5729. #endif /* GL_AMD_pinned_memory */
  5730. #ifndef GL_AMD_query_buffer_object
  5731. #define GL_AMD_query_buffer_object 1
  5732. #define GL_QUERY_BUFFER_AMD 0x9192
  5733. #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
  5734. #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
  5735. #endif /* GL_AMD_query_buffer_object */
  5736. #ifndef GL_AMD_sample_positions
  5737. #define GL_AMD_sample_positions 1
  5738. typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
  5739. #ifdef GL_GLEXT_PROTOTYPES
  5740. GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
  5741. #endif
  5742. #endif /* GL_AMD_sample_positions */
  5743. #ifndef GL_AMD_seamless_cubemap_per_texture
  5744. #define GL_AMD_seamless_cubemap_per_texture 1
  5745. #endif /* GL_AMD_seamless_cubemap_per_texture */
  5746. #ifndef GL_AMD_shader_atomic_counter_ops
  5747. #define GL_AMD_shader_atomic_counter_ops 1
  5748. #endif /* GL_AMD_shader_atomic_counter_ops */
  5749. #ifndef GL_AMD_shader_ballot
  5750. #define GL_AMD_shader_ballot 1
  5751. #endif /* GL_AMD_shader_ballot */
  5752. #ifndef GL_AMD_shader_explicit_vertex_parameter
  5753. #define GL_AMD_shader_explicit_vertex_parameter 1
  5754. #endif /* GL_AMD_shader_explicit_vertex_parameter */
  5755. #ifndef GL_AMD_shader_gpu_shader_half_float_fetch
  5756. #define GL_AMD_shader_gpu_shader_half_float_fetch 1
  5757. #endif /* GL_AMD_shader_gpu_shader_half_float_fetch */
  5758. #ifndef GL_AMD_shader_image_load_store_lod
  5759. #define GL_AMD_shader_image_load_store_lod 1
  5760. #endif /* GL_AMD_shader_image_load_store_lod */
  5761. #ifndef GL_AMD_shader_stencil_export
  5762. #define GL_AMD_shader_stencil_export 1
  5763. #endif /* GL_AMD_shader_stencil_export */
  5764. #ifndef GL_AMD_shader_trinary_minmax
  5765. #define GL_AMD_shader_trinary_minmax 1
  5766. #endif /* GL_AMD_shader_trinary_minmax */
  5767. #ifndef GL_AMD_sparse_texture
  5768. #define GL_AMD_sparse_texture 1
  5769. #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
  5770. #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
  5771. #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
  5772. #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
  5773. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
  5774. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
  5775. #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
  5776. #define GL_MIN_LOD_WARNING_AMD 0x919C
  5777. #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
  5778. typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  5779. typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  5780. #ifdef GL_GLEXT_PROTOTYPES
  5781. GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  5782. GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  5783. #endif
  5784. #endif /* GL_AMD_sparse_texture */
  5785. #ifndef GL_AMD_stencil_operation_extended
  5786. #define GL_AMD_stencil_operation_extended 1
  5787. #define GL_SET_AMD 0x874A
  5788. #define GL_REPLACE_VALUE_AMD 0x874B
  5789. #define GL_STENCIL_OP_VALUE_AMD 0x874C
  5790. #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
  5791. typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
  5792. #ifdef GL_GLEXT_PROTOTYPES
  5793. GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
  5794. #endif
  5795. #endif /* GL_AMD_stencil_operation_extended */
  5796. #ifndef GL_AMD_texture_gather_bias_lod
  5797. #define GL_AMD_texture_gather_bias_lod 1
  5798. #endif /* GL_AMD_texture_gather_bias_lod */
  5799. #ifndef GL_AMD_texture_texture4
  5800. #define GL_AMD_texture_texture4 1
  5801. #endif /* GL_AMD_texture_texture4 */
  5802. #ifndef GL_AMD_transform_feedback3_lines_triangles
  5803. #define GL_AMD_transform_feedback3_lines_triangles 1
  5804. #endif /* GL_AMD_transform_feedback3_lines_triangles */
  5805. #ifndef GL_AMD_transform_feedback4
  5806. #define GL_AMD_transform_feedback4 1
  5807. #define GL_STREAM_RASTERIZATION_AMD 0x91A0
  5808. #endif /* GL_AMD_transform_feedback4 */
  5809. #ifndef GL_AMD_vertex_shader_layer
  5810. #define GL_AMD_vertex_shader_layer 1
  5811. #endif /* GL_AMD_vertex_shader_layer */
  5812. #ifndef GL_AMD_vertex_shader_tessellator
  5813. #define GL_AMD_vertex_shader_tessellator 1
  5814. #define GL_SAMPLER_BUFFER_AMD 0x9001
  5815. #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
  5816. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
  5817. #define GL_TESSELLATION_MODE_AMD 0x9004
  5818. #define GL_TESSELLATION_FACTOR_AMD 0x9005
  5819. #define GL_DISCRETE_AMD 0x9006
  5820. #define GL_CONTINUOUS_AMD 0x9007
  5821. typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
  5822. typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
  5823. #ifdef GL_GLEXT_PROTOTYPES
  5824. GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
  5825. GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
  5826. #endif
  5827. #endif /* GL_AMD_vertex_shader_tessellator */
  5828. #ifndef GL_AMD_vertex_shader_viewport_index
  5829. #define GL_AMD_vertex_shader_viewport_index 1
  5830. #endif /* GL_AMD_vertex_shader_viewport_index */
  5831. #ifndef GL_APPLE_aux_depth_stencil
  5832. #define GL_APPLE_aux_depth_stencil 1
  5833. #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
  5834. #endif /* GL_APPLE_aux_depth_stencil */
  5835. #ifndef GL_APPLE_client_storage
  5836. #define GL_APPLE_client_storage 1
  5837. #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
  5838. #endif /* GL_APPLE_client_storage */
  5839. #ifndef GL_APPLE_element_array
  5840. #define GL_APPLE_element_array 1
  5841. #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
  5842. #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
  5843. #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
  5844. typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer);
  5845. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
  5846. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  5847. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  5848. typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  5849. #ifdef GL_GLEXT_PROTOTYPES
  5850. GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer);
  5851. GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
  5852. GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  5853. GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  5854. GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  5855. #endif
  5856. #endif /* GL_APPLE_element_array */
  5857. #ifndef GL_APPLE_fence
  5858. #define GL_APPLE_fence 1
  5859. #define GL_DRAW_PIXELS_APPLE 0x8A0A
  5860. #define GL_FENCE_APPLE 0x8A0B
  5861. typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
  5862. typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
  5863. typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
  5864. typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
  5865. typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
  5866. typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
  5867. typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
  5868. typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
  5869. #ifdef GL_GLEXT_PROTOTYPES
  5870. GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
  5871. GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
  5872. GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
  5873. GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
  5874. GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
  5875. GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
  5876. GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
  5877. GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
  5878. #endif
  5879. #endif /* GL_APPLE_fence */
  5880. #ifndef GL_APPLE_float_pixels
  5881. #define GL_APPLE_float_pixels 1
  5882. #define GL_HALF_APPLE 0x140B
  5883. #define GL_RGBA_FLOAT32_APPLE 0x8814
  5884. #define GL_RGB_FLOAT32_APPLE 0x8815
  5885. #define GL_ALPHA_FLOAT32_APPLE 0x8816
  5886. #define GL_INTENSITY_FLOAT32_APPLE 0x8817
  5887. #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
  5888. #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
  5889. #define GL_RGBA_FLOAT16_APPLE 0x881A
  5890. #define GL_RGB_FLOAT16_APPLE 0x881B
  5891. #define GL_ALPHA_FLOAT16_APPLE 0x881C
  5892. #define GL_INTENSITY_FLOAT16_APPLE 0x881D
  5893. #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
  5894. #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
  5895. #define GL_COLOR_FLOAT_APPLE 0x8A0F
  5896. #endif /* GL_APPLE_float_pixels */
  5897. #ifndef GL_APPLE_flush_buffer_range
  5898. #define GL_APPLE_flush_buffer_range 1
  5899. #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
  5900. #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
  5901. typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
  5902. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
  5903. #ifdef GL_GLEXT_PROTOTYPES
  5904. GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
  5905. GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
  5906. #endif
  5907. #endif /* GL_APPLE_flush_buffer_range */
  5908. #ifndef GL_APPLE_object_purgeable
  5909. #define GL_APPLE_object_purgeable 1
  5910. #define GL_BUFFER_OBJECT_APPLE 0x85B3
  5911. #define GL_RELEASED_APPLE 0x8A19
  5912. #define GL_VOLATILE_APPLE 0x8A1A
  5913. #define GL_RETAINED_APPLE 0x8A1B
  5914. #define GL_UNDEFINED_APPLE 0x8A1C
  5915. #define GL_PURGEABLE_APPLE 0x8A1D
  5916. typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  5917. typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  5918. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  5919. #ifdef GL_GLEXT_PROTOTYPES
  5920. GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  5921. GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  5922. GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  5923. #endif
  5924. #endif /* GL_APPLE_object_purgeable */
  5925. #ifndef GL_APPLE_rgb_422
  5926. #define GL_APPLE_rgb_422 1
  5927. #define GL_RGB_422_APPLE 0x8A1F
  5928. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  5929. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  5930. #define GL_RGB_RAW_422_APPLE 0x8A51
  5931. #endif /* GL_APPLE_rgb_422 */
  5932. #ifndef GL_APPLE_row_bytes
  5933. #define GL_APPLE_row_bytes 1
  5934. #define GL_PACK_ROW_BYTES_APPLE 0x8A15
  5935. #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
  5936. #endif /* GL_APPLE_row_bytes */
  5937. #ifndef GL_APPLE_specular_vector
  5938. #define GL_APPLE_specular_vector 1
  5939. #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  5940. #endif /* GL_APPLE_specular_vector */
  5941. #ifndef GL_APPLE_texture_range
  5942. #define GL_APPLE_texture_range 1
  5943. #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
  5944. #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
  5945. #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
  5946. #define GL_STORAGE_PRIVATE_APPLE 0x85BD
  5947. #define GL_STORAGE_CACHED_APPLE 0x85BE
  5948. #define GL_STORAGE_SHARED_APPLE 0x85BF
  5949. typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer);
  5950. typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params);
  5951. #ifdef GL_GLEXT_PROTOTYPES
  5952. GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer);
  5953. GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params);
  5954. #endif
  5955. #endif /* GL_APPLE_texture_range */
  5956. #ifndef GL_APPLE_transform_hint
  5957. #define GL_APPLE_transform_hint 1
  5958. #define GL_TRANSFORM_HINT_APPLE 0x85B1
  5959. #endif /* GL_APPLE_transform_hint */
  5960. #ifndef GL_APPLE_vertex_array_object
  5961. #define GL_APPLE_vertex_array_object 1
  5962. #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
  5963. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  5964. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  5965. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
  5966. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  5967. #ifdef GL_GLEXT_PROTOTYPES
  5968. GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
  5969. GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
  5970. GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
  5971. GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
  5972. #endif
  5973. #endif /* GL_APPLE_vertex_array_object */
  5974. #ifndef GL_APPLE_vertex_array_range
  5975. #define GL_APPLE_vertex_array_range 1
  5976. #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
  5977. #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  5978. #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  5979. #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  5980. #define GL_STORAGE_CLIENT_APPLE 0x85B4
  5981. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
  5982. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer);
  5983. typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
  5984. #ifdef GL_GLEXT_PROTOTYPES
  5985. GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer);
  5986. GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer);
  5987. GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
  5988. #endif
  5989. #endif /* GL_APPLE_vertex_array_range */
  5990. #ifndef GL_APPLE_vertex_program_evaluators
  5991. #define GL_APPLE_vertex_program_evaluators 1
  5992. #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
  5993. #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
  5994. #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
  5995. #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
  5996. #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
  5997. #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
  5998. #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
  5999. #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
  6000. #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
  6001. #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
  6002. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  6003. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  6004. typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
  6005. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  6006. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  6007. 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);
  6008. 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);
  6009. #ifdef GL_GLEXT_PROTOTYPES
  6010. GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
  6011. GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
  6012. GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
  6013. GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  6014. GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  6015. 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);
  6016. 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);
  6017. #endif
  6018. #endif /* GL_APPLE_vertex_program_evaluators */
  6019. #ifndef GL_APPLE_ycbcr_422
  6020. #define GL_APPLE_ycbcr_422 1
  6021. #define GL_YCBCR_422_APPLE 0x85B9
  6022. #endif /* GL_APPLE_ycbcr_422 */
  6023. #ifndef GL_ATI_draw_buffers
  6024. #define GL_ATI_draw_buffers 1
  6025. #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
  6026. #define GL_DRAW_BUFFER0_ATI 0x8825
  6027. #define GL_DRAW_BUFFER1_ATI 0x8826
  6028. #define GL_DRAW_BUFFER2_ATI 0x8827
  6029. #define GL_DRAW_BUFFER3_ATI 0x8828
  6030. #define GL_DRAW_BUFFER4_ATI 0x8829
  6031. #define GL_DRAW_BUFFER5_ATI 0x882A
  6032. #define GL_DRAW_BUFFER6_ATI 0x882B
  6033. #define GL_DRAW_BUFFER7_ATI 0x882C
  6034. #define GL_DRAW_BUFFER8_ATI 0x882D
  6035. #define GL_DRAW_BUFFER9_ATI 0x882E
  6036. #define GL_DRAW_BUFFER10_ATI 0x882F
  6037. #define GL_DRAW_BUFFER11_ATI 0x8830
  6038. #define GL_DRAW_BUFFER12_ATI 0x8831
  6039. #define GL_DRAW_BUFFER13_ATI 0x8832
  6040. #define GL_DRAW_BUFFER14_ATI 0x8833
  6041. #define GL_DRAW_BUFFER15_ATI 0x8834
  6042. typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
  6043. #ifdef GL_GLEXT_PROTOTYPES
  6044. GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
  6045. #endif
  6046. #endif /* GL_ATI_draw_buffers */
  6047. #ifndef GL_ATI_element_array
  6048. #define GL_ATI_element_array 1
  6049. #define GL_ELEMENT_ARRAY_ATI 0x8768
  6050. #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
  6051. #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
  6052. typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer);
  6053. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
  6054. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
  6055. #ifdef GL_GLEXT_PROTOTYPES
  6056. GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer);
  6057. GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
  6058. GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
  6059. #endif
  6060. #endif /* GL_ATI_element_array */
  6061. #ifndef GL_ATI_envmap_bumpmap
  6062. #define GL_ATI_envmap_bumpmap 1
  6063. #define GL_BUMP_ROT_MATRIX_ATI 0x8775
  6064. #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
  6065. #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
  6066. #define GL_BUMP_TEX_UNITS_ATI 0x8778
  6067. #define GL_DUDV_ATI 0x8779
  6068. #define GL_DU8DV8_ATI 0x877A
  6069. #define GL_BUMP_ENVMAP_ATI 0x877B
  6070. #define GL_BUMP_TARGET_ATI 0x877C
  6071. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
  6072. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
  6073. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  6074. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  6075. #ifdef GL_GLEXT_PROTOTYPES
  6076. GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
  6077. GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
  6078. GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
  6079. GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
  6080. #endif
  6081. #endif /* GL_ATI_envmap_bumpmap */
  6082. #ifndef GL_ATI_fragment_shader
  6083. #define GL_ATI_fragment_shader 1
  6084. #define GL_FRAGMENT_SHADER_ATI 0x8920
  6085. #define GL_REG_0_ATI 0x8921
  6086. #define GL_REG_1_ATI 0x8922
  6087. #define GL_REG_2_ATI 0x8923
  6088. #define GL_REG_3_ATI 0x8924
  6089. #define GL_REG_4_ATI 0x8925
  6090. #define GL_REG_5_ATI 0x8926
  6091. #define GL_REG_6_ATI 0x8927
  6092. #define GL_REG_7_ATI 0x8928
  6093. #define GL_REG_8_ATI 0x8929
  6094. #define GL_REG_9_ATI 0x892A
  6095. #define GL_REG_10_ATI 0x892B
  6096. #define GL_REG_11_ATI 0x892C
  6097. #define GL_REG_12_ATI 0x892D
  6098. #define GL_REG_13_ATI 0x892E
  6099. #define GL_REG_14_ATI 0x892F
  6100. #define GL_REG_15_ATI 0x8930
  6101. #define GL_REG_16_ATI 0x8931
  6102. #define GL_REG_17_ATI 0x8932
  6103. #define GL_REG_18_ATI 0x8933
  6104. #define GL_REG_19_ATI 0x8934
  6105. #define GL_REG_20_ATI 0x8935
  6106. #define GL_REG_21_ATI 0x8936
  6107. #define GL_REG_22_ATI 0x8937
  6108. #define GL_REG_23_ATI 0x8938
  6109. #define GL_REG_24_ATI 0x8939
  6110. #define GL_REG_25_ATI 0x893A
  6111. #define GL_REG_26_ATI 0x893B
  6112. #define GL_REG_27_ATI 0x893C
  6113. #define GL_REG_28_ATI 0x893D
  6114. #define GL_REG_29_ATI 0x893E
  6115. #define GL_REG_30_ATI 0x893F
  6116. #define GL_REG_31_ATI 0x8940
  6117. #define GL_CON_0_ATI 0x8941
  6118. #define GL_CON_1_ATI 0x8942
  6119. #define GL_CON_2_ATI 0x8943
  6120. #define GL_CON_3_ATI 0x8944
  6121. #define GL_CON_4_ATI 0x8945
  6122. #define GL_CON_5_ATI 0x8946
  6123. #define GL_CON_6_ATI 0x8947
  6124. #define GL_CON_7_ATI 0x8948
  6125. #define GL_CON_8_ATI 0x8949
  6126. #define GL_CON_9_ATI 0x894A
  6127. #define GL_CON_10_ATI 0x894B
  6128. #define GL_CON_11_ATI 0x894C
  6129. #define GL_CON_12_ATI 0x894D
  6130. #define GL_CON_13_ATI 0x894E
  6131. #define GL_CON_14_ATI 0x894F
  6132. #define GL_CON_15_ATI 0x8950
  6133. #define GL_CON_16_ATI 0x8951
  6134. #define GL_CON_17_ATI 0x8952
  6135. #define GL_CON_18_ATI 0x8953
  6136. #define GL_CON_19_ATI 0x8954
  6137. #define GL_CON_20_ATI 0x8955
  6138. #define GL_CON_21_ATI 0x8956
  6139. #define GL_CON_22_ATI 0x8957
  6140. #define GL_CON_23_ATI 0x8958
  6141. #define GL_CON_24_ATI 0x8959
  6142. #define GL_CON_25_ATI 0x895A
  6143. #define GL_CON_26_ATI 0x895B
  6144. #define GL_CON_27_ATI 0x895C
  6145. #define GL_CON_28_ATI 0x895D
  6146. #define GL_CON_29_ATI 0x895E
  6147. #define GL_CON_30_ATI 0x895F
  6148. #define GL_CON_31_ATI 0x8960
  6149. #define GL_MOV_ATI 0x8961
  6150. #define GL_ADD_ATI 0x8963
  6151. #define GL_MUL_ATI 0x8964
  6152. #define GL_SUB_ATI 0x8965
  6153. #define GL_DOT3_ATI 0x8966
  6154. #define GL_DOT4_ATI 0x8967
  6155. #define GL_MAD_ATI 0x8968
  6156. #define GL_LERP_ATI 0x8969
  6157. #define GL_CND_ATI 0x896A
  6158. #define GL_CND0_ATI 0x896B
  6159. #define GL_DOT2_ADD_ATI 0x896C
  6160. #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
  6161. #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
  6162. #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
  6163. #define GL_NUM_PASSES_ATI 0x8970
  6164. #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
  6165. #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
  6166. #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  6167. #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
  6168. #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
  6169. #define GL_SWIZZLE_STR_ATI 0x8976
  6170. #define GL_SWIZZLE_STQ_ATI 0x8977
  6171. #define GL_SWIZZLE_STR_DR_ATI 0x8978
  6172. #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
  6173. #define GL_SWIZZLE_STRQ_ATI 0x897A
  6174. #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
  6175. #define GL_RED_BIT_ATI 0x00000001
  6176. #define GL_GREEN_BIT_ATI 0x00000002
  6177. #define GL_BLUE_BIT_ATI 0x00000004
  6178. #define GL_2X_BIT_ATI 0x00000001
  6179. #define GL_4X_BIT_ATI 0x00000002
  6180. #define GL_8X_BIT_ATI 0x00000004
  6181. #define GL_HALF_BIT_ATI 0x00000008
  6182. #define GL_QUARTER_BIT_ATI 0x00000010
  6183. #define GL_EIGHTH_BIT_ATI 0x00000020
  6184. #define GL_SATURATE_BIT_ATI 0x00000040
  6185. #define GL_COMP_BIT_ATI 0x00000002
  6186. #define GL_NEGATE_BIT_ATI 0x00000004
  6187. #define GL_BIAS_BIT_ATI 0x00000008
  6188. typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
  6189. typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
  6190. typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
  6191. typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
  6192. typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
  6193. typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
  6194. typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
  6195. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6196. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6197. 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);
  6198. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6199. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6200. 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);
  6201. typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
  6202. #ifdef GL_GLEXT_PROTOTYPES
  6203. GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
  6204. GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
  6205. GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
  6206. GLAPI void APIENTRY glBeginFragmentShaderATI (void);
  6207. GLAPI void APIENTRY glEndFragmentShaderATI (void);
  6208. GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
  6209. GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
  6210. GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6211. GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6212. 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);
  6213. GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6214. GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6215. 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);
  6216. GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
  6217. #endif
  6218. #endif /* GL_ATI_fragment_shader */
  6219. #ifndef GL_ATI_map_object_buffer
  6220. #define GL_ATI_map_object_buffer 1
  6221. typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  6222. typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  6223. #ifdef GL_GLEXT_PROTOTYPES
  6224. GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer);
  6225. GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
  6226. #endif
  6227. #endif /* GL_ATI_map_object_buffer */
  6228. #ifndef GL_ATI_meminfo
  6229. #define GL_ATI_meminfo 1
  6230. #define GL_VBO_FREE_MEMORY_ATI 0x87FB
  6231. #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
  6232. #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
  6233. #endif /* GL_ATI_meminfo */
  6234. #ifndef GL_ATI_pixel_format_float
  6235. #define GL_ATI_pixel_format_float 1
  6236. #define GL_RGBA_FLOAT_MODE_ATI 0x8820
  6237. #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
  6238. #endif /* GL_ATI_pixel_format_float */
  6239. #ifndef GL_ATI_pn_triangles
  6240. #define GL_ATI_pn_triangles 1
  6241. #define GL_PN_TRIANGLES_ATI 0x87F0
  6242. #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  6243. #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
  6244. #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
  6245. #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  6246. #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  6247. #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  6248. #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  6249. #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  6250. typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
  6251. typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
  6252. #ifdef GL_GLEXT_PROTOTYPES
  6253. GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
  6254. GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
  6255. #endif
  6256. #endif /* GL_ATI_pn_triangles */
  6257. #ifndef GL_ATI_separate_stencil
  6258. #define GL_ATI_separate_stencil 1
  6259. #define GL_STENCIL_BACK_FUNC_ATI 0x8800
  6260. #define GL_STENCIL_BACK_FAIL_ATI 0x8801
  6261. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  6262. #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  6263. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  6264. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  6265. #ifdef GL_GLEXT_PROTOTYPES
  6266. GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  6267. GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  6268. #endif
  6269. #endif /* GL_ATI_separate_stencil */
  6270. #ifndef GL_ATI_text_fragment_shader
  6271. #define GL_ATI_text_fragment_shader 1
  6272. #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
  6273. #endif /* GL_ATI_text_fragment_shader */
  6274. #ifndef GL_ATI_texture_env_combine3
  6275. #define GL_ATI_texture_env_combine3 1
  6276. #define GL_MODULATE_ADD_ATI 0x8744
  6277. #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
  6278. #define GL_MODULATE_SUBTRACT_ATI 0x8746
  6279. #endif /* GL_ATI_texture_env_combine3 */
  6280. #ifndef GL_ATI_texture_float
  6281. #define GL_ATI_texture_float 1
  6282. #define GL_RGBA_FLOAT32_ATI 0x8814
  6283. #define GL_RGB_FLOAT32_ATI 0x8815
  6284. #define GL_ALPHA_FLOAT32_ATI 0x8816
  6285. #define GL_INTENSITY_FLOAT32_ATI 0x8817
  6286. #define GL_LUMINANCE_FLOAT32_ATI 0x8818
  6287. #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
  6288. #define GL_RGBA_FLOAT16_ATI 0x881A
  6289. #define GL_RGB_FLOAT16_ATI 0x881B
  6290. #define GL_ALPHA_FLOAT16_ATI 0x881C
  6291. #define GL_INTENSITY_FLOAT16_ATI 0x881D
  6292. #define GL_LUMINANCE_FLOAT16_ATI 0x881E
  6293. #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
  6294. #endif /* GL_ATI_texture_float */
  6295. #ifndef GL_ATI_texture_mirror_once
  6296. #define GL_ATI_texture_mirror_once 1
  6297. #define GL_MIRROR_CLAMP_ATI 0x8742
  6298. #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
  6299. #endif /* GL_ATI_texture_mirror_once */
  6300. #ifndef GL_ATI_vertex_array_object
  6301. #define GL_ATI_vertex_array_object 1
  6302. #define GL_STATIC_ATI 0x8760
  6303. #define GL_DYNAMIC_ATI 0x8761
  6304. #define GL_PRESERVE_ATI 0x8762
  6305. #define GL_DISCARD_ATI 0x8763
  6306. #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
  6307. #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
  6308. #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
  6309. #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
  6310. typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage);
  6311. typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
  6312. typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
  6313. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
  6314. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
  6315. typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
  6316. typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6317. typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
  6318. typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
  6319. typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6320. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
  6321. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
  6322. #ifdef GL_GLEXT_PROTOTYPES
  6323. GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage);
  6324. GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
  6325. GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve);
  6326. GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
  6327. GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
  6328. GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
  6329. GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6330. GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
  6331. GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
  6332. GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6333. GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
  6334. GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
  6335. #endif
  6336. #endif /* GL_ATI_vertex_array_object */
  6337. #ifndef GL_ATI_vertex_attrib_array_object
  6338. #define GL_ATI_vertex_attrib_array_object 1
  6339. typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  6340. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
  6341. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
  6342. #ifdef GL_GLEXT_PROTOTYPES
  6343. GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  6344. GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
  6345. GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
  6346. #endif
  6347. #endif /* GL_ATI_vertex_attrib_array_object */
  6348. #ifndef GL_ATI_vertex_streams
  6349. #define GL_ATI_vertex_streams 1
  6350. #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
  6351. #define GL_VERTEX_STREAM0_ATI 0x876C
  6352. #define GL_VERTEX_STREAM1_ATI 0x876D
  6353. #define GL_VERTEX_STREAM2_ATI 0x876E
  6354. #define GL_VERTEX_STREAM3_ATI 0x876F
  6355. #define GL_VERTEX_STREAM4_ATI 0x8770
  6356. #define GL_VERTEX_STREAM5_ATI 0x8771
  6357. #define GL_VERTEX_STREAM6_ATI 0x8772
  6358. #define GL_VERTEX_STREAM7_ATI 0x8773
  6359. #define GL_VERTEX_SOURCE_ATI 0x8774
  6360. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
  6361. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
  6362. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
  6363. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
  6364. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
  6365. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
  6366. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
  6367. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
  6368. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
  6369. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
  6370. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
  6371. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
  6372. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
  6373. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
  6374. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
  6375. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
  6376. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  6377. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  6378. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  6379. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  6380. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  6381. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  6382. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  6383. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  6384. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  6385. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
  6386. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  6387. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
  6388. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6389. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
  6390. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6391. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
  6392. typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  6393. typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
  6394. typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  6395. typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  6396. typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
  6397. typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  6398. typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  6399. typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  6400. typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  6401. typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  6402. typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
  6403. typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
  6404. typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
  6405. #ifdef GL_GLEXT_PROTOTYPES
  6406. GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
  6407. GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
  6408. GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
  6409. GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
  6410. GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
  6411. GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
  6412. GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
  6413. GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
  6414. GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
  6415. GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
  6416. GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
  6417. GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
  6418. GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
  6419. GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
  6420. GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
  6421. GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
  6422. GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
  6423. GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
  6424. GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
  6425. GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
  6426. GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  6427. GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
  6428. GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  6429. GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
  6430. GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  6431. GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
  6432. GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  6433. GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
  6434. GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6435. GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
  6436. GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6437. GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
  6438. GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  6439. GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
  6440. GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  6441. GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
  6442. GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
  6443. GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
  6444. GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  6445. GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
  6446. GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  6447. GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
  6448. GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
  6449. GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
  6450. GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
  6451. #endif
  6452. #endif /* GL_ATI_vertex_streams */
  6453. #ifndef GL_EXT_422_pixels
  6454. #define GL_EXT_422_pixels 1
  6455. #define GL_422_EXT 0x80CC
  6456. #define GL_422_REV_EXT 0x80CD
  6457. #define GL_422_AVERAGE_EXT 0x80CE
  6458. #define GL_422_REV_AVERAGE_EXT 0x80CF
  6459. #endif /* GL_EXT_422_pixels */
  6460. #ifndef GL_EXT_EGL_image_storage
  6461. #define GL_EXT_EGL_image_storage 1
  6462. typedef void *GLeglImageOES;
  6463. typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
  6464. typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
  6465. #ifdef GL_GLEXT_PROTOTYPES
  6466. GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
  6467. GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
  6468. #endif
  6469. #endif /* GL_EXT_EGL_image_storage */
  6470. #ifndef GL_EXT_EGL_sync
  6471. #define GL_EXT_EGL_sync 1
  6472. #endif /* GL_EXT_EGL_sync */
  6473. #ifndef GL_EXT_abgr
  6474. #define GL_EXT_abgr 1
  6475. #define GL_ABGR_EXT 0x8000
  6476. #endif /* GL_EXT_abgr */
  6477. #ifndef GL_EXT_bgra
  6478. #define GL_EXT_bgra 1
  6479. #define GL_BGR_EXT 0x80E0
  6480. #define GL_BGRA_EXT 0x80E1
  6481. #endif /* GL_EXT_bgra */
  6482. #ifndef GL_EXT_bindable_uniform
  6483. #define GL_EXT_bindable_uniform 1
  6484. #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
  6485. #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
  6486. #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
  6487. #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
  6488. #define GL_UNIFORM_BUFFER_EXT 0x8DEE
  6489. #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
  6490. typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
  6491. typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
  6492. typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
  6493. #ifdef GL_GLEXT_PROTOTYPES
  6494. GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
  6495. GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
  6496. GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
  6497. #endif
  6498. #endif /* GL_EXT_bindable_uniform */
  6499. #ifndef GL_EXT_blend_color
  6500. #define GL_EXT_blend_color 1
  6501. #define GL_CONSTANT_COLOR_EXT 0x8001
  6502. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
  6503. #define GL_CONSTANT_ALPHA_EXT 0x8003
  6504. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
  6505. #define GL_BLEND_COLOR_EXT 0x8005
  6506. typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  6507. #ifdef GL_GLEXT_PROTOTYPES
  6508. GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  6509. #endif
  6510. #endif /* GL_EXT_blend_color */
  6511. #ifndef GL_EXT_blend_equation_separate
  6512. #define GL_EXT_blend_equation_separate 1
  6513. #define GL_BLEND_EQUATION_RGB_EXT 0x8009
  6514. #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
  6515. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
  6516. #ifdef GL_GLEXT_PROTOTYPES
  6517. GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
  6518. #endif
  6519. #endif /* GL_EXT_blend_equation_separate */
  6520. #ifndef GL_EXT_blend_func_separate
  6521. #define GL_EXT_blend_func_separate 1
  6522. #define GL_BLEND_DST_RGB_EXT 0x80C8
  6523. #define GL_BLEND_SRC_RGB_EXT 0x80C9
  6524. #define GL_BLEND_DST_ALPHA_EXT 0x80CA
  6525. #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
  6526. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  6527. #ifdef GL_GLEXT_PROTOTYPES
  6528. GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  6529. #endif
  6530. #endif /* GL_EXT_blend_func_separate */
  6531. #ifndef GL_EXT_blend_logic_op
  6532. #define GL_EXT_blend_logic_op 1
  6533. #endif /* GL_EXT_blend_logic_op */
  6534. #ifndef GL_EXT_blend_minmax
  6535. #define GL_EXT_blend_minmax 1
  6536. #define GL_MIN_EXT 0x8007
  6537. #define GL_MAX_EXT 0x8008
  6538. #define GL_FUNC_ADD_EXT 0x8006
  6539. #define GL_BLEND_EQUATION_EXT 0x8009
  6540. typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  6541. #ifdef GL_GLEXT_PROTOTYPES
  6542. GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
  6543. #endif
  6544. #endif /* GL_EXT_blend_minmax */
  6545. #ifndef GL_EXT_blend_subtract
  6546. #define GL_EXT_blend_subtract 1
  6547. #define GL_FUNC_SUBTRACT_EXT 0x800A
  6548. #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
  6549. #endif /* GL_EXT_blend_subtract */
  6550. #ifndef GL_EXT_clip_volume_hint
  6551. #define GL_EXT_clip_volume_hint 1
  6552. #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
  6553. #endif /* GL_EXT_clip_volume_hint */
  6554. #ifndef GL_EXT_cmyka
  6555. #define GL_EXT_cmyka 1
  6556. #define GL_CMYK_EXT 0x800C
  6557. #define GL_CMYKA_EXT 0x800D
  6558. #define GL_PACK_CMYK_HINT_EXT 0x800E
  6559. #define GL_UNPACK_CMYK_HINT_EXT 0x800F
  6560. #endif /* GL_EXT_cmyka */
  6561. #ifndef GL_EXT_color_subtable
  6562. #define GL_EXT_color_subtable 1
  6563. typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  6564. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  6565. #ifdef GL_GLEXT_PROTOTYPES
  6566. GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data);
  6567. GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  6568. #endif
  6569. #endif /* GL_EXT_color_subtable */
  6570. #ifndef GL_EXT_compiled_vertex_array
  6571. #define GL_EXT_compiled_vertex_array 1
  6572. #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
  6573. #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
  6574. typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  6575. typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  6576. #ifdef GL_GLEXT_PROTOTYPES
  6577. GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
  6578. GLAPI void APIENTRY glUnlockArraysEXT (void);
  6579. #endif
  6580. #endif /* GL_EXT_compiled_vertex_array */
  6581. #ifndef GL_EXT_convolution
  6582. #define GL_EXT_convolution 1
  6583. #define GL_CONVOLUTION_1D_EXT 0x8010
  6584. #define GL_CONVOLUTION_2D_EXT 0x8011
  6585. #define GL_SEPARABLE_2D_EXT 0x8012
  6586. #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
  6587. #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
  6588. #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
  6589. #define GL_REDUCE_EXT 0x8016
  6590. #define GL_CONVOLUTION_FORMAT_EXT 0x8017
  6591. #define GL_CONVOLUTION_WIDTH_EXT 0x8018
  6592. #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
  6593. #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
  6594. #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
  6595. #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  6596. #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  6597. #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  6598. #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  6599. #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
  6600. #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  6601. #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  6602. #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  6603. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  6604. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  6605. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  6606. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  6607. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  6608. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  6609. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  6610. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  6611. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image);
  6612. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  6613. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  6614. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  6615. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  6616. #ifdef GL_GLEXT_PROTOTYPES
  6617. GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image);
  6618. GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image);
  6619. GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
  6620. GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  6621. GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
  6622. GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  6623. GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  6624. GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  6625. GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image);
  6626. GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  6627. GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
  6628. GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span);
  6629. GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column);
  6630. #endif
  6631. #endif /* GL_EXT_convolution */
  6632. #ifndef GL_EXT_coordinate_frame
  6633. #define GL_EXT_coordinate_frame 1
  6634. #define GL_TANGENT_ARRAY_EXT 0x8439
  6635. #define GL_BINORMAL_ARRAY_EXT 0x843A
  6636. #define GL_CURRENT_TANGENT_EXT 0x843B
  6637. #define GL_CURRENT_BINORMAL_EXT 0x843C
  6638. #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
  6639. #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
  6640. #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
  6641. #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
  6642. #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
  6643. #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
  6644. #define GL_MAP1_TANGENT_EXT 0x8444
  6645. #define GL_MAP2_TANGENT_EXT 0x8445
  6646. #define GL_MAP1_BINORMAL_EXT 0x8446
  6647. #define GL_MAP2_BINORMAL_EXT 0x8447
  6648. typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  6649. typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  6650. typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  6651. typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  6652. typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  6653. typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  6654. typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  6655. typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  6656. typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  6657. typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  6658. typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  6659. typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  6660. typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  6661. typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  6662. typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  6663. typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  6664. typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  6665. typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  6666. typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  6667. typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  6668. typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  6669. typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  6670. #ifdef GL_GLEXT_PROTOTYPES
  6671. GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
  6672. GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
  6673. GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
  6674. GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
  6675. GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
  6676. GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
  6677. GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
  6678. GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
  6679. GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
  6680. GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
  6681. GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
  6682. GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
  6683. GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
  6684. GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
  6685. GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
  6686. GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
  6687. GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
  6688. GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
  6689. GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
  6690. GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
  6691. GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  6692. GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  6693. #endif
  6694. #endif /* GL_EXT_coordinate_frame */
  6695. #ifndef GL_EXT_copy_texture
  6696. #define GL_EXT_copy_texture 1
  6697. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6698. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6699. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6700. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6701. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6702. #ifdef GL_GLEXT_PROTOTYPES
  6703. GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6704. GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6705. GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6706. GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6707. GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6708. #endif
  6709. #endif /* GL_EXT_copy_texture */
  6710. #ifndef GL_EXT_cull_vertex
  6711. #define GL_EXT_cull_vertex 1
  6712. #define GL_CULL_VERTEX_EXT 0x81AA
  6713. #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
  6714. #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  6715. typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  6716. typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  6717. #ifdef GL_GLEXT_PROTOTYPES
  6718. GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
  6719. GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
  6720. #endif
  6721. #endif /* GL_EXT_cull_vertex */
  6722. #ifndef GL_EXT_debug_label
  6723. #define GL_EXT_debug_label 1
  6724. #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
  6725. #define GL_PROGRAM_OBJECT_EXT 0x8B40
  6726. #define GL_SHADER_OBJECT_EXT 0x8B48
  6727. #define GL_BUFFER_OBJECT_EXT 0x9151
  6728. #define GL_QUERY_OBJECT_EXT 0x9153
  6729. #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
  6730. typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  6731. typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  6732. #ifdef GL_GLEXT_PROTOTYPES
  6733. GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  6734. GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  6735. #endif
  6736. #endif /* GL_EXT_debug_label */
  6737. #ifndef GL_EXT_debug_marker
  6738. #define GL_EXT_debug_marker 1
  6739. typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  6740. typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  6741. typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
  6742. #ifdef GL_GLEXT_PROTOTYPES
  6743. GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
  6744. GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
  6745. GLAPI void APIENTRY glPopGroupMarkerEXT (void);
  6746. #endif
  6747. #endif /* GL_EXT_debug_marker */
  6748. #ifndef GL_EXT_depth_bounds_test
  6749. #define GL_EXT_depth_bounds_test 1
  6750. #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
  6751. #define GL_DEPTH_BOUNDS_EXT 0x8891
  6752. typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
  6753. #ifdef GL_GLEXT_PROTOTYPES
  6754. GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
  6755. #endif
  6756. #endif /* GL_EXT_depth_bounds_test */
  6757. #ifndef GL_EXT_direct_state_access
  6758. #define GL_EXT_direct_state_access 1
  6759. #define GL_PROGRAM_MATRIX_EXT 0x8E2D
  6760. #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
  6761. #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  6762. typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
  6763. typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
  6764. typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
  6765. typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
  6766. typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
  6767. typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  6768. typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  6769. typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  6770. typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  6771. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  6772. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  6773. typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  6774. typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  6775. typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
  6776. typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
  6777. typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  6778. typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  6779. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  6780. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  6781. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  6782. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  6783. typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  6784. 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);
  6785. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  6786. 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);
  6787. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6788. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6789. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6790. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6791. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  6792. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  6793. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  6794. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  6795. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  6796. 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);
  6797. 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);
  6798. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6799. typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  6800. typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  6801. typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  6802. typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  6803. typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  6804. typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6805. typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  6806. typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  6807. typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  6808. typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  6809. typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  6810. typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  6811. typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  6812. typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6813. typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  6814. typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  6815. typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  6816. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  6817. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6818. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  6819. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  6820. typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  6821. 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);
  6822. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  6823. 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);
  6824. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6825. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6826. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6827. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6828. typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  6829. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  6830. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6831. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  6832. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  6833. 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);
  6834. 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);
  6835. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6836. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  6837. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  6838. typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
  6839. typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
  6840. typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
  6841. typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  6842. typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  6843. typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  6844. typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
  6845. typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
  6846. 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);
  6847. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  6848. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  6849. 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);
  6850. 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);
  6851. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  6852. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
  6853. 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);
  6854. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  6855. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  6856. 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);
  6857. 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);
  6858. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  6859. typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
  6860. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  6861. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  6862. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  6863. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  6864. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  6865. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  6866. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  6867. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  6868. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
  6869. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
  6870. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  6871. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  6872. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  6873. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6874. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6875. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  6876. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  6877. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  6878. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6879. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6880. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6881. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6882. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  6883. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6884. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6885. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6886. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  6887. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6888. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6889. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6890. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6891. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6892. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6893. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6894. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6895. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6896. typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  6897. typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  6898. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  6899. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  6900. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  6901. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  6902. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  6903. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  6904. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  6905. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  6906. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  6907. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  6908. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  6909. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6910. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6911. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6912. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6913. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  6914. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  6915. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  6916. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
  6917. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  6918. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  6919. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
  6920. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  6921. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
  6922. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
  6923. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  6924. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  6925. typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
  6926. typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
  6927. typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
  6928. typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  6929. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6930. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  6931. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6932. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  6933. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
  6934. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
  6935. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
  6936. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
  6937. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  6938. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  6939. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  6940. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  6941. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  6942. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6943. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  6944. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  6945. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  6946. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  6947. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  6948. typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  6949. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  6950. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  6951. typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  6952. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  6953. typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  6954. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  6955. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  6956. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  6957. typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  6958. typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  6959. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6960. typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6961. typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  6962. typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6963. typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6964. typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6965. typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6966. typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  6967. typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6968. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  6969. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  6970. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  6971. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  6972. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  6973. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  6974. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
  6975. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
  6976. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  6977. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
  6978. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  6979. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  6980. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  6981. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  6982. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  6983. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
  6984. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  6985. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
  6986. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  6987. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  6988. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6989. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6990. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6991. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6992. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  6993. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6994. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6995. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6996. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6997. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6998. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  6999. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7000. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7001. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7002. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  7003. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  7004. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  7005. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  7006. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  7007. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  7008. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  7009. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  7010. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  7011. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  7012. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  7013. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  7014. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7015. typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  7016. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
  7017. #ifdef GL_GLEXT_PROTOTYPES
  7018. GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
  7019. GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
  7020. GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
  7021. GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
  7022. GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
  7023. GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  7024. GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  7025. GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  7026. GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  7027. GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  7028. GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  7029. GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  7030. GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  7031. GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
  7032. GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
  7033. GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
  7034. GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
  7035. GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  7036. GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  7037. GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
  7038. GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  7039. GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  7040. 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);
  7041. GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  7042. 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);
  7043. GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  7044. GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  7045. GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  7046. GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7047. GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  7048. GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  7049. GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  7050. GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  7051. GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  7052. 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);
  7053. 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);
  7054. GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7055. GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
  7056. GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7057. GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  7058. GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  7059. GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  7060. GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  7061. GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  7062. GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  7063. GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  7064. GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  7065. GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  7066. GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  7067. GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  7068. GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  7069. GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  7070. GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  7071. GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  7072. GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  7073. GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  7074. GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  7075. GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  7076. GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  7077. 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);
  7078. GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  7079. 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);
  7080. GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  7081. GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  7082. GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  7083. GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7084. GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  7085. GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  7086. GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  7087. GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  7088. GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  7089. 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);
  7090. 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);
  7091. GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7092. GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
  7093. GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
  7094. GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
  7095. GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
  7096. GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
  7097. GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
  7098. GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
  7099. GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
  7100. GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
  7101. GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
  7102. 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);
  7103. GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  7104. GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  7105. 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);
  7106. 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);
  7107. GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  7108. GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
  7109. 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);
  7110. GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  7111. GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  7112. 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);
  7113. 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);
  7114. GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  7115. GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
  7116. GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
  7117. GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
  7118. GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
  7119. GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
  7120. GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  7121. GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  7122. GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
  7123. GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
  7124. GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
  7125. GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
  7126. GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  7127. GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  7128. GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  7129. GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  7130. GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  7131. GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  7132. GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  7133. GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  7134. GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  7135. GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7136. GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7137. GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7138. GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7139. GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  7140. GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  7141. GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  7142. GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  7143. GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7144. GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7145. GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7146. GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7147. GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7148. GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7149. GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7150. GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7151. GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7152. GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  7153. GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  7154. GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  7155. GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  7156. GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  7157. GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  7158. GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  7159. GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  7160. GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  7161. GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  7162. GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  7163. GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  7164. GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  7165. GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7166. GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7167. GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7168. GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7169. GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7170. GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7171. GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  7172. GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
  7173. GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  7174. GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  7175. GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
  7176. GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  7177. GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
  7178. GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
  7179. GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
  7180. GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
  7181. GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
  7182. GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
  7183. GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
  7184. GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  7185. GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7186. GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  7187. GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7188. GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  7189. GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
  7190. GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
  7191. GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
  7192. GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
  7193. GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  7194. GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
  7195. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7196. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  7197. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
  7198. GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7199. GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7200. GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7201. GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7202. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  7203. GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
  7204. GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
  7205. GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
  7206. GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  7207. GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
  7208. GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  7209. GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  7210. GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  7211. GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  7212. GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  7213. GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
  7214. GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
  7215. GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7216. GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7217. GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  7218. GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7219. GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7220. GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7221. GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7222. GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7223. GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7224. GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  7225. GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7226. GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
  7227. GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
  7228. GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  7229. GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  7230. GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
  7231. GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
  7232. GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  7233. GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
  7234. GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  7235. GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
  7236. GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  7237. GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  7238. GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  7239. GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
  7240. GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  7241. GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
  7242. GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
  7243. GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  7244. GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7245. GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7246. GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7247. GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7248. GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7249. GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7250. GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7251. GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7252. GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7253. GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7254. GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7255. GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7256. GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7257. GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7258. GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  7259. GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  7260. GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  7261. GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  7262. GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  7263. GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  7264. GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  7265. GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  7266. GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  7267. GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  7268. GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  7269. GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  7270. GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7271. GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  7272. GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
  7273. #endif
  7274. #endif /* GL_EXT_direct_state_access */
  7275. #ifndef GL_EXT_draw_buffers2
  7276. #define GL_EXT_draw_buffers2 1
  7277. typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  7278. #ifdef GL_GLEXT_PROTOTYPES
  7279. GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  7280. #endif
  7281. #endif /* GL_EXT_draw_buffers2 */
  7282. #ifndef GL_EXT_draw_instanced
  7283. #define GL_EXT_draw_instanced 1
  7284. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  7285. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  7286. #ifdef GL_GLEXT_PROTOTYPES
  7287. GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  7288. GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  7289. #endif
  7290. #endif /* GL_EXT_draw_instanced */
  7291. #ifndef GL_EXT_draw_range_elements
  7292. #define GL_EXT_draw_range_elements 1
  7293. #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
  7294. #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
  7295. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  7296. #ifdef GL_GLEXT_PROTOTYPES
  7297. GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  7298. #endif
  7299. #endif /* GL_EXT_draw_range_elements */
  7300. #ifndef GL_EXT_external_buffer
  7301. #define GL_EXT_external_buffer 1
  7302. typedef void *GLeglClientBufferEXT;
  7303. typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
  7304. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
  7305. #ifdef GL_GLEXT_PROTOTYPES
  7306. GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
  7307. GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
  7308. #endif
  7309. #endif /* GL_EXT_external_buffer */
  7310. #ifndef GL_EXT_fog_coord
  7311. #define GL_EXT_fog_coord 1
  7312. #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
  7313. #define GL_FOG_COORDINATE_EXT 0x8451
  7314. #define GL_FRAGMENT_DEPTH_EXT 0x8452
  7315. #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
  7316. #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
  7317. #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  7318. #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  7319. #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
  7320. typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  7321. typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  7322. typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  7323. typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  7324. typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer);
  7325. #ifdef GL_GLEXT_PROTOTYPES
  7326. GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
  7327. GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
  7328. GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
  7329. GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
  7330. GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer);
  7331. #endif
  7332. #endif /* GL_EXT_fog_coord */
  7333. #ifndef GL_EXT_framebuffer_blit
  7334. #define GL_EXT_framebuffer_blit 1
  7335. #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
  7336. #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
  7337. #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
  7338. #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
  7339. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  7340. #ifdef GL_GLEXT_PROTOTYPES
  7341. GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  7342. #endif
  7343. #endif /* GL_EXT_framebuffer_blit */
  7344. #ifndef GL_EXT_framebuffer_multisample
  7345. #define GL_EXT_framebuffer_multisample 1
  7346. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  7347. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  7348. #define GL_MAX_SAMPLES_EXT 0x8D57
  7349. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7350. #ifdef GL_GLEXT_PROTOTYPES
  7351. GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7352. #endif
  7353. #endif /* GL_EXT_framebuffer_multisample */
  7354. #ifndef GL_EXT_framebuffer_multisample_blit_scaled
  7355. #define GL_EXT_framebuffer_multisample_blit_scaled 1
  7356. #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
  7357. #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
  7358. #endif /* GL_EXT_framebuffer_multisample_blit_scaled */
  7359. #ifndef GL_EXT_framebuffer_object
  7360. #define GL_EXT_framebuffer_object 1
  7361. #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
  7362. #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
  7363. #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
  7364. #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
  7365. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
  7366. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
  7367. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
  7368. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
  7369. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
  7370. #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
  7371. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
  7372. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
  7373. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
  7374. #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
  7375. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
  7376. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
  7377. #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
  7378. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  7379. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  7380. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  7381. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  7382. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  7383. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  7384. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  7385. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  7386. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  7387. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  7388. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  7389. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  7390. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  7391. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  7392. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  7393. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  7394. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  7395. #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
  7396. #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
  7397. #define GL_FRAMEBUFFER_EXT 0x8D40
  7398. #define GL_RENDERBUFFER_EXT 0x8D41
  7399. #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
  7400. #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
  7401. #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
  7402. #define GL_STENCIL_INDEX1_EXT 0x8D46
  7403. #define GL_STENCIL_INDEX4_EXT 0x8D47
  7404. #define GL_STENCIL_INDEX8_EXT 0x8D48
  7405. #define GL_STENCIL_INDEX16_EXT 0x8D49
  7406. #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
  7407. #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
  7408. #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
  7409. #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
  7410. #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
  7411. #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
  7412. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
  7413. typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
  7414. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
  7415. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
  7416. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  7417. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7418. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
  7419. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
  7420. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
  7421. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
  7422. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
  7423. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7424. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7425. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7426. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7427. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  7428. typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
  7429. #ifdef GL_GLEXT_PROTOTYPES
  7430. GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
  7431. GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
  7432. GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
  7433. GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
  7434. GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  7435. GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7436. GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
  7437. GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
  7438. GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
  7439. GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
  7440. GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
  7441. GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7442. GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7443. GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7444. GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7445. GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  7446. GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
  7447. #endif
  7448. #endif /* GL_EXT_framebuffer_object */
  7449. #ifndef GL_EXT_framebuffer_sRGB
  7450. #define GL_EXT_framebuffer_sRGB 1
  7451. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  7452. #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
  7453. #endif /* GL_EXT_framebuffer_sRGB */
  7454. #ifndef GL_EXT_geometry_shader4
  7455. #define GL_EXT_geometry_shader4 1
  7456. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  7457. #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
  7458. #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
  7459. #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
  7460. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  7461. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
  7462. #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
  7463. #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
  7464. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  7465. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  7466. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  7467. #define GL_LINES_ADJACENCY_EXT 0x000A
  7468. #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
  7469. #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
  7470. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
  7471. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  7472. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
  7473. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  7474. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
  7475. #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
  7476. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  7477. #ifdef GL_GLEXT_PROTOTYPES
  7478. GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
  7479. #endif
  7480. #endif /* GL_EXT_geometry_shader4 */
  7481. #ifndef GL_EXT_gpu_program_parameters
  7482. #define GL_EXT_gpu_program_parameters 1
  7483. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7484. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7485. #ifdef GL_GLEXT_PROTOTYPES
  7486. GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7487. GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  7488. #endif
  7489. #endif /* GL_EXT_gpu_program_parameters */
  7490. #ifndef GL_EXT_gpu_shader4
  7491. #define GL_EXT_gpu_shader4 1
  7492. #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
  7493. #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
  7494. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  7495. #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
  7496. #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
  7497. #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
  7498. #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
  7499. #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
  7500. #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
  7501. #define GL_INT_SAMPLER_1D_EXT 0x8DC9
  7502. #define GL_INT_SAMPLER_2D_EXT 0x8DCA
  7503. #define GL_INT_SAMPLER_3D_EXT 0x8DCB
  7504. #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
  7505. #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
  7506. #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
  7507. #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
  7508. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  7509. #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
  7510. #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
  7511. #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
  7512. #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
  7513. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  7514. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  7515. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  7516. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  7517. #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
  7518. #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
  7519. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
  7520. typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
  7521. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  7522. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
  7523. typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
  7524. typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
  7525. typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  7526. typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7527. typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7528. typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7529. typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7530. typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7531. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  7532. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  7533. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  7534. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  7535. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  7536. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  7537. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  7538. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  7539. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  7540. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  7541. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  7542. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  7543. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  7544. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  7545. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  7546. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  7547. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  7548. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  7549. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  7550. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  7551. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7552. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  7553. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  7554. #ifdef GL_GLEXT_PROTOTYPES
  7555. GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
  7556. GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
  7557. GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
  7558. GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
  7559. GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
  7560. GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
  7561. GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7562. GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
  7563. GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
  7564. GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
  7565. GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
  7566. GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
  7567. GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
  7568. GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
  7569. GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
  7570. GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
  7571. GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
  7572. GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
  7573. GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  7574. GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
  7575. GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
  7576. GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
  7577. GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
  7578. GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
  7579. GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
  7580. GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
  7581. GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
  7582. GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
  7583. GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
  7584. GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
  7585. GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
  7586. GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  7587. GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
  7588. GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
  7589. #endif
  7590. #endif /* GL_EXT_gpu_shader4 */
  7591. #ifndef GL_EXT_histogram
  7592. #define GL_EXT_histogram 1
  7593. #define GL_HISTOGRAM_EXT 0x8024
  7594. #define GL_PROXY_HISTOGRAM_EXT 0x8025
  7595. #define GL_HISTOGRAM_WIDTH_EXT 0x8026
  7596. #define GL_HISTOGRAM_FORMAT_EXT 0x8027
  7597. #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
  7598. #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
  7599. #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
  7600. #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
  7601. #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
  7602. #define GL_HISTOGRAM_SINK_EXT 0x802D
  7603. #define GL_MINMAX_EXT 0x802E
  7604. #define GL_MINMAX_FORMAT_EXT 0x802F
  7605. #define GL_MINMAX_SINK_EXT 0x8030
  7606. #define GL_TABLE_TOO_LARGE_EXT 0x8031
  7607. typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  7608. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7609. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7610. typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  7611. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7612. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7613. typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  7614. typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  7615. typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  7616. typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  7617. #ifdef GL_GLEXT_PROTOTYPES
  7618. GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  7619. GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7620. GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7621. GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values);
  7622. GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7623. GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7624. GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  7625. GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
  7626. GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
  7627. GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
  7628. #endif
  7629. #endif /* GL_EXT_histogram */
  7630. #ifndef GL_EXT_index_array_formats
  7631. #define GL_EXT_index_array_formats 1
  7632. #define GL_IUI_V2F_EXT 0x81AD
  7633. #define GL_IUI_V3F_EXT 0x81AE
  7634. #define GL_IUI_N3F_V2F_EXT 0x81AF
  7635. #define GL_IUI_N3F_V3F_EXT 0x81B0
  7636. #define GL_T2F_IUI_V2F_EXT 0x81B1
  7637. #define GL_T2F_IUI_V3F_EXT 0x81B2
  7638. #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
  7639. #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
  7640. #endif /* GL_EXT_index_array_formats */
  7641. #ifndef GL_EXT_index_func
  7642. #define GL_EXT_index_func 1
  7643. #define GL_INDEX_TEST_EXT 0x81B5
  7644. #define GL_INDEX_TEST_FUNC_EXT 0x81B6
  7645. #define GL_INDEX_TEST_REF_EXT 0x81B7
  7646. typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  7647. #ifdef GL_GLEXT_PROTOTYPES
  7648. GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
  7649. #endif
  7650. #endif /* GL_EXT_index_func */
  7651. #ifndef GL_EXT_index_material
  7652. #define GL_EXT_index_material 1
  7653. #define GL_INDEX_MATERIAL_EXT 0x81B8
  7654. #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
  7655. #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
  7656. typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  7657. #ifdef GL_GLEXT_PROTOTYPES
  7658. GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
  7659. #endif
  7660. #endif /* GL_EXT_index_material */
  7661. #ifndef GL_EXT_index_texture
  7662. #define GL_EXT_index_texture 1
  7663. #endif /* GL_EXT_index_texture */
  7664. #ifndef GL_EXT_light_texture
  7665. #define GL_EXT_light_texture 1
  7666. #define GL_FRAGMENT_MATERIAL_EXT 0x8349
  7667. #define GL_FRAGMENT_NORMAL_EXT 0x834A
  7668. #define GL_FRAGMENT_COLOR_EXT 0x834C
  7669. #define GL_ATTENUATION_EXT 0x834D
  7670. #define GL_SHADOW_ATTENUATION_EXT 0x834E
  7671. #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
  7672. #define GL_TEXTURE_LIGHT_EXT 0x8350
  7673. #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
  7674. #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  7675. typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  7676. typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  7677. typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  7678. #ifdef GL_GLEXT_PROTOTYPES
  7679. GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
  7680. GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
  7681. GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
  7682. #endif
  7683. #endif /* GL_EXT_light_texture */
  7684. #ifndef GL_EXT_memory_object
  7685. #define GL_EXT_memory_object 1
  7686. #define GL_TEXTURE_TILING_EXT 0x9580
  7687. #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
  7688. #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
  7689. #define GL_NUM_TILING_TYPES_EXT 0x9582
  7690. #define GL_TILING_TYPES_EXT 0x9583
  7691. #define GL_OPTIMAL_TILING_EXT 0x9584
  7692. #define GL_LINEAR_TILING_EXT 0x9585
  7693. #define GL_NUM_DEVICE_UUIDS_EXT 0x9596
  7694. #define GL_DEVICE_UUID_EXT 0x9597
  7695. #define GL_DRIVER_UUID_EXT 0x9598
  7696. #define GL_UUID_SIZE_EXT 16
  7697. typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
  7698. typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
  7699. typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
  7700. typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
  7701. typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
  7702. typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
  7703. typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
  7704. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
  7705. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7706. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
  7707. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7708. typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
  7709. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
  7710. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7711. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
  7712. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7713. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
  7714. typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
  7715. typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
  7716. #ifdef GL_GLEXT_PROTOTYPES
  7717. GLAPI void APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
  7718. GLAPI void APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
  7719. GLAPI void APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
  7720. GLAPI GLboolean APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
  7721. GLAPI void APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
  7722. GLAPI void APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
  7723. GLAPI void APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
  7724. GLAPI void APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
  7725. GLAPI void APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7726. GLAPI void APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
  7727. GLAPI void APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7728. GLAPI void APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
  7729. GLAPI void APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
  7730. GLAPI void APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7731. GLAPI void APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
  7732. GLAPI void APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
  7733. GLAPI void APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
  7734. GLAPI void APIENTRY glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
  7735. GLAPI void APIENTRY glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
  7736. #endif
  7737. #endif /* GL_EXT_memory_object */
  7738. #ifndef GL_EXT_memory_object_fd
  7739. #define GL_EXT_memory_object_fd 1
  7740. #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
  7741. typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
  7742. #ifdef GL_GLEXT_PROTOTYPES
  7743. GLAPI void APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
  7744. #endif
  7745. #endif /* GL_EXT_memory_object_fd */
  7746. #ifndef GL_EXT_memory_object_win32
  7747. #define GL_EXT_memory_object_win32 1
  7748. #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
  7749. #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
  7750. #define GL_DEVICE_LUID_EXT 0x9599
  7751. #define GL_DEVICE_NODE_MASK_EXT 0x959A
  7752. #define GL_LUID_SIZE_EXT 8
  7753. #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
  7754. #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
  7755. #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
  7756. #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
  7757. typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
  7758. typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
  7759. #ifdef GL_GLEXT_PROTOTYPES
  7760. GLAPI void APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
  7761. GLAPI void APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
  7762. #endif
  7763. #endif /* GL_EXT_memory_object_win32 */
  7764. #ifndef GL_EXT_misc_attribute
  7765. #define GL_EXT_misc_attribute 1
  7766. #endif /* GL_EXT_misc_attribute */
  7767. #ifndef GL_EXT_multi_draw_arrays
  7768. #define GL_EXT_multi_draw_arrays 1
  7769. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  7770. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  7771. #ifdef GL_GLEXT_PROTOTYPES
  7772. GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  7773. GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  7774. #endif
  7775. #endif /* GL_EXT_multi_draw_arrays */
  7776. #ifndef GL_EXT_multisample
  7777. #define GL_EXT_multisample 1
  7778. #define GL_MULTISAMPLE_EXT 0x809D
  7779. #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
  7780. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  7781. #define GL_SAMPLE_MASK_EXT 0x80A0
  7782. #define GL_1PASS_EXT 0x80A1
  7783. #define GL_2PASS_0_EXT 0x80A2
  7784. #define GL_2PASS_1_EXT 0x80A3
  7785. #define GL_4PASS_0_EXT 0x80A4
  7786. #define GL_4PASS_1_EXT 0x80A5
  7787. #define GL_4PASS_2_EXT 0x80A6
  7788. #define GL_4PASS_3_EXT 0x80A7
  7789. #define GL_SAMPLE_BUFFERS_EXT 0x80A8
  7790. #define GL_SAMPLES_EXT 0x80A9
  7791. #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
  7792. #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
  7793. #define GL_SAMPLE_PATTERN_EXT 0x80AC
  7794. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  7795. typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  7796. typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  7797. #ifdef GL_GLEXT_PROTOTYPES
  7798. GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
  7799. GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
  7800. #endif
  7801. #endif /* GL_EXT_multisample */
  7802. #ifndef GL_EXT_multiview_tessellation_geometry_shader
  7803. #define GL_EXT_multiview_tessellation_geometry_shader 1
  7804. #endif /* GL_EXT_multiview_tessellation_geometry_shader */
  7805. #ifndef GL_EXT_multiview_texture_multisample
  7806. #define GL_EXT_multiview_texture_multisample 1
  7807. #endif /* GL_EXT_multiview_texture_multisample */
  7808. #ifndef GL_EXT_multiview_timer_query
  7809. #define GL_EXT_multiview_timer_query 1
  7810. #endif /* GL_EXT_multiview_timer_query */
  7811. #ifndef GL_EXT_packed_depth_stencil
  7812. #define GL_EXT_packed_depth_stencil 1
  7813. #define GL_DEPTH_STENCIL_EXT 0x84F9
  7814. #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
  7815. #define GL_DEPTH24_STENCIL8_EXT 0x88F0
  7816. #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
  7817. #endif /* GL_EXT_packed_depth_stencil */
  7818. #ifndef GL_EXT_packed_float
  7819. #define GL_EXT_packed_float 1
  7820. #define GL_R11F_G11F_B10F_EXT 0x8C3A
  7821. #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
  7822. #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
  7823. #endif /* GL_EXT_packed_float */
  7824. #ifndef GL_EXT_packed_pixels
  7825. #define GL_EXT_packed_pixels 1
  7826. #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
  7827. #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
  7828. #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
  7829. #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
  7830. #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
  7831. #endif /* GL_EXT_packed_pixels */
  7832. #ifndef GL_EXT_paletted_texture
  7833. #define GL_EXT_paletted_texture 1
  7834. #define GL_COLOR_INDEX1_EXT 0x80E2
  7835. #define GL_COLOR_INDEX2_EXT 0x80E3
  7836. #define GL_COLOR_INDEX4_EXT 0x80E4
  7837. #define GL_COLOR_INDEX8_EXT 0x80E5
  7838. #define GL_COLOR_INDEX12_EXT 0x80E6
  7839. #define GL_COLOR_INDEX16_EXT 0x80E7
  7840. #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
  7841. typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
  7842. typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data);
  7843. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7844. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7845. #ifdef GL_GLEXT_PROTOTYPES
  7846. GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table);
  7847. GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data);
  7848. GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7849. GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7850. #endif
  7851. #endif /* GL_EXT_paletted_texture */
  7852. #ifndef GL_EXT_pixel_buffer_object
  7853. #define GL_EXT_pixel_buffer_object 1
  7854. #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
  7855. #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
  7856. #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
  7857. #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
  7858. #endif /* GL_EXT_pixel_buffer_object */
  7859. #ifndef GL_EXT_pixel_transform
  7860. #define GL_EXT_pixel_transform 1
  7861. #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
  7862. #define GL_PIXEL_MAG_FILTER_EXT 0x8331
  7863. #define GL_PIXEL_MIN_FILTER_EXT 0x8332
  7864. #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
  7865. #define GL_CUBIC_EXT 0x8334
  7866. #define GL_AVERAGE_EXT 0x8335
  7867. #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  7868. #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  7869. #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
  7870. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  7871. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  7872. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  7873. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  7874. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  7875. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  7876. #ifdef GL_GLEXT_PROTOTYPES
  7877. GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
  7878. GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
  7879. GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  7880. GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  7881. GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
  7882. GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  7883. #endif
  7884. #endif /* GL_EXT_pixel_transform */
  7885. #ifndef GL_EXT_pixel_transform_color_table
  7886. #define GL_EXT_pixel_transform_color_table 1
  7887. #endif /* GL_EXT_pixel_transform_color_table */
  7888. #ifndef GL_EXT_point_parameters
  7889. #define GL_EXT_point_parameters 1
  7890. #define GL_POINT_SIZE_MIN_EXT 0x8126
  7891. #define GL_POINT_SIZE_MAX_EXT 0x8127
  7892. #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
  7893. #define GL_DISTANCE_ATTENUATION_EXT 0x8129
  7894. typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  7895. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  7896. #ifdef GL_GLEXT_PROTOTYPES
  7897. GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
  7898. GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
  7899. #endif
  7900. #endif /* GL_EXT_point_parameters */
  7901. #ifndef GL_EXT_polygon_offset
  7902. #define GL_EXT_polygon_offset 1
  7903. #define GL_POLYGON_OFFSET_EXT 0x8037
  7904. #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
  7905. #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
  7906. typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  7907. #ifdef GL_GLEXT_PROTOTYPES
  7908. GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
  7909. #endif
  7910. #endif /* GL_EXT_polygon_offset */
  7911. #ifndef GL_EXT_polygon_offset_clamp
  7912. #define GL_EXT_polygon_offset_clamp 1
  7913. #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
  7914. typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
  7915. #ifdef GL_GLEXT_PROTOTYPES
  7916. GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
  7917. #endif
  7918. #endif /* GL_EXT_polygon_offset_clamp */
  7919. #ifndef GL_EXT_post_depth_coverage
  7920. #define GL_EXT_post_depth_coverage 1
  7921. #endif /* GL_EXT_post_depth_coverage */
  7922. #ifndef GL_EXT_provoking_vertex
  7923. #define GL_EXT_provoking_vertex 1
  7924. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
  7925. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  7926. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  7927. #define GL_PROVOKING_VERTEX_EXT 0x8E4F
  7928. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
  7929. #ifdef GL_GLEXT_PROTOTYPES
  7930. GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
  7931. #endif
  7932. #endif /* GL_EXT_provoking_vertex */
  7933. #ifndef GL_EXT_raster_multisample
  7934. #define GL_EXT_raster_multisample 1
  7935. #define GL_RASTER_MULTISAMPLE_EXT 0x9327
  7936. #define GL_RASTER_SAMPLES_EXT 0x9328
  7937. #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
  7938. #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
  7939. #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
  7940. #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
  7941. typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
  7942. #ifdef GL_GLEXT_PROTOTYPES
  7943. GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
  7944. #endif
  7945. #endif /* GL_EXT_raster_multisample */
  7946. #ifndef GL_EXT_rescale_normal
  7947. #define GL_EXT_rescale_normal 1
  7948. #define GL_RESCALE_NORMAL_EXT 0x803A
  7949. #endif /* GL_EXT_rescale_normal */
  7950. #ifndef GL_EXT_secondary_color
  7951. #define GL_EXT_secondary_color 1
  7952. #define GL_COLOR_SUM_EXT 0x8458
  7953. #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
  7954. #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  7955. #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  7956. #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  7957. #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  7958. #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
  7959. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  7960. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  7961. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  7962. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  7963. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  7964. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  7965. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  7966. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  7967. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  7968. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  7969. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  7970. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  7971. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  7972. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  7973. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  7974. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  7975. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  7976. #ifdef GL_GLEXT_PROTOTYPES
  7977. GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
  7978. GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
  7979. GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
  7980. GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
  7981. GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
  7982. GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
  7983. GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
  7984. GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
  7985. GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
  7986. GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
  7987. GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
  7988. GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
  7989. GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
  7990. GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
  7991. GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
  7992. GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
  7993. GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
  7994. #endif
  7995. #endif /* GL_EXT_secondary_color */
  7996. #ifndef GL_EXT_semaphore
  7997. #define GL_EXT_semaphore 1
  7998. #define GL_LAYOUT_GENERAL_EXT 0x958D
  7999. #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
  8000. #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
  8001. #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
  8002. #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
  8003. #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
  8004. #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
  8005. #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
  8006. #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
  8007. typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
  8008. typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
  8009. typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
  8010. typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
  8011. typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
  8012. typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
  8013. typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
  8014. #ifdef GL_GLEXT_PROTOTYPES
  8015. GLAPI void APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
  8016. GLAPI void APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
  8017. GLAPI GLboolean APIENTRY glIsSemaphoreEXT (GLuint semaphore);
  8018. GLAPI void APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
  8019. GLAPI void APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
  8020. GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
  8021. GLAPI void APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
  8022. #endif
  8023. #endif /* GL_EXT_semaphore */
  8024. #ifndef GL_EXT_semaphore_fd
  8025. #define GL_EXT_semaphore_fd 1
  8026. typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
  8027. #ifdef GL_GLEXT_PROTOTYPES
  8028. GLAPI void APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
  8029. #endif
  8030. #endif /* GL_EXT_semaphore_fd */
  8031. #ifndef GL_EXT_semaphore_win32
  8032. #define GL_EXT_semaphore_win32 1
  8033. #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
  8034. #define GL_D3D12_FENCE_VALUE_EXT 0x9595
  8035. typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
  8036. typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
  8037. #ifdef GL_GLEXT_PROTOTYPES
  8038. GLAPI void APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
  8039. GLAPI void APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
  8040. #endif
  8041. #endif /* GL_EXT_semaphore_win32 */
  8042. #ifndef GL_EXT_separate_shader_objects
  8043. #define GL_EXT_separate_shader_objects 1
  8044. #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
  8045. typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
  8046. typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
  8047. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
  8048. #ifdef GL_GLEXT_PROTOTYPES
  8049. GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
  8050. GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
  8051. GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
  8052. #endif
  8053. #endif /* GL_EXT_separate_shader_objects */
  8054. #ifndef GL_EXT_separate_specular_color
  8055. #define GL_EXT_separate_specular_color 1
  8056. #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
  8057. #define GL_SINGLE_COLOR_EXT 0x81F9
  8058. #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
  8059. #endif /* GL_EXT_separate_specular_color */
  8060. #ifndef GL_EXT_shader_framebuffer_fetch
  8061. #define GL_EXT_shader_framebuffer_fetch 1
  8062. #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
  8063. #endif /* GL_EXT_shader_framebuffer_fetch */
  8064. #ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
  8065. #define GL_EXT_shader_framebuffer_fetch_non_coherent 1
  8066. typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
  8067. #ifdef GL_GLEXT_PROTOTYPES
  8068. GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
  8069. #endif
  8070. #endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
  8071. #ifndef GL_EXT_shader_image_load_formatted
  8072. #define GL_EXT_shader_image_load_formatted 1
  8073. #endif /* GL_EXT_shader_image_load_formatted */
  8074. #ifndef GL_EXT_shader_image_load_store
  8075. #define GL_EXT_shader_image_load_store 1
  8076. #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
  8077. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
  8078. #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
  8079. #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
  8080. #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
  8081. #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
  8082. #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
  8083. #define GL_IMAGE_1D_EXT 0x904C
  8084. #define GL_IMAGE_2D_EXT 0x904D
  8085. #define GL_IMAGE_3D_EXT 0x904E
  8086. #define GL_IMAGE_2D_RECT_EXT 0x904F
  8087. #define GL_IMAGE_CUBE_EXT 0x9050
  8088. #define GL_IMAGE_BUFFER_EXT 0x9051
  8089. #define GL_IMAGE_1D_ARRAY_EXT 0x9052
  8090. #define GL_IMAGE_2D_ARRAY_EXT 0x9053
  8091. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  8092. #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
  8093. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
  8094. #define GL_INT_IMAGE_1D_EXT 0x9057
  8095. #define GL_INT_IMAGE_2D_EXT 0x9058
  8096. #define GL_INT_IMAGE_3D_EXT 0x9059
  8097. #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
  8098. #define GL_INT_IMAGE_CUBE_EXT 0x905B
  8099. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  8100. #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
  8101. #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
  8102. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  8103. #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
  8104. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
  8105. #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
  8106. #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
  8107. #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
  8108. #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
  8109. #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
  8110. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  8111. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
  8112. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
  8113. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  8114. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
  8115. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
  8116. #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
  8117. #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
  8118. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
  8119. #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
  8120. #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
  8121. #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
  8122. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
  8123. #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
  8124. #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
  8125. #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
  8126. #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
  8127. #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
  8128. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
  8129. #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
  8130. #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
  8131. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  8132. typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
  8133. #ifdef GL_GLEXT_PROTOTYPES
  8134. GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  8135. GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
  8136. #endif
  8137. #endif /* GL_EXT_shader_image_load_store */
  8138. #ifndef GL_EXT_shader_integer_mix
  8139. #define GL_EXT_shader_integer_mix 1
  8140. #endif /* GL_EXT_shader_integer_mix */
  8141. #ifndef GL_EXT_shader_samples_identical
  8142. #define GL_EXT_shader_samples_identical 1
  8143. #endif /* GL_EXT_shader_samples_identical */
  8144. #ifndef GL_EXT_shadow_funcs
  8145. #define GL_EXT_shadow_funcs 1
  8146. #endif /* GL_EXT_shadow_funcs */
  8147. #ifndef GL_EXT_shared_texture_palette
  8148. #define GL_EXT_shared_texture_palette 1
  8149. #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
  8150. #endif /* GL_EXT_shared_texture_palette */
  8151. #ifndef GL_EXT_sparse_texture2
  8152. #define GL_EXT_sparse_texture2 1
  8153. #endif /* GL_EXT_sparse_texture2 */
  8154. #ifndef GL_EXT_stencil_clear_tag
  8155. #define GL_EXT_stencil_clear_tag 1
  8156. #define GL_STENCIL_TAG_BITS_EXT 0x88F2
  8157. #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
  8158. typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
  8159. #ifdef GL_GLEXT_PROTOTYPES
  8160. GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
  8161. #endif
  8162. #endif /* GL_EXT_stencil_clear_tag */
  8163. #ifndef GL_EXT_stencil_two_side
  8164. #define GL_EXT_stencil_two_side 1
  8165. #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
  8166. #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
  8167. typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
  8168. #ifdef GL_GLEXT_PROTOTYPES
  8169. GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
  8170. #endif
  8171. #endif /* GL_EXT_stencil_two_side */
  8172. #ifndef GL_EXT_stencil_wrap
  8173. #define GL_EXT_stencil_wrap 1
  8174. #define GL_INCR_WRAP_EXT 0x8507
  8175. #define GL_DECR_WRAP_EXT 0x8508
  8176. #endif /* GL_EXT_stencil_wrap */
  8177. #ifndef GL_EXT_subtexture
  8178. #define GL_EXT_subtexture 1
  8179. typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  8180. typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  8181. #ifdef GL_GLEXT_PROTOTYPES
  8182. GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  8183. GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  8184. #endif
  8185. #endif /* GL_EXT_subtexture */
  8186. #ifndef GL_EXT_texture
  8187. #define GL_EXT_texture 1
  8188. #define GL_ALPHA4_EXT 0x803B
  8189. #define GL_ALPHA8_EXT 0x803C
  8190. #define GL_ALPHA12_EXT 0x803D
  8191. #define GL_ALPHA16_EXT 0x803E
  8192. #define GL_LUMINANCE4_EXT 0x803F
  8193. #define GL_LUMINANCE8_EXT 0x8040
  8194. #define GL_LUMINANCE12_EXT 0x8041
  8195. #define GL_LUMINANCE16_EXT 0x8042
  8196. #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
  8197. #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
  8198. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  8199. #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
  8200. #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
  8201. #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
  8202. #define GL_INTENSITY_EXT 0x8049
  8203. #define GL_INTENSITY4_EXT 0x804A
  8204. #define GL_INTENSITY8_EXT 0x804B
  8205. #define GL_INTENSITY12_EXT 0x804C
  8206. #define GL_INTENSITY16_EXT 0x804D
  8207. #define GL_RGB2_EXT 0x804E
  8208. #define GL_RGB4_EXT 0x804F
  8209. #define GL_RGB5_EXT 0x8050
  8210. #define GL_RGB8_EXT 0x8051
  8211. #define GL_RGB10_EXT 0x8052
  8212. #define GL_RGB12_EXT 0x8053
  8213. #define GL_RGB16_EXT 0x8054
  8214. #define GL_RGBA2_EXT 0x8055
  8215. #define GL_RGBA4_EXT 0x8056
  8216. #define GL_RGB5_A1_EXT 0x8057
  8217. #define GL_RGBA8_EXT 0x8058
  8218. #define GL_RGB10_A2_EXT 0x8059
  8219. #define GL_RGBA12_EXT 0x805A
  8220. #define GL_RGBA16_EXT 0x805B
  8221. #define GL_TEXTURE_RED_SIZE_EXT 0x805C
  8222. #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
  8223. #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
  8224. #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
  8225. #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
  8226. #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
  8227. #define GL_REPLACE_EXT 0x8062
  8228. #define GL_PROXY_TEXTURE_1D_EXT 0x8063
  8229. #define GL_PROXY_TEXTURE_2D_EXT 0x8064
  8230. #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
  8231. #endif /* GL_EXT_texture */
  8232. #ifndef GL_EXT_texture3D
  8233. #define GL_EXT_texture3D 1
  8234. #define GL_PACK_SKIP_IMAGES_EXT 0x806B
  8235. #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
  8236. #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
  8237. #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
  8238. #define GL_TEXTURE_3D_EXT 0x806F
  8239. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  8240. #define GL_TEXTURE_DEPTH_EXT 0x8071
  8241. #define GL_TEXTURE_WRAP_R_EXT 0x8072
  8242. #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
  8243. 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);
  8244. 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);
  8245. #ifdef GL_GLEXT_PROTOTYPES
  8246. 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);
  8247. 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);
  8248. #endif
  8249. #endif /* GL_EXT_texture3D */
  8250. #ifndef GL_EXT_texture_array
  8251. #define GL_EXT_texture_array 1
  8252. #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
  8253. #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
  8254. #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
  8255. #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
  8256. #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
  8257. #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
  8258. #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
  8259. #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
  8260. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8261. #ifdef GL_GLEXT_PROTOTYPES
  8262. GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8263. #endif
  8264. #endif /* GL_EXT_texture_array */
  8265. #ifndef GL_EXT_texture_buffer_object
  8266. #define GL_EXT_texture_buffer_object 1
  8267. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  8268. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  8269. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  8270. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  8271. #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
  8272. typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  8273. #ifdef GL_GLEXT_PROTOTYPES
  8274. GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
  8275. #endif
  8276. #endif /* GL_EXT_texture_buffer_object */
  8277. #ifndef GL_EXT_texture_compression_latc
  8278. #define GL_EXT_texture_compression_latc 1
  8279. #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
  8280. #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
  8281. #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
  8282. #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
  8283. #endif /* GL_EXT_texture_compression_latc */
  8284. #ifndef GL_EXT_texture_compression_rgtc
  8285. #define GL_EXT_texture_compression_rgtc 1
  8286. #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
  8287. #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  8288. #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  8289. #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  8290. #endif /* GL_EXT_texture_compression_rgtc */
  8291. #ifndef GL_EXT_texture_compression_s3tc
  8292. #define GL_EXT_texture_compression_s3tc 1
  8293. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  8294. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  8295. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  8296. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  8297. #endif /* GL_EXT_texture_compression_s3tc */
  8298. #ifndef GL_EXT_texture_cube_map
  8299. #define GL_EXT_texture_cube_map 1
  8300. #define GL_NORMAL_MAP_EXT 0x8511
  8301. #define GL_REFLECTION_MAP_EXT 0x8512
  8302. #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
  8303. #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
  8304. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  8305. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  8306. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  8307. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  8308. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  8309. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  8310. #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
  8311. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
  8312. #endif /* GL_EXT_texture_cube_map */
  8313. #ifndef GL_EXT_texture_env_add
  8314. #define GL_EXT_texture_env_add 1
  8315. #endif /* GL_EXT_texture_env_add */
  8316. #ifndef GL_EXT_texture_env_combine
  8317. #define GL_EXT_texture_env_combine 1
  8318. #define GL_COMBINE_EXT 0x8570
  8319. #define GL_COMBINE_RGB_EXT 0x8571
  8320. #define GL_COMBINE_ALPHA_EXT 0x8572
  8321. #define GL_RGB_SCALE_EXT 0x8573
  8322. #define GL_ADD_SIGNED_EXT 0x8574
  8323. #define GL_INTERPOLATE_EXT 0x8575
  8324. #define GL_CONSTANT_EXT 0x8576
  8325. #define GL_PRIMARY_COLOR_EXT 0x8577
  8326. #define GL_PREVIOUS_EXT 0x8578
  8327. #define GL_SOURCE0_RGB_EXT 0x8580
  8328. #define GL_SOURCE1_RGB_EXT 0x8581
  8329. #define GL_SOURCE2_RGB_EXT 0x8582
  8330. #define GL_SOURCE0_ALPHA_EXT 0x8588
  8331. #define GL_SOURCE1_ALPHA_EXT 0x8589
  8332. #define GL_SOURCE2_ALPHA_EXT 0x858A
  8333. #define GL_OPERAND0_RGB_EXT 0x8590
  8334. #define GL_OPERAND1_RGB_EXT 0x8591
  8335. #define GL_OPERAND2_RGB_EXT 0x8592
  8336. #define GL_OPERAND0_ALPHA_EXT 0x8598
  8337. #define GL_OPERAND1_ALPHA_EXT 0x8599
  8338. #define GL_OPERAND2_ALPHA_EXT 0x859A
  8339. #endif /* GL_EXT_texture_env_combine */
  8340. #ifndef GL_EXT_texture_env_dot3
  8341. #define GL_EXT_texture_env_dot3 1
  8342. #define GL_DOT3_RGB_EXT 0x8740
  8343. #define GL_DOT3_RGBA_EXT 0x8741
  8344. #endif /* GL_EXT_texture_env_dot3 */
  8345. #ifndef GL_EXT_texture_filter_anisotropic
  8346. #define GL_EXT_texture_filter_anisotropic 1
  8347. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  8348. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  8349. #endif /* GL_EXT_texture_filter_anisotropic */
  8350. #ifndef GL_EXT_texture_filter_minmax
  8351. #define GL_EXT_texture_filter_minmax 1
  8352. #define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
  8353. #define GL_WEIGHTED_AVERAGE_EXT 0x9367
  8354. #endif /* GL_EXT_texture_filter_minmax */
  8355. #ifndef GL_EXT_texture_integer
  8356. #define GL_EXT_texture_integer 1
  8357. #define GL_RGBA32UI_EXT 0x8D70
  8358. #define GL_RGB32UI_EXT 0x8D71
  8359. #define GL_ALPHA32UI_EXT 0x8D72
  8360. #define GL_INTENSITY32UI_EXT 0x8D73
  8361. #define GL_LUMINANCE32UI_EXT 0x8D74
  8362. #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
  8363. #define GL_RGBA16UI_EXT 0x8D76
  8364. #define GL_RGB16UI_EXT 0x8D77
  8365. #define GL_ALPHA16UI_EXT 0x8D78
  8366. #define GL_INTENSITY16UI_EXT 0x8D79
  8367. #define GL_LUMINANCE16UI_EXT 0x8D7A
  8368. #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
  8369. #define GL_RGBA8UI_EXT 0x8D7C
  8370. #define GL_RGB8UI_EXT 0x8D7D
  8371. #define GL_ALPHA8UI_EXT 0x8D7E
  8372. #define GL_INTENSITY8UI_EXT 0x8D7F
  8373. #define GL_LUMINANCE8UI_EXT 0x8D80
  8374. #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
  8375. #define GL_RGBA32I_EXT 0x8D82
  8376. #define GL_RGB32I_EXT 0x8D83
  8377. #define GL_ALPHA32I_EXT 0x8D84
  8378. #define GL_INTENSITY32I_EXT 0x8D85
  8379. #define GL_LUMINANCE32I_EXT 0x8D86
  8380. #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
  8381. #define GL_RGBA16I_EXT 0x8D88
  8382. #define GL_RGB16I_EXT 0x8D89
  8383. #define GL_ALPHA16I_EXT 0x8D8A
  8384. #define GL_INTENSITY16I_EXT 0x8D8B
  8385. #define GL_LUMINANCE16I_EXT 0x8D8C
  8386. #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
  8387. #define GL_RGBA8I_EXT 0x8D8E
  8388. #define GL_RGB8I_EXT 0x8D8F
  8389. #define GL_ALPHA8I_EXT 0x8D90
  8390. #define GL_INTENSITY8I_EXT 0x8D91
  8391. #define GL_LUMINANCE8I_EXT 0x8D92
  8392. #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
  8393. #define GL_RED_INTEGER_EXT 0x8D94
  8394. #define GL_GREEN_INTEGER_EXT 0x8D95
  8395. #define GL_BLUE_INTEGER_EXT 0x8D96
  8396. #define GL_ALPHA_INTEGER_EXT 0x8D97
  8397. #define GL_RGB_INTEGER_EXT 0x8D98
  8398. #define GL_RGBA_INTEGER_EXT 0x8D99
  8399. #define GL_BGR_INTEGER_EXT 0x8D9A
  8400. #define GL_BGRA_INTEGER_EXT 0x8D9B
  8401. #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
  8402. #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
  8403. #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
  8404. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  8405. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  8406. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8407. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  8408. typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  8409. typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  8410. #ifdef GL_GLEXT_PROTOTYPES
  8411. GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
  8412. GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
  8413. GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
  8414. GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
  8415. GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
  8416. GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  8417. #endif
  8418. #endif /* GL_EXT_texture_integer */
  8419. #ifndef GL_EXT_texture_lod_bias
  8420. #define GL_EXT_texture_lod_bias 1
  8421. #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
  8422. #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
  8423. #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
  8424. #endif /* GL_EXT_texture_lod_bias */
  8425. #ifndef GL_EXT_texture_mirror_clamp
  8426. #define GL_EXT_texture_mirror_clamp 1
  8427. #define GL_MIRROR_CLAMP_EXT 0x8742
  8428. #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
  8429. #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
  8430. #endif /* GL_EXT_texture_mirror_clamp */
  8431. #ifndef GL_EXT_texture_object
  8432. #define GL_EXT_texture_object 1
  8433. #define GL_TEXTURE_PRIORITY_EXT 0x8066
  8434. #define GL_TEXTURE_RESIDENT_EXT 0x8067
  8435. #define GL_TEXTURE_1D_BINDING_EXT 0x8068
  8436. #define GL_TEXTURE_2D_BINDING_EXT 0x8069
  8437. #define GL_TEXTURE_3D_BINDING_EXT 0x806A
  8438. typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  8439. typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  8440. typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  8441. typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  8442. typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  8443. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  8444. #ifdef GL_GLEXT_PROTOTYPES
  8445. GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
  8446. GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
  8447. GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
  8448. GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
  8449. GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
  8450. GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  8451. #endif
  8452. #endif /* GL_EXT_texture_object */
  8453. #ifndef GL_EXT_texture_perturb_normal
  8454. #define GL_EXT_texture_perturb_normal 1
  8455. #define GL_PERTURB_EXT 0x85AE
  8456. #define GL_TEXTURE_NORMAL_EXT 0x85AF
  8457. typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  8458. #ifdef GL_GLEXT_PROTOTYPES
  8459. GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
  8460. #endif
  8461. #endif /* GL_EXT_texture_perturb_normal */
  8462. #ifndef GL_EXT_texture_sRGB
  8463. #define GL_EXT_texture_sRGB 1
  8464. #define GL_SRGB_EXT 0x8C40
  8465. #define GL_SRGB8_EXT 0x8C41
  8466. #define GL_SRGB_ALPHA_EXT 0x8C42
  8467. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  8468. #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
  8469. #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
  8470. #define GL_SLUMINANCE_EXT 0x8C46
  8471. #define GL_SLUMINANCE8_EXT 0x8C47
  8472. #define GL_COMPRESSED_SRGB_EXT 0x8C48
  8473. #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
  8474. #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
  8475. #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
  8476. #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
  8477. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  8478. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  8479. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  8480. #endif /* GL_EXT_texture_sRGB */
  8481. #ifndef GL_EXT_texture_sRGB_R8
  8482. #define GL_EXT_texture_sRGB_R8 1
  8483. #define GL_SR8_EXT 0x8FBD
  8484. #endif /* GL_EXT_texture_sRGB_R8 */
  8485. #ifndef GL_EXT_texture_sRGB_RG8
  8486. #define GL_EXT_texture_sRGB_RG8 1
  8487. #define GL_SRG8_EXT 0x8FBE
  8488. #endif /* GL_EXT_texture_sRGB_RG8 */
  8489. #ifndef GL_EXT_texture_sRGB_decode
  8490. #define GL_EXT_texture_sRGB_decode 1
  8491. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  8492. #define GL_DECODE_EXT 0x8A49
  8493. #define GL_SKIP_DECODE_EXT 0x8A4A
  8494. #endif /* GL_EXT_texture_sRGB_decode */
  8495. #ifndef GL_EXT_texture_shadow_lod
  8496. #define GL_EXT_texture_shadow_lod 1
  8497. #endif /* GL_EXT_texture_shadow_lod */
  8498. #ifndef GL_EXT_texture_shared_exponent
  8499. #define GL_EXT_texture_shared_exponent 1
  8500. #define GL_RGB9_E5_EXT 0x8C3D
  8501. #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
  8502. #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
  8503. #endif /* GL_EXT_texture_shared_exponent */
  8504. #ifndef GL_EXT_texture_snorm
  8505. #define GL_EXT_texture_snorm 1
  8506. #define GL_ALPHA_SNORM 0x9010
  8507. #define GL_LUMINANCE_SNORM 0x9011
  8508. #define GL_LUMINANCE_ALPHA_SNORM 0x9012
  8509. #define GL_INTENSITY_SNORM 0x9013
  8510. #define GL_ALPHA8_SNORM 0x9014
  8511. #define GL_LUMINANCE8_SNORM 0x9015
  8512. #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
  8513. #define GL_INTENSITY8_SNORM 0x9017
  8514. #define GL_ALPHA16_SNORM 0x9018
  8515. #define GL_LUMINANCE16_SNORM 0x9019
  8516. #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
  8517. #define GL_INTENSITY16_SNORM 0x901B
  8518. #define GL_RED_SNORM 0x8F90
  8519. #define GL_RG_SNORM 0x8F91
  8520. #define GL_RGB_SNORM 0x8F92
  8521. #define GL_RGBA_SNORM 0x8F93
  8522. #endif /* GL_EXT_texture_snorm */
  8523. #ifndef GL_EXT_texture_storage
  8524. #define GL_EXT_texture_storage 1
  8525. #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
  8526. #define GL_RGBA32F_EXT 0x8814
  8527. #define GL_RGB32F_EXT 0x8815
  8528. #define GL_ALPHA32F_EXT 0x8816
  8529. #define GL_LUMINANCE32F_EXT 0x8818
  8530. #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
  8531. #define GL_RGBA16F_EXT 0x881A
  8532. #define GL_RGB16F_EXT 0x881B
  8533. #define GL_ALPHA16F_EXT 0x881C
  8534. #define GL_LUMINANCE16F_EXT 0x881E
  8535. #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
  8536. #define GL_BGRA8_EXT 0x93A1
  8537. #define GL_R8_EXT 0x8229
  8538. #define GL_RG8_EXT 0x822B
  8539. #define GL_R32F_EXT 0x822E
  8540. #define GL_RG32F_EXT 0x8230
  8541. #define GL_R16F_EXT 0x822D
  8542. #define GL_RG16F_EXT 0x822F
  8543. typedef void (APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  8544. typedef void (APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  8545. typedef void (APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  8546. #ifdef GL_GLEXT_PROTOTYPES
  8547. GLAPI void APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  8548. GLAPI void APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  8549. GLAPI void APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  8550. #endif
  8551. #endif /* GL_EXT_texture_storage */
  8552. #ifndef GL_EXT_texture_swizzle
  8553. #define GL_EXT_texture_swizzle 1
  8554. #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
  8555. #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
  8556. #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
  8557. #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
  8558. #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
  8559. #endif /* GL_EXT_texture_swizzle */
  8560. #ifndef GL_EXT_timer_query
  8561. #define GL_EXT_timer_query 1
  8562. #define GL_TIME_ELAPSED_EXT 0x88BF
  8563. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
  8564. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
  8565. #ifdef GL_GLEXT_PROTOTYPES
  8566. GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
  8567. GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
  8568. #endif
  8569. #endif /* GL_EXT_timer_query */
  8570. #ifndef GL_EXT_transform_feedback
  8571. #define GL_EXT_transform_feedback 1
  8572. #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
  8573. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
  8574. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
  8575. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
  8576. #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
  8577. #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
  8578. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  8579. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
  8580. #define GL_RASTERIZER_DISCARD_EXT 0x8C89
  8581. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
  8582. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
  8583. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
  8584. #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
  8585. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
  8586. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
  8587. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
  8588. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
  8589. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8590. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  8591. typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
  8592. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  8593. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  8594. #ifdef GL_GLEXT_PROTOTYPES
  8595. GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
  8596. GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
  8597. GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8598. GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  8599. GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
  8600. GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  8601. GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  8602. #endif
  8603. #endif /* GL_EXT_transform_feedback */
  8604. #ifndef GL_EXT_vertex_array
  8605. #define GL_EXT_vertex_array 1
  8606. #define GL_VERTEX_ARRAY_EXT 0x8074
  8607. #define GL_NORMAL_ARRAY_EXT 0x8075
  8608. #define GL_COLOR_ARRAY_EXT 0x8076
  8609. #define GL_INDEX_ARRAY_EXT 0x8077
  8610. #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
  8611. #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
  8612. #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
  8613. #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
  8614. #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
  8615. #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
  8616. #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
  8617. #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
  8618. #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
  8619. #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
  8620. #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
  8621. #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
  8622. #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
  8623. #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
  8624. #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
  8625. #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
  8626. #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
  8627. #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
  8628. #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  8629. #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
  8630. #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
  8631. #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
  8632. #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
  8633. #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
  8634. #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
  8635. #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
  8636. #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  8637. #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
  8638. typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  8639. typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8640. typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  8641. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  8642. typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params);
  8643. typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8644. typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8645. typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8646. typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8647. #ifdef GL_GLEXT_PROTOTYPES
  8648. GLAPI void APIENTRY glArrayElementEXT (GLint i);
  8649. GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8650. GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
  8651. GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
  8652. GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params);
  8653. GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8654. GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8655. GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8656. GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer);
  8657. #endif
  8658. #endif /* GL_EXT_vertex_array */
  8659. #ifndef GL_EXT_vertex_array_bgra
  8660. #define GL_EXT_vertex_array_bgra 1
  8661. #endif /* GL_EXT_vertex_array_bgra */
  8662. #ifndef GL_EXT_vertex_attrib_64bit
  8663. #define GL_EXT_vertex_attrib_64bit 1
  8664. #define GL_DOUBLE_VEC2_EXT 0x8FFC
  8665. #define GL_DOUBLE_VEC3_EXT 0x8FFD
  8666. #define GL_DOUBLE_VEC4_EXT 0x8FFE
  8667. #define GL_DOUBLE_MAT2_EXT 0x8F46
  8668. #define GL_DOUBLE_MAT3_EXT 0x8F47
  8669. #define GL_DOUBLE_MAT4_EXT 0x8F48
  8670. #define GL_DOUBLE_MAT2x3_EXT 0x8F49
  8671. #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
  8672. #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
  8673. #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
  8674. #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
  8675. #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
  8676. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
  8677. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
  8678. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  8679. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8680. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
  8681. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
  8682. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
  8683. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
  8684. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  8685. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
  8686. #ifdef GL_GLEXT_PROTOTYPES
  8687. GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
  8688. GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
  8689. GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  8690. GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8691. GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
  8692. GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
  8693. GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
  8694. GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
  8695. GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  8696. GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
  8697. #endif
  8698. #endif /* GL_EXT_vertex_attrib_64bit */
  8699. #ifndef GL_EXT_vertex_shader
  8700. #define GL_EXT_vertex_shader 1
  8701. #define GL_VERTEX_SHADER_EXT 0x8780
  8702. #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
  8703. #define GL_OP_INDEX_EXT 0x8782
  8704. #define GL_OP_NEGATE_EXT 0x8783
  8705. #define GL_OP_DOT3_EXT 0x8784
  8706. #define GL_OP_DOT4_EXT 0x8785
  8707. #define GL_OP_MUL_EXT 0x8786
  8708. #define GL_OP_ADD_EXT 0x8787
  8709. #define GL_OP_MADD_EXT 0x8788
  8710. #define GL_OP_FRAC_EXT 0x8789
  8711. #define GL_OP_MAX_EXT 0x878A
  8712. #define GL_OP_MIN_EXT 0x878B
  8713. #define GL_OP_SET_GE_EXT 0x878C
  8714. #define GL_OP_SET_LT_EXT 0x878D
  8715. #define GL_OP_CLAMP_EXT 0x878E
  8716. #define GL_OP_FLOOR_EXT 0x878F
  8717. #define GL_OP_ROUND_EXT 0x8790
  8718. #define GL_OP_EXP_BASE_2_EXT 0x8791
  8719. #define GL_OP_LOG_BASE_2_EXT 0x8792
  8720. #define GL_OP_POWER_EXT 0x8793
  8721. #define GL_OP_RECIP_EXT 0x8794
  8722. #define GL_OP_RECIP_SQRT_EXT 0x8795
  8723. #define GL_OP_SUB_EXT 0x8796
  8724. #define GL_OP_CROSS_PRODUCT_EXT 0x8797
  8725. #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
  8726. #define GL_OP_MOV_EXT 0x8799
  8727. #define GL_OUTPUT_VERTEX_EXT 0x879A
  8728. #define GL_OUTPUT_COLOR0_EXT 0x879B
  8729. #define GL_OUTPUT_COLOR1_EXT 0x879C
  8730. #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
  8731. #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
  8732. #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
  8733. #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
  8734. #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
  8735. #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
  8736. #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
  8737. #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
  8738. #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
  8739. #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
  8740. #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
  8741. #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
  8742. #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
  8743. #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
  8744. #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
  8745. #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
  8746. #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
  8747. #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
  8748. #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
  8749. #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
  8750. #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
  8751. #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
  8752. #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
  8753. #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
  8754. #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
  8755. #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
  8756. #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
  8757. #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
  8758. #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
  8759. #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
  8760. #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
  8761. #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
  8762. #define GL_OUTPUT_FOG_EXT 0x87BD
  8763. #define GL_SCALAR_EXT 0x87BE
  8764. #define GL_VECTOR_EXT 0x87BF
  8765. #define GL_MATRIX_EXT 0x87C0
  8766. #define GL_VARIANT_EXT 0x87C1
  8767. #define GL_INVARIANT_EXT 0x87C2
  8768. #define GL_LOCAL_CONSTANT_EXT 0x87C3
  8769. #define GL_LOCAL_EXT 0x87C4
  8770. #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  8771. #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  8772. #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  8773. #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  8774. #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
  8775. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  8776. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  8777. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
  8778. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
  8779. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  8780. #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  8781. #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
  8782. #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
  8783. #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  8784. #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
  8785. #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
  8786. #define GL_X_EXT 0x87D5
  8787. #define GL_Y_EXT 0x87D6
  8788. #define GL_Z_EXT 0x87D7
  8789. #define GL_W_EXT 0x87D8
  8790. #define GL_NEGATIVE_X_EXT 0x87D9
  8791. #define GL_NEGATIVE_Y_EXT 0x87DA
  8792. #define GL_NEGATIVE_Z_EXT 0x87DB
  8793. #define GL_NEGATIVE_W_EXT 0x87DC
  8794. #define GL_ZERO_EXT 0x87DD
  8795. #define GL_ONE_EXT 0x87DE
  8796. #define GL_NEGATIVE_ONE_EXT 0x87DF
  8797. #define GL_NORMALIZED_RANGE_EXT 0x87E0
  8798. #define GL_FULL_RANGE_EXT 0x87E1
  8799. #define GL_CURRENT_VERTEX_EXT 0x87E2
  8800. #define GL_MVP_MATRIX_EXT 0x87E3
  8801. #define GL_VARIANT_VALUE_EXT 0x87E4
  8802. #define GL_VARIANT_DATATYPE_EXT 0x87E5
  8803. #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
  8804. #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
  8805. #define GL_VARIANT_ARRAY_EXT 0x87E8
  8806. #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
  8807. #define GL_INVARIANT_VALUE_EXT 0x87EA
  8808. #define GL_INVARIANT_DATATYPE_EXT 0x87EB
  8809. #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
  8810. #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
  8811. typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
  8812. typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
  8813. typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
  8814. typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
  8815. typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
  8816. typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
  8817. typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  8818. typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  8819. typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8820. typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8821. typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  8822. typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  8823. typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  8824. typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr);
  8825. typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr);
  8826. typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
  8827. typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
  8828. typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
  8829. typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
  8830. typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
  8831. typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
  8832. typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
  8833. typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
  8834. typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr);
  8835. typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  8836. typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  8837. typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
  8838. typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
  8839. typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
  8840. typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
  8841. typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
  8842. typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
  8843. typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8844. typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8845. typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8846. typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data);
  8847. typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8848. typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8849. typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8850. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8851. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8852. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8853. #ifdef GL_GLEXT_PROTOTYPES
  8854. GLAPI void APIENTRY glBeginVertexShaderEXT (void);
  8855. GLAPI void APIENTRY glEndVertexShaderEXT (void);
  8856. GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
  8857. GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
  8858. GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
  8859. GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
  8860. GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  8861. GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  8862. GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8863. GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8864. GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
  8865. GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
  8866. GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  8867. GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr);
  8868. GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr);
  8869. GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
  8870. GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
  8871. GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
  8872. GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
  8873. GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
  8874. GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
  8875. GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
  8876. GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
  8877. GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr);
  8878. GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
  8879. GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
  8880. GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
  8881. GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
  8882. GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
  8883. GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
  8884. GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
  8885. GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
  8886. GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8887. GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8888. GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8889. GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data);
  8890. GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8891. GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8892. GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8893. GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  8894. GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
  8895. GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  8896. #endif
  8897. #endif /* GL_EXT_vertex_shader */
  8898. #ifndef GL_EXT_vertex_weighting
  8899. #define GL_EXT_vertex_weighting 1
  8900. #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
  8901. #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
  8902. #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
  8903. #define GL_MODELVIEW1_MATRIX_EXT 0x8506
  8904. #define GL_VERTEX_WEIGHTING_EXT 0x8509
  8905. #define GL_MODELVIEW0_EXT 0x1700
  8906. #define GL_MODELVIEW1_EXT 0x850A
  8907. #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
  8908. #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
  8909. #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
  8910. #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
  8911. #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  8912. #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  8913. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  8914. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  8915. typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
  8916. #ifdef GL_GLEXT_PROTOTYPES
  8917. GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
  8918. GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
  8919. GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer);
  8920. #endif
  8921. #endif /* GL_EXT_vertex_weighting */
  8922. #ifndef GL_EXT_win32_keyed_mutex
  8923. #define GL_EXT_win32_keyed_mutex 1
  8924. typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
  8925. typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
  8926. #ifdef GL_GLEXT_PROTOTYPES
  8927. GLAPI GLboolean APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
  8928. GLAPI GLboolean APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
  8929. #endif
  8930. #endif /* GL_EXT_win32_keyed_mutex */
  8931. #ifndef GL_EXT_window_rectangles
  8932. #define GL_EXT_window_rectangles 1
  8933. #define GL_INCLUSIVE_EXT 0x8F10
  8934. #define GL_EXCLUSIVE_EXT 0x8F11
  8935. #define GL_WINDOW_RECTANGLE_EXT 0x8F12
  8936. #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
  8937. #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
  8938. #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
  8939. typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
  8940. #ifdef GL_GLEXT_PROTOTYPES
  8941. GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
  8942. #endif
  8943. #endif /* GL_EXT_window_rectangles */
  8944. #ifndef GL_EXT_x11_sync_object
  8945. #define GL_EXT_x11_sync_object 1
  8946. #define GL_SYNC_X11_FENCE_EXT 0x90E1
  8947. typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  8948. #ifdef GL_GLEXT_PROTOTYPES
  8949. GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  8950. #endif
  8951. #endif /* GL_EXT_x11_sync_object */
  8952. #ifndef GL_GREMEDY_frame_terminator
  8953. #define GL_GREMEDY_frame_terminator 1
  8954. typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
  8955. #ifdef GL_GLEXT_PROTOTYPES
  8956. GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
  8957. #endif
  8958. #endif /* GL_GREMEDY_frame_terminator */
  8959. #ifndef GL_GREMEDY_string_marker
  8960. #define GL_GREMEDY_string_marker 1
  8961. typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string);
  8962. #ifdef GL_GLEXT_PROTOTYPES
  8963. GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string);
  8964. #endif
  8965. #endif /* GL_GREMEDY_string_marker */
  8966. #ifndef GL_HP_convolution_border_modes
  8967. #define GL_HP_convolution_border_modes 1
  8968. #define GL_IGNORE_BORDER_HP 0x8150
  8969. #define GL_CONSTANT_BORDER_HP 0x8151
  8970. #define GL_REPLICATE_BORDER_HP 0x8153
  8971. #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
  8972. #endif /* GL_HP_convolution_border_modes */
  8973. #ifndef GL_HP_image_transform
  8974. #define GL_HP_image_transform 1
  8975. #define GL_IMAGE_SCALE_X_HP 0x8155
  8976. #define GL_IMAGE_SCALE_Y_HP 0x8156
  8977. #define GL_IMAGE_TRANSLATE_X_HP 0x8157
  8978. #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
  8979. #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
  8980. #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
  8981. #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
  8982. #define GL_IMAGE_MAG_FILTER_HP 0x815C
  8983. #define GL_IMAGE_MIN_FILTER_HP 0x815D
  8984. #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
  8985. #define GL_CUBIC_HP 0x815F
  8986. #define GL_AVERAGE_HP 0x8160
  8987. #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
  8988. #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  8989. #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  8990. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  8991. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  8992. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  8993. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8994. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  8995. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  8996. #ifdef GL_GLEXT_PROTOTYPES
  8997. GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
  8998. GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
  8999. GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
  9000. GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
  9001. GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
  9002. GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
  9003. #endif
  9004. #endif /* GL_HP_image_transform */
  9005. #ifndef GL_HP_occlusion_test
  9006. #define GL_HP_occlusion_test 1
  9007. #define GL_OCCLUSION_TEST_HP 0x8165
  9008. #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
  9009. #endif /* GL_HP_occlusion_test */
  9010. #ifndef GL_HP_texture_lighting
  9011. #define GL_HP_texture_lighting 1
  9012. #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
  9013. #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
  9014. #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
  9015. #endif /* GL_HP_texture_lighting */
  9016. #ifndef GL_IBM_cull_vertex
  9017. #define GL_IBM_cull_vertex 1
  9018. #define GL_CULL_VERTEX_IBM 103050
  9019. #endif /* GL_IBM_cull_vertex */
  9020. #ifndef GL_IBM_multimode_draw_arrays
  9021. #define GL_IBM_multimode_draw_arrays 1
  9022. typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  9023. typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
  9024. #ifdef GL_GLEXT_PROTOTYPES
  9025. GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  9026. GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride);
  9027. #endif
  9028. #endif /* GL_IBM_multimode_draw_arrays */
  9029. #ifndef GL_IBM_rasterpos_clip
  9030. #define GL_IBM_rasterpos_clip 1
  9031. #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
  9032. #endif /* GL_IBM_rasterpos_clip */
  9033. #ifndef GL_IBM_static_data
  9034. #define GL_IBM_static_data 1
  9035. #define GL_ALL_STATIC_DATA_IBM 103060
  9036. #define GL_STATIC_VERTEX_ARRAY_IBM 103061
  9037. typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target);
  9038. #ifdef GL_GLEXT_PROTOTYPES
  9039. GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target);
  9040. #endif
  9041. #endif /* GL_IBM_static_data */
  9042. #ifndef GL_IBM_texture_mirrored_repeat
  9043. #define GL_IBM_texture_mirrored_repeat 1
  9044. #define GL_MIRRORED_REPEAT_IBM 0x8370
  9045. #endif /* GL_IBM_texture_mirrored_repeat */
  9046. #ifndef GL_IBM_vertex_array_lists
  9047. #define GL_IBM_vertex_array_lists 1
  9048. #define GL_VERTEX_ARRAY_LIST_IBM 103070
  9049. #define GL_NORMAL_ARRAY_LIST_IBM 103071
  9050. #define GL_COLOR_ARRAY_LIST_IBM 103072
  9051. #define GL_INDEX_ARRAY_LIST_IBM 103073
  9052. #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
  9053. #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
  9054. #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
  9055. #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  9056. #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
  9057. #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
  9058. #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
  9059. #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
  9060. #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  9061. #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  9062. #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  9063. #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  9064. typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9065. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9066. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride);
  9067. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9068. typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9069. typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9070. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9071. typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9072. #ifdef GL_GLEXT_PROTOTYPES
  9073. GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9074. GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9075. GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride);
  9076. GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9077. GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9078. GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9079. GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9080. GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride);
  9081. #endif
  9082. #endif /* GL_IBM_vertex_array_lists */
  9083. #ifndef GL_INGR_blend_func_separate
  9084. #define GL_INGR_blend_func_separate 1
  9085. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  9086. #ifdef GL_GLEXT_PROTOTYPES
  9087. GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  9088. #endif
  9089. #endif /* GL_INGR_blend_func_separate */
  9090. #ifndef GL_INGR_color_clamp
  9091. #define GL_INGR_color_clamp 1
  9092. #define GL_RED_MIN_CLAMP_INGR 0x8560
  9093. #define GL_GREEN_MIN_CLAMP_INGR 0x8561
  9094. #define GL_BLUE_MIN_CLAMP_INGR 0x8562
  9095. #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
  9096. #define GL_RED_MAX_CLAMP_INGR 0x8564
  9097. #define GL_GREEN_MAX_CLAMP_INGR 0x8565
  9098. #define GL_BLUE_MAX_CLAMP_INGR 0x8566
  9099. #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
  9100. #endif /* GL_INGR_color_clamp */
  9101. #ifndef GL_INGR_interlace_read
  9102. #define GL_INGR_interlace_read 1
  9103. #define GL_INTERLACE_READ_INGR 0x8568
  9104. #endif /* GL_INGR_interlace_read */
  9105. #ifndef GL_INTEL_blackhole_render
  9106. #define GL_INTEL_blackhole_render 1
  9107. #define GL_BLACKHOLE_RENDER_INTEL 0x83FC
  9108. #endif /* GL_INTEL_blackhole_render */
  9109. #ifndef GL_INTEL_conservative_rasterization
  9110. #define GL_INTEL_conservative_rasterization 1
  9111. #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
  9112. #endif /* GL_INTEL_conservative_rasterization */
  9113. #ifndef GL_INTEL_fragment_shader_ordering
  9114. #define GL_INTEL_fragment_shader_ordering 1
  9115. #endif /* GL_INTEL_fragment_shader_ordering */
  9116. #ifndef GL_INTEL_framebuffer_CMAA
  9117. #define GL_INTEL_framebuffer_CMAA 1
  9118. typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
  9119. #ifdef GL_GLEXT_PROTOTYPES
  9120. GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
  9121. #endif
  9122. #endif /* GL_INTEL_framebuffer_CMAA */
  9123. #ifndef GL_INTEL_map_texture
  9124. #define GL_INTEL_map_texture 1
  9125. #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
  9126. #define GL_LAYOUT_DEFAULT_INTEL 0
  9127. #define GL_LAYOUT_LINEAR_INTEL 1
  9128. #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
  9129. typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
  9130. typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
  9131. typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
  9132. #ifdef GL_GLEXT_PROTOTYPES
  9133. GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture);
  9134. GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level);
  9135. GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout);
  9136. #endif
  9137. #endif /* GL_INTEL_map_texture */
  9138. #ifndef GL_INTEL_parallel_arrays
  9139. #define GL_INTEL_parallel_arrays 1
  9140. #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
  9141. #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  9142. #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  9143. #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  9144. #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  9145. typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  9146. typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer);
  9147. typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  9148. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer);
  9149. #ifdef GL_GLEXT_PROTOTYPES
  9150. GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer);
  9151. GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer);
  9152. GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer);
  9153. GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer);
  9154. #endif
  9155. #endif /* GL_INTEL_parallel_arrays */
  9156. #ifndef GL_INTEL_performance_query
  9157. #define GL_INTEL_performance_query 1
  9158. #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
  9159. #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
  9160. #define GL_PERFQUERY_WAIT_INTEL 0x83FB
  9161. #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
  9162. #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
  9163. #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
  9164. #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
  9165. #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
  9166. #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
  9167. #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
  9168. #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
  9169. #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
  9170. #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
  9171. #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
  9172. #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
  9173. #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
  9174. #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
  9175. #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
  9176. #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
  9177. #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
  9178. typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
  9179. typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
  9180. typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
  9181. typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
  9182. typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
  9183. typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
  9184. 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);
  9185. typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
  9186. typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
  9187. typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  9188. #ifdef GL_GLEXT_PROTOTYPES
  9189. GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
  9190. GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
  9191. GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
  9192. GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
  9193. GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
  9194. GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
  9195. 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);
  9196. GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
  9197. GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
  9198. GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  9199. #endif
  9200. #endif /* GL_INTEL_performance_query */
  9201. #ifndef GL_MESAX_texture_stack
  9202. #define GL_MESAX_texture_stack 1
  9203. #define GL_TEXTURE_1D_STACK_MESAX 0x8759
  9204. #define GL_TEXTURE_2D_STACK_MESAX 0x875A
  9205. #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
  9206. #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
  9207. #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
  9208. #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
  9209. #endif /* GL_MESAX_texture_stack */
  9210. #ifndef GL_MESA_framebuffer_flip_x
  9211. #define GL_MESA_framebuffer_flip_x 1
  9212. #define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
  9213. #endif /* GL_MESA_framebuffer_flip_x */
  9214. #ifndef GL_MESA_framebuffer_flip_y
  9215. #define GL_MESA_framebuffer_flip_y 1
  9216. #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
  9217. typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param);
  9218. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params);
  9219. #ifdef GL_GLEXT_PROTOTYPES
  9220. GLAPI void APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param);
  9221. GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params);
  9222. #endif
  9223. #endif /* GL_MESA_framebuffer_flip_y */
  9224. #ifndef GL_MESA_framebuffer_swap_xy
  9225. #define GL_MESA_framebuffer_swap_xy 1
  9226. #define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
  9227. #endif /* GL_MESA_framebuffer_swap_xy */
  9228. #ifndef GL_MESA_pack_invert
  9229. #define GL_MESA_pack_invert 1
  9230. #define GL_PACK_INVERT_MESA 0x8758
  9231. #endif /* GL_MESA_pack_invert */
  9232. #ifndef GL_MESA_program_binary_formats
  9233. #define GL_MESA_program_binary_formats 1
  9234. #define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
  9235. #endif /* GL_MESA_program_binary_formats */
  9236. #ifndef GL_MESA_resize_buffers
  9237. #define GL_MESA_resize_buffers 1
  9238. typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  9239. #ifdef GL_GLEXT_PROTOTYPES
  9240. GLAPI void APIENTRY glResizeBuffersMESA (void);
  9241. #endif
  9242. #endif /* GL_MESA_resize_buffers */
  9243. #ifndef GL_MESA_shader_integer_functions
  9244. #define GL_MESA_shader_integer_functions 1
  9245. #endif /* GL_MESA_shader_integer_functions */
  9246. #ifndef GL_MESA_tile_raster_order
  9247. #define GL_MESA_tile_raster_order 1
  9248. #define GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8
  9249. #define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9
  9250. #define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA
  9251. #endif /* GL_MESA_tile_raster_order */
  9252. #ifndef GL_MESA_window_pos
  9253. #define GL_MESA_window_pos 1
  9254. typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  9255. typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  9256. typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  9257. typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  9258. typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  9259. typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  9260. typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  9261. typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  9262. typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  9263. typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  9264. typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  9265. typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  9266. typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  9267. typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  9268. typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  9269. typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  9270. typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9271. typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  9272. typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9273. typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  9274. typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  9275. typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  9276. typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  9277. typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  9278. #ifdef GL_GLEXT_PROTOTYPES
  9279. GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
  9280. GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
  9281. GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
  9282. GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
  9283. GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
  9284. GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
  9285. GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
  9286. GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
  9287. GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
  9288. GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
  9289. GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
  9290. GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
  9291. GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
  9292. GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
  9293. GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
  9294. GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
  9295. GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9296. GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
  9297. GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9298. GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
  9299. GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
  9300. GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
  9301. GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
  9302. GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
  9303. #endif
  9304. #endif /* GL_MESA_window_pos */
  9305. #ifndef GL_MESA_ycbcr_texture
  9306. #define GL_MESA_ycbcr_texture 1
  9307. #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
  9308. #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
  9309. #define GL_YCBCR_MESA 0x8757
  9310. #endif /* GL_MESA_ycbcr_texture */
  9311. #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
  9312. #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
  9313. #endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
  9314. #ifndef GL_NVX_conditional_render
  9315. #define GL_NVX_conditional_render 1
  9316. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
  9317. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void);
  9318. #ifdef GL_GLEXT_PROTOTYPES
  9319. GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id);
  9320. GLAPI void APIENTRY glEndConditionalRenderNVX (void);
  9321. #endif
  9322. #endif /* GL_NVX_conditional_render */
  9323. #ifndef GL_NVX_gpu_memory_info
  9324. #define GL_NVX_gpu_memory_info 1
  9325. #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
  9326. #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
  9327. #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
  9328. #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
  9329. #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
  9330. #endif /* GL_NVX_gpu_memory_info */
  9331. #ifndef GL_NVX_gpu_multicast2
  9332. #define GL_NVX_gpu_multicast2 1
  9333. #define GL_UPLOAD_GPU_MASK_NVX 0x954A
  9334. typedef void (APIENTRYP PFNGLUPLOADGPUMASKNVXPROC) (GLbitfield mask);
  9335. typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
  9336. typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC) (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
  9337. typedef void (APIENTRYP PFNGLMULTICASTSCISSORARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
  9338. 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);
  9339. 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);
  9340. #ifdef GL_GLEXT_PROTOTYPES
  9341. GLAPI void APIENTRY glUploadGpuMaskNVX (GLbitfield mask);
  9342. GLAPI void APIENTRY glMulticastViewportArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
  9343. GLAPI void APIENTRY glMulticastViewportPositionWScaleNVX (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
  9344. GLAPI void APIENTRY glMulticastScissorArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
  9345. 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);
  9346. 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);
  9347. #endif
  9348. #endif /* GL_NVX_gpu_multicast2 */
  9349. #ifndef GL_NVX_linked_gpu_multicast
  9350. #define GL_NVX_linked_gpu_multicast 1
  9351. #define GL_LGPU_SEPARATE_STORAGE_BIT_NVX 0x0800
  9352. #define GL_MAX_LGPU_GPUS_NVX 0x92BA
  9353. typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  9354. 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);
  9355. typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) (void);
  9356. #ifdef GL_GLEXT_PROTOTYPES
  9357. GLAPI void APIENTRY glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  9358. 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);
  9359. GLAPI void APIENTRY glLGPUInterlockNVX (void);
  9360. #endif
  9361. #endif /* GL_NVX_linked_gpu_multicast */
  9362. #ifndef GL_NVX_progress_fence
  9363. #define GL_NVX_progress_fence 1
  9364. typedef GLuint (APIENTRYP PFNGLCREATEPROGRESSFENCENVXPROC) (void);
  9365. typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREUI64NVXPROC) (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9366. typedef void (APIENTRYP PFNGLWAITSEMAPHOREUI64NVXPROC) (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9367. typedef void (APIENTRYP PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC) (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9368. #ifdef GL_GLEXT_PROTOTYPES
  9369. GLAPI GLuint APIENTRY glCreateProgressFenceNVX (void);
  9370. GLAPI void APIENTRY glSignalSemaphoreui64NVX (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9371. GLAPI void APIENTRY glWaitSemaphoreui64NVX (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9372. GLAPI void APIENTRY glClientWaitSemaphoreui64NVX (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
  9373. #endif
  9374. #endif /* GL_NVX_progress_fence */
  9375. #ifndef GL_NV_alpha_to_coverage_dither_control
  9376. #define GL_NV_alpha_to_coverage_dither_control 1
  9377. #define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D
  9378. #define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E
  9379. #define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F
  9380. #define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF
  9381. typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) (GLenum mode);
  9382. #ifdef GL_GLEXT_PROTOTYPES
  9383. GLAPI void APIENTRY glAlphaToCoverageDitherControlNV (GLenum mode);
  9384. #endif
  9385. #endif /* GL_NV_alpha_to_coverage_dither_control */
  9386. #ifndef GL_NV_bindless_multi_draw_indirect
  9387. #define GL_NV_bindless_multi_draw_indirect 1
  9388. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  9389. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  9390. #ifdef GL_GLEXT_PROTOTYPES
  9391. GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  9392. GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
  9393. #endif
  9394. #endif /* GL_NV_bindless_multi_draw_indirect */
  9395. #ifndef GL_NV_bindless_multi_draw_indirect_count
  9396. #define GL_NV_bindless_multi_draw_indirect_count 1
  9397. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
  9398. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
  9399. #ifdef GL_GLEXT_PROTOTYPES
  9400. GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
  9401. GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
  9402. #endif
  9403. #endif /* GL_NV_bindless_multi_draw_indirect_count */
  9404. #ifndef GL_NV_bindless_texture
  9405. #define GL_NV_bindless_texture 1
  9406. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  9407. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  9408. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  9409. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  9410. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  9411. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  9412. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  9413. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  9414. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
  9415. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  9416. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  9417. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  9418. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  9419. #ifdef GL_GLEXT_PROTOTYPES
  9420. GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
  9421. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
  9422. GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
  9423. GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
  9424. GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  9425. GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
  9426. GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
  9427. GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
  9428. GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
  9429. GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
  9430. GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  9431. GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
  9432. GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
  9433. #endif
  9434. #endif /* GL_NV_bindless_texture */
  9435. #ifndef GL_NV_blend_equation_advanced
  9436. #define GL_NV_blend_equation_advanced 1
  9437. #define GL_BLEND_OVERLAP_NV 0x9281
  9438. #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
  9439. #define GL_BLUE_NV 0x1905
  9440. #define GL_COLORBURN_NV 0x929A
  9441. #define GL_COLORDODGE_NV 0x9299
  9442. #define GL_CONJOINT_NV 0x9284
  9443. #define GL_CONTRAST_NV 0x92A1
  9444. #define GL_DARKEN_NV 0x9297
  9445. #define GL_DIFFERENCE_NV 0x929E
  9446. #define GL_DISJOINT_NV 0x9283
  9447. #define GL_DST_ATOP_NV 0x928F
  9448. #define GL_DST_IN_NV 0x928B
  9449. #define GL_DST_NV 0x9287
  9450. #define GL_DST_OUT_NV 0x928D
  9451. #define GL_DST_OVER_NV 0x9289
  9452. #define GL_EXCLUSION_NV 0x92A0
  9453. #define GL_GREEN_NV 0x1904
  9454. #define GL_HARDLIGHT_NV 0x929B
  9455. #define GL_HARDMIX_NV 0x92A9
  9456. #define GL_HSL_COLOR_NV 0x92AF
  9457. #define GL_HSL_HUE_NV 0x92AD
  9458. #define GL_HSL_LUMINOSITY_NV 0x92B0
  9459. #define GL_HSL_SATURATION_NV 0x92AE
  9460. #define GL_INVERT_OVG_NV 0x92B4
  9461. #define GL_INVERT_RGB_NV 0x92A3
  9462. #define GL_LIGHTEN_NV 0x9298
  9463. #define GL_LINEARBURN_NV 0x92A5
  9464. #define GL_LINEARDODGE_NV 0x92A4
  9465. #define GL_LINEARLIGHT_NV 0x92A7
  9466. #define GL_MINUS_CLAMPED_NV 0x92B3
  9467. #define GL_MINUS_NV 0x929F
  9468. #define GL_MULTIPLY_NV 0x9294
  9469. #define GL_OVERLAY_NV 0x9296
  9470. #define GL_PINLIGHT_NV 0x92A8
  9471. #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
  9472. #define GL_PLUS_CLAMPED_NV 0x92B1
  9473. #define GL_PLUS_DARKER_NV 0x9292
  9474. #define GL_PLUS_NV 0x9291
  9475. #define GL_RED_NV 0x1903
  9476. #define GL_SCREEN_NV 0x9295
  9477. #define GL_SOFTLIGHT_NV 0x929C
  9478. #define GL_SRC_ATOP_NV 0x928E
  9479. #define GL_SRC_IN_NV 0x928A
  9480. #define GL_SRC_NV 0x9286
  9481. #define GL_SRC_OUT_NV 0x928C
  9482. #define GL_SRC_OVER_NV 0x9288
  9483. #define GL_UNCORRELATED_NV 0x9282
  9484. #define GL_VIVIDLIGHT_NV 0x92A6
  9485. #define GL_XOR_NV 0x1506
  9486. typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
  9487. typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
  9488. #ifdef GL_GLEXT_PROTOTYPES
  9489. GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
  9490. GLAPI void APIENTRY glBlendBarrierNV (void);
  9491. #endif
  9492. #endif /* GL_NV_blend_equation_advanced */
  9493. #ifndef GL_NV_blend_equation_advanced_coherent
  9494. #define GL_NV_blend_equation_advanced_coherent 1
  9495. #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
  9496. #endif /* GL_NV_blend_equation_advanced_coherent */
  9497. #ifndef GL_NV_blend_minmax_factor
  9498. #define GL_NV_blend_minmax_factor 1
  9499. #endif /* GL_NV_blend_minmax_factor */
  9500. #ifndef GL_NV_blend_square
  9501. #define GL_NV_blend_square 1
  9502. #endif /* GL_NV_blend_square */
  9503. #ifndef GL_NV_clip_space_w_scaling
  9504. #define GL_NV_clip_space_w_scaling 1
  9505. #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
  9506. #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
  9507. #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
  9508. typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
  9509. #ifdef GL_GLEXT_PROTOTYPES
  9510. GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
  9511. #endif
  9512. #endif /* GL_NV_clip_space_w_scaling */
  9513. #ifndef GL_NV_command_list
  9514. #define GL_NV_command_list 1
  9515. #define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000
  9516. #define GL_NOP_COMMAND_NV 0x0001
  9517. #define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002
  9518. #define GL_DRAW_ARRAYS_COMMAND_NV 0x0003
  9519. #define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004
  9520. #define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005
  9521. #define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006
  9522. #define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007
  9523. #define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008
  9524. #define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009
  9525. #define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A
  9526. #define GL_BLEND_COLOR_COMMAND_NV 0x000B
  9527. #define GL_STENCIL_REF_COMMAND_NV 0x000C
  9528. #define GL_LINE_WIDTH_COMMAND_NV 0x000D
  9529. #define GL_POLYGON_OFFSET_COMMAND_NV 0x000E
  9530. #define GL_ALPHA_REF_COMMAND_NV 0x000F
  9531. #define GL_VIEWPORT_COMMAND_NV 0x0010
  9532. #define GL_SCISSOR_COMMAND_NV 0x0011
  9533. #define GL_FRONT_FACE_COMMAND_NV 0x0012
  9534. typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states);
  9535. typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states);
  9536. typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state);
  9537. typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode);
  9538. typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
  9539. typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype);
  9540. typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
  9541. typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
  9542. typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9543. typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9544. typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists);
  9545. typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists);
  9546. typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list);
  9547. typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9548. typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments);
  9549. typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list);
  9550. typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list);
  9551. #ifdef GL_GLEXT_PROTOTYPES
  9552. GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states);
  9553. GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states);
  9554. GLAPI GLboolean APIENTRY glIsStateNV (GLuint state);
  9555. GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode);
  9556. GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
  9557. GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype);
  9558. GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
  9559. GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
  9560. GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9561. GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9562. GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists);
  9563. GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists);
  9564. GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list);
  9565. GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
  9566. GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments);
  9567. GLAPI void APIENTRY glCompileCommandListNV (GLuint list);
  9568. GLAPI void APIENTRY glCallCommandListNV (GLuint list);
  9569. #endif
  9570. #endif /* GL_NV_command_list */
  9571. #ifndef GL_NV_compute_program5
  9572. #define GL_NV_compute_program5 1
  9573. #define GL_COMPUTE_PROGRAM_NV 0x90FB
  9574. #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
  9575. #endif /* GL_NV_compute_program5 */
  9576. #ifndef GL_NV_compute_shader_derivatives
  9577. #define GL_NV_compute_shader_derivatives 1
  9578. #endif /* GL_NV_compute_shader_derivatives */
  9579. #ifndef GL_NV_conditional_render
  9580. #define GL_NV_conditional_render 1
  9581. #define GL_QUERY_WAIT_NV 0x8E13
  9582. #define GL_QUERY_NO_WAIT_NV 0x8E14
  9583. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  9584. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  9585. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  9586. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  9587. #ifdef GL_GLEXT_PROTOTYPES
  9588. GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  9589. GLAPI void APIENTRY glEndConditionalRenderNV (void);
  9590. #endif
  9591. #endif /* GL_NV_conditional_render */
  9592. #ifndef GL_NV_conservative_raster
  9593. #define GL_NV_conservative_raster 1
  9594. #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
  9595. #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
  9596. #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
  9597. #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
  9598. typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
  9599. #ifdef GL_GLEXT_PROTOTYPES
  9600. GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
  9601. #endif
  9602. #endif /* GL_NV_conservative_raster */
  9603. #ifndef GL_NV_conservative_raster_dilate
  9604. #define GL_NV_conservative_raster_dilate 1
  9605. #define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379
  9606. #define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A
  9607. #define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B
  9608. typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value);
  9609. #ifdef GL_GLEXT_PROTOTYPES
  9610. GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value);
  9611. #endif
  9612. #endif /* GL_NV_conservative_raster_dilate */
  9613. #ifndef GL_NV_conservative_raster_pre_snap
  9614. #define GL_NV_conservative_raster_pre_snap 1
  9615. #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
  9616. #endif /* GL_NV_conservative_raster_pre_snap */
  9617. #ifndef GL_NV_conservative_raster_pre_snap_triangles
  9618. #define GL_NV_conservative_raster_pre_snap_triangles 1
  9619. #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
  9620. #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
  9621. #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
  9622. typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
  9623. #ifdef GL_GLEXT_PROTOTYPES
  9624. GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
  9625. #endif
  9626. #endif /* GL_NV_conservative_raster_pre_snap_triangles */
  9627. #ifndef GL_NV_conservative_raster_underestimation
  9628. #define GL_NV_conservative_raster_underestimation 1
  9629. #endif /* GL_NV_conservative_raster_underestimation */
  9630. #ifndef GL_NV_copy_depth_to_color
  9631. #define GL_NV_copy_depth_to_color 1
  9632. #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
  9633. #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
  9634. #endif /* GL_NV_copy_depth_to_color */
  9635. #ifndef GL_NV_copy_image
  9636. #define GL_NV_copy_image 1
  9637. 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);
  9638. #ifdef GL_GLEXT_PROTOTYPES
  9639. 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);
  9640. #endif
  9641. #endif /* GL_NV_copy_image */
  9642. #ifndef GL_NV_deep_texture3D
  9643. #define GL_NV_deep_texture3D 1
  9644. #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
  9645. #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
  9646. #endif /* GL_NV_deep_texture3D */
  9647. #ifndef GL_NV_depth_buffer_float
  9648. #define GL_NV_depth_buffer_float 1
  9649. #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
  9650. #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
  9651. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
  9652. #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
  9653. typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
  9654. typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
  9655. typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
  9656. #ifdef GL_GLEXT_PROTOTYPES
  9657. GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
  9658. GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
  9659. GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
  9660. #endif
  9661. #endif /* GL_NV_depth_buffer_float */
  9662. #ifndef GL_NV_depth_clamp
  9663. #define GL_NV_depth_clamp 1
  9664. #define GL_DEPTH_CLAMP_NV 0x864F
  9665. #endif /* GL_NV_depth_clamp */
  9666. #ifndef GL_NV_draw_texture
  9667. #define GL_NV_draw_texture 1
  9668. 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);
  9669. #ifdef GL_GLEXT_PROTOTYPES
  9670. 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);
  9671. #endif
  9672. #endif /* GL_NV_draw_texture */
  9673. #ifndef GL_NV_draw_vulkan_image
  9674. #define GL_NV_draw_vulkan_image 1
  9675. typedef void (APIENTRY *GLVULKANPROCNV)(void);
  9676. 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);
  9677. typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
  9678. typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
  9679. typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
  9680. typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
  9681. #ifdef GL_GLEXT_PROTOTYPES
  9682. 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);
  9683. GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name);
  9684. GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
  9685. GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
  9686. GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
  9687. #endif
  9688. #endif /* GL_NV_draw_vulkan_image */
  9689. #ifndef GL_NV_evaluators
  9690. #define GL_NV_evaluators 1
  9691. #define GL_EVAL_2D_NV 0x86C0
  9692. #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
  9693. #define GL_MAP_TESSELLATION_NV 0x86C2
  9694. #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
  9695. #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
  9696. #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  9697. #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
  9698. #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
  9699. #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
  9700. #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
  9701. #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
  9702. #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
  9703. #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
  9704. #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
  9705. #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
  9706. #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
  9707. #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
  9708. #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
  9709. #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
  9710. #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
  9711. #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
  9712. #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
  9713. #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
  9714. #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
  9715. typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
  9716. typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
  9717. typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  9718. typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
  9719. typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
  9720. typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
  9721. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  9722. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9723. typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  9724. #ifdef GL_GLEXT_PROTOTYPES
  9725. GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points);
  9726. GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
  9727. GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
  9728. GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points);
  9729. GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
  9730. GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
  9731. GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
  9732. GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9733. GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
  9734. #endif
  9735. #endif /* GL_NV_evaluators */
  9736. #ifndef GL_NV_explicit_multisample
  9737. #define GL_NV_explicit_multisample 1
  9738. #define GL_SAMPLE_POSITION_NV 0x8E50
  9739. #define GL_SAMPLE_MASK_NV 0x8E51
  9740. #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
  9741. #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
  9742. #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
  9743. #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
  9744. #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
  9745. #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
  9746. #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
  9747. #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
  9748. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
  9749. typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
  9750. typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
  9751. #ifdef GL_GLEXT_PROTOTYPES
  9752. GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
  9753. GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
  9754. GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
  9755. #endif
  9756. #endif /* GL_NV_explicit_multisample */
  9757. #ifndef GL_NV_fence
  9758. #define GL_NV_fence 1
  9759. #define GL_ALL_COMPLETED_NV 0x84F2
  9760. #define GL_FENCE_STATUS_NV 0x84F3
  9761. #define GL_FENCE_CONDITION_NV 0x84F4
  9762. typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  9763. typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  9764. typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  9765. typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  9766. typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  9767. typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  9768. typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  9769. #ifdef GL_GLEXT_PROTOTYPES
  9770. GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
  9771. GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
  9772. GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
  9773. GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
  9774. GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
  9775. GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
  9776. GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
  9777. #endif
  9778. #endif /* GL_NV_fence */
  9779. #ifndef GL_NV_fill_rectangle
  9780. #define GL_NV_fill_rectangle 1
  9781. #define GL_FILL_RECTANGLE_NV 0x933C
  9782. #endif /* GL_NV_fill_rectangle */
  9783. #ifndef GL_NV_float_buffer
  9784. #define GL_NV_float_buffer 1
  9785. #define GL_FLOAT_R_NV 0x8880
  9786. #define GL_FLOAT_RG_NV 0x8881
  9787. #define GL_FLOAT_RGB_NV 0x8882
  9788. #define GL_FLOAT_RGBA_NV 0x8883
  9789. #define GL_FLOAT_R16_NV 0x8884
  9790. #define GL_FLOAT_R32_NV 0x8885
  9791. #define GL_FLOAT_RG16_NV 0x8886
  9792. #define GL_FLOAT_RG32_NV 0x8887
  9793. #define GL_FLOAT_RGB16_NV 0x8888
  9794. #define GL_FLOAT_RGB32_NV 0x8889
  9795. #define GL_FLOAT_RGBA16_NV 0x888A
  9796. #define GL_FLOAT_RGBA32_NV 0x888B
  9797. #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
  9798. #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
  9799. #define GL_FLOAT_RGBA_MODE_NV 0x888E
  9800. #endif /* GL_NV_float_buffer */
  9801. #ifndef GL_NV_fog_distance
  9802. #define GL_NV_fog_distance 1
  9803. #define GL_FOG_DISTANCE_MODE_NV 0x855A
  9804. #define GL_EYE_RADIAL_NV 0x855B
  9805. #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
  9806. #endif /* GL_NV_fog_distance */
  9807. #ifndef GL_NV_fragment_coverage_to_color
  9808. #define GL_NV_fragment_coverage_to_color 1
  9809. #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
  9810. #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
  9811. typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
  9812. #ifdef GL_GLEXT_PROTOTYPES
  9813. GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);
  9814. #endif
  9815. #endif /* GL_NV_fragment_coverage_to_color */
  9816. #ifndef GL_NV_fragment_program
  9817. #define GL_NV_fragment_program 1
  9818. #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  9819. #define GL_FRAGMENT_PROGRAM_NV 0x8870
  9820. #define GL_MAX_TEXTURE_COORDS_NV 0x8871
  9821. #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
  9822. #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
  9823. #define GL_PROGRAM_ERROR_STRING_NV 0x8874
  9824. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9825. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  9826. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9827. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  9828. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  9829. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  9830. #ifdef GL_GLEXT_PROTOTYPES
  9831. GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9832. GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  9833. GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9834. GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  9835. GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  9836. GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  9837. #endif
  9838. #endif /* GL_NV_fragment_program */
  9839. #ifndef GL_NV_fragment_program2
  9840. #define GL_NV_fragment_program2 1
  9841. #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  9842. #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
  9843. #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
  9844. #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
  9845. #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
  9846. #endif /* GL_NV_fragment_program2 */
  9847. #ifndef GL_NV_fragment_program4
  9848. #define GL_NV_fragment_program4 1
  9849. #endif /* GL_NV_fragment_program4 */
  9850. #ifndef GL_NV_fragment_program_option
  9851. #define GL_NV_fragment_program_option 1
  9852. #endif /* GL_NV_fragment_program_option */
  9853. #ifndef GL_NV_fragment_shader_barycentric
  9854. #define GL_NV_fragment_shader_barycentric 1
  9855. #endif /* GL_NV_fragment_shader_barycentric */
  9856. #ifndef GL_NV_fragment_shader_interlock
  9857. #define GL_NV_fragment_shader_interlock 1
  9858. #endif /* GL_NV_fragment_shader_interlock */
  9859. #ifndef GL_NV_framebuffer_mixed_samples
  9860. #define GL_NV_framebuffer_mixed_samples 1
  9861. #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
  9862. #define GL_COLOR_SAMPLES_NV 0x8E20
  9863. #define GL_DEPTH_SAMPLES_NV 0x932D
  9864. #define GL_STENCIL_SAMPLES_NV 0x932E
  9865. #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
  9866. #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
  9867. #define GL_COVERAGE_MODULATION_NV 0x9332
  9868. #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
  9869. typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
  9870. typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v);
  9871. typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
  9872. #ifdef GL_GLEXT_PROTOTYPES
  9873. GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
  9874. GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v);
  9875. GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
  9876. #endif
  9877. #endif /* GL_NV_framebuffer_mixed_samples */
  9878. #ifndef GL_NV_framebuffer_multisample_coverage
  9879. #define GL_NV_framebuffer_multisample_coverage 1
  9880. #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
  9881. #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
  9882. #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
  9883. #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
  9884. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9885. #ifdef GL_GLEXT_PROTOTYPES
  9886. GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9887. #endif
  9888. #endif /* GL_NV_framebuffer_multisample_coverage */
  9889. #ifndef GL_NV_geometry_program4
  9890. #define GL_NV_geometry_program4 1
  9891. #define GL_GEOMETRY_PROGRAM_NV 0x8C26
  9892. #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
  9893. #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
  9894. typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
  9895. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  9896. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  9897. #ifdef GL_GLEXT_PROTOTYPES
  9898. GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
  9899. GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
  9900. GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  9901. #endif
  9902. #endif /* GL_NV_geometry_program4 */
  9903. #ifndef GL_NV_geometry_shader4
  9904. #define GL_NV_geometry_shader4 1
  9905. #endif /* GL_NV_geometry_shader4 */
  9906. #ifndef GL_NV_geometry_shader_passthrough
  9907. #define GL_NV_geometry_shader_passthrough 1
  9908. #endif /* GL_NV_geometry_shader_passthrough */
  9909. #ifndef GL_NV_gpu_multicast
  9910. #define GL_NV_gpu_multicast 1
  9911. #define GL_PER_GPU_STORAGE_BIT_NV 0x0800
  9912. #define GL_MULTICAST_GPUS_NV 0x92BA
  9913. #define GL_RENDER_GPU_MASK_NV 0x9558
  9914. #define GL_PER_GPU_STORAGE_NV 0x9548
  9915. #define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549
  9916. typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask);
  9917. typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  9918. typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  9919. 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);
  9920. 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);
  9921. typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  9922. typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) (void);
  9923. typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask);
  9924. typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint *params);
  9925. typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
  9926. typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
  9927. typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
  9928. #ifdef GL_GLEXT_PROTOTYPES
  9929. GLAPI void APIENTRY glRenderGpuMaskNV (GLbitfield mask);
  9930. GLAPI void APIENTRY glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  9931. GLAPI void APIENTRY glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  9932. 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);
  9933. 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);
  9934. GLAPI void APIENTRY glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  9935. GLAPI void APIENTRY glMulticastBarrierNV (void);
  9936. GLAPI void APIENTRY glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask);
  9937. GLAPI void APIENTRY glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params);
  9938. GLAPI void APIENTRY glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
  9939. GLAPI void APIENTRY glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
  9940. GLAPI void APIENTRY glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
  9941. #endif
  9942. #endif /* GL_NV_gpu_multicast */
  9943. #ifndef GL_NV_gpu_program4
  9944. #define GL_NV_gpu_program4 1
  9945. #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
  9946. #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
  9947. #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
  9948. #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
  9949. #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
  9950. #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
  9951. #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
  9952. #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
  9953. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9954. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  9955. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9956. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9957. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  9958. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9959. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9960. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  9961. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9962. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9963. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  9964. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9965. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  9966. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  9967. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  9968. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  9969. #ifdef GL_GLEXT_PROTOTYPES
  9970. GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9971. GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  9972. GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9973. GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9974. GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  9975. GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9976. GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9977. GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  9978. GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9979. GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9980. GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  9981. GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9982. GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
  9983. GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  9984. GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
  9985. GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  9986. #endif
  9987. #endif /* GL_NV_gpu_program4 */
  9988. #ifndef GL_NV_gpu_program5
  9989. #define GL_NV_gpu_program5 1
  9990. #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
  9991. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
  9992. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
  9993. #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
  9994. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
  9995. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
  9996. #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
  9997. #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
  9998. typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
  9999. typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
  10000. #ifdef GL_GLEXT_PROTOTYPES
  10001. GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
  10002. GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
  10003. #endif
  10004. #endif /* GL_NV_gpu_program5 */
  10005. #ifndef GL_NV_gpu_program5_mem_extended
  10006. #define GL_NV_gpu_program5_mem_extended 1
  10007. #endif /* GL_NV_gpu_program5_mem_extended */
  10008. #ifndef GL_NV_gpu_shader5
  10009. #define GL_NV_gpu_shader5 1
  10010. #endif /* GL_NV_gpu_shader5 */
  10011. #ifndef GL_NV_half_float
  10012. #define GL_NV_half_float 1
  10013. typedef unsigned short GLhalfNV;
  10014. #define GL_HALF_FLOAT_NV 0x140B
  10015. typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
  10016. typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
  10017. typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10018. typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
  10019. typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10020. typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
  10021. typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  10022. typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
  10023. typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10024. typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
  10025. typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  10026. typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
  10027. typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
  10028. typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
  10029. typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
  10030. typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
  10031. typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10032. typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
  10033. typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10034. typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
  10035. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
  10036. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
  10037. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
  10038. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
  10039. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10040. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
  10041. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10042. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
  10043. typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
  10044. typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
  10045. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10046. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
  10047. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
  10048. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
  10049. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
  10050. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
  10051. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
  10052. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
  10053. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10054. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
  10055. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10056. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
  10057. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10058. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10059. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10060. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10061. #ifdef GL_GLEXT_PROTOTYPES
  10062. GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
  10063. GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
  10064. GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10065. GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
  10066. GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10067. GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
  10068. GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  10069. GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
  10070. GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10071. GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
  10072. GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  10073. GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
  10074. GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
  10075. GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
  10076. GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
  10077. GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
  10078. GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10079. GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
  10080. GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10081. GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
  10082. GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
  10083. GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
  10084. GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
  10085. GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
  10086. GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10087. GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
  10088. GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10089. GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
  10090. GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
  10091. GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
  10092. GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10093. GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
  10094. GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
  10095. GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
  10096. GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
  10097. GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
  10098. GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
  10099. GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
  10100. GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10101. GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
  10102. GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10103. GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
  10104. GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10105. GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10106. GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10107. GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10108. #endif
  10109. #endif /* GL_NV_half_float */
  10110. #ifndef GL_NV_internalformat_sample_query
  10111. #define GL_NV_internalformat_sample_query 1
  10112. #define GL_MULTISAMPLES_NV 0x9371
  10113. #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
  10114. #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
  10115. #define GL_CONFORMANT_NV 0x9374
  10116. typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
  10117. #ifdef GL_GLEXT_PROTOTYPES
  10118. GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
  10119. #endif
  10120. #endif /* GL_NV_internalformat_sample_query */
  10121. #ifndef GL_NV_light_max_exponent
  10122. #define GL_NV_light_max_exponent 1
  10123. #define GL_MAX_SHININESS_NV 0x8504
  10124. #define GL_MAX_SPOT_EXPONENT_NV 0x8505
  10125. #endif /* GL_NV_light_max_exponent */
  10126. #ifndef GL_NV_memory_attachment
  10127. #define GL_NV_memory_attachment 1
  10128. #define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
  10129. #define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
  10130. #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
  10131. #define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
  10132. #define GL_MEMORY_ATTACHABLE_NV 0x95A8
  10133. #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
  10134. #define GL_DETACHED_TEXTURES_NV 0x95AA
  10135. #define GL_DETACHED_BUFFERS_NV 0x95AB
  10136. #define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
  10137. #define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
  10138. typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
  10139. typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
  10140. typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
  10141. typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
  10142. typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
  10143. typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
  10144. #ifdef GL_GLEXT_PROTOTYPES
  10145. GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
  10146. GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
  10147. GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
  10148. GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
  10149. GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
  10150. GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
  10151. #endif
  10152. #endif /* GL_NV_memory_attachment */
  10153. #ifndef GL_NV_memory_object_sparse
  10154. #define GL_NV_memory_object_sparse 1
  10155. typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
  10156. 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);
  10157. typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
  10158. 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);
  10159. #ifdef GL_GLEXT_PROTOTYPES
  10160. GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
  10161. 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);
  10162. GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
  10163. 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);
  10164. #endif
  10165. #endif /* GL_NV_memory_object_sparse */
  10166. #ifndef GL_NV_mesh_shader
  10167. #define GL_NV_mesh_shader 1
  10168. #define GL_MESH_SHADER_NV 0x9559
  10169. #define GL_TASK_SHADER_NV 0x955A
  10170. #define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
  10171. #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
  10172. #define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
  10173. #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
  10174. #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
  10175. #define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
  10176. #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
  10177. #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
  10178. #define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
  10179. #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
  10180. #define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
  10181. #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
  10182. #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
  10183. #define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
  10184. #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
  10185. #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
  10186. #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
  10187. #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
  10188. #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
  10189. #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
  10190. #define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
  10191. #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
  10192. #define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
  10193. #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
  10194. #define GL_MAX_MESH_VIEWS_NV 0x9557
  10195. #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
  10196. #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
  10197. #define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
  10198. #define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
  10199. #define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
  10200. #define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
  10201. #define GL_MESH_VERTICES_OUT_NV 0x9579
  10202. #define GL_MESH_PRIMITIVES_OUT_NV 0x957A
  10203. #define GL_MESH_OUTPUT_TYPE_NV 0x957B
  10204. #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
  10205. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
  10206. #define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
  10207. #define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
  10208. #define GL_MESH_SHADER_BIT_NV 0x00000040
  10209. #define GL_TASK_SHADER_BIT_NV 0x00000080
  10210. #define GL_MESH_SUBROUTINE_NV 0x957C
  10211. #define GL_TASK_SUBROUTINE_NV 0x957D
  10212. #define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
  10213. #define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
  10214. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
  10215. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
  10216. typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
  10217. typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
  10218. typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
  10219. typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  10220. #ifdef GL_GLEXT_PROTOTYPES
  10221. GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
  10222. GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
  10223. GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
  10224. GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  10225. #endif
  10226. #endif /* GL_NV_mesh_shader */
  10227. #ifndef GL_NV_multisample_coverage
  10228. #define GL_NV_multisample_coverage 1
  10229. #endif /* GL_NV_multisample_coverage */
  10230. #ifndef GL_NV_multisample_filter_hint
  10231. #define GL_NV_multisample_filter_hint 1
  10232. #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
  10233. #endif /* GL_NV_multisample_filter_hint */
  10234. #ifndef GL_NV_occlusion_query
  10235. #define GL_NV_occlusion_query 1
  10236. #define GL_PIXEL_COUNTER_BITS_NV 0x8864
  10237. #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
  10238. #define GL_PIXEL_COUNT_NV 0x8866
  10239. #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
  10240. typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
  10241. typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
  10242. typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
  10243. typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
  10244. typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
  10245. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  10246. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
  10247. #ifdef GL_GLEXT_PROTOTYPES
  10248. GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
  10249. GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
  10250. GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
  10251. GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
  10252. GLAPI void APIENTRY glEndOcclusionQueryNV (void);
  10253. GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
  10254. GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
  10255. #endif
  10256. #endif /* GL_NV_occlusion_query */
  10257. #ifndef GL_NV_packed_depth_stencil
  10258. #define GL_NV_packed_depth_stencil 1
  10259. #define GL_DEPTH_STENCIL_NV 0x84F9
  10260. #define GL_UNSIGNED_INT_24_8_NV 0x84FA
  10261. #endif /* GL_NV_packed_depth_stencil */
  10262. #ifndef GL_NV_parameter_buffer_object
  10263. #define GL_NV_parameter_buffer_object 1
  10264. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
  10265. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
  10266. #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
  10267. #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
  10268. #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
  10269. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
  10270. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
  10271. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
  10272. #ifdef GL_GLEXT_PROTOTYPES
  10273. GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params);
  10274. GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params);
  10275. GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params);
  10276. #endif
  10277. #endif /* GL_NV_parameter_buffer_object */
  10278. #ifndef GL_NV_parameter_buffer_object2
  10279. #define GL_NV_parameter_buffer_object2 1
  10280. #endif /* GL_NV_parameter_buffer_object2 */
  10281. #ifndef GL_NV_path_rendering
  10282. #define GL_NV_path_rendering 1
  10283. #define GL_PATH_FORMAT_SVG_NV 0x9070
  10284. #define GL_PATH_FORMAT_PS_NV 0x9071
  10285. #define GL_STANDARD_FONT_NAME_NV 0x9072
  10286. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  10287. #define GL_FILE_NAME_NV 0x9074
  10288. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  10289. #define GL_PATH_END_CAPS_NV 0x9076
  10290. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  10291. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  10292. #define GL_PATH_JOIN_STYLE_NV 0x9079
  10293. #define GL_PATH_MITER_LIMIT_NV 0x907A
  10294. #define GL_PATH_DASH_CAPS_NV 0x907B
  10295. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  10296. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  10297. #define GL_PATH_DASH_OFFSET_NV 0x907E
  10298. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  10299. #define GL_PATH_FILL_MODE_NV 0x9080
  10300. #define GL_PATH_FILL_MASK_NV 0x9081
  10301. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  10302. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  10303. #define GL_PATH_STROKE_MASK_NV 0x9084
  10304. #define GL_COUNT_UP_NV 0x9088
  10305. #define GL_COUNT_DOWN_NV 0x9089
  10306. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  10307. #define GL_CONVEX_HULL_NV 0x908B
  10308. #define GL_BOUNDING_BOX_NV 0x908D
  10309. #define GL_TRANSLATE_X_NV 0x908E
  10310. #define GL_TRANSLATE_Y_NV 0x908F
  10311. #define GL_TRANSLATE_2D_NV 0x9090
  10312. #define GL_TRANSLATE_3D_NV 0x9091
  10313. #define GL_AFFINE_2D_NV 0x9092
  10314. #define GL_AFFINE_3D_NV 0x9094
  10315. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  10316. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  10317. #define GL_UTF8_NV 0x909A
  10318. #define GL_UTF16_NV 0x909B
  10319. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  10320. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  10321. #define GL_PATH_COORD_COUNT_NV 0x909E
  10322. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  10323. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  10324. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  10325. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  10326. #define GL_SQUARE_NV 0x90A3
  10327. #define GL_ROUND_NV 0x90A4
  10328. #define GL_TRIANGULAR_NV 0x90A5
  10329. #define GL_BEVEL_NV 0x90A6
  10330. #define GL_MITER_REVERT_NV 0x90A7
  10331. #define GL_MITER_TRUNCATE_NV 0x90A8
  10332. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  10333. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  10334. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  10335. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  10336. #define GL_ADJACENT_PAIRS_NV 0x90AE
  10337. #define GL_FIRST_TO_REST_NV 0x90AF
  10338. #define GL_PATH_GEN_MODE_NV 0x90B0
  10339. #define GL_PATH_GEN_COEFF_NV 0x90B1
  10340. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  10341. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  10342. #define GL_PATH_STENCIL_REF_NV 0x90B8
  10343. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  10344. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  10345. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  10346. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  10347. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  10348. #define GL_MOVE_TO_RESETS_NV 0x90B5
  10349. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  10350. #define GL_CLOSE_PATH_NV 0x00
  10351. #define GL_MOVE_TO_NV 0x02
  10352. #define GL_RELATIVE_MOVE_TO_NV 0x03
  10353. #define GL_LINE_TO_NV 0x04
  10354. #define GL_RELATIVE_LINE_TO_NV 0x05
  10355. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  10356. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  10357. #define GL_VERTICAL_LINE_TO_NV 0x08
  10358. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  10359. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  10360. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  10361. #define GL_CUBIC_CURVE_TO_NV 0x0C
  10362. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  10363. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  10364. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  10365. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  10366. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  10367. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  10368. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  10369. #define GL_SMALL_CW_ARC_TO_NV 0x14
  10370. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  10371. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  10372. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  10373. #define GL_LARGE_CW_ARC_TO_NV 0x18
  10374. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  10375. #define GL_RESTART_PATH_NV 0xF0
  10376. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  10377. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  10378. #define GL_RECT_NV 0xF6
  10379. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  10380. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  10381. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  10382. #define GL_ARC_TO_NV 0xFE
  10383. #define GL_RELATIVE_ARC_TO_NV 0xFF
  10384. #define GL_BOLD_BIT_NV 0x01
  10385. #define GL_ITALIC_BIT_NV 0x02
  10386. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  10387. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  10388. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  10389. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  10390. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  10391. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  10392. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  10393. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  10394. #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
  10395. #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
  10396. #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
  10397. #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
  10398. #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
  10399. #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
  10400. #define GL_FONT_ASCENDER_BIT_NV 0x00200000
  10401. #define GL_FONT_DESCENDER_BIT_NV 0x00400000
  10402. #define GL_FONT_HEIGHT_BIT_NV 0x00800000
  10403. #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
  10404. #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
  10405. #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
  10406. #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
  10407. #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
  10408. #define GL_ROUNDED_RECT_NV 0xE8
  10409. #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
  10410. #define GL_ROUNDED_RECT2_NV 0xEA
  10411. #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
  10412. #define GL_ROUNDED_RECT4_NV 0xEC
  10413. #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
  10414. #define GL_ROUNDED_RECT8_NV 0xEE
  10415. #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
  10416. #define GL_RELATIVE_RECT_NV 0xF7
  10417. #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
  10418. #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
  10419. #define GL_FONT_UNAVAILABLE_NV 0x936A
  10420. #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
  10421. #define GL_CONIC_CURVE_TO_NV 0x1A
  10422. #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
  10423. #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
  10424. #define GL_STANDARD_FONT_FORMAT_NV 0x936C
  10425. #define GL_2_BYTES_NV 0x1407
  10426. #define GL_3_BYTES_NV 0x1408
  10427. #define GL_4_BYTES_NV 0x1409
  10428. #define GL_EYE_LINEAR_NV 0x2400
  10429. #define GL_OBJECT_LINEAR_NV 0x2401
  10430. #define GL_CONSTANT_NV 0x8576
  10431. #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
  10432. #define GL_PRIMARY_COLOR_NV 0x852C
  10433. #define GL_SECONDARY_COLOR_NV 0x852D
  10434. #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
  10435. #define GL_PATH_PROJECTION_NV 0x1701
  10436. #define GL_PATH_MODELVIEW_NV 0x1700
  10437. #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
  10438. #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
  10439. #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
  10440. #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
  10441. #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
  10442. #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
  10443. #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
  10444. #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
  10445. #define GL_FRAGMENT_INPUT_NV 0x936D
  10446. typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
  10447. typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  10448. typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
  10449. typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  10450. typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  10451. typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  10452. typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  10453. typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
  10454. 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);
  10455. typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10456. typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  10457. typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  10458. typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  10459. typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  10460. typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
  10461. typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  10462. typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
  10463. typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  10464. typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  10465. typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  10466. typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  10467. typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  10468. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  10469. typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10470. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10471. typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
  10472. typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  10473. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
  10474. typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10475. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10476. typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
  10477. typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
  10478. typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
  10479. typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
  10480. typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
  10481. typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  10482. typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  10483. typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  10484. typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  10485. typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  10486. typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  10487. typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  10488. typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10489. typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10490. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10491. typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10492. typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10493. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  10494. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  10495. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  10496. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10497. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10498. typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
  10499. typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10500. typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10501. typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  10502. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
  10503. typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  10504. typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  10505. typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
  10506. typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
  10507. typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
  10508. typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
  10509. typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
  10510. #ifdef GL_GLEXT_PROTOTYPES
  10511. GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
  10512. GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
  10513. GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
  10514. GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  10515. GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  10516. GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  10517. GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  10518. GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
  10519. 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);
  10520. GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10521. GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  10522. GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
  10523. GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  10524. GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  10525. GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
  10526. GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
  10527. GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
  10528. GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
  10529. GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  10530. GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
  10531. GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
  10532. GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
  10533. GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
  10534. GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10535. GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10536. GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
  10537. GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
  10538. GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
  10539. GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10540. GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10541. GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
  10542. GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
  10543. GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
  10544. GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
  10545. GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
  10546. GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  10547. GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  10548. GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  10549. GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  10550. GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
  10551. GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
  10552. GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  10553. GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
  10554. GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
  10555. GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  10556. GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
  10557. GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
  10558. GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  10559. GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  10560. GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  10561. GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10562. GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10563. GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
  10564. GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10565. GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10566. GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  10567. GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
  10568. GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  10569. GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  10570. GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
  10571. GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
  10572. GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
  10573. GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
  10574. GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
  10575. #endif
  10576. #endif /* GL_NV_path_rendering */
  10577. #ifndef GL_NV_path_rendering_shared_edge
  10578. #define GL_NV_path_rendering_shared_edge 1
  10579. #define GL_SHARED_EDGE_NV 0xC0
  10580. #endif /* GL_NV_path_rendering_shared_edge */
  10581. #ifndef GL_NV_pixel_data_range
  10582. #define GL_NV_pixel_data_range 1
  10583. #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
  10584. #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
  10585. #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  10586. #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  10587. #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  10588. #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  10589. typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer);
  10590. typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
  10591. #ifdef GL_GLEXT_PROTOTYPES
  10592. GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer);
  10593. GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
  10594. #endif
  10595. #endif /* GL_NV_pixel_data_range */
  10596. #ifndef GL_NV_point_sprite
  10597. #define GL_NV_point_sprite 1
  10598. #define GL_POINT_SPRITE_NV 0x8861
  10599. #define GL_COORD_REPLACE_NV 0x8862
  10600. #define GL_POINT_SPRITE_R_MODE_NV 0x8863
  10601. typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
  10602. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  10603. #ifdef GL_GLEXT_PROTOTYPES
  10604. GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
  10605. GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
  10606. #endif
  10607. #endif /* GL_NV_point_sprite */
  10608. #ifndef GL_NV_present_video
  10609. #define GL_NV_present_video 1
  10610. #define GL_FRAME_NV 0x8E26
  10611. #define GL_FIELDS_NV 0x8E27
  10612. #define GL_CURRENT_TIME_NV 0x8E28
  10613. #define GL_NUM_FILL_STREAMS_NV 0x8E29
  10614. #define GL_PRESENT_TIME_NV 0x8E2A
  10615. #define GL_PRESENT_DURATION_NV 0x8E2B
  10616. 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);
  10617. 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);
  10618. typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
  10619. typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
  10620. typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
  10621. typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  10622. #ifdef GL_GLEXT_PROTOTYPES
  10623. 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);
  10624. 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);
  10625. GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
  10626. GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
  10627. GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
  10628. GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  10629. #endif
  10630. #endif /* GL_NV_present_video */
  10631. #ifndef GL_NV_primitive_restart
  10632. #define GL_NV_primitive_restart 1
  10633. #define GL_PRIMITIVE_RESTART_NV 0x8558
  10634. #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
  10635. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
  10636. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
  10637. #ifdef GL_GLEXT_PROTOTYPES
  10638. GLAPI void APIENTRY glPrimitiveRestartNV (void);
  10639. GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
  10640. #endif
  10641. #endif /* GL_NV_primitive_restart */
  10642. #ifndef GL_NV_primitive_shading_rate
  10643. #define GL_NV_primitive_shading_rate 1
  10644. #define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
  10645. #define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
  10646. #endif /* GL_NV_primitive_shading_rate */
  10647. #ifndef GL_NV_query_resource
  10648. #define GL_NV_query_resource 1
  10649. #define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540
  10650. #define GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV 0x9542
  10651. #define GL_QUERY_RESOURCE_SYS_RESERVED_NV 0x9544
  10652. #define GL_QUERY_RESOURCE_TEXTURE_NV 0x9545
  10653. #define GL_QUERY_RESOURCE_RENDERBUFFER_NV 0x9546
  10654. #define GL_QUERY_RESOURCE_BUFFEROBJECT_NV 0x9547
  10655. typedef GLint (APIENTRYP PFNGLQUERYRESOURCENVPROC) (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
  10656. #ifdef GL_GLEXT_PROTOTYPES
  10657. GLAPI GLint APIENTRY glQueryResourceNV (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
  10658. #endif
  10659. #endif /* GL_NV_query_resource */
  10660. #ifndef GL_NV_query_resource_tag
  10661. #define GL_NV_query_resource_tag 1
  10662. typedef void (APIENTRYP PFNGLGENQUERYRESOURCETAGNVPROC) (GLsizei n, GLint *tagIds);
  10663. typedef void (APIENTRYP PFNGLDELETEQUERYRESOURCETAGNVPROC) (GLsizei n, const GLint *tagIds);
  10664. typedef void (APIENTRYP PFNGLQUERYRESOURCETAGNVPROC) (GLint tagId, const GLchar *tagString);
  10665. #ifdef GL_GLEXT_PROTOTYPES
  10666. GLAPI void APIENTRY glGenQueryResourceTagNV (GLsizei n, GLint *tagIds);
  10667. GLAPI void APIENTRY glDeleteQueryResourceTagNV (GLsizei n, const GLint *tagIds);
  10668. GLAPI void APIENTRY glQueryResourceTagNV (GLint tagId, const GLchar *tagString);
  10669. #endif
  10670. #endif /* GL_NV_query_resource_tag */
  10671. #ifndef GL_NV_register_combiners
  10672. #define GL_NV_register_combiners 1
  10673. #define GL_REGISTER_COMBINERS_NV 0x8522
  10674. #define GL_VARIABLE_A_NV 0x8523
  10675. #define GL_VARIABLE_B_NV 0x8524
  10676. #define GL_VARIABLE_C_NV 0x8525
  10677. #define GL_VARIABLE_D_NV 0x8526
  10678. #define GL_VARIABLE_E_NV 0x8527
  10679. #define GL_VARIABLE_F_NV 0x8528
  10680. #define GL_VARIABLE_G_NV 0x8529
  10681. #define GL_CONSTANT_COLOR0_NV 0x852A
  10682. #define GL_CONSTANT_COLOR1_NV 0x852B
  10683. #define GL_SPARE0_NV 0x852E
  10684. #define GL_SPARE1_NV 0x852F
  10685. #define GL_DISCARD_NV 0x8530
  10686. #define GL_E_TIMES_F_NV 0x8531
  10687. #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  10688. #define GL_UNSIGNED_IDENTITY_NV 0x8536
  10689. #define GL_UNSIGNED_INVERT_NV 0x8537
  10690. #define GL_EXPAND_NORMAL_NV 0x8538
  10691. #define GL_EXPAND_NEGATE_NV 0x8539
  10692. #define GL_HALF_BIAS_NORMAL_NV 0x853A
  10693. #define GL_HALF_BIAS_NEGATE_NV 0x853B
  10694. #define GL_SIGNED_IDENTITY_NV 0x853C
  10695. #define GL_SIGNED_NEGATE_NV 0x853D
  10696. #define GL_SCALE_BY_TWO_NV 0x853E
  10697. #define GL_SCALE_BY_FOUR_NV 0x853F
  10698. #define GL_SCALE_BY_ONE_HALF_NV 0x8540
  10699. #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
  10700. #define GL_COMBINER_INPUT_NV 0x8542
  10701. #define GL_COMBINER_MAPPING_NV 0x8543
  10702. #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
  10703. #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
  10704. #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
  10705. #define GL_COMBINER_MUX_SUM_NV 0x8547
  10706. #define GL_COMBINER_SCALE_NV 0x8548
  10707. #define GL_COMBINER_BIAS_NV 0x8549
  10708. #define GL_COMBINER_AB_OUTPUT_NV 0x854A
  10709. #define GL_COMBINER_CD_OUTPUT_NV 0x854B
  10710. #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
  10711. #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
  10712. #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
  10713. #define GL_COLOR_SUM_CLAMP_NV 0x854F
  10714. #define GL_COMBINER0_NV 0x8550
  10715. #define GL_COMBINER1_NV 0x8551
  10716. #define GL_COMBINER2_NV 0x8552
  10717. #define GL_COMBINER3_NV 0x8553
  10718. #define GL_COMBINER4_NV 0x8554
  10719. #define GL_COMBINER5_NV 0x8555
  10720. #define GL_COMBINER6_NV 0x8556
  10721. #define GL_COMBINER7_NV 0x8557
  10722. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  10723. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  10724. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  10725. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  10726. typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10727. typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  10728. typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10729. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  10730. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  10731. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  10732. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  10733. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  10734. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  10735. #ifdef GL_GLEXT_PROTOTYPES
  10736. GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
  10737. GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
  10738. GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
  10739. GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
  10740. GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10741. GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  10742. GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10743. GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  10744. GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  10745. GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  10746. GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  10747. GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
  10748. GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
  10749. #endif
  10750. #endif /* GL_NV_register_combiners */
  10751. #ifndef GL_NV_register_combiners2
  10752. #define GL_NV_register_combiners2 1
  10753. #define GL_PER_STAGE_CONSTANTS_NV 0x8535
  10754. typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
  10755. typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
  10756. #ifdef GL_GLEXT_PROTOTYPES
  10757. GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
  10758. GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
  10759. #endif
  10760. #endif /* GL_NV_register_combiners2 */
  10761. #ifndef GL_NV_representative_fragment_test
  10762. #define GL_NV_representative_fragment_test 1
  10763. #define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
  10764. #endif /* GL_NV_representative_fragment_test */
  10765. #ifndef GL_NV_robustness_video_memory_purge
  10766. #define GL_NV_robustness_video_memory_purge 1
  10767. #define GL_PURGED_CONTEXT_RESET_NV 0x92BB
  10768. #endif /* GL_NV_robustness_video_memory_purge */
  10769. #ifndef GL_NV_sample_locations
  10770. #define GL_NV_sample_locations 1
  10771. #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
  10772. #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
  10773. #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
  10774. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
  10775. #define GL_SAMPLE_LOCATION_NV 0x8E50
  10776. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
  10777. #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
  10778. #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
  10779. typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  10780. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  10781. typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
  10782. #ifdef GL_GLEXT_PROTOTYPES
  10783. GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  10784. GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  10785. GLAPI void APIENTRY glResolveDepthValuesNV (void);
  10786. #endif
  10787. #endif /* GL_NV_sample_locations */
  10788. #ifndef GL_NV_sample_mask_override_coverage
  10789. #define GL_NV_sample_mask_override_coverage 1
  10790. #endif /* GL_NV_sample_mask_override_coverage */
  10791. #ifndef GL_NV_scissor_exclusive
  10792. #define GL_NV_scissor_exclusive 1
  10793. #define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
  10794. #define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
  10795. typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
  10796. typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
  10797. #ifdef GL_GLEXT_PROTOTYPES
  10798. GLAPI void APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height);
  10799. GLAPI void APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v);
  10800. #endif
  10801. #endif /* GL_NV_scissor_exclusive */
  10802. #ifndef GL_NV_shader_atomic_counters
  10803. #define GL_NV_shader_atomic_counters 1
  10804. #endif /* GL_NV_shader_atomic_counters */
  10805. #ifndef GL_NV_shader_atomic_float
  10806. #define GL_NV_shader_atomic_float 1
  10807. #endif /* GL_NV_shader_atomic_float */
  10808. #ifndef GL_NV_shader_atomic_float64
  10809. #define GL_NV_shader_atomic_float64 1
  10810. #endif /* GL_NV_shader_atomic_float64 */
  10811. #ifndef GL_NV_shader_atomic_fp16_vector
  10812. #define GL_NV_shader_atomic_fp16_vector 1
  10813. #endif /* GL_NV_shader_atomic_fp16_vector */
  10814. #ifndef GL_NV_shader_atomic_int64
  10815. #define GL_NV_shader_atomic_int64 1
  10816. #endif /* GL_NV_shader_atomic_int64 */
  10817. #ifndef GL_NV_shader_buffer_load
  10818. #define GL_NV_shader_buffer_load 1
  10819. #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
  10820. #define GL_GPU_ADDRESS_NV 0x8F34
  10821. #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
  10822. typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
  10823. typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
  10824. typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
  10825. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
  10826. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
  10827. typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
  10828. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
  10829. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
  10830. typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
  10831. typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
  10832. typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  10833. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
  10834. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10835. #ifdef GL_GLEXT_PROTOTYPES
  10836. GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
  10837. GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
  10838. GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
  10839. GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
  10840. GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
  10841. GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
  10842. GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
  10843. GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
  10844. GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
  10845. GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
  10846. GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  10847. GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
  10848. GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  10849. #endif
  10850. #endif /* GL_NV_shader_buffer_load */
  10851. #ifndef GL_NV_shader_buffer_store
  10852. #define GL_NV_shader_buffer_store 1
  10853. #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
  10854. #endif /* GL_NV_shader_buffer_store */
  10855. #ifndef GL_NV_shader_storage_buffer_object
  10856. #define GL_NV_shader_storage_buffer_object 1
  10857. #endif /* GL_NV_shader_storage_buffer_object */
  10858. #ifndef GL_NV_shader_subgroup_partitioned
  10859. #define GL_NV_shader_subgroup_partitioned 1
  10860. #define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
  10861. #endif /* GL_NV_shader_subgroup_partitioned */
  10862. #ifndef GL_NV_shader_texture_footprint
  10863. #define GL_NV_shader_texture_footprint 1
  10864. #endif /* GL_NV_shader_texture_footprint */
  10865. #ifndef GL_NV_shader_thread_group
  10866. #define GL_NV_shader_thread_group 1
  10867. #define GL_WARP_SIZE_NV 0x9339
  10868. #define GL_WARPS_PER_SM_NV 0x933A
  10869. #define GL_SM_COUNT_NV 0x933B
  10870. #endif /* GL_NV_shader_thread_group */
  10871. #ifndef GL_NV_shader_thread_shuffle
  10872. #define GL_NV_shader_thread_shuffle 1
  10873. #endif /* GL_NV_shader_thread_shuffle */
  10874. #ifndef GL_NV_shading_rate_image
  10875. #define GL_NV_shading_rate_image 1
  10876. #define GL_SHADING_RATE_IMAGE_NV 0x9563
  10877. #define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
  10878. #define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
  10879. #define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
  10880. #define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
  10881. #define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
  10882. #define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
  10883. #define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
  10884. #define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
  10885. #define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
  10886. #define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
  10887. #define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
  10888. #define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
  10889. #define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
  10890. #define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
  10891. #define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
  10892. #define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
  10893. #define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
  10894. #define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
  10895. #define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
  10896. #define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
  10897. typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture);
  10898. typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate);
  10899. typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location);
  10900. typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize);
  10901. typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
  10902. typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order);
  10903. typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations);
  10904. #ifdef GL_GLEXT_PROTOTYPES
  10905. GLAPI void APIENTRY glBindShadingRateImageNV (GLuint texture);
  10906. GLAPI void APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate);
  10907. GLAPI void APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location);
  10908. GLAPI void APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize);
  10909. GLAPI void APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
  10910. GLAPI void APIENTRY glShadingRateSampleOrderNV (GLenum order);
  10911. GLAPI void APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations);
  10912. #endif
  10913. #endif /* GL_NV_shading_rate_image */
  10914. #ifndef GL_NV_stereo_view_rendering
  10915. #define GL_NV_stereo_view_rendering 1
  10916. #endif /* GL_NV_stereo_view_rendering */
  10917. #ifndef GL_NV_tessellation_program5
  10918. #define GL_NV_tessellation_program5 1
  10919. #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
  10920. #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
  10921. #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
  10922. #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
  10923. #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
  10924. #endif /* GL_NV_tessellation_program5 */
  10925. #ifndef GL_NV_texgen_emboss
  10926. #define GL_NV_texgen_emboss 1
  10927. #define GL_EMBOSS_LIGHT_NV 0x855D
  10928. #define GL_EMBOSS_CONSTANT_NV 0x855E
  10929. #define GL_EMBOSS_MAP_NV 0x855F
  10930. #endif /* GL_NV_texgen_emboss */
  10931. #ifndef GL_NV_texgen_reflection
  10932. #define GL_NV_texgen_reflection 1
  10933. #define GL_NORMAL_MAP_NV 0x8511
  10934. #define GL_REFLECTION_MAP_NV 0x8512
  10935. #endif /* GL_NV_texgen_reflection */
  10936. #ifndef GL_NV_texture_barrier
  10937. #define GL_NV_texture_barrier 1
  10938. typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
  10939. #ifdef GL_GLEXT_PROTOTYPES
  10940. GLAPI void APIENTRY glTextureBarrierNV (void);
  10941. #endif
  10942. #endif /* GL_NV_texture_barrier */
  10943. #ifndef GL_NV_texture_compression_vtc
  10944. #define GL_NV_texture_compression_vtc 1
  10945. #endif /* GL_NV_texture_compression_vtc */
  10946. #ifndef GL_NV_texture_env_combine4
  10947. #define GL_NV_texture_env_combine4 1
  10948. #define GL_COMBINE4_NV 0x8503
  10949. #define GL_SOURCE3_RGB_NV 0x8583
  10950. #define GL_SOURCE3_ALPHA_NV 0x858B
  10951. #define GL_OPERAND3_RGB_NV 0x8593
  10952. #define GL_OPERAND3_ALPHA_NV 0x859B
  10953. #endif /* GL_NV_texture_env_combine4 */
  10954. #ifndef GL_NV_texture_expand_normal
  10955. #define GL_NV_texture_expand_normal 1
  10956. #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  10957. #endif /* GL_NV_texture_expand_normal */
  10958. #ifndef GL_NV_texture_multisample
  10959. #define GL_NV_texture_multisample 1
  10960. #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
  10961. #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
  10962. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10963. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10964. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10965. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10966. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10967. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10968. #ifdef GL_GLEXT_PROTOTYPES
  10969. GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10970. GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10971. GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10972. GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10973. GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10974. GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10975. #endif
  10976. #endif /* GL_NV_texture_multisample */
  10977. #ifndef GL_NV_texture_rectangle
  10978. #define GL_NV_texture_rectangle 1
  10979. #define GL_TEXTURE_RECTANGLE_NV 0x84F5
  10980. #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
  10981. #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
  10982. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
  10983. #endif /* GL_NV_texture_rectangle */
  10984. #ifndef GL_NV_texture_rectangle_compressed
  10985. #define GL_NV_texture_rectangle_compressed 1
  10986. #endif /* GL_NV_texture_rectangle_compressed */
  10987. #ifndef GL_NV_texture_shader
  10988. #define GL_NV_texture_shader 1
  10989. #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
  10990. #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  10991. #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  10992. #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  10993. #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
  10994. #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
  10995. #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
  10996. #define GL_SHADER_CONSISTENT_NV 0x86DD
  10997. #define GL_TEXTURE_SHADER_NV 0x86DE
  10998. #define GL_SHADER_OPERATION_NV 0x86DF
  10999. #define GL_CULL_MODES_NV 0x86E0
  11000. #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
  11001. #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
  11002. #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
  11003. #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
  11004. #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
  11005. #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
  11006. #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
  11007. #define GL_CONST_EYE_NV 0x86E5
  11008. #define GL_PASS_THROUGH_NV 0x86E6
  11009. #define GL_CULL_FRAGMENT_NV 0x86E7
  11010. #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
  11011. #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
  11012. #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
  11013. #define GL_DOT_PRODUCT_NV 0x86EC
  11014. #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
  11015. #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
  11016. #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  11017. #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  11018. #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  11019. #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  11020. #define GL_HILO_NV 0x86F4
  11021. #define GL_DSDT_NV 0x86F5
  11022. #define GL_DSDT_MAG_NV 0x86F6
  11023. #define GL_DSDT_MAG_VIB_NV 0x86F7
  11024. #define GL_HILO16_NV 0x86F8
  11025. #define GL_SIGNED_HILO_NV 0x86F9
  11026. #define GL_SIGNED_HILO16_NV 0x86FA
  11027. #define GL_SIGNED_RGBA_NV 0x86FB
  11028. #define GL_SIGNED_RGBA8_NV 0x86FC
  11029. #define GL_SIGNED_RGB_NV 0x86FE
  11030. #define GL_SIGNED_RGB8_NV 0x86FF
  11031. #define GL_SIGNED_LUMINANCE_NV 0x8701
  11032. #define GL_SIGNED_LUMINANCE8_NV 0x8702
  11033. #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
  11034. #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
  11035. #define GL_SIGNED_ALPHA_NV 0x8705
  11036. #define GL_SIGNED_ALPHA8_NV 0x8706
  11037. #define GL_SIGNED_INTENSITY_NV 0x8707
  11038. #define GL_SIGNED_INTENSITY8_NV 0x8708
  11039. #define GL_DSDT8_NV 0x8709
  11040. #define GL_DSDT8_MAG8_NV 0x870A
  11041. #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
  11042. #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
  11043. #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  11044. #define GL_HI_SCALE_NV 0x870E
  11045. #define GL_LO_SCALE_NV 0x870F
  11046. #define GL_DS_SCALE_NV 0x8710
  11047. #define GL_DT_SCALE_NV 0x8711
  11048. #define GL_MAGNITUDE_SCALE_NV 0x8712
  11049. #define GL_VIBRANCE_SCALE_NV 0x8713
  11050. #define GL_HI_BIAS_NV 0x8714
  11051. #define GL_LO_BIAS_NV 0x8715
  11052. #define GL_DS_BIAS_NV 0x8716
  11053. #define GL_DT_BIAS_NV 0x8717
  11054. #define GL_MAGNITUDE_BIAS_NV 0x8718
  11055. #define GL_VIBRANCE_BIAS_NV 0x8719
  11056. #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
  11057. #define GL_TEXTURE_HI_SIZE_NV 0x871B
  11058. #define GL_TEXTURE_LO_SIZE_NV 0x871C
  11059. #define GL_TEXTURE_DS_SIZE_NV 0x871D
  11060. #define GL_TEXTURE_DT_SIZE_NV 0x871E
  11061. #define GL_TEXTURE_MAG_SIZE_NV 0x871F
  11062. #endif /* GL_NV_texture_shader */
  11063. #ifndef GL_NV_texture_shader2
  11064. #define GL_NV_texture_shader2 1
  11065. #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
  11066. #endif /* GL_NV_texture_shader2 */
  11067. #ifndef GL_NV_texture_shader3
  11068. #define GL_NV_texture_shader3 1
  11069. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  11070. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  11071. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  11072. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  11073. #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
  11074. #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  11075. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  11076. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  11077. #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
  11078. #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
  11079. #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  11080. #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
  11081. #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
  11082. #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  11083. #define GL_HILO8_NV 0x885E
  11084. #define GL_SIGNED_HILO8_NV 0x885F
  11085. #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
  11086. #endif /* GL_NV_texture_shader3 */
  11087. #ifndef GL_NV_timeline_semaphore
  11088. #define GL_NV_timeline_semaphore 1
  11089. #define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595
  11090. #define GL_SEMAPHORE_TYPE_NV 0x95B3
  11091. #define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4
  11092. #define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5
  11093. #define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6
  11094. typedef void (APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores);
  11095. typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params);
  11096. typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params);
  11097. #ifdef GL_GLEXT_PROTOTYPES
  11098. GLAPI void APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores);
  11099. GLAPI void APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params);
  11100. GLAPI void APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params);
  11101. #endif
  11102. #endif /* GL_NV_timeline_semaphore */
  11103. #ifndef GL_NV_transform_feedback
  11104. #define GL_NV_transform_feedback 1
  11105. #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
  11106. #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
  11107. #define GL_TEXTURE_COORD_NV 0x8C79
  11108. #define GL_CLIP_DISTANCE_NV 0x8C7A
  11109. #define GL_VERTEX_ID_NV 0x8C7B
  11110. #define GL_PRIMITIVE_ID_NV 0x8C7C
  11111. #define GL_GENERIC_ATTRIB_NV 0x8C7D
  11112. #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
  11113. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
  11114. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
  11115. #define GL_ACTIVE_VARYINGS_NV 0x8C81
  11116. #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
  11117. #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
  11118. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
  11119. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
  11120. #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
  11121. #define GL_PRIMITIVES_GENERATED_NV 0x8C87
  11122. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
  11123. #define GL_RASTERIZER_DISCARD_NV 0x8C89
  11124. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
  11125. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
  11126. #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
  11127. #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
  11128. #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
  11129. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
  11130. #define GL_LAYER_NV 0x8DAA
  11131. #define GL_NEXT_BUFFER_NV -2
  11132. #define GL_SKIP_COMPONENTS4_NV -3
  11133. #define GL_SKIP_COMPONENTS3_NV -4
  11134. #define GL_SKIP_COMPONENTS2_NV -5
  11135. #define GL_SKIP_COMPONENTS1_NV -6
  11136. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
  11137. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
  11138. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLenum bufferMode);
  11139. typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  11140. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  11141. typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
  11142. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  11143. typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
  11144. typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
  11145. typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  11146. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
  11147. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  11148. #ifdef GL_GLEXT_PROTOTYPES
  11149. GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
  11150. GLAPI void APIENTRY glEndTransformFeedbackNV (void);
  11151. GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLsizei count, const GLint *attribs, GLenum bufferMode);
  11152. GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  11153. GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  11154. GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
  11155. GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  11156. GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
  11157. GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
  11158. GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  11159. GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
  11160. GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  11161. #endif
  11162. #endif /* GL_NV_transform_feedback */
  11163. #ifndef GL_NV_transform_feedback2
  11164. #define GL_NV_transform_feedback2 1
  11165. #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
  11166. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
  11167. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
  11168. #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
  11169. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
  11170. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
  11171. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
  11172. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
  11173. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
  11174. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
  11175. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
  11176. #ifdef GL_GLEXT_PROTOTYPES
  11177. GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
  11178. GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
  11179. GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
  11180. GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
  11181. GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
  11182. GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
  11183. GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
  11184. #endif
  11185. #endif /* GL_NV_transform_feedback2 */
  11186. #ifndef GL_NV_uniform_buffer_unified_memory
  11187. #define GL_NV_uniform_buffer_unified_memory 1
  11188. #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
  11189. #define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F
  11190. #define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370
  11191. #endif /* GL_NV_uniform_buffer_unified_memory */
  11192. #ifndef GL_NV_vdpau_interop
  11193. #define GL_NV_vdpau_interop 1
  11194. typedef GLintptr GLvdpauSurfaceNV;
  11195. #define GL_SURFACE_STATE_NV 0x86EB
  11196. #define GL_SURFACE_REGISTERED_NV 0x86FD
  11197. #define GL_SURFACE_MAPPED_NV 0x8700
  11198. #define GL_WRITE_DISCARD_NV 0x88BE
  11199. typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress);
  11200. typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
  11201. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11202. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11203. typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
  11204. typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
  11205. typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
  11206. typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
  11207. typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  11208. typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  11209. #ifdef GL_GLEXT_PROTOTYPES
  11210. GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress);
  11211. GLAPI void APIENTRY glVDPAUFiniNV (void);
  11212. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11213. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11214. GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
  11215. GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
  11216. GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
  11217. GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
  11218. GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  11219. GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  11220. #endif
  11221. #endif /* GL_NV_vdpau_interop */
  11222. #ifndef GL_NV_vdpau_interop2
  11223. #define GL_NV_vdpau_interop2 1
  11224. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
  11225. #ifdef GL_GLEXT_PROTOTYPES
  11226. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
  11227. #endif
  11228. #endif /* GL_NV_vdpau_interop2 */
  11229. #ifndef GL_NV_vertex_array_range
  11230. #define GL_NV_vertex_array_range 1
  11231. #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
  11232. #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
  11233. #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
  11234. #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  11235. #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
  11236. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  11237. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer);
  11238. #ifdef GL_GLEXT_PROTOTYPES
  11239. GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  11240. GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer);
  11241. #endif
  11242. #endif /* GL_NV_vertex_array_range */
  11243. #ifndef GL_NV_vertex_array_range2
  11244. #define GL_NV_vertex_array_range2 1
  11245. #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  11246. #endif /* GL_NV_vertex_array_range2 */
  11247. #ifndef GL_NV_vertex_attrib_integer_64bit
  11248. #define GL_NV_vertex_attrib_integer_64bit 1
  11249. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
  11250. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
  11251. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11252. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11253. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11254. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11255. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11256. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11257. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
  11258. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
  11259. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11260. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11261. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11262. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11263. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11264. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11265. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
  11266. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  11267. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  11268. #ifdef GL_GLEXT_PROTOTYPES
  11269. GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
  11270. GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
  11271. GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11272. GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11273. GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
  11274. GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
  11275. GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
  11276. GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
  11277. GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
  11278. GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
  11279. GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11280. GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11281. GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
  11282. GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
  11283. GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
  11284. GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
  11285. GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
  11286. GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
  11287. GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  11288. #endif
  11289. #endif /* GL_NV_vertex_attrib_integer_64bit */
  11290. #ifndef GL_NV_vertex_buffer_unified_memory
  11291. #define GL_NV_vertex_buffer_unified_memory 1
  11292. #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
  11293. #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
  11294. #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
  11295. #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
  11296. #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
  11297. #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
  11298. #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
  11299. #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
  11300. #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
  11301. #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
  11302. #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
  11303. #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
  11304. #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
  11305. #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
  11306. #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
  11307. #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
  11308. #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
  11309. #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
  11310. #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
  11311. #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
  11312. #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
  11313. #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
  11314. #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
  11315. #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
  11316. #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
  11317. typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  11318. typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11319. typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
  11320. typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11321. typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
  11322. typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11323. typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
  11324. typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11325. typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
  11326. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  11327. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  11328. typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
  11329. #ifdef GL_GLEXT_PROTOTYPES
  11330. GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  11331. GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
  11332. GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
  11333. GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
  11334. GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
  11335. GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
  11336. GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
  11337. GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
  11338. GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
  11339. GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  11340. GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  11341. GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
  11342. #endif
  11343. #endif /* GL_NV_vertex_buffer_unified_memory */
  11344. #ifndef GL_NV_vertex_program
  11345. #define GL_NV_vertex_program 1
  11346. #define GL_VERTEX_PROGRAM_NV 0x8620
  11347. #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
  11348. #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
  11349. #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
  11350. #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
  11351. #define GL_CURRENT_ATTRIB_NV 0x8626
  11352. #define GL_PROGRAM_LENGTH_NV 0x8627
  11353. #define GL_PROGRAM_STRING_NV 0x8628
  11354. #define GL_MODELVIEW_PROJECTION_NV 0x8629
  11355. #define GL_IDENTITY_NV 0x862A
  11356. #define GL_INVERSE_NV 0x862B
  11357. #define GL_TRANSPOSE_NV 0x862C
  11358. #define GL_INVERSE_TRANSPOSE_NV 0x862D
  11359. #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  11360. #define GL_MAX_TRACK_MATRICES_NV 0x862F
  11361. #define GL_MATRIX0_NV 0x8630
  11362. #define GL_MATRIX1_NV 0x8631
  11363. #define GL_MATRIX2_NV 0x8632
  11364. #define GL_MATRIX3_NV 0x8633
  11365. #define GL_MATRIX4_NV 0x8634
  11366. #define GL_MATRIX5_NV 0x8635
  11367. #define GL_MATRIX6_NV 0x8636
  11368. #define GL_MATRIX7_NV 0x8637
  11369. #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
  11370. #define GL_CURRENT_MATRIX_NV 0x8641
  11371. #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
  11372. #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
  11373. #define GL_PROGRAM_PARAMETER_NV 0x8644
  11374. #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
  11375. #define GL_PROGRAM_TARGET_NV 0x8646
  11376. #define GL_PROGRAM_RESIDENT_NV 0x8647
  11377. #define GL_TRACK_MATRIX_NV 0x8648
  11378. #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
  11379. #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
  11380. #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
  11381. #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
  11382. #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
  11383. #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
  11384. #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
  11385. #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
  11386. #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
  11387. #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
  11388. #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
  11389. #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
  11390. #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
  11391. #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
  11392. #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
  11393. #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
  11394. #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
  11395. #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
  11396. #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
  11397. #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
  11398. #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
  11399. #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
  11400. #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
  11401. #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
  11402. #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
  11403. #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
  11404. #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
  11405. #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
  11406. #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
  11407. #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
  11408. #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
  11409. #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
  11410. #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
  11411. #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
  11412. #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
  11413. #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
  11414. #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
  11415. #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
  11416. #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
  11417. #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
  11418. #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
  11419. #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
  11420. #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
  11421. #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
  11422. #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
  11423. #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
  11424. #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
  11425. #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
  11426. #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
  11427. #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
  11428. #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
  11429. typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
  11430. typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
  11431. typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  11432. typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
  11433. typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
  11434. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  11435. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  11436. typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  11437. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
  11438. typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
  11439. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
  11440. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
  11441. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
  11442. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer);
  11443. typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
  11444. typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  11445. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11446. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
  11447. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11448. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
  11449. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  11450. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  11451. typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  11452. typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  11453. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  11454. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
  11455. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
  11456. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
  11457. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
  11458. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
  11459. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
  11460. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  11461. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
  11462. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  11463. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
  11464. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  11465. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
  11466. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  11467. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
  11468. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  11469. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
  11470. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  11471. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
  11472. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11473. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
  11474. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11475. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
  11476. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  11477. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
  11478. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  11479. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
  11480. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  11481. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  11482. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  11483. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  11484. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  11485. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  11486. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  11487. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  11488. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  11489. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  11490. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  11491. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  11492. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
  11493. #ifdef GL_GLEXT_PROTOTYPES
  11494. GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
  11495. GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
  11496. GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
  11497. GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
  11498. GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
  11499. GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  11500. GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  11501. GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
  11502. GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
  11503. GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
  11504. GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
  11505. GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
  11506. GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
  11507. GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer);
  11508. GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
  11509. GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  11510. GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11511. GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
  11512. GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11513. GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
  11514. GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  11515. GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  11516. GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
  11517. GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  11518. GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer);
  11519. GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
  11520. GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
  11521. GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
  11522. GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
  11523. GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
  11524. GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
  11525. GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
  11526. GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
  11527. GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
  11528. GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
  11529. GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
  11530. GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
  11531. GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  11532. GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
  11533. GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  11534. GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
  11535. GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
  11536. GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
  11537. GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11538. GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
  11539. GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11540. GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
  11541. GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  11542. GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
  11543. GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  11544. GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
  11545. GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
  11546. GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
  11547. GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
  11548. GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
  11549. GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
  11550. GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
  11551. GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
  11552. GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
  11553. GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
  11554. GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
  11555. GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
  11556. GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
  11557. GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
  11558. #endif
  11559. #endif /* GL_NV_vertex_program */
  11560. #ifndef GL_NV_vertex_program1_1
  11561. #define GL_NV_vertex_program1_1 1
  11562. #endif /* GL_NV_vertex_program1_1 */
  11563. #ifndef GL_NV_vertex_program2
  11564. #define GL_NV_vertex_program2 1
  11565. #endif /* GL_NV_vertex_program2 */
  11566. #ifndef GL_NV_vertex_program2_option
  11567. #define GL_NV_vertex_program2_option 1
  11568. #endif /* GL_NV_vertex_program2_option */
  11569. #ifndef GL_NV_vertex_program3
  11570. #define GL_NV_vertex_program3 1
  11571. #endif /* GL_NV_vertex_program3 */
  11572. #ifndef GL_NV_vertex_program4
  11573. #define GL_NV_vertex_program4 1
  11574. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  11575. #endif /* GL_NV_vertex_program4 */
  11576. #ifndef GL_NV_video_capture
  11577. #define GL_NV_video_capture 1
  11578. #define GL_VIDEO_BUFFER_NV 0x9020
  11579. #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
  11580. #define GL_FIELD_UPPER_NV 0x9022
  11581. #define GL_FIELD_LOWER_NV 0x9023
  11582. #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
  11583. #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
  11584. #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
  11585. #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
  11586. #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
  11587. #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
  11588. #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
  11589. #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
  11590. #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
  11591. #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
  11592. #define GL_PARTIAL_SUCCESS_NV 0x902E
  11593. #define GL_SUCCESS_NV 0x902F
  11594. #define GL_FAILURE_NV 0x9030
  11595. #define GL_YCBYCR8_422_NV 0x9031
  11596. #define GL_YCBAYCR8A_4224_NV 0x9032
  11597. #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
  11598. #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
  11599. #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
  11600. #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
  11601. #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
  11602. #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
  11603. #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
  11604. #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
  11605. #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
  11606. #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
  11607. typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  11608. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  11609. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  11610. typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  11611. typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
  11612. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  11613. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  11614. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  11615. typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  11616. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  11617. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  11618. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  11619. #ifdef GL_GLEXT_PROTOTYPES
  11620. GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
  11621. GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  11622. GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  11623. GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
  11624. GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
  11625. GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  11626. GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  11627. GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  11628. GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  11629. GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  11630. GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  11631. GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  11632. #endif
  11633. #endif /* GL_NV_video_capture */
  11634. #ifndef GL_NV_viewport_array2
  11635. #define GL_NV_viewport_array2 1
  11636. #endif /* GL_NV_viewport_array2 */
  11637. #ifndef GL_NV_viewport_swizzle
  11638. #define GL_NV_viewport_swizzle 1
  11639. #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
  11640. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
  11641. #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
  11642. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
  11643. #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
  11644. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
  11645. #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
  11646. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
  11647. #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
  11648. #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
  11649. #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
  11650. #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
  11651. typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
  11652. #ifdef GL_GLEXT_PROTOTYPES
  11653. GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
  11654. #endif
  11655. #endif /* GL_NV_viewport_swizzle */
  11656. #ifndef GL_OML_interlace
  11657. #define GL_OML_interlace 1
  11658. #define GL_INTERLACE_OML 0x8980
  11659. #define GL_INTERLACE_READ_OML 0x8981
  11660. #endif /* GL_OML_interlace */
  11661. #ifndef GL_OML_resample
  11662. #define GL_OML_resample 1
  11663. #define GL_PACK_RESAMPLE_OML 0x8984
  11664. #define GL_UNPACK_RESAMPLE_OML 0x8985
  11665. #define GL_RESAMPLE_REPLICATE_OML 0x8986
  11666. #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
  11667. #define GL_RESAMPLE_AVERAGE_OML 0x8988
  11668. #define GL_RESAMPLE_DECIMATE_OML 0x8989
  11669. #endif /* GL_OML_resample */
  11670. #ifndef GL_OML_subsample
  11671. #define GL_OML_subsample 1
  11672. #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
  11673. #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
  11674. #endif /* GL_OML_subsample */
  11675. #ifndef GL_OVR_multiview
  11676. #define GL_OVR_multiview 1
  11677. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
  11678. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
  11679. #define GL_MAX_VIEWS_OVR 0x9631
  11680. #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
  11681. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  11682. #ifdef GL_GLEXT_PROTOTYPES
  11683. GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  11684. #endif
  11685. #endif /* GL_OVR_multiview */
  11686. #ifndef GL_OVR_multiview2
  11687. #define GL_OVR_multiview2 1
  11688. #endif /* GL_OVR_multiview2 */
  11689. #ifndef GL_PGI_misc_hints
  11690. #define GL_PGI_misc_hints 1
  11691. #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
  11692. #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
  11693. #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
  11694. #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
  11695. #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  11696. #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
  11697. #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
  11698. #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
  11699. #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
  11700. #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
  11701. #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
  11702. #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
  11703. #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
  11704. #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
  11705. #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
  11706. #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
  11707. #define GL_CLIP_NEAR_HINT_PGI 0x1A220
  11708. #define GL_CLIP_FAR_HINT_PGI 0x1A221
  11709. #define GL_WIDE_LINE_HINT_PGI 0x1A222
  11710. #define GL_BACK_NORMALS_HINT_PGI 0x1A223
  11711. typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  11712. #ifdef GL_GLEXT_PROTOTYPES
  11713. GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
  11714. #endif
  11715. #endif /* GL_PGI_misc_hints */
  11716. #ifndef GL_PGI_vertex_hints
  11717. #define GL_PGI_vertex_hints 1
  11718. #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
  11719. #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
  11720. #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
  11721. #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
  11722. #define GL_COLOR3_BIT_PGI 0x00010000
  11723. #define GL_COLOR4_BIT_PGI 0x00020000
  11724. #define GL_EDGEFLAG_BIT_PGI 0x00040000
  11725. #define GL_INDEX_BIT_PGI 0x00080000
  11726. #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
  11727. #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  11728. #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
  11729. #define GL_MAT_EMISSION_BIT_PGI 0x00800000
  11730. #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
  11731. #define GL_MAT_SHININESS_BIT_PGI 0x02000000
  11732. #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
  11733. #define GL_NORMAL_BIT_PGI 0x08000000
  11734. #define GL_TEXCOORD1_BIT_PGI 0x10000000
  11735. #define GL_TEXCOORD2_BIT_PGI 0x20000000
  11736. #define GL_TEXCOORD3_BIT_PGI 0x40000000
  11737. #define GL_TEXCOORD4_BIT_PGI 0x80000000
  11738. #define GL_VERTEX23_BIT_PGI 0x00000004
  11739. #define GL_VERTEX4_BIT_PGI 0x00000008
  11740. #endif /* GL_PGI_vertex_hints */
  11741. #ifndef GL_REND_screen_coordinates
  11742. #define GL_REND_screen_coordinates 1
  11743. #define GL_SCREEN_COORDINATES_REND 0x8490
  11744. #define GL_INVERTED_SCREEN_W_REND 0x8491
  11745. #endif /* GL_REND_screen_coordinates */
  11746. #ifndef GL_S3_s3tc
  11747. #define GL_S3_s3tc 1
  11748. #define GL_RGB_S3TC 0x83A0
  11749. #define GL_RGB4_S3TC 0x83A1
  11750. #define GL_RGBA_S3TC 0x83A2
  11751. #define GL_RGBA4_S3TC 0x83A3
  11752. #define GL_RGBA_DXT5_S3TC 0x83A4
  11753. #define GL_RGBA4_DXT5_S3TC 0x83A5
  11754. #endif /* GL_S3_s3tc */
  11755. #ifndef GL_SGIS_detail_texture
  11756. #define GL_SGIS_detail_texture 1
  11757. #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
  11758. #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  11759. #define GL_LINEAR_DETAIL_SGIS 0x8097
  11760. #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
  11761. #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
  11762. #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
  11763. #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
  11764. #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  11765. typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  11766. typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  11767. #ifdef GL_GLEXT_PROTOTYPES
  11768. GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  11769. GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
  11770. #endif
  11771. #endif /* GL_SGIS_detail_texture */
  11772. #ifndef GL_SGIS_fog_function
  11773. #define GL_SGIS_fog_function 1
  11774. #define GL_FOG_FUNC_SGIS 0x812A
  11775. #define GL_FOG_FUNC_POINTS_SGIS 0x812B
  11776. #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
  11777. typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  11778. typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  11779. #ifdef GL_GLEXT_PROTOTYPES
  11780. GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
  11781. GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
  11782. #endif
  11783. #endif /* GL_SGIS_fog_function */
  11784. #ifndef GL_SGIS_generate_mipmap
  11785. #define GL_SGIS_generate_mipmap 1
  11786. #define GL_GENERATE_MIPMAP_SGIS 0x8191
  11787. #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
  11788. #endif /* GL_SGIS_generate_mipmap */
  11789. #ifndef GL_SGIS_multisample
  11790. #define GL_SGIS_multisample 1
  11791. #define GL_MULTISAMPLE_SGIS 0x809D
  11792. #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
  11793. #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
  11794. #define GL_SAMPLE_MASK_SGIS 0x80A0
  11795. #define GL_1PASS_SGIS 0x80A1
  11796. #define GL_2PASS_0_SGIS 0x80A2
  11797. #define GL_2PASS_1_SGIS 0x80A3
  11798. #define GL_4PASS_0_SGIS 0x80A4
  11799. #define GL_4PASS_1_SGIS 0x80A5
  11800. #define GL_4PASS_2_SGIS 0x80A6
  11801. #define GL_4PASS_3_SGIS 0x80A7
  11802. #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
  11803. #define GL_SAMPLES_SGIS 0x80A9
  11804. #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
  11805. #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
  11806. #define GL_SAMPLE_PATTERN_SGIS 0x80AC
  11807. typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  11808. typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  11809. #ifdef GL_GLEXT_PROTOTYPES
  11810. GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
  11811. GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
  11812. #endif
  11813. #endif /* GL_SGIS_multisample */
  11814. #ifndef GL_SGIS_pixel_texture
  11815. #define GL_SGIS_pixel_texture 1
  11816. #define GL_PIXEL_TEXTURE_SGIS 0x8353
  11817. #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  11818. #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  11819. #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
  11820. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  11821. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  11822. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  11823. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  11824. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  11825. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  11826. #ifdef GL_GLEXT_PROTOTYPES
  11827. GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
  11828. GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
  11829. GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
  11830. GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
  11831. GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
  11832. GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
  11833. #endif
  11834. #endif /* GL_SGIS_pixel_texture */
  11835. #ifndef GL_SGIS_point_line_texgen
  11836. #define GL_SGIS_point_line_texgen 1
  11837. #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
  11838. #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
  11839. #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
  11840. #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
  11841. #define GL_EYE_POINT_SGIS 0x81F4
  11842. #define GL_OBJECT_POINT_SGIS 0x81F5
  11843. #define GL_EYE_LINE_SGIS 0x81F6
  11844. #define GL_OBJECT_LINE_SGIS 0x81F7
  11845. #endif /* GL_SGIS_point_line_texgen */
  11846. #ifndef GL_SGIS_point_parameters
  11847. #define GL_SGIS_point_parameters 1
  11848. #define GL_POINT_SIZE_MIN_SGIS 0x8126
  11849. #define GL_POINT_SIZE_MAX_SGIS 0x8127
  11850. #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  11851. #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
  11852. typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  11853. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  11854. #ifdef GL_GLEXT_PROTOTYPES
  11855. GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
  11856. GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
  11857. #endif
  11858. #endif /* GL_SGIS_point_parameters */
  11859. #ifndef GL_SGIS_sharpen_texture
  11860. #define GL_SGIS_sharpen_texture 1
  11861. #define GL_LINEAR_SHARPEN_SGIS 0x80AD
  11862. #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
  11863. #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
  11864. #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  11865. typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  11866. typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  11867. #ifdef GL_GLEXT_PROTOTYPES
  11868. GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  11869. GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
  11870. #endif
  11871. #endif /* GL_SGIS_sharpen_texture */
  11872. #ifndef GL_SGIS_texture4D
  11873. #define GL_SGIS_texture4D 1
  11874. #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
  11875. #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
  11876. #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
  11877. #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
  11878. #define GL_TEXTURE_4D_SGIS 0x8134
  11879. #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
  11880. #define GL_TEXTURE_4DSIZE_SGIS 0x8136
  11881. #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
  11882. #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
  11883. #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
  11884. 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);
  11885. 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);
  11886. #ifdef GL_GLEXT_PROTOTYPES
  11887. 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);
  11888. 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);
  11889. #endif
  11890. #endif /* GL_SGIS_texture4D */
  11891. #ifndef GL_SGIS_texture_border_clamp
  11892. #define GL_SGIS_texture_border_clamp 1
  11893. #define GL_CLAMP_TO_BORDER_SGIS 0x812D
  11894. #endif /* GL_SGIS_texture_border_clamp */
  11895. #ifndef GL_SGIS_texture_color_mask
  11896. #define GL_SGIS_texture_color_mask 1
  11897. #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
  11898. typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  11899. #ifdef GL_GLEXT_PROTOTYPES
  11900. GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  11901. #endif
  11902. #endif /* GL_SGIS_texture_color_mask */
  11903. #ifndef GL_SGIS_texture_edge_clamp
  11904. #define GL_SGIS_texture_edge_clamp 1
  11905. #define GL_CLAMP_TO_EDGE_SGIS 0x812F
  11906. #endif /* GL_SGIS_texture_edge_clamp */
  11907. #ifndef GL_SGIS_texture_filter4
  11908. #define GL_SGIS_texture_filter4 1
  11909. #define GL_FILTER4_SGIS 0x8146
  11910. #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
  11911. typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  11912. typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  11913. #ifdef GL_GLEXT_PROTOTYPES
  11914. GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
  11915. GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  11916. #endif
  11917. #endif /* GL_SGIS_texture_filter4 */
  11918. #ifndef GL_SGIS_texture_lod
  11919. #define GL_SGIS_texture_lod 1
  11920. #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
  11921. #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
  11922. #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
  11923. #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
  11924. #endif /* GL_SGIS_texture_lod */
  11925. #ifndef GL_SGIS_texture_select
  11926. #define GL_SGIS_texture_select 1
  11927. #define GL_DUAL_ALPHA4_SGIS 0x8110
  11928. #define GL_DUAL_ALPHA8_SGIS 0x8111
  11929. #define GL_DUAL_ALPHA12_SGIS 0x8112
  11930. #define GL_DUAL_ALPHA16_SGIS 0x8113
  11931. #define GL_DUAL_LUMINANCE4_SGIS 0x8114
  11932. #define GL_DUAL_LUMINANCE8_SGIS 0x8115
  11933. #define GL_DUAL_LUMINANCE12_SGIS 0x8116
  11934. #define GL_DUAL_LUMINANCE16_SGIS 0x8117
  11935. #define GL_DUAL_INTENSITY4_SGIS 0x8118
  11936. #define GL_DUAL_INTENSITY8_SGIS 0x8119
  11937. #define GL_DUAL_INTENSITY12_SGIS 0x811A
  11938. #define GL_DUAL_INTENSITY16_SGIS 0x811B
  11939. #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
  11940. #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
  11941. #define GL_QUAD_ALPHA4_SGIS 0x811E
  11942. #define GL_QUAD_ALPHA8_SGIS 0x811F
  11943. #define GL_QUAD_LUMINANCE4_SGIS 0x8120
  11944. #define GL_QUAD_LUMINANCE8_SGIS 0x8121
  11945. #define GL_QUAD_INTENSITY4_SGIS 0x8122
  11946. #define GL_QUAD_INTENSITY8_SGIS 0x8123
  11947. #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
  11948. #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
  11949. #endif /* GL_SGIS_texture_select */
  11950. #ifndef GL_SGIX_async
  11951. #define GL_SGIX_async 1
  11952. #define GL_ASYNC_MARKER_SGIX 0x8329
  11953. typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  11954. typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  11955. typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  11956. typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  11957. typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  11958. typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  11959. #ifdef GL_GLEXT_PROTOTYPES
  11960. GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
  11961. GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
  11962. GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
  11963. GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
  11964. GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
  11965. GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
  11966. #endif
  11967. #endif /* GL_SGIX_async */
  11968. #ifndef GL_SGIX_async_histogram
  11969. #define GL_SGIX_async_histogram 1
  11970. #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
  11971. #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
  11972. #endif /* GL_SGIX_async_histogram */
  11973. #ifndef GL_SGIX_async_pixel
  11974. #define GL_SGIX_async_pixel 1
  11975. #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
  11976. #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
  11977. #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
  11978. #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
  11979. #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
  11980. #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
  11981. #endif /* GL_SGIX_async_pixel */
  11982. #ifndef GL_SGIX_blend_alpha_minmax
  11983. #define GL_SGIX_blend_alpha_minmax 1
  11984. #define GL_ALPHA_MIN_SGIX 0x8320
  11985. #define GL_ALPHA_MAX_SGIX 0x8321
  11986. #endif /* GL_SGIX_blend_alpha_minmax */
  11987. #ifndef GL_SGIX_calligraphic_fragment
  11988. #define GL_SGIX_calligraphic_fragment 1
  11989. #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
  11990. #endif /* GL_SGIX_calligraphic_fragment */
  11991. #ifndef GL_SGIX_clipmap
  11992. #define GL_SGIX_clipmap 1
  11993. #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
  11994. #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
  11995. #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
  11996. #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
  11997. #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  11998. #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  11999. #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
  12000. #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
  12001. #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  12002. #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
  12003. #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
  12004. #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
  12005. #endif /* GL_SGIX_clipmap */
  12006. #ifndef GL_SGIX_convolution_accuracy
  12007. #define GL_SGIX_convolution_accuracy 1
  12008. #define GL_CONVOLUTION_HINT_SGIX 0x8316
  12009. #endif /* GL_SGIX_convolution_accuracy */
  12010. #ifndef GL_SGIX_depth_pass_instrument
  12011. #define GL_SGIX_depth_pass_instrument 1
  12012. #endif /* GL_SGIX_depth_pass_instrument */
  12013. #ifndef GL_SGIX_depth_texture
  12014. #define GL_SGIX_depth_texture 1
  12015. #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
  12016. #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
  12017. #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
  12018. #endif /* GL_SGIX_depth_texture */
  12019. #ifndef GL_SGIX_flush_raster
  12020. #define GL_SGIX_flush_raster 1
  12021. typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  12022. #ifdef GL_GLEXT_PROTOTYPES
  12023. GLAPI void APIENTRY glFlushRasterSGIX (void);
  12024. #endif
  12025. #endif /* GL_SGIX_flush_raster */
  12026. #ifndef GL_SGIX_fog_offset
  12027. #define GL_SGIX_fog_offset 1
  12028. #define GL_FOG_OFFSET_SGIX 0x8198
  12029. #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
  12030. #endif /* GL_SGIX_fog_offset */
  12031. #ifndef GL_SGIX_fragment_lighting
  12032. #define GL_SGIX_fragment_lighting 1
  12033. #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
  12034. #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
  12035. #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  12036. #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  12037. #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
  12038. #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
  12039. #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
  12040. #define GL_LIGHT_ENV_MODE_SGIX 0x8407
  12041. #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  12042. #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  12043. #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  12044. #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  12045. #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
  12046. #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
  12047. #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
  12048. #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
  12049. #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
  12050. #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
  12051. #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
  12052. #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
  12053. typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  12054. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  12055. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  12056. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  12057. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  12058. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  12059. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  12060. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  12061. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  12062. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  12063. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  12064. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  12065. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  12066. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  12067. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  12068. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  12069. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  12070. typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  12071. #ifdef GL_GLEXT_PROTOTYPES
  12072. GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
  12073. GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
  12074. GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
  12075. GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
  12076. GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
  12077. GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
  12078. GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
  12079. GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
  12080. GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
  12081. GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
  12082. GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
  12083. GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
  12084. GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
  12085. GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
  12086. GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
  12087. GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
  12088. GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
  12089. GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
  12090. #endif
  12091. #endif /* GL_SGIX_fragment_lighting */
  12092. #ifndef GL_SGIX_framezoom
  12093. #define GL_SGIX_framezoom 1
  12094. #define GL_FRAMEZOOM_SGIX 0x818B
  12095. #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
  12096. #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
  12097. typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  12098. #ifdef GL_GLEXT_PROTOTYPES
  12099. GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
  12100. #endif
  12101. #endif /* GL_SGIX_framezoom */
  12102. #ifndef GL_SGIX_igloo_interface
  12103. #define GL_SGIX_igloo_interface 1
  12104. typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params);
  12105. #ifdef GL_GLEXT_PROTOTYPES
  12106. GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params);
  12107. #endif
  12108. #endif /* GL_SGIX_igloo_interface */
  12109. #ifndef GL_SGIX_instruments
  12110. #define GL_SGIX_instruments 1
  12111. #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  12112. #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
  12113. typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  12114. typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  12115. typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  12116. typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  12117. typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  12118. typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  12119. #ifdef GL_GLEXT_PROTOTYPES
  12120. GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  12121. GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
  12122. GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
  12123. GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
  12124. GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  12125. GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
  12126. #endif
  12127. #endif /* GL_SGIX_instruments */
  12128. #ifndef GL_SGIX_interlace
  12129. #define GL_SGIX_interlace 1
  12130. #define GL_INTERLACE_SGIX 0x8094
  12131. #endif /* GL_SGIX_interlace */
  12132. #ifndef GL_SGIX_ir_instrument1
  12133. #define GL_SGIX_ir_instrument1 1
  12134. #define GL_IR_INSTRUMENT1_SGIX 0x817F
  12135. #endif /* GL_SGIX_ir_instrument1 */
  12136. #ifndef GL_SGIX_list_priority
  12137. #define GL_SGIX_list_priority 1
  12138. #define GL_LIST_PRIORITY_SGIX 0x8182
  12139. typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  12140. typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  12141. typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  12142. typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  12143. typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  12144. typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  12145. #ifdef GL_GLEXT_PROTOTYPES
  12146. GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
  12147. GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
  12148. GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
  12149. GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
  12150. GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
  12151. GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
  12152. #endif
  12153. #endif /* GL_SGIX_list_priority */
  12154. #ifndef GL_SGIX_pixel_texture
  12155. #define GL_SGIX_pixel_texture 1
  12156. #define GL_PIXEL_TEX_GEN_SGIX 0x8139
  12157. #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
  12158. typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  12159. #ifdef GL_GLEXT_PROTOTYPES
  12160. GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
  12161. #endif
  12162. #endif /* GL_SGIX_pixel_texture */
  12163. #ifndef GL_SGIX_pixel_tiles
  12164. #define GL_SGIX_pixel_tiles 1
  12165. #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  12166. #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  12167. #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
  12168. #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
  12169. #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
  12170. #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
  12171. #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
  12172. #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
  12173. #endif /* GL_SGIX_pixel_tiles */
  12174. #ifndef GL_SGIX_polynomial_ffd
  12175. #define GL_SGIX_polynomial_ffd 1
  12176. #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
  12177. #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
  12178. #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
  12179. #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
  12180. #define GL_DEFORMATIONS_MASK_SGIX 0x8196
  12181. #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
  12182. 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);
  12183. 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);
  12184. typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  12185. typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  12186. #ifdef GL_GLEXT_PROTOTYPES
  12187. 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);
  12188. 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);
  12189. GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
  12190. GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
  12191. #endif
  12192. #endif /* GL_SGIX_polynomial_ffd */
  12193. #ifndef GL_SGIX_reference_plane
  12194. #define GL_SGIX_reference_plane 1
  12195. #define GL_REFERENCE_PLANE_SGIX 0x817D
  12196. #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
  12197. typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  12198. #ifdef GL_GLEXT_PROTOTYPES
  12199. GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
  12200. #endif
  12201. #endif /* GL_SGIX_reference_plane */
  12202. #ifndef GL_SGIX_resample
  12203. #define GL_SGIX_resample 1
  12204. #define GL_PACK_RESAMPLE_SGIX 0x842E
  12205. #define GL_UNPACK_RESAMPLE_SGIX 0x842F
  12206. #define GL_RESAMPLE_REPLICATE_SGIX 0x8433
  12207. #define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434
  12208. #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
  12209. #endif /* GL_SGIX_resample */
  12210. #ifndef GL_SGIX_scalebias_hint
  12211. #define GL_SGIX_scalebias_hint 1
  12212. #define GL_SCALEBIAS_HINT_SGIX 0x8322
  12213. #endif /* GL_SGIX_scalebias_hint */
  12214. #ifndef GL_SGIX_shadow
  12215. #define GL_SGIX_shadow 1
  12216. #define GL_TEXTURE_COMPARE_SGIX 0x819A
  12217. #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
  12218. #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
  12219. #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
  12220. #endif /* GL_SGIX_shadow */
  12221. #ifndef GL_SGIX_shadow_ambient
  12222. #define GL_SGIX_shadow_ambient 1
  12223. #define GL_SHADOW_AMBIENT_SGIX 0x80BF
  12224. #endif /* GL_SGIX_shadow_ambient */
  12225. #ifndef GL_SGIX_sprite
  12226. #define GL_SGIX_sprite 1
  12227. #define GL_SPRITE_SGIX 0x8148
  12228. #define GL_SPRITE_MODE_SGIX 0x8149
  12229. #define GL_SPRITE_AXIS_SGIX 0x814A
  12230. #define GL_SPRITE_TRANSLATION_SGIX 0x814B
  12231. #define GL_SPRITE_AXIAL_SGIX 0x814C
  12232. #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
  12233. #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
  12234. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  12235. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  12236. typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  12237. typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  12238. #ifdef GL_GLEXT_PROTOTYPES
  12239. GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
  12240. GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
  12241. GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
  12242. GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
  12243. #endif
  12244. #endif /* GL_SGIX_sprite */
  12245. #ifndef GL_SGIX_subsample
  12246. #define GL_SGIX_subsample 1
  12247. #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
  12248. #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
  12249. #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
  12250. #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
  12251. #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
  12252. #endif /* GL_SGIX_subsample */
  12253. #ifndef GL_SGIX_tag_sample_buffer
  12254. #define GL_SGIX_tag_sample_buffer 1
  12255. typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  12256. #ifdef GL_GLEXT_PROTOTYPES
  12257. GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  12258. #endif
  12259. #endif /* GL_SGIX_tag_sample_buffer */
  12260. #ifndef GL_SGIX_texture_add_env
  12261. #define GL_SGIX_texture_add_env 1
  12262. #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
  12263. #endif /* GL_SGIX_texture_add_env */
  12264. #ifndef GL_SGIX_texture_coordinate_clamp
  12265. #define GL_SGIX_texture_coordinate_clamp 1
  12266. #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
  12267. #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
  12268. #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
  12269. #endif /* GL_SGIX_texture_coordinate_clamp */
  12270. #ifndef GL_SGIX_texture_lod_bias
  12271. #define GL_SGIX_texture_lod_bias 1
  12272. #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
  12273. #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
  12274. #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
  12275. #endif /* GL_SGIX_texture_lod_bias */
  12276. #ifndef GL_SGIX_texture_multi_buffer
  12277. #define GL_SGIX_texture_multi_buffer 1
  12278. #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  12279. #endif /* GL_SGIX_texture_multi_buffer */
  12280. #ifndef GL_SGIX_texture_scale_bias
  12281. #define GL_SGIX_texture_scale_bias 1
  12282. #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
  12283. #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  12284. #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  12285. #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  12286. #endif /* GL_SGIX_texture_scale_bias */
  12287. #ifndef GL_SGIX_vertex_preclip
  12288. #define GL_SGIX_vertex_preclip 1
  12289. #define GL_VERTEX_PRECLIP_SGIX 0x83EE
  12290. #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
  12291. #endif /* GL_SGIX_vertex_preclip */
  12292. #ifndef GL_SGIX_ycrcb
  12293. #define GL_SGIX_ycrcb 1
  12294. #define GL_YCRCB_422_SGIX 0x81BB
  12295. #define GL_YCRCB_444_SGIX 0x81BC
  12296. #endif /* GL_SGIX_ycrcb */
  12297. #ifndef GL_SGIX_ycrcb_subsample
  12298. #define GL_SGIX_ycrcb_subsample 1
  12299. #endif /* GL_SGIX_ycrcb_subsample */
  12300. #ifndef GL_SGIX_ycrcba
  12301. #define GL_SGIX_ycrcba 1
  12302. #define GL_YCRCB_SGIX 0x8318
  12303. #define GL_YCRCBA_SGIX 0x8319
  12304. #endif /* GL_SGIX_ycrcba */
  12305. #ifndef GL_SGI_color_matrix
  12306. #define GL_SGI_color_matrix 1
  12307. #define GL_COLOR_MATRIX_SGI 0x80B1
  12308. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
  12309. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  12310. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  12311. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  12312. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  12313. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  12314. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  12315. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  12316. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  12317. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  12318. #endif /* GL_SGI_color_matrix */
  12319. #ifndef GL_SGI_color_table
  12320. #define GL_SGI_color_table 1
  12321. #define GL_COLOR_TABLE_SGI 0x80D0
  12322. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  12323. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  12324. #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
  12325. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  12326. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  12327. #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
  12328. #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
  12329. #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
  12330. #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
  12331. #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
  12332. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
  12333. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
  12334. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
  12335. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  12336. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  12337. typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  12338. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  12339. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  12340. typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  12341. typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table);
  12342. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  12343. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  12344. #ifdef GL_GLEXT_PROTOTYPES
  12345. GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table);
  12346. GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
  12347. GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
  12348. GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  12349. GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table);
  12350. GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
  12351. GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
  12352. #endif
  12353. #endif /* GL_SGI_color_table */
  12354. #ifndef GL_SGI_texture_color_table
  12355. #define GL_SGI_texture_color_table 1
  12356. #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
  12357. #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
  12358. #endif /* GL_SGI_texture_color_table */
  12359. #ifndef GL_SUNX_constant_data
  12360. #define GL_SUNX_constant_data 1
  12361. #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
  12362. #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
  12363. typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  12364. #ifdef GL_GLEXT_PROTOTYPES
  12365. GLAPI void APIENTRY glFinishTextureSUNX (void);
  12366. #endif
  12367. #endif /* GL_SUNX_constant_data */
  12368. #ifndef GL_SUN_convolution_border_modes
  12369. #define GL_SUN_convolution_border_modes 1
  12370. #define GL_WRAP_BORDER_SUN 0x81D4
  12371. #endif /* GL_SUN_convolution_border_modes */
  12372. #ifndef GL_SUN_global_alpha
  12373. #define GL_SUN_global_alpha 1
  12374. #define GL_GLOBAL_ALPHA_SUN 0x81D9
  12375. #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
  12376. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  12377. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  12378. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  12379. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  12380. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  12381. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  12382. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  12383. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  12384. #ifdef GL_GLEXT_PROTOTYPES
  12385. GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
  12386. GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
  12387. GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
  12388. GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
  12389. GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
  12390. GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
  12391. GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
  12392. GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
  12393. #endif
  12394. #endif /* GL_SUN_global_alpha */
  12395. #ifndef GL_SUN_mesh_array
  12396. #define GL_SUN_mesh_array 1
  12397. #define GL_QUAD_MESH_SUN 0x8614
  12398. #define GL_TRIANGLE_MESH_SUN 0x8615
  12399. typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
  12400. #ifdef GL_GLEXT_PROTOTYPES
  12401. GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
  12402. #endif
  12403. #endif /* GL_SUN_mesh_array */
  12404. #ifndef GL_SUN_slice_accum
  12405. #define GL_SUN_slice_accum 1
  12406. #define GL_SLICE_ACCUM_SUN 0x85CC
  12407. #endif /* GL_SUN_slice_accum */
  12408. #ifndef GL_SUN_triangle_list
  12409. #define GL_SUN_triangle_list 1
  12410. #define GL_RESTART_SUN 0x0001
  12411. #define GL_REPLACE_MIDDLE_SUN 0x0002
  12412. #define GL_REPLACE_OLDEST_SUN 0x0003
  12413. #define GL_TRIANGLE_LIST_SUN 0x81D7
  12414. #define GL_REPLACEMENT_CODE_SUN 0x81D8
  12415. #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
  12416. #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  12417. #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  12418. #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  12419. #define GL_R1UI_V3F_SUN 0x85C4
  12420. #define GL_R1UI_C4UB_V3F_SUN 0x85C5
  12421. #define GL_R1UI_C3F_V3F_SUN 0x85C6
  12422. #define GL_R1UI_N3F_V3F_SUN 0x85C7
  12423. #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
  12424. #define GL_R1UI_T2F_V3F_SUN 0x85C9
  12425. #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
  12426. #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
  12427. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  12428. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  12429. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  12430. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  12431. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  12432. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  12433. typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer);
  12434. #ifdef GL_GLEXT_PROTOTYPES
  12435. GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
  12436. GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
  12437. GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
  12438. GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
  12439. GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
  12440. GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
  12441. GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer);
  12442. #endif
  12443. #endif /* GL_SUN_triangle_list */
  12444. #ifndef GL_SUN_vertex
  12445. #define GL_SUN_vertex 1
  12446. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  12447. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  12448. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12449. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  12450. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12451. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  12452. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12453. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  12454. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12455. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12456. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12457. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  12458. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  12459. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  12460. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12461. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  12462. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12463. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  12464. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12465. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12466. 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);
  12467. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12468. 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);
  12469. typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12470. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  12471. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  12472. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12473. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  12474. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12475. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  12476. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12477. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  12478. 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);
  12479. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12480. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12481. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  12482. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12483. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12484. 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);
  12485. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12486. #ifdef GL_GLEXT_PROTOTYPES
  12487. GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  12488. GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
  12489. GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12490. GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
  12491. GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12492. GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
  12493. GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12494. GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
  12495. GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12496. GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12497. GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12498. GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
  12499. GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  12500. GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
  12501. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12502. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  12503. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12504. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  12505. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12506. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12507. 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);
  12508. GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12509. 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);
  12510. GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12511. GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  12512. GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
  12513. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12514. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  12515. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12516. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  12517. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12518. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  12519. 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);
  12520. GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12521. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12522. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  12523. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12524. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12525. 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);
  12526. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12527. #endif
  12528. #endif /* GL_SUN_vertex */
  12529. #ifndef GL_WIN_phong_shading
  12530. #define GL_WIN_phong_shading 1
  12531. #define GL_PHONG_WIN 0x80EA
  12532. #define GL_PHONG_HINT_WIN 0x80EB
  12533. #endif /* GL_WIN_phong_shading */
  12534. #ifndef GL_WIN_specular_fog
  12535. #define GL_WIN_specular_fog 1
  12536. #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
  12537. #endif /* GL_WIN_specular_fog */
  12538. #ifdef __cplusplus
  12539. }
  12540. #endif
  12541. #endif