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,701 @@
1
+ //
2
+ // Copyright 2017 The ANGLE Project Authors. All rights reserved.
3
+ // Use of this source code is governed by a BSD-style license that can be
4
+ // found in the LICENSE file.
5
+ //
6
+ // gl2ext_angle.h: ANGLE modifications to the gl2ext.h header file.
7
+ // Currently we don't include this file directly, we patch gl2ext.h
8
+ // to include it implicitly so it is visible throughout our code.
9
+
10
+ #ifndef INCLUDE_GLES2_GL2EXT_ANGLE_H_
11
+ #define INCLUDE_GLES2_GL2EXT_ANGLE_H_
12
+
13
+ // clang-format off
14
+
15
+ #ifndef GL_ANGLE_client_arrays
16
+ #define GL_ANGLE_client_arrays 1
17
+ #define GL_CLIENT_ARRAYS_ANGLE 0x93AA
18
+ #endif /* GL_ANGLE_client_arrays */
19
+
20
+ #ifndef GL_ANGLE_request_extension
21
+ #define GL_ANGLE_request_extension 1
22
+ #define GL_REQUESTABLE_EXTENSIONS_ANGLE 0x93A8
23
+ #define GL_NUM_REQUESTABLE_EXTENSIONS_ANGLE 0x93A9
24
+ typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONANGLEPROC) (const GLchar *name);
25
+ typedef void (GL_APIENTRYP PFNGLDISABLEEXTENSIONANGLEPROC) (const GLchar *name);
26
+ #ifdef GL_GLEXT_PROTOTYPES
27
+ GL_APICALL void GL_APIENTRY glRequestExtensionANGLE (const GLchar *name);
28
+ GL_APICALL void GL_APIENTRY glDisableExtensionANGLE (const GLchar *name);
29
+ #endif
30
+ #endif /* GL_ANGLE_webgl_compatibility */
31
+
32
+ #ifndef GL_ANGLE_robust_resource_initialization
33
+ #define GL_ANGLE_robust_resource_initialization 1
34
+ #define GL_ROBUST_RESOURCE_INITIALIZATION_ANGLE 0x93AB
35
+ #define GL_RESOURCE_INITIALIZED_ANGLE 0x969F
36
+ #endif /* GL_ANGLE_robust_resource_initialization */
37
+
38
+ #ifndef GL_ANGLE_provoking_vertex
39
+ #define GL_ANGLE_provoking_vertex 1
40
+ #define GL_FIRST_VERTEX_CONVENTION_ANGLE 0x8E4D
41
+ #define GL_LAST_VERTEX_CONVENTION_ANGLE 0x8E4E
42
+ #define GL_PROVOKING_VERTEX_ANGLE 0x8E4F
43
+ typedef void (GL_APIENTRYP PFNGLPROVOKINGVERTEXANGLEPROC) (GLenum);
44
+ #ifdef GL_GLEXT_PROTOTYPES
45
+ GL_APICALL void GL_APIENTRY glProvokingVertexANGLE(GLenum provokeMode);
46
+ #endif
47
+ #endif /* GL_ANGLE_provoking_vertex */
48
+
49
+ #ifndef GL_ANGLE_clip_cull_distance
50
+ #define GL_ANGLE_clip_cull_distance 1
51
+ #define GL_MAX_CLIP_DISTANCES_ANGLE 0x0D32
52
+ #define GL_MAX_CULL_DISTANCES_ANGLE 0x82F9
53
+ #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_ANGLE 0x82FA
54
+ #define GL_CLIP_DISTANCE0_ANGLE 0x3000
55
+ #define GL_CLIP_DISTANCE1_ANGLE 0x3001
56
+ #define GL_CLIP_DISTANCE2_ANGLE 0x3002
57
+ #define GL_CLIP_DISTANCE3_ANGLE 0x3003
58
+ #define GL_CLIP_DISTANCE4_ANGLE 0x3004
59
+ #define GL_CLIP_DISTANCE5_ANGLE 0x3005
60
+ #define GL_CLIP_DISTANCE6_ANGLE 0x3006
61
+ #define GL_CLIP_DISTANCE7_ANGLE 0x3007
62
+ #endif /* GL_ANGLE_clip_cull_distance */
63
+
64
+ #ifndef GL_CHROMIUM_framebuffer_mixed_samples
65
+ #define GL_CHROMIUM_frambuffer_mixed_samples 1
66
+ #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
67
+ typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC) (GLenum components);
68
+ #ifdef GL_GLEXT_PROTOTYPES
69
+ GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
70
+ #endif
71
+ #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
72
+
73
+ #ifndef GL_CHROMIUM_bind_generates_resource
74
+ #define GL_CHROMIUM_bind_generates_resource 1
75
+ #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244
76
+ #endif /* GL_CHROMIUM_bind_generates_resource */
77
+
78
+ #ifndef GL_ANGLE_memory_size
79
+ #define GL_ANGLE_memory_size
80
+ #define GL_MEMORY_SIZE_ANGLE 0x93AD
81
+ #endif /* GL_ANGLE_memory_size */
82
+
83
+ // needed by NV_path_rendering (and thus CHROMIUM_path_rendering)
84
+ // but CHROMIUM_path_rendering only needs MatrixLoadfEXT, MatrixLoadIdentityEXT
85
+ #ifndef GL_EXT_direct_state_access
86
+ #define GL_EXT_direct_state_access 1
87
+ typedef void(GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC)(GLenum matrixMode, const GLfloat *m);
88
+ typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC)(GLenum matrixMode);
89
+ #ifdef GL_GLEXT_PROTOTYPES
90
+ GL_APICALL void GL_APIENTRY glMatrixLoadfEXT(GLenum matrixMode, const GLfloat *m);
91
+ GL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT(GLenum matrixMode);
92
+ #endif
93
+ #endif /* GL_EXT_direct_state_access */
94
+
95
+ #ifndef GL_CHROMIUM_copy_texture
96
+ #define GL_CHROMIUM_copy_texture 1
97
+ typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(GLuint sourceId,
98
+ GLint sourceLevel,
99
+ GLenum destTarget,
100
+ GLuint destId,
101
+ GLint destLevel,
102
+ GLint internalFormat,
103
+ GLenum destType,
104
+ GLboolean unpackFlipY,
105
+ GLboolean unpackPremultiplyAlpha,
106
+ GLboolean unpackUnmultiplyAlpha);
107
+ typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(GLuint sourceId,
108
+ GLint sourceLevel,
109
+ GLenum destTarget,
110
+ GLuint destId,
111
+ GLint destLevel,
112
+ GLint xoffset,
113
+ GLint yoffset,
114
+ GLint x,
115
+ GLint y,
116
+ GLsizei width,
117
+ GLsizei height,
118
+ GLboolean unpackFlipY,
119
+ GLboolean unpackPremultiplyAlpha,
120
+ GLboolean unpackUnmultiplyAlpha);
121
+ #ifdef GL_GLEXT_PROTOTYPES
122
+ GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(GLuint sourceId,
123
+ GLint sourceLevel,
124
+ GLenum destTarget,
125
+ GLuint destId,
126
+ GLint destLevel,
127
+ GLint internalFormat,
128
+ GLenum destType,
129
+ GLboolean unpackFlipY,
130
+ GLboolean unpackPremultiplyAlpha,
131
+ GLboolean unpackUnmultiplyAlpha);
132
+ GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(GLuint sourceId,
133
+ GLint sourceLevel,
134
+ GLenum destTarget,
135
+ GLuint destId,
136
+ GLint destLevel,
137
+ GLint xoffset,
138
+ GLint yoffset,
139
+ GLint x,
140
+ GLint y,
141
+ GLsizei width,
142
+ GLsizei height,
143
+ GLboolean unpackFlipY,
144
+ GLboolean unpackPremultiplyAlpha,
145
+ GLboolean unpackUnmultiplyAlpha);
146
+ #endif
147
+ #endif /* GL_CHROMIUM_copy_texture */
148
+
149
+ #ifndef GL_CHROMIUM_compressed_copy_texture
150
+ #define GL_CHROMIUM_compressed_copy_texture 1
151
+ typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)(GLuint sourceId, GLuint destId);
152
+ #ifdef GL_GLEXT_PROTOTYPES
153
+ GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId);
154
+ #endif
155
+ #endif /* GL_CHROMIUM_compressed_copy_texture */
156
+
157
+
158
+ #ifndef GL_ANGLE_copy_texture_3d
159
+ #define GL_ANGLE_copy_texture_3d 1
160
+ typedef void(GL_APIENTRYP PFNGLCOPYTEXTURE3DANGLEPROC)(GLuint sourceId,
161
+ GLint sourceLevel,
162
+ GLenum destTarget,
163
+ GLuint destId,
164
+ GLint destLevel,
165
+ GLint internalFormat,
166
+ GLenum destType,
167
+ GLboolean unpackFlipY,
168
+ GLboolean unpackPremultiplyAlpha,
169
+ GLboolean unpackUnmultiplyAlpha);
170
+ typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURE3DANGLEPROC)(GLuint sourceId,
171
+ GLint sourceLevel,
172
+ GLenum destTarget,
173
+ GLuint destId,
174
+ GLint destLevel,
175
+ GLint xoffset,
176
+ GLint yoffset,
177
+ GLint zoffset,
178
+ GLint x,
179
+ GLint y,
180
+ GLint z,
181
+ GLsizei width,
182
+ GLsizei height,
183
+ GLsizei depth,
184
+ GLboolean unpackFlipY,
185
+ GLboolean unpackPremultiplyAlpha,
186
+ GLboolean unpackUnmultiplyAlpha);
187
+ #ifdef GL_GLEXT_PROTOTYPES
188
+ GL_APICALL void GL_APIENTRY glCopyTexture3DANGLE(GLuint sourceId,
189
+ GLint sourceLevel,
190
+ GLenum destTarget,
191
+ GLuint destId,
192
+ GLint destLevel,
193
+ GLint internalFormat,
194
+ GLenum destType,
195
+ GLboolean unpackFlipY,
196
+ GLboolean unpackPremultiplyAlpha,
197
+ GLboolean unpackUnmultiplyAlpha);
198
+ GL_APICALL void GL_APIENTRY glCopySubTexture3DANGLE(GLuint sourceId,
199
+ GLint sourceLevel,
200
+ GLenum destTarget,
201
+ GLuint destId,
202
+ GLint destLevel,
203
+ GLint xoffset,
204
+ GLint yoffset,
205
+ GLint zoffset,
206
+ GLint x,
207
+ GLint y,
208
+ GLint z,
209
+ GLsizei width,
210
+ GLsizei height,
211
+ GLsizei depth,
212
+ GLboolean unpackFlipY,
213
+ GLboolean unpackPremultiplyAlpha,
214
+ GLboolean unpackUnmultiplyAlpha);
215
+ #endif
216
+ #endif /* GL_ANGLE_copy_texture_3d */
217
+
218
+ #ifndef GL_CHROMIUM_sync_query
219
+ #define GL_CHROMIUM_sync_query 1
220
+ #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
221
+ #endif /* GL_CHROMIUM_sync_query */
222
+
223
+ #ifndef GL_EXT_texture_compression_s3tc_srgb
224
+ #define GL_EXT_texture_compression_s3tc_srgb 1
225
+ #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
226
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
227
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
228
+ #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
229
+ #endif /* GL_EXT_texture_compression_s3tc_srgb */
230
+
231
+ #ifndef GL_ANGLE_lossy_etc_decode
232
+ #define GL_ANGLE_lossy_etc_decode 1
233
+ #define GL_ETC1_RGB8_LOSSY_DECODE_ANGLE 0x9690
234
+ #define GL_COMPRESSED_R11_LOSSY_DECODE_EAC_ANGLE 0x9691
235
+ #define GL_COMPRESSED_SIGNED_R11_LOSSY_DECODE_EAC_ANGLE 0x9692
236
+ #define GL_COMPRESSED_RG11_LOSSY_DECODE_EAC_ANGLE 0x9693
237
+ #define GL_COMPRESSED_SIGNED_RG11_LOSSY_DECODE_EAC_ANGLE 0x9694
238
+ #define GL_COMPRESSED_RGB8_LOSSY_DECODE_ETC2_ANGLE 0x9695
239
+ #define GL_COMPRESSED_SRGB8_LOSSY_DECODE_ETC2_ANGLE 0x9696
240
+ #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE 0x9697
241
+ #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE 0x9698
242
+ #define GL_COMPRESSED_RGBA8_LOSSY_DECODE_ETC2_EAC_ANGLE 0x9699
243
+ #define GL_COMPRESSED_SRGB8_ALPHA8_LOSSY_DECODE_ETC2_EAC_ANGLE 0x969A
244
+ #endif /* GL_ANGLE_lossy_etc_decode */
245
+
246
+ #ifndef GL_ANGLE_robust_client_memory
247
+ #define GL_ANGLE_robust_client_memory 1
248
+ typedef void (GL_APIENTRYP PFNGLGETBOOLEANVROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, GLboolean *data);
249
+ typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
250
+ typedef void (GL_APIENTRYP PFNGLGETFLOATVROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *data);
251
+ typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum attachment, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
252
+ typedef void (GL_APIENTRYP PFNGLGETINTEGERVROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, GLint *data);
253
+ typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVROBUSTANGLEPROC) (GLuint program, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
254
+ typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
255
+ typedef void (GL_APIENTRYP PFNGLGETSHADERIVROBUSTANGLEPROC) (GLuint shader, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
256
+ typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
257
+ typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
258
+ typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLfloat *params);
259
+ typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLint *params);
260
+ typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
261
+ typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
262
+ typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, void **pointer);
263
+ typedef void (GL_APIENTRYP PFNGLREADPIXELSROBUSTANGLEPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns, GLsizei *rows, void *pixels);
264
+ typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DROBUSTANGLEPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void *pixels);
265
+ typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, const GLfloat *params);
266
+ typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, const GLint *params);
267
+ typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DROBUSTANGLEPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, const void *pixels);
268
+ typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DROBUSTANGLEPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void *pixels);
269
+ typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DROBUSTANGLEPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, const void *pixels);
270
+ typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DROBUSTANGLEPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLsizei bufSize, const void *data);
271
+ typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DROBUSTANGLEPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLsizei bufSize, const void *data);
272
+ typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DROBUSTANGLEPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei bufSize, const void *data);
273
+ typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DROBUSTANGLEPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei bufSize, const void *data);
274
+ typedef void (GL_APIENTRYP PFNGLGETQUERYIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
275
+ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVROBUSTANGLEPROC) (GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
276
+ typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, void **params);
277
+ typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VROBUSTANGLEPROC) (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint *data);
278
+ typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVROBUSTANGLEPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
279
+ typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
280
+ typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
281
+ typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLuint *params);
282
+ typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVROBUSTANGLEPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
283
+ typedef void (GL_APIENTRYP PFNGLGETINTEGER64VROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *data);
284
+ typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VROBUSTANGLEPROC) (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint64 *data);
285
+ typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *params);
286
+ typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, const GLint *param);
287
+ typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, const GLfloat *param);
288
+ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
289
+ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
290
+ typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
291
+ typedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVROBUSTANGLEPROC) (GLuint program, GLenum programInterface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
292
+ typedef void (GL_APIENTRYP PFNGLGETBOOLEANI_VROBUSTANGLEPROC) (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLboolean *data);
293
+ typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVROBUSTANGLEPROC) (GLenum pname, GLuint index, GLsizei bufSize, GLsizei *length, GLfloat *val);
294
+ typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
295
+ typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVROBUSTANGLEPROC) (GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
296
+ typedef void (GL_APIENTRYP PFNGLGETPOINTERVROBUSTANGLEROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, void **params);
297
+ typedef void (GL_APIENTRYP PFNGLREADNPIXELSROBUSTANGLEPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns, GLsizei *rows, void *data);
298
+ typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLfloat *params);
299
+ typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLint *params);
300
+ typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLuint *params);
301
+ typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, const GLint *params);
302
+ typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, const GLuint *params);
303
+ typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
304
+ typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
305
+ typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, const GLint *param);
306
+ typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, const GLuint *param);
307
+ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
308
+ typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
309
+ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVROBUSTANGLEPROC)(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
310
+ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VROBUSTANGLEPROC)(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *params);
311
+ typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VROBUSTANGLEPROC)(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint64 *params);
312
+ #ifdef GL_GLEXT_PROTOTYPES
313
+ GL_APICALL void GL_APIENTRY glGetBooleanvRobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, GLboolean *data);
314
+ GL_APICALL void GL_APIENTRY glGetBufferParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
315
+ GL_APICALL void GL_APIENTRY glGetFloatvRobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *data);
316
+ GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLE (GLenum target, GLenum attachment, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
317
+ GL_APICALL void GL_APIENTRY glGetIntegervRobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, GLint *data);
318
+ GL_APICALL void GL_APIENTRY glGetProgramivRobustANGLE (GLuint program, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
319
+ GL_APICALL void GL_APIENTRY glGetRenderbufferParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
320
+ GL_APICALL void GL_APIENTRY glGetShaderivRobustANGLE (GLuint shader, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
321
+ GL_APICALL void GL_APIENTRY glGetTexParameterfvRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
322
+ GL_APICALL void GL_APIENTRY glGetTexParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
323
+ GL_APICALL void GL_APIENTRY glGetUniformfvRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLfloat *params);
324
+ GL_APICALL void GL_APIENTRY glGetUniformivRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLint *params);
325
+ GL_APICALL void GL_APIENTRY glGetVertexAttribfvRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
326
+ GL_APICALL void GL_APIENTRY glGetVertexAttribivRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
327
+ GL_APICALL void GL_APIENTRY glGetVertexAttribPointervRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, void **pointer);
328
+ GL_APICALL void GL_APIENTRY glReadPixelsRobustANGLE (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns, GLsizei *rows, void *pixels);
329
+ GL_APICALL void GL_APIENTRY glTexImage2DRobustANGLE (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void *pixels);
330
+ GL_APICALL void GL_APIENTRY glTexParameterfvRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, const GLfloat *params);
331
+ GL_APICALL void GL_APIENTRY glTexParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, const GLint *params);
332
+ GL_APICALL void GL_APIENTRY glTexSubImage2DRobustANGLE (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, const void *pixels);
333
+ GL_APICALL void GL_APIENTRY glTexImage3DRobustANGLE (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void *pixels);
334
+ GL_APICALL void GL_APIENTRY glTexSubImage3DRobustANGLE (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, const void *pixels);
335
+ GL_APICALL void GL_APIENTRY glCompressedTexImage2DRobustANGLE(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLsizei bufSize, const void *data);
336
+ GL_APICALL void GL_APIENTRY glCompressedTexSubImage2DRobustANGLE(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLsizei bufSize, const void *data);
337
+ GL_APICALL void GL_APIENTRY glCompressedTexImage3DRobustANGLE(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei bufSize, const void *data);
338
+ GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DRobustANGLE(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei bufSize, const void *data);
339
+ GL_APICALL void GL_APIENTRY glGetQueryivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
340
+ GL_APICALL void GL_APIENTRY glGetQueryObjectuivRobustANGLE (GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
341
+ GL_APICALL void GL_APIENTRY glGetBufferPointervRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, void **params);
342
+ GL_APICALL void GL_APIENTRY glGetIntegeri_vRobustANGLE (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint *data);
343
+ GL_APICALL void GL_APIENTRY glGetInternalformativRobustANGLE (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
344
+ GL_APICALL void GL_APIENTRY glGetVertexAttribIivRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
345
+ GL_APICALL void GL_APIENTRY glGetVertexAttribIuivRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
346
+ GL_APICALL void GL_APIENTRY glGetUniformuivRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLuint *params);
347
+ GL_APICALL void GL_APIENTRY glGetActiveUniformBlockivRobustANGLE (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
348
+ GL_APICALL void GL_APIENTRY glGetInteger64vRobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *data);
349
+ GL_APICALL void GL_APIENTRY glGetInteger64i_vRobustANGLE (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint64 *data);
350
+ GL_APICALL void GL_APIENTRY glGetBufferParameteri64vRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *params);
351
+ GL_APICALL void GL_APIENTRY glSamplerParameterivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, const GLint *param);
352
+ GL_APICALL void GL_APIENTRY glSamplerParameterfvRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, const GLfloat *param);
353
+ GL_APICALL void GL_APIENTRY glGetSamplerParameterivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
354
+ GL_APICALL void GL_APIENTRY glGetSamplerParameterfvRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
355
+ GL_APICALL void GL_APIENTRY glGetFramebufferParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
356
+ GL_APICALL void GL_APIENTRY glGetProgramInterfaceivRobustANGLE (GLuint program, GLenum programInterface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
357
+ GL_APICALL void GL_APIENTRY glGetBooleani_vRobustANGLE (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLboolean *data);
358
+ GL_APICALL void GL_APIENTRY glGetMultisamplefvRobustANGLE (GLenum pname, GLuint index, GLsizei bufSize, GLsizei *length, GLfloat *val);
359
+ GL_APICALL void GL_APIENTRY glGetTexLevelParameterivRobustANGLE (GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
360
+ GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvRobustANGLE (GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
361
+ GL_APICALL void GL_APIENTRY glGetPointervRobustANGLERobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, void **params);
362
+ GL_APICALL void GL_APIENTRY glReadnPixelsRobustANGLE (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns, GLsizei *rows, void *data);
363
+ GL_APICALL void GL_APIENTRY glGetnUniformfvRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLfloat *params);
364
+ GL_APICALL void GL_APIENTRY glGetnUniformivRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLint *params);
365
+ GL_APICALL void GL_APIENTRY glGetnUniformuivRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLuint *params);
366
+ GL_APICALL void GL_APIENTRY glTexParameterIivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, const GLint *params);
367
+ GL_APICALL void GL_APIENTRY glTexParameterIuivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, const GLuint *params);
368
+ GL_APICALL void GL_APIENTRY glGetTexParameterIivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
369
+ GL_APICALL void GL_APIENTRY glGetTexParameterIuivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
370
+ GL_APICALL void GL_APIENTRY glSamplerParameterIivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, const GLint *param);
371
+ GL_APICALL void GL_APIENTRY glSamplerParameterIuivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, const GLuint *param);
372
+ GL_APICALL void GL_APIENTRY glGetSamplerParameterIivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
373
+ GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
374
+ GL_APICALL void GL_APIENTRY glGetQueryObjectivRobustANGLE(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
375
+ GL_APICALL void GL_APIENTRY glGetQueryObjecti64vRobustANGLE(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *params);
376
+ GL_APICALL void GL_APIENTRY glGetQueryObjectui64vRobustANGLE(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint64 *params);
377
+ #endif
378
+ #endif /* GL_ANGLE_robust_client_memory */
379
+
380
+ #ifndef GL_ANGLE_program_cache_control
381
+ #define GL_ANGLE_program_cache_control 1
382
+ #define GL_PROGRAM_CACHE_ENABLED_ANGLE 0x93AC
383
+ #endif /* GL_ANGLE_program_cache_control */
384
+
385
+ #ifndef GL_ANGLE_texture_rectangle
386
+ #define GL_ANGLE_texture_rectangle 1
387
+ #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ANGLE 0x84F8
388
+ #define GL_TEXTURE_RECTANGLE_ANGLE 0x84F5
389
+ #define GL_TEXTURE_BINDING_RECTANGLE_ANGLE 0x84F6
390
+ #define GL_SAMPLER_2D_RECT_ANGLE 0x8B63
391
+ #endif /* GL_ANGLE_texture_rectangle */
392
+
393
+ #ifndef GL_ANGLE_texture_multisample
394
+ #define GL_ANGLE_texture_multisample 1
395
+ #define GL_SAMPLE_POSITION_ANGLE 0x8E50
396
+ #define GL_SAMPLE_MASK_ANGLE 0x8E51
397
+ #define GL_SAMPLE_MASK_VALUE_ANGLE 0x8E52
398
+ #define GL_TEXTURE_2D_MULTISAMPLE_ANGLE 0x9100
399
+ #define GL_MAX_SAMPLE_MASK_WORDS_ANGLE 0x8E59
400
+ #define GL_MAX_COLOR_TEXTURE_SAMPLES_ANGLE 0x910E
401
+ #define GL_MAX_DEPTH_TEXTURE_SAMPLES_ANGLE 0x910F
402
+ #define GL_MAX_INTEGER_SAMPLES_ANGLE 0x9110
403
+ #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ANGLE 0x9104
404
+ #define GL_TEXTURE_SAMPLES_ANGLE 0x9106
405
+ #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS_ANGLE 0x9107
406
+ typedef void(GL_APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEANGLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
407
+ typedef void(GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVANGLEPROC)(GLenum target, GLint level, GLenum pname, GLfloat *params);
408
+ typedef void(GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVANGLEPROC)(GLenum target, GLint level, GLenum pname, GLint *params);
409
+ typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVANGLEPROC)(GLenum pname, GLuint index, GLfloat *val);
410
+ typedef void (GL_APIENTRYP PFNGLSAMPLEMASKIANGLEPROC)(GLuint maskNumber, GLbitfield mask);
411
+ #ifdef GL_GLEXT_PROTOTYPES
412
+ GL_APICALL void GL_APIENTRY glTexStorage2DMultisampleANGLE(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
413
+ GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvANGLE(GLenum target, GLint level, GLenum pname, GLfloat *params);
414
+ GL_APICALL void GL_APIENTRY glGetTexLevelParameterivANGLE(GLenum target, GLint level, GLenum pname, GLint *params);
415
+ GL_APICALL void GL_APIENTRY glGetMultisamplefvANGLE(GLenum pname, GLuint index, GLfloat *val);
416
+ GL_APICALL void GL_APIENTRY glSampleMaskiANGLE(GLuint maskNumber, GLbitfield mask);
417
+ #endif
418
+ #endif // !GL_ANGLE_texture_multisample
419
+
420
+ #ifndef GL_ANGLE_get_tex_level_parameter
421
+ #define GL_ANGLE_get_tex_level_parameter 1
422
+ typedef void(GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVANGLEPROC)(GLenum target, GLint level, GLenum pname, GLfloat *params);
423
+ typedef void(GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVANGLEPROC)(GLenum target, GLint level, GLenum pname, GLint *params);
424
+ #ifdef GL_GLEXT_PROTOTYPES
425
+ GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvANGLE(GLenum target, GLint level, GLenum pname, GLfloat *params);
426
+ GL_APICALL void GL_APIENTRY glGetTexLevelParameterivANGLE(GLenum target, GLint level, GLenum pname, GLint *params);
427
+ #endif
428
+ #endif /* GL_ANGLE_get_tex_level_parameter */
429
+
430
+ #ifndef GL_ANGLE_multi_draw
431
+ #define GL_ANGLE_multi_draw 1
432
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSANGLEPROC) (GLenum mode, const GLint *firsts, const GLsizei *counts, GLsizei drawcount);
433
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, const GLint *firsts, const GLsizei *counts, const GLsizei *instanceCounts, GLsizei drawcount);
434
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSANGLEPROC) (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
435
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, const GLsizei *instanceCounts, GLsizei drawcount);
436
+ #ifdef GL_GLEXT_PROTOTYPES
437
+ GL_APICALL void GL_APIENTRY glMultiDrawArraysANGLE (GLenum mode, const GLint *firsts, const GLsizei *counts, GLsizei drawcount);
438
+ GL_APICALL void GL_APIENTRY glMultiDrawArraysInstancedANGLE (GLenum mode, const GLint *firsts, const GLsizei *counts, const GLsizei *instanceCounts, GLsizei drawcount);
439
+ GL_APICALL void GL_APIENTRY glMultiDrawElementsANGLE (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
440
+ GL_APICALL void GL_APIENTRY glMultiDrawElementsInstancedANGLE (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, const GLsizei *instanceCounts, GLsizei drawcount);
441
+ #endif
442
+ #endif /* GL_ANGLE_multi_draw */
443
+
444
+ #ifndef GL_ANGLE_base_vertex_base_instance
445
+ #define GL_ANGLE_base_vertex_base_instance 1
446
+ typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount, GLuint baseInstance);
447
+ typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount, GLint baseVertex, GLuint baseInstance);
448
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINSTANCEDBASEINSTANCEANGLEPROC) (GLenum mode, const GLsizei *firsts, const GLsizei *counts, const GLsizei *instanceCounts, const GLuint *baseInstances, GLsizei drawCount);
449
+ typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEANGLEPROC) (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, const GLsizei *instanceCounts, const GLint *baseVertices, const GLuint *baseInstances, GLsizei drawCount);
450
+ #ifdef GL_GLEXT_PROTOTYPES
451
+ GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceANGLE (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount, GLuint baseInstance);
452
+ GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceANGLE (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount, GLint baseVertex, GLuint baseInstance);
453
+ GL_APICALL void GL_APIENTRY glMultiDrawArraysInstancedBaseInstanceANGLE (GLenum mode, const GLsizei *firsts, const GLsizei *counts, const GLsizei *instanceCounts, const GLuint *baseInstances, GLsizei drawCount);
454
+ GL_APICALL void GL_APIENTRY glMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, const GLsizei *instanceCounts, const GLint *baseVertices, const GLuint *baseInstances, GLsizei drawCount);
455
+ #endif
456
+ #endif
457
+
458
+ #ifndef GL_CHROMIUM_bind_uniform_location
459
+ #define GL_CHROMIUM_bind_uniform_location 1
460
+ typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUMPROC)(GLuint program, GLint location, const GLchar *name);
461
+ #ifdef GL_GLEXT_PROTOTYPES
462
+ GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM(GLuint program, GLint location, const GLchar *name);
463
+ #endif
464
+ #endif /* GL_CHROMIUM_bind_uniform_location */
465
+
466
+ /* GL_CHROMIUM_lose_context */
467
+ #ifndef GL_CHROMIUM_lose_context
468
+ #define GL_CHROMIUM_lose_context 1
469
+ #ifdef GL_GLEXT_PROTOTYPES
470
+ GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other);
471
+ #endif
472
+ typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) (GLenum current, GLenum other);
473
+ #endif /* GL_CHROMIUM_lose_context */
474
+
475
+ #ifndef GL_ANGLE_texture_external_update
476
+ #define GL_ANGLE_texture_external_update 1
477
+ #define GL_TEXTURE_NATIVE_ID_ANGLE 0x3481
478
+ typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DEXTERNALANGLEPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type);
479
+ typedef void (GL_APIENTRYP PFNGLINVALIDATETEXTUREANGLEPROC) (GLenum target);
480
+ #ifdef GL_GLEXT_PROTOTYPES
481
+ GL_APICALL void GL_APIENTRY glTexImage2DExternalANGLE (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type);
482
+ GL_APICALL void GL_APIENTRY glInvalidateTextureANGLE (GLenum target);
483
+ #endif
484
+ #endif /* GL_ANGLE_texture_external_update */
485
+
486
+ #ifndef GL_ANGLE_get_image
487
+ #define GL_ANGLE_get_image
488
+ typedef void (GL_APIENTRYP PFNGLGETTEXIMAGEANGLEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
489
+ typedef void (GL_APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEANGLEPROC) (GLenum target, GLint level, void *pixels);
490
+ typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERIMAGEANGLEPROC) (GLenum target, GLenum format, GLenum type, void *pixels);
491
+ #ifdef GL_GLEXT_PROTOTYPES
492
+ GL_APICALL void GL_APIENTRY glGetTexImageANGLE (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
493
+ GL_APICALL void GL_APIENTRY glGetCompressedTexImageANGLE (GLenum target, GLint level, void *pixels);
494
+ GL_APICALL void GL_APIENTRY glGetRenderbufferImageANGLE (GLenum target, GLenum format, GLenum type, void *pixels);
495
+ #endif
496
+ #endif /* GL_ANGLE_get_image */
497
+
498
+ #ifndef GL_WEBGL_video_texture
499
+ #define GL_WEBGL_video_texture 1
500
+ #define GL_TEXTURE_VIDEO_IMAGE_WEBGL 0x9248
501
+ #define GL_SAMPLER_VIDEO_IMAGE_WEBGL 0x9249
502
+ #endif /* GL_WEBGL_video_texture */
503
+
504
+ #ifndef GL_ANGLE_memory_object_flags
505
+ #define GL_ANGLE_memory_object_flags 1
506
+ #define GL_CREATE_SPARSE_BINDING_BIT_ANGLE 0x00000001
507
+ #define GL_CREATE_SPARSE_RESIDENCY_BIT_ANGLE 0x00000002
508
+ #define GL_CREATE_SPARSE_ALIASED_BIT_ANGLE 0x00000004
509
+ #define GL_CREATE_MUTABLE_FORMAT_BIT_ANGLE 0x00000008
510
+ #define GL_CREATE_CUBE_COMPATIBLE_BIT_ANGLE 0x00000010
511
+ #define GL_CREATE_ALIAS_BIT_ANGLE 0x00000400
512
+ #define GL_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_ANGLE 0x00000040
513
+ #define GL_CREATE_2D_ARRAY_COMPATIBLE_BIT_ANGLE 0x00000020
514
+ #define GL_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_ANGLE 0x00000080
515
+ #define GL_CREATE_EXTENDED_USAGE_BIT_ANGLE 0x00000100
516
+ #define GL_CREATE_PROTECTED_BIT_ANGLE 0x00000800
517
+ #define GL_CREATE_DISJOINT_BIT_ANGLE 0x00000200
518
+ #define GL_CREATE_CORNER_SAMPLED_BIT_ANGLE 0x00002000
519
+ #define GL_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_ANGLE 0x00001000
520
+ #define GL_CREATE_SUBSAMPLED_BIT_ANGLE 0x00004000
521
+ #define GL_USAGE_TRANSFER_SRC_BIT_ANGLE 0x00000001
522
+ #define GL_USAGE_TRANSFER_DST_BIT_ANGLE 0x00000002
523
+ #define GL_USAGE_SAMPLED_BIT_ANGLE 0x00000004
524
+ #define GL_USAGE_STORAGE_BIT_ANGLE 0x00000008
525
+ #define GL_USAGE_COLOR_ATTACHMENT_BIT_ANGLE 0x00000010
526
+ #define GL_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT_ANGLE 0x00000020
527
+ #define GL_USAGE_TRANSIENT_ATTACHMENT_BIT_ANGLE 0x00000040
528
+ #define GL_USAGE_INPUT_ATTACHMENT_BIT_ANGLE 0x00000080
529
+ #define GL_USAGE_SHADING_RATE_IMAGE_BIT_ANGLE 0x00000100
530
+ #define GL_USAGE_FRAGMENT_DENSITY_MAP_BIT_ANGLE 0x00000200
531
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEMFLAGS2DANGLEPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext);
532
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEMFLAGS2DMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext);
533
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEMFLAGS3DANGLEPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext);
534
+ typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEMFLAGS3DMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext);
535
+ #ifdef GL_GLEXT_PROTOTYPES
536
+ GL_APICALL void GL_APIENTRY glTexStorageMemFlags2DANGLE (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext);
537
+ GL_APICALL void GL_APIENTRY glTexStorageMemFlags2DMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext);
538
+ GL_APICALL void GL_APIENTRY glTexStorageMemFlags3DANGLE (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext);
539
+ GL_APICALL void GL_APIENTRY glTexStorageMemFlags3DMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags, const void *imageCreateInfoPNext);
540
+ #endif
541
+ #endif /* GL_ANGLE_memory_object_flags */
542
+
543
+ #ifndef GL_ANGLE_memory_object_fuchsia
544
+ #define GL_ANGLE_memory_object_fuchsia 1
545
+ #define GL_HANDLE_TYPE_ZIRCON_VMO_ANGLE 0x93AE
546
+ typedef void(GL_APIENTRYP PFNGLIMPORTMEMORYZIRCONHANDLEANGLEPROC)(GLuint memory,
547
+ GLuint64 size,
548
+ GLenum handleType,
549
+ GLuint handle);
550
+ #ifdef GL_GLEXT_PROTOTYPES
551
+ GL_APICALL void GL_APIENTRY glImportMemoryZirconHandleANGLE(GLuint memory,
552
+ GLuint64 size,
553
+ GLenum handleType,
554
+ GLuint handle);
555
+ #endif
556
+ #endif /* GL_ANGLE_memory_object_fuchsia */
557
+
558
+ #ifndef GL_ANGLE_semaphore_fuchsia
559
+ #define GL_ANGLE_semaphore_fuchsia 1
560
+ #define GL_HANDLE_TYPE_ZIRCON_EVENT_ANGLE 0x93AF
561
+ typedef void(GL_APIENTRYP PFNGLIMPORTSEMAPHOREZIRCONHANDLEANGLEPROC)(GLuint semaphore,
562
+ GLenum handleType,
563
+ GLuint handle);
564
+ #ifdef GL_GLEXT_PROTOTYPES
565
+ GL_APICALL void GL_APIENTRY glImportSemaphoreZirconHandleANGLE(GLuint memory,
566
+ GLenum handleType,
567
+ GLuint handle);
568
+ #endif
569
+ #endif /* GL_ANGLE_semaphore_fuchsia */
570
+
571
+ #ifndef GL_ANGLE_vulkan_image
572
+ #define GL_ANGLE_vulkan_image 1
573
+ typedef void(GL_APIENTRYP PFNGLACQUIRETEXTURESANGLEPROC)(GLuint numTexture, const GLuint *textures, const GLenum *layouts);
574
+ typedef void(GL_APIENTRYP PFNGLRELEASETEXTURESANGLEPROC)(GLuint numTexture, const GLuint *textures, GLenum *layouts);
575
+ #ifdef GL_GLEXT_PROTOTYPES
576
+ GL_APICALL void GL_APIENTRY glAcquireTexturesANGLE(GLuint numTexture, const GLuint *textures, const GLenum *layouts);
577
+ GL_APICALL void GL_APIENTRY glReleaseTexturesANGLE(GLuint numTexture, const GLuint *textures, GLenum *layouts);
578
+ #endif
579
+ #endif /* GL_ANGLE_vulkan_image */
580
+
581
+ #ifndef GL_CHROMIUM_texture_filtering_hint
582
+ #define GL_CHROMIUM_texture_filtering_hint
583
+ #define GL_TEXTURE_FILTERING_HINT_CHROMIUM 0x8AF0
584
+ #endif /* GL_CHROMIUM_texture_filtering_hint */
585
+
586
+ #ifndef GL_NV_robustness_video_memory
587
+ #define GL_NV_robustness_video_memory
588
+ #define GL_PURGED_CONTEXT_RESET_NV 0x92BB
589
+ #endif /* GL_NV_robustness_video_memory */
590
+
591
+ #ifndef GL_ANGLE_get_serialized_context_string
592
+ #define GL_ANGLE_get_serialized_context_string
593
+ #define GL_SERIALIZED_CONTEXT_STRING_ANGLE 0x96B0
594
+ #endif /* GL_ANGLE_get_serialized_context_string */
595
+
596
+ #ifndef GL_ANGLE_robust_fragment_shader_output
597
+ #define GL_ANGLE_robust_fragment_shader_output
598
+ #define GL_ROBUST_FRAGMENT_SHADER_OUTPUT_ANGLE 0x96B9
599
+ #endif /* GL_ANGLE_robust_fragment_shader_output */
600
+
601
+ #ifndef GL_ANGLE_shader_pixel_local_storage
602
+ #define GL_ANGLE_shader_pixel_local_storage 1
603
+ #define GL_MAX_PIXEL_LOCAL_STORAGE_PLANES_ANGLE 0x96E0
604
+ #define GL_MAX_COLOR_ATTACHMENTS_WITH_ACTIVE_PIXEL_LOCAL_STORAGE_ANGLE 0x96E1
605
+ #define GL_MAX_COMBINED_DRAW_BUFFERS_AND_PIXEL_LOCAL_STORAGE_PLANES_ANGLE 0x96E2
606
+ #define GL_PIXEL_LOCAL_STORAGE_ACTIVE_PLANES_ANGLE 0x96E3
607
+ #define GL_LOAD_OP_ZERO_ANGLE 0x96E4
608
+ #define GL_LOAD_OP_CLEAR_ANGLE 0x96E5
609
+ #define GL_LOAD_OP_LOAD_ANGLE 0x96E6
610
+ #define GL_LOAD_OP_DISABLE_ANGLE 0x96E7
611
+ #define GL_STORE_OP_STORE_ANGLE 0x96E8
612
+ #define GL_PIXEL_LOCAL_FORMAT_ANGLE 0x96E9
613
+ #define GL_PIXEL_LOCAL_TEXTURE_NAME_ANGLE 0x96EA
614
+ #define GL_PIXEL_LOCAL_TEXTURE_LEVEL_ANGLE 0x96EB
615
+ #define GL_PIXEL_LOCAL_TEXTURE_LAYER_ANGLE 0x96EC
616
+ #define GL_PIXEL_LOCAL_CLEAR_VALUE_FLOAT_ANGLE 0x96ED
617
+ #define GL_PIXEL_LOCAL_CLEAR_VALUE_INT_ANGLE 0x96EE
618
+ #define GL_PIXEL_LOCAL_CLEAR_VALUE_UNSIGNED_INT_ANGLE 0x96EF
619
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERMEMORYLESSPIXELLOCALSTORAGEANGLEPROC) (GLint plane, GLenum internalformat);
620
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREPIXELLOCALSTORAGEANGLEPROC) (GLint plane, GLuint backingtexture, GLint level, GLint layer);
621
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALCLEARVALUEFVANGLEPROC) (GLint plane, const GLfloat value[4]);
622
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALCLEARVALUEIVANGLEPROC) (GLint plane, const GLint value[4]);
623
+ typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALCLEARVALUEUIVANGLEPROC) (GLint plane, const GLuint value[4]);
624
+ typedef void (GL_APIENTRYP PFNGLBEGINPIXELLOCALSTORAGEANGLEPROC) (GLsizei n, const GLenum loadops[]);
625
+ typedef void (GL_APIENTRYP PFNGLENDPIXELLOCALSTORAGEANGLEPROC) (GLsizei n, const GLenum storeops[]);
626
+ typedef void (GL_APIENTRYP PFNGLPIXELLOCALSTORAGEBARRIERANGLEPROC) (void);
627
+ typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGEPARAMETERFVANGLEPROC) (GLint plane, GLenum pname, GLfloat* params);
628
+ typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGEPARAMETERIVANGLEPROC) (GLint plane, GLenum pname, GLint* params);
629
+ #ifdef GL_GLEXT_PROTOTYPES
630
+ GL_APICALL void GL_APIENTRY glFramebufferMemorylessPixelLocalStorageANGLE (GLint plane, GLenum internalformat);
631
+ GL_APICALL void GL_APIENTRY glFramebufferTexturePixelLocalStorageANGLE (GLint plane, GLuint backingtexture, GLint level, GLint layer);
632
+ GL_APICALL void GL_APIENTRY glFramebufferPixelLocalClearValuefvANGLE (GLint plane, const GLfloat value[4]);
633
+ GL_APICALL void GL_APIENTRY glFramebufferPixelLocalClearValueivANGLE (GLint plane, const GLint value[4]);
634
+ GL_APICALL void GL_APIENTRY glFramebufferPixelLocalClearValueuivANGLE (GLint plane, const GLuint value[4]);
635
+ GL_APICALL void GL_APIENTRY glBeginPixelLocalStorageANGLE (GLsizei n, const GLenum loadops[]);
636
+ GL_APICALL void GL_APIENTRY glEndPixelLocalStorageANGLE (GLsizei n, const GLenum storeops[]);
637
+ GL_APICALL void GL_APIENTRY glPixelLocalStorageBarrierANGLE (void);
638
+ GL_APICALL void GL_APIENTRY glGetFramebufferPixelLocalStorageParameterfvANGLE (GLint plane, GLenum pname, GLfloat* params);
639
+ GL_APICALL void GL_APIENTRY glGetFramebufferPixelLocalStorageParameterivANGLE (GLint plane, GLenum pname, GLint* params);
640
+ #endif
641
+ #endif /* GL_ANGLE_shader_pixel_local_storage */
642
+
643
+ // clang-format on
644
+
645
+ #ifndef GL_ANGLE_yuv_internal_format
646
+ #define GL_ANGLE_yuv_internal_format
647
+
648
+ // YUV formats introduced by GL_ANGLE_yuv_internal_format
649
+ // 8-bit YUV formats
650
+ #define GL_G8_B8R8_2PLANE_420_UNORM_ANGLE 0x96B1
651
+ #define GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE 0x96B2
652
+
653
+ // 10-bit YUV formats
654
+ #define GL_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_ANGLE 0x96B3
655
+ #define GL_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_ANGLE 0x96B4
656
+
657
+ // 12-bit YUV formats
658
+ #define GL_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_ANGLE 0x96B5
659
+ #define GL_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_ANGLE 0x96B6
660
+
661
+ // 16-bit YUV formats
662
+ #define GL_G16_B16R16_2PLANE_420_UNORM_ANGLE 0x96B7
663
+ #define GL_G16_B16_R16_3PLANE_420_UNORM_ANGLE 0x96B8
664
+
665
+ #endif /* GL_ANGLE_yuv_internal_format */
666
+
667
+ #ifndef GL_ANGLE_rgbx_internal_format
668
+ #define GL_ANGLE_rgbx_internal_format
669
+
670
+ #define GL_RGBX8_ANGLE 0x96BA
671
+
672
+ #endif /* GL_ANGLE_rgbx_internal_format */
673
+
674
+ #ifndef GL_ANGLE_logic_op
675
+ #define GL_ANGLE_logic_op
676
+
677
+ // Enums identical to GLES1 and desktop GL
678
+ #define GL_COLOR_LOGIC_OP_ANGLE 0x0BF2
679
+ #define GL_LOGIC_OP_CLEAR_ANGLE 0x1500
680
+ #define GL_LOGIC_OP_AND_ANGLE 0x1501
681
+ #define GL_LOGIC_OP_AND_REVERSE_ANGLE 0x1502
682
+ #define GL_LOGIC_OP_COPY_ANGLE 0x1503
683
+ #define GL_LOGIC_OP_AND_INVERTED_ANGLE 0x1504
684
+ #define GL_LOGIC_OP_NOOP_ANGLE 0x1505
685
+ #define GL_LOGIC_OP_XOR_ANGLE 0x1506
686
+ #define GL_LOGIC_OP_OR_ANGLE 0x1507
687
+ #define GL_LOGIC_OP_NOR_ANGLE 0x1508
688
+ #define GL_LOGIC_OP_EQUIV_ANGLE 0x1509
689
+ #define GL_LOGIC_OP_INVERT_ANGLE 0x150A
690
+ #define GL_LOGIC_OP_OR_REVERSE_ANGLE 0x150B
691
+ #define GL_LOGIC_OP_COPY_INVERTED_ANGLE 0x150C
692
+ #define GL_LOGIC_OP_OR_INVERTED_ANGLE 0x150D
693
+ #define GL_LOGIC_OP_NAND_ANGLE 0x150E
694
+ #define GL_LOGIC_OP_SET_ANGLE 0x150F
695
+ typedef void (GL_APIENTRYP PFNGLLOGICOPANGLEPROC) (GLenum);
696
+ #ifdef GL_GLEXT_PROTOTYPES
697
+ GL_APICALL void GL_APIENTRY glLogicOpANGLE (GLenum);
698
+ #endif
699
+ #endif /* GL_ANGLE_logic_op */
700
+
701
+ #endif // INCLUDE_GLES2_GL2EXT_ANGLE_H_