ruby2d 0.11.2 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (231) hide show
  1. checksums.yaml +4 -4
  2. data/assets/include/GLES2/gl2.h +656 -0
  3. data/assets/include/GLES2/gl2ext.h +3949 -0
  4. data/assets/include/GLES2/gl2ext_angle.h +701 -0
  5. data/assets/include/GLES2/gl2platform.h +27 -0
  6. data/assets/include/GLES3/gl3.h +1192 -0
  7. data/assets/include/GLES3/gl31.h +1507 -0
  8. data/assets/include/GLES3/gl32.h +1808 -0
  9. data/assets/include/GLES3/gl3platform.h +27 -0
  10. data/assets/include/KHR/khrplatform.h +290 -0
  11. data/assets/include/SDL2/SDL.h +1 -0
  12. data/assets/include/SDL2/SDL_assert.h +4 -2
  13. data/assets/include/SDL2/SDL_atomic.h +20 -0
  14. data/assets/include/SDL2/SDL_audio.h +40 -4
  15. data/assets/include/SDL2/SDL_blendmode.h +4 -6
  16. data/assets/include/SDL2/SDL_clipboard.h +47 -0
  17. data/assets/include/SDL2/SDL_config.h +6 -2
  18. data/assets/include/SDL2/SDL_config_android.h +2 -0
  19. data/assets/include/SDL2/SDL_config_emscripten.h +2 -0
  20. data/assets/include/SDL2/SDL_config_iphoneos.h +3 -1
  21. data/assets/include/SDL2/SDL_config_macosx.h +3 -6
  22. data/assets/include/SDL2/SDL_config_minimal.h +18 -11
  23. data/assets/include/SDL2/SDL_config_ngage.h +89 -0
  24. data/assets/include/SDL2/SDL_config_os2.h +5 -3
  25. data/assets/include/SDL2/SDL_config_pandora.h +1 -0
  26. data/assets/include/SDL2/SDL_config_windows.h +71 -45
  27. data/assets/include/SDL2/SDL_config_wingdk.h +253 -0
  28. data/assets/include/SDL2/SDL_config_winrt.h +11 -49
  29. data/assets/include/SDL2/SDL_config_xbox.h +235 -0
  30. data/assets/include/SDL2/SDL_cpuinfo.h +39 -4
  31. data/assets/include/SDL2/SDL_egl.h +59 -9
  32. data/assets/include/SDL2/SDL_endian.h +34 -3
  33. data/assets/include/SDL2/SDL_events.h +32 -1
  34. data/assets/include/SDL2/SDL_filesystem.h +5 -1
  35. data/assets/include/SDL2/SDL_gamecontroller.h +78 -5
  36. data/assets/include/SDL2/SDL_guid.h +100 -0
  37. data/assets/include/SDL2/SDL_hints.h +645 -43
  38. data/assets/include/SDL2/SDL_image.h +2045 -33
  39. data/assets/include/SDL2/SDL_joystick.h +127 -7
  40. data/assets/include/SDL2/SDL_keyboard.h +38 -1
  41. data/assets/include/SDL2/SDL_keycode.h +6 -1
  42. data/assets/include/SDL2/SDL_log.h +2 -2
  43. data/assets/include/SDL2/SDL_main.h +42 -2
  44. data/assets/include/SDL2/SDL_metal.h +2 -1
  45. data/assets/include/SDL2/SDL_mixer.h +2529 -396
  46. data/assets/include/SDL2/SDL_mouse.h +12 -1
  47. data/assets/include/SDL2/SDL_opengl.h +0 -51
  48. data/assets/include/SDL2/SDL_opengl_glext.h +2260 -231
  49. data/assets/include/SDL2/SDL_opengles2_gl2.h +374 -339
  50. data/assets/include/SDL2/SDL_opengles2_gl2ext.h +3479 -1496
  51. data/assets/include/SDL2/SDL_opengles2_gl2platform.h +6 -9
  52. data/assets/include/SDL2/SDL_opengles2_khrplatform.h +43 -14
  53. data/assets/include/SDL2/SDL_platform.h +32 -6
  54. data/assets/include/SDL2/SDL_rect.h +154 -2
  55. data/assets/include/SDL2/SDL_render.h +46 -17
  56. data/assets/include/SDL2/SDL_revision.h +4 -0
  57. data/assets/include/SDL2/SDL_rwops.h +1 -15
  58. data/assets/include/SDL2/SDL_scancode.h +46 -21
  59. data/assets/include/SDL2/SDL_sensor.h +24 -3
  60. data/assets/include/SDL2/SDL_stdinc.h +119 -8
  61. data/assets/include/SDL2/SDL_surface.h +3 -1
  62. data/assets/include/SDL2/SDL_system.h +66 -6
  63. data/assets/include/SDL2/SDL_syswm.h +2 -0
  64. data/assets/include/SDL2/SDL_test_common.h +1 -0
  65. data/assets/include/SDL2/SDL_test_font.h +90 -3
  66. data/assets/include/SDL2/SDL_thread.h +3 -3
  67. data/assets/include/SDL2/SDL_touch.h +8 -0
  68. data/assets/include/SDL2/SDL_ttf.h +2084 -155
  69. data/assets/include/SDL2/SDL_version.h +19 -3
  70. data/assets/include/SDL2/SDL_video.h +71 -9
  71. data/assets/include/SDL2/begin_code.h +4 -4
  72. data/assets/include/mrbconf.h +15 -17
  73. data/assets/include/mruby/array.h +8 -21
  74. data/assets/include/mruby/boxing_nan.h +115 -86
  75. data/assets/include/mruby/boxing_word.h +104 -78
  76. data/assets/include/mruby/common.h +6 -0
  77. data/assets/include/mruby/compile.h +3 -4
  78. data/assets/include/mruby/debug.h +4 -2
  79. data/assets/include/mruby/dump.h +5 -2
  80. data/assets/include/mruby/error.h +12 -2
  81. data/assets/include/mruby/gc.h +2 -0
  82. data/assets/include/mruby/hash.h +1 -3
  83. data/assets/include/mruby/irep.h +4 -4
  84. data/assets/include/mruby/numeric.h +21 -13
  85. data/assets/include/mruby/opcode.h +30 -0
  86. data/assets/include/mruby/ops.h +99 -101
  87. data/assets/include/mruby/presym/scanning.h +15 -9
  88. data/assets/include/mruby/proc.h +4 -2
  89. data/assets/include/mruby/string.h +3 -24
  90. data/assets/include/mruby/value.h +80 -40
  91. data/assets/include/mruby/variable.h +0 -15
  92. data/assets/include/mruby/version.h +5 -5
  93. data/assets/include/mruby.h +86 -16
  94. data/assets/macos/universal/bin/mrbc +0 -0
  95. data/assets/macos/universal/lib/libFLAC.a +0 -0
  96. data/assets/macos/universal/lib/libSDL2.a +0 -0
  97. data/assets/macos/universal/lib/libSDL2_image.a +0 -0
  98. data/assets/macos/universal/lib/libSDL2_mixer.a +0 -0
  99. data/assets/macos/universal/lib/libSDL2_ttf.a +0 -0
  100. data/assets/macos/universal/lib/libavif.a +0 -0
  101. data/assets/macos/universal/lib/libbrotlicommon-static.a +0 -0
  102. data/assets/macos/universal/lib/libbrotlidec-static.a +0 -0
  103. data/assets/macos/universal/lib/libfreetype.a +0 -0
  104. data/assets/macos/universal/lib/libgraphite2.a +0 -0
  105. data/assets/macos/universal/lib/libharfbuzz.a +0 -0
  106. data/assets/macos/universal/lib/libhwy.a +0 -0
  107. data/assets/macos/universal/lib/libjpeg.a +0 -0
  108. data/assets/macos/universal/lib/libjxl.a +0 -0
  109. data/assets/macos/universal/lib/libmodplug.a +0 -0
  110. data/assets/macos/universal/lib/libmpg123.a +0 -0
  111. data/assets/macos/universal/lib/libmruby.a +0 -0
  112. data/assets/macos/universal/lib/libogg.a +0 -0
  113. data/assets/macos/universal/lib/libpng.a +0 -0
  114. data/assets/macos/universal/lib/libtiff.a +0 -0
  115. data/assets/macos/universal/lib/libvorbis.a +0 -0
  116. data/assets/macos/universal/lib/libvorbisfile.a +0 -0
  117. data/assets/macos/universal/lib/libwebp.a +0 -0
  118. data/assets/macos/universal/lib/libzstd.a +0 -0
  119. data/assets/wasm/libmruby.a +0 -0
  120. data/assets/wasm/template.html +52 -4
  121. data/assets/windows/mingw-w64-ucrt-x86_64/bin/mrbc.exe +0 -0
  122. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libFLAC.a +0 -0
  123. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libLerc.a +0 -0
  124. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2.a +0 -0
  125. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_image.a +0 -0
  126. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_mixer.a +0 -0
  127. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_ttf.a +0 -0
  128. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libbrotlicommon.a +0 -0
  129. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libbrotlidec.a +0 -0
  130. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libbz2.a +0 -0
  131. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libdeflate.a +0 -0
  132. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libfreetype.a +0 -0
  133. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libglew32.a +0 -0
  134. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libgraphite2.a +0 -0
  135. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libharfbuzz.a +0 -0
  136. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libhwy.a +0 -0
  137. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libjbig.a +0 -0
  138. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libjpeg.a +0 -0
  139. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libjxl.a +0 -0
  140. data/assets/windows/mingw-w64-ucrt-x86_64/lib/liblzma.a +0 -0
  141. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmodplug.a +0 -0
  142. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmpg123.a +0 -0
  143. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmruby.a +0 -0
  144. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libogg.a +0 -0
  145. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libopus.a +0 -0
  146. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libopusfile.a +0 -0
  147. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libpng.a +0 -0
  148. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libsndfile.a +0 -0
  149. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libssp.a +1 -0
  150. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libstdc++.a +0 -0
  151. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libtiff.a +0 -0
  152. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libvorbis.a +0 -0
  153. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libvorbisfile.a +0 -0
  154. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libwebp.a +0 -0
  155. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libz.a +0 -0
  156. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libzstd.a +0 -0
  157. data/assets/windows/mingw-w64-x86_64/bin/mrbc.exe +0 -0
  158. data/assets/windows/mingw-w64-x86_64/lib/libFLAC.a +0 -0
  159. data/assets/windows/mingw-w64-x86_64/lib/libLerc.a +0 -0
  160. data/assets/windows/mingw-w64-x86_64/lib/libSDL2.a +0 -0
  161. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_image.a +0 -0
  162. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_mixer.a +0 -0
  163. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_ttf.a +0 -0
  164. data/assets/windows/mingw-w64-x86_64/lib/libbrotlicommon.a +0 -0
  165. data/assets/windows/mingw-w64-x86_64/lib/libbrotlidec.a +0 -0
  166. data/assets/windows/mingw-w64-x86_64/lib/libdeflate.a +0 -0
  167. data/assets/windows/mingw-w64-x86_64/lib/libfreetype.a +0 -0
  168. data/assets/windows/mingw-w64-x86_64/lib/libglew32.a +0 -0
  169. data/assets/windows/mingw-w64-x86_64/lib/libharfbuzz.a +0 -0
  170. data/assets/windows/mingw-w64-x86_64/lib/libhwy.a +0 -0
  171. data/assets/windows/mingw-w64-x86_64/lib/libjpeg.a +0 -0
  172. data/assets/windows/mingw-w64-x86_64/lib/libjxl.a +0 -0
  173. data/assets/windows/mingw-w64-x86_64/lib/liblzma.a +0 -0
  174. data/assets/windows/mingw-w64-x86_64/lib/libmpg123.a +0 -0
  175. data/assets/windows/mingw-w64-x86_64/lib/libmruby.a +0 -0
  176. data/assets/windows/mingw-w64-x86_64/lib/libopus.a +0 -0
  177. data/assets/windows/mingw-w64-x86_64/lib/libpng.a +0 -0
  178. data/assets/windows/mingw-w64-x86_64/lib/libsndfile.a +0 -0
  179. data/assets/windows/mingw-w64-x86_64/lib/libssp.a +0 -0
  180. data/assets/windows/mingw-w64-x86_64/lib/libstdc++.a +0 -0
  181. data/assets/windows/mingw-w64-x86_64/lib/libtiff.a +0 -0
  182. data/assets/windows/mingw-w64-x86_64/lib/libwebp.a +0 -0
  183. data/assets/windows/mingw-w64-x86_64/lib/libz.a +0 -0
  184. data/assets/windows/mingw-w64-x86_64/lib/libzstd.a +0 -0
  185. data/ext/ruby2d/canvas.c +540 -0
  186. data/ext/ruby2d/extconf.rb +39 -21
  187. data/ext/ruby2d/gl.c +3 -3
  188. data/ext/ruby2d/image.c +7 -7
  189. data/ext/ruby2d/ruby2d.c +741 -24
  190. data/ext/ruby2d/ruby2d.h +66 -3
  191. data/ext/ruby2d/sound.c +16 -2
  192. data/lib/ruby2d/canvas.rb +315 -0
  193. data/lib/ruby2d/circle.rb +30 -15
  194. data/lib/ruby2d/cli/build.rb +11 -4
  195. data/lib/ruby2d/cli/enable_console.rb +3 -1
  196. data/lib/ruby2d/color.rb +133 -77
  197. data/lib/ruby2d/core.rb +32 -0
  198. data/lib/ruby2d/dsl.rb +38 -32
  199. data/lib/ruby2d/exceptions.rb +2 -1
  200. data/lib/ruby2d/font.rb +97 -62
  201. data/lib/ruby2d/image.rb +48 -27
  202. data/lib/ruby2d/line.rb +84 -45
  203. data/lib/ruby2d/music.rb +33 -23
  204. data/lib/ruby2d/pixel.rb +10 -9
  205. data/lib/ruby2d/pixmap.rb +39 -0
  206. data/lib/ruby2d/pixmap_atlas.rb +56 -0
  207. data/lib/ruby2d/quad.rb +98 -49
  208. data/lib/ruby2d/rectangle.rb +35 -36
  209. data/lib/ruby2d/renderable.rb +7 -6
  210. data/lib/ruby2d/sound.rb +23 -17
  211. data/lib/ruby2d/sprite.rb +181 -140
  212. data/lib/ruby2d/square.rb +21 -20
  213. data/lib/ruby2d/text.rb +47 -19
  214. data/lib/ruby2d/texture.rb +13 -3
  215. data/lib/ruby2d/tileset.rb +97 -44
  216. data/lib/ruby2d/triangle.rb +91 -42
  217. data/lib/ruby2d/version.rb +3 -1
  218. data/lib/ruby2d/vertices.rb +81 -45
  219. data/lib/ruby2d/window.rb +508 -371
  220. data/lib/ruby2d.rb +11 -29
  221. metadata +84 -16
  222. data/assets/include/SDL2/SDL_config_psp.h +0 -165
  223. data/assets/include/SDL2/SDL_config_wiz.h +0 -154
  224. data/assets/include/glew.h +0 -23686
  225. data/assets/macos/universal/lib/libpng16.a +0 -0
  226. data/assets/wasm/build_config.rb +0 -13
  227. data/assets/windows/glew/README.md +0 -10
  228. data/assets/windows/glew/glew.h +0 -23686
  229. data/assets/windows/glew/libglew32.a +0 -0
  230. data/assets/windows/mingw-w64-x86_64/lib/libpng16.a +0 -0
  231. data/lib/ruby2d/entity.rb +0 -17
@@ -1,12 +1,45 @@
1
- #ifndef __glext_h_
2
- #define __glext_h_ 1
1
+ #ifndef __gl_glext_h_
2
+ #define __gl_glext_h_ 1
3
3
 
4
4
  #ifdef __cplusplus
