ruby2d 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) 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/template.html +2 -1
  120. data/assets/windows/mingw-w64-ucrt-x86_64/bin/mrbc.exe +0 -0
  121. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libFLAC.a +0 -0
  122. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libLerc.a +0 -0
  123. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2.a +0 -0
  124. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_image.a +0 -0
  125. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_mixer.a +0 -0
  126. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_ttf.a +0 -0
  127. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libbrotlicommon.a +0 -0
  128. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libbrotlidec.a +0 -0
  129. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libdeflate.a +0 -0
  130. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libfreetype.a +0 -0
  131. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libglew32.a +0 -0
  132. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libharfbuzz.a +0 -0
  133. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libhwy.a +0 -0
  134. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libjpeg.a +0 -0
  135. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libjxl.a +0 -0
  136. data/assets/windows/mingw-w64-ucrt-x86_64/lib/liblzma.a +0 -0
  137. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmpg123.a +0 -0
  138. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmruby.a +0 -0
  139. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libopus.a +0 -0
  140. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libpng.a +0 -0
  141. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libsndfile.a +0 -0
  142. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libssp.a +0 -0
  143. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libstdc++.a +0 -0
  144. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libtiff.a +0 -0
  145. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libwebp.a +0 -0
  146. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libz.a +0 -0
  147. data/assets/windows/mingw-w64-x86_64/bin/mrbc.exe +0 -0
  148. data/assets/windows/mingw-w64-x86_64/lib/libFLAC.a +0 -0
  149. data/assets/windows/mingw-w64-x86_64/lib/libLerc.a +0 -0
  150. data/assets/windows/mingw-w64-x86_64/lib/libSDL2.a +0 -0
  151. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_image.a +0 -0
  152. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_mixer.a +0 -0
  153. data/assets/windows/mingw-w64-x86_64/lib/libSDL2_ttf.a +0 -0
  154. data/assets/windows/mingw-w64-x86_64/lib/libbrotlicommon.a +0 -0
  155. data/assets/windows/mingw-w64-x86_64/lib/libbrotlidec.a +0 -0
  156. data/assets/windows/mingw-w64-x86_64/lib/libdeflate.a +0 -0
  157. data/assets/windows/mingw-w64-x86_64/lib/libfreetype.a +0 -0
  158. data/assets/windows/mingw-w64-x86_64/lib/libglew32.a +0 -0
  159. data/assets/windows/mingw-w64-x86_64/lib/libharfbuzz.a +0 -0
  160. data/assets/windows/mingw-w64-x86_64/lib/libhwy.a +0 -0
  161. data/assets/windows/mingw-w64-x86_64/lib/libjpeg.a +0 -0
  162. data/assets/windows/mingw-w64-x86_64/lib/libjxl.a +0 -0
  163. data/assets/windows/mingw-w64-x86_64/lib/liblzma.a +0 -0
  164. data/assets/windows/mingw-w64-x86_64/lib/libmpg123.a +0 -0
  165. data/assets/windows/mingw-w64-x86_64/lib/libmruby.a +0 -0
  166. data/assets/windows/mingw-w64-x86_64/lib/libopus.a +0 -0
  167. data/assets/windows/mingw-w64-x86_64/lib/libpng.a +0 -0
  168. data/assets/windows/mingw-w64-x86_64/lib/libsndfile.a +0 -0
  169. data/assets/windows/mingw-w64-x86_64/lib/libssp.a +0 -0
  170. data/assets/windows/mingw-w64-x86_64/lib/libstdc++.a +0 -0
  171. data/assets/windows/mingw-w64-x86_64/lib/libtiff.a +0 -0
  172. data/assets/windows/mingw-w64-x86_64/lib/libwebp.a +0 -0
  173. data/assets/windows/mingw-w64-x86_64/lib/libz.a +0 -0
  174. data/assets/windows/mingw-w64-x86_64/lib/libzstd.a +0 -0
  175. data/ext/ruby2d/canvas.c +540 -0
  176. data/ext/ruby2d/extconf.rb +33 -20
  177. data/ext/ruby2d/gl.c +3 -3
  178. data/ext/ruby2d/image.c +7 -7
  179. data/ext/ruby2d/ruby2d.c +741 -24
  180. data/ext/ruby2d/ruby2d.h +66 -3
  181. data/ext/ruby2d/sound.c +16 -2
  182. data/lib/ruby2d/canvas.rb +315 -0
  183. data/lib/ruby2d/circle.rb +30 -15
  184. data/lib/ruby2d/cli/build.rb +5 -3
  185. data/lib/ruby2d/cli/enable_console.rb +3 -1
  186. data/lib/ruby2d/color.rb +133 -77
  187. data/lib/ruby2d/core.rb +32 -0
  188. data/lib/ruby2d/dsl.rb +38 -32
  189. data/lib/ruby2d/exceptions.rb +2 -1
  190. data/lib/ruby2d/font.rb +97 -62
  191. data/lib/ruby2d/image.rb +48 -27
  192. data/lib/ruby2d/line.rb +84 -45
  193. data/lib/ruby2d/music.rb +33 -23
  194. data/lib/ruby2d/pixel.rb +10 -9
  195. data/lib/ruby2d/pixmap.rb +39 -0
  196. data/lib/ruby2d/pixmap_atlas.rb +56 -0
  197. data/lib/ruby2d/quad.rb +98 -49
  198. data/lib/ruby2d/rectangle.rb +35 -36
  199. data/lib/ruby2d/renderable.rb +7 -6
  200. data/lib/ruby2d/sound.rb +23 -17
  201. data/lib/ruby2d/sprite.rb +181 -140
  202. data/lib/ruby2d/square.rb +21 -20
  203. data/lib/ruby2d/text.rb +47 -19
  204. data/lib/ruby2d/texture.rb +13 -3
  205. data/lib/ruby2d/tileset.rb +97 -44
  206. data/lib/ruby2d/triangle.rb +91 -42
  207. data/lib/ruby2d/version.rb +3 -1
  208. data/lib/ruby2d/vertices.rb +81 -45
  209. data/lib/ruby2d/window.rb +508 -371
  210. data/lib/ruby2d.rb +11 -29
  211. metadata +51 -16
  212. data/assets/include/SDL2/SDL_config_psp.h +0 -165
  213. data/assets/include/SDL2/SDL_config_wiz.h +0 -154
  214. data/assets/include/glew.h +0 -23686
  215. data/assets/macos/universal/lib/libpng16.a +0 -0
  216. data/assets/windows/glew/README.md +0 -10
  217. data/assets/windows/glew/glew.h +0 -23686
  218. data/assets/windows/glew/libglew32.a +0 -0
  219. data/assets/windows/mingw-w64-ucrt-x86_64/lib/libpng16.a +0 -0
  220. data/assets/windows/mingw-w64-x86_64/lib/libpng16.a +0 -0
  221. data/lib/ruby2d/entity.rb +0 -17
@@ -0,0 +1,3949 @@
1
+ #ifndef __gles2_gl2ext_h_
2
+ #define __gles2_gl2ext_h_ 1
3
+
4
+ #ifdef __cplusplus
5
+ extern "C" {
6
+ #endif
7
+
8
+ /*
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
+ #ifndef GL_APIENTRYP
19
+ #define GL_APIENTRYP GL_APIENTRY*
20
+ #endif
21
+
22
+ /* Generated on date 20210107 */
23
+
24
+ /* Generated C header for:
25
+ * API: gles2
26
+ * Profile: common
27
+ * Versions considered: 2\.[0-9]
28
+ * Versions emitted: _nomatch_^
29
+ * Default extensions included: gles2
30
+ * Additional extensions included: _nomatch_^
31
+ * Extensions removed: _nomatch_^
32
+ */
33
+
34
+ #ifndef GL_KHR_blend_equation_advanced
35
+ #define GL_KHR_blend_equation_advanced 1
36
+ #define GL_MULTIPLY_KHR 0x9294
37
+ #define GL_SCREEN_KHR 0x9295
38
+ #define GL_OVERLAY_KHR 0x9296
39
+ #define GL_DARKEN_KHR 0x9297
40
+ #define GL_LIGHTEN_KHR 0x9298
41
+ #define GL_COLORDODGE_KHR 0x9299
42
+ #define GL_COLORBURN_KHR 0x929A
43
+ #define GL_HARDLIGHT_KHR 0x929B
44
+ #define GL_SOFTLIGHT_KHR 0x929C
45
+ #define GL_DIFFERENCE_KHR 0x929E
46
+ #define GL_EXCLUSION_KHR 0x92A0
47
+ #define GL_HSL_HUE_KHR 0x92AD
48
+ #define GL_HSL_SATURATION_KHR 0x92AE
49
+ #define GL_HSL_COLOR_KHR 0x92AF
50
+ #define GL_HSL_LUMINOSITY_KHR 0x92B0
51
+ typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
52
+ #ifdef GL_GLEXT_PROTOTYPES
53
+ GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void);
54
+ #endif
55
+ #endif /* GL_KHR_blend_equation_advanced */
56
+
57
+ #ifndef GL_KHR_blend_equation_advanced_coherent
58
+ #define GL_KHR_blend_equation_advanced_coherent 1
59
+ #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
60
+ #endif /* GL_KHR_blend_equation_advanced_coherent */
61
+
62
+ #ifndef GL_KHR_context_flush_control
63
+ #define GL_KHR_context_flush_control 1
64
+ #define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
65
+ #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC
66
+ #endif /* GL_KHR_context_flush_control */
67
+
68
+ #ifndef GL_KHR_debug
69
+ #define GL_KHR_debug 1
70
+ typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
71
+ #define GL_SAMPLER 0x82E6
72
+ #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
73
+ #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
74
+ #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
75
+ #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
76
+ #define GL_DEBUG_SOURCE_API_KHR 0x8246
77
+ #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
78
+ #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
79
+ #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
80
+ #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
81
+ #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
82
+ #define GL_DEBUG_TYPE_ERROR_KHR 0x824C
83
+ #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
84
+ #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
85
+ #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
86
+ #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
87
+ #define GL_DEBUG_TYPE_OTHER_KHR 0x8251
88
+ #define GL_DEBUG_TYPE_MARKER_KHR 0x8268
89
+ #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
90
+ #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
91
+ #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
92
+ #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
93
+ #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
94
+ #define GL_BUFFER_KHR 0x82E0
95
+ #define GL_SHADER_KHR 0x82E1
96
+ #define GL_PROGRAM_KHR 0x82E2
97
+ #define GL_VERTEX_ARRAY_KHR 0x8074
98
+ #define GL_QUERY_KHR 0x82E3
99
+ #define GL_PROGRAM_PIPELINE_KHR 0x82E4
100
+ #define GL_SAMPLER_KHR 0x82E6
101
+ #define GL_MAX_LABEL_LENGTH_KHR 0x82E8
102
+ #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
103
+ #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
104
+ #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
105
+ #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
106
+ #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
107
+ #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
108
+ #define GL_DEBUG_OUTPUT_KHR 0x92E0
109
+ #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
110
+ #define GL_STACK_OVERFLOW_KHR 0x0503
111
+ #define GL_STACK_UNDERFLOW_KHR 0x0504
112
+ typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
113
+ typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
114
+ typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
115
+ typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
116
+ typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
117
+ typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
118
+ typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
119
+ typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
120
+ typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
121
+ typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
122
+ typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params);
123
+ #ifdef GL_GLEXT_PROTOTYPES
124
+ GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
125
+ GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
126
+ GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
127
+ GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
128
+ GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
129
+ GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
130
+ GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
131
+ GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
132
+ GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
133
+ GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
134
+ GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params);
135
+ #endif
136
+ #endif /* GL_KHR_debug */
137
+
138
+ #ifndef GL_KHR_no_error
139
+ #define GL_KHR_no_error 1
140
+ #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
141
+ #endif /* GL_KHR_no_error */
142
+
143
+ #ifndef GL_KHR_parallel_shader_compile
144
+ #define GL_KHR_parallel_shader_compile 1
145
+ #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
146
+ #define GL_COMPLETION_STATUS_KHR 0x91B1
147
+ typedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
148
+ #ifdef GL_GLEXT_PROTOTYPES
149
+ GL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
150
+ #endif
151
+ #endif /* GL_KHR_parallel_shader_compile */
152
+
153
+ #ifndef GL_KHR_robust_buffer_access_behavior
154
+ #define GL_KHR_robust_buffer_access_behavior 1
155
+ #endif /* GL_KHR_robust_buffer_access_behavior */
156
+
157
+ #ifndef GL_KHR_robustness
158
+ #define GL_KHR_robustness 1
159
+ #define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
160
+ #define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
161
+ #define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
162
+ #define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
163
+ #define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
164
+ #define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
165
+ #define GL_NO_RESET_NOTIFICATION_KHR 0x8261
166
+ #define GL_CONTEXT_LOST_KHR 0x0507
167
+ typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void);
168
+ typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
169
+ typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
170
+ typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
171
+ typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
172
+ #ifdef GL_GLEXT_PROTOTYPES
173
+ GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void);
174
+ GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
175
+ GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
176
+ GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params);
177
+ GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
178
+ #endif
179
+ #endif /* GL_KHR_robustness */
180
+
181
+ #ifndef GL_KHR_shader_subgroup
182
+ #define GL_KHR_shader_subgroup 1
183
+ #define GL_SUBGROUP_SIZE_KHR 0x9532
184
+ #define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
185
+ #define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
186
+ #define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
187
+ #define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
188
+ #define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
189
+ #define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
190
+ #define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
191
+ #define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
192
+ #define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
193
+ #define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
194
+ #define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
195
+ #endif /* GL_KHR_shader_subgroup */
196
+
197
+ #ifndef GL_KHR_texture_compression_astc_hdr
198
+ #define GL_KHR_texture_compression_astc_hdr 1
199
+ #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
200
+ #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
201
+ #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
202
+ #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
203
+ #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
204
+ #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
205
+ #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
206
+ #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
207
+ #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
208
+ #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
209
+ #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
210
+ #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
211
+ #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
212
+ #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
213
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
214
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
215
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
216
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
217
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
218
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
219
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
220
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
221
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
222
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
223
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
224
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
225
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
226
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
227
+ #endif /* GL_KHR_texture_compression_astc_hdr */
228
+
229
+ #ifndef GL_KHR_texture_compression_astc_ldr
230
+ #define GL_KHR_texture_compression_astc_ldr 1
231
+ #endif /* GL_KHR_texture_compression_astc_ldr */
232
+
233
+ #ifndef GL_KHR_texture_compression_astc_sliced_3d
234
+ #define GL_KHR_texture_compression_astc_sliced_3d 1
235
+ #endif /* GL_KHR_texture_compression_astc_sliced_3d */
236
+
237
+ #ifndef GL_OES_EGL_image
238
+ #define GL_OES_EGL_image 1
239
+ typedef void *GLeglImageOES;
240
+ typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
241
+ typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
242
+ #ifdef GL_GLEXT_PROTOTYPES
243
+ GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
244
+ GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
245
+ #endif
246
+ #endif /* GL_OES_EGL_image */
247
+
248
+ #ifndef GL_OES_EGL_image_external
249
+ #define GL_OES_EGL_image_external 1
250
+ #define GL_TEXTURE_EXTERNAL_OES 0x8D65
251
+ #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
252
+ #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
253
+ #define GL_SAMPLER_EXTERNAL_OES 0x8D66
254
+ #endif /* GL_OES_EGL_image_external */
255
+
256
+ #ifndef GL_OES_EGL_image_external_essl3
257
+ #define GL_OES_EGL_image_external_essl3 1
258
+ #endif /* GL_OES_EGL_image_external_essl3 */
259
+
260
+ #ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
261
+ #define GL_OES_compressed_ETC1_RGB8_sub_texture 1
262
+ #endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */
263
+
264
+ #ifndef GL_OES_compressed_ETC1_RGB8_texture
265
+ #define GL_OES_compressed_ETC1_RGB8_texture 1
266
+ #define GL_ETC1_RGB8_OES 0x8D64
267
+ #endif /* GL_OES_compressed_ETC1_RGB8_texture */
268
+
269
+ #ifndef GL_OES_compressed_paletted_texture
270
+ #define GL_OES_compressed_paletted_texture 1
271
+ #define GL_PALETTE4_RGB8_OES 0x8B90
272
+ #define GL_PALETTE4_RGBA8_OES 0x8B91
273
+ #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
274
+ #define GL_PALETTE4_RGBA4_OES 0x8B93
275
+ #define GL_PALETTE4_RGB5_A1_OES 0x8B94
276
+ #define GL_PALETTE8_RGB8_OES 0x8B95
277
+ #define GL_PALETTE8_RGBA8_OES 0x8B96
278
+ #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
279
+ #define GL_PALETTE8_RGBA4_OES 0x8B98
280
+ #define GL_PALETTE8_RGB5_A1_OES 0x8B99
281
+ #endif /* GL_OES_compressed_paletted_texture */
282
+
283
+ #ifndef GL_OES_copy_image
284
+ #define GL_OES_copy_image 1
285
+ typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) (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);
286
+ #ifdef GL_GLEXT_PROTOTYPES
287
+ GL_APICALL void GL_APIENTRY glCopyImageSubDataOES (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);
288
+ #endif
289
+ #endif /* GL_OES_copy_image */
290
+
291
+ #ifndef GL_OES_depth24
292
+ #define GL_OES_depth24 1
293
+ #define GL_DEPTH_COMPONENT24_OES 0x81A6
294
+ #endif /* GL_OES_depth24 */
295
+
296
+ #ifndef GL_OES_depth32
297
+ #define GL_OES_depth32 1
298
+ #define GL_DEPTH_COMPONENT32_OES 0x81A7
299
+ #endif /* GL_OES_depth32 */
300
+
301
+ #ifndef GL_OES_depth_texture
302
+ #define GL_OES_depth_texture 1
303
+ #endif /* GL_OES_depth_texture */
304
+
305
+ #ifndef GL_OES_draw_buffers_indexed
306
+ #define GL_OES_draw_buffers_indexed 1
307
+ #define GL_MIN 0x8007
308
+ #define GL_MAX 0x8008
309
+ typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index);
310
+ typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index);
311
+ typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode);
312
+ typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
313
+ typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst);
314
+ typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
315
+ typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
316
+ typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index);
317
+ #ifdef GL_GLEXT_PROTOTYPES
318
+ GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index);
319
+ GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index);
320
+ GL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode);
321
+ GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
322
+ GL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst);
323
+ GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
324
+ GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
325
+ GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index);
326
+ #endif
327
+ #endif /* GL_OES_draw_buffers_indexed */
328
+
329
+ #ifndef GL_OES_draw_elements_base_vertex
330
+ #define GL_OES_draw_elements_base_vertex 1
331
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
332
+ typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
333
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
334
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
335
+ #ifdef GL_GLEXT_PROTOTYPES
336
+ GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
337
+ GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
338
+ GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
339
+ GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
340
+ #endif
341
+ #endif /* GL_OES_draw_elements_base_vertex */
342
+
343
+ #ifndef GL_OES_element_index_uint
344
+ #define GL_OES_element_index_uint 1
345
+ #endif /* GL_OES_element_index_uint */
346
+
347
+ #ifndef GL_OES_fbo_render_mipmap
348
+ #define GL_OES_fbo_render_mipmap 1
349
+ #endif /* GL_OES_fbo_render_mipmap */
350
+
351
+ #ifndef GL_OES_fragment_precision_high
352
+ #define GL_OES_fragment_precision_high 1
353
+ #endif /* GL_OES_fragment_precision_high */
354
+
355
+ #ifndef GL_OES_geometry_point_size
356
+ #define GL_OES_geometry_point_size 1
357
+ #endif /* GL_OES_geometry_point_size */
358
+
359
+ #ifndef GL_OES_geometry_shader
360
+ #define GL_OES_geometry_shader 1
361
+ #define GL_GEOMETRY_SHADER_OES 0x8DD9
362
+ #define GL_GEOMETRY_SHADER_BIT_OES 0x00000004
363
+ #define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916
364
+ #define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917
365
+ #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918
366
+ #define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F
367
+ #define GL_LAYER_PROVOKING_VERTEX_OES 0x825E
368
+ #define GL_LINES_ADJACENCY_OES 0x000A
369
+ #define GL_LINE_STRIP_ADJACENCY_OES 0x000B
370
+ #define GL_TRIANGLES_ADJACENCY_OES 0x000C
371
+ #define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D
372
+ #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF
373
+ #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C
374
+ #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32
375
+ #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123
376
+ #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124
377
+ #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0
378
+ #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1
379
+ #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A
380
+ #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29
381
+ #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF
382
+ #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5
383
+ #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD
384
+ #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7
385
+ #define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D
386
+ #define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E
387
+ #define GL_UNDEFINED_VERTEX_OES 0x8260
388
+ #define GL_PRIMITIVES_GENERATED_OES 0x8C87
389
+ #define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312
390
+ #define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317
391
+ #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8
392
+ #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7
393
+ #define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309
394
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
395
+ #ifdef GL_GLEXT_PROTOTYPES
396
+ GL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level);
397
+ #endif
398
+ #endif /* GL_OES_geometry_shader */
399
+
400
+ #ifndef GL_OES_get_program_binary
401
+ #define GL_OES_get_program_binary 1
402
+ #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
403
+ #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
404
+ #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
405
+ typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
406
+ typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
407
+ #ifdef GL_GLEXT_PROTOTYPES
408
+ GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
409
+ GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
410
+ #endif
411
+ #endif /* GL_OES_get_program_binary */
412
+
413
+ #ifndef GL_OES_gpu_shader5
414
+ #define GL_OES_gpu_shader5 1
415
+ #endif /* GL_OES_gpu_shader5 */
416
+
417
+ #ifndef GL_OES_mapbuffer
418
+ #define GL_OES_mapbuffer 1
419
+ #define GL_WRITE_ONLY_OES 0x88B9
420
+ #define GL_BUFFER_ACCESS_OES 0x88BB
421
+ #define GL_BUFFER_MAPPED_OES 0x88BC
422
+ #define GL_BUFFER_MAP_POINTER_OES 0x88BD
423
+ typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
424
+ typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
425
+ typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params);
426
+ #ifdef GL_GLEXT_PROTOTYPES
427
+ GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
428
+ GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
429
+ GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params);
430
+ #endif
431
+ #endif /* GL_OES_mapbuffer */
432
+
433
+ #ifndef GL_OES_packed_depth_stencil
434
+ #define GL_OES_packed_depth_stencil 1
435
+ #define GL_DEPTH_STENCIL_OES 0x84F9
436
+ #define GL_UNSIGNED_INT_24_8_OES 0x84FA
437
+ #define GL_DEPTH24_STENCIL8_OES 0x88F0
438
+ #endif /* GL_OES_packed_depth_stencil */
439
+
440
+ #ifndef GL_OES_primitive_bounding_box
441
+ #define GL_OES_primitive_bounding_box 1
442
+ #define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE
443
+ typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
444
+ #ifdef GL_GLEXT_PROTOTYPES
445
+ GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
446
+ #endif
447
+ #endif /* GL_OES_primitive_bounding_box */
448
+
449
+ #ifndef GL_OES_required_internalformat
450
+ #define GL_OES_required_internalformat 1
451
+ #define GL_ALPHA8_OES 0x803C
452
+ #define GL_DEPTH_COMPONENT16_OES 0x81A5
453
+ #define GL_LUMINANCE4_ALPHA4_OES 0x8043
454
+ #define GL_LUMINANCE8_ALPHA8_OES 0x8045
455
+ #define GL_LUMINANCE8_OES 0x8040
456
+ #define GL_RGBA4_OES 0x8056
457
+ #define GL_RGB5_A1_OES 0x8057
458
+ #define GL_RGB565_OES 0x8D62
459
+ #define GL_RGB8_OES 0x8051
460
+ #define GL_RGBA8_OES 0x8058
461
+ #define GL_RGB10_EXT 0x8052
462
+ #define GL_RGB10_A2_EXT 0x8059
463
+ #endif /* GL_OES_required_internalformat */
464
+
465
+ #ifndef GL_OES_rgb8_rgba8
466
+ #define GL_OES_rgb8_rgba8 1
467
+ #endif /* GL_OES_rgb8_rgba8 */
468
+
469
+ #ifndef GL_OES_sample_shading
470
+ #define GL_OES_sample_shading 1
471
+ #define GL_SAMPLE_SHADING_OES 0x8C36
472
+ #define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37
473
+ typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value);
474
+ #ifdef GL_GLEXT_PROTOTYPES
475
+ GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value);
476
+ #endif
477
+ #endif /* GL_OES_sample_shading */
478
+
479
+ #ifndef GL_OES_sample_variables
480
+ #define GL_OES_sample_variables 1
481
+ #endif /* GL_OES_sample_variables */
482
+
483
+ #ifndef GL_OES_shader_image_atomic
484
+ #define GL_OES_shader_image_atomic 1
485
+ #endif /* GL_OES_shader_image_atomic */
486
+
487
+ #ifndef GL_OES_shader_io_blocks
488
+ #define GL_OES_shader_io_blocks 1
489
+ #endif /* GL_OES_shader_io_blocks */
490
+
491
+ #ifndef GL_OES_shader_multisample_interpolation
492
+ #define GL_OES_shader_multisample_interpolation 1
493
+ #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B
494
+ #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C
495
+ #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D
496
+ #endif /* GL_OES_shader_multisample_interpolation */
497
+
498
+ #ifndef GL_OES_standard_derivatives
499
+ #define GL_OES_standard_derivatives 1
500
+ #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
501
+ #endif /* GL_OES_standard_derivatives */
502
+
503
+ #ifndef GL_OES_stencil1
504
+ #define GL_OES_stencil1 1
505
+ #define GL_STENCIL_INDEX1_OES 0x8D46
506
+ #endif /* GL_OES_stencil1 */
507
+
508
+ #ifndef GL_OES_stencil4
509
+ #define GL_OES_stencil4 1
510
+ #define GL_STENCIL_INDEX4_OES 0x8D47
511
+ #endif /* GL_OES_stencil4 */
512
+
513
+ #ifndef GL_OES_surfaceless_context
514
+ #define GL_OES_surfaceless_context 1
515
+ #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
516
+ #endif /* GL_OES_surfaceless_context */
517
+
518
+ #ifndef GL_OES_tessellation_point_size
519
+ #define GL_OES_tessellation_point_size 1
520
+ #endif /* GL_OES_tessellation_point_size */
521
+
522
+ #ifndef GL_OES_tessellation_shader
523
+ #define GL_OES_tessellation_shader 1
524
+ #define GL_PATCHES_OES 0x000E
525
+ #define GL_PATCH_VERTICES_OES 0x8E72
526
+ #define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75
527
+ #define GL_TESS_GEN_MODE_OES 0x8E76
528
+ #define GL_TESS_GEN_SPACING_OES 0x8E77
529
+ #define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78
530
+ #define GL_TESS_GEN_POINT_MODE_OES 0x8E79
531
+ #define GL_ISOLINES_OES 0x8E7A
532
+ #define GL_QUADS_OES 0x0007
533
+ #define GL_FRACTIONAL_ODD_OES 0x8E7B
534
+ #define GL_FRACTIONAL_EVEN_OES 0x8E7C
535
+ #define GL_MAX_PATCH_VERTICES_OES 0x8E7D
536
+ #define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E
537
+ #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F
538
+ #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80
539
+ #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81
540
+ #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82
541
+ #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83
542
+ #define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84
543
+ #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85
544
+ #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86
545
+ #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89
546
+ #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A
547
+ #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C
548
+ #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D
549
+ #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E
550
+ #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F
551
+ #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD
552
+ #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE
553
+ #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3
554
+ #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4
555
+ #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB
556
+ #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC
557
+ #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8
558
+ #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9
559
+ #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221
560
+ #define GL_IS_PER_PATCH_OES 0x92E7
561
+ #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307
562
+ #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308
563
+ #define GL_TESS_CONTROL_SHADER_OES 0x8E88
564
+ #define GL_TESS_EVALUATION_SHADER_OES 0x8E87
565
+ #define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008
566
+ #define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010
567
+ typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value);
568
+ #ifdef GL_GLEXT_PROTOTYPES
569
+ GL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value);
570
+ #endif
571
+ #endif /* GL_OES_tessellation_shader */
572
+
573
+ #ifndef GL_OES_texture_3D
574
+ #define GL_OES_texture_3D 1
575
+ #define GL_TEXTURE_WRAP_R_OES 0x8072
576
+ #define GL_TEXTURE_3D_OES 0x806F
577
+ #define GL_TEXTURE_BINDING_3D_OES 0x806A
578
+ #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
579
+ #define GL_SAMPLER_3D_OES 0x8B5F
580
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
581
+ typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
582
+ typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
583
+ typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
584
+ typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
585
+ typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
586
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
587
+ #ifdef GL_GLEXT_PROTOTYPES
588
+ GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
589
+ GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
590
+ GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
591
+ GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
592
+ GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
593
+ GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
594
+ #endif
595
+ #endif /* GL_OES_texture_3D */
596
+
597
+ #ifndef GL_OES_texture_border_clamp
598
+ #define GL_OES_texture_border_clamp 1
599
+ #define GL_TEXTURE_BORDER_COLOR_OES 0x1004
600
+ #define GL_CLAMP_TO_BORDER_OES 0x812D
601
+ typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params);
602
+ typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params);
603
+ typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params);
604
+ typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params);
605
+ typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param);
606
+ typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param);
607
+ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params);
608
+ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params);
609
+ #ifdef GL_GLEXT_PROTOTYPES
610
+ GL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params);
611
+ GL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params);
612
+ GL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params);
613
+ GL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params);
614
+ GL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param);
615
+ GL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param);
616
+ GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params);
617
+ GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params);
618
+ #endif
619
+ #endif /* GL_OES_texture_border_clamp */
620
+
621
+ #ifndef GL_OES_texture_buffer
622
+ #define GL_OES_texture_buffer 1
623
+ #define GL_TEXTURE_BUFFER_OES 0x8C2A
624
+ #define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A
625
+ #define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B
626
+ #define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C
627
+ #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D
628
+ #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F
629
+ #define GL_SAMPLER_BUFFER_OES 0x8DC2
630
+ #define GL_INT_SAMPLER_BUFFER_OES 0x8DD0
631
+ #define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8
632
+ #define GL_IMAGE_BUFFER_OES 0x9051
633
+ #define GL_INT_IMAGE_BUFFER_OES 0x905C
634
+ #define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067
635
+ #define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D
636
+ #define GL_TEXTURE_BUFFER_SIZE_OES 0x919E
637
+ typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
638
+ typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
639
+ #ifdef GL_GLEXT_PROTOTYPES
640
+ GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
641
+ GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
642
+ #endif
643
+ #endif /* GL_OES_texture_buffer */
644
+
645
+ #ifndef GL_OES_texture_compression_astc
646
+ #define GL_OES_texture_compression_astc 1
647
+ #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
648
+ #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
649
+ #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2
650
+ #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3
651
+ #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4
652
+ #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5
653
+ #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6
654
+ #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7
655
+ #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8
656
+ #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9
657
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0
658
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1
659
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2
660
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3
661
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4
662
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5
663
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6
664
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7
665
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8
666
+ #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9
667
+ #endif /* GL_OES_texture_compression_astc */
668
+
669
+ #ifndef GL_OES_texture_cube_map_array
670
+ #define GL_OES_texture_cube_map_array 1
671
+ #define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009
672
+ #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A
673
+ #define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C
674
+ #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D
675
+ #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E
676
+ #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F
677
+ #define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054
678
+ #define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F
679
+ #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A
680
+ #endif /* GL_OES_texture_cube_map_array */
681
+
682
+ #ifndef GL_OES_texture_float
683
+ #define GL_OES_texture_float 1
684
+ #endif /* GL_OES_texture_float */
685
+
686
+ #ifndef GL_OES_texture_float_linear
687
+ #define GL_OES_texture_float_linear 1
688
+ #endif /* GL_OES_texture_float_linear */
689
+
690
+ #ifndef GL_OES_texture_half_float
691
+ #define GL_OES_texture_half_float 1
692
+ #define GL_HALF_FLOAT_OES 0x8D61
693
+ #endif /* GL_OES_texture_half_float */
694
+
695
+ #ifndef GL_OES_texture_half_float_linear
696
+ #define GL_OES_texture_half_float_linear 1
697
+ #endif /* GL_OES_texture_half_float_linear */
698
+
699
+ #ifndef GL_OES_texture_npot
700
+ #define GL_OES_texture_npot 1
701
+ #endif /* GL_OES_texture_npot */
702
+
703
+ #ifndef GL_OES_texture_stencil8
704
+ #define GL_OES_texture_stencil8 1
705
+ #define GL_STENCIL_INDEX_OES 0x1901
706
+ #define GL_STENCIL_INDEX8_OES 0x8D48
707
+ #endif /* GL_OES_texture_stencil8 */
708
+
709
+ #ifndef GL_OES_texture_storage_multisample_2d_array
710
+ #define GL_OES_texture_storage_multisample_2d_array 1
711
+ #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102
712
+ #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105
713
+ #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B
714
+ #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C
715
+ #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D
716
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
717
+ #ifdef GL_GLEXT_PROTOTYPES
718
+ GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
719
+ #endif
720
+ #endif /* GL_OES_texture_storage_multisample_2d_array */
721
+
722
+ #ifndef GL_OES_texture_view
723
+ #define GL_OES_texture_view 1
724
+ #define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB
725
+ #define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC
726
+ #define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD
727
+ #define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE
728
+ #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
729
+ typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
730
+ #ifdef GL_GLEXT_PROTOTYPES
731
+ GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
732
+ #endif
733
+ #endif /* GL_OES_texture_view */
734
+
735
+ #ifndef GL_OES_vertex_array_object
736
+ #define GL_OES_vertex_array_object 1
737
+ #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
738
+ typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
739
+ typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
740
+ typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
741
+ typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
742
+ #ifdef GL_GLEXT_PROTOTYPES
743
+ GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
744
+ GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
745
+ GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
746
+ GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
747
+ #endif
748
+ #endif /* GL_OES_vertex_array_object */
749
+
750
+ #ifndef GL_OES_vertex_half_float
751
+ #define GL_OES_vertex_half_float 1
752
+ #endif /* GL_OES_vertex_half_float */
753
+
754
+ #ifndef GL_OES_vertex_type_10_10_10_2
755
+ #define GL_OES_vertex_type_10_10_10_2 1
756
+ #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
757
+ #define GL_INT_10_10_10_2_OES 0x8DF7
758
+ #endif /* GL_OES_vertex_type_10_10_10_2 */
759
+
760
+ #ifndef GL_OES_viewport_array
761
+ #define GL_OES_viewport_array 1
762
+ #define GL_MAX_VIEWPORTS_OES 0x825B
763
+ #define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C
764
+ #define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D
765
+ #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F
766
+ typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v);
767
+ typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
768
+ typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v);
769
+ typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v);
770
+ typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
771
+ typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v);
772
+ typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v);
773
+ typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f);
774
+ typedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data);
775
+ #ifdef GL_GLEXT_PROTOTYPES
776
+ GL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v);
777
+ GL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
778
+ GL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v);
779
+ GL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v);
780
+ GL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
781
+ GL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v);
782
+ GL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v);
783
+ GL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f);
784
+ GL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data);
785
+ #endif
786
+ #endif /* GL_OES_viewport_array */
787
+
788
+ #ifndef GL_AMD_compressed_3DC_texture
789
+ #define GL_AMD_compressed_3DC_texture 1
790
+ #define GL_3DC_X_AMD 0x87F9
791
+ #define GL_3DC_XY_AMD 0x87FA
792
+ #endif /* GL_AMD_compressed_3DC_texture */
793
+
794
+ #ifndef GL_AMD_compressed_ATC_texture
795
+ #define GL_AMD_compressed_ATC_texture 1
796
+ #define GL_ATC_RGB_AMD 0x8C92
797
+ #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
798
+ #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
799
+ #endif /* GL_AMD_compressed_ATC_texture */
800
+
801
+ #ifndef GL_AMD_framebuffer_multisample_advanced
802
+ #define GL_AMD_framebuffer_multisample_advanced 1
803
+ #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
804
+ #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
805
+ #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
806
+ #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
807
+ #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
808
+ #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
809
+ typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
810
+ typedef void (GL_APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
811
+ #ifdef GL_GLEXT_PROTOTYPES
812
+ GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
813
+ GL_APICALL void GL_APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
814
+ #endif
815
+ #endif /* GL_AMD_framebuffer_multisample_advanced */
816
+
817
+ #ifndef GL_AMD_performance_monitor
818
+ #define GL_AMD_performance_monitor 1
819
+ #define GL_COUNTER_TYPE_AMD 0x8BC0
820
+ #define GL_COUNTER_RANGE_AMD 0x8BC1
821
+ #define GL_UNSIGNED_INT64_AMD 0x8BC2
822
+ #define GL_PERCENTAGE_AMD 0x8BC3
823
+ #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
824
+ #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
825
+ #define GL_PERFMON_RESULT_AMD 0x8BC6
826
+ typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
827
+ typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
828
+ typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
829
+ typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
830
+ typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
831
+ typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
832
+ typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
833
+ typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
834
+ typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
835
+ typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
836
+ typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
837
+ #ifdef GL_GLEXT_PROTOTYPES
838
+ GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
839
+ GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
840
+ GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
841
+ GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
842
+ GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
843
+ GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
844
+ GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
845
+ GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
846
+ GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
847
+ GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
848
+ GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
849
+ #endif
850
+ #endif /* GL_AMD_performance_monitor */
851
+
852
+ #ifndef GL_AMD_program_binary_Z400
853
+ #define GL_AMD_program_binary_Z400 1
854
+ #define GL_Z400_BINARY_AMD 0x8740
855
+ #endif /* GL_AMD_program_binary_Z400 */
856
+
857
+ #ifndef GL_ANDROID_extension_pack_es31a
858
+ #define GL_ANDROID_extension_pack_es31a 1
859
+ #endif /* GL_ANDROID_extension_pack_es31a */
860
+
861
+ #ifndef GL_ANGLE_depth_texture
862
+ #define GL_ANGLE_depth_texture 1
863
+ #endif /* GL_ANGLE_depth_texture */
864
+
865
+ #ifndef GL_ANGLE_framebuffer_blit
866
+ #define GL_ANGLE_framebuffer_blit 1
867
+ #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
868
+ #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
869
+ #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
870
+ #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
871
+ typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
872
+ #ifdef GL_GLEXT_PROTOTYPES
873
+ GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
874
+ #endif
875
+ #endif /* GL_ANGLE_framebuffer_blit */
876
+
877
+ #ifndef GL_ANGLE_framebuffer_multisample
878
+ #define GL_ANGLE_framebuffer_multisample 1
879
+ #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
880
+ #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
881
+ #define GL_MAX_SAMPLES_ANGLE 0x8D57
882
+ typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
883
+ #ifdef GL_GLEXT_PROTOTYPES
884
+ GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
885
+ #endif
886
+ #endif /* GL_ANGLE_framebuffer_multisample */
887
+
888
+ #ifndef GL_ANGLE_instanced_arrays
889
+ #define GL_ANGLE_instanced_arrays 1
890
+ #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
891
+ typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
892
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
893
+ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
894
+ #ifdef GL_GLEXT_PROTOTYPES
895
+ GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
896
+ GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
897
+ GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
898
+ #endif
899
+ #endif /* GL_ANGLE_instanced_arrays */
900
+
901
+ #ifndef GL_ANGLE_pack_reverse_row_order
902
+ #define GL_ANGLE_pack_reverse_row_order 1
903
+ #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
904
+ #endif /* GL_ANGLE_pack_reverse_row_order */
905
+
906
+ #ifndef GL_ANGLE_program_binary
907
+ #define GL_ANGLE_program_binary 1
908
+ #define GL_PROGRAM_BINARY_ANGLE 0x93A6
909
+ #endif /* GL_ANGLE_program_binary */
910
+
911
+ #ifndef GL_ANGLE_texture_compression_dxt3
912
+ #define GL_ANGLE_texture_compression_dxt3 1
913
+ #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
914
+ #endif /* GL_ANGLE_texture_compression_dxt3 */
915
+
916
+ #ifndef GL_ANGLE_texture_compression_dxt5
917
+ #define GL_ANGLE_texture_compression_dxt5 1
918
+ #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
919
+ #endif /* GL_ANGLE_texture_compression_dxt5 */
920
+
921
+ #ifndef GL_ANGLE_texture_usage
922
+ #define GL_ANGLE_texture_usage 1
923
+ #define GL_TEXTURE_USAGE_ANGLE 0x93A2
924
+ #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
925
+ #endif /* GL_ANGLE_texture_usage */
926
+
927
+ #ifndef GL_ANGLE_translated_shader_source
928
+ #define GL_ANGLE_translated_shader_source 1
929
+ #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
930
+ typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
931
+ #ifdef GL_GLEXT_PROTOTYPES
932
+ GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
933
+ #endif
934
+ #endif /* GL_ANGLE_translated_shader_source */
935
+
936
+ #ifndef GL_APPLE_clip_distance
937
+ #define GL_APPLE_clip_distance 1
938
+ #define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32
939
+ #define GL_CLIP_DISTANCE0_APPLE 0x3000
940
+ #define GL_CLIP_DISTANCE1_APPLE 0x3001
941
+ #define GL_CLIP_DISTANCE2_APPLE 0x3002
942
+ #define GL_CLIP_DISTANCE3_APPLE 0x3003
943
+ #define GL_CLIP_DISTANCE4_APPLE 0x3004
944
+ #define GL_CLIP_DISTANCE5_APPLE 0x3005
945
+ #define GL_CLIP_DISTANCE6_APPLE 0x3006
946
+ #define GL_CLIP_DISTANCE7_APPLE 0x3007
947
+ #endif /* GL_APPLE_clip_distance */
948
+
949
+ #ifndef GL_APPLE_color_buffer_packed_float
950
+ #define GL_APPLE_color_buffer_packed_float 1
951
+ #endif /* GL_APPLE_color_buffer_packed_float */
952
+
953
+ #ifndef GL_APPLE_copy_texture_levels
954
+ #define GL_APPLE_copy_texture_levels 1
955
+ typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
956
+ #ifdef GL_GLEXT_PROTOTYPES
957
+ GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
958
+ #endif
959
+ #endif /* GL_APPLE_copy_texture_levels */
960
+
961
+ #ifndef GL_APPLE_framebuffer_multisample
962
+ #define GL_APPLE_framebuffer_multisample 1
963
+ #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
964
+ #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
965
+ #define GL_MAX_SAMPLES_APPLE 0x8D57
966
+ #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
967
+ #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
968
+ #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
969
+ #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
970
+ typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
971
+ typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
972
+ #ifdef GL_GLEXT_PROTOTYPES
973
+ GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
974
+ GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
975
+ #endif
976
+ #endif /* GL_APPLE_framebuffer_multisample */
977
+
978
+ #ifndef GL_APPLE_rgb_422
979
+ #define GL_APPLE_rgb_422 1
980
+ #define GL_RGB_422_APPLE 0x8A1F
981
+ #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
982
+ #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
983
+ #define GL_RGB_RAW_422_APPLE 0x8A51
984
+ #endif /* GL_APPLE_rgb_422 */
985
+
986
+ #ifndef GL_APPLE_sync
987
+ #define GL_APPLE_sync 1
988
+ #define GL_SYNC_OBJECT_APPLE 0x8A53
989
+ #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
990
+ #define GL_OBJECT_TYPE_APPLE 0x9112
991
+ #define GL_SYNC_CONDITION_APPLE 0x9113
992
+ #define GL_SYNC_STATUS_APPLE 0x9114
993
+ #define GL_SYNC_FLAGS_APPLE 0x9115
994
+ #define GL_SYNC_FENCE_APPLE 0x9116
995
+ #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
996
+ #define GL_UNSIGNALED_APPLE 0x9118
997
+ #define GL_SIGNALED_APPLE 0x9119
998
+ #define GL_ALREADY_SIGNALED_APPLE 0x911A
999
+ #define GL_TIMEOUT_EXPIRED_APPLE 0x911B
1000
+ #define GL_CONDITION_SATISFIED_APPLE 0x911C
1001
+ #define GL_WAIT_FAILED_APPLE 0x911D
1002
+ #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
1003
+ #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull
1004
+ typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
1005
+ typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
1006
+ typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
1007
+ typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1008
+ typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1009
+ typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
1010
+ typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1011
+ #ifdef GL_GLEXT_PROTOTYPES
1012
+ GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);
1013
+ GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
1014
+ GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
1015
+ GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
1016
+ GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
1017
+ GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);
1018
+ GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1019
+ #endif
1020
+ #endif /* GL_APPLE_sync */
1021
+
1022
+ #ifndef GL_APPLE_texture_format_BGRA8888
1023
+ #define GL_APPLE_texture_format_BGRA8888 1
1024
+ #define GL_BGRA_EXT 0x80E1
1025
+ #define GL_BGRA8_EXT 0x93A1
1026
+ #endif /* GL_APPLE_texture_format_BGRA8888 */
1027
+
1028
+ #ifndef GL_APPLE_texture_max_level
1029
+ #define GL_APPLE_texture_max_level 1
1030
+ #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
1031
+ #endif /* GL_APPLE_texture_max_level */
1032
+
1033
+ #ifndef GL_APPLE_texture_packed_float
1034
+ #define GL_APPLE_texture_packed_float 1
1035
+ #define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B
1036
+ #define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E
1037
+ #define GL_R11F_G11F_B10F_APPLE 0x8C3A
1038
+ #define GL_RGB9_E5_APPLE 0x8C3D
1039
+ #endif /* GL_APPLE_texture_packed_float */
1040
+
1041
+ #ifndef GL_ARM_mali_program_binary
1042
+ #define GL_ARM_mali_program_binary 1
1043
+ #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
1044
+ #endif /* GL_ARM_mali_program_binary */
1045
+
1046
+ #ifndef GL_ARM_mali_shader_binary
1047
+ #define GL_ARM_mali_shader_binary 1
1048
+ #define GL_MALI_SHADER_BINARY_ARM 0x8F60
1049
+ #endif /* GL_ARM_mali_shader_binary */
1050
+
1051
+ #ifndef GL_ARM_rgba8
1052
+ #define GL_ARM_rgba8 1
1053
+ #endif /* GL_ARM_rgba8 */
1054
+
1055
+ #ifndef GL_ARM_shader_framebuffer_fetch
1056
+ #define GL_ARM_shader_framebuffer_fetch 1
1057
+ #define GL_FETCH_PER_SAMPLE_ARM 0x8F65
1058
+ #define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66
1059
+ #endif /* GL_ARM_shader_framebuffer_fetch */
1060
+
1061
+ #ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil
1062
+ #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1
1063
+ #endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */
1064
+
1065
+ #ifndef GL_ARM_texture_unnormalized_coordinates
1066
+ #define GL_ARM_texture_unnormalized_coordinates 1
1067
+ #define GL_TEXTURE_UNNORMALIZED_COORDINATES_ARM 0x8F6A
1068
+ #endif /* GL_ARM_texture_unnormalized_coordinates */
1069
+
1070
+ #ifndef GL_DMP_program_binary
1071
+ #define GL_DMP_program_binary 1
1072
+ #define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251
1073
+ #define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252
1074
+ #define GL_DMP_PROGRAM_BINARY_DMP 0x9253
1075
+ #endif /* GL_DMP_program_binary */
1076
+
1077
+ #ifndef GL_DMP_shader_binary
1078
+ #define GL_DMP_shader_binary 1
1079
+ #define GL_SHADER_BINARY_DMP 0x9250
1080
+ #endif /* GL_DMP_shader_binary */
1081
+
1082
+ #ifndef GL_EXT_EGL_image_array
1083
+ #define GL_EXT_EGL_image_array 1
1084
+ #endif /* GL_EXT_EGL_image_array */
1085
+
1086
+ #ifndef GL_EXT_EGL_image_storage
1087
+ #define GL_EXT_EGL_image_storage 1
1088
+ typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
1089
+ typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
1090
+ #ifdef GL_GLEXT_PROTOTYPES
1091
+ GL_APICALL void GL_APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
1092
+ GL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
1093
+ #endif
1094
+ #endif /* GL_EXT_EGL_image_storage */
1095
+
1096
+ #ifndef GL_EXT_YUV_target
1097
+ #define GL_EXT_YUV_target 1
1098
+ #define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
1099
+ #endif /* GL_EXT_YUV_target */
1100
+
1101
+ #ifndef GL_EXT_base_instance
1102
+ #define GL_EXT_base_instance 1
1103
+ typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
1104
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
1105
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
1106
+ #ifdef GL_GLEXT_PROTOTYPES
1107
+ GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
1108
+ GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
1109
+ GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
1110
+ #endif
1111
+ #endif /* GL_EXT_base_instance */
1112
+
1113
+ #ifndef GL_EXT_blend_func_extended
1114
+ #define GL_EXT_blend_func_extended 1
1115
+ #define GL_SRC1_COLOR_EXT 0x88F9
1116
+ #define GL_SRC1_ALPHA_EXT 0x8589
1117
+ #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
1118
+ #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
1119
+ #define GL_SRC_ALPHA_SATURATE_EXT 0x0308
1120
+ #define GL_LOCATION_INDEX_EXT 0x930F
1121
+ #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
1122
+ typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1123
+ typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
1124
+ typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name);
1125
+ typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name);
1126
+ #ifdef GL_GLEXT_PROTOTYPES
1127
+ GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1128
+ GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
1129
+ GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name);
1130
+ GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name);
1131
+ #endif
1132
+ #endif /* GL_EXT_blend_func_extended */
1133
+
1134
+ #ifndef GL_EXT_blend_minmax
1135
+ #define GL_EXT_blend_minmax 1
1136
+ #define GL_MIN_EXT 0x8007
1137
+ #define GL_MAX_EXT 0x8008
1138
+ #endif /* GL_EXT_blend_minmax */
1139
+
1140
+ #ifndef GL_EXT_buffer_storage
1141
+ #define GL_EXT_buffer_storage 1
1142
+ #define GL_MAP_READ_BIT 0x0001
1143
+ #define GL_MAP_WRITE_BIT 0x0002
1144
+ #define GL_MAP_PERSISTENT_BIT_EXT 0x0040
1145
+ #define GL_MAP_COHERENT_BIT_EXT 0x0080
1146
+ #define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100
1147
+ #define GL_CLIENT_STORAGE_BIT_EXT 0x0200
1148
+ #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000
1149
+ #define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F
1150
+ #define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220
1151
+ typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
1152
+ #ifdef GL_GLEXT_PROTOTYPES
1153
+ GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
1154
+ #endif
1155
+ #endif /* GL_EXT_buffer_storage */
1156
+
1157
+ #ifndef GL_EXT_clear_texture
1158
+ #define GL_EXT_clear_texture 1
1159
+ typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
1160
+ typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
1161
+ #ifdef GL_GLEXT_PROTOTYPES
1162
+ GL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
1163
+ GL_APICALL void GL_APIENTRY glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
1164
+ #endif
1165
+ #endif /* GL_EXT_clear_texture */
1166
+
1167
+ #ifndef GL_EXT_clip_control
1168
+ #define GL_EXT_clip_control 1
1169
+ #define GL_LOWER_LEFT_EXT 0x8CA1
1170
+ #define GL_UPPER_LEFT_EXT 0x8CA2
1171
+ #define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E
1172
+ #define GL_ZERO_TO_ONE_EXT 0x935F
1173
+ #define GL_CLIP_ORIGIN_EXT 0x935C
1174
+ #define GL_CLIP_DEPTH_MODE_EXT 0x935D
1175
+ typedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC) (GLenum origin, GLenum depth);
1176
+ #ifdef GL_GLEXT_PROTOTYPES
1177
+ GL_APICALL void GL_APIENTRY glClipControlEXT (GLenum origin, GLenum depth);
1178
+ #endif
1179
+ #endif /* GL_EXT_clip_control */
1180
+
1181
+ #ifndef GL_EXT_clip_cull_distance
1182
+ #define GL_EXT_clip_cull_distance 1
1183
+ #define GL_MAX_CLIP_DISTANCES_EXT 0x0D32
1184
+ #define GL_MAX_CULL_DISTANCES_EXT 0x82F9
1185
+ #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA
1186
+ #define GL_CLIP_DISTANCE0_EXT 0x3000
1187
+ #define GL_CLIP_DISTANCE1_EXT 0x3001
1188
+ #define GL_CLIP_DISTANCE2_EXT 0x3002
1189
+ #define GL_CLIP_DISTANCE3_EXT 0x3003
1190
+ #define GL_CLIP_DISTANCE4_EXT 0x3004
1191
+ #define GL_CLIP_DISTANCE5_EXT 0x3005
1192
+ #define GL_CLIP_DISTANCE6_EXT 0x3006
1193
+ #define GL_CLIP_DISTANCE7_EXT 0x3007
1194
+ #endif /* GL_EXT_clip_cull_distance */
1195
+
1196
+ #ifndef GL_EXT_color_buffer_float
1197
+ #define GL_EXT_color_buffer_float 1
1198
+ #endif /* GL_EXT_color_buffer_float */
1199
+
1200
+ #ifndef GL_EXT_color_buffer_half_float
1201
+ #define GL_EXT_color_buffer_half_float 1
1202
+ #define GL_RGBA16F_EXT 0x881A
1203
+ #define GL_RGB16F_EXT 0x881B
1204
+ #define GL_RG16F_EXT 0x822F
1205
+ #define GL_R16F_EXT 0x822D
1206
+ #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
1207
+ #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
1208
+ #endif /* GL_EXT_color_buffer_half_float */
1209
+
1210
+ #ifndef GL_EXT_conservative_depth
1211
+ #define GL_EXT_conservative_depth 1
1212
+ #endif /* GL_EXT_conservative_depth */
1213
+
1214
+ #ifndef GL_EXT_copy_image
1215
+ #define GL_EXT_copy_image 1
1216
+ typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (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);
1217
+ #ifdef GL_GLEXT_PROTOTYPES
1218
+ GL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (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);
1219
+ #endif
1220
+ #endif /* GL_EXT_copy_image */
1221
+
1222
+ #ifndef GL_EXT_debug_label
1223
+ #define GL_EXT_debug_label 1
1224
+ #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
1225
+ #define GL_PROGRAM_OBJECT_EXT 0x8B40
1226
+ #define GL_SHADER_OBJECT_EXT 0x8B48
1227
+ #define GL_BUFFER_OBJECT_EXT 0x9151
1228
+ #define GL_QUERY_OBJECT_EXT 0x9153
1229
+ #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
1230
+ #define GL_TRANSFORM_FEEDBACK 0x8E22
1231
+ typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
1232
+ typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1233
+ #ifdef GL_GLEXT_PROTOTYPES
1234
+ GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
1235
+ GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1236
+ #endif
1237
+ #endif /* GL_EXT_debug_label */
1238
+
1239
+ #ifndef GL_EXT_debug_marker
1240
+ #define GL_EXT_debug_marker 1
1241
+ typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1242
+ typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1243
+ typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
1244
+ #ifdef GL_GLEXT_PROTOTYPES
1245
+ GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
1246
+ GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
1247
+ GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
1248
+ #endif
1249
+ #endif /* GL_EXT_debug_marker */
1250
+
1251
+ #ifndef GL_EXT_depth_clamp
1252
+ #define GL_EXT_depth_clamp 1
1253
+ #define GL_DEPTH_CLAMP_EXT 0x864F
1254
+ #endif /* GL_EXT_depth_clamp */
1255
+
1256
+ #ifndef GL_EXT_discard_framebuffer
1257
+ #define GL_EXT_discard_framebuffer 1
1258
+ #define GL_COLOR_EXT 0x1800
1259
+ #define GL_DEPTH_EXT 0x1801
1260
+ #define GL_STENCIL_EXT 0x1802
1261
+ typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
1262
+ #ifdef GL_GLEXT_PROTOTYPES
1263
+ GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
1264
+ #endif
1265
+ #endif /* GL_EXT_discard_framebuffer */
1266
+
1267
+ #ifndef GL_EXT_disjoint_timer_query
1268
+ #define GL_EXT_disjoint_timer_query 1
1269
+ #define GL_QUERY_COUNTER_BITS_EXT 0x8864
1270
+ #define GL_CURRENT_QUERY_EXT 0x8865
1271
+ #define GL_QUERY_RESULT_EXT 0x8866
1272
+ #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
1273
+ #define GL_TIME_ELAPSED_EXT 0x88BF
1274
+ #define GL_TIMESTAMP_EXT 0x8E28
1275
+ #define GL_GPU_DISJOINT_EXT 0x8FBB
1276
+ typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
1277
+ typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
1278
+ typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
1279
+ typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
1280
+ typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
1281
+ typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
1282
+ typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1283
+ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
1284
+ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
1285
+ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
1286
+ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
1287
+ typedef void (GL_APIENTRYP PFNGLGETINTEGER64VEXTPROC) (GLenum pname, GLint64 *data);
1288
+ #ifdef GL_GLEXT_PROTOTYPES
1289
+ GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
1290
+ GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
1291
+ GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
1292
+ GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
1293
+ GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
1294
+ GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
1295
+ GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params);
1296
+ GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params);
1297
+ GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
1298
+ GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
1299
+ GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
1300
+ GL_APICALL void GL_APIENTRY glGetInteger64vEXT (GLenum pname, GLint64 *data);
1301
+ #endif
1302
+ #endif /* GL_EXT_disjoint_timer_query */
1303
+
1304
+ #ifndef GL_EXT_draw_buffers
1305
+ #define GL_EXT_draw_buffers 1
1306
+ #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
1307
+ #define GL_MAX_DRAW_BUFFERS_EXT 0x8824
1308
+ #define GL_DRAW_BUFFER0_EXT 0x8825
1309
+ #define GL_DRAW_BUFFER1_EXT 0x8826
1310
+ #define GL_DRAW_BUFFER2_EXT 0x8827
1311
+ #define GL_DRAW_BUFFER3_EXT 0x8828
1312
+ #define GL_DRAW_BUFFER4_EXT 0x8829
1313
+ #define GL_DRAW_BUFFER5_EXT 0x882A
1314
+ #define GL_DRAW_BUFFER6_EXT 0x882B
1315
+ #define GL_DRAW_BUFFER7_EXT 0x882C
1316
+ #define GL_DRAW_BUFFER8_EXT 0x882D
1317
+ #define GL_DRAW_BUFFER9_EXT 0x882E
1318
+ #define GL_DRAW_BUFFER10_EXT 0x882F
1319
+ #define GL_DRAW_BUFFER11_EXT 0x8830
1320
+ #define GL_DRAW_BUFFER12_EXT 0x8831
1321
+ #define GL_DRAW_BUFFER13_EXT 0x8832
1322
+ #define GL_DRAW_BUFFER14_EXT 0x8833
1323
+ #define GL_DRAW_BUFFER15_EXT 0x8834
1324
+ #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
1325
+ #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
1326
+ #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
1327
+ #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
1328
+ #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
1329
+ #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
1330
+ #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
1331
+ #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
1332
+ #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
1333
+ #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
1334
+ #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
1335
+ #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
1336
+ #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
1337
+ #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
1338
+ #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
1339
+ #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
1340
+ typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
1341
+ #ifdef GL_GLEXT_PROTOTYPES
1342
+ GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
1343
+ #endif
1344
+ #endif /* GL_EXT_draw_buffers */
1345
+
1346
+ #ifndef GL_EXT_draw_buffers_indexed
1347
+ #define GL_EXT_draw_buffers_indexed 1
1348
+ typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index);
1349
+ typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index);
1350
+ typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode);
1351
+ typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1352
+ typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst);
1353
+ typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1354
+ typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1355
+ typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index);
1356
+ #ifdef GL_GLEXT_PROTOTYPES
1357
+ GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index);
1358
+ GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index);
1359
+ GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode);
1360
+ GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1361
+ GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst);
1362
+ GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1363
+ GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1364
+ GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index);
1365
+ #endif
1366
+ #endif /* GL_EXT_draw_buffers_indexed */
1367
+
1368
+ #ifndef GL_EXT_draw_elements_base_vertex
1369
+ #define GL_EXT_draw_elements_base_vertex 1
1370
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1371
+ typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1372
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1373
+ #ifdef GL_GLEXT_PROTOTYPES
1374
+ GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1375
+ GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1376
+ GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1377
+ #endif
1378
+ #endif /* GL_EXT_draw_elements_base_vertex */
1379
+
1380
+ #ifndef GL_EXT_draw_instanced
1381
+ #define GL_EXT_draw_instanced 1
1382
+ typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1383
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1384
+ #ifdef GL_GLEXT_PROTOTYPES
1385
+ GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1386
+ GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1387
+ #endif
1388
+ #endif /* GL_EXT_draw_instanced */
1389
+
1390
+ #ifndef GL_EXT_draw_transform_feedback
1391
+ #define GL_EXT_draw_transform_feedback 1
1392
+ typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) (GLenum mode, GLuint id);
1393
+ typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) (GLenum mode, GLuint id, GLsizei instancecount);
1394
+ #ifdef GL_GLEXT_PROTOTYPES
1395
+ GL_APICALL void GL_APIENTRY glDrawTransformFeedbackEXT (GLenum mode, GLuint id);
1396
+ GL_APICALL void GL_APIENTRY glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount);
1397
+ #endif
1398
+ #endif /* GL_EXT_draw_transform_feedback */
1399
+
1400
+ #ifndef GL_EXT_external_buffer
1401
+ #define GL_EXT_external_buffer 1
1402
+ typedef void *GLeglClientBufferEXT;
1403
+ typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1404
+ typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1405
+ #ifdef GL_GLEXT_PROTOTYPES
1406
+ GL_APICALL void GL_APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1407
+ GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1408
+ #endif
1409
+ #endif /* GL_EXT_external_buffer */
1410
+
1411
+ #ifndef GL_EXT_float_blend
1412
+ #define GL_EXT_float_blend 1
1413
+ #endif /* GL_EXT_float_blend */
1414
+
1415
+ #ifndef GL_EXT_geometry_point_size
1416
+ #define GL_EXT_geometry_point_size 1
1417
+ #endif /* GL_EXT_geometry_point_size */
1418
+
1419
+ #ifndef GL_EXT_geometry_shader
1420
+ #define GL_EXT_geometry_shader 1
1421
+ #define GL_GEOMETRY_SHADER_EXT 0x8DD9
1422
+ #define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004
1423
+ #define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916
1424
+ #define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917
1425
+ #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918
1426
+ #define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F
1427
+ #define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E
1428
+ #define GL_LINES_ADJACENCY_EXT 0x000A
1429
+ #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
1430
+ #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
1431
+ #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
1432
+ #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
1433
+ #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C
1434
+ #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32
1435
+ #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123
1436
+ #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124
1437
+ #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
1438
+ #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
1439
+ #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A
1440
+ #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
1441
+ #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF
1442
+ #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5
1443
+ #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD
1444
+ #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7
1445
+ #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
1446
+ #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
1447
+ #define GL_UNDEFINED_VERTEX_EXT 0x8260
1448
+ #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
1449
+ #define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312
1450
+ #define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317
1451
+ #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
1452
+ #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
1453
+ #define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309
1454
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1455
+ #ifdef GL_GLEXT_PROTOTYPES
1456
+ GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
1457
+ #endif
1458
+ #endif /* GL_EXT_geometry_shader */
1459
+
1460
+ #ifndef GL_EXT_gpu_shader5
1461
+ #define GL_EXT_gpu_shader5 1
1462
+ #endif /* GL_EXT_gpu_shader5 */
1463
+
1464
+ #ifndef GL_EXT_instanced_arrays
1465
+ #define GL_EXT_instanced_arrays 1
1466
+ #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE
1467
+ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor);
1468
+ #ifdef GL_GLEXT_PROTOTYPES
1469
+ GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor);
1470
+ #endif
1471
+ #endif /* GL_EXT_instanced_arrays */
1472
+
1473
+ #ifndef GL_EXT_map_buffer_range
1474
+ #define GL_EXT_map_buffer_range 1
1475
+ #define GL_MAP_READ_BIT_EXT 0x0001
1476
+ #define GL_MAP_WRITE_BIT_EXT 0x0002
1477
+ #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
1478
+ #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
1479
+ #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
1480
+ #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
1481
+ typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1482
+ typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1483
+ #ifdef GL_GLEXT_PROTOTYPES
1484
+ GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1485
+ GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
1486
+ #endif
1487
+ #endif /* GL_EXT_map_buffer_range */
1488
+
1489
+ #ifndef GL_EXT_memory_object
1490
+ #define GL_EXT_memory_object 1
1491
+ #define GL_TEXTURE_TILING_EXT 0x9580
1492
+ #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
1493
+ #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
1494
+ #define GL_NUM_TILING_TYPES_EXT 0x9582
1495
+ #define GL_TILING_TYPES_EXT 0x9583
1496
+ #define GL_OPTIMAL_TILING_EXT 0x9584
1497
+ #define GL_LINEAR_TILING_EXT 0x9585
1498
+ #define GL_NUM_DEVICE_UUIDS_EXT 0x9596
1499
+ #define GL_DEVICE_UUID_EXT 0x9597
1500
+ #define GL_DRIVER_UUID_EXT 0x9598
1501
+ #define GL_UUID_SIZE_EXT 16
1502
+ typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
1503
+ typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
1504
+ typedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
1505
+ typedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
1506
+ typedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
1507
+ typedef void (GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
1508
+ typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
1509
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1510
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1511
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1512
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1513
+ typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
1514
+ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1515
+ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1516
+ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1517
+ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1518
+ typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1519
+ #ifdef GL_GLEXT_PROTOTYPES
1520
+ GL_APICALL void GL_APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
1521
+ GL_APICALL void GL_APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
1522
+ GL_APICALL void GL_APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
1523
+ GL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
1524
+ GL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
1525
+ GL_APICALL void GL_APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
1526
+ GL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
1527
+ GL_APICALL void GL_APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1528
+ GL_APICALL void GL_APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1529
+ GL_APICALL void GL_APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1530
+ GL_APICALL void GL_APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1531
+ GL_APICALL void GL_APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
1532
+ GL_APICALL void GL_APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1533
+ GL_APICALL void GL_APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1534
+ GL_APICALL void GL_APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1535
+ GL_APICALL void GL_APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1536
+ GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1537
+ #endif
1538
+ #endif /* GL_EXT_memory_object */
1539
+
1540
+ #ifndef GL_EXT_memory_object_fd
1541
+ #define GL_EXT_memory_object_fd 1
1542
+ #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
1543
+ typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
1544
+ #ifdef GL_GLEXT_PROTOTYPES
1545
+ GL_APICALL void GL_APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
1546
+ #endif
1547
+ #endif /* GL_EXT_memory_object_fd */
1548
+
1549
+ #ifndef GL_EXT_memory_object_win32
1550
+ #define GL_EXT_memory_object_win32 1
1551
+ #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
1552
+ #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
1553
+ #define GL_DEVICE_LUID_EXT 0x9599
1554
+ #define GL_DEVICE_NODE_MASK_EXT 0x959A
1555
+ #define GL_LUID_SIZE_EXT 8
1556
+ #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
1557
+ #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
1558
+ #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
1559
+ #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
1560
+ typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
1561
+ typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
1562
+ #ifdef GL_GLEXT_PROTOTYPES
1563
+ GL_APICALL void GL_APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
1564
+ GL_APICALL void GL_APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
1565
+ #endif
1566
+ #endif /* GL_EXT_memory_object_win32 */
1567
+
1568
+ #ifndef GL_EXT_multi_draw_arrays
1569
+ #define GL_EXT_multi_draw_arrays 1
1570
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1571
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
1572
+ #ifdef GL_GLEXT_PROTOTYPES
1573
+ GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1574
+ GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
1575
+ #endif
1576
+ #endif /* GL_EXT_multi_draw_arrays */
1577
+
1578
+ #ifndef GL_EXT_multi_draw_indirect
1579
+ #define GL_EXT_multi_draw_indirect 1
1580
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
1581
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
1582
+ #ifdef GL_GLEXT_PROTOTYPES
1583
+ GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
1584
+ GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
1585
+ #endif
1586
+ #endif /* GL_EXT_multi_draw_indirect */
1587
+
1588
+ #ifndef GL_EXT_multisampled_compatibility
1589
+ #define GL_EXT_multisampled_compatibility 1
1590
+ #define GL_MULTISAMPLE_EXT 0x809D
1591
+ #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1592
+ #endif /* GL_EXT_multisampled_compatibility */
1593
+
1594
+ #ifndef GL_EXT_multisampled_render_to_texture
1595
+ #define GL_EXT_multisampled_render_to_texture 1
1596
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
1597
+ #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
1598
+ #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
1599
+ #define GL_MAX_SAMPLES_EXT 0x8D57
1600
+ typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1601
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1602
+ #ifdef GL_GLEXT_PROTOTYPES
1603
+ GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1604
+ GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1605
+ #endif
1606
+ #endif /* GL_EXT_multisampled_render_to_texture */
1607
+
1608
+ #ifndef GL_EXT_multisampled_render_to_texture2
1609
+ #define GL_EXT_multisampled_render_to_texture2 1
1610
+ #endif /* GL_EXT_multisampled_render_to_texture2 */
1611
+
1612
+ #ifndef GL_EXT_multiview_draw_buffers
1613
+ #define GL_EXT_multiview_draw_buffers 1
1614
+ #define GL_COLOR_ATTACHMENT_EXT 0x90F0
1615
+ #define GL_MULTIVIEW_EXT 0x90F1
1616
+ #define GL_DRAW_BUFFER_EXT 0x0C01
1617
+ #define GL_READ_BUFFER_EXT 0x0C02
1618
+ #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
1619
+ typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
1620
+ typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
1621
+ typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
1622
+ #ifdef GL_GLEXT_PROTOTYPES
1623
+ GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
1624
+ GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
1625
+ GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);
1626
+ #endif
1627
+ #endif /* GL_EXT_multiview_draw_buffers */
1628
+
1629
+ #ifndef GL_EXT_multiview_tessellation_geometry_shader
1630
+ #define GL_EXT_multiview_tessellation_geometry_shader 1
1631
+ #endif /* GL_EXT_multiview_tessellation_geometry_shader */
1632
+
1633
+ #ifndef GL_EXT_multiview_texture_multisample
1634
+ #define GL_EXT_multiview_texture_multisample 1
1635
+ #endif /* GL_EXT_multiview_texture_multisample */
1636
+
1637
+ #ifndef GL_EXT_multiview_timer_query
1638
+ #define GL_EXT_multiview_timer_query 1
1639
+ #endif /* GL_EXT_multiview_timer_query */
1640
+
1641
+ #ifndef GL_EXT_occlusion_query_boolean
1642
+ #define GL_EXT_occlusion_query_boolean 1
1643
+ #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
1644
+ #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
1645
+ #endif /* GL_EXT_occlusion_query_boolean */
1646
+
1647
+ #ifndef GL_EXT_polygon_offset_clamp
1648
+ #define GL_EXT_polygon_offset_clamp 1
1649
+ #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
1650
+ typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
1651
+ #ifdef GL_GLEXT_PROTOTYPES
1652
+ GL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
1653
+ #endif
1654
+ #endif /* GL_EXT_polygon_offset_clamp */
1655
+
1656
+ #ifndef GL_EXT_post_depth_coverage
1657
+ #define GL_EXT_post_depth_coverage 1
1658
+ #endif /* GL_EXT_post_depth_coverage */
1659
+
1660
+ #ifndef GL_EXT_primitive_bounding_box
1661
+ #define GL_EXT_primitive_bounding_box 1
1662
+ #define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
1663
+ typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1664
+ #ifdef GL_GLEXT_PROTOTYPES
1665
+ GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1666
+ #endif
1667
+ #endif /* GL_EXT_primitive_bounding_box */
1668
+
1669
+ #ifndef GL_EXT_protected_textures
1670
+ #define GL_EXT_protected_textures 1
1671
+ #define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010
1672
+ #define GL_TEXTURE_PROTECTED_EXT 0x8BFA
1673
+ #endif /* GL_EXT_protected_textures */
1674
+
1675
+ #ifndef GL_EXT_pvrtc_sRGB
1676
+ #define GL_EXT_pvrtc_sRGB 1
1677
+ #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54
1678
+ #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55
1679
+ #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
1680
+ #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
1681
+ #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0
1682
+ #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1
1683
+ #endif /* GL_EXT_pvrtc_sRGB */
1684
+
1685
+ #ifndef GL_EXT_raster_multisample
1686
+ #define GL_EXT_raster_multisample 1
1687
+ #define GL_RASTER_MULTISAMPLE_EXT 0x9327
1688
+ #define GL_RASTER_SAMPLES_EXT 0x9328
1689
+ #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
1690
+ #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
1691
+ #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
1692
+ #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
1693
+ typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
1694
+ #ifdef GL_GLEXT_PROTOTYPES
1695
+ GL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
1696
+ #endif
1697
+ #endif /* GL_EXT_raster_multisample */
1698
+
1699
+ #ifndef GL_EXT_read_format_bgra
1700
+ #define GL_EXT_read_format_bgra 1
1701
+ #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
1702
+ #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
1703
+ #endif /* GL_EXT_read_format_bgra */
1704
+
1705
+ #ifndef GL_EXT_render_snorm
1706
+ #define GL_EXT_render_snorm 1
1707
+ #define GL_R8_SNORM 0x8F94
1708
+ #define GL_RG8_SNORM 0x8F95
1709
+ #define GL_RGBA8_SNORM 0x8F97
1710
+ #define GL_R16_SNORM_EXT 0x8F98
1711
+ #define GL_RG16_SNORM_EXT 0x8F99
1712
+ #define GL_RGBA16_SNORM_EXT 0x8F9B
1713
+ #endif /* GL_EXT_render_snorm */
1714
+
1715
+ #ifndef GL_EXT_robustness
1716
+ #define GL_EXT_robustness 1
1717
+ #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
1718
+ #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
1719
+ #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
1720
+ #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
1721
+ #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
1722
+ #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
1723
+ #define GL_NO_RESET_NOTIFICATION_EXT 0x8261
1724
+ typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
1725
+ typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1726
+ typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1727
+ typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1728
+ #ifdef GL_GLEXT_PROTOTYPES
1729
+ GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
1730
+ GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1731
+ GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1732
+ GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1733
+ #endif
1734
+ #endif /* GL_EXT_robustness */
1735
+
1736
+ #ifndef GL_EXT_sRGB
1737
+ #define GL_EXT_sRGB 1
1738
+ #define GL_SRGB_EXT 0x8C40
1739
+ #define GL_SRGB_ALPHA_EXT 0x8C42
1740
+ #define GL_SRGB8_ALPHA8_EXT 0x8C43
1741
+ #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
1742
+ #endif /* GL_EXT_sRGB */
1743
+
1744
+ #ifndef GL_EXT_sRGB_write_control
1745
+ #define GL_EXT_sRGB_write_control 1
1746
+ #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
1747
+ #endif /* GL_EXT_sRGB_write_control */
1748
+
1749
+ #ifndef GL_EXT_semaphore
1750
+ #define GL_EXT_semaphore 1
1751
+ #define GL_LAYOUT_GENERAL_EXT 0x958D
1752
+ #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
1753
+ #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
1754
+ #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
1755
+ #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
1756
+ #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
1757
+ #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
1758
+ #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
1759
+ #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
1760
+ typedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
1761
+ typedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
1762
+ typedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
1763
+ typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
1764
+ typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
1765
+ typedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
1766
+ typedef void (GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
1767
+ #ifdef GL_GLEXT_PROTOTYPES
1768
+ GL_APICALL void GL_APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
1769
+ GL_APICALL void GL_APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
1770
+ GL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT (GLuint semaphore);
1771
+ GL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
1772
+ GL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
1773
+ GL_APICALL void GL_APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
1774
+ GL_APICALL void GL_APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
1775
+ #endif
1776
+ #endif /* GL_EXT_semaphore */
1777
+
1778
+ #ifndef GL_EXT_semaphore_fd
1779
+ #define GL_EXT_semaphore_fd 1
1780
+ typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
1781
+ #ifdef GL_GLEXT_PROTOTYPES
1782
+ GL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
1783
+ #endif
1784
+ #endif /* GL_EXT_semaphore_fd */
1785
+
1786
+ #ifndef GL_EXT_semaphore_win32
1787
+ #define GL_EXT_semaphore_win32 1
1788
+ #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
1789
+ #define GL_D3D12_FENCE_VALUE_EXT 0x9595
1790
+ typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
1791
+ typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
1792
+ #ifdef GL_GLEXT_PROTOTYPES
1793
+ GL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
1794
+ GL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
1795
+ #endif
1796
+ #endif /* GL_EXT_semaphore_win32 */
1797
+
1798
+ #ifndef GL_EXT_separate_shader_objects
1799
+ #define GL_EXT_separate_shader_objects 1
1800
+ #define GL_ACTIVE_PROGRAM_EXT 0x8259
1801
+ #define GL_VERTEX_SHADER_BIT_EXT 0x00000001
1802
+ #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
1803
+ #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
1804
+ #define GL_PROGRAM_SEPARABLE_EXT 0x8258
1805
+ #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
1806
+ typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);
1807
+ typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1808
+ typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);
1809
+ typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);
1810
+ typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);
1811
+ typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1812
+ typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);
1813
+ typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1814
+ typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
1815
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
1816
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1817
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
1818
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1819
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1820
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1821
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1822
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1823
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1824
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1825
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1826
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1827
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1828
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1829
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1830
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1831
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1832
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1833
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1834
+ typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1835
+ typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1836
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
1837
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1838
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1839
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1840
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1841
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1842
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1843
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1844
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1845
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1846
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1847
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1848
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1849
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1850
+ #ifdef GL_GLEXT_PROTOTYPES
1851
+ GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);
1852
+ GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
1853
+ GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
1854
+ GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);
1855
+ GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);
1856
+ GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1857
+ GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);
1858
+ GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
1859
+ GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
1860
+ GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
1861
+ GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1862
+ GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
1863
+ GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1864
+ GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1865
+ GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1866
+ GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
1867
+ GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1868
+ GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1869
+ GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1870
+ GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1871
+ GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1872
+ GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1873
+ GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1874
+ GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1875
+ GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1876
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1877
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1878
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1879
+ GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
1880
+ GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
1881
+ GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
1882
+ GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
1883
+ GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1884
+ GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1885
+ GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1886
+ GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1887
+ GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1888
+ GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1889
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1890
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1891
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1892
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1893
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1894
+ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1895
+ #endif
1896
+ #endif /* GL_EXT_separate_shader_objects */
1897
+
1898
+ #ifndef GL_EXT_shader_framebuffer_fetch
1899
+ #define GL_EXT_shader_framebuffer_fetch 1
1900
+ #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
1901
+ #endif /* GL_EXT_shader_framebuffer_fetch */
1902
+
1903
+ #ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
1904
+ #define GL_EXT_shader_framebuffer_fetch_non_coherent 1
1905
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
1906
+ #ifdef GL_GLEXT_PROTOTYPES
1907
+ GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierEXT (void);
1908
+ #endif
1909
+ #endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
1910
+
1911
+ #ifndef GL_EXT_shader_group_vote
1912
+ #define GL_EXT_shader_group_vote 1
1913
+ #endif /* GL_EXT_shader_group_vote */
1914
+
1915
+ #ifndef GL_EXT_shader_implicit_conversions
1916
+ #define GL_EXT_shader_implicit_conversions 1
1917
+ #endif /* GL_EXT_shader_implicit_conversions */
1918
+
1919
+ #ifndef GL_EXT_shader_integer_mix
1920
+ #define GL_EXT_shader_integer_mix 1
1921
+ #endif /* GL_EXT_shader_integer_mix */
1922
+
1923
+ #ifndef GL_EXT_shader_io_blocks
1924
+ #define GL_EXT_shader_io_blocks 1
1925
+ #endif /* GL_EXT_shader_io_blocks */
1926
+
1927
+ #ifndef GL_EXT_shader_non_constant_global_initializers
1928
+ #define GL_EXT_shader_non_constant_global_initializers 1
1929
+ #endif /* GL_EXT_shader_non_constant_global_initializers */
1930
+
1931
+ #ifndef GL_EXT_shader_pixel_local_storage
1932
+ #define GL_EXT_shader_pixel_local_storage 1
1933
+ #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63
1934
+ #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67
1935
+ #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64
1936
+ #endif /* GL_EXT_shader_pixel_local_storage */
1937
+
1938
+ #ifndef GL_EXT_shader_pixel_local_storage2
1939
+ #define GL_EXT_shader_pixel_local_storage2 1
1940
+ #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650
1941
+ #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651
1942
+ #define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652
1943
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size);
1944
+ typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target);
1945
+ typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values);
1946
+ #ifdef GL_GLEXT_PROTOTYPES
1947
+ GL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size);
1948
+ GL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target);
1949
+ GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values);
1950
+ #endif
1951
+ #endif /* GL_EXT_shader_pixel_local_storage2 */
1952
+
1953
+ #ifndef GL_EXT_shader_texture_lod
1954
+ #define GL_EXT_shader_texture_lod 1
1955
+ #endif /* GL_EXT_shader_texture_lod */
1956
+
1957
+ #ifndef GL_EXT_shadow_samplers
1958
+ #define GL_EXT_shadow_samplers 1
1959
+ #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
1960
+ #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
1961
+ #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
1962
+ #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
1963
+ #endif /* GL_EXT_shadow_samplers */
1964
+
1965
+ #ifndef GL_EXT_sparse_texture
1966
+ #define GL_EXT_sparse_texture 1
1967
+ #define GL_TEXTURE_SPARSE_EXT 0x91A6
1968
+ #define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7
1969
+ #define GL_NUM_SPARSE_LEVELS_EXT 0x91AA
1970
+ #define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8
1971
+ #define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195
1972
+ #define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196
1973
+ #define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197
1974
+ #define GL_TEXTURE_2D_ARRAY 0x8C1A
1975
+ #define GL_TEXTURE_3D 0x806F
1976
+ #define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198
1977
+ #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199
1978
+ #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A
1979
+ #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9
1980
+ typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
1981
+ #ifdef GL_GLEXT_PROTOTYPES
1982
+ GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
1983
+ #endif
1984
+ #endif /* GL_EXT_sparse_texture */
1985
+
1986
+ #ifndef GL_EXT_sparse_texture2
1987
+ #define GL_EXT_sparse_texture2 1
1988
+ #endif /* GL_EXT_sparse_texture2 */
1989
+
1990
+ #ifndef GL_EXT_tessellation_point_size
1991
+ #define GL_EXT_tessellation_point_size 1
1992
+ #endif /* GL_EXT_tessellation_point_size */
1993
+
1994
+ #ifndef GL_EXT_tessellation_shader
1995
+ #define GL_EXT_tessellation_shader 1
1996
+ #define GL_PATCHES_EXT 0x000E
1997
+ #define GL_PATCH_VERTICES_EXT 0x8E72
1998
+ #define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75
1999
+ #define GL_TESS_GEN_MODE_EXT 0x8E76
2000
+ #define GL_TESS_GEN_SPACING_EXT 0x8E77
2001
+ #define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78
2002
+ #define GL_TESS_GEN_POINT_MODE_EXT 0x8E79
2003
+ #define GL_ISOLINES_EXT 0x8E7A
2004
+ #define GL_QUADS_EXT 0x0007
2005
+ #define GL_FRACTIONAL_ODD_EXT 0x8E7B
2006
+ #define GL_FRACTIONAL_EVEN_EXT 0x8E7C
2007
+ #define GL_MAX_PATCH_VERTICES_EXT 0x8E7D
2008
+ #define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E
2009
+ #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F
2010
+ #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80
2011
+ #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81
2012
+ #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
2013
+ #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83
2014
+ #define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84
2015
+ #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85
2016
+ #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86
2017
+ #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89
2018
+ #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A
2019
+ #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C
2020
+ #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D
2021
+ #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E
2022
+ #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
2023
+ #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
2024
+ #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE
2025
+ #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3
2026
+ #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4
2027
+ #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB
2028
+ #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC
2029
+ #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8
2030
+ #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9
2031
+ #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2032
+ #define GL_IS_PER_PATCH_EXT 0x92E7
2033
+ #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307
2034
+ #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308
2035
+ #define GL_TESS_CONTROL_SHADER_EXT 0x8E88
2036
+ #define GL_TESS_EVALUATION_SHADER_EXT 0x8E87
2037
+ #define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008
2038
+ #define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010
2039
+ typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value);
2040
+ #ifdef GL_GLEXT_PROTOTYPES
2041
+ GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value);
2042
+ #endif
2043
+ #endif /* GL_EXT_tessellation_shader */
2044
+
2045
+ #ifndef GL_EXT_texture_border_clamp
2046
+ #define GL_EXT_texture_border_clamp 1
2047
+ #define GL_TEXTURE_BORDER_COLOR_EXT 0x1004
2048
+ #define GL_CLAMP_TO_BORDER_EXT 0x812D
2049
+ typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
2050
+ typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
2051
+ typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
2052
+ typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
2053
+ typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param);
2054
+ typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param);
2055
+ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params);
2056
+ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params);
2057
+ #ifdef GL_GLEXT_PROTOTYPES
2058
+ GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
2059
+ GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
2060
+ GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
2061
+ GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
2062
+ GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param);
2063
+ GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param);
2064
+ GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params);
2065
+ GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params);
2066
+ #endif
2067
+ #endif /* GL_EXT_texture_border_clamp */
2068
+
2069
+ #ifndef GL_EXT_texture_buffer
2070
+ #define GL_EXT_texture_buffer 1
2071
+ #define GL_TEXTURE_BUFFER_EXT 0x8C2A
2072
+ #define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A
2073
+ #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
2074
+ #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
2075
+ #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
2076
+ #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F
2077
+ #define GL_SAMPLER_BUFFER_EXT 0x8DC2
2078
+ #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
2079
+ #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
2080
+ #define GL_IMAGE_BUFFER_EXT 0x9051
2081
+ #define GL_INT_IMAGE_BUFFER_EXT 0x905C
2082
+ #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
2083
+ #define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D
2084
+ #define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E
2085
+ typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
2086
+ typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2087
+ #ifdef GL_GLEXT_PROTOTYPES
2088
+ GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
2089
+ GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2090
+ #endif
2091
+ #endif /* GL_EXT_texture_buffer */
2092
+
2093
+ #ifndef GL_EXT_texture_compression_astc_decode_mode
2094
+ #define GL_EXT_texture_compression_astc_decode_mode 1
2095
+ #define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69
2096
+ #endif /* GL_EXT_texture_compression_astc_decode_mode */
2097
+
2098
+ #ifndef GL_EXT_texture_compression_bptc
2099
+ #define GL_EXT_texture_compression_bptc 1
2100
+ #define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C
2101
+ #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D
2102
+ #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E
2103
+ #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F
2104
+ #endif /* GL_EXT_texture_compression_bptc */
2105
+
2106
+ #ifndef GL_EXT_texture_compression_dxt1
2107
+ #define GL_EXT_texture_compression_dxt1 1
2108
+ #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
2109
+ #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
2110
+ #endif /* GL_EXT_texture_compression_dxt1 */
2111
+
2112
+ #ifndef GL_EXT_texture_compression_rgtc
2113
+ #define GL_EXT_texture_compression_rgtc 1
2114
+ #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
2115
+ #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
2116
+ #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
2117
+ #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
2118
+ #endif /* GL_EXT_texture_compression_rgtc */
2119
+
2120
+ #ifndef GL_EXT_texture_compression_s3tc
2121
+ #define GL_EXT_texture_compression_s3tc 1
2122
+ #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
2123
+ #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
2124
+ #endif /* GL_EXT_texture_compression_s3tc */
2125
+
2126
+ #ifndef GL_EXT_texture_compression_s3tc_srgb
2127
+ #define GL_EXT_texture_compression_s3tc_srgb 1
2128
+ #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
2129
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
2130
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
2131
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
2132
+ #endif /* GL_EXT_texture_compression_s3tc_srgb */
2133
+
2134
+ #ifndef GL_EXT_texture_cube_map_array
2135
+ #define GL_EXT_texture_cube_map_array 1
2136
+ #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009
2137
+ #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A
2138
+ #define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C
2139
+ #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D
2140
+ #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E
2141
+ #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F
2142
+ #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
2143
+ #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
2144
+ #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
2145
+ #endif /* GL_EXT_texture_cube_map_array */
2146
+
2147
+ #ifndef GL_EXT_texture_filter_anisotropic
2148
+ #define GL_EXT_texture_filter_anisotropic 1
2149
+ #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
2150
+ #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
2151
+ #endif /* GL_EXT_texture_filter_anisotropic */
2152
+
2153
+ #ifndef GL_EXT_texture_filter_minmax
2154
+ #define GL_EXT_texture_filter_minmax 1
2155
+ #define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
2156
+ #define GL_WEIGHTED_AVERAGE_EXT 0x9367
2157
+ #endif /* GL_EXT_texture_filter_minmax */
2158
+
2159
+ #ifndef GL_EXT_texture_format_BGRA8888
2160
+ #define GL_EXT_texture_format_BGRA8888 1
2161
+ #endif /* GL_EXT_texture_format_BGRA8888 */
2162
+
2163
+ #ifndef GL_EXT_texture_format_sRGB_override
2164
+ #define GL_EXT_texture_format_sRGB_override 1
2165
+ #define GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT 0x8FBF
2166
+ #endif /* GL_EXT_texture_format_sRGB_override */
2167
+
2168
+ #ifndef GL_EXT_texture_mirror_clamp_to_edge
2169
+ #define GL_EXT_texture_mirror_clamp_to_edge 1
2170
+ #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
2171
+ #endif /* GL_EXT_texture_mirror_clamp_to_edge */
2172
+
2173
+ #ifndef GL_EXT_texture_norm16
2174
+ #define GL_EXT_texture_norm16 1
2175
+ #define GL_R16_EXT 0x822A
2176
+ #define GL_RG16_EXT 0x822C
2177
+ #define GL_RGBA16_EXT 0x805B
2178
+ #define GL_RGB16_EXT 0x8054
2179
+ #define GL_RGB16_SNORM_EXT 0x8F9A
2180
+ #endif /* GL_EXT_texture_norm16 */
2181
+
2182
+ #ifndef GL_EXT_texture_query_lod
2183
+ #define GL_EXT_texture_query_lod 1
2184
+ #endif /* GL_EXT_texture_query_lod */
2185
+
2186
+ #ifndef GL_EXT_texture_rg
2187
+ #define GL_EXT_texture_rg 1
2188
+ #define GL_RED_EXT 0x1903
2189
+ #define GL_RG_EXT 0x8227
2190
+ #define GL_R8_EXT 0x8229
2191
+ #define GL_RG8_EXT 0x822B
2192
+ #endif /* GL_EXT_texture_rg */
2193
+
2194
+ #ifndef GL_EXT_texture_sRGB_R8
2195
+ #define GL_EXT_texture_sRGB_R8 1
2196
+ #define GL_SR8_EXT 0x8FBD
2197
+ #endif /* GL_EXT_texture_sRGB_R8 */
2198
+
2199
+ #ifndef GL_EXT_texture_sRGB_RG8
2200
+ #define GL_EXT_texture_sRGB_RG8 1
2201
+ #define GL_SRG8_EXT 0x8FBE
2202
+ #endif /* GL_EXT_texture_sRGB_RG8 */
2203
+
2204
+ #ifndef GL_EXT_texture_sRGB_decode
2205
+ #define GL_EXT_texture_sRGB_decode 1
2206
+ #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
2207
+ #define GL_DECODE_EXT 0x8A49
2208
+ #define GL_SKIP_DECODE_EXT 0x8A4A
2209
+ #endif /* GL_EXT_texture_sRGB_decode */
2210
+
2211
+ #ifndef GL_EXT_texture_shadow_lod
2212
+ #define GL_EXT_texture_shadow_lod 1
2213
+ #endif /* GL_EXT_texture_shadow_lod */
2214
+
2215
+ #ifndef GL_EXT_texture_storage
2216
+ #define GL_EXT_texture_storage 1
2217
+ #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
2218
+ #define GL_ALPHA8_EXT 0x803C
2219
+ #define GL_LUMINANCE8_EXT 0x8040
2220
+ #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
2221
+ #define GL_RGBA32F_EXT 0x8814
2222
+ #define GL_RGB32F_EXT 0x8815
2223
+ #define GL_ALPHA32F_EXT 0x8816
2224
+ #define GL_LUMINANCE32F_EXT 0x8818
2225
+ #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
2226
+ #define GL_ALPHA16F_EXT 0x881C
2227
+ #define GL_LUMINANCE16F_EXT 0x881E
2228
+ #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
2229
+ #define GL_R32F_EXT 0x822E
2230
+ #define GL_RG32F_EXT 0x8230
2231
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2232
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2233
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2234
+ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2235
+ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2236
+ typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2237
+ #ifdef GL_GLEXT_PROTOTYPES
2238
+ GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2239
+ GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2240
+ GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2241
+ GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2242
+ GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2243
+ GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2244
+ #endif
2245
+ #endif /* GL_EXT_texture_storage */
2246
+
2247
+ #ifndef GL_EXT_texture_type_2_10_10_10_REV
2248
+ #define GL_EXT_texture_type_2_10_10_10_REV 1
2249
+ #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
2250
+ #endif /* GL_EXT_texture_type_2_10_10_10_REV */
2251
+
2252
+ #ifndef GL_EXT_texture_view
2253
+ #define GL_EXT_texture_view 1
2254
+ #define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB
2255
+ #define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC
2256
+ #define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD
2257
+ #define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE
2258
+ typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2259
+ #ifdef GL_GLEXT_PROTOTYPES
2260
+ GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2261
+ #endif
2262
+ #endif /* GL_EXT_texture_view */
2263
+
2264
+ #ifndef GL_EXT_unpack_subimage
2265
+ #define GL_EXT_unpack_subimage 1
2266
+ #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
2267
+ #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
2268
+ #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
2269
+ #endif /* GL_EXT_unpack_subimage */
2270
+
2271
+ #ifndef GL_EXT_win32_keyed_mutex
2272
+ #define GL_EXT_win32_keyed_mutex 1
2273
+ typedef GLboolean (GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
2274
+ typedef GLboolean (GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
2275
+ #ifdef GL_GLEXT_PROTOTYPES
2276
+ GL_APICALL GLboolean GL_APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
2277
+ GL_APICALL GLboolean GL_APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
2278
+ #endif
2279
+ #endif /* GL_EXT_win32_keyed_mutex */
2280
+
2281
+ #ifndef GL_EXT_window_rectangles
2282
+ #define GL_EXT_window_rectangles 1
2283
+ #define GL_INCLUSIVE_EXT 0x8F10
2284
+ #define GL_EXCLUSIVE_EXT 0x8F11
2285
+ #define GL_WINDOW_RECTANGLE_EXT 0x8F12
2286
+ #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
2287
+ #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
2288
+ #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
2289
+ typedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
2290
+ #ifdef GL_GLEXT_PROTOTYPES
2291
+ GL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
2292
+ #endif
2293
+ #endif /* GL_EXT_window_rectangles */
2294
+
2295
+ #ifndef GL_FJ_shader_binary_GCCSO
2296
+ #define GL_FJ_shader_binary_GCCSO 1
2297
+ #define GL_GCCSO_SHADER_BINARY_FJ 0x9260
2298
+ #endif /* GL_FJ_shader_binary_GCCSO */
2299
+
2300
+ #ifndef GL_IMG_bindless_texture
2301
+ #define GL_IMG_bindless_texture 1
2302
+ typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) (GLuint texture);
2303
+ typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) (GLuint texture, GLuint sampler);
2304
+ typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) (GLint location, GLuint64 value);
2305
+ typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) (GLint location, GLsizei count, const GLuint64 *value);
2306
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) (GLuint program, GLint location, GLuint64 value);
2307
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2308
+ #ifdef GL_GLEXT_PROTOTYPES
2309
+ GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleIMG (GLuint texture);
2310
+ GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler);
2311
+ GL_APICALL void GL_APIENTRY glUniformHandleui64IMG (GLint location, GLuint64 value);
2312
+ GL_APICALL void GL_APIENTRY glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 *value);
2313
+ GL_APICALL void GL_APIENTRY glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value);
2314
+ GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2315
+ #endif
2316
+ #endif /* GL_IMG_bindless_texture */
2317
+
2318
+ #ifndef GL_IMG_framebuffer_downsample
2319
+ #define GL_IMG_framebuffer_downsample 1
2320
+ #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C
2321
+ #define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D
2322
+ #define GL_DOWNSAMPLE_SCALES_IMG 0x913E
2323
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F
2324
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2325
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2326
+ #ifdef GL_GLEXT_PROTOTYPES
2327
+ GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2328
+ GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2329
+ #endif
2330
+ #endif /* GL_IMG_framebuffer_downsample */
2331
+
2332
+ #ifndef GL_IMG_multisampled_render_to_texture
2333
+ #define GL_IMG_multisampled_render_to_texture 1
2334
+ #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
2335
+ #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
2336
+ #define GL_MAX_SAMPLES_IMG 0x9135
2337
+ #define GL_TEXTURE_SAMPLES_IMG 0x9136
2338
+ typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2339
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
2340
+ #ifdef GL_GLEXT_PROTOTYPES
2341
+ GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2342
+ GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
2343
+ #endif
2344
+ #endif /* GL_IMG_multisampled_render_to_texture */
2345
+
2346
+ #ifndef GL_IMG_program_binary
2347
+ #define GL_IMG_program_binary 1
2348
+ #define GL_SGX_PROGRAM_BINARY_IMG 0x9130
2349
+ #endif /* GL_IMG_program_binary */
2350
+
2351
+ #ifndef GL_IMG_read_format
2352
+ #define GL_IMG_read_format 1
2353
+ #define GL_BGRA_IMG 0x80E1
2354
+ #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
2355
+ #endif /* GL_IMG_read_format */
2356
+
2357
+ #ifndef GL_IMG_shader_binary
2358
+ #define GL_IMG_shader_binary 1
2359
+ #define GL_SGX_BINARY_IMG 0x8C0A
2360
+ #endif /* GL_IMG_shader_binary */
2361
+
2362
+ #ifndef GL_IMG_texture_compression_pvrtc
2363
+ #define GL_IMG_texture_compression_pvrtc 1
2364
+ #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
2365
+ #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
2366
+ #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
2367
+ #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
2368
+ #endif /* GL_IMG_texture_compression_pvrtc */
2369
+
2370
+ #ifndef GL_IMG_texture_compression_pvrtc2
2371
+ #define GL_IMG_texture_compression_pvrtc2 1
2372
+ #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
2373
+ #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
2374
+ #endif /* GL_IMG_texture_compression_pvrtc2 */
2375
+
2376
+ #ifndef GL_IMG_texture_filter_cubic
2377
+ #define GL_IMG_texture_filter_cubic 1
2378
+ #define GL_CUBIC_IMG 0x9139
2379
+ #define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A
2380
+ #define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B
2381
+ #endif /* GL_IMG_texture_filter_cubic */
2382
+
2383
+ #ifndef GL_INTEL_blackhole_render
2384
+ #define GL_INTEL_blackhole_render 1
2385
+ #define GL_BLACKHOLE_RENDER_INTEL 0x83FC
2386
+ #endif /* GL_INTEL_blackhole_render */
2387
+
2388
+ #ifndef GL_INTEL_conservative_rasterization
2389
+ #define GL_INTEL_conservative_rasterization 1
2390
+ #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
2391
+ #endif /* GL_INTEL_conservative_rasterization */
2392
+
2393
+ #ifndef GL_INTEL_framebuffer_CMAA
2394
+ #define GL_INTEL_framebuffer_CMAA 1
2395
+ typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
2396
+ #ifdef GL_GLEXT_PROTOTYPES
2397
+ GL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
2398
+ #endif
2399
+ #endif /* GL_INTEL_framebuffer_CMAA */
2400
+
2401
+ #ifndef GL_INTEL_performance_query
2402
+ #define GL_INTEL_performance_query 1
2403
+ #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
2404
+ #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
2405
+ #define GL_PERFQUERY_WAIT_INTEL 0x83FB
2406
+ #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
2407
+ #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
2408
+ #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
2409
+ #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
2410
+ #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
2411
+ #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
2412
+ #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
2413
+ #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
2414
+ #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
2415
+ #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
2416
+ #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
2417
+ #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
2418
+ #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
2419
+ #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
2420
+ #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
2421
+ #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
2422
+ #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
2423
+ typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
2424
+ typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
2425
+ typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
2426
+ typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
2427
+ typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
2428
+ typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
2429
+ typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
2430
+ typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
2431
+ typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
2432
+ typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
2433
+ #ifdef GL_GLEXT_PROTOTYPES
2434
+ GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
2435
+ GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
2436
+ GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
2437
+ GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
2438
+ GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
2439
+ GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
2440
+ GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
2441
+ GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
2442
+ GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
2443
+ GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
2444
+ #endif
2445
+ #endif /* GL_INTEL_performance_query */
2446
+
2447
+ #ifndef GL_MESA_framebuffer_flip_x
2448
+ #define GL_MESA_framebuffer_flip_x 1
2449
+ #define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
2450
+ #endif /* GL_MESA_framebuffer_flip_x */
2451
+
2452
+ #ifndef GL_MESA_framebuffer_flip_y
2453
+ #define GL_MESA_framebuffer_flip_y 1
2454
+ #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
2455
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param);
2456
+ typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params);
2457
+ #ifdef GL_GLEXT_PROTOTYPES
2458
+ GL_APICALL void GL_APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param);
2459
+ GL_APICALL void GL_APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params);
2460
+ #endif
2461
+ #endif /* GL_MESA_framebuffer_flip_y */
2462
+
2463
+ #ifndef GL_MESA_framebuffer_swap_xy
2464
+ #define GL_MESA_framebuffer_swap_xy 1
2465
+ #define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
2466
+ #endif /* GL_MESA_framebuffer_swap_xy */
2467
+
2468
+ #ifndef GL_MESA_program_binary_formats
2469
+ #define GL_MESA_program_binary_formats 1
2470
+ #define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
2471
+ #endif /* GL_MESA_program_binary_formats */
2472
+
2473
+ #ifndef GL_MESA_shader_integer_functions
2474
+ #define GL_MESA_shader_integer_functions 1
2475
+ #endif /* GL_MESA_shader_integer_functions */
2476
+
2477
+ #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
2478
+ #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
2479
+ #endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
2480
+
2481
+ #ifndef GL_NV_bindless_texture
2482
+ #define GL_NV_bindless_texture 1
2483
+ typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
2484
+ typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
2485
+ typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
2486
+ typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
2487
+ typedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2488
+ typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
2489
+ typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
2490
+ typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
2491
+ typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
2492
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
2493
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2494
+ typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
2495
+ typedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
2496
+ #ifdef GL_GLEXT_PROTOTYPES
2497
+ GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture);
2498
+ GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
2499
+ GL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
2500
+ GL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
2501
+ GL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2502
+ GL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
2503
+ GL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
2504
+ GL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
2505
+ GL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
2506
+ GL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
2507
+ GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2508
+ GL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
2509
+ GL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
2510
+ #endif
2511
+ #endif /* GL_NV_bindless_texture */
2512
+
2513
+ #ifndef GL_NV_blend_equation_advanced
2514
+ #define GL_NV_blend_equation_advanced 1
2515
+ #define GL_BLEND_OVERLAP_NV 0x9281
2516
+ #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
2517
+ #define GL_BLUE_NV 0x1905
2518
+ #define GL_COLORBURN_NV 0x929A
2519
+ #define GL_COLORDODGE_NV 0x9299
2520
+ #define GL_CONJOINT_NV 0x9284
2521
+ #define GL_CONTRAST_NV 0x92A1
2522
+ #define GL_DARKEN_NV 0x9297
2523
+ #define GL_DIFFERENCE_NV 0x929E
2524
+ #define GL_DISJOINT_NV 0x9283
2525
+ #define GL_DST_ATOP_NV 0x928F
2526
+ #define GL_DST_IN_NV 0x928B
2527
+ #define GL_DST_NV 0x9287
2528
+ #define GL_DST_OUT_NV 0x928D
2529
+ #define GL_DST_OVER_NV 0x9289
2530
+ #define GL_EXCLUSION_NV 0x92A0
2531
+ #define GL_GREEN_NV 0x1904
2532
+ #define GL_HARDLIGHT_NV 0x929B
2533
+ #define GL_HARDMIX_NV 0x92A9
2534
+ #define GL_HSL_COLOR_NV 0x92AF
2535
+ #define GL_HSL_HUE_NV 0x92AD
2536
+ #define GL_HSL_LUMINOSITY_NV 0x92B0
2537
+ #define GL_HSL_SATURATION_NV 0x92AE
2538
+ #define GL_INVERT_OVG_NV 0x92B4
2539
+ #define GL_INVERT_RGB_NV 0x92A3
2540
+ #define GL_LIGHTEN_NV 0x9298
2541
+ #define GL_LINEARBURN_NV 0x92A5
2542
+ #define GL_LINEARDODGE_NV 0x92A4
2543
+ #define GL_LINEARLIGHT_NV 0x92A7
2544
+ #define GL_MINUS_CLAMPED_NV 0x92B3
2545
+ #define GL_MINUS_NV 0x929F
2546
+ #define GL_MULTIPLY_NV 0x9294
2547
+ #define GL_OVERLAY_NV 0x9296
2548
+ #define GL_PINLIGHT_NV 0x92A8
2549
+ #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
2550
+ #define GL_PLUS_CLAMPED_NV 0x92B1
2551
+ #define GL_PLUS_DARKER_NV 0x9292
2552
+ #define GL_PLUS_NV 0x9291
2553
+ #define GL_RED_NV 0x1903
2554
+ #define GL_SCREEN_NV 0x9295
2555
+ #define GL_SOFTLIGHT_NV 0x929C
2556
+ #define GL_SRC_ATOP_NV 0x928E
2557
+ #define GL_SRC_IN_NV 0x928A
2558
+ #define GL_SRC_NV 0x9286
2559
+ #define GL_SRC_OUT_NV 0x928C
2560
+ #define GL_SRC_OVER_NV 0x9288
2561
+ #define GL_UNCORRELATED_NV 0x9282
2562
+ #define GL_VIVIDLIGHT_NV 0x92A6
2563
+ #define GL_XOR_NV 0x1506
2564
+ typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
2565
+ typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
2566
+ #ifdef GL_GLEXT_PROTOTYPES
2567
+ GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
2568
+ GL_APICALL void GL_APIENTRY glBlendBarrierNV (void);
2569
+ #endif
2570
+ #endif /* GL_NV_blend_equation_advanced */
2571
+
2572
+ #ifndef GL_NV_blend_equation_advanced_coherent
2573
+ #define GL_NV_blend_equation_advanced_coherent 1
2574
+ #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
2575
+ #endif /* GL_NV_blend_equation_advanced_coherent */
2576
+
2577
+ #ifndef GL_NV_blend_minmax_factor
2578
+ #define GL_NV_blend_minmax_factor 1
2579
+ #define GL_FACTOR_MIN_AMD 0x901C
2580
+ #define GL_FACTOR_MAX_AMD 0x901D
2581
+ #endif /* GL_NV_blend_minmax_factor */
2582
+
2583
+ #ifndef GL_NV_clip_space_w_scaling
2584
+ #define GL_NV_clip_space_w_scaling 1
2585
+ #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
2586
+ #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
2587
+ #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
2588
+ typedef void (GL_APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
2589
+ #ifdef GL_GLEXT_PROTOTYPES
2590
+ GL_APICALL void GL_APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
2591
+ #endif
2592
+ #endif /* GL_NV_clip_space_w_scaling */
2593
+
2594
+ #ifndef GL_NV_compute_shader_derivatives
2595
+ #define GL_NV_compute_shader_derivatives 1
2596
+ #endif /* GL_NV_compute_shader_derivatives */
2597
+
2598
+ #ifndef GL_NV_conditional_render
2599
+ #define GL_NV_conditional_render 1
2600
+ #define GL_QUERY_WAIT_NV 0x8E13
2601
+ #define GL_QUERY_NO_WAIT_NV 0x8E14
2602
+ #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
2603
+ #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
2604
+ typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
2605
+ typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
2606
+ #ifdef GL_GLEXT_PROTOTYPES
2607
+ GL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
2608
+ GL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void);
2609
+ #endif
2610
+ #endif /* GL_NV_conditional_render */
2611
+
2612
+ #ifndef GL_NV_conservative_raster
2613
+ #define GL_NV_conservative_raster 1
2614
+ #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
2615
+ #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
2616
+ #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
2617
+ #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
2618
+ typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
2619
+ #ifdef GL_GLEXT_PROTOTYPES
2620
+ GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
2621
+ #endif
2622
+ #endif /* GL_NV_conservative_raster */
2623
+
2624
+ #ifndef GL_NV_conservative_raster_pre_snap
2625
+ #define GL_NV_conservative_raster_pre_snap 1
2626
+ #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
2627
+ #endif /* GL_NV_conservative_raster_pre_snap */
2628
+
2629
+ #ifndef GL_NV_conservative_raster_pre_snap_triangles
2630
+ #define GL_NV_conservative_raster_pre_snap_triangles 1
2631
+ #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
2632
+ #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
2633
+ #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
2634
+ typedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
2635
+ #ifdef GL_GLEXT_PROTOTYPES
2636
+ GL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
2637
+ #endif
2638
+ #endif /* GL_NV_conservative_raster_pre_snap_triangles */
2639
+
2640
+ #ifndef GL_NV_copy_buffer
2641
+ #define GL_NV_copy_buffer 1
2642
+ #define GL_COPY_READ_BUFFER_NV 0x8F36
2643
+ #define GL_COPY_WRITE_BUFFER_NV 0x8F37
2644
+ typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2645
+ #ifdef GL_GLEXT_PROTOTYPES
2646
+ GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2647
+ #endif
2648
+ #endif /* GL_NV_copy_buffer */
2649
+
2650
+ #ifndef GL_NV_coverage_sample
2651
+ #define GL_NV_coverage_sample 1
2652
+ #define GL_COVERAGE_COMPONENT_NV 0x8ED0
2653
+ #define GL_COVERAGE_COMPONENT4_NV 0x8ED1
2654
+ #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
2655
+ #define GL_COVERAGE_BUFFERS_NV 0x8ED3
2656
+ #define GL_COVERAGE_SAMPLES_NV 0x8ED4
2657
+ #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
2658
+ #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
2659
+ #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
2660
+ #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
2661
+ typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
2662
+ typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
2663
+ #ifdef GL_GLEXT_PROTOTYPES
2664
+ GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
2665
+ GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
2666
+ #endif
2667
+ #endif /* GL_NV_coverage_sample */
2668
+
2669
+ #ifndef GL_NV_depth_nonlinear
2670
+ #define GL_NV_depth_nonlinear 1
2671
+ #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
2672
+ #endif /* GL_NV_depth_nonlinear */
2673
+
2674
+ #ifndef GL_NV_draw_buffers
2675
+ #define GL_NV_draw_buffers 1
2676
+ #define GL_MAX_DRAW_BUFFERS_NV 0x8824
2677
+ #define GL_DRAW_BUFFER0_NV 0x8825
2678
+ #define GL_DRAW_BUFFER1_NV 0x8826
2679
+ #define GL_DRAW_BUFFER2_NV 0x8827
2680
+ #define GL_DRAW_BUFFER3_NV 0x8828
2681
+ #define GL_DRAW_BUFFER4_NV 0x8829
2682
+ #define GL_DRAW_BUFFER5_NV 0x882A
2683
+ #define GL_DRAW_BUFFER6_NV 0x882B
2684
+ #define GL_DRAW_BUFFER7_NV 0x882C
2685
+ #define GL_DRAW_BUFFER8_NV 0x882D
2686
+ #define GL_DRAW_BUFFER9_NV 0x882E
2687
+ #define GL_DRAW_BUFFER10_NV 0x882F
2688
+ #define GL_DRAW_BUFFER11_NV 0x8830
2689
+ #define GL_DRAW_BUFFER12_NV 0x8831
2690
+ #define GL_DRAW_BUFFER13_NV 0x8832
2691
+ #define GL_DRAW_BUFFER14_NV 0x8833
2692
+ #define GL_DRAW_BUFFER15_NV 0x8834
2693
+ #define GL_COLOR_ATTACHMENT0_NV 0x8CE0
2694
+ #define GL_COLOR_ATTACHMENT1_NV 0x8CE1
2695
+ #define GL_COLOR_ATTACHMENT2_NV 0x8CE2
2696
+ #define GL_COLOR_ATTACHMENT3_NV 0x8CE3
2697
+ #define GL_COLOR_ATTACHMENT4_NV 0x8CE4
2698
+ #define GL_COLOR_ATTACHMENT5_NV 0x8CE5
2699
+ #define GL_COLOR_ATTACHMENT6_NV 0x8CE6
2700
+ #define GL_COLOR_ATTACHMENT7_NV 0x8CE7
2701
+ #define GL_COLOR_ATTACHMENT8_NV 0x8CE8
2702
+ #define GL_COLOR_ATTACHMENT9_NV 0x8CE9
2703
+ #define GL_COLOR_ATTACHMENT10_NV 0x8CEA
2704
+ #define GL_COLOR_ATTACHMENT11_NV 0x8CEB
2705
+ #define GL_COLOR_ATTACHMENT12_NV 0x8CEC
2706
+ #define GL_COLOR_ATTACHMENT13_NV 0x8CED
2707
+ #define GL_COLOR_ATTACHMENT14_NV 0x8CEE
2708
+ #define GL_COLOR_ATTACHMENT15_NV 0x8CEF
2709
+ typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
2710
+ #ifdef GL_GLEXT_PROTOTYPES
2711
+ GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
2712
+ #endif
2713
+ #endif /* GL_NV_draw_buffers */
2714
+
2715
+ #ifndef GL_NV_draw_instanced
2716
+ #define GL_NV_draw_instanced 1
2717
+ typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2718
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2719
+ #ifdef GL_GLEXT_PROTOTYPES
2720
+ GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2721
+ GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
2722
+ #endif
2723
+ #endif /* GL_NV_draw_instanced */
2724
+
2725
+ #ifndef GL_NV_draw_vulkan_image
2726
+ #define GL_NV_draw_vulkan_image 1
2727
+ typedef void (GL_APIENTRY *GLVULKANPROCNV)(void);
2728
+ typedef void (GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
2729
+ typedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
2730
+ typedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
2731
+ typedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
2732
+ typedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
2733
+ #ifdef GL_GLEXT_PROTOTYPES
2734
+ GL_APICALL void GL_APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
2735
+ GL_APICALL GLVULKANPROCNV GL_APIENTRY glGetVkProcAddrNV (const GLchar *name);
2736
+ GL_APICALL void GL_APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
2737
+ GL_APICALL void GL_APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
2738
+ GL_APICALL void GL_APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
2739
+ #endif
2740
+ #endif /* GL_NV_draw_vulkan_image */
2741
+
2742
+ #ifndef GL_NV_explicit_attrib_location
2743
+ #define GL_NV_explicit_attrib_location 1
2744
+ #endif /* GL_NV_explicit_attrib_location */
2745
+
2746
+ #ifndef GL_NV_fbo_color_attachments
2747
+ #define GL_NV_fbo_color_attachments 1
2748
+ #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
2749
+ #endif /* GL_NV_fbo_color_attachments */
2750
+
2751
+ #ifndef GL_NV_fence
2752
+ #define GL_NV_fence 1
2753
+ #define GL_ALL_COMPLETED_NV 0x84F2
2754
+ #define GL_FENCE_STATUS_NV 0x84F3
2755
+ #define GL_FENCE_CONDITION_NV 0x84F4
2756
+ typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
2757
+ typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
2758
+ typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
2759
+ typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
2760
+ typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
2761
+ typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
2762
+ typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
2763
+ #ifdef GL_GLEXT_PROTOTYPES
2764
+ GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
2765
+ GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
2766
+ GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
2767
+ GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
2768
+ GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
2769
+ GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
2770
+ GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
2771
+ #endif
2772
+ #endif /* GL_NV_fence */
2773
+
2774
+ #ifndef GL_NV_fill_rectangle
2775
+ #define GL_NV_fill_rectangle 1
2776
+ #define GL_FILL_RECTANGLE_NV 0x933C
2777
+ #endif /* GL_NV_fill_rectangle */
2778
+
2779
+ #ifndef GL_NV_fragment_coverage_to_color
2780
+ #define GL_NV_fragment_coverage_to_color 1
2781
+ #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
2782
+ #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
2783
+ typedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
2784
+ #ifdef GL_GLEXT_PROTOTYPES
2785
+ GL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color);
2786
+ #endif
2787
+ #endif /* GL_NV_fragment_coverage_to_color */
2788
+
2789
+ #ifndef GL_NV_fragment_shader_barycentric
2790
+ #define GL_NV_fragment_shader_barycentric 1
2791
+ #endif /* GL_NV_fragment_shader_barycentric */
2792
+
2793
+ #ifndef GL_NV_fragment_shader_interlock
2794
+ #define GL_NV_fragment_shader_interlock 1
2795
+ #endif /* GL_NV_fragment_shader_interlock */
2796
+
2797
+ #ifndef GL_NV_framebuffer_blit
2798
+ #define GL_NV_framebuffer_blit 1
2799
+ #define GL_READ_FRAMEBUFFER_NV 0x8CA8
2800
+ #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9
2801
+ #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6
2802
+ #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA
2803
+ typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2804
+ #ifdef GL_GLEXT_PROTOTYPES
2805
+ GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2806
+ #endif
2807
+ #endif /* GL_NV_framebuffer_blit */
2808
+
2809
+ #ifndef GL_NV_framebuffer_mixed_samples
2810
+ #define GL_NV_framebuffer_mixed_samples 1
2811
+ #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
2812
+ #define GL_COLOR_SAMPLES_NV 0x8E20
2813
+ #define GL_DEPTH_SAMPLES_NV 0x932D
2814
+ #define GL_STENCIL_SAMPLES_NV 0x932E
2815
+ #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
2816
+ #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
2817
+ #define GL_COVERAGE_MODULATION_NV 0x9332
2818
+ #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
2819
+ typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
2820
+ typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v);
2821
+ typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
2822
+ #ifdef GL_GLEXT_PROTOTYPES
2823
+ GL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
2824
+ GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v);
2825
+ GL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components);
2826
+ #endif
2827
+ #endif /* GL_NV_framebuffer_mixed_samples */
2828
+
2829
+ #ifndef GL_NV_framebuffer_multisample
2830
+ #define GL_NV_framebuffer_multisample 1
2831
+ #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB
2832
+ #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56
2833
+ #define GL_MAX_SAMPLES_NV 0x8D57
2834
+ typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2835
+ #ifdef GL_GLEXT_PROTOTYPES
2836
+ GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2837
+ #endif
2838
+ #endif /* GL_NV_framebuffer_multisample */
2839
+
2840
+ #ifndef GL_NV_generate_mipmap_sRGB
2841
+ #define GL_NV_generate_mipmap_sRGB 1
2842
+ #endif /* GL_NV_generate_mipmap_sRGB */
2843
+
2844
+ #ifndef GL_NV_geometry_shader_passthrough
2845
+ #define GL_NV_geometry_shader_passthrough 1
2846
+ #endif /* GL_NV_geometry_shader_passthrough */
2847
+
2848
+ #ifndef GL_NV_gpu_shader5
2849
+ #define GL_NV_gpu_shader5 1
2850
+ typedef khronos_int64_t GLint64EXT;
2851
+ typedef khronos_uint64_t GLuint64EXT;
2852
+ #define GL_INT64_NV 0x140E
2853
+ #define GL_UNSIGNED_INT64_NV 0x140F
2854
+ #define GL_INT8_NV 0x8FE0
2855
+ #define GL_INT8_VEC2_NV 0x8FE1
2856
+ #define GL_INT8_VEC3_NV 0x8FE2
2857
+ #define GL_INT8_VEC4_NV 0x8FE3
2858
+ #define GL_INT16_NV 0x8FE4
2859
+ #define GL_INT16_VEC2_NV 0x8FE5
2860
+ #define GL_INT16_VEC3_NV 0x8FE6
2861
+ #define GL_INT16_VEC4_NV 0x8FE7
2862
+ #define GL_INT64_VEC2_NV 0x8FE9
2863
+ #define GL_INT64_VEC3_NV 0x8FEA
2864
+ #define GL_INT64_VEC4_NV 0x8FEB
2865
+ #define GL_UNSIGNED_INT8_NV 0x8FEC
2866
+ #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
2867
+ #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
2868
+ #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
2869
+ #define GL_UNSIGNED_INT16_NV 0x8FF0
2870
+ #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
2871
+ #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
2872
+ #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
2873
+ #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
2874
+ #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
2875
+ #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
2876
+ #define GL_FLOAT16_NV 0x8FF8
2877
+ #define GL_FLOAT16_VEC2_NV 0x8FF9
2878
+ #define GL_FLOAT16_VEC3_NV 0x8FFA
2879
+ #define GL_FLOAT16_VEC4_NV 0x8FFB
2880
+ #define GL_PATCHES 0x000E
2881
+ typedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
2882
+ typedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
2883
+ typedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
2884
+ typedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
2885
+ typedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
2886
+ typedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
2887
+ typedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
2888
+ typedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
2889
+ typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
2890
+ typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
2891
+ typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
2892
+ typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
2893
+ typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
2894
+ typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
2895
+ typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
2896
+ typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
2897
+ typedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
2898
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
2899
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
2900
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
2901
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
2902
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2903
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2904
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2905
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2906
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
2907
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
2908
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
2909
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
2910
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2911
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2912
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2913
+ typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2914
+ #ifdef GL_GLEXT_PROTOTYPES
2915
+ GL_APICALL void GL_APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
2916
+ GL_APICALL void GL_APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
2917
+ GL_APICALL void GL_APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
2918
+ GL_APICALL void GL_APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
2919
+ GL_APICALL void GL_APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
2920
+ GL_APICALL void GL_APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
2921
+ GL_APICALL void GL_APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
2922
+ GL_APICALL void GL_APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
2923
+ GL_APICALL void GL_APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
2924
+ GL_APICALL void GL_APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
2925
+ GL_APICALL void GL_APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
2926
+ GL_APICALL void GL_APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
2927
+ GL_APICALL void GL_APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
2928
+ GL_APICALL void GL_APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
2929
+ GL_APICALL void GL_APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
2930
+ GL_APICALL void GL_APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
2931
+ GL_APICALL void GL_APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
2932
+ GL_APICALL void GL_APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
2933
+ GL_APICALL void GL_APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
2934
+ GL_APICALL void GL_APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
2935
+ GL_APICALL void GL_APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
2936
+ GL_APICALL void GL_APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2937
+ GL_APICALL void GL_APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2938
+ GL_APICALL void GL_APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2939
+ GL_APICALL void GL_APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2940
+ GL_APICALL void GL_APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
2941
+ GL_APICALL void GL_APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
2942
+ GL_APICALL void GL_APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
2943
+ GL_APICALL void GL_APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
2944
+ GL_APICALL void GL_APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2945
+ GL_APICALL void GL_APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2946
+ GL_APICALL void GL_APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2947
+ GL_APICALL void GL_APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2948
+ #endif
2949
+ #endif /* GL_NV_gpu_shader5 */
2950
+
2951
+ #ifndef GL_NV_image_formats
2952
+ #define GL_NV_image_formats 1
2953
+ #endif /* GL_NV_image_formats */
2954
+
2955
+ #ifndef GL_NV_instanced_arrays
2956
+ #define GL_NV_instanced_arrays 1
2957
+ #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE
2958
+ typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
2959
+ #ifdef GL_GLEXT_PROTOTYPES
2960
+ GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
2961
+ #endif
2962
+ #endif /* GL_NV_instanced_arrays */
2963
+
2964
+ #ifndef GL_NV_internalformat_sample_query
2965
+ #define GL_NV_internalformat_sample_query 1
2966
+ #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
2967
+ #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
2968
+ #define GL_MULTISAMPLES_NV 0x9371
2969
+ #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
2970
+ #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
2971
+ #define GL_CONFORMANT_NV 0x9374
2972
+ typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
2973
+ #ifdef GL_GLEXT_PROTOTYPES
2974
+ GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
2975
+ #endif
2976
+ #endif /* GL_NV_internalformat_sample_query */
2977
+
2978
+ #ifndef GL_NV_memory_attachment
2979
+ #define GL_NV_memory_attachment 1
2980
+ #define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
2981
+ #define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
2982
+ #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
2983
+ #define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
2984
+ #define GL_MEMORY_ATTACHABLE_NV 0x95A8
2985
+ #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
2986
+ #define GL_DETACHED_TEXTURES_NV 0x95AA
2987
+ #define GL_DETACHED_BUFFERS_NV 0x95AB
2988
+ #define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
2989
+ #define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
2990
+ typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
2991
+ typedef void (GL_APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
2992
+ typedef void (GL_APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
2993
+ typedef void (GL_APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
2994
+ typedef void (GL_APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
2995
+ typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
2996
+ #ifdef GL_GLEXT_PROTOTYPES
2997
+ GL_APICALL void GL_APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
2998
+ GL_APICALL void GL_APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
2999
+ GL_APICALL void GL_APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
3000
+ GL_APICALL void GL_APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
3001
+ GL_APICALL void GL_APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
3002
+ GL_APICALL void GL_APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
3003
+ #endif
3004
+ #endif /* GL_NV_memory_attachment */
3005
+
3006
+ #ifndef GL_NV_memory_object_sparse
3007
+ #define GL_NV_memory_object_sparse 1
3008
+ typedef void (GL_APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
3009
+ typedef void (GL_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);
3010
+ typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
3011
+ typedef void (GL_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);
3012
+ #ifdef GL_GLEXT_PROTOTYPES
3013
+ GL_APICALL void GL_APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
3014
+ GL_APICALL void GL_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);
3015
+ GL_APICALL void GL_APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
3016
+ GL_APICALL void GL_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);
3017
+ #endif
3018
+ #endif /* GL_NV_memory_object_sparse */
3019
+
3020
+ #ifndef GL_NV_mesh_shader
3021
+ #define GL_NV_mesh_shader 1
3022
+ #define GL_MESH_SHADER_NV 0x9559
3023
+ #define GL_TASK_SHADER_NV 0x955A
3024
+ #define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
3025
+ #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
3026
+ #define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
3027
+ #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
3028
+ #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
3029
+ #define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
3030
+ #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
3031
+ #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
3032
+ #define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
3033
+ #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
3034
+ #define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
3035
+ #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
3036
+ #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
3037
+ #define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
3038
+ #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
3039
+ #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
3040
+ #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
3041
+ #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
3042
+ #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
3043
+ #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
3044
+ #define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
3045
+ #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
3046
+ #define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
3047
+ #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
3048
+ #define GL_MAX_MESH_VIEWS_NV 0x9557
3049
+ #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
3050
+ #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
3051
+ #define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
3052
+ #define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
3053
+ #define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
3054
+ #define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
3055
+ #define GL_MESH_VERTICES_OUT_NV 0x9579
3056
+ #define GL_MESH_PRIMITIVES_OUT_NV 0x957A
3057
+ #define GL_MESH_OUTPUT_TYPE_NV 0x957B
3058
+ #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
3059
+ #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
3060
+ #define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
3061
+ #define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
3062
+ #define GL_MESH_SHADER_BIT_NV 0x00000040
3063
+ #define GL_TASK_SHADER_BIT_NV 0x00000080
3064
+ #define GL_MESH_SUBROUTINE_NV 0x957C
3065
+ #define GL_TASK_SUBROUTINE_NV 0x957D
3066
+ #define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
3067
+ #define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
3068
+ #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
3069
+ #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
3070
+ typedef void (GL_APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
3071
+ typedef void (GL_APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
3072
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
3073
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3074
+ #ifdef GL_GLEXT_PROTOTYPES
3075
+ GL_APICALL void GL_APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
3076
+ GL_APICALL void GL_APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
3077
+ GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
3078
+ GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3079
+ #endif
3080
+ #endif /* GL_NV_mesh_shader */
3081
+
3082
+ #ifndef GL_NV_non_square_matrices
3083
+ #define GL_NV_non_square_matrices 1
3084
+ #define GL_FLOAT_MAT2x3_NV 0x8B65
3085
+ #define GL_FLOAT_MAT2x4_NV 0x8B66
3086
+ #define GL_FLOAT_MAT3x2_NV 0x8B67
3087
+ #define GL_FLOAT_MAT3x4_NV 0x8B68
3088
+ #define GL_FLOAT_MAT4x2_NV 0x8B69
3089
+ #define GL_FLOAT_MAT4x3_NV 0x8B6A
3090
+ typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3091
+ typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3092
+ typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3093
+ typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3094
+ typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3095
+ typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3096
+ #ifdef GL_GLEXT_PROTOTYPES
3097
+ GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3098
+ GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3099
+ GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3100
+ GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3101
+ GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3102
+ GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3103
+ #endif
3104
+ #endif /* GL_NV_non_square_matrices */
3105
+
3106
+ #ifndef GL_NV_path_rendering
3107
+ #define GL_NV_path_rendering 1
3108
+ typedef double GLdouble;
3109
+ #define GL_PATH_FORMAT_SVG_NV 0x9070
3110
+ #define GL_PATH_FORMAT_PS_NV 0x9071
3111
+ #define GL_STANDARD_FONT_NAME_NV 0x9072
3112
+ #define GL_SYSTEM_FONT_NAME_NV 0x9073
3113
+ #define GL_FILE_NAME_NV 0x9074
3114
+ #define GL_PATH_STROKE_WIDTH_NV 0x9075
3115
+ #define GL_PATH_END_CAPS_NV 0x9076
3116
+ #define GL_PATH_INITIAL_END_CAP_NV 0x9077
3117
+ #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
3118
+ #define GL_PATH_JOIN_STYLE_NV 0x9079
3119
+ #define GL_PATH_MITER_LIMIT_NV 0x907A
3120
+ #define GL_PATH_DASH_CAPS_NV 0x907B
3121
+ #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
3122
+ #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
3123
+ #define GL_PATH_DASH_OFFSET_NV 0x907E
3124
+ #define GL_PATH_CLIENT_LENGTH_NV 0x907F
3125
+ #define GL_PATH_FILL_MODE_NV 0x9080
3126
+ #define GL_PATH_FILL_MASK_NV 0x9081
3127
+ #define GL_PATH_FILL_COVER_MODE_NV 0x9082
3128
+ #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
3129
+ #define GL_PATH_STROKE_MASK_NV 0x9084
3130
+ #define GL_COUNT_UP_NV 0x9088
3131
+ #define GL_COUNT_DOWN_NV 0x9089
3132
+ #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
3133
+ #define GL_CONVEX_HULL_NV 0x908B
3134
+ #define GL_BOUNDING_BOX_NV 0x908D
3135
+ #define GL_TRANSLATE_X_NV 0x908E
3136
+ #define GL_TRANSLATE_Y_NV 0x908F
3137
+ #define GL_TRANSLATE_2D_NV 0x9090
3138
+ #define GL_TRANSLATE_3D_NV 0x9091
3139
+ #define GL_AFFINE_2D_NV 0x9092
3140
+ #define GL_AFFINE_3D_NV 0x9094
3141
+ #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
3142
+ #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
3143
+ #define GL_UTF8_NV 0x909A
3144
+ #define GL_UTF16_NV 0x909B
3145
+ #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
3146
+ #define GL_PATH_COMMAND_COUNT_NV 0x909D
3147
+ #define GL_PATH_COORD_COUNT_NV 0x909E
3148
+ #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
3149
+ #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
3150
+ #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
3151
+ #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
3152
+ #define GL_SQUARE_NV 0x90A3
3153
+ #define GL_ROUND_NV 0x90A4
3154
+ #define GL_TRIANGULAR_NV 0x90A5
3155
+ #define GL_BEVEL_NV 0x90A6
3156
+ #define GL_MITER_REVERT_NV 0x90A7
3157
+ #define GL_MITER_TRUNCATE_NV 0x90A8
3158
+ #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
3159
+ #define GL_USE_MISSING_GLYPH_NV 0x90AA
3160
+ #define GL_PATH_ERROR_POSITION_NV 0x90AB
3161
+ #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
3162
+ #define GL_ADJACENT_PAIRS_NV 0x90AE
3163
+ #define GL_FIRST_TO_REST_NV 0x90AF
3164
+ #define GL_PATH_GEN_MODE_NV 0x90B0
3165
+ #define GL_PATH_GEN_COEFF_NV 0x90B1
3166
+ #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
3167
+ #define GL_PATH_STENCIL_FUNC_NV 0x90B7
3168
+ #define GL_PATH_STENCIL_REF_NV 0x90B8
3169
+ #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
3170
+ #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
3171
+ #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
3172
+ #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
3173
+ #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
3174
+ #define GL_MOVE_TO_RESETS_NV 0x90B5
3175
+ #define GL_MOVE_TO_CONTINUES_NV 0x90B6
3176
+ #define GL_CLOSE_PATH_NV 0x00
3177
+ #define GL_MOVE_TO_NV 0x02
3178
+ #define GL_RELATIVE_MOVE_TO_NV 0x03
3179
+ #define GL_LINE_TO_NV 0x04
3180
+ #define GL_RELATIVE_LINE_TO_NV 0x05
3181
+ #define GL_HORIZONTAL_LINE_TO_NV 0x06
3182
+ #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
3183
+ #define GL_VERTICAL_LINE_TO_NV 0x08
3184
+ #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
3185
+ #define GL_QUADRATIC_CURVE_TO_NV 0x0A
3186
+ #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
3187
+ #define GL_CUBIC_CURVE_TO_NV 0x0C
3188
+ #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
3189
+ #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
3190
+ #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
3191
+ #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
3192
+ #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
3193
+ #define GL_SMALL_CCW_ARC_TO_NV 0x12
3194
+ #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
3195
+ #define GL_SMALL_CW_ARC_TO_NV 0x14
3196
+ #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
3197
+ #define GL_LARGE_CCW_ARC_TO_NV 0x16
3198
+ #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
3199
+ #define GL_LARGE_CW_ARC_TO_NV 0x18
3200
+ #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
3201
+ #define GL_RESTART_PATH_NV 0xF0
3202
+ #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
3203
+ #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
3204
+ #define GL_RECT_NV 0xF6
3205
+ #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
3206
+ #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
3207
+ #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
3208
+ #define GL_ARC_TO_NV 0xFE
3209
+ #define GL_RELATIVE_ARC_TO_NV 0xFF
3210
+ #define GL_BOLD_BIT_NV 0x01
3211
+ #define GL_ITALIC_BIT_NV 0x02
3212
+ #define GL_GLYPH_WIDTH_BIT_NV 0x01
3213
+ #define GL_GLYPH_HEIGHT_BIT_NV 0x02
3214
+ #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
3215
+ #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
3216
+ #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
3217
+ #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
3218
+ #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
3219
+ #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
3220
+ #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
3221
+ #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
3222
+ #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
3223
+ #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
3224
+ #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
3225
+ #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
3226
+ #define GL_FONT_ASCENDER_BIT_NV 0x00200000
3227
+ #define GL_FONT_DESCENDER_BIT_NV 0x00400000
3228
+ #define GL_FONT_HEIGHT_BIT_NV 0x00800000
3229
+ #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
3230
+ #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
3231
+ #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
3232
+ #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
3233
+ #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
3234
+ #define GL_ROUNDED_RECT_NV 0xE8
3235
+ #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
3236
+ #define GL_ROUNDED_RECT2_NV 0xEA
3237
+ #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
3238
+ #define GL_ROUNDED_RECT4_NV 0xEC
3239
+ #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
3240
+ #define GL_ROUNDED_RECT8_NV 0xEE
3241
+ #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
3242
+ #define GL_RELATIVE_RECT_NV 0xF7
3243
+ #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
3244
+ #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
3245
+ #define GL_FONT_UNAVAILABLE_NV 0x936A
3246
+ #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
3247
+ #define GL_CONIC_CURVE_TO_NV 0x1A
3248
+ #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
3249
+ #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
3250
+ #define GL_STANDARD_FONT_FORMAT_NV 0x936C
3251
+ #define GL_PATH_PROJECTION_NV 0x1701
3252
+ #define GL_PATH_MODELVIEW_NV 0x1700
3253
+ #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
3254
+ #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
3255
+ #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
3256
+ #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
3257
+ #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
3258
+ #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
3259
+ #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
3260
+ #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
3261
+ #define GL_FRAGMENT_INPUT_NV 0x936D
3262
+ typedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
3263
+ typedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
3264
+ typedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
3265
+ typedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
3266
+ typedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
3267
+ typedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
3268
+ typedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
3269
+ typedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
3270
+ typedef void (GL_APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3271
+ typedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3272
+ typedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
3273
+ typedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
3274
+ typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
3275
+ typedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
3276
+ typedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
3277
+ typedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
3278
+ typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
3279
+ typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
3280
+ typedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
3281
+ typedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
3282
+ typedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
3283
+ typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
3284
+ typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
3285
+ typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
3286
+ typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
3287
+ typedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
3288
+ typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
3289
+ typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
3290
+ typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3291
+ typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3292
+ typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
3293
+ typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
3294
+ typedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
3295
+ typedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
3296
+ typedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
3297
+ typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
3298
+ typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
3299
+ typedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
3300
+ typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
3301
+ typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
3302
+ typedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
3303
+ typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
3304
+ typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
3305
+ typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
3306
+ typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
3307
+ typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
3308
+ typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
3309
+ typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
3310
+ typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
3311
+ typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
3312
+ typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3313
+ typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3314
+ typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
3315
+ typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3316
+ typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3317
+ typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
3318
+ typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
3319
+ typedef void (GL_APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3320
+ typedef void (GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
3321
+ typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
3322
+ typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
3323
+ typedef void (GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
3324
+ typedef void (GL_APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
3325
+ typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
3326
+ typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
3327
+ typedef void (GL_APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
3328
+ typedef void (GL_APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
3329
+ typedef void (GL_APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3330
+ typedef void (GL_APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
3331
+ typedef void (GL_APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
3332
+ typedef void (GL_APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
3333
+ typedef void (GL_APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
3334
+ typedef void (GL_APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
3335
+ typedef void (GL_APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
3336
+ typedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
3337
+ typedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
3338
+ #ifdef GL_GLEXT_PROTOTYPES
3339
+ GL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range);
3340
+ GL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
3341
+ GL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path);
3342
+ GL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
3343
+ GL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
3344
+ GL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
3345
+ GL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
3346
+ GL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
3347
+ GL_APICALL void GL_APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3348
+ GL_APICALL void GL_APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3349
+ GL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
3350
+ GL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
3351
+ GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
3352
+ GL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
3353
+ GL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
3354
+ GL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
3355
+ GL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
3356
+ GL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
3357
+ GL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
3358
+ GL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
3359
+ GL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
3360
+ GL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
3361
+ GL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
3362
+ GL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
3363
+ GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
3364
+ GL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func);
3365
+ GL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
3366
+ GL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
3367
+ GL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3368
+ GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3369
+ GL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
3370
+ GL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
3371
+ GL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
3372
+ GL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
3373
+ GL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
3374
+ GL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
3375
+ GL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
3376
+ GL_APICALL void GL_APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
3377
+ GL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
3378
+ GL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
3379
+ GL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
3380
+ GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
3381
+ GL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
3382
+ GL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
3383
+ GL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
3384
+ GL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
3385
+ GL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
3386
+ GL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
3387
+ GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
3388
+ GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
3389
+ GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3390
+ GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3391
+ GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
3392
+ GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3393
+ GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3394
+ GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
3395
+ GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
3396
+ GL_APICALL void GL_APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3397
+ GL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
3398
+ GL_APICALL void GL_APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
3399
+ GL_APICALL void GL_APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
3400
+ GL_APICALL void GL_APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
3401
+ GL_APICALL void GL_APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
3402
+ GL_APICALL void GL_APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
3403
+ GL_APICALL void GL_APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
3404
+ GL_APICALL void GL_APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
3405
+ GL_APICALL void GL_APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
3406
+ GL_APICALL void GL_APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3407
+ GL_APICALL void GL_APIENTRY glMatrixPopEXT (GLenum mode);
3408
+ GL_APICALL void GL_APIENTRY glMatrixPushEXT (GLenum mode);
3409
+ GL_APICALL void GL_APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
3410
+ GL_APICALL void GL_APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
3411
+ GL_APICALL void GL_APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
3412
+ GL_APICALL void GL_APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
3413
+ GL_APICALL void GL_APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
3414
+ GL_APICALL void GL_APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
3415
+ #endif
3416
+ #endif /* GL_NV_path_rendering */
3417
+
3418
+ #ifndef GL_NV_path_rendering_shared_edge
3419
+ #define GL_NV_path_rendering_shared_edge 1
3420
+ #define GL_SHARED_EDGE_NV 0xC0
3421
+ #endif /* GL_NV_path_rendering_shared_edge */
3422
+
3423
+ #ifndef GL_NV_pixel_buffer_object
3424
+ #define GL_NV_pixel_buffer_object 1
3425
+ #define GL_PIXEL_PACK_BUFFER_NV 0x88EB
3426
+ #define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC
3427
+ #define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED
3428
+ #define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF
3429
+ #endif /* GL_NV_pixel_buffer_object */
3430
+
3431
+ #ifndef GL_NV_polygon_mode
3432
+ #define GL_NV_polygon_mode 1
3433
+ #define GL_POLYGON_MODE_NV 0x0B40
3434
+ #define GL_POLYGON_OFFSET_POINT_NV 0x2A01
3435
+ #define GL_POLYGON_OFFSET_LINE_NV 0x2A02
3436
+ #define GL_POINT_NV 0x1B00
3437
+ #define GL_LINE_NV 0x1B01
3438
+ #define GL_FILL_NV 0x1B02
3439
+ typedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode);
3440
+ #ifdef GL_GLEXT_PROTOTYPES
3441
+ GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode);
3442
+ #endif
3443
+ #endif /* GL_NV_polygon_mode */
3444
+
3445
+ #ifndef GL_NV_primitive_shading_rate
3446
+ #define GL_NV_primitive_shading_rate 1
3447
+ #define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
3448
+ #define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
3449
+ #endif /* GL_NV_primitive_shading_rate */
3450
+
3451
+ #ifndef GL_NV_read_buffer
3452
+ #define GL_NV_read_buffer 1
3453
+ #define GL_READ_BUFFER_NV 0x0C02
3454
+ typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);
3455
+ #ifdef GL_GLEXT_PROTOTYPES
3456
+ GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);
3457
+ #endif
3458
+ #endif /* GL_NV_read_buffer */
3459
+
3460
+ #ifndef GL_NV_read_buffer_front
3461
+ #define GL_NV_read_buffer_front 1
3462
+ #endif /* GL_NV_read_buffer_front */
3463
+
3464
+ #ifndef GL_NV_read_depth
3465
+ #define GL_NV_read_depth 1
3466
+ #endif /* GL_NV_read_depth */
3467
+
3468
+ #ifndef GL_NV_read_depth_stencil
3469
+ #define GL_NV_read_depth_stencil 1
3470
+ #endif /* GL_NV_read_depth_stencil */
3471
+
3472
+ #ifndef GL_NV_read_stencil
3473
+ #define GL_NV_read_stencil 1
3474
+ #endif /* GL_NV_read_stencil */
3475
+
3476
+ #ifndef GL_NV_representative_fragment_test
3477
+ #define GL_NV_representative_fragment_test 1
3478
+ #define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
3479
+ #endif /* GL_NV_representative_fragment_test */
3480
+
3481
+ #ifndef GL_NV_sRGB_formats
3482
+ #define GL_NV_sRGB_formats 1
3483
+ #define GL_SLUMINANCE_NV 0x8C46
3484
+ #define GL_SLUMINANCE_ALPHA_NV 0x8C44
3485
+ #define GL_SRGB8_NV 0x8C41
3486
+ #define GL_SLUMINANCE8_NV 0x8C47
3487
+ #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45
3488
+ #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C
3489
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D
3490
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E
3491
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F
3492
+ #define GL_ETC1_SRGB8_NV 0x88EE
3493
+ #endif /* GL_NV_sRGB_formats */
3494
+
3495
+ #ifndef GL_NV_sample_locations
3496
+ #define GL_NV_sample_locations 1
3497
+ #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
3498
+ #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
3499
+ #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
3500
+ #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
3501
+ #define GL_SAMPLE_LOCATION_NV 0x8E50
3502
+ #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
3503
+ #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
3504
+ #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
3505
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
3506
+ typedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
3507
+ typedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
3508
+ #ifdef GL_GLEXT_PROTOTYPES
3509
+ GL_APICALL void GL_APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
3510
+ GL_APICALL void GL_APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
3511
+ GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void);
3512
+ #endif
3513
+ #endif /* GL_NV_sample_locations */
3514
+
3515
+ #ifndef GL_NV_sample_mask_override_coverage
3516
+ #define GL_NV_sample_mask_override_coverage 1
3517
+ #endif /* GL_NV_sample_mask_override_coverage */
3518
+
3519
+ #ifndef GL_NV_scissor_exclusive
3520
+ #define GL_NV_scissor_exclusive 1
3521
+ #define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
3522
+ #define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
3523
+ typedef void (GL_APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
3524
+ typedef void (GL_APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
3525
+ #ifdef GL_GLEXT_PROTOTYPES
3526
+ GL_APICALL void GL_APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height);
3527
+ GL_APICALL void GL_APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v);
3528
+ #endif
3529
+ #endif /* GL_NV_scissor_exclusive */
3530
+
3531
+ #ifndef GL_NV_shader_atomic_fp16_vector
3532
+ #define GL_NV_shader_atomic_fp16_vector 1
3533
+ #endif /* GL_NV_shader_atomic_fp16_vector */
3534
+
3535
+ #ifndef GL_NV_shader_noperspective_interpolation
3536
+ #define GL_NV_shader_noperspective_interpolation 1
3537
+ #endif /* GL_NV_shader_noperspective_interpolation */
3538
+
3539
+ #ifndef GL_NV_shader_subgroup_partitioned
3540
+ #define GL_NV_shader_subgroup_partitioned 1
3541
+ #define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
3542
+ #endif /* GL_NV_shader_subgroup_partitioned */
3543
+
3544
+ #ifndef GL_NV_shader_texture_footprint
3545
+ #define GL_NV_shader_texture_footprint 1
3546
+ #endif /* GL_NV_shader_texture_footprint */
3547
+
3548
+ #ifndef GL_NV_shading_rate_image
3549
+ #define GL_NV_shading_rate_image 1
3550
+ #define GL_SHADING_RATE_IMAGE_NV 0x9563
3551
+ #define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
3552
+ #define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
3553
+ #define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
3554
+ #define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
3555
+ #define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
3556
+ #define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
3557
+ #define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
3558
+ #define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
3559
+ #define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
3560
+ #define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
3561
+ #define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
3562
+ #define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
3563
+ #define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
3564
+ #define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
3565
+ #define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
3566
+ #define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
3567
+ #define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
3568
+ #define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
3569
+ #define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
3570
+ #define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
3571
+ typedef void (GL_APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture);
3572
+ typedef void (GL_APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate);
3573
+ typedef void (GL_APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location);
3574
+ typedef void (GL_APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize);
3575
+ typedef void (GL_APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
3576
+ typedef void (GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order);
3577
+ typedef void (GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations);
3578
+ #ifdef GL_GLEXT_PROTOTYPES
3579
+ GL_APICALL void GL_APIENTRY glBindShadingRateImageNV (GLuint texture);
3580
+ GL_APICALL void GL_APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate);
3581
+ GL_APICALL void GL_APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location);
3582
+ GL_APICALL void GL_APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize);
3583
+ GL_APICALL void GL_APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
3584
+ GL_APICALL void GL_APIENTRY glShadingRateSampleOrderNV (GLenum order);
3585
+ GL_APICALL void GL_APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations);
3586
+ #endif
3587
+ #endif /* GL_NV_shading_rate_image */
3588
+
3589
+ #ifndef GL_NV_shadow_samplers_array
3590
+ #define GL_NV_shadow_samplers_array 1
3591
+ #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4
3592
+ #endif /* GL_NV_shadow_samplers_array */
3593
+
3594
+ #ifndef GL_NV_shadow_samplers_cube
3595
+ #define GL_NV_shadow_samplers_cube 1
3596
+ #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5
3597
+ #endif /* GL_NV_shadow_samplers_cube */
3598
+
3599
+ #ifndef GL_NV_stereo_view_rendering
3600
+ #define GL_NV_stereo_view_rendering 1
3601
+ #endif /* GL_NV_stereo_view_rendering */
3602
+
3603
+ #ifndef GL_NV_texture_border_clamp
3604
+ #define GL_NV_texture_border_clamp 1
3605
+ #define GL_TEXTURE_BORDER_COLOR_NV 0x1004
3606
+ #define GL_CLAMP_TO_BORDER_NV 0x812D
3607
+ #endif /* GL_NV_texture_border_clamp */
3608
+
3609
+ #ifndef GL_NV_texture_compression_s3tc_update
3610
+ #define GL_NV_texture_compression_s3tc_update 1
3611
+ #endif /* GL_NV_texture_compression_s3tc_update */
3612
+
3613
+ #ifndef GL_NV_texture_npot_2D_mipmap
3614
+ #define GL_NV_texture_npot_2D_mipmap 1
3615
+ #endif /* GL_NV_texture_npot_2D_mipmap */
3616
+
3617
+ #ifndef GL_NV_timeline_semaphore
3618
+ #define GL_NV_timeline_semaphore 1
3619
+ #define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595
3620
+ #define GL_SEMAPHORE_TYPE_NV 0x95B3
3621
+ #define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4
3622
+ #define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5
3623
+ #define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6
3624
+ typedef void (GL_APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores);
3625
+ typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params);
3626
+ typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params);
3627
+ #ifdef GL_GLEXT_PROTOTYPES
3628
+ GL_APICALL void GL_APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores);
3629
+ GL_APICALL void GL_APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params);
3630
+ GL_APICALL void GL_APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params);
3631
+ #endif
3632
+ #endif /* GL_NV_timeline_semaphore */
3633
+
3634
+ #ifndef GL_NV_viewport_array
3635
+ #define GL_NV_viewport_array 1
3636
+ #define GL_MAX_VIEWPORTS_NV 0x825B
3637
+ #define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C
3638
+ #define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D
3639
+ #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F
3640
+ typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) (GLuint first, GLsizei count, const GLfloat *v);
3641
+ typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
3642
+ typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) (GLuint index, const GLfloat *v);
3643
+ typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
3644
+ typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDNVPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
3645
+ typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVNVPROC) (GLuint index, const GLint *v);
3646
+ typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVNVPROC) (GLuint first, GLsizei count, const GLfloat *v);
3647
+ typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFNVPROC) (GLuint index, GLfloat n, GLfloat f);
3648
+ typedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) (GLenum target, GLuint index, GLfloat *data);
3649
+ typedef void (GL_APIENTRYP PFNGLENABLEINVPROC) (GLenum target, GLuint index);
3650
+ typedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) (GLenum target, GLuint index);
3651
+ typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) (GLenum target, GLuint index);
3652
+ #ifdef GL_GLEXT_PROTOTYPES
3653
+ GL_APICALL void GL_APIENTRY glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat *v);
3654
+ GL_APICALL void GL_APIENTRY glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
3655
+ GL_APICALL void GL_APIENTRY glViewportIndexedfvNV (GLuint index, const GLfloat *v);
3656
+ GL_APICALL void GL_APIENTRY glScissorArrayvNV (GLuint first, GLsizei count, const GLint *v);
3657
+ GL_APICALL void GL_APIENTRY glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
3658
+ GL_APICALL void GL_APIENTRY glScissorIndexedvNV (GLuint index, const GLint *v);
3659
+ GL_APICALL void GL_APIENTRY glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat *v);
3660
+ GL_APICALL void GL_APIENTRY glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f);
3661
+ GL_APICALL void GL_APIENTRY glGetFloati_vNV (GLenum target, GLuint index, GLfloat *data);
3662
+ GL_APICALL void GL_APIENTRY glEnableiNV (GLenum target, GLuint index);
3663
+ GL_APICALL void GL_APIENTRY glDisableiNV (GLenum target, GLuint index);
3664
+ GL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index);
3665
+ #endif
3666
+ #endif /* GL_NV_viewport_array */
3667
+
3668
+ #ifndef GL_NV_viewport_array2
3669
+ #define GL_NV_viewport_array2 1
3670
+ #endif /* GL_NV_viewport_array2 */
3671
+
3672
+ #ifndef GL_NV_viewport_swizzle
3673
+ #define GL_NV_viewport_swizzle 1
3674
+ #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
3675
+ #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
3676
+ #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
3677
+ #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
3678
+ #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
3679
+ #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
3680
+ #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
3681
+ #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
3682
+ #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
3683
+ #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
3684
+ #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
3685
+ #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
3686
+ typedef void (GL_APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
3687
+ #ifdef GL_GLEXT_PROTOTYPES
3688
+ GL_APICALL void GL_APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
3689
+ #endif
3690
+ #endif /* GL_NV_viewport_swizzle */
3691
+
3692
+ #ifndef GL_OVR_multiview
3693
+ #define GL_OVR_multiview 1
3694
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
3695
+ #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
3696
+ #define GL_MAX_VIEWS_OVR 0x9631
3697
+ #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
3698
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
3699
+ #ifdef GL_GLEXT_PROTOTYPES
3700
+ GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
3701
+ #endif
3702
+ #endif /* GL_OVR_multiview */
3703
+
3704
+ #ifndef GL_OVR_multiview2
3705
+ #define GL_OVR_multiview2 1
3706
+ #endif /* GL_OVR_multiview2 */
3707
+
3708
+ #ifndef GL_OVR_multiview_multisampled_render_to_texture
3709
+ #define GL_OVR_multiview_multisampled_render_to_texture 1
3710
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews);
3711
+ #ifdef GL_GLEXT_PROTOTYPES
3712
+ GL_APICALL void GL_APIENTRY glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews);
3713
+ #endif
3714
+ #endif /* GL_OVR_multiview_multisampled_render_to_texture */
3715
+
3716
+ #ifndef GL_QCOM_YUV_texture_gather
3717
+ #define GL_QCOM_YUV_texture_gather 1
3718
+ #endif /* GL_QCOM_YUV_texture_gather */
3719
+
3720
+ #ifndef GL_QCOM_alpha_test
3721
+ #define GL_QCOM_alpha_test 1
3722
+ #define GL_ALPHA_TEST_QCOM 0x0BC0
3723
+ #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1
3724
+ #define GL_ALPHA_TEST_REF_QCOM 0x0BC2
3725
+ typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref);
3726
+ #ifdef GL_GLEXT_PROTOTYPES
3727
+ GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref);
3728
+ #endif
3729
+ #endif /* GL_QCOM_alpha_test */
3730
+
3731
+ #ifndef GL_QCOM_binning_control
3732
+ #define GL_QCOM_binning_control 1
3733
+ #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0
3734
+ #define GL_CPU_OPTIMIZED_QCOM 0x8FB1
3735
+ #define GL_GPU_OPTIMIZED_QCOM 0x8FB2
3736
+ #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3
3737
+ #endif /* GL_QCOM_binning_control */
3738
+
3739
+ #ifndef GL_QCOM_driver_control
3740
+ #define GL_QCOM_driver_control 1
3741
+ typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
3742
+ typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
3743
+ typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
3744
+ typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
3745
+ #ifdef GL_GLEXT_PROTOTYPES
3746
+ GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
3747
+ GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
3748
+ GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
3749
+ GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
3750
+ #endif
3751
+ #endif /* GL_QCOM_driver_control */
3752
+
3753
+ #ifndef GL_QCOM_extended_get
3754
+ #define GL_QCOM_extended_get 1
3755
+ #define GL_TEXTURE_WIDTH_QCOM 0x8BD2
3756
+ #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3
3757
+ #define GL_TEXTURE_DEPTH_QCOM 0x8BD4
3758
+ #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5
3759
+ #define GL_TEXTURE_FORMAT_QCOM 0x8BD6
3760
+ #define GL_TEXTURE_TYPE_QCOM 0x8BD7
3761
+ #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
3762
+ #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
3763
+ #define GL_TEXTURE_TARGET_QCOM 0x8BDA
3764
+ #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
3765
+ #define GL_STATE_RESTORE 0x8BDC
3766
+ typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
3767
+ typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
3768
+ typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
3769
+ typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
3770
+ typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
3771
+ typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
3772
+ typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
3773
+ typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params);
3774
+ #ifdef GL_GLEXT_PROTOTYPES
3775
+ GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
3776
+ GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
3777
+ GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
3778
+ GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
3779
+ GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
3780
+ GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
3781
+ GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
3782
+ GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params);
3783
+ #endif
3784
+ #endif /* GL_QCOM_extended_get */
3785
+
3786
+ #ifndef GL_QCOM_extended_get2
3787
+ #define GL_QCOM_extended_get2 1
3788
+ typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
3789
+ typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
3790
+ typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
3791
+ typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
3792
+ #ifdef GL_GLEXT_PROTOTYPES
3793
+ GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
3794
+ GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
3795
+ GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
3796
+ GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
3797
+ #endif
3798
+ #endif /* GL_QCOM_extended_get2 */
3799
+
3800
+ #ifndef GL_QCOM_frame_extrapolation
3801
+ #define GL_QCOM_frame_extrapolation 1
3802
+ typedef void (GL_APIENTRYP PFNGLEXTRAPOLATETEX2DQCOMPROC) (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor);
3803
+ #ifdef GL_GLEXT_PROTOTYPES
3804
+ GL_APICALL void GL_APIENTRY glExtrapolateTex2DQCOM (GLuint src1, GLuint src2, GLuint output, GLfloat scaleFactor);
3805
+ #endif
3806
+ #endif /* GL_QCOM_frame_extrapolation */
3807
+
3808
+ #ifndef GL_QCOM_framebuffer_foveated
3809
+ #define GL_QCOM_framebuffer_foveated 1
3810
+ #define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001
3811
+ #define GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM 0x00000002
3812
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures);
3813
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea);
3814
+ #ifdef GL_GLEXT_PROTOTYPES
3815
+ GL_APICALL void GL_APIENTRY glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures);
3816
+ GL_APICALL void GL_APIENTRY glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea);
3817
+ #endif
3818
+ #endif /* GL_QCOM_framebuffer_foveated */
3819
+
3820
+ #ifndef GL_QCOM_motion_estimation
3821
+ #define GL_QCOM_motion_estimation 1
3822
+ #define GL_MOTION_ESTIMATION_SEARCH_BLOCK_X_QCOM 0x8C90
3823
+ #define GL_MOTION_ESTIMATION_SEARCH_BLOCK_Y_QCOM 0x8C91
3824
+ typedef void (GL_APIENTRYP PFNGLTEXESTIMATEMOTIONQCOMPROC) (GLuint ref, GLuint target, GLuint output);
3825
+ typedef void (GL_APIENTRYP PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC) (GLuint ref, GLuint target, GLuint output, GLuint mask);
3826
+ #ifdef GL_GLEXT_PROTOTYPES
3827
+ GL_APICALL void GL_APIENTRY glTexEstimateMotionQCOM (GLuint ref, GLuint target, GLuint output);
3828
+ GL_APICALL void GL_APIENTRY glTexEstimateMotionRegionsQCOM (GLuint ref, GLuint target, GLuint output, GLuint mask);
3829
+ #endif
3830
+ #endif /* GL_QCOM_motion_estimation */
3831
+
3832
+ #ifndef GL_QCOM_perfmon_global_mode
3833
+ #define GL_QCOM_perfmon_global_mode 1
3834
+ #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
3835
+ #endif /* GL_QCOM_perfmon_global_mode */
3836
+
3837
+ #ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent
3838
+ #define GL_QCOM_shader_framebuffer_fetch_noncoherent 1
3839
+ #define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2
3840
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC) (void);
3841
+ #ifdef GL_GLEXT_PROTOTYPES
3842
+ GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierQCOM (void);
3843
+ #endif
3844
+ #endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */
3845
+
3846
+ #ifndef GL_QCOM_shader_framebuffer_fetch_rate
3847
+ #define GL_QCOM_shader_framebuffer_fetch_rate 1
3848
+ #endif /* GL_QCOM_shader_framebuffer_fetch_rate */
3849
+
3850
+ #ifndef GL_QCOM_shading_rate
3851
+ #define GL_QCOM_shading_rate 1
3852
+ #define GL_SHADING_RATE_QCOM 0x96A4
3853
+ #define GL_SHADING_RATE_PRESERVE_ASPECT_RATIO_QCOM 0x96A5
3854
+ #define GL_SHADING_RATE_1X1_PIXELS_QCOM 0x96A6
3855
+ #define GL_SHADING_RATE_1X2_PIXELS_QCOM 0x96A7
3856
+ #define GL_SHADING_RATE_2X1_PIXELS_QCOM 0x96A8
3857
+ #define GL_SHADING_RATE_2X2_PIXELS_QCOM 0x96A9
3858
+ #define GL_SHADING_RATE_4X2_PIXELS_QCOM 0x96AC
3859
+ #define GL_SHADING_RATE_4X4_PIXELS_QCOM 0x96AE
3860
+ typedef void (GL_APIENTRYP PFNGLSHADINGRATEQCOMPROC) (GLenum rate);
3861
+ #ifdef GL_GLEXT_PROTOTYPES
3862
+ GL_APICALL void GL_APIENTRY glShadingRateQCOM (GLenum rate);
3863
+ #endif
3864
+ #endif /* GL_QCOM_shading_rate */
3865
+
3866
+ #ifndef GL_QCOM_texture_foveated
3867
+ #define GL_QCOM_texture_foveated 1
3868
+ #define GL_TEXTURE_FOVEATED_FEATURE_BITS_QCOM 0x8BFB
3869
+ #define GL_TEXTURE_FOVEATED_MIN_PIXEL_DENSITY_QCOM 0x8BFC
3870
+ #define GL_TEXTURE_FOVEATED_FEATURE_QUERY_QCOM 0x8BFD
3871
+ #define GL_TEXTURE_FOVEATED_NUM_FOCAL_POINTS_QUERY_QCOM 0x8BFE
3872
+ #define GL_FRAMEBUFFER_INCOMPLETE_FOVEATION_QCOM 0x8BFF
3873
+ typedef void (GL_APIENTRYP PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC) (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea);
3874
+ #ifdef GL_GLEXT_PROTOTYPES
3875
+ GL_APICALL void GL_APIENTRY glTextureFoveationParametersQCOM (GLuint texture, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea);
3876
+ #endif
3877
+ #endif /* GL_QCOM_texture_foveated */
3878
+
3879
+ #ifndef GL_QCOM_texture_foveated2
3880
+ #define GL_QCOM_texture_foveated2 1
3881
+ #define GL_TEXTURE_FOVEATED_CUTOFF_DENSITY_QCOM 0x96A0
3882
+ #endif /* GL_QCOM_texture_foveated2 */
3883
+
3884
+ #ifndef GL_QCOM_texture_foveated_subsampled_layout
3885
+ #define GL_QCOM_texture_foveated_subsampled_layout 1
3886
+ #define GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM 0x00000004
3887
+ #define GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM 0x8FA1
3888
+ #endif /* GL_QCOM_texture_foveated_subsampled_layout */
3889
+
3890
+ #ifndef GL_QCOM_tiled_rendering
3891
+ #define GL_QCOM_tiled_rendering 1
3892
+ #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
3893
+ #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002
3894
+ #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004
3895
+ #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008
3896
+ #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010
3897
+ #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
3898
+ #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
3899
+ #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
3900
+ #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
3901
+ #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
3902
+ #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
3903
+ #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
3904
+ #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
3905
+ #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
3906
+ #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
3907
+ #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
3908
+ #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
3909
+ #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
3910
+ #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
3911
+ #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
3912
+ #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
3913
+ #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
3914
+ #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
3915
+ #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
3916
+ #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
3917
+ #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
3918
+ #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
3919
+ #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
3920
+ #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
3921
+ #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
3922
+ #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
3923
+ #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
3924
+ typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
3925
+ typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
3926
+ #ifdef GL_GLEXT_PROTOTYPES
3927
+ GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
3928
+ GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
3929
+ #endif
3930
+ #endif /* GL_QCOM_tiled_rendering */
3931
+
3932
+ #ifndef GL_QCOM_writeonly_rendering
3933
+ #define GL_QCOM_writeonly_rendering 1
3934
+ #define GL_WRITEONLY_RENDERING_QCOM 0x8823
3935
+ #endif /* GL_QCOM_writeonly_rendering */
3936
+
3937
+ #ifndef GL_VIV_shader_binary
3938
+ #define GL_VIV_shader_binary 1
3939
+ #define GL_SHADER_BINARY_VIV 0x8FC4
3940
+ #endif /* GL_VIV_shader_binary */
3941
+
3942
+ /* ANGLE GLES2 extensions */
3943
+ #include "gl2ext_angle.h"
3944
+
3945
+ #ifdef __cplusplus
3946
+ }
3947
+ #endif
3948
+
3949
+ #endif