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 #endif
29 #endif /* GL_ANGLE_webgl_compatibility */
30 
31 #ifndef GL_ANGLE_robust_resource_initialization
32 #define GL_ANGLE_robust_resource_initialization 1
33 #define GL_ROBUST_RESOURCE_INITIALIZATION_ANGLE 0x93AB
34 #define GL_RESOURCE_INITIALIZED_ANGLE 0x969F
35 #endif /* GL_ANGLE_robust_resource_initialization */
36 
37 #ifndef GL_ANGLE_provoking_vertex
38 #define GL_ANGLE_provoking_vertex 1
39 #define GL_FIRST_VERTEX_CONVENTION                   0x8E4D
40 #define GL_LAST_VERTEX_CONVENTION                    0x8E4E
41 #define GL_PROVOKING_VERTEX                          0x8E4F
42 typedef void (GL_APIENTRYP PFNGLPROVOKINGVERTEXANGLEPROC) (GLenum);
43 #ifdef GL_GLEXT_PROTOTYPES
44 GL_APICALL void GL_APIENTRY glProvokingVertexANGLE(GLenum mode);
45 #endif
46 #endif /* GL_ANGLE_provoking_vertex */
47 
48 #ifndef GL_CHROMIUM_framebuffer_mixed_samples
49 #define GL_CHROMIUM_frambuffer_mixed_samples 1
50 #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
51 typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC) (GLenum components);
52 #ifdef GL_GLEXT_PROTOTYPES
53 GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
54 #endif
55 #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
56 
57 #ifndef GL_CHROMIUM_bind_generates_resource
58 #define GL_CHROMIUM_bind_generates_resource 1
59 #define GL_BIND_GENERATES_RESOURCE_CHROMIUM 0x9244
60 #endif /* GL_CHROMIUM_bind_generates_resource */
61 
62 #ifndef GL_ANGLE_memory_size
63 #define GL_ANGLE_memory_size
64 #define GL_MEMORY_SIZE_ANGLE 0x93AD
65 #endif /* GL_ANGLE_memory_size */
66 
67 // needed by NV_path_rendering (and thus CHROMIUM_path_rendering)
68 // but CHROMIUM_path_rendering only needs MatrixLoadfEXT, MatrixLoadIdentityEXT
69 #ifndef GL_EXT_direct_state_access
70 #define GL_EXT_direct_state_access 1
71 typedef void(GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC)(GLenum matrixMode, const GLfloat *m);
72 typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC)(GLenum matrixMode);
73 #ifdef GL_GLEXT_PROTOTYPES
74 GL_APICALL void GL_APIENTRY glMatrixLoadfEXT(GLenum matrixMode, const GLfloat *m);
75 GL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT(GLenum matrixMode);
76 #endif
77 #endif /* GL_EXT_direct_state_access */
78 
79 #ifndef GL_CHROMIUM_copy_texture
80 #define GL_CHROMIUM_copy_texture 1
81 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(GLuint sourceId,
82                                                         GLint sourceLevel,
83                                                         GLenum destTarget,
84                                                         GLuint destId,
85                                                         GLint destLevel,
86                                                         GLint internalFormat,
87                                                         GLenum destType,
88                                                         GLboolean unpackFlipY,
89                                                         GLboolean unpackPremultiplyAlpha,
90                                                         GLboolean unpackUnmultiplyAlpha);
91 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(GLuint sourceId,
92                                                            GLint sourceLevel,
93                                                            GLenum destTarget,
94                                                            GLuint destId,
95                                                            GLint destLevel,
96                                                            GLint xoffset,
97                                                            GLint yoffset,
98                                                            GLint x,
99                                                            GLint y,
100                                                            GLsizei width,
101                                                            GLsizei height,
102                                                            GLboolean unpackFlipY,
103                                                            GLboolean unpackPremultiplyAlpha,
104                                                            GLboolean unpackUnmultiplyAlpha);
105 #ifdef GL_GLEXT_PROTOTYPES
106 GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(GLuint sourceId,
107                                                   GLint sourceLevel,
108                                                   GLenum destTarget,
109                                                   GLuint destId,
110                                                   GLint destLevel,
111                                                   GLint internalFormat,
112                                                   GLenum destType,
113                                                   GLboolean unpackFlipY,
114                                                   GLboolean unpackPremultiplyAlpha,
115                                                   GLboolean unpackUnmultiplyAlpha);
116 GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(GLuint sourceId,
117                                                      GLint sourceLevel,
118                                                      GLenum destTarget,
119                                                      GLuint destId,
120                                                      GLint destLevel,
121                                                      GLint xoffset,
122                                                      GLint yoffset,
123                                                      GLint x,
124                                                      GLint y,
125                                                      GLsizei width,
126                                                      GLsizei height,
127                                                      GLboolean unpackFlipY,
128                                                      GLboolean unpackPremultiplyAlpha,
129                                                      GLboolean unpackUnmultiplyAlpha);
130 #endif
131 #endif /* GL_CHROMIUM_copy_texture */
132 
133 #ifndef GL_CHROMIUM_compressed_copy_texture
134 #define GL_CHROMIUM_compressed_copy_texture 1
135 typedef void(GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMPROC)(GLuint sourceId, GLuint destId);
136 #ifdef GL_GLEXT_PROTOTYPES
137 GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUM(GLuint sourceId, GLuint destId);
138 #endif
139 #endif /* GL_CHROMIUM_compressed_copy_texture */
140 
141 
142 #ifndef GL_ANGLE_copy_texture_3d
143 #define GL_ANGLE_copy_texture_3d 1
144 typedef void(GL_APIENTRYP PFNGLCOPYTEXTURE3DANGLEPROC)(GLuint sourceId,
145                                                         GLint sourceLevel,
146                                                         GLenum destTarget,
147                                                         GLuint destId,
148                                                         GLint destLevel,
149                                                         GLint internalFormat,
150                                                         GLenum destType,
151                                                         GLboolean unpackFlipY,
152                                                         GLboolean unpackPremultiplyAlpha,
153                                                         GLboolean unpackUnmultiplyAlpha);
154 typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURE3DANGLEPROC)(GLuint sourceId,
155                                                            GLint sourceLevel,
156                                                            GLenum destTarget,
157                                                            GLuint destId,
158                                                            GLint destLevel,
159                                                            GLint xoffset,
160                                                            GLint yoffset,
161                                                            GLint zoffset,
162                                                            GLint x,
163                                                            GLint y,
164                                                            GLint z,
165                                                            GLsizei width,
166                                                            GLsizei height,
167                                                            GLsizei depth,
168                                                            GLboolean unpackFlipY,
169                                                            GLboolean unpackPremultiplyAlpha,
170                                                            GLboolean unpackUnmultiplyAlpha);
171 #ifdef GL_GLEXT_PROTOTYPES
172 GL_APICALL void GL_APIENTRY glCopyTexture3DANGLE(GLuint sourceId,
173                                                   GLint sourceLevel,
174                                                   GLenum destTarget,
175                                                   GLuint destId,
176                                                   GLint destLevel,
177                                                   GLint internalFormat,
178                                                   GLenum destType,
179                                                   GLboolean unpackFlipY,
180                                                   GLboolean unpackPremultiplyAlpha,
181                                                   GLboolean unpackUnmultiplyAlpha);
182 GL_APICALL void GL_APIENTRY glCopySubTexture3DANGLE(GLuint sourceId,
183                                                      GLint sourceLevel,
184                                                      GLenum destTarget,
185                                                      GLuint destId,
186                                                      GLint destLevel,
187                                                      GLint xoffset,
188                                                      GLint yoffset,
189                                                      GLint zoffset,
190                                                      GLint x,
191                                                      GLint y,
192                                                      GLint z,
193                                                      GLsizei width,
194                                                      GLsizei height,
195                                                      GLsizei depth,
196                                                      GLboolean unpackFlipY,
197                                                      GLboolean unpackPremultiplyAlpha,
198                                                      GLboolean unpackUnmultiplyAlpha);
199 #endif
200 #endif /* GL_ANGLE_copy_texture_3d */
201 
202 #ifndef GL_CHROMIUM_sync_query
203 #define GL_CHROMIUM_sync_query 1
204 #define GL_COMMANDS_COMPLETED_CHROMIUM    0x84F7
205 #endif  /* GL_CHROMIUM_sync_query */
206 
207 #ifndef GL_EXT_texture_compression_s3tc_srgb
208 #define GL_EXT_texture_compression_s3tc_srgb 1
209 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT  0x8C4C
210 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
211 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
212 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
213 #endif /* GL_EXT_texture_compression_s3tc_srgb */
214 
215 #ifndef GL_ANGLE_lossy_etc_decode
216 #define GL_ANGLE_lossy_etc_decode 1
217 #define GL_ETC1_RGB8_LOSSY_DECODE_ANGLE                                  0x9690
218 #define GL_COMPRESSED_R11_LOSSY_DECODE_EAC_ANGLE                         0x9691
219 #define GL_COMPRESSED_SIGNED_R11_LOSSY_DECODE_EAC_ANGLE                  0x9692
220 #define GL_COMPRESSED_RG11_LOSSY_DECODE_EAC_ANGLE                        0x9693
221 #define GL_COMPRESSED_SIGNED_RG11_LOSSY_DECODE_EAC_ANGLE                 0x9694
222 #define GL_COMPRESSED_RGB8_LOSSY_DECODE_ETC2_ANGLE                       0x9695
223 #define GL_COMPRESSED_SRGB8_LOSSY_DECODE_ETC2_ANGLE                      0x9696
224 #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE   0x9697
225 #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE  0x9698
226 #define GL_COMPRESSED_RGBA8_LOSSY_DECODE_ETC2_EAC_ANGLE                  0x9699
227 #define GL_COMPRESSED_SRGB8_ALPHA8_LOSSY_DECODE_ETC2_EAC_ANGLE           0x969A
228 #endif /* GL_ANGLE_lossy_etc_decode */
229 
230 #ifndef GL_ANGLE_robust_client_memory
231 #define GL_ANGLE_robust_client_memory 1
232 typedef void (GL_APIENTRYP PFNGLGETBOOLEANVROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, GLboolean *data);
233 typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
234 typedef void (GL_APIENTRYP PFNGLGETFLOATVROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *data);
235 typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum attachment, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
236 typedef void (GL_APIENTRYP PFNGLGETINTEGERVROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, GLint *data);
237 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVROBUSTANGLEPROC) (GLuint program, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
238 typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
239 typedef void (GL_APIENTRYP PFNGLGETSHADERIVROBUSTANGLEPROC) (GLuint shader, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
240 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
241 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
242 typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLfloat *params);
243 typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLint *params);
244 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
245 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
246 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, void **pointer);
247 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);
248 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);
249 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, const GLfloat *params);
250 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, const GLint *params);
251 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);
252 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);
253 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);
254 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DROBUSTANGLEPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLsizei bufSize, const void *data);
255 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);
256 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);
257 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);
258 typedef void (GL_APIENTRYP PFNGLGETQUERYIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
259 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVROBUSTANGLEPROC) (GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
260 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, void **params);
261 typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VROBUSTANGLEPROC) (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint *data);
262 typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVROBUSTANGLEPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
263 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
264 typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVROBUSTANGLEPROC) (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
265 typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLuint *params);
266 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVROBUSTANGLEPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
267 typedef void (GL_APIENTRYP PFNGLGETINTEGER64VROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *data);
268 typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VROBUSTANGLEPROC) (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint64 *data);
269 typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *params);
270 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, const GLint *param);
271 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, const GLfloat *param);
272 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
273 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
274 typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
275 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVROBUSTANGLEPROC) (GLuint program, GLenum programInterface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
276 typedef void (GL_APIENTRYP PFNGLGETBOOLEANI_VROBUSTANGLEPROC) (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLboolean *data);
277 typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVROBUSTANGLEPROC) (GLenum pname, GLuint index, GLsizei bufSize, GLsizei *length, GLfloat *val);
278 typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVROBUSTANGLEPROC) (GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
279 typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVROBUSTANGLEPROC) (GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
280 typedef void (GL_APIENTRYP PFNGLGETPOINTERVROBUSTANGLEROBUSTANGLEPROC) (GLenum pname, GLsizei bufSize, GLsizei *length, void **params);
281 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);
282 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLfloat *params);
283 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLint *params);
284 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVROBUSTANGLEPROC) (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLuint *params);
285 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, const GLint *params);
286 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, const GLuint *params);
287 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
288 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVROBUSTANGLEPROC) (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
289 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, const GLint *param);
290 typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, const GLuint *param);
291 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
292 typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVROBUSTANGLEPROC) (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
293 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVROBUSTANGLEPROC)(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
294 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VROBUSTANGLEPROC)(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *params);
295 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VROBUSTANGLEPROC)(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint64 *params);
296 #ifdef GL_GLEXT_PROTOTYPES
297 GL_APICALL void GL_APIENTRY glGetBooleanvRobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, GLboolean *data);
298 GL_APICALL void GL_APIENTRY glGetBufferParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
299 GL_APICALL void GL_APIENTRY glGetFloatvRobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *data);
300 GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLE (GLenum target, GLenum attachment, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
301 GL_APICALL void GL_APIENTRY glGetIntegervRobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, GLint *data);
302 GL_APICALL void GL_APIENTRY glGetProgramivRobustANGLE (GLuint program, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
303 GL_APICALL void GL_APIENTRY glGetRenderbufferParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
304 GL_APICALL void GL_APIENTRY glGetShaderivRobustANGLE (GLuint shader, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
305 GL_APICALL void GL_APIENTRY glGetTexParameterfvRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
306 GL_APICALL void GL_APIENTRY glGetTexParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
307 GL_APICALL void GL_APIENTRY glGetUniformfvRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLfloat *params);
308 GL_APICALL void GL_APIENTRY glGetUniformivRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLint *params);
309 GL_APICALL void GL_APIENTRY glGetVertexAttribfvRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
310 GL_APICALL void GL_APIENTRY glGetVertexAttribivRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
311 GL_APICALL void GL_APIENTRY glGetVertexAttribPointervRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, void **pointer);
312 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);
313 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);
314 GL_APICALL void GL_APIENTRY glTexParameterfvRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, const GLfloat *params);
315 GL_APICALL void GL_APIENTRY glTexParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, const GLint *params);
316 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);
317 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);
318 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);
319 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);
320 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);
321 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);
322 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);
323 GL_APICALL void GL_APIENTRY glGetQueryivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
324 GL_APICALL void GL_APIENTRY glGetQueryObjectuivRobustANGLE (GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
325 GL_APICALL void GL_APIENTRY glGetBufferPointervRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, void **params);
326 GL_APICALL void GL_APIENTRY glGetIntegeri_vRobustANGLE (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint *data);
327 GL_APICALL void GL_APIENTRY glGetInternalformativRobustANGLE (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
328 GL_APICALL void GL_APIENTRY glGetVertexAttribIivRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
329 GL_APICALL void GL_APIENTRY glGetVertexAttribIuivRobustANGLE (GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
330 GL_APICALL void GL_APIENTRY glGetUniformuivRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLuint *params);
331 GL_APICALL void GL_APIENTRY glGetActiveUniformBlockivRobustANGLE (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
332 GL_APICALL void GL_APIENTRY glGetInteger64vRobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *data);
333 GL_APICALL void GL_APIENTRY glGetInteger64i_vRobustANGLE (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLint64 *data);
334 GL_APICALL void GL_APIENTRY glGetBufferParameteri64vRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *params);
335 GL_APICALL void GL_APIENTRY glSamplerParameterivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, const GLint *param);
336 GL_APICALL void GL_APIENTRY glSamplerParameterfvRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, const GLfloat *param);
337 GL_APICALL void GL_APIENTRY glGetSamplerParameterivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
338 GL_APICALL void GL_APIENTRY glGetSamplerParameterfvRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
339 GL_APICALL void GL_APIENTRY glGetFramebufferParameterivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
340 GL_APICALL void GL_APIENTRY glGetProgramInterfaceivRobustANGLE (GLuint program, GLenum programInterface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
341 GL_APICALL void GL_APIENTRY glGetBooleani_vRobustANGLE (GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, GLboolean *data);
342 GL_APICALL void GL_APIENTRY glGetMultisamplefvRobustANGLE (GLenum pname, GLuint index, GLsizei bufSize, GLsizei *length, GLfloat *val);
343 GL_APICALL void GL_APIENTRY glGetTexLevelParameterivRobustANGLE (GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
344 GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvRobustANGLE (GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);
345 GL_APICALL void GL_APIENTRY glGetPointervRobustANGLERobustANGLE (GLenum pname, GLsizei bufSize, GLsizei *length, void **params);
346 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);
347 GL_APICALL void GL_APIENTRY glGetnUniformfvRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLfloat *params);
348 GL_APICALL void GL_APIENTRY glGetnUniformivRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLint *params);
349 GL_APICALL void GL_APIENTRY glGetnUniformuivRobustANGLE (GLuint program, GLint location, GLsizei bufSize, GLsizei *length, GLuint *params);
350 GL_APICALL void GL_APIENTRY glTexParameterIivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, const GLint *params);
351 GL_APICALL void GL_APIENTRY glTexParameterIuivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, const GLuint *params);
352 GL_APICALL void GL_APIENTRY glGetTexParameterIivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
353 GL_APICALL void GL_APIENTRY glGetTexParameterIuivRobustANGLE (GLenum target, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
354 GL_APICALL void GL_APIENTRY glSamplerParameterIivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, const GLint *param);
355 GL_APICALL void GL_APIENTRY glSamplerParameterIuivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, const GLuint *param);
356 GL_APICALL void GL_APIENTRY glGetSamplerParameterIivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
357 GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivRobustANGLE (GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint *params);
358 GL_APICALL void GL_APIENTRY glGetQueryObjectivRobustANGLE(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *params);
359 GL_APICALL void GL_APIENTRY glGetQueryObjecti64vRobustANGLE(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *params);
360 GL_APICALL void GL_APIENTRY glGetQueryObjectui64vRobustANGLE(GLuint id, GLenum pname, GLsizei bufSize, GLsizei *length, GLuint64 *params);
361 #endif
362 #endif /* GL_ANGLE_robust_client_memory */
363 
364 #ifndef GL_ANGLE_program_cache_control
365 #define GL_ANGLE_program_cache_control 1
366 #define GL_PROGRAM_CACHE_ENABLED_ANGLE 0x93AC
367 #endif  /* GL_ANGLE_program_cache_control */
368 
369 #ifndef GL_ANGLE_texture_rectangle
370 #define GL_ANGLE_texture_rectangle 1
371 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ANGLE 0x84F8
372 #define GL_TEXTURE_RECTANGLE_ANGLE 0x84F5
373 #define GL_TEXTURE_BINDING_RECTANGLE_ANGLE 0x84F6
374 #define GL_SAMPLER_2D_RECT_ANGLE 0x8B63
375 #endif /* GL_ANGLE_texture_rectangle */
376 
377 #ifndef GL_ANGLE_texture_multisample
378 #define GL_ANGLE_texture_multisample 1
379 #define GL_SAMPLE_POSITION_ANGLE 0x8E50
380 #define GL_SAMPLE_MASK_ANGLE 0x8E51
381 #define GL_SAMPLE_MASK_VALUE_ANGLE 0x8E52
382 #define GL_TEXTURE_2D_MULTISAMPLE_ANGLE 0x9100
383 #define GL_MAX_SAMPLE_MASK_WORDS_ANGLE 0x8E59
384 #define GL_MAX_COLOR_TEXTURE_SAMPLES_ANGLE 0x910E
385 #define GL_MAX_DEPTH_TEXTURE_SAMPLES_ANGLE 0x910F
386 #define GL_MAX_INTEGER_SAMPLES_ANGLE 0x9110
387 #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ANGLE 0x9104
388 #define GL_TEXTURE_SAMPLES_ANGLE 0x9106
389 #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS_ANGLE 0x9107
390 typedef void(GL_APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEANGLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
391 typedef void(GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVANGLEPROC)(GLenum target, GLint level, GLenum pname, GLfloat *params);
392 typedef void(GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVANGLEPROC)(GLenum target, GLint level, GLenum pname, GLint *params);
393 typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVANGLEPROC)(GLenum pname, GLuint index, GLfloat *val);
394 typedef void (GL_APIENTRYP PFNGLSAMPLEMASKIANGLEPROC)(GLuint maskNumber, GLbitfield mask);
395 #ifdef GL_GLEXT_PROTOTYPES
396 GL_APICALL void GL_APIENTRY glTexStorage2DMultisampleANGLE(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
397 GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvANGLE(GLenum target, GLint level, GLenum pname, GLfloat *params);
398 GL_APICALL void GL_APIENTRY glGetTexLevelParameterivANGLE(GLenum target, GLint level, GLenum pname, GLint *params);
399 GL_APICALL void GL_APIENTRY glGetMultisamplefvANGLE(GLenum pname, GLuint index, GLfloat *val);
400 GL_APICALL void GL_APIENTRY glSampleMaskiANGLE(GLuint maskNumber, GLbitfield mask);
401 #endif
402 #endif  // !GL_ANGLE_texture_multisample
403 
404 #ifndef GL_ANGLE_get_tex_level_parameter
405 #define GL_ANGLE_get_tex_level_parameter 1
406 typedef void(GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVANGLEPROC)(GLenum target, GLint level, GLenum pname, GLfloat *params);
407 typedef void(GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVANGLEPROC)(GLenum target, GLint level, GLenum pname, GLint *params);
408 #ifdef GL_GLEXT_PROTOTYPES
409 GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvANGLE(GLenum target, GLint level, GLenum pname, GLfloat *params);
410 GL_APICALL void GL_APIENTRY glGetTexLevelParameterivANGLE(GLenum target, GLint level, GLenum pname, GLint *params);
411 #endif
412 #endif /* GL_ANGLE_get_tex_level_parameter */
413 
414 #ifndef GL_ANGLE_multi_draw
415 #define GL_ANGLE_multi_draw 1
416 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSANGLEPROC) (GLenum mode, const GLint *firsts, const GLsizei *counts, GLsizei drawcount);
417 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, const GLint *firsts, const GLsizei *counts, const GLsizei *instanceCounts, GLsizei drawcount);
418 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSANGLEPROC) (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
419 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, const GLsizei *instanceCounts, GLsizei drawcount);
420 #ifdef GL_GLEXT_PROTOTYPES
421 GL_APICALL void GL_APIENTRY glMultiDrawArraysANGLE (GLenum mode, const GLint *firsts, const GLsizei *counts, GLsizei drawcount);
422 GL_APICALL void GL_APIENTRY glMultiDrawArraysInstancedANGLE (GLenum mode, const GLint *firsts, const GLsizei *counts, const GLsizei *instanceCounts, GLsizei drawcount);
423 GL_APICALL void GL_APIENTRY glMultiDrawElementsANGLE (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
424 GL_APICALL void GL_APIENTRY glMultiDrawElementsInstancedANGLE (GLenum mode, const GLsizei *counts, GLenum type, const GLvoid* const *indices, const GLsizei *instanceCounts, GLsizei drawcount);
425 #endif
426 #endif /* GL_ANGLE_multi_draw */
427 
428 #ifndef GL_ANGLE_base_vertex_base_instance
429 #define GL_ANGLE_base_vertex_base_instance 1
430 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount, GLuint baseInstance);
431 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount, GLint baseVertex, GLuint baseInstance);
432 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINSTANCEDBASEINSTANCEANGLEPROC) (GLenum mode, const GLsizei *firsts, const GLsizei *counts, const GLsizei *instanceCounts, const GLuint *baseInstances, GLsizei drawCount);
433 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);
434 #ifdef GL_GLEXT_PROTOTYPES
435 GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceANGLE (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount, GLuint baseInstance);
436 GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceANGLE (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount, GLint baseVertex, GLuint baseInstance);
437 GL_APICALL void GL_APIENTRY glMultiDrawArraysInstancedBaseInstanceANGLE (GLenum mode, const GLsizei *firsts, const GLsizei *counts, const GLsizei *instanceCounts, const GLuint *baseInstances, GLsizei drawCount);
438 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);
439 #endif
440 #endif
441 
442 #ifndef GL_CHROMIUM_bind_uniform_location
443 #define GL_CHROMIUM_bind_uniform_location 1
444 typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUMPROC)(GLuint program, GLint location, const GLchar *name);
445 #ifdef GL_GLEXT_PROTOTYPES
446 GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUM(GLuint program, GLint location, const GLchar *name);
447 #endif
448 #endif /* GL_CHROMIUM_bind_uniform_location */
449 
450 /* GL_CHROMIUM_lose_context */
451 #ifndef GL_CHROMIUM_lose_context
452 #define GL_CHROMIUM_lose_context 1
453 #ifdef GL_GLEXT_PROTOTYPES
454 GL_APICALL void GL_APIENTRY glLoseContextCHROMIUM(GLenum current, GLenum other);
455 #endif
456 typedef void (GL_APIENTRYP PFNGLLOSECONTEXTCHROMIUMPROC) (GLenum current, GLenum other);
457 #endif  /* GL_CHROMIUM_lose_context */
458 
459 #ifndef GL_ANGLE_texture_external_update
460 #define GL_ANGLE_texture_external_update 1
461 #define GL_TEXTURE_NATIVE_ID_ANGLE 0x3481
462 typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DEXTERNALANGLEPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type);
463 typedef void (GL_APIENTRYP PFNGLINVALIDATETEXTUREANGLEPROC) (GLenum target);
464 #ifdef GL_GLEXT_PROTOTYPES
465 GL_APICALL void GL_APIENTRY glTexImage2DExternalANGLE (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type);
466 GL_APICALL void GL_APIENTRY glInvalidateTextureANGLE (GLenum target);
467 #endif
468 #endif /* GL_ANGLE_texture_external_update */
469 
470 #ifndef GL_ANGLE_get_image
471 #define GL_ANGLE_get_image
472 typedef void (GL_APIENTRYP PFNGLGETTEXIMAGEANGLEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
473 typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERIMAGEANGLEPROC) (GLenum target, GLenum format, GLenum type, void *pixels);
474 #ifdef GL_GLEXT_PROTOTYPES
475 GL_APICALL void GL_APIENTRY glGetTexImageANGLE (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
476 GL_APICALL void GL_APIENTRY glGetRenderbufferImageANGLE (GLenum target, GLenum format, GLenum type, void *pixels);
477 #endif
478 #endif /* GL_ANGLE_texture_external_update */
479 
480 #ifndef GL_WEBGL_video_texture
481 #define GL_WEBGL_video_texture 1
482 #define GL_TEXTURE_VIDEO_IMAGE_WEBGL 0x9248
483 #define GL_SAMPLER_VIDEO_IMAGE_WEBGL 0x9249
484 #endif /* GL_WEBGL_video_texture */
485 
486 #ifndef GL_ANGLE_memory_object_flags
487 #define GL_ANGLE_memory_object_flags 1
488 #define GL_CREATE_SPARSE_BINDING_BIT_ANGLE                    0x00000001
489 #define GL_CREATE_SPARSE_RESIDENCY_BIT_ANGLE                  0x00000002
490 #define GL_CREATE_SPARSE_ALIASED_BIT_ANGLE                    0x00000004
491 #define GL_CREATE_MUTABLE_FORMAT_BIT_ANGLE                    0x00000008
492 #define GL_CREATE_CUBE_COMPATIBLE_BIT_ANGLE                   0x00000010
493 #define GL_CREATE_ALIAS_BIT_ANGLE                             0x00000400
494 #define GL_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_ANGLE       0x00000040
495 #define GL_CREATE_2D_ARRAY_COMPATIBLE_BIT_ANGLE               0x00000020
496 #define GL_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_ANGLE       0x00000080
497 #define GL_CREATE_EXTENDED_USAGE_BIT_ANGLE                    0x00000100
498 #define GL_CREATE_PROTECTED_BIT_ANGLE                         0x00000800
499 #define GL_CREATE_DISJOINT_BIT_ANGLE                          0x00000200
500 #define GL_CREATE_CORNER_SAMPLED_BIT_ANGLE                    0x00002000
501 #define GL_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_ANGLE 0x00001000
502 #define GL_CREATE_SUBSAMPLED_BIT_ANGLE                        0x00004000
503 #define GL_USAGE_TRANSFER_SRC_BIT_ANGLE                       0x00000001
504 #define GL_USAGE_TRANSFER_DST_BIT_ANGLE                       0x00000002
505 #define GL_USAGE_SAMPLED_BIT_ANGLE                            0x00000004
506 #define GL_USAGE_STORAGE_BIT_ANGLE                            0x00000008
507 #define GL_USAGE_COLOR_ATTACHMENT_BIT_ANGLE                   0x00000010
508 #define GL_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT_ANGLE           0x00000020
509 #define GL_USAGE_TRANSIENT_ATTACHMENT_BIT_ANGLE               0x00000040
510 #define GL_USAGE_INPUT_ATTACHMENT_BIT_ANGLE                   0x00000080
511 #define GL_USAGE_SHADING_RATE_IMAGE_BIT_ANGLE                 0x00000100
512 #define GL_USAGE_FRAGMENT_DENSITY_MAP_BIT_ANGLE               0x00000200
513 typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEMFLAGS2DANGLEPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags);
514 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);
515 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);
516 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);
517 #ifdef GL_GLEXT_PROTOTYPES
518 GL_APICALL void GL_APIENTRY glTexStorageMemFlags2DANGLE (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset, GLbitfield createFlags, GLbitfield usageFlags);
519 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);
520 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);
521 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);
522 #endif
523 #endif /* GL_ANGLE_memory_object_flags */
524 
525 #ifndef GL_ANGLE_memory_object_fuchsia
526 #define GL_ANGLE_memory_object_fuchsia 1
527 #define GL_HANDLE_TYPE_ZIRCON_VMO_ANGLE 0x93AE
528 typedef void(GL_APIENTRYP PFNGLIMPORTMEMORYZIRCONHANDLEANGLEPROC)(GLuint memory,
529                                                                   GLuint64 size,
530                                                                   GLenum handleType,
531                                                                   GLuint handle);
532 #ifdef GL_GLEXT_PROTOTYPES
533 GL_APICALL void GL_APIENTRY glImportMemoryZirconHandleANGLE(GLuint memory,
534                                                             GLuint64 size,
535                                                             GLenum handleType,
536                                                             GLuint handle);
537 #endif
538 #endif /* GL_ANGLE_memory_object_fuchsia */
539 
540 #ifndef GL_ANGLE_semaphore_fuchsia
541 #define GL_ANGLE_semaphore_fuchsia 1
542 #define GL_HANDLE_TYPE_ZIRCON_EVENT_ANGLE 0x93AF
543 typedef void(GL_APIENTRYP PFNGLIMPORTSEMAPHOREZIRCONHANDLEANGLEPROC)(GLuint semaphore,
544                                                                      GLenum handleType,
545                                                                      GLuint handle);
546 #ifdef GL_GLEXT_PROTOTYPES
547 GL_APICALL void GL_APIENTRY glImportSemaphoreZirconHandleANGLE(GLuint memory,
548                                                                GLenum handleType,
549                                                                GLuint handle);
550 #endif
551 #endif /* GL_ANGLE_semaphore_fuchsia */
552 
553 #ifndef GL_CHROMIUM_texture_filtering_hint
554 #define GL_CHROMIUM_texture_filtering_hint
555 #define GL_TEXTURE_FILTERING_HINT_CHROMIUM 0x8AF0
556 #endif /* GL_CHROMIUM_texture_filtering_hint */
557 
558 #ifndef GL_NV_robustness_video_memory
559 #define GL_NV_robustness_video_memory
560 #define GL_PURGED_CONTEXT_RESET_NV 0x92BB
561 #endif /* GL_NV_robustness_video_memory */
562 
563 #ifndef GL_ANGLE_get_serialized_context_string
564 #define GL_ANGLE_get_serialized_context_string
565 #define GL_SERIALIZED_CONTEXT_STRING_ANGLE 0x96B0
566 #endif /* GL_ANGLE_get_serialized_context_string */
567 
568 // clang-format on
569 
570 #endif  // INCLUDE_GLES2_GL2EXT_ANGLE_H_
571