5
5
  extern "C" {
6
6
  #endif
7
7
 
8
8
  /*
9
- ** Copyright (c) 2013-2014 The Khronos Group Inc.
9
+ ** Copyright 2013-2020 The Khronos Group Inc.
10
+ ** SPDX-License-Identifier: MIT
11
+ **
12
+ ** This header is generated from the Khronos OpenGL / OpenGL ES XML
13
+ ** API Registry. The current version of the Registry, generator scripts
14
+ ** used to make the header, and the header can be found at
15
+ ** https://github.com/KhronosGroup/OpenGL-Registry
16
+ */
17
+
18
+ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
19
+ #ifndef WIN32_LEAN_AND_MEAN
20
+ #define WIN32_LEAN_AND_MEAN 1
21
+ #endif
22
+ #include <windows.h>
23
+ #endif
24
+
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
+
35
+ #define GL_GLEXT_VERSION 20220530
36
+
37
+ /*#include <KHR/khrplatform.h>*/
38
+ #ifndef __khrplatform_h_
39
+ #define __khrplatform_h_
40
+
41
+ /*
42
+ ** Copyright (c) 2008-2018 The Khronos Group Inc.
10
43
  **
11
44
  ** Permission is hereby granted, free of charge, to any person obtaining a
12
45
  ** copy of this software and/or associated documentation files (the
@@ -27,36 +60,292 @@ extern "C" {
27
60
  ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28
61
  ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29
62
  */
30
- /*
31
- ** This header is generated from the Khronos OpenGL / OpenGL ES XML
32
- ** API Registry. The current version of the Registry, generator scripts
33
- ** used to make the header, and the header can be found at
34
- ** http://www.opengl.org/registry/
35
- **
36
- ** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
37
- */
38
63
 
39
- #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
40
- #ifndef WIN32_LEAN_AND_MEAN
41
- #define WIN32_LEAN_AND_MEAN 1
64
+ /* Khronos platform-specific types and definitions.
65
+ *
66
+ * The master copy of khrplatform.h is maintained in the Khronos EGL
67
+ * Registry repository at https://github.com/KhronosGroup/EGL-Registry
68
+ * The last semantic modification to khrplatform.h was at commit ID:
69
+ * 67a3e0864c2d75ea5287b9f3d2eb74a745936692
70
+ *
71
+ * Adopters may modify this file to suit their platform. Adopters are
72
+ * encouraged to submit platform specific modifications to the Khronos
73
+ * group so that they can be included in future versions of this file.
74
+ * Please submit changes by filing pull requests or issues on
75
+ * the EGL Registry repository linked above.
76
+ *
77
+ *
78
+ * See the Implementer's Guidelines for information about where this file
79
+ * should be located on your system and for more details of its use:
80
+ * http://www.khronos.org/registry/implementers_guide.pdf
81
+ *
82
+ * This file should be included as
83
+ * #include <KHR/khrplatform.h>
84
+ * by Khronos client API header files that use its types and defines.
85
+ *
86
+ * The types in khrplatform.h should only be used to define API-specific types.
87
+ *
88
+ * Types defined in khrplatform.h:
89
+ * khronos_int8_t signed 8 bit
90
+ * khronos_uint8_t unsigned 8 bit
91
+ * khronos_int16_t signed 16 bit
92
+ * khronos_uint16_t unsigned 16 bit
93
+ * khronos_int32_t signed 32 bit
94
+ * khronos_uint32_t unsigned 32 bit
95
+ * khronos_int64_t signed 64 bit
96
+ * khronos_uint64_t unsigned 64 bit
97
+ * khronos_intptr_t signed same number of bits as a pointer
98
+ * khronos_uintptr_t unsigned same number of bits as a pointer
99
+ * khronos_ssize_t signed size
100
+ * khronos_usize_t unsigned size
101
+ * khronos_float_t signed 32 bit floating point
102
+ * khronos_time_ns_t unsigned 64 bit time in nanoseconds
103
+ * khronos_utime_nanoseconds_t unsigned time interval or absolute time in
104
+ * nanoseconds
105
+ * khronos_stime_nanoseconds_t signed time interval in nanoseconds
106
+ * khronos_boolean_enum_t enumerated boolean type. This should
107
+ * only be used as a base type when a client API's boolean type is
108
+ * an enum. Client APIs which use an integer or other type for
109
+ * booleans cannot use this as the base type for their boolean.
110
+ *
111
+ * Tokens defined in khrplatform.h:
112
+ *
113
+ * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
114
+ *
115
+ * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
116
+ * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
117
+ *
118
+ * Calling convention macros defined in this file:
119
+ * KHRONOS_APICALL
120
+ * KHRONOS_APIENTRY
121
+ * KHRONOS_APIATTRIBUTES
122
+ *
123
+ * These may be used in function prototypes as:
124
+ *
125
+ * KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
126
+ * int arg1,
127
+ * int arg2) KHRONOS_APIATTRIBUTES;
128
+ */
129
+
130
+ #if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC)
131
+ # define KHRONOS_STATIC 1
42
132
  #endif
43
- #ifndef NOMINMAX /* don't define min() and max(). */
44
- #define NOMINMAX
133
+
134
+ /*-------------------------------------------------------------------------
135
+ * Definition of KHRONOS_APICALL
136
+ *-------------------------------------------------------------------------
137
+ * This precedes the return type of the function in the function prototype.
138
+ */
139
+ #if defined(KHRONOS_STATIC)
140
+ /* If the preprocessor constant KHRONOS_STATIC is defined, make the
141
+ * header compatible with static linking. */
142
+ # define KHRONOS_APICALL
143
+ #elif defined(_WIN32)
144
+ # define KHRONOS_APICALL __declspec(dllimport)
145
+ #elif defined (__SYMBIAN32__)
146
+ # define KHRONOS_APICALL IMPORT_C
147
+ #elif defined(__ANDROID__)
148
+ # define KHRONOS_APICALL __attribute__((visibility("default")))
149
+ #else
150
+ # define KHRONOS_APICALL
45
151
  #endif
46
- #include <windows.h>
152
+
153
+ /*-------------------------------------------------------------------------
154
+ * Definition of KHRONOS_APIENTRY
155
+ *-------------------------------------------------------------------------
156
+ * This follows the return type of the function and precedes the function
157
+ * name in the function prototype.
158
+ */
159
+ #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
160
+ /* Win32 but not WinCE */
161
+ # define KHRONOS_APIENTRY __stdcall
162
+ #else
163
+ # define KHRONOS_APIENTRY
47
164
  #endif
48
165
 
49
- #ifndef APIENTRY
50
- #define APIENTRY
166
+ /*-------------------------------------------------------------------------
167
+ * Definition of KHRONOS_APIATTRIBUTES
168
+ *-------------------------------------------------------------------------
169
+ * This follows the closing parenthesis of the function prototype arguments.
170
+ */
171
+ #if defined (__ARMCC_2__)
172
+ #define KHRONOS_APIATTRIBUTES __softfp
173
+ #else
174
+ #define KHRONOS_APIATTRIBUTES
51
175
  #endif
52
- #ifndef APIENTRYP
53
- #define APIENTRYP APIENTRY *
176
+
177
+ /*-------------------------------------------------------------------------
178
+ * basic type definitions
179
+ *-----------------------------------------------------------------------*/
180
+ #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
181
+
182
+
183
+ /*
184
+ * Using <stdint.h>
185
+ */
186
+ #include <stdint.h>
187
+ typedef int32_t khronos_int32_t;
188
+ typedef uint32_t khronos_uint32_t;
189
+ typedef int64_t khronos_int64_t;
190
+ typedef uint64_t khronos_uint64_t;
191
+ #define KHRONOS_SUPPORT_INT64 1
192
+ #define KHRONOS_SUPPORT_FLOAT 1
193
+ /*
194
+ * To support platform where unsigned long cannot be used interchangeably with
195
+ * inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t.
196
+ * Ideally, we could just use (u)intptr_t everywhere, but this could result in
197
+ * ABI breakage if khronos_uintptr_t is changed from unsigned long to
198
+ * unsigned long long or similar (this results in different C++ name mangling).
199
+ * To avoid changes for existing platforms, we restrict usage of intptr_t to
200
+ * platforms where the size of a pointer is larger than the size of long.
201
+ */
202
+ #if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
203
+ #if __SIZEOF_POINTER__ > __SIZEOF_LONG__
204
+ #define KHRONOS_USE_INTPTR_T
54
205
  #endif
55
- #ifndef GLAPI
56
- #define GLAPI extern
57
206
  #endif
58
207
 
59
- #define GL_GLEXT_VERSION 20140521
208
+ #elif defined(__VMS ) || defined(__sgi)
209
+
210
+ /*
211
+ * Using <inttypes.h>
212
+ */
213
+ #include <inttypes.h>
214
+ typedef int32_t khronos_int32_t;
215
+ typedef uint32_t khronos_uint32_t;
216
+ typedef int64_t khronos_int64_t;
217
+ typedef uint64_t khronos_uint64_t;
218
+ #define KHRONOS_SUPPORT_INT64 1
219
+ #define KHRONOS_SUPPORT_FLOAT 1
220
+
221
+ #elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
222
+
223
+ /*
224
+ * Win32
225
+ */
226
+ typedef __int32 khronos_int32_t;
227
+ typedef unsigned __int32 khronos_uint32_t;
228
+ typedef __int64 khronos_int64_t;
229
+ typedef unsigned __int64 khronos_uint64_t;
230
+ #define KHRONOS_SUPPORT_INT64 1
231
+ #define KHRONOS_SUPPORT_FLOAT 1
232
+
233
+ #elif defined(__sun__) || defined(__digital__)
234
+
235
+ /*
236
+ * Sun or Digital
237
+ */
238
+ typedef int khronos_int32_t;
239
+ typedef unsigned int khronos_uint32_t;
240
+ #if defined(__arch64__) || defined(_LP64)
241
+ typedef long int khronos_int64_t;
242
+ typedef unsigned long int khronos_uint64_t;
243
+ #else
244
+ typedef long long int khronos_int64_t;
245
+ typedef unsigned long long int khronos_uint64_t;
246
+ #endif /* __arch64__ */
247
+ #define KHRONOS_SUPPORT_INT64 1
248
+ #define KHRONOS_SUPPORT_FLOAT 1
249
+
250
+ #elif 0
251
+
252
+ /*
253
+ * Hypothetical platform with no float or int64 support
254
+ */
255
+ typedef int khronos_int32_t;
256
+ typedef unsigned int khronos_uint32_t;
257
+ #define KHRONOS_SUPPORT_INT64 0
258
+ #define KHRONOS_SUPPORT_FLOAT 0
259
+
260
+ #else
261
+
262
+ /*
263
+ * Generic fallback
264
+ */
265
+ #include <stdint.h>
266
+ typedef int32_t khronos_int32_t;
267
+ typedef uint32_t khronos_uint32_t;
268
+ typedef int64_t khronos_int64_t;
269
+ typedef uint64_t khronos_uint64_t;
270
+ #define KHRONOS_SUPPORT_INT64 1
271
+ #define KHRONOS_SUPPORT_FLOAT 1
272
+
273
+ #endif
274
+
275
+
276
+ /*
277
+ * Types that are (so far) the same on all platforms
278
+ */
279
+ typedef signed char khronos_int8_t;
280
+ typedef unsigned char khronos_uint8_t;
281
+ typedef signed short int khronos_int16_t;
282
+ typedef unsigned short int khronos_uint16_t;
283
+
284
+ /*
285
+ * Types that differ between LLP64 and LP64 architectures - in LLP64,
286
+ * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
287
+ * to be the only LLP64 architecture in current use.
288
+ */
289
+ #ifdef KHRONOS_USE_INTPTR_T
290
+ typedef intptr_t khronos_intptr_t;
291
+ typedef uintptr_t khronos_uintptr_t;
292
+ #elif defined(_WIN64)
293
+ typedef signed long long int khronos_intptr_t;
294
+ typedef unsigned long long int khronos_uintptr_t;
295
+ #else
296
+ typedef signed long int khronos_intptr_t;
297
+ typedef unsigned long int khronos_uintptr_t;
298
+ #endif
299
+
300
+ #if defined(_WIN64)
301
+ typedef signed long long int khronos_ssize_t;
302
+ typedef unsigned long long int khronos_usize_t;
303
+ #else
304
+ typedef signed long int khronos_ssize_t;
305
+ typedef unsigned long int khronos_usize_t;
306
+ #endif
307
+
308
+ #if KHRONOS_SUPPORT_FLOAT
309
+ /*
310
+ * Float type
311
+ */
312
+ typedef float khronos_float_t;
313
+ #endif
314
+
315
+ #if KHRONOS_SUPPORT_INT64
316
+ /* Time types
317
+ *
318
+ * These types can be used to represent a time interval in nanoseconds or
319
+ * an absolute Unadjusted System Time. Unadjusted System Time is the number
320
+ * of nanoseconds since some arbitrary system event (e.g. since the last
321
+ * time the system booted). The Unadjusted System Time is an unsigned
322
+ * 64 bit value that wraps back to 0 every 584 years. Time intervals
323
+ * may be either signed or unsigned.
324
+ */
325
+ typedef khronos_uint64_t khronos_utime_nanoseconds_t;
326
+ typedef khronos_int64_t khronos_stime_nanoseconds_t;
327
+ #endif
328
+
329
+ /*
330
+ * Dummy value used to pad enum types to 32 bits.
331
+ */
332
+ #ifndef KHRONOS_MAX_ENUM
333
+ #define KHRONOS_MAX_ENUM 0x7FFFFFFF
334
+ #endif
335
+
336
+ /*
337
+ * Enumerated boolean type
338
+ *
339
+ * Values other than zero should be considered to be true. Therefore
340
+ * comparisons should not be made against KHRONOS_TRUE.
341
+ */
342
+ typedef enum {
343
+ KHRONOS_FALSE = 0,
344
+ KHRONOS_TRUE = 1,
345
+ KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
346
+ } khronos_boolean_enum_t;
347
+
348
+ #endif /* __khrplatform_h_ */
60
349
 
61
350
  /* Generated C header for:
62
351
  * API: gl
@@ -358,15 +647,17 @@ GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
358
647
  #define GL_TEXTURE_FILTER_CONTROL 0x8500
359
648
  #define GL_DEPTH_TEXTURE_MODE 0x884B
360
649
  #define GL_COMPARE_R_TO_TEXTURE 0x884E
361
- #define GL_FUNC_ADD 0x8006
362
- #define GL_FUNC_SUBTRACT 0x800A
363
- #define GL_FUNC_REVERSE_SUBTRACT 0x800B
364
- #define GL_MIN 0x8007
365
- #define GL_MAX 0x8008
650
+ #define GL_BLEND_COLOR 0x8005
651
+ #define GL_BLEND_EQUATION 0x8009
366
652
  #define GL_CONSTANT_COLOR 0x8001
367
653
  #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
368
654
  #define GL_CONSTANT_ALPHA 0x8003
369
655
  #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
656
+ #define GL_FUNC_ADD 0x8006
657
+ #define GL_FUNC_REVERSE_SUBTRACT 0x800B
658
+ #define GL_FUNC_SUBTRACT 0x800A
659
+ #define GL_MIN 0x8007
660
+ #define GL_MAX 0x8008
370
661
  typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
371
662
  typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
372
663
  typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
@@ -467,14 +758,8 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode);
467
758
 
468
759
  #ifndef GL_VERSION_1_5
469
760
  #define GL_VERSION_1_5 1
470
- #include <stddef.h>
471
- #ifdef __MACOSX__
472
- typedef long GLsizeiptr;
473
- typedef long GLintptr;
474
- #else
475
- typedef ptrdiff_t GLsizeiptr;
476
- typedef ptrdiff_t GLintptr;
477
- #endif
761
+ typedef khronos_ssize_t GLsizeiptr;
762
+ typedef khronos_intptr_t GLintptr;
478
763
  #define GL_BUFFER_SIZE 0x8764
479
764
  #define GL_BUFFER_USAGE 0x8765
480
765
  #define GL_QUERY_COUNTER_BITS 0x8864
@@ -887,7 +1172,7 @@ GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboole
887
1172
 
888
1173
  #ifndef GL_VERSION_3_0
889
1174
  #define GL_VERSION_3_0 1
890
- typedef unsigned short GLhalf;
1175
+ typedef khronos_uint16_t GLhalf;
891
1176
  #define GL_COMPARE_REF_TO_TEXTURE 0x884E
892
1177
  #define GL_CLIP_DISTANCE0 0x3000
893
1178
  #define GL_CLIP_DISTANCE1 0x3001
@@ -1049,6 +1334,22 @@ typedef unsigned short GLhalf;
1049
1334
  #define GL_COLOR_ATTACHMENT13 0x8CED
1050
1335
  #define GL_COLOR_ATTACHMENT14 0x8CEE
1051
1336
  #define GL_COLOR_ATTACHMENT15 0x8CEF
1337
+ #define GL_COLOR_ATTACHMENT16 0x8CF0
1338
+ #define GL_COLOR_ATTACHMENT17 0x8CF1
1339
+ #define GL_COLOR_ATTACHMENT18 0x8CF2
1340
+ #define GL_COLOR_ATTACHMENT19 0x8CF3
1341
+ #define GL_COLOR_ATTACHMENT20 0x8CF4
1342
+ #define GL_COLOR_ATTACHMENT21 0x8CF5
1343
+ #define GL_COLOR_ATTACHMENT22 0x8CF6
1344
+ #define GL_COLOR_ATTACHMENT23 0x8CF7
1345
+ #define GL_COLOR_ATTACHMENT24 0x8CF8
1346
+ #define GL_COLOR_ATTACHMENT25 0x8CF9
1347
+ #define GL_COLOR_ATTACHMENT26 0x8CFA
1348
+ #define GL_COLOR_ATTACHMENT27 0x8CFB
1349
+ #define GL_COLOR_ATTACHMENT28 0x8CFC
1350
+ #define GL_COLOR_ATTACHMENT29 0x8CFD
1351
+ #define GL_COLOR_ATTACHMENT30 0x8CFE
1352
+ #define GL_COLOR_ATTACHMENT31 0x8CFF
1052
1353
  #define GL_DEPTH_ATTACHMENT 0x8D00
1053
1354
  #define GL_STENCIL_ATTACHMENT 0x8D20
1054
1355
  #define GL_FRAMEBUFFER 0x8D40
@@ -1316,11 +1617,13 @@ GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
1316
1617
  #define GL_UNIFORM_BUFFER_START 0x8A29
1317
1618
  #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
1318
1619
  #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
1620
+ #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
1319
1621
  #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
1320
1622
  #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
1321
1623
  #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
1322
1624
  #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
1323
1625
  #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1626
+ #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1324
1627
  #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1325
1628
  #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1326
1629
  #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
@@ -1339,6 +1642,7 @@ GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
1339
1642
  #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
1340
1643
  #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1341
1644
  #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1645
+ #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1342
1646
  #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1343
1647
  #define GL_INVALID_INDEX 0xFFFFFFFFu
1344
1648
  typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
@@ -1372,45 +1676,8 @@ GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIn
1372
1676
  #ifndef GL_VERSION_3_2
1373
1677
  #define GL_VERSION_3_2 1
1374
1678
  typedef struct __GLsync *GLsync;
1375
- #ifndef GLEXT_64_TYPES_DEFINED
1376
- /* This code block is duplicated in glxext.h, so must be protected */
1377
- #define GLEXT_64_TYPES_DEFINED
1378
- /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
1379
- /* (as used in the GL_EXT_timer_query extension). */
1380
- #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
1381
- #include <inttypes.h>
1382
- #elif defined(__sun__) || defined(__digital__)
1383
- #include <inttypes.h>
1384
- #if defined(__STDC__)
1385
- #if defined(__arch64__) || defined(_LP64)
1386
- typedef long int int64_t;
1387
- typedef unsigned long int uint64_t;
1388
- #else
1389
- typedef long long int int64_t;
1390
- typedef unsigned long long int uint64_t;
1391
- #endif /* __arch64__ */
1392
- #endif /* __STDC__ */
1393
- #elif defined( __VMS ) || defined(__sgi)
1394
- #include <inttypes.h>
1395
- #elif defined(__SCO__) || defined(__USLC__)
1396
- #include <stdint.h>
1397
- #elif defined(__UNIXOS2__) || defined(__SOL64__)
1398
- typedef long int int32_t;
1399
- typedef long long int int64_t;
1400
- typedef unsigned long long int uint64_t;
1401
- #elif defined(_WIN32) && defined(__GNUC__)
1402
- #include <stdint.h>
1403
- #elif defined(_WIN32)
1404
- typedef __int32 int32_t;
1405
- typedef __int64 int64_t;
1406
- typedef unsigned __int64 uint64_t;
1407
- #else
1408
- /* Fallback if nothing above works */
1409
- #include <inttypes.h>
1410
- #endif
1411
- #endif
1412
- typedef uint64_t GLuint64;
1413
- typedef int64_t GLint64;
1679
+ typedef khronos_uint64_t GLuint64;
1680
+ typedef khronos_int64_t GLint64;
1414
1681
  #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
1415
1682
  #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1416
1683
  #define GL_LINES_ADJACENCY 0x000A
@@ -1486,7 +1753,7 @@ typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
1486
1753
  typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1487
1754
  typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1488
1755
  typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
1489
- typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1756
+ typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1490
1757
  typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
1491
1758
  typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
1492
1759
  typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
@@ -1506,7 +1773,7 @@ GLAPI void APIENTRY glDeleteSync (GLsync sync);
1506
1773
  GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1507
1774
  GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1508
1775
  GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
1509
- GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1776
+ GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1510
1777
  GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
1511
1778
  GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
1512
1779
  GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
@@ -1762,8 +2029,8 @@ typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location,
1762
2029
  typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1763
2030
  typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1764
2031
  typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1765
- typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1766
- typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
2032
+ typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2033
+ typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1767
2034
  typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
1768
2035
  typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
1769
2036
  typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
@@ -1809,8 +2076,8 @@ GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *pa
1809
2076
  GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
1810
2077
  GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
1811
2078
  GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1812
- GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
1813
- GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
2079
+ GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2080
+ GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1814
2081
  GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
1815
2082
  GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
1816
2083
  GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
@@ -1868,7 +2135,7 @@ GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pna
1868
2135
  #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1869
2136
  #define GL_UNDEFINED_VERTEX 0x8260
1870
2137
  typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
1871
- typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
2138
+ typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
1872
2139
  typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1873
2140
  typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
1874
2141
  typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
@@ -1957,7 +2224,7 @@ typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfl
1957
2224
  typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
1958
2225
  #ifdef GL_GLEXT_PROTOTYPES
1959
2226
  GLAPI void APIENTRY glReleaseShaderCompiler (void);
1960
- GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
2227
+ GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
1961
2228
  GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1962
2229
  GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
1963
2230
  GLAPI void APIENTRY glClearDepthf (GLfloat d);
@@ -2049,6 +2316,10 @@ GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data)
2049
2316
 
2050
2317
  #ifndef GL_VERSION_4_2
2051
2318
  #define GL_VERSION_4_2 1
2319
+ #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2320
+ #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2321
+ #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
2322
+ #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
2052
2323
  #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2053
2324
  #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2054
2325
  #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
@@ -2160,7 +2431,7 @@ GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data)
2160
2431
  typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2161
2432
  typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2162
2433
  typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2163
- typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2434
+ typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
2164
2435
  typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2165
2436
  typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2166
2437
  typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
@@ -2173,7 +2444,7 @@ typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum m
2173
2444
  GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2174
2445
  GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2175
2446
  GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2176
- GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
2447
+ GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
2177
2448
  GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2178
2449
  GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2179
2450
  GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
@@ -2220,6 +2491,7 @@ typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum
2220
2491
  #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2221
2492
  #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2222
2493
  #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2494
+ #define GL_COMPUTE_SHADER_BIT 0x00000020
2223
2495
  #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2224
2496
  #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2225
2497
  #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
@@ -2453,7 +2725,7 @@ typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
2453
2725
  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);
2454
2726
  typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2455
2727
  typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2456
- typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2728
+ typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
2457
2729
  typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2458
2730
  typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2459
2731
  typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
@@ -2465,7 +2737,7 @@ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum
2465
2737
  typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2466
2738
  typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2467
2739
  typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2468
- typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2740
+ typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
2469
2741
  typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2470
2742
  typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2471
2743
  typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
@@ -2497,7 +2769,7 @@ GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
2497
2769
  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);
2498
2770
  GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2499
2771
  GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2500
- GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
2772
+ GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
2501
2773
  GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2502
2774
  GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2503
2775
  GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
@@ -2509,7 +2781,7 @@ GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const
2509
2781
  GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2510
2782
  GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2511
2783
  GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2512
- GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
2784
+ GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
2513
2785
  GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2514
2786
  GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2515
2787
  GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
@@ -2579,10 +2851,345 @@ GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLui
2579
2851
  #endif
2580
2852
  #endif /* GL_VERSION_4_4 */
2581
2853
 
2854
+ #ifndef GL_VERSION_4_5
2855
+ #define GL_VERSION_4_5 1
2856
+ #define GL_CONTEXT_LOST 0x0507
2857
+ #define GL_NEGATIVE_ONE_TO_ONE 0x935E
2858
+ #define GL_ZERO_TO_ONE 0x935F
2859
+ #define GL_CLIP_ORIGIN 0x935C
2860
+ #define GL_CLIP_DEPTH_MODE 0x935D
2861
+ #define GL_QUERY_WAIT_INVERTED 0x8E17
2862
+ #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
2863
+ #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
2864
+ #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2865
+ #define GL_MAX_CULL_DISTANCES 0x82F9
2866
+ #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2867
+ #define GL_TEXTURE_TARGET 0x1006
2868
+ #define GL_QUERY_TARGET 0x82EA
2869
+ #define GL_GUILTY_CONTEXT_RESET 0x8253
2870
+ #define GL_INNOCENT_CONTEXT_RESET 0x8254
2871
+ #define GL_UNKNOWN_CONTEXT_RESET 0x8255
2872
+ #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
2873
+ #define GL_LOSE_CONTEXT_ON_RESET 0x8252
2874
+ #define GL_NO_RESET_NOTIFICATION 0x8261
2875
+ #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2876
+ #define GL_COLOR_TABLE 0x80D0
2877
+ #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
2878
+ #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
2879
+ #define GL_PROXY_COLOR_TABLE 0x80D3
2880
+ #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
2881
+ #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
2882
+ #define GL_CONVOLUTION_1D 0x8010
2883
+ #define GL_CONVOLUTION_2D 0x8011
2884
+ #define GL_SEPARABLE_2D 0x8012
2885
+ #define GL_HISTOGRAM 0x8024
2886
+ #define GL_PROXY_HISTOGRAM 0x8025
2887
+ #define GL_MINMAX 0x802E
2888
+ #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2889
+ #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2890
+ typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
2891
+ typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
2892
+ typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2893
+ typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
2894
+ typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
2895
+ typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2896
+ typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2897
+ typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2898
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
2899
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
2900
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
2901
+ typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2902
+ typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2903
+ typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2904
+ typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2905
+ typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
2906
+ typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2907
+ typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2908
+ typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
2909
+ typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
2910
+ typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2911
+ typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
2912
+ typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
2913
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2914
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
2915
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2916
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2917
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2918
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2919
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
2920
+ typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2921
+ typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2922
+ typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2923
+ typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2924
+ typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2925
+ typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
2926
+ 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);
2927
+ typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
2928
+ typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
2929
+ typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2930
+ typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
2931
+ typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2932
+ typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2933
+ typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
2934
+ typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
2935
+ typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2936
+ typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2937
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2938
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2939
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2940
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2941
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2942
+ typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2943
+ typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2944
+ 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);
2945
+ typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2946
+ typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2947
+ 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);
2948
+ typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2949
+ typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2950
+ typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2951
+ typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
2952
+ typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
2953
+ typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
2954
+ typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
2955
+ typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
2956
+ typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
2957
+ typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
2958
+ typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
2959
+ typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2960
+ typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2961
+ typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2962
+ typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
2963
+ typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
2964
+ typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
2965
+ typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
2966
+ typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
2967
+ typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
2968
+ typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2969
+ typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2970
+ typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
2971
+ typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2972
+ typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2973
+ typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2974
+ typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2975
+ typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2976
+ typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2977
+ typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2978
+ typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
2979
+ typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2980
+ typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2981
+ typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
2982
+ typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
2983
+ typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
2984
+ typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2985
+ typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2986
+ typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2987
+ typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2988
+ typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
2989
+ 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);
2990
+ typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2991
+ typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2992
+ typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2993
+ typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2994
+ typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2995
+ typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2996
+ typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2997
+ typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2998
+ typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2999
+ typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3000
+ typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3001
+ typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3002
+ typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
3003
+ typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
3004
+ typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
3005
+ typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
3006
+ typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3007
+ typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3008
+ typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3009
+ typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3010
+ typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3011
+ typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
3012
+ #ifdef GL_GLEXT_PROTOTYPES
3013
+ GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
3014
+ GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
3015
+ GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
3016
+ GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
3017
+ GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
3018
+ GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
3019
+ GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
3020
+ GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
3021
+ GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
3022
+ GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
3023
+ GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
3024
+ GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
3025
+ GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
3026
+ GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
3027
+ GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
3028
+ GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
3029
+ GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
3030
+ GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
3031
+ GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
3032
+ GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
3033
+ GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
3034
+ GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
3035
+ GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
3036
+ GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
3037
+ GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
3038
+ GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
3039
+ GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
3040
+ GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
3041
+ GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
3042
+ GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
3043
+ GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
3044
+ GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
3045
+ GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
3046
+ GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
3047
+ GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
3048
+ GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
3049
+ 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);
3050
+ GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
3051
+ GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
3052
+ GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
3053
+ GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
3054
+ GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
3055
+ GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
3056
+ GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
3057
+ GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
3058
+ GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
3059
+ GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
3060
+ GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
3061
+ GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
3062
+ GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
3063
+ GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
3064
+ GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
3065
+ GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
3066
+ GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
3067
+ 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);
3068
+ GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
3069
+ GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
3070
+ 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);
3071
+ GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
3072
+ GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
3073
+ GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
3074
+ GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
3075
+ GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
3076
+ GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
3077
+ GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
3078
+ GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
3079
+ GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
3080
+ GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
3081
+ GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
3082
+ GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
3083
+ GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
3084
+ GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
3085
+ GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
3086
+ GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
3087
+ GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
3088
+ GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
3089
+ GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
3090
+ GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
3091
+ GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
3092
+ GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
3093
+ GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
3094
+ GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
3095
+ GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
3096
+ GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
3097
+ GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
3098
+ GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
3099
+ GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
3100
+ GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
3101
+ GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
3102
+ GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
3103
+ GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
3104
+ GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
3105
+ GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
3106
+ GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
3107
+ GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
3108
+ GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
3109
+ GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
3110
+ GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
3111
+ GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
3112
+ 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);
3113
+ GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
3114
+ GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
3115
+ GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
3116
+ GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
3117
+ GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3118
+ GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3119
+ GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3120
+ GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3121
+ GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3122
+ GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3123
+ GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3124
+ GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3125
+ GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
3126
+ GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
3127
+ GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
3128
+ GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
3129
+ GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3130
+ GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3131
+ GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3132
+ GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3133
+ GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3134
+ GLAPI void APIENTRY glTextureBarrier (void);
3135
+ #endif
3136
+ #endif /* GL_VERSION_4_5 */
3137
+
3138
+ #ifndef GL_VERSION_4_6
3139
+ #define GL_VERSION_4_6 1
3140
+ #define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551
3141
+ #define GL_SPIR_V_BINARY 0x9552
3142
+ #define GL_PARAMETER_BUFFER 0x80EE
3143
+ #define GL_PARAMETER_BUFFER_BINDING 0x80EF
3144
+ #define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008
3145
+ #define GL_VERTICES_SUBMITTED 0x82EE
3146
+ #define GL_PRIMITIVES_SUBMITTED 0x82EF
3147
+ #define GL_VERTEX_SHADER_INVOCATIONS 0x82F0
3148
+ #define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1
3149
+ #define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
3150
+ #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
3151
+ #define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
3152
+ #define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5
3153
+ #define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6
3154
+ #define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7
3155
+ #define GL_POLYGON_OFFSET_CLAMP 0x8E1B
3156
+ #define GL_SPIR_V_EXTENSIONS 0x9553
3157
+ #define GL_NUM_SPIR_V_EXTENSIONS 0x9554
3158
+ #define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
3159
+ #define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
3160
+ #define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC
3161
+ #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
3162
+ typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3163
+ typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3164
+ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3165
+ typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
3166
+ #ifdef GL_GLEXT_PROTOTYPES
3167
+ GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3168
+ GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3169
+ GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3170
+ GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp);
3171
+ #endif
3172
+ #endif /* GL_VERSION_4_6 */
3173
+
2582
3174
  #ifndef GL_ARB_ES2_compatibility
2583
3175
  #define GL_ARB_ES2_compatibility 1
2584
3176
  #endif /* GL_ARB_ES2_compatibility */
2585
3177
 
3178
+ #ifndef GL_ARB_ES3_1_compatibility
3179
+ #define GL_ARB_ES3_1_compatibility 1
3180
+ #endif /* GL_ARB_ES3_1_compatibility */
3181
+
3182
+ #ifndef GL_ARB_ES3_2_compatibility
3183
+ #define GL_ARB_ES3_2_compatibility 1
3184
+ #define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE
3185
+ #define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
3186
+ #define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
3187
+ typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
3188
+ #ifdef GL_GLEXT_PROTOTYPES
3189
+ GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
3190
+ #endif
3191
+ #endif /* GL_ARB_ES3_2_compatibility */
3192
+
2586
3193
  #ifndef GL_ARB_ES3_compatibility
2587
3194
  #define GL_ARB_ES3_compatibility 1
2588
3195
  #endif /* GL_ARB_ES3_compatibility */
@@ -2597,7 +3204,7 @@ GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLui
2597
3204
 
2598
3205
  #ifndef GL_ARB_bindless_texture
2599
3206
  #define GL_ARB_bindless_texture 1
2600
- typedef uint64_t GLuint64EXT;
3207
+ typedef khronos_uint64_t GLuint64EXT;
2601
3208
  #define GL_UNSIGNED_INT64_ARB 0x140F
2602
3209
  typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2603
3210
  typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
@@ -2663,6 +3270,10 @@ GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, s
2663
3270
  #define GL_ARB_clear_texture 1
2664
3271
  #endif /* GL_ARB_clear_texture */
2665
3272
 
3273
+ #ifndef GL_ARB_clip_control
3274
+ #define GL_ARB_clip_control 1
3275
+ #endif /* GL_ARB_clip_control */
3276
+
2666
3277
  #ifndef GL_ARB_color_buffer_float
2667
3278
  #define GL_ARB_color_buffer_float 1
2668
3279
  #define GL_RGBA_FLOAT_MODE_ARB 0x8820
@@ -2686,7 +3297,6 @@ GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
2686
3297
 
2687
3298
  #ifndef GL_ARB_compute_shader
2688
3299
  #define GL_ARB_compute_shader 1
2689
- #define GL_COMPUTE_SHADER_BIT 0x00000020
2690
3300
  #endif /* GL_ARB_compute_shader */
2691
3301
 
2692
3302
  #ifndef GL_ARB_compute_variable_group_size
@@ -2701,20 +3311,26 @@ GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint n
2701
3311
  #endif
2702
3312
  #endif /* GL_ARB_compute_variable_group_size */
2703
3313
 
3314
+ #ifndef GL_ARB_conditional_render_inverted
3315
+ #define GL_ARB_conditional_render_inverted 1
3316
+ #endif /* GL_ARB_conditional_render_inverted */
3317
+
2704
3318
  #ifndef GL_ARB_conservative_depth
2705
3319
  #define GL_ARB_conservative_depth 1
2706
3320
  #endif /* GL_ARB_conservative_depth */
2707
3321
 
2708
3322
  #ifndef GL_ARB_copy_buffer
2709
3323
  #define GL_ARB_copy_buffer 1
2710
- #define GL_COPY_READ_BUFFER_BINDING 0x8F36
2711
- #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2712
3324
  #endif /* GL_ARB_copy_buffer */
2713
3325
 
2714
3326
  #ifndef GL_ARB_copy_image
2715
3327
  #define GL_ARB_copy_image 1
2716
3328
  #endif /* GL_ARB_copy_image */
2717
3329
 
3330
+ #ifndef GL_ARB_cull_distance
3331
+ #define GL_ARB_cull_distance 1
3332
+ #endif /* GL_ARB_cull_distance */
3333
+
2718
3334
  #ifndef GL_ARB_debug_output
2719
3335
  #define GL_ARB_debug_output 1
2720
3336
  typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
@@ -2769,6 +3385,14 @@ GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GL
2769
3385
  #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
2770
3386
  #endif /* GL_ARB_depth_texture */
2771
3387
 
3388
+ #ifndef GL_ARB_derivative_control
3389
+ #define GL_ARB_derivative_control 1
3390
+ #endif /* GL_ARB_derivative_control */
3391
+
3392
+ #ifndef GL_ARB_direct_state_access
3393
+ #define GL_ARB_direct_state_access 1
3394
+ #endif /* GL_ARB_direct_state_access */
3395
+
2772
3396
  #ifndef GL_ARB_draw_buffers
2773
3397
  #define GL_ARB_draw_buffers 1
2774
3398
  #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
@@ -2979,6 +3603,10 @@ GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
2979
3603
  #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
2980
3604
  #endif /* GL_ARB_fragment_shader */
2981
3605
 
3606
+ #ifndef GL_ARB_fragment_shader_interlock
3607
+ #define GL_ARB_fragment_shader_interlock 1
3608
+ #endif /* GL_ARB_fragment_shader_interlock */
3609
+
2982
3610
  #ifndef GL_ARB_framebuffer_no_attachments
2983
3611
  #define GL_ARB_framebuffer_no_attachments 1
2984
3612
  #endif /* GL_ARB_framebuffer_no_attachments */
@@ -2991,11 +3619,6 @@ GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
2991
3619
  #define GL_ARB_framebuffer_sRGB 1
2992
3620
  #endif /* GL_ARB_framebuffer_sRGB */
2993
3621
 
2994
- #ifndef GL_KHR_context_flush_control
2995
- #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2996
- #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2997
- #endif /* GL_KHR_context_flush_control */
2998
-
2999
3622
  #ifndef GL_ARB_geometry_shader4
3000
3623
  #define GL_ARB_geometry_shader4 1
3001
3624
  #define GL_LINES_ADJACENCY_ARB 0x000A
@@ -3032,6 +3655,20 @@ GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachmen
3032
3655
  #define GL_ARB_get_program_binary 1
3033
3656
  #endif /* GL_ARB_get_program_binary */
3034
3657
 
3658
+ #ifndef GL_ARB_get_texture_sub_image
3659
+ #define GL_ARB_get_texture_sub_image 1
3660
+ #endif /* GL_ARB_get_texture_sub_image */
3661
+
3662
+ #ifndef GL_ARB_gl_spirv
3663
+ #define GL_ARB_gl_spirv 1
3664
+ #define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
3665
+ #define GL_SPIR_V_BINARY_ARB 0x9552
3666
+ typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3667
+ #ifdef GL_GLEXT_PROTOTYPES
3668
+ GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3669
+ #endif
3670
+ #endif /* GL_ARB_gl_spirv */
3671
+
3035
3672
  #ifndef GL_ARB_gpu_shader5
3036
3673
  #define GL_ARB_gpu_shader5 1
3037
3674
  #endif /* GL_ARB_gpu_shader5 */
@@ -3040,9 +3677,94 @@ GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachmen
3040
3677
  #define GL_ARB_gpu_shader_fp64 1
3041
3678
  #endif /* GL_ARB_gpu_shader_fp64 */
3042
3679
 
3680
+ #ifndef GL_ARB_gpu_shader_int64
3681
+ #define GL_ARB_gpu_shader_int64 1
3682
+ #define GL_INT64_ARB 0x140E
3683
+ #define GL_INT64_VEC2_ARB 0x8FE9
3684
+ #define GL_INT64_VEC3_ARB 0x8FEA
3685
+ #define GL_INT64_VEC4_ARB 0x8FEB
3686
+ #define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5
3687
+ #define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6
3688
+ #define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7
3689
+ typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x);
3690
+ typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y);
3691
+ typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z);
3692
+ typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3693
+ typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3694
+ typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3695
+ typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3696
+ typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3697
+ typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x);
3698
+ typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y);
3699
+ typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3700
+ typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3701
+ typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3702
+ typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3703
+ typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3704
+ typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3705
+ typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params);
3706
+ typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params);
3707
+ typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3708
+ typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3709
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x);
3710
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y);
3711
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3712
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3713
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3714
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3715
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3716
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3717
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x);
3718
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3719
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3720
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3721
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3722
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3723
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3724
+ typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3725
+ #ifdef GL_GLEXT_PROTOTYPES
3726
+ GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x);
3727
+ GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y);
3728
+ GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z);
3729
+ GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3730
+ GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value);
3731
+ GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value);
3732
+ GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value);
3733
+ GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value);
3734
+ GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x);
3735
+ GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y);
3736
+ GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3737
+ GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3738
+ GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3739
+ GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3740
+ GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3741
+ GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3742
+ GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params);
3743
+ GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params);
3744
+ GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3745
+ GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3746
+ GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x);
3747
+ GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y);
3748
+ GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3749
+ GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3750
+ GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3751
+ GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3752
+ GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3753
+ GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3754
+ GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x);
3755
+ GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3756
+ GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3757
+ GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3758
+ GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3759
+ GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3760
+ GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3761
+ GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3762
+ #endif
3763
+ #endif /* GL_ARB_gpu_shader_int64 */
3764
+
3043
3765
  #ifndef GL_ARB_half_float_pixel
3044
3766
  #define GL_ARB_half_float_pixel 1
3045
- typedef unsigned short GLhalfARB;
3767
+ typedef khronos_uint16_t GLhalfARB;
3046
3768
  #define GL_HALF_FLOAT_ARB 0x140B
3047
3769
  #endif /* GL_ARB_half_float_pixel */
3048
3770
 
@@ -3052,11 +3774,6 @@ typedef unsigned short GLhalfARB;
3052
3774
 
3053
3775
  #ifndef GL_ARB_imaging
3054
3776
  #define GL_ARB_imaging 1
3055
- #define GL_BLEND_COLOR 0x8005
3056
- #define GL_BLEND_EQUATION 0x8009
3057
- #define GL_CONVOLUTION_1D 0x8010
3058
- #define GL_CONVOLUTION_2D 0x8011
3059
- #define GL_SEPARABLE_2D 0x8012
3060
3777
  #define GL_CONVOLUTION_BORDER_MODE 0x8013
3061
3778
  #define GL_CONVOLUTION_FILTER_SCALE 0x8014
3062
3779
  #define GL_CONVOLUTION_FILTER_BIAS 0x8015
@@ -3074,8 +3791,6 @@ typedef unsigned short GLhalfARB;
3074
3791
  #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
3075
3792
  #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
3076
3793
  #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
3077
- #define GL_HISTOGRAM 0x8024
3078
- #define GL_PROXY_HISTOGRAM 0x8025
3079
3794
  #define GL_HISTOGRAM_WIDTH 0x8026
3080
3795
  #define GL_HISTOGRAM_FORMAT 0x8027
3081
3796
  #define GL_HISTOGRAM_RED_SIZE 0x8028
@@ -3084,7 +3799,6 @@ typedef unsigned short GLhalfARB;
3084
3799
  #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
3085
3800
  #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
3086
3801
  #define GL_HISTOGRAM_SINK 0x802D
3087
- #define GL_MINMAX 0x802E
3088
3802
  #define GL_MINMAX_FORMAT 0x802F
3089
3803
  #define GL_MINMAX_SINK 0x8030
3090
3804
  #define GL_TABLE_TOO_LARGE 0x8031
@@ -3099,12 +3813,6 @@ typedef unsigned short GLhalfARB;
3099
3813
  #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
3100
3814
  #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
3101
3815
  #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
3102
- #define GL_COLOR_TABLE 0x80D0
3103
- #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
3104
- #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
3105
- #define GL_PROXY_COLOR_TABLE 0x80D3
3106
- #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3107
- #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3108
3816
  #define GL_COLOR_TABLE_SCALE 0x80D6
3109
3817
  #define GL_COLOR_TABLE_BIAS 0x80D7
3110
3818
  #define GL_COLOR_TABLE_FORMAT 0x80D8
@@ -3190,11 +3898,11 @@ GLAPI void APIENTRY glResetMinmax (GLenum target);
3190
3898
  #define GL_ARB_indirect_parameters 1
3191
3899
  #define GL_PARAMETER_BUFFER_ARB 0x80EE
3192
3900
  #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3193
- typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3194
- typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3901
+ typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3902
+ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3195
3903
  #ifdef GL_GLEXT_PROTOTYPES
3196
- GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3197
- GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3904
+ GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3905
+ GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3198
3906
  #endif
3199
3907
  #endif /* GL_ARB_indirect_parameters */
3200
3908
 
@@ -3214,6 +3922,25 @@ GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
3214
3922
  #ifndef GL_ARB_internalformat_query2
3215
3923
  #define GL_ARB_internalformat_query2 1
3216
3924
  #define GL_SRGB_DECODE_ARB 0x8299
3925
+ #define GL_VIEW_CLASS_EAC_R11 0x9383
3926
+ #define GL_VIEW_CLASS_EAC_RG11 0x9384
3927
+ #define GL_VIEW_CLASS_ETC2_RGB 0x9385
3928
+ #define GL_VIEW_CLASS_ETC2_RGBA 0x9386
3929
+ #define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387
3930
+ #define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388
3931
+ #define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389
3932
+ #define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A
3933
+ #define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B
3934
+ #define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C
3935
+ #define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D
3936
+ #define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E
3937
+ #define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F
3938
+ #define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390
3939
+ #define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391
3940
+ #define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392
3941
+ #define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393
3942
+ #define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394
3943
+ #define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395
3217
3944
  #endif /* GL_ARB_internalformat_query2 */
3218
3945
 
3219
3946
  #ifndef GL_ARB_invalidate_subdata
@@ -3419,6 +4146,30 @@ GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *par
3419
4146
  #define GL_ARB_occlusion_query2 1
3420
4147
  #endif /* GL_ARB_occlusion_query2 */
3421
4148
 
4149
+ #ifndef GL_ARB_parallel_shader_compile
4150
+ #define GL_ARB_parallel_shader_compile 1
4151
+ #define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
4152
+ #define GL_COMPLETION_STATUS_ARB 0x91B1
4153
+ typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count);
4154
+ #ifdef GL_GLEXT_PROTOTYPES
4155
+ GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count);
4156
+ #endif
4157
+ #endif /* GL_ARB_parallel_shader_compile */
4158
+
4159
+ #ifndef GL_ARB_pipeline_statistics_query
4160
+ #define GL_ARB_pipeline_statistics_query 1
4161
+ #define GL_VERTICES_SUBMITTED_ARB 0x82EE
4162
+ #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
4163
+ #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
4164
+ #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
4165
+ #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
4166
+ #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
4167
+ #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
4168
+ #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
4169
+ #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
4170
+ #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
4171
+ #endif /* GL_ARB_pipeline_statistics_query */
4172
+
3422
4173
  #ifndef GL_ARB_pixel_buffer_object
3423
4174
  #define GL_ARB_pixel_buffer_object 1
3424
4175
  #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
@@ -3447,6 +4198,14 @@ GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
3447
4198
  #define GL_COORD_REPLACE_ARB 0x8862
3448
4199
  #endif /* GL_ARB_point_sprite */
3449
4200
 
4201
+ #ifndef GL_ARB_polygon_offset_clamp
4202
+ #define GL_ARB_polygon_offset_clamp 1
4203
+ #endif /* GL_ARB_polygon_offset_clamp */
4204
+
4205
+ #ifndef GL_ARB_post_depth_coverage
4206
+ #define GL_ARB_post_depth_coverage 1
4207
+ #endif /* GL_ARB_post_depth_coverage */
4208
+
3450
4209
  #ifndef GL_ARB_program_interface_query
3451
4210
  #define GL_ARB_program_interface_query 1
3452
4211
  #endif /* GL_ARB_program_interface_query */
@@ -3520,6 +4279,26 @@ GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum form
3520
4279
  #define GL_ARB_robustness_isolation 1
3521
4280
  #endif /* GL_ARB_robustness_isolation */
3522
4281
 
4282
+ #ifndef GL_ARB_sample_locations
4283
+ #define GL_ARB_sample_locations 1
4284
+ #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
4285
+ #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
4286
+ #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
4287
+ #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
4288
+ #define GL_SAMPLE_LOCATION_ARB 0x8E50
4289
+ #define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
4290
+ #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
4291
+ #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
4292
+ typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
4293
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
4294
+ typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void);
4295
+ #ifdef GL_GLEXT_PROTOTYPES
4296
+ GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
4297
+ GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
4298
+ GLAPI void APIENTRY glEvaluateDepthValuesARB (void);
4299
+ #endif
4300
+ #endif /* GL_ARB_sample_locations */
4301
+
3523
4302
  #ifndef GL_ARB_sample_shading
3524
4303
  #define GL_ARB_sample_shading 1
3525
4304
  #define GL_SAMPLE_SHADING_ARB 0x8C36
@@ -3546,14 +4325,26 @@ GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
3546
4325
  #define GL_ARB_separate_shader_objects 1
3547
4326
  #endif /* GL_ARB_separate_shader_objects */
3548
4327
 
4328
+ #ifndef GL_ARB_shader_atomic_counter_ops
4329
+ #define GL_ARB_shader_atomic_counter_ops 1
4330
+ #endif /* GL_ARB_shader_atomic_counter_ops */
4331
+
3549
4332
  #ifndef GL_ARB_shader_atomic_counters
3550
4333
  #define GL_ARB_shader_atomic_counters 1
3551
4334
  #endif /* GL_ARB_shader_atomic_counters */
3552
4335
 
4336
+ #ifndef GL_ARB_shader_ballot
4337
+ #define GL_ARB_shader_ballot 1
4338
+ #endif /* GL_ARB_shader_ballot */
4339
+
3553
4340
  #ifndef GL_ARB_shader_bit_encoding
3554
4341
  #define GL_ARB_shader_bit_encoding 1
3555
4342
  #endif /* GL_ARB_shader_bit_encoding */
3556
4343
 
4344
+ #ifndef GL_ARB_shader_clock
4345
+ #define GL_ARB_shader_clock 1
4346
+ #endif /* GL_ARB_shader_clock */
4347
+
3557
4348
  #ifndef GL_ARB_shader_draw_parameters
3558
4349
  #define GL_ARB_shader_draw_parameters 1
3559
4350
  #endif /* GL_ARB_shader_draw_parameters */
@@ -3710,10 +4501,18 @@ GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GL
3710
4501
  #define GL_ARB_shader_subroutine 1
3711
4502
  #endif /* GL_ARB_shader_subroutine */
3712
4503
 
4504
+ #ifndef GL_ARB_shader_texture_image_samples
4505
+ #define GL_ARB_shader_texture_image_samples 1
4506
+ #endif /* GL_ARB_shader_texture_image_samples */
4507
+
3713
4508
  #ifndef GL_ARB_shader_texture_lod
3714
4509
  #define GL_ARB_shader_texture_lod 1
3715
4510
  #endif /* GL_ARB_shader_texture_lod */
3716
4511
 
4512
+ #ifndef GL_ARB_shader_viewport_layer_array
4513
+ #define GL_ARB_shader_viewport_layer_array 1
4514
+ #endif /* GL_ARB_shader_viewport_layer_array */
4515
+
3717
4516
  #ifndef GL_ARB_shading_language_100
3718
4517
  #define GL_ARB_shading_language_100 1
3719
4518
  #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
@@ -3760,11 +4559,25 @@ GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GL
3760
4559
  #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
3761
4560
  #endif /* GL_ARB_shadow_ambient */
3762
4561
 
4562
+ #ifndef GL_ARB_sparse_buffer
4563
+ #define GL_ARB_sparse_buffer 1
4564
+ #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
4565
+ #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
4566
+ typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4567
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4568
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4569
+ #ifdef GL_GLEXT_PROTOTYPES
4570
+ GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4571
+ GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4572
+ GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4573
+ #endif
4574
+ #endif /* GL_ARB_sparse_buffer */
4575
+
3763
4576
  #ifndef GL_ARB_sparse_texture
3764
4577
  #define GL_ARB_sparse_texture 1
3765
4578
  #define GL_TEXTURE_SPARSE_ARB 0x91A6
3766
4579
  #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
3767
- #define GL_MIN_SPARSE_LEVEL_ARB 0x919B
4580
+ #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
3768
4581
  #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
3769
4582
  #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
3770
4583
  #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
@@ -3773,12 +4586,24 @@ GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GL
3773
4586
  #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
3774
4587
  #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
3775
4588
  #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
3776
- typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
4589
+ typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
3777
4590
  #ifdef GL_GLEXT_PROTOTYPES
3778
- GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
4591
+ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
3779
4592
  #endif
3780
4593
  #endif /* GL_ARB_sparse_texture */
3781
4594
 
4595
+ #ifndef GL_ARB_sparse_texture2
4596
+ #define GL_ARB_sparse_texture2 1
4597
+ #endif /* GL_ARB_sparse_texture2 */
4598
+
4599
+ #ifndef GL_ARB_sparse_texture_clamp
4600
+ #define GL_ARB_sparse_texture_clamp 1
4601
+ #endif /* GL_ARB_sparse_texture_clamp */
4602
+
4603
+ #ifndef GL_ARB_spirv_extensions
4604
+ #define GL_ARB_spirv_extensions 1
4605
+ #endif /* GL_ARB_spirv_extensions */
4606
+
3782
4607
  #ifndef GL_ARB_stencil_texturing
3783
4608
  #define GL_ARB_stencil_texturing 1
3784
4609
  #endif /* GL_ARB_stencil_texturing */
@@ -3791,6 +4616,10 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo
3791
4616
  #define GL_ARB_tessellation_shader 1
3792
4617
  #endif /* GL_ARB_tessellation_shader */
3793
4618
 
4619
+ #ifndef GL_ARB_texture_barrier
4620
+ #define GL_ARB_texture_barrier 1
4621
+ #endif /* GL_ARB_texture_barrier */
4622
+
3794
4623
  #ifndef GL_ARB_texture_border_clamp
3795
4624
  #define GL_ARB_texture_border_clamp 1
3796
4625
  #define GL_CLAMP_TO_BORDER_ARB 0x812D
@@ -3927,6 +4756,16 @@ GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void
3927
4756
  #define GL_DOT3_RGBA_ARB 0x86AF
3928
4757
  #endif /* GL_ARB_texture_env_dot3 */
3929
4758
 
4759
+ #ifndef GL_ARB_texture_filter_anisotropic
4760
+ #define GL_ARB_texture_filter_anisotropic 1
4761
+ #endif /* GL_ARB_texture_filter_anisotropic */
4762
+
4763
+ #ifndef GL_ARB_texture_filter_minmax
4764
+ #define GL_ARB_texture_filter_minmax 1
4765
+ #define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366
4766
+ #define GL_WEIGHTED_AVERAGE_ARB 0x9367
4767
+ #endif /* GL_ARB_texture_filter_minmax */
4768
+
3930
4769
  #ifndef GL_ARB_texture_float
3931
4770
  #define GL_ARB_texture_float 1
3932
4771
  #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
@@ -4025,8 +4864,6 @@ GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void
4025
4864
 
4026
4865
  #ifndef GL_ARB_transform_feedback2
4027
4866
  #define GL_ARB_transform_feedback2 1
4028
- #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
4029
- #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
4030
4867
  #endif /* GL_ARB_transform_feedback2 */
4031
4868
 
4032
4869
  #ifndef GL_ARB_transform_feedback3
@@ -4037,6 +4874,12 @@ GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void
4037
4874
  #define GL_ARB_transform_feedback_instanced 1
4038
4875
  #endif /* GL_ARB_transform_feedback_instanced */
4039
4876
 
4877
+ #ifndef GL_ARB_transform_feedback_overflow_query
4878
+ #define GL_ARB_transform_feedback_overflow_query 1
4879
+ #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
4880
+ #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
4881
+ #endif /* GL_ARB_transform_feedback_overflow_query */
4882
+
4040
4883
  #ifndef GL_ARB_transpose_matrix
4041
4884
  #define GL_ARB_transpose_matrix 1
4042
4885
  #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
@@ -4057,9 +4900,6 @@ GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
4057
4900
 
4058
4901
  #ifndef GL_ARB_uniform_buffer_object
4059
4902
  #define GL_ARB_uniform_buffer_object 1
4060
- #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
4061
- #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
4062
- #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
4063
4903
  #endif /* GL_ARB_uniform_buffer_object */
4064
4904
 
4065
4905
  #ifndef GL_ARB_vertex_array_bgra
@@ -4148,13 +4988,8 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count);
4148
4988
 
4149
4989
  #ifndef GL_ARB_vertex_buffer_object
4150
4990
  #define GL_ARB_vertex_buffer_object 1
4151
- #ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */
4152
- typedef long GLsizeiptrARB;
4153
- typedef long GLintptrARB;
4154
- #else
4155
- typedef ptrdiff_t GLsizeiptrARB;
4156
- typedef ptrdiff_t GLintptrARB;
4157
- #endif
4991
+ typedef khronos_ssize_t GLsizeiptrARB;
4992
+ typedef khronos_intptr_t GLintptrARB;
4158
4993
  #define GL_BUFFER_SIZE_ARB 0x8764
4159
4994
  #define GL_BUFFER_USAGE_ARB 0x8765
4160
4995
  #define GL_ARRAY_BUFFER_ARB 0x8892
@@ -4349,6 +5184,12 @@ GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcha
4349
5184
 
4350
5185
  #ifndef GL_ARB_viewport_array
4351
5186
  #define GL_ARB_viewport_array 1
5187
+ typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYDVNVPROC) (GLuint first, GLsizei count, const GLdouble *v);
5188
+ typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDDNVPROC) (GLuint index, GLdouble n, GLdouble f);
5189
+ #ifdef GL_GLEXT_PROTOTYPES
5190
+ GLAPI void APIENTRY glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble *v);
5191
+ GLAPI void APIENTRY glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f);
5192
+ #endif
4352
5193
  #endif /* GL_ARB_viewport_array */
4353
5194
 
4354
5195
  #ifndef GL_ARB_window_pos
@@ -4389,10 +5230,82 @@ GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
4389
5230
  #endif
4390
5231
  #endif /* GL_ARB_window_pos */
4391
5232
 
5233
+ #ifndef GL_KHR_blend_equation_advanced
5234
+ #define GL_KHR_blend_equation_advanced 1
5235
+ #define GL_MULTIPLY_KHR 0x9294
5236
+ #define GL_SCREEN_KHR 0x9295
5237
+ #define GL_OVERLAY_KHR 0x9296
5238
+ #define GL_DARKEN_KHR 0x9297
5239
+ #define GL_LIGHTEN_KHR 0x9298
5240
+ #define GL_COLORDODGE_KHR 0x9299
5241
+ #define GL_COLORBURN_KHR 0x929A
5242
+ #define GL_HARDLIGHT_KHR 0x929B
5243
+ #define GL_SOFTLIGHT_KHR 0x929C
5244
+ #define GL_DIFFERENCE_KHR 0x929E
5245
+ #define GL_EXCLUSION_KHR 0x92A0
5246
+ #define GL_HSL_HUE_KHR 0x92AD
5247
+ #define GL_HSL_SATURATION_KHR 0x92AE
5248
+ #define GL_HSL_COLOR_KHR 0x92AF
5249
+ #define GL_HSL_LUMINOSITY_KHR 0x92B0
5250
+ typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
5251
+ #ifdef GL_GLEXT_PROTOTYPES
5252
+ GLAPI void APIENTRY glBlendBarrierKHR (void);
5253
+ #endif
5254
+ #endif /* GL_KHR_blend_equation_advanced */
5255
+
5256
+ #ifndef GL_KHR_blend_equation_advanced_coherent
5257
+ #define GL_KHR_blend_equation_advanced_coherent 1
5258
+ #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
5259
+ #endif /* GL_KHR_blend_equation_advanced_coherent */
5260
+
5261
+ #ifndef GL_KHR_context_flush_control
5262
+ #define GL_KHR_context_flush_control 1
5263
+ #endif /* GL_KHR_context_flush_control */
5264
+
4392
5265
  #ifndef GL_KHR_debug
4393
5266
  #define GL_KHR_debug 1
4394
5267
  #endif /* GL_KHR_debug */
4395
5268
 
5269
+ #ifndef GL_KHR_no_error
5270
+ #define GL_KHR_no_error 1
5271
+ #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
5272
+ #endif /* GL_KHR_no_error */
5273
+
5274
+ #ifndef GL_KHR_parallel_shader_compile
5275
+ #define GL_KHR_parallel_shader_compile 1
5276
+ #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
5277
+ #define GL_COMPLETION_STATUS_KHR 0x91B1
5278
+ typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
5279
+ #ifdef GL_GLEXT_PROTOTYPES
5280
+ GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
5281
+ #endif
5282
+ #endif /* GL_KHR_parallel_shader_compile */
5283
+
5284
+ #ifndef GL_KHR_robust_buffer_access_behavior
5285
+ #define GL_KHR_robust_buffer_access_behavior 1
5286
+ #endif /* GL_KHR_robust_buffer_access_behavior */
5287
+
5288
+ #ifndef GL_KHR_robustness
5289
+ #define GL_KHR_robustness 1
5290
+ #define GL_CONTEXT_ROBUST_ACCESS 0x90F3
5291
+ #endif /* GL_KHR_robustness */
5292
+
5293
+ #ifndef GL_KHR_shader_subgroup
5294
+ #define GL_KHR_shader_subgroup 1
5295
+ #define GL_SUBGROUP_SIZE_KHR 0x9532
5296
+ #define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
5297
+ #define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
5298
+ #define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
5299
+ #define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
5300
+ #define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
5301
+ #define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
5302
+ #define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
5303
+ #define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
5304
+ #define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
5305
+ #define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
5306
+ #define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
5307
+ #endif /* GL_KHR_shader_subgroup */
5308
+
4396
5309
  #ifndef GL_KHR_texture_compression_astc_hdr
4397
5310
  #define GL_KHR_texture_compression_astc_hdr 1
4398
5311
  #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
@@ -4429,6 +5342,10 @@ GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
4429
5342
  #define GL_KHR_texture_compression_astc_ldr 1
4430
5343
  #endif /* GL_KHR_texture_compression_astc_ldr */
4431
5344
 
5345
+ #ifndef GL_KHR_texture_compression_astc_sliced_3d
5346
+ #define GL_KHR_texture_compression_astc_sliced_3d 1
5347
+ #endif /* GL_KHR_texture_compression_astc_sliced_3d */
5348
+
4432
5349
  #ifndef GL_OES_byte_coordinates
4433
5350
  #define GL_OES_byte_coordinates 1
4434
5351
  typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
@@ -4447,11 +5364,11 @@ typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r);
4447
5364
  typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
4448
5365
  typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4449
5366
  typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
4450
- typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);
5367
+ typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
4451
5368
  typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
4452
- typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);
5369
+ typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
4453
5370
  typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
4454
- typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
5371
+ typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
4455
5372
  typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
4456
5373
  #ifdef GL_GLEXT_PROTOTYPES
4457
5374
  GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
@@ -4470,11 +5387,11 @@ GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r);
4470
5387
  GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
4471
5388
  GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4472
5389
  GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
4473
- GLAPI void APIENTRY glVertex2bOES (GLbyte x);
5390
+ GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
4474
5391
  GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
4475
- GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);
5392
+ GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
4476
5393
  GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
4477
- GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);
5394
+ GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
4478
5395
  GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
4479
5396
  #endif
4480
5397
  #endif /* GL_OES_byte_coordinates */
@@ -4495,7 +5412,7 @@ GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
4495
5412
 
4496
5413
  #ifndef GL_OES_fixed_point
4497
5414
  #define GL_OES_fixed_point 1
4498
- typedef GLint GLfixed;
5415
+ typedef khronos_int32_t GLfixed;
4499
5416
  #define GL_FIXED_OES 0x140C
4500
5417
  typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
4501
5418
  typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
@@ -4526,7 +5443,6 @@ typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfix
4526
5443
  typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
4527
5444
  typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
4528
5445
  typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4529
- typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
4530
5446
  typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4531
5447
  typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4532
5448
  typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
@@ -4631,7 +5547,6 @@ GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
4631
5547
  GLAPI void APIENTRY glPointSizexOES (GLfixed size);
4632
5548
  GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
4633
5549
  GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4634
- GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
4635
5550
  GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
4636
5551
  GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
4637
5552
  GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
@@ -4793,12 +5708,12 @@ typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severi
4793
5708
  typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
4794
5709
  typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
4795
5710
  typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
4796
- typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5711
+ typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
4797
5712
  #ifdef GL_GLEXT_PROTOTYPES
4798
5713
  GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
4799
5714
  GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
4800
5715
  GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
4801
- GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
5716
+ GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
4802
5717
  #endif
4803
5718
  #endif /* GL_AMD_debug_output */
4804
5719
 
@@ -4822,13 +5737,68 @@ GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRG
4822
5737
  #endif
4823
5738
  #endif /* GL_AMD_draw_buffers_blend */
4824
5739
 
5740
+ #ifndef GL_AMD_framebuffer_multisample_advanced
5741
+ #define GL_AMD_framebuffer_multisample_advanced 1
5742
+ #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
5743
+ #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
5744
+ #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
5745
+ #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
5746
+ #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
5747
+ #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
5748
+ typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5749
+ typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5750
+ #ifdef GL_GLEXT_PROTOTYPES
5751
+ GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5752
+ GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5753
+ #endif
5754
+ #endif /* GL_AMD_framebuffer_multisample_advanced */
5755
+
5756
+ #ifndef GL_AMD_framebuffer_sample_positions
5757
+ #define GL_AMD_framebuffer_sample_positions 1
5758
+ #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5759
+ #define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE
5760
+ #define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF
5761
+ #define GL_ALL_PIXELS_AMD 0xFFFFFFFF
5762
+ typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5763
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5764
+ typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5765
+ typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5766
+ #ifdef GL_GLEXT_PROTOTYPES
5767
+ GLAPI void APIENTRY glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5768
+ GLAPI void APIENTRY glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5769
+ GLAPI void APIENTRY glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5770
+ GLAPI void APIENTRY glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5771
+ #endif
5772
+ #endif /* GL_AMD_framebuffer_sample_positions */
5773
+
4825
5774
  #ifndef GL_AMD_gcn_shader
4826
5775
  #define GL_AMD_gcn_shader 1
4827
5776
  #endif /* GL_AMD_gcn_shader */
4828
5777
 
5778
+ #ifndef GL_AMD_gpu_shader_half_float
5779
+ #define GL_AMD_gpu_shader_half_float 1
5780
+ #define GL_FLOAT16_NV 0x8FF8
5781
+ #define GL_FLOAT16_VEC2_NV 0x8FF9
5782
+ #define GL_FLOAT16_VEC3_NV 0x8FFA
5783
+ #define GL_FLOAT16_VEC4_NV 0x8FFB
5784
+ #define GL_FLOAT16_MAT2_AMD 0x91C5
5785
+ #define GL_FLOAT16_MAT3_AMD 0x91C6
5786
+ #define GL_FLOAT16_MAT4_AMD 0x91C7
5787
+ #define GL_FLOAT16_MAT2x3_AMD 0x91C8
5788
+ #define GL_FLOAT16_MAT2x4_AMD 0x91C9
5789
+ #define GL_FLOAT16_MAT3x2_AMD 0x91CA
5790
+ #define GL_FLOAT16_MAT3x4_AMD 0x91CB
5791
+ #define GL_FLOAT16_MAT4x2_AMD 0x91CC
5792
+ #define GL_FLOAT16_MAT4x3_AMD 0x91CD
5793
+ #endif /* GL_AMD_gpu_shader_half_float */
5794
+
5795
+ #ifndef GL_AMD_gpu_shader_int16
5796
+ #define GL_AMD_gpu_shader_int16 1
5797
+ #endif /* GL_AMD_gpu_shader_int16 */
5798
+
4829
5799
  #ifndef GL_AMD_gpu_shader_int64
4830
5800
  #define GL_AMD_gpu_shader_int64 1
4831
- typedef int64_t GLint64EXT;
5801
+ typedef khronos_int64_t GLint64EXT;
4832
5802
  #define GL_INT64_NV 0x140E
4833
5803
  #define GL_UNSIGNED_INT64_NV 0x140F
4834
5804
  #define GL_INT8_NV 0x8FE0
@@ -4853,10 +5823,6 @@ typedef int64_t GLint64EXT;
4853
5823
  #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
4854
5824
  #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
4855
5825
  #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
4856
- #define GL_FLOAT16_NV 0x8FF8
4857
- #define GL_FLOAT16_VEC2_NV 0x8FF9
4858
- #define GL_FLOAT16_VEC3_NV 0x8FFA
4859
- #define GL_FLOAT16_VEC4_NV 0x8FFB
4860
5826
  typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
4861
5827
  typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
4862
5828
  typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
@@ -5029,7 +5995,6 @@ GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname
5029
5995
 
5030
5996
  #ifndef GL_AMD_sample_positions
5031
5997
  #define GL_AMD_sample_positions 1
5032
- #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5033
5998
  typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
5034
5999
  #ifdef GL_GLEXT_PROTOTYPES
5035
6000
  GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
@@ -5044,6 +6009,22 @@ GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLf
5044
6009
  #define GL_AMD_shader_atomic_counter_ops 1
5045
6010
  #endif /* GL_AMD_shader_atomic_counter_ops */
5046
6011
 
6012
+ #ifndef GL_AMD_shader_ballot
6013
+ #define GL_AMD_shader_ballot 1
6014
+ #endif /* GL_AMD_shader_ballot */
6015
+
6016
+ #ifndef GL_AMD_shader_explicit_vertex_parameter
6017
+ #define GL_AMD_shader_explicit_vertex_parameter 1
6018
+ #endif /* GL_AMD_shader_explicit_vertex_parameter */
6019
+
6020
+ #ifndef GL_AMD_shader_gpu_shader_half_float_fetch
6021
+ #define GL_AMD_shader_gpu_shader_half_float_fetch 1
6022
+ #endif /* GL_AMD_shader_gpu_shader_half_float_fetch */
6023
+
6024
+ #ifndef GL_AMD_shader_image_load_store_lod
6025
+ #define GL_AMD_shader_image_load_store_lod 1
6026
+ #endif /* GL_AMD_shader_image_load_store_lod */
6027
+
5047
6028
  #ifndef GL_AMD_shader_stencil_export
5048
6029
  #define GL_AMD_shader_stencil_export 1
5049
6030
  #endif /* GL_AMD_shader_stencil_export */
@@ -5083,6 +6064,10 @@ GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
5083
6064
  #endif
5084
6065
  #endif /* GL_AMD_stencil_operation_extended */
5085
6066
 
6067
+ #ifndef GL_AMD_texture_gather_bias_lod
6068
+ #define GL_AMD_texture_gather_bias_lod 1
6069
+ #endif /* GL_AMD_texture_gather_bias_lod */
6070
+
5086
6071
  #ifndef GL_AMD_texture_texture4
5087
6072
  #define GL_AMD_texture_texture4 1
5088
6073
  #endif /* GL_AMD_texture_texture4 */
@@ -5783,6 +6768,21 @@ GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
5783
6768
  #define GL_422_REV_AVERAGE_EXT 0x80CF
5784
6769
  #endif /* GL_EXT_422_pixels */
5785
6770
 
6771
+ #ifndef GL_EXT_EGL_image_storage
6772
+ #define GL_EXT_EGL_image_storage 1
6773
+ typedef void *GLeglImageOES;
6774
+ typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
6775
+ typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
6776
+ #ifdef GL_GLEXT_PROTOTYPES
6777
+ GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
6778
+ GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
6779
+ #endif
6780
+ #endif /* GL_EXT_EGL_image_storage */
6781
+
6782
+ #ifndef GL_EXT_EGL_sync
6783
+ #define GL_EXT_EGL_sync 1
6784
+ #endif /* GL_EXT_EGL_sync */
6785
+
5786
6786
  #ifndef GL_EXT_abgr
5787
6787
  #define GL_EXT_abgr 1
5788
6788
  #define GL_ABGR_EXT 0x8000
@@ -6345,7 +7345,7 @@ typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaob
6345
7345
  typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6346
7346
  typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6347
7347
  typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6348
- typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
7348
+ typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
6349
7349
  typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
6350
7350
  #ifdef GL_GLEXT_PROTOTYPES
6351
7351
  GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
@@ -6601,7 +7601,7 @@ GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint at
6601
7601
  GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6602
7602
  GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6603
7603
  GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6604
- GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);
7604
+ GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
6605
7605
  GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
6606
7606
  #endif
6607
7607
  #endif /* GL_EXT_direct_state_access */
@@ -6634,6 +7634,17 @@ GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint en
6634
7634
  #endif
6635
7635
  #endif /* GL_EXT_draw_range_elements */
6636
7636
 
7637
+ #ifndef GL_EXT_external_buffer
7638
+ #define GL_EXT_external_buffer 1
7639
+ typedef void *GLeglClientBufferEXT;
7640
+ typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7641
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7642
+ #ifdef GL_GLEXT_PROTOTYPES
7643
+ GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7644
+ GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7645
+ #endif
7646
+ #endif /* GL_EXT_external_buffer */
7647
+
6637
7648
  #ifndef GL_EXT_fog_coord
6638
7649
  #define GL_EXT_fog_coord 1
6639
7650
  #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
@@ -6824,7 +7835,6 @@ GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index,
6824
7835
 
6825
7836
  #ifndef GL_EXT_gpu_shader4
6826
7837
  #define GL_EXT_gpu_shader4 1
6827
- #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
6828
7838
  #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
6829
7839
  #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
6830
7840
  #define GL_SAMPLER_BUFFER_EXT 0x8DC2
@@ -6852,6 +7862,7 @@ GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index,
6852
7862
  #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
6853
7863
  #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
6854
7864
  #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
7865
+ #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
6855
7866
  typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
6856
7867
  typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
6857
7868
  typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
@@ -6863,6 +7874,29 @@ typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count,
6863
7874
  typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
6864
7875
  typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
6865
7876
  typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7877
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
7878
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
7879
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
7880
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
7881
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
7882
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
7883
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
7884
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7885
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
7886
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
7887
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
7888
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
7889
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
7890
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
7891
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
7892
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
7893
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
7894
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
7895
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
7896
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
7897
+ typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
7898
+ typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
7899
+ typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
6866
7900
  #ifdef GL_GLEXT_PROTOTYPES
6867
7901
  GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
6868
7902
  GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
@@ -6875,6 +7909,29 @@ GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuin
6875
7909
  GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
6876
7910
  GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
6877
7911
  GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
7912
+ GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
7913
+ GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
7914
+ GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
7915
+ GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
7916
+ GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
7917
+ GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
7918
+ GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
7919
+ GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7920
+ GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
7921
+ GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
7922
+ GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
7923
+ GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
7924
+ GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
7925
+ GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
7926
+ GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
7927
+ GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
7928
+ GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
7929
+ GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
7930
+ GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
7931
+ GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
7932
+ GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
7933
+ GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
7934
+ GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
6878
7935
  #endif
6879
7936
  #endif /* GL_EXT_gpu_shader4 */
6880
7937
 
@@ -6977,6 +8034,89 @@ GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
6977
8034
  #endif
6978
8035
  #endif /* GL_EXT_light_texture */
6979
8036
 
8037
+ #ifndef GL_EXT_memory_object
8038
+ #define GL_EXT_memory_object 1
8039
+ #define GL_TEXTURE_TILING_EXT 0x9580
8040
+ #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
8041
+ #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
8042
+ #define GL_NUM_TILING_TYPES_EXT 0x9582
8043
+ #define GL_TILING_TYPES_EXT 0x9583
8044
+ #define GL_OPTIMAL_TILING_EXT 0x9584
8045
+ #define GL_LINEAR_TILING_EXT 0x9585
8046
+ #define GL_NUM_DEVICE_UUIDS_EXT 0x9596
8047
+ #define GL_DEVICE_UUID_EXT 0x9597
8048
+ #define GL_DRIVER_UUID_EXT 0x9598
8049
+ #define GL_UUID_SIZE_EXT 16
8050
+ typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
8051
+ typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
8052
+ typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
8053
+ typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
8054
+ typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
8055
+ typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
8056
+ typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
8057
+ typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
8058
+ typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8059
+ typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
8060
+ typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8061
+ typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
8062
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
8063
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8064
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
8065
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8066
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
8067
+ typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
8068
+ typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
8069
+ #ifdef GL_GLEXT_PROTOTYPES
8070
+ GLAPI void APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
8071
+ GLAPI void APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
8072
+ GLAPI void APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
8073
+ GLAPI GLboolean APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
8074
+ GLAPI void APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
8075
+ GLAPI void APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
8076
+ GLAPI void APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
8077
+ GLAPI void APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
8078
+ GLAPI void APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8079
+ GLAPI void APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
8080
+ GLAPI void APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8081
+ GLAPI void APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
8082
+ GLAPI void APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
8083
+ GLAPI void APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8084
+ GLAPI void APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
8085
+ GLAPI void APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8086
+ GLAPI void APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
8087
+ GLAPI void APIENTRY glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
8088
+ GLAPI void APIENTRY glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
8089
+ #endif
8090
+ #endif /* GL_EXT_memory_object */
8091
+
8092
+ #ifndef GL_EXT_memory_object_fd
8093
+ #define GL_EXT_memory_object_fd 1
8094
+ #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
8095
+ typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
8096
+ #ifdef GL_GLEXT_PROTOTYPES
8097
+ GLAPI void APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
8098
+ #endif
8099
+ #endif /* GL_EXT_memory_object_fd */
8100
+
8101
+ #ifndef GL_EXT_memory_object_win32
8102
+ #define GL_EXT_memory_object_win32 1
8103
+ #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
8104
+ #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
8105
+ #define GL_DEVICE_LUID_EXT 0x9599
8106
+ #define GL_DEVICE_NODE_MASK_EXT 0x959A
8107
+ #define GL_LUID_SIZE_EXT 8
8108
+ #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
8109
+ #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
8110
+ #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
8111
+ #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
8112
+ typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
8113
+ typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
8114
+ #ifdef GL_GLEXT_PROTOTYPES
8115
+ GLAPI void APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
8116
+ GLAPI void APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
8117
+ #endif
8118
+ #endif /* GL_EXT_memory_object_win32 */
8119
+
6980
8120
  #ifndef GL_EXT_misc_attribute
6981
8121
  #define GL_EXT_misc_attribute 1
6982
8122
  #endif /* GL_EXT_misc_attribute */
@@ -7018,6 +8158,18 @@ GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
7018
8158
  #endif
7019
8159
  #endif /* GL_EXT_multisample */
7020
8160
 
8161
+ #ifndef GL_EXT_multiview_tessellation_geometry_shader
8162
+ #define GL_EXT_multiview_tessellation_geometry_shader 1
8163
+ #endif /* GL_EXT_multiview_tessellation_geometry_shader */
8164
+
8165
+ #ifndef GL_EXT_multiview_texture_multisample
8166
+ #define GL_EXT_multiview_texture_multisample 1
8167
+ #endif /* GL_EXT_multiview_texture_multisample */
8168
+
8169
+ #ifndef GL_EXT_multiview_timer_query
8170
+ #define GL_EXT_multiview_timer_query 1
8171
+ #endif /* GL_EXT_multiview_timer_query */
8172
+
7021
8173
  #ifndef GL_EXT_packed_depth_stencil
7022
8174
  #define GL_EXT_packed_depth_stencil 1
7023
8175
  #define GL_DEPTH_STENCIL_EXT 0x84F9
@@ -7127,6 +8279,19 @@ GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
7127
8279
  #endif
7128
8280
  #endif /* GL_EXT_polygon_offset */
7129
8281
 
8282
+ #ifndef GL_EXT_polygon_offset_clamp
8283
+ #define GL_EXT_polygon_offset_clamp 1
8284
+ #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
8285
+ typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
8286
+ #ifdef GL_GLEXT_PROTOTYPES
8287
+ GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
8288
+ #endif
8289
+ #endif /* GL_EXT_polygon_offset_clamp */
8290
+
8291
+ #ifndef GL_EXT_post_depth_coverage
8292
+ #define GL_EXT_post_depth_coverage 1
8293
+ #endif /* GL_EXT_post_depth_coverage */
8294
+
7130
8295
  #ifndef GL_EXT_provoking_vertex
7131
8296
  #define GL_EXT_provoking_vertex 1
7132
8297
  #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
@@ -7139,6 +8304,20 @@ GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
7139
8304
  #endif
7140
8305
  #endif /* GL_EXT_provoking_vertex */
7141
8306
 
8307
+ #ifndef GL_EXT_raster_multisample
8308
+ #define GL_EXT_raster_multisample 1
8309
+ #define GL_RASTER_MULTISAMPLE_EXT 0x9327
8310
+ #define GL_RASTER_SAMPLES_EXT 0x9328
8311
+ #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
8312
+ #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
8313
+ #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
8314
+ #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
8315
+ typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
8316
+ #ifdef GL_GLEXT_PROTOTYPES
8317
+ GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
8318
+ #endif
8319
+ #endif /* GL_EXT_raster_multisample */
8320
+
7142
8321
  #ifndef GL_EXT_rescale_normal
7143
8322
  #define GL_EXT_rescale_normal 1
7144
8323
  #define GL_RESCALE_NORMAL_EXT 0x803A
@@ -7191,6 +8370,55 @@ GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei
7191
8370
  #endif
7192
8371
  #endif /* GL_EXT_secondary_color */
7193
8372
 
8373
+ #ifndef GL_EXT_semaphore
8374
+ #define GL_EXT_semaphore 1
8375
+ #define GL_LAYOUT_GENERAL_EXT 0x958D
8376
+ #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
8377
+ #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
8378
+ #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
8379
+ #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
8380
+ #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
8381
+ #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
8382
+ #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
8383
+ #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
8384
+ typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
8385
+ typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
8386
+ typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
8387
+ typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
8388
+ typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
8389
+ typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
8390
+ typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
8391
+ #ifdef GL_GLEXT_PROTOTYPES
8392
+ GLAPI void APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
8393
+ GLAPI void APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
8394
+ GLAPI GLboolean APIENTRY glIsSemaphoreEXT (GLuint semaphore);
8395
+ GLAPI void APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
8396
+ GLAPI void APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
8397
+ GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
8398
+ GLAPI void APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
8399
+ #endif
8400
+ #endif /* GL_EXT_semaphore */
8401
+
8402
+ #ifndef GL_EXT_semaphore_fd
8403
+ #define GL_EXT_semaphore_fd 1
8404
+ typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
8405
+ #ifdef GL_GLEXT_PROTOTYPES
8406
+ GLAPI void APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
8407
+ #endif
8408
+ #endif /* GL_EXT_semaphore_fd */
8409
+
8410
+ #ifndef GL_EXT_semaphore_win32
8411
+ #define GL_EXT_semaphore_win32 1
8412
+ #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
8413
+ #define GL_D3D12_FENCE_VALUE_EXT 0x9595
8414
+ typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
8415
+ typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
8416
+ #ifdef GL_GLEXT_PROTOTYPES
8417
+ GLAPI void APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
8418
+ GLAPI void APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
8419
+ #endif
8420
+ #endif /* GL_EXT_semaphore_win32 */
8421
+
7194
8422
  #ifndef GL_EXT_separate_shader_objects
7195
8423
  #define GL_EXT_separate_shader_objects 1
7196
8424
  #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
@@ -7211,6 +8439,19 @@ GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *strin
7211
8439
  #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
7212
8440
  #endif /* GL_EXT_separate_specular_color */
7213
8441
 
8442
+ #ifndef GL_EXT_shader_framebuffer_fetch
8443
+ #define GL_EXT_shader_framebuffer_fetch 1
8444
+ #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
8445
+ #endif /* GL_EXT_shader_framebuffer_fetch */
8446
+
8447
+ #ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
8448
+ #define GL_EXT_shader_framebuffer_fetch_non_coherent 1
8449
+ typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
8450
+ #ifdef GL_GLEXT_PROTOTYPES
8451
+ GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
8452
+ #endif
8453
+ #endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
8454
+
7214
8455
  #ifndef GL_EXT_shader_image_load_formatted
7215
8456
  #define GL_EXT_shader_image_load_formatted 1
7216
8457
  #endif /* GL_EXT_shader_image_load_formatted */
@@ -7284,6 +8525,10 @@ GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
7284
8525
  #define GL_EXT_shader_integer_mix 1
7285
8526
  #endif /* GL_EXT_shader_integer_mix */
7286
8527
 
8528
+ #ifndef GL_EXT_shader_samples_identical
8529
+ #define GL_EXT_shader_samples_identical 1
8530
+ #endif /* GL_EXT_shader_samples_identical */
8531
+
7287
8532
  #ifndef GL_EXT_shadow_funcs
7288
8533
  #define GL_EXT_shadow_funcs 1
7289
8534
  #endif /* GL_EXT_shadow_funcs */
@@ -7293,6 +8538,10 @@ GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
7293
8538
  #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
7294
8539
  #endif /* GL_EXT_shared_texture_palette */
7295
8540
 
8541
+ #ifndef GL_EXT_sparse_texture2
8542
+ #define GL_EXT_sparse_texture2 1
8543
+ #endif /* GL_EXT_sparse_texture2 */
8544
+
7296
8545
  #ifndef GL_EXT_stencil_clear_tag
7297
8546
  #define GL_EXT_stencil_clear_tag 1
7298
8547
  #define GL_STENCIL_TAG_BITS_EXT 0x88F2
@@ -7405,6 +8654,10 @@ GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffse
7405
8654
  #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
7406
8655
  #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
7407
8656
  #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
8657
+ typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8658
+ #ifdef GL_GLEXT_PROTOTYPES
8659
+ GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8660
+ #endif
7408
8661
  #endif /* GL_EXT_texture_array */
7409
8662
 
7410
8663
  #ifndef GL_EXT_texture_buffer_object
@@ -7501,6 +8754,12 @@ GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint
7501
8754
  #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
7502
8755
  #endif /* GL_EXT_texture_filter_anisotropic */
7503
8756
 
8757
+ #ifndef GL_EXT_texture_filter_minmax
8758
+ #define GL_EXT_texture_filter_minmax 1
8759
+ #define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
8760
+ #define GL_WEIGHTED_AVERAGE_EXT 0x9367
8761
+ #endif /* GL_EXT_texture_filter_minmax */
8762
+
7504
8763
  #ifndef GL_EXT_texture_integer
7505
8764
  #define GL_EXT_texture_integer 1
7506
8765
  #define GL_RGBA32UI_EXT 0x8D70
@@ -7633,6 +8892,16 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
7633
8892
  #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
7634
8893
  #endif /* GL_EXT_texture_sRGB */
7635
8894
 
8895
+ #ifndef GL_EXT_texture_sRGB_R8
8896
+ #define GL_EXT_texture_sRGB_R8 1
8897
+ #define GL_SR8_EXT 0x8FBD
8898
+ #endif /* GL_EXT_texture_sRGB_R8 */
8899
+
8900
+ #ifndef GL_EXT_texture_sRGB_RG8
8901
+ #define GL_EXT_texture_sRGB_RG8 1
8902
+ #define GL_SRG8_EXT 0x8FBE
8903
+ #endif /* GL_EXT_texture_sRGB_RG8 */
8904
+
7636
8905
  #ifndef GL_EXT_texture_sRGB_decode
7637
8906
  #define GL_EXT_texture_sRGB_decode 1
7638
8907
  #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
@@ -7640,6 +8909,10 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
7640
8909
  #define GL_SKIP_DECODE_EXT 0x8A4A
7641
8910
  #endif /* GL_EXT_texture_sRGB_decode */
7642
8911
 
8912
+ #ifndef GL_EXT_texture_shadow_lod
8913
+ #define GL_EXT_texture_shadow_lod 1
8914
+ #endif /* GL_EXT_texture_shadow_lod */
8915
+
7643
8916
  #ifndef GL_EXT_texture_shared_exponent
7644
8917
  #define GL_EXT_texture_shared_exponent 1
7645
8918
  #define GL_RGB9_E5_EXT 0x8C3D
@@ -7667,6 +8940,36 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
7667
8940
  #define GL_RGBA_SNORM 0x8F93
7668
8941
  #endif /* GL_EXT_texture_snorm */
7669
8942
 
8943
+ #ifndef GL_EXT_texture_storage
8944
+ #define GL_EXT_texture_storage 1
8945
+ #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
8946
+ #define GL_RGBA32F_EXT 0x8814
8947
+ #define GL_RGB32F_EXT 0x8815
8948
+ #define GL_ALPHA32F_EXT 0x8816
8949
+ #define GL_LUMINANCE32F_EXT 0x8818
8950
+ #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
8951
+ #define GL_RGBA16F_EXT 0x881A
8952
+ #define GL_RGB16F_EXT 0x881B
8953
+ #define GL_ALPHA16F_EXT 0x881C
8954
+ #define GL_LUMINANCE16F_EXT 0x881E
8955
+ #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
8956
+ #define GL_BGRA8_EXT 0x93A1
8957
+ #define GL_R8_EXT 0x8229
8958
+ #define GL_RG8_EXT 0x822B
8959
+ #define GL_R32F_EXT 0x822E
8960
+ #define GL_RG32F_EXT 0x8230
8961
+ #define GL_R16F_EXT 0x822D
8962
+ #define GL_RG16F_EXT 0x822F
8963
+ typedef void (APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8964
+ typedef void (APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8965
+ typedef void (APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8966
+ #ifdef GL_GLEXT_PROTOTYPES
8967
+ GLAPI void APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8968
+ GLAPI void APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8969
+ GLAPI void APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8970
+ #endif
8971
+ #endif /* GL_EXT_texture_storage */
8972
+
7670
8973
  #ifndef GL_EXT_texture_swizzle
7671
8974
  #define GL_EXT_texture_swizzle 1
7672
8975
  #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
@@ -8045,6 +9348,30 @@ GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei s
8045
9348
  #endif
8046
9349
  #endif /* GL_EXT_vertex_weighting */
8047
9350
 
9351
+ #ifndef GL_EXT_win32_keyed_mutex
9352
+ #define GL_EXT_win32_keyed_mutex 1
9353
+ typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
9354
+ typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
9355
+ #ifdef GL_GLEXT_PROTOTYPES
9356
+ GLAPI GLboolean APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
9357
+ GLAPI GLboolean APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
9358
+ #endif
9359
+ #endif /* GL_EXT_win32_keyed_mutex */
9360
+
9361
+ #ifndef GL_EXT_window_rectangles
9362
+ #define GL_EXT_window_rectangles 1
9363
+ #define GL_INCLUSIVE_EXT 0x8F10
9364
+ #define GL_EXCLUSIVE_EXT 0x8F11
9365
+ #define GL_WINDOW_RECTANGLE_EXT 0x8F12
9366
+ #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
9367
+ #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
9368
+ #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
9369
+ typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
9370
+ #ifdef GL_GLEXT_PROTOTYPES
9371
+ GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
9372
+ #endif
9373
+ #endif /* GL_EXT_window_rectangles */
9374
+
8048
9375
  #ifndef GL_EXT_x11_sync_object
8049
9376
  #define GL_EXT_x11_sync_object 1
8050
9377
  #define GL_SYNC_X11_FENCE_EXT 0x90E1
@@ -8222,10 +9549,28 @@ GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRG
8222
9549
  #define GL_INTERLACE_READ_INGR 0x8568
8223
9550
  #endif /* GL_INGR_interlace_read */
8224
9551
 
9552
+ #ifndef GL_INTEL_blackhole_render
9553
+ #define GL_INTEL_blackhole_render 1
9554
+ #define GL_BLACKHOLE_RENDER_INTEL 0x83FC
9555
+ #endif /* GL_INTEL_blackhole_render */
9556
+
9557
+ #ifndef GL_INTEL_conservative_rasterization
9558
+ #define GL_INTEL_conservative_rasterization 1
9559
+ #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
9560
+ #endif /* GL_INTEL_conservative_rasterization */
9561
+
8225
9562
  #ifndef GL_INTEL_fragment_shader_ordering
8226
9563
  #define GL_INTEL_fragment_shader_ordering 1
8227
9564
  #endif /* GL_INTEL_fragment_shader_ordering */
8228
9565
 
9566
+ #ifndef GL_INTEL_framebuffer_CMAA
9567
+ #define GL_INTEL_framebuffer_CMAA 1
9568
+ typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
9569
+ #ifdef GL_GLEXT_PROTOTYPES
9570
+ GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
9571
+ #endif
9572
+ #endif /* GL_INTEL_framebuffer_CMAA */
9573
+
8229
9574
  #ifndef GL_INTEL_map_texture
8230
9575
  #define GL_INTEL_map_texture 1
8231
9576
  #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
@@ -8290,7 +9635,7 @@ typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
8290
9635
  typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
8291
9636
  typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
8292
9637
  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);
8293
- typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
9638
+ typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
8294
9639
  typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
8295
9640
  typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8296
9641
  #ifdef GL_GLEXT_PROTOTYPES
@@ -8301,7 +9646,7 @@ GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
8301
9646
  GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
8302
9647
  GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
8303
9648
  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);
8304
- GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
9649
+ GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
8305
9650
  GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
8306
9651
  GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8307
9652
  #endif
@@ -8317,11 +9662,37 @@ GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLen
8317
9662
  #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
8318
9663
  #endif /* GL_MESAX_texture_stack */
8319
9664
 
9665
+ #ifndef GL_MESA_framebuffer_flip_x
9666
+ #define GL_MESA_framebuffer_flip_x 1
9667
+ #define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
9668
+ #endif /* GL_MESA_framebuffer_flip_x */
9669
+
9670
+ #ifndef GL_MESA_framebuffer_flip_y
9671
+ #define GL_MESA_framebuffer_flip_y 1
9672
+ #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
9673
+ typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param);
9674
+ typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params);
9675
+ #ifdef GL_GLEXT_PROTOTYPES
9676
+ GLAPI void APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param);
9677
+ GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params);
9678
+ #endif
9679
+ #endif /* GL_MESA_framebuffer_flip_y */
9680
+
9681
+ #ifndef GL_MESA_framebuffer_swap_xy
9682
+ #define GL_MESA_framebuffer_swap_xy 1
9683
+ #define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
9684
+ #endif /* GL_MESA_framebuffer_swap_xy */
9685
+
8320
9686
  #ifndef GL_MESA_pack_invert
8321
9687
  #define GL_MESA_pack_invert 1
8322
9688
  #define GL_PACK_INVERT_MESA 0x8758
8323
9689
  #endif /* GL_MESA_pack_invert */
8324
9690
 
9691
+ #ifndef GL_MESA_program_binary_formats
9692
+ #define GL_MESA_program_binary_formats 1
9693
+ #define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
9694
+ #endif /* GL_MESA_program_binary_formats */
9695
+
8325
9696
  #ifndef GL_MESA_resize_buffers
8326
9697
  #define GL_MESA_resize_buffers 1
8327
9698
  typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
@@ -8330,6 +9701,17 @@ GLAPI void APIENTRY glResizeBuffersMESA (void);
8330
9701
  #endif
8331
9702
  #endif /* GL_MESA_resize_buffers */
8332
9703
 
9704
+ #ifndef GL_MESA_shader_integer_functions
9705
+ #define GL_MESA_shader_integer_functions 1
9706
+ #endif /* GL_MESA_shader_integer_functions */
9707
+
9708
+ #ifndef GL_MESA_tile_raster_order
9709
+ #define GL_MESA_tile_raster_order 1
9710
+ #define GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8
9711
+ #define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9
9712
+ #define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA
9713
+ #endif /* GL_MESA_tile_raster_order */
9714
+
8333
9715
  #ifndef GL_MESA_window_pos
8334
9716
  #define GL_MESA_window_pos 1
8335
9717
  typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
@@ -8391,6 +9773,10 @@ GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
8391
9773
  #define GL_YCBCR_MESA 0x8757
8392
9774
  #endif /* GL_MESA_ycbcr_texture */
8393
9775
 
9776
+ #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
9777
+ #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
9778
+ #endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
9779
+
8394
9780
  #ifndef GL_NVX_conditional_render
8395
9781
  #define GL_NVX_conditional_render 1
8396
9782
  typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
@@ -8410,6 +9796,65 @@ GLAPI void APIENTRY glEndConditionalRenderNVX (void);
8410
9796
  #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
8411
9797
  #endif /* GL_NVX_gpu_memory_info */
8412
9798
 
9799
+ #ifndef GL_NVX_gpu_multicast2
9800
+ #define GL_NVX_gpu_multicast2 1
9801
+ #define GL_UPLOAD_GPU_MASK_NVX 0x954A
9802
+ typedef void (APIENTRYP PFNGLUPLOADGPUMASKNVXPROC) (GLbitfield mask);
9803
+ typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
9804
+ typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC) (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9805
+ typedef void (APIENTRYP PFNGLMULTICASTSCISSORARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
9806
+ 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);
9807
+ 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);
9808
+ #ifdef GL_GLEXT_PROTOTYPES
9809
+ GLAPI void APIENTRY glUploadGpuMaskNVX (GLbitfield mask);
9810
+ GLAPI void APIENTRY glMulticastViewportArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
9811
+ GLAPI void APIENTRY glMulticastViewportPositionWScaleNVX (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9812
+ GLAPI void APIENTRY glMulticastScissorArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
9813
+ 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);
9814
+ 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);
9815
+ #endif
9816
+ #endif /* GL_NVX_gpu_multicast2 */
9817
+
9818
+ #ifndef GL_NVX_linked_gpu_multicast
9819
+ #define GL_NVX_linked_gpu_multicast 1
9820
+ #define GL_LGPU_SEPARATE_STORAGE_BIT_NVX 0x0800
9821
+ #define GL_MAX_LGPU_GPUS_NVX 0x92BA
9822
+ typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
9823
+ 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);
9824
+ typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) (void);
9825
+ #ifdef GL_GLEXT_PROTOTYPES
9826
+ GLAPI void APIENTRY glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
9827
+ 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);
9828
+ GLAPI void APIENTRY glLGPUInterlockNVX (void);
9829
+ #endif
9830
+ #endif /* GL_NVX_linked_gpu_multicast */
9831
+
9832
+ #ifndef GL_NVX_progress_fence
9833
+ #define GL_NVX_progress_fence 1
9834
+ typedef GLuint (APIENTRYP PFNGLCREATEPROGRESSFENCENVXPROC) (void);
9835
+ typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREUI64NVXPROC) (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9836
+ typedef void (APIENTRYP PFNGLWAITSEMAPHOREUI64NVXPROC) (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9837
+ typedef void (APIENTRYP PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC) (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9838
+ #ifdef GL_GLEXT_PROTOTYPES
9839
+ GLAPI GLuint APIENTRY glCreateProgressFenceNVX (void);
9840
+ GLAPI void APIENTRY glSignalSemaphoreui64NVX (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9841
+ GLAPI void APIENTRY glWaitSemaphoreui64NVX (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9842
+ GLAPI void APIENTRY glClientWaitSemaphoreui64NVX (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9843
+ #endif
9844
+ #endif /* GL_NVX_progress_fence */
9845
+
9846
+ #ifndef GL_NV_alpha_to_coverage_dither_control
9847
+ #define GL_NV_alpha_to_coverage_dither_control 1
9848
+ #define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D
9849
+ #define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E
9850
+ #define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F
9851
+ #define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF
9852
+ typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) (GLenum mode);
9853
+ #ifdef GL_GLEXT_PROTOTYPES
9854
+ GLAPI void APIENTRY glAlphaToCoverageDitherControlNV (GLenum mode);
9855
+ #endif
9856
+ #endif /* GL_NV_alpha_to_coverage_dither_control */
9857
+
8413
9858
  #ifndef GL_NV_bindless_multi_draw_indirect
8414
9859
  #define GL_NV_bindless_multi_draw_indirect 1
8415
9860
  typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
@@ -8420,6 +9865,16 @@ GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum t
8420
9865
  #endif
8421
9866
  #endif /* GL_NV_bindless_multi_draw_indirect */
8422
9867
 
9868
+ #ifndef GL_NV_bindless_multi_draw_indirect_count
9869
+ #define GL_NV_bindless_multi_draw_indirect_count 1
9870
+ typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9871
+ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9872
+ #ifdef GL_GLEXT_PROTOTYPES
9873
+ GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9874
+ GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9875
+ #endif
9876
+ #endif /* GL_NV_bindless_multi_draw_indirect_count */
9877
+
8423
9878
  #ifndef GL_NV_bindless_texture
8424
9879
  #define GL_NV_bindless_texture 1
8425
9880
  typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
@@ -8516,16 +9971,94 @@ GLAPI void APIENTRY glBlendBarrierNV (void);
8516
9971
  #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
8517
9972
  #endif /* GL_NV_blend_equation_advanced_coherent */
8518
9973
 
9974
+ #ifndef GL_NV_blend_minmax_factor
9975
+ #define GL_NV_blend_minmax_factor 1
9976
+ #endif /* GL_NV_blend_minmax_factor */
9977
+
8519
9978
  #ifndef GL_NV_blend_square
8520
9979
  #define GL_NV_blend_square 1
8521
9980
  #endif /* GL_NV_blend_square */
8522
9981
 
9982
+ #ifndef GL_NV_clip_space_w_scaling
9983
+ #define GL_NV_clip_space_w_scaling 1
9984
+ #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
9985
+ #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
9986
+ #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
9987
+ typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9988
+ #ifdef GL_GLEXT_PROTOTYPES
9989
+ GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9990
+ #endif
9991
+ #endif /* GL_NV_clip_space_w_scaling */
9992
+
9993
+ #ifndef GL_NV_command_list
9994
+ #define GL_NV_command_list 1
9995
+ #define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000
9996
+ #define GL_NOP_COMMAND_NV 0x0001
9997
+ #define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002
9998
+ #define GL_DRAW_ARRAYS_COMMAND_NV 0x0003
9999
+ #define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004
10000
+ #define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005
10001
+ #define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006
10002
+ #define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007
10003
+ #define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008
10004
+ #define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009
10005
+ #define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A
10006
+ #define GL_BLEND_COLOR_COMMAND_NV 0x000B
10007
+ #define GL_STENCIL_REF_COMMAND_NV 0x000C
10008
+ #define GL_LINE_WIDTH_COMMAND_NV 0x000D
10009
+ #define GL_POLYGON_OFFSET_COMMAND_NV 0x000E
10010
+ #define GL_ALPHA_REF_COMMAND_NV 0x000F
10011
+ #define GL_VIEWPORT_COMMAND_NV 0x0010
10012
+ #define GL_SCISSOR_COMMAND_NV 0x0011
10013
+ #define GL_FRONT_FACE_COMMAND_NV 0x0012
10014
+ typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states);
10015
+ typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states);
10016
+ typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state);
10017
+ typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode);
10018
+ typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
10019
+ typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype);
10020
+ typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
10021
+ typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
10022
+ typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10023
+ typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10024
+ typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists);
10025
+ typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists);
10026
+ typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list);
10027
+ typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10028
+ typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments);
10029
+ typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list);
10030
+ typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list);
10031
+ #ifdef GL_GLEXT_PROTOTYPES
10032
+ GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states);
10033
+ GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states);
10034
+ GLAPI GLboolean APIENTRY glIsStateNV (GLuint state);
10035
+ GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode);
10036
+ GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
10037
+ GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype);
10038
+ GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
10039
+ GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
10040
+ GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10041
+ GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10042
+ GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists);
10043
+ GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists);
10044
+ GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list);
10045
+ GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10046
+ GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments);
10047
+ GLAPI void APIENTRY glCompileCommandListNV (GLuint list);
10048
+ GLAPI void APIENTRY glCallCommandListNV (GLuint list);
10049
+ #endif
10050
+ #endif /* GL_NV_command_list */
10051
+
8523
10052
  #ifndef GL_NV_compute_program5
8524
10053
  #define GL_NV_compute_program5 1
8525
10054
  #define GL_COMPUTE_PROGRAM_NV 0x90FB
8526
10055
  #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
8527
10056
  #endif /* GL_NV_compute_program5 */
8528
10057
 
10058
+ #ifndef GL_NV_compute_shader_derivatives
10059
+ #define GL_NV_compute_shader_derivatives 1
10060
+ #endif /* GL_NV_compute_shader_derivatives */
10061
+
8529
10062
  #ifndef GL_NV_conditional_render
8530
10063
  #define GL_NV_conditional_render 1
8531
10064
  #define GL_QUERY_WAIT_NV 0x8E13
@@ -8540,6 +10073,49 @@ GLAPI void APIENTRY glEndConditionalRenderNV (void);
8540
10073
  #endif
8541
10074
  #endif /* GL_NV_conditional_render */
8542
10075
 
10076
+ #ifndef GL_NV_conservative_raster
10077
+ #define GL_NV_conservative_raster 1
10078
+ #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
10079
+ #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
10080
+ #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
10081
+ #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
10082
+ typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
10083
+ #ifdef GL_GLEXT_PROTOTYPES
10084
+ GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
10085
+ #endif
10086
+ #endif /* GL_NV_conservative_raster */
10087
+
10088
+ #ifndef GL_NV_conservative_raster_dilate
10089
+ #define GL_NV_conservative_raster_dilate 1
10090
+ #define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379
10091
+ #define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A
10092
+ #define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B
10093
+ typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value);
10094
+ #ifdef GL_GLEXT_PROTOTYPES
10095
+ GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value);
10096
+ #endif
10097
+ #endif /* GL_NV_conservative_raster_dilate */
10098
+
10099
+ #ifndef GL_NV_conservative_raster_pre_snap
10100
+ #define GL_NV_conservative_raster_pre_snap 1
10101
+ #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
10102
+ #endif /* GL_NV_conservative_raster_pre_snap */
10103
+
10104
+ #ifndef GL_NV_conservative_raster_pre_snap_triangles
10105
+ #define GL_NV_conservative_raster_pre_snap_triangles 1
10106
+ #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
10107
+ #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
10108
+ #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
10109
+ typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
10110
+ #ifdef GL_GLEXT_PROTOTYPES
10111
+ GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
10112
+ #endif
10113
+ #endif /* GL_NV_conservative_raster_pre_snap_triangles */
10114
+
10115
+ #ifndef GL_NV_conservative_raster_underestimation
10116
+ #define GL_NV_conservative_raster_underestimation 1
10117
+ #endif /* GL_NV_conservative_raster_underestimation */
10118
+
8543
10119
  #ifndef GL_NV_copy_depth_to_color
8544
10120
  #define GL_NV_copy_depth_to_color 1
8545
10121
  #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
@@ -8589,6 +10165,23 @@ GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0,
8589
10165
  #endif
8590
10166
  #endif /* GL_NV_draw_texture */
8591
10167
 
10168
+ #ifndef GL_NV_draw_vulkan_image
10169
+ #define GL_NV_draw_vulkan_image 1
10170
+ typedef void (APIENTRY *GLVULKANPROCNV)(void);
10171
+ 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);
10172
+ typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
10173
+ typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
10174
+ typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
10175
+ typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
10176
+ #ifdef GL_GLEXT_PROTOTYPES
10177
+ 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);
10178
+ GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name);
10179
+ GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
10180
+ GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
10181
+ GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
10182
+ #endif
10183
+ #endif /* GL_NV_draw_vulkan_image */
10184
+
8592
10185
  #ifndef GL_NV_evaluators
8593
10186
  #define GL_NV_evaluators 1
8594
10187
  #define GL_EVAL_2D_NV 0x86C0
@@ -8682,6 +10275,11 @@ GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
8682
10275
  #endif
8683
10276
  #endif /* GL_NV_fence */
8684
10277
 
10278
+ #ifndef GL_NV_fill_rectangle
10279
+ #define GL_NV_fill_rectangle 1
10280
+ #define GL_FILL_RECTANGLE_NV 0x933C
10281
+ #endif /* GL_NV_fill_rectangle */
10282
+
8685
10283
  #ifndef GL_NV_float_buffer
8686
10284
  #define GL_NV_float_buffer 1
8687
10285
  #define GL_FLOAT_R_NV 0x8880
@@ -8708,6 +10306,16 @@ GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
8708
10306
  #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
8709
10307
  #endif /* GL_NV_fog_distance */
8710
10308
 
10309
+ #ifndef GL_NV_fragment_coverage_to_color
10310
+ #define GL_NV_fragment_coverage_to_color 1
10311
+ #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
10312
+ #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
10313
+ typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
10314
+ #ifdef GL_GLEXT_PROTOTYPES
10315
+ GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);
10316
+ #endif
10317
+ #endif /* GL_NV_fragment_coverage_to_color */
10318
+
8711
10319
  #ifndef GL_NV_fragment_program
8712
10320
  #define GL_NV_fragment_program 1
8713
10321
  #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
@@ -8749,6 +10357,34 @@ GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, cons
8749
10357
  #define GL_NV_fragment_program_option 1
8750
10358
  #endif /* GL_NV_fragment_program_option */
8751
10359
 
10360
+ #ifndef GL_NV_fragment_shader_barycentric
10361
+ #define GL_NV_fragment_shader_barycentric 1
10362
+ #endif /* GL_NV_fragment_shader_barycentric */
10363
+
10364
+ #ifndef GL_NV_fragment_shader_interlock
10365
+ #define GL_NV_fragment_shader_interlock 1
10366
+ #endif /* GL_NV_fragment_shader_interlock */
10367
+
10368
+ #ifndef GL_NV_framebuffer_mixed_samples
10369
+ #define GL_NV_framebuffer_mixed_samples 1
10370
+ #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
10371
+ #define GL_COLOR_SAMPLES_NV 0x8E20
10372
+ #define GL_DEPTH_SAMPLES_NV 0x932D
10373
+ #define GL_STENCIL_SAMPLES_NV 0x932E
10374
+ #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
10375
+ #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
10376
+ #define GL_COVERAGE_MODULATION_NV 0x9332
10377
+ #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
10378
+ typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
10379
+ typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v);
10380
+ typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
10381
+ #ifdef GL_GLEXT_PROTOTYPES
10382
+ GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
10383
+ GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v);
10384
+ GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
10385
+ #endif
10386
+ #endif /* GL_NV_framebuffer_mixed_samples */
10387
+
8752
10388
  #ifndef GL_NV_framebuffer_multisample_coverage
8753
10389
  #define GL_NV_framebuffer_multisample_coverage 1
8754
10390
  #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
@@ -8768,12 +10404,10 @@ GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, G
8768
10404
  #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
8769
10405
  typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
8770
10406
  typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
8771
- typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8772
10407
  typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
8773
10408
  #ifdef GL_GLEXT_PROTOTYPES
8774
10409
  GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
8775
10410
  GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
8776
- GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8777
10411
  GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
8778
10412
  #endif
8779
10413
  #endif /* GL_NV_geometry_program4 */
@@ -8782,6 +10416,45 @@ GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachmen
8782
10416
  #define GL_NV_geometry_shader4 1
8783
10417
  #endif /* GL_NV_geometry_shader4 */
8784
10418
 
10419
+ #ifndef GL_NV_geometry_shader_passthrough
10420
+ #define GL_NV_geometry_shader_passthrough 1
10421
+ #endif /* GL_NV_geometry_shader_passthrough */
10422
+
10423
+ #ifndef GL_NV_gpu_multicast
10424
+ #define GL_NV_gpu_multicast 1
10425
+ #define GL_PER_GPU_STORAGE_BIT_NV 0x0800
10426
+ #define GL_MULTICAST_GPUS_NV 0x92BA
10427
+ #define GL_RENDER_GPU_MASK_NV 0x9558
10428
+ #define GL_PER_GPU_STORAGE_NV 0x9548
10429
+ #define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549
10430
+ typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask);
10431
+ typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
10432
+ typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10433
+ 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);
10434
+ 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);
10435
+ typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
10436
+ typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) (void);
10437
+ typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask);
10438
+ typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint *params);
10439
+ typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
10440
+ typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
10441
+ typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
10442
+ #ifdef GL_GLEXT_PROTOTYPES
10443
+ GLAPI void APIENTRY glRenderGpuMaskNV (GLbitfield mask);
10444
+ GLAPI void APIENTRY glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
10445
+ GLAPI void APIENTRY glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10446
+ 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);
10447
+ 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);
10448
+ GLAPI void APIENTRY glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
10449
+ GLAPI void APIENTRY glMulticastBarrierNV (void);
10450
+ GLAPI void APIENTRY glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask);
10451
+ GLAPI void APIENTRY glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params);
10452
+ GLAPI void APIENTRY glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
10453
+ GLAPI void APIENTRY glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
10454
+ GLAPI void APIENTRY glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
10455
+ #endif
10456
+ #endif /* GL_NV_gpu_multicast */
10457
+
8785
10458
  #ifndef GL_NV_gpu_program4
8786
10459
  #define GL_NV_gpu_program4 1
8787
10460
  #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
@@ -8954,15 +10627,130 @@ GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfN
8954
10627
  #endif
8955
10628
  #endif /* GL_NV_half_float */
8956
10629
 
10630
+ #ifndef GL_NV_internalformat_sample_query
10631
+ #define GL_NV_internalformat_sample_query 1
10632
+ #define GL_MULTISAMPLES_NV 0x9371
10633
+ #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
10634
+ #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
10635
+ #define GL_CONFORMANT_NV 0x9374
10636
+ typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
10637
+ #ifdef GL_GLEXT_PROTOTYPES
10638
+ GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
10639
+ #endif
10640
+ #endif /* GL_NV_internalformat_sample_query */
10641
+
8957
10642
  #ifndef GL_NV_light_max_exponent
8958
10643
  #define GL_NV_light_max_exponent 1
8959
10644
  #define GL_MAX_SHININESS_NV 0x8504
8960
10645
  #define GL_MAX_SPOT_EXPONENT_NV 0x8505
8961
10646
  #endif /* GL_NV_light_max_exponent */
8962
10647
 
10648
+ #ifndef GL_NV_memory_attachment
10649
+ #define GL_NV_memory_attachment 1
10650
+ #define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
10651
+ #define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
10652
+ #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
10653
+ #define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
10654
+ #define GL_MEMORY_ATTACHABLE_NV 0x95A8
10655
+ #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
10656
+ #define GL_DETACHED_TEXTURES_NV 0x95AA
10657
+ #define GL_DETACHED_BUFFERS_NV 0x95AB
10658
+ #define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
10659
+ #define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
10660
+ typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
10661
+ typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
10662
+ typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
10663
+ typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
10664
+ typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
10665
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
10666
+ #ifdef GL_GLEXT_PROTOTYPES
10667
+ GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
10668
+ GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
10669
+ GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
10670
+ GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
10671
+ GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
10672
+ GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
10673
+ #endif
10674
+ #endif /* GL_NV_memory_attachment */
10675
+
10676
+ #ifndef GL_NV_memory_object_sparse
10677
+ #define GL_NV_memory_object_sparse 1
10678
+ typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10679
+ 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);
10680
+ typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10681
+ 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);
10682
+ #ifdef GL_GLEXT_PROTOTYPES
10683
+ GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10684
+ 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);
10685
+ GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10686
+ 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);
10687
+ #endif
10688
+ #endif /* GL_NV_memory_object_sparse */
10689
+
10690
+ #ifndef GL_NV_mesh_shader
10691
+ #define GL_NV_mesh_shader 1
10692
+ #define GL_MESH_SHADER_NV 0x9559
10693
+ #define GL_TASK_SHADER_NV 0x955A
10694
+ #define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
10695
+ #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
10696
+ #define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
10697
+ #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
10698
+ #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
10699
+ #define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
10700
+ #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
10701
+ #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
10702
+ #define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
10703
+ #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
10704
+ #define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
10705
+ #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
10706
+ #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
10707
+ #define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
10708
+ #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
10709
+ #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
10710
+ #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
10711
+ #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
10712
+ #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
10713
+ #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
10714
+ #define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
10715
+ #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
10716
+ #define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
10717
+ #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
10718
+ #define GL_MAX_MESH_VIEWS_NV 0x9557
10719
+ #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
10720
+ #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
10721
+ #define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
10722
+ #define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
10723
+ #define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
10724
+ #define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
10725
+ #define GL_MESH_VERTICES_OUT_NV 0x9579
10726
+ #define GL_MESH_PRIMITIVES_OUT_NV 0x957A
10727
+ #define GL_MESH_OUTPUT_TYPE_NV 0x957B
10728
+ #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
10729
+ #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
10730
+ #define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
10731
+ #define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
10732
+ #define GL_MESH_SHADER_BIT_NV 0x00000040
10733
+ #define GL_TASK_SHADER_BIT_NV 0x00000080
10734
+ #define GL_MESH_SUBROUTINE_NV 0x957C
10735
+ #define GL_TASK_SUBROUTINE_NV 0x957D
10736
+ #define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
10737
+ #define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
10738
+ #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
10739
+ #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
10740
+ typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
10741
+ typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
10742
+ typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
10743
+ typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
10744
+ #ifdef GL_GLEXT_PROTOTYPES
10745
+ GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
10746
+ GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
10747
+ GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
10748
+ GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
10749
+ #endif
10750
+ #endif /* GL_NV_mesh_shader */
10751
+
8963
10752
  #ifndef GL_NV_multisample_coverage
8964
10753
  #define GL_NV_multisample_coverage 1
8965
- #define GL_COLOR_SAMPLES_NV 0x8E20
8966
10754
  #endif /* GL_NV_multisample_coverage */
8967
10755
 
8968
10756
  #ifndef GL_NV_multisample_filter_hint
@@ -9075,13 +10863,11 @@ GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindi
9075
10863
  #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
9076
10864
  #define GL_USE_MISSING_GLYPH_NV 0x90AA
9077
10865
  #define GL_PATH_ERROR_POSITION_NV 0x90AB
9078
- #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
9079
10866
  #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
9080
10867
  #define GL_ADJACENT_PAIRS_NV 0x90AE
9081
10868
  #define GL_FIRST_TO_REST_NV 0x90AF
9082
10869
  #define GL_PATH_GEN_MODE_NV 0x90B0
9083
10870
  #define GL_PATH_GEN_COEFF_NV 0x90B1
9084
- #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
9085
10871
  #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
9086
10872
  #define GL_PATH_STENCIL_FUNC_NV 0x90B7
9087
10873
  #define GL_PATH_STENCIL_REF_NV 0x90B8
@@ -9150,8 +10936,44 @@ GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindi
9150
10936
  #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
9151
10937
  #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
9152
10938
  #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
10939
+ #define GL_ROUNDED_RECT_NV 0xE8
10940
+ #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
10941
+ #define GL_ROUNDED_RECT2_NV 0xEA
10942
+ #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
10943
+ #define GL_ROUNDED_RECT4_NV 0xEC
10944
+ #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
10945
+ #define GL_ROUNDED_RECT8_NV 0xEE
10946
+ #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
10947
+ #define GL_RELATIVE_RECT_NV 0xF7
10948
+ #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
10949
+ #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
10950
+ #define GL_FONT_UNAVAILABLE_NV 0x936A
10951
+ #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
10952
+ #define GL_CONIC_CURVE_TO_NV 0x1A
10953
+ #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
10954
+ #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
10955
+ #define GL_STANDARD_FONT_FORMAT_NV 0x936C
10956
+ #define GL_2_BYTES_NV 0x1407
10957
+ #define GL_3_BYTES_NV 0x1408
10958
+ #define GL_4_BYTES_NV 0x1409
10959
+ #define GL_EYE_LINEAR_NV 0x2400
10960
+ #define GL_OBJECT_LINEAR_NV 0x2401
10961
+ #define GL_CONSTANT_NV 0x8576
10962
+ #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
9153
10963
  #define GL_PRIMARY_COLOR_NV 0x852C
9154
10964
  #define GL_SECONDARY_COLOR_NV 0x852D
10965
+ #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
10966
+ #define GL_PATH_PROJECTION_NV 0x1701
10967
+ #define GL_PATH_MODELVIEW_NV 0x1700
10968
+ #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
10969
+ #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
10970
+ #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
10971
+ #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
10972
+ #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
10973
+ #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
10974
+ #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
10975
+ #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
10976
+ #define GL_FRAGMENT_INPUT_NV 0x936D
9155
10977
  typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
9156
10978
  typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
9157
10979
  typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
@@ -9178,9 +11000,6 @@ typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint refere
9178
11000
  typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9179
11001
  typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9180
11002
  typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
9181
- typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9182
- typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9183
- typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
9184
11003
  typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
9185
11004
  typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
9186
11005
  typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
@@ -9193,14 +11012,32 @@ typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dash
9193
11012
  typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9194
11013
  typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9195
11014
  typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9196
- typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
9197
- typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
9198
- typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
9199
- typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
9200
11015
  typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9201
11016
  typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
9202
11017
  typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
9203
11018
  typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
11019
+ typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
11020
+ typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
11021
+ typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
11022
+ typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
11023
+ typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
11024
+ typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
11025
+ typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
11026
+ typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
11027
+ typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
11028
+ typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
11029
+ typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
11030
+ typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
11031
+ typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
11032
+ typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
11033
+ typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
11034
+ typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
11035
+ typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
11036
+ typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
11037
+ typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
11038
+ typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
11039
+ typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
11040
+ typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
9204
11041
  #ifdef GL_GLEXT_PROTOTYPES
9205
11042
  GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
9206
11043
  GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
@@ -9228,9 +11065,6 @@ GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint
9228
11065
  GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9229
11066
  GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9230
11067
  GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
9231
- GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9232
- GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9233
- GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
9234
11068
  GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
9235
11069
  GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
9236
11070
  GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
@@ -9243,17 +11077,40 @@ GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
9243
11077
  GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9244
11078
  GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9245
11079
  GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9246
- GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
9247
- GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
9248
- GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
9249
- GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
9250
11080
  GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9251
11081
  GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
9252
11082
  GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
9253
11083
  GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
11084
+ GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
11085
+ GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
11086
+ GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
11087
+ GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
11088
+ GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
11089
+ GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
11090
+ GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
11091
+ GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
11092
+ GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
11093
+ GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
11094
+ GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
11095
+ GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
11096
+ GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
11097
+ GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
11098
+ GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
11099
+ GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
11100
+ GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
11101
+ GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
11102
+ GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
11103
+ GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
11104
+ GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
11105
+ GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
9254
11106
  #endif
9255
11107
  #endif /* GL_NV_path_rendering */
9256
11108
 
11109
+ #ifndef GL_NV_path_rendering_shared_edge
11110
+ #define GL_NV_path_rendering_shared_edge 1
11111
+ #define GL_SHARED_EDGE_NV 0xC0
11112
+ #endif /* GL_NV_path_rendering_shared_edge */
11113
+
9257
11114
  #ifndef GL_NV_pixel_data_range
9258
11115
  #define GL_NV_pixel_data_range 1
9259
11116
  #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
@@ -9319,6 +11176,38 @@ GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
9319
11176
  #endif
9320
11177
  #endif /* GL_NV_primitive_restart */
9321
11178
 
11179
+ #ifndef GL_NV_primitive_shading_rate
11180
+ #define GL_NV_primitive_shading_rate 1
11181
+ #define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
11182
+ #define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
11183
+ #endif /* GL_NV_primitive_shading_rate */
11184
+
11185
+ #ifndef GL_NV_query_resource
11186
+ #define GL_NV_query_resource 1
11187
+ #define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540
11188
+ #define GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV 0x9542
11189
+ #define GL_QUERY_RESOURCE_SYS_RESERVED_NV 0x9544
11190
+ #define GL_QUERY_RESOURCE_TEXTURE_NV 0x9545
11191
+ #define GL_QUERY_RESOURCE_RENDERBUFFER_NV 0x9546
11192
+ #define GL_QUERY_RESOURCE_BUFFEROBJECT_NV 0x9547
11193
+ typedef GLint (APIENTRYP PFNGLQUERYRESOURCENVPROC) (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
11194
+ #ifdef GL_GLEXT_PROTOTYPES
11195
+ GLAPI GLint APIENTRY glQueryResourceNV (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
11196
+ #endif
11197
+ #endif /* GL_NV_query_resource */
11198
+
11199
+ #ifndef GL_NV_query_resource_tag
11200
+ #define GL_NV_query_resource_tag 1
11201
+ typedef void (APIENTRYP PFNGLGENQUERYRESOURCETAGNVPROC) (GLsizei n, GLint *tagIds);
11202
+ typedef void (APIENTRYP PFNGLDELETEQUERYRESOURCETAGNVPROC) (GLsizei n, const GLint *tagIds);
11203
+ typedef void (APIENTRYP PFNGLQUERYRESOURCETAGNVPROC) (GLint tagId, const GLchar *tagString);
11204
+ #ifdef GL_GLEXT_PROTOTYPES
11205
+ GLAPI void APIENTRY glGenQueryResourceTagNV (GLsizei n, GLint *tagIds);
11206
+ GLAPI void APIENTRY glDeleteQueryResourceTagNV (GLsizei n, const GLint *tagIds);
11207
+ GLAPI void APIENTRY glQueryResourceTagNV (GLint tagId, const GLchar *tagString);
11208
+ #endif
11209
+ #endif /* GL_NV_query_resource_tag */
11210
+
9322
11211
  #ifndef GL_NV_register_combiners
9323
11212
  #define GL_NV_register_combiners 1
9324
11213
  #define GL_REGISTER_COMBINERS_NV 0x8522
@@ -9411,6 +11300,52 @@ GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname,
9411
11300
  #endif
9412
11301
  #endif /* GL_NV_register_combiners2 */
9413
11302
 
11303
+ #ifndef GL_NV_representative_fragment_test
11304
+ #define GL_NV_representative_fragment_test 1
11305
+ #define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
11306
+ #endif /* GL_NV_representative_fragment_test */
11307
+
11308
+ #ifndef GL_NV_robustness_video_memory_purge
11309
+ #define GL_NV_robustness_video_memory_purge 1
11310
+ #define GL_PURGED_CONTEXT_RESET_NV 0x92BB
11311
+ #endif /* GL_NV_robustness_video_memory_purge */
11312
+
11313
+ #ifndef GL_NV_sample_locations
11314
+ #define GL_NV_sample_locations 1
11315
+ #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
11316
+ #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
11317
+ #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
11318
+ #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
11319
+ #define GL_SAMPLE_LOCATION_NV 0x8E50
11320
+ #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
11321
+ #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
11322
+ #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
11323
+ typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
11324
+ typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
11325
+ typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
11326
+ #ifdef GL_GLEXT_PROTOTYPES
11327
+ GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
11328
+ GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
11329
+ GLAPI void APIENTRY glResolveDepthValuesNV (void);
11330
+ #endif
11331
+ #endif /* GL_NV_sample_locations */
11332
+
11333
+ #ifndef GL_NV_sample_mask_override_coverage
11334
+ #define GL_NV_sample_mask_override_coverage 1
11335
+ #endif /* GL_NV_sample_mask_override_coverage */
11336
+
11337
+ #ifndef GL_NV_scissor_exclusive
11338
+ #define GL_NV_scissor_exclusive 1
11339
+ #define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
11340
+ #define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
11341
+ typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
11342
+ typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
11343
+ #ifdef GL_GLEXT_PROTOTYPES
11344
+ GLAPI void APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height);
11345
+ GLAPI void APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v);
11346
+ #endif
11347
+ #endif /* GL_NV_scissor_exclusive */
11348
+
9414
11349
  #ifndef GL_NV_shader_atomic_counters
9415
11350
  #define GL_NV_shader_atomic_counters 1
9416
11351
  #endif /* GL_NV_shader_atomic_counters */
@@ -9419,6 +11354,18 @@ GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname,
9419
11354
  #define GL_NV_shader_atomic_float 1
9420
11355
  #endif /* GL_NV_shader_atomic_float */
9421
11356
 
11357
+ #ifndef GL_NV_shader_atomic_float64
11358
+ #define GL_NV_shader_atomic_float64 1
11359
+ #endif /* GL_NV_shader_atomic_float64 */
11360
+
11361
+ #ifndef GL_NV_shader_atomic_fp16_vector
11362
+ #define GL_NV_shader_atomic_fp16_vector 1
11363
+ #endif /* GL_NV_shader_atomic_fp16_vector */
11364
+
11365
+ #ifndef GL_NV_shader_atomic_int64
11366
+ #define GL_NV_shader_atomic_int64 1
11367
+ #endif /* GL_NV_shader_atomic_int64 */
11368
+
9422
11369
  #ifndef GL_NV_shader_buffer_load
9423
11370
  #define GL_NV_shader_buffer_load 1
9424
11371
  #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
@@ -9463,6 +11410,15 @@ GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLs
9463
11410
  #define GL_NV_shader_storage_buffer_object 1
9464
11411
  #endif /* GL_NV_shader_storage_buffer_object */
9465
11412
 
11413
+ #ifndef GL_NV_shader_subgroup_partitioned
11414
+ #define GL_NV_shader_subgroup_partitioned 1
11415
+ #define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
11416
+ #endif /* GL_NV_shader_subgroup_partitioned */
11417
+
11418
+ #ifndef GL_NV_shader_texture_footprint
11419
+ #define GL_NV_shader_texture_footprint 1
11420
+ #endif /* GL_NV_shader_texture_footprint */
11421
+
9466
11422
  #ifndef GL_NV_shader_thread_group
9467
11423
  #define GL_NV_shader_thread_group 1
9468
11424
  #define GL_WARP_SIZE_NV 0x9339
@@ -9474,6 +11430,51 @@ GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLs
9474
11430
  #define GL_NV_shader_thread_shuffle 1
9475
11431
  #endif /* GL_NV_shader_thread_shuffle */
9476
11432
 
11433
+ #ifndef GL_NV_shading_rate_image
11434
+ #define GL_NV_shading_rate_image 1
11435
+ #define GL_SHADING_RATE_IMAGE_NV 0x9563
11436
+ #define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
11437
+ #define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
11438
+ #define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
11439
+ #define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
11440
+ #define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
11441
+ #define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
11442
+ #define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
11443
+ #define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
11444
+ #define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
11445
+ #define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
11446
+ #define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
11447
+ #define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
11448
+ #define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
11449
+ #define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
11450
+ #define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
11451
+ #define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
11452
+ #define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
11453
+ #define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
11454
+ #define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
11455
+ #define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
11456
+ typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture);
11457
+ typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate);
11458
+ typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location);
11459
+ typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize);
11460
+ typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
11461
+ typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order);
11462
+ typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations);
11463
+ #ifdef GL_GLEXT_PROTOTYPES
11464
+ GLAPI void APIENTRY glBindShadingRateImageNV (GLuint texture);
11465
+ GLAPI void APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate);
11466
+ GLAPI void APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location);
11467
+ GLAPI void APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize);
11468
+ GLAPI void APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
11469
+ GLAPI void APIENTRY glShadingRateSampleOrderNV (GLenum order);
11470
+ GLAPI void APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations);
11471
+ #endif
11472
+ #endif /* GL_NV_shading_rate_image */
11473
+
11474
+ #ifndef GL_NV_stereo_view_rendering
11475
+ #define GL_NV_stereo_view_rendering 1
11476
+ #endif /* GL_NV_stereo_view_rendering */
11477
+
9477
11478
  #ifndef GL_NV_tessellation_program5
9478
11479
  #define GL_NV_tessellation_program5 1
9479
11480
  #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
@@ -9550,6 +11551,10 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu
9550
11551
  #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
9551
11552
  #endif /* GL_NV_texture_rectangle */
9552
11553
 
11554
+ #ifndef GL_NV_texture_rectangle_compressed
11555
+ #define GL_NV_texture_rectangle_compressed 1
11556
+ #endif /* GL_NV_texture_rectangle_compressed */
11557
+
9553
11558
  #ifndef GL_NV_texture_shader
9554
11559
  #define GL_NV_texture_shader 1
9555
11560
  #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
@@ -9653,6 +11658,23 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu
9653
11658
  #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
9654
11659
  #endif /* GL_NV_texture_shader3 */
9655
11660
 
11661
+ #ifndef GL_NV_timeline_semaphore
11662
+ #define GL_NV_timeline_semaphore 1
11663
+ #define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595
11664
+ #define GL_SEMAPHORE_TYPE_NV 0x95B3
11665
+ #define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4
11666
+ #define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5
11667
+ #define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6
11668
+ typedef void (APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores);
11669
+ typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params);
11670
+ typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params);
11671
+ #ifdef GL_GLEXT_PROTOTYPES
11672
+ GLAPI void APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores);
11673
+ GLAPI void APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params);
11674
+ GLAPI void APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params);
11675
+ #endif
11676
+ #endif /* GL_NV_timeline_semaphore */
11677
+
9656
11678
  #ifndef GL_NV_transform_feedback
9657
11679
  #define GL_NV_transform_feedback 1
9658
11680
  #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
@@ -9688,7 +11710,7 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu
9688
11710
  #define GL_SKIP_COMPONENTS1_NV -6
9689
11711
  typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
9690
11712
  typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
9691
- typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
11713
+ typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLenum bufferMode);
9692
11714
  typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
9693
11715
  typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
9694
11716
  typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
@@ -9701,7 +11723,7 @@ typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei coun
9701
11723
  #ifdef GL_GLEXT_PROTOTYPES
9702
11724
  GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
9703
11725
  GLAPI void APIENTRY glEndTransformFeedbackNV (void);
9704
- GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
11726
+ GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLsizei count, const GLint *attribs, GLenum bufferMode);
9705
11727
  GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
9706
11728
  GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
9707
11729
  GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
@@ -9738,6 +11760,13 @@ GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
9738
11760
  #endif
9739
11761
  #endif /* GL_NV_transform_feedback2 */
9740
11762
 
11763
+ #ifndef GL_NV_uniform_buffer_unified_memory
11764
+ #define GL_NV_uniform_buffer_unified_memory 1
11765
+ #define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
11766
+ #define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F
11767
+ #define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370
11768
+ #endif /* GL_NV_uniform_buffer_unified_memory */
11769
+
9741
11770
  #ifndef GL_NV_vdpau_interop
9742
11771
  #define GL_NV_vdpau_interop 1
9743
11772
  typedef GLintptr GLvdpauSurfaceNV;
@@ -9751,7 +11780,7 @@ typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const
9751
11780
  typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
9752
11781
  typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
9753
11782
  typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
9754
- typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
11783
+ typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
9755
11784
  typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
9756
11785
  typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
9757
11786
  typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
@@ -9762,13 +11791,21 @@ GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSu
9762
11791
  GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
9763
11792
  GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
9764
11793
  GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
9765
- GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
11794
+ GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
9766
11795
  GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
9767
11796
  GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
9768
11797
  GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
9769
11798
  #endif
9770
11799
  #endif /* GL_NV_vdpau_interop */
9771
11800
 
11801
+ #ifndef GL_NV_vdpau_interop2
11802
+ #define GL_NV_vdpau_interop2 1
11803
+ typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
11804
+ #ifdef GL_GLEXT_PROTOTYPES
11805
+ GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
11806
+ #endif
11807
+ #endif /* GL_NV_vdpau_interop2 */
11808
+
9772
11809
  #ifndef GL_NV_vertex_array_range
9773
11810
  #define GL_NV_vertex_array_range 1
9774
11811
  #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
@@ -10124,54 +12161,6 @@ GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GL
10124
12161
  #ifndef GL_NV_vertex_program4
10125
12162
  #define GL_NV_vertex_program4 1
10126
12163
  #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
10127
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
10128
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
10129
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
10130
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
10131
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
10132
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
10133
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
10134
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10135
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
10136
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
10137
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
10138
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
10139
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
10140
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
10141
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
10142
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
10143
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
10144
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
10145
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
10146
- typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
10147
- typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10148
- typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
10149
- typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
10150
- #ifdef GL_GLEXT_PROTOTYPES
10151
- GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
10152
- GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
10153
- GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
10154
- GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
10155
- GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
10156
- GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
10157
- GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
10158
- GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10159
- GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
10160
- GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
10161
- GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
10162
- GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
10163
- GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
10164
- GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
10165
- GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
10166
- GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
10167
- GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
10168
- GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
10169
- GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
10170
- GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
10171
- GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10172
- GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
10173
- GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
10174
- #endif
10175
12164
  #endif /* GL_NV_vertex_program4 */
10176
12165
 
10177
12166
  #ifndef GL_NV_video_capture
@@ -10233,6 +12222,30 @@ GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot
10233
12222
  #endif
10234
12223
  #endif /* GL_NV_video_capture */
10235
12224
 
12225
+ #ifndef GL_NV_viewport_array2
12226
+ #define GL_NV_viewport_array2 1
12227
+ #endif /* GL_NV_viewport_array2 */
12228
+
12229
+ #ifndef GL_NV_viewport_swizzle
12230
+ #define GL_NV_viewport_swizzle 1
12231
+ #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
12232
+ #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
12233
+ #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
12234
+ #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
12235
+ #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
12236
+ #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
12237
+ #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
12238
+ #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
12239
+ #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
12240
+ #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
12241
+ #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
12242
+ #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
12243
+ typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
12244
+ #ifdef GL_GLEXT_PROTOTYPES
12245
+ GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
12246
+ #endif
12247
+ #endif /* GL_NV_viewport_swizzle */
12248
+
10236
12249
  #ifndef GL_OML_interlace
10237
12250
  #define GL_OML_interlace 1
10238
12251
  #define GL_INTERLACE_OML 0x8980
@@ -10255,6 +12268,22 @@ GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot
10255
12268
  #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
10256
12269
  #endif /* GL_OML_subsample */
10257
12270
 
12271
+ #ifndef GL_OVR_multiview
12272
+ #define GL_OVR_multiview 1
12273
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
12274
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
12275
+ #define GL_MAX_VIEWS_OVR 0x9631
12276
+ #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
12277
+ typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
12278
+ #ifdef GL_GLEXT_PROTOTYPES
12279
+ GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
12280
+ #endif
12281
+ #endif /* GL_OVR_multiview */
12282
+
12283
+ #ifndef GL_OVR_multiview2
12284
+ #define GL_OVR_multiview2 1
12285
+ #endif /* GL_OVR_multiview2 */
12286
+
10258
12287
  #ifndef GL_PGI_misc_hints
10259
12288
  #define GL_PGI_misc_hints 1
10260
12289
  #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
@@ -10811,10 +12840,10 @@ GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
10811
12840
 
10812
12841
  #ifndef GL_SGIX_resample
10813
12842
  #define GL_SGIX_resample 1
10814
- #define GL_PACK_RESAMPLE_SGIX 0x842C
10815
- #define GL_UNPACK_RESAMPLE_SGIX 0x842D
10816
- #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
10817
- #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
12843
+ #define GL_PACK_RESAMPLE_SGIX 0x842E
12844
+ #define GL_UNPACK_RESAMPLE_SGIX 0x842F
12845
+ #define GL_RESAMPLE_REPLICATE_SGIX 0x8433
12846
+ #define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434
10818
12847
  #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
10819
12848
  #endif /* GL_SGIX_resample */
10820
12849