• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // GENERATED FILE - DO NOT EDIT.
2 // Generated by generate_entry_points.py using data from gl.xml.
3 //
4 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file.
7 //
8 // Context_gles_ext_autogen.h: Creates a macro for interfaces in Context.
9 
10 #ifndef ANGLE_CONTEXT_GLES_EXT_AUTOGEN_H_
11 #define ANGLE_CONTEXT_GLES_EXT_AUTOGEN_H_
12 
13 #define ANGLE_GLES_EXT_CONTEXT_API                                                                 \
14                                                                                                    \
15     /* GLES1 Extensions */                                                                         \
16                                                                                                    \
17     /* GL_OES_draw_texture */                                                                      \
18     void drawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);                 \
19     void drawTexfv(const GLfloat *coords);                                                         \
20     void drawTexi(GLint x, GLint y, GLint z, GLint width, GLint height);                           \
21     void drawTexiv(const GLint *coords);                                                           \
22     void drawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);                 \
23     void drawTexsv(const GLshort *coords);                                                         \
24     void drawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);                 \
25     void drawTexxv(const GLfixed *coords);                                                         \
26     /* GL_OES_framebuffer_object */                                                                \
27     /* GL_OES_matrix_palette */                                                                    \
28     void currentPaletteMatrix(GLuint matrixpaletteindex);                                          \
29     void loadPaletteFromModelViewMatrix();                                                         \
30     void matrixIndexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer);         \
31     void weightPointer(GLint size, GLenum type, GLsizei stride, const void *pointer);              \
32     /* GL_OES_point_size_array */                                                                  \
33     void pointSizePointer(VertexAttribType typePacked, GLsizei stride, const void *pointer);       \
34     /* GL_OES_query_matrix */                                                                      \
35     GLbitfield queryMatrixx(GLfixed *mantissa, GLint *exponent);                                   \
36     /* GL_OES_texture_cube_map */                                                                  \
37     void getTexGenfv(GLenum coord, GLenum pname, GLfloat *params);                                 \
38     void getTexGeniv(GLenum coord, GLenum pname, GLint *params);                                   \
39     void getTexGenxv(GLenum coord, GLenum pname, GLfixed *params);                                 \
40     void texGenf(GLenum coord, GLenum pname, GLfloat param);                                       \
41     void texGenfv(GLenum coord, GLenum pname, const GLfloat *params);                              \
42     void texGeni(GLenum coord, GLenum pname, GLint param);                                         \
43     void texGeniv(GLenum coord, GLenum pname, const GLint *params);                                \
44     void texGenx(GLenum coord, GLenum pname, GLfixed param);                                       \
45     void texGenxv(GLenum coord, GLenum pname, const GLfixed *params);                              \
46                                                                                                    \
47     /* ANGLE Extensions */                                                                         \
48                                                                                                    \
49     /* GL_ANGLE_copy_texture_3d */                                                                 \
50     void copyTexture3D(TextureID sourceIdPacked, GLint sourceLevel,                                \
51                        TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel,    \
52                        GLint internalFormat, GLenum destType, GLboolean unpackFlipY,               \
53                        GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha);         \
54     void copySubTexture3D(TextureID sourceIdPacked, GLint sourceLevel,                             \
55                           TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel, \
56                           GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLint z,  \
57                           GLint width, GLint height, GLint depth, GLboolean unpackFlipY,           \
58                           GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha);      \
59     /* GL_ANGLE_get_image */                                                                       \
60     void getTexImage(TextureTarget targetPacked, GLint level, GLenum format, GLenum type,          \
61                      void *pixels);                                                                \
62     void getRenderbufferImage(GLenum target, GLenum format, GLenum type, void *pixels);            \
63     /* GL_ANGLE_program_binary */                                                                  \
64     /* GL_ANGLE_request_extension */                                                               \
65     void requestExtension(const GLchar *name);                                                     \
66     void disableExtension(const GLchar *name);                                                     \
67     /* GL_ANGLE_robust_client_memory */                                                            \
68     void getBooleanvRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLboolean *params);     \
69     void getBufferParameterivRobust(BufferBinding targetPacked, GLenum pname, GLsizei bufSize,     \
70                                     GLsizei *length, GLint *params);                               \
71     void getFloatvRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLfloat *params);         \
72     void getFramebufferAttachmentParameterivRobust(GLenum target, GLenum attachment, GLenum pname, \
73                                                    GLsizei bufSize, GLsizei *length,               \
74                                                    GLint *params);                                 \
75     void getIntegervRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLint *data);           \
76     void getProgramivRobust(ShaderProgramID programPacked, GLenum pname, GLsizei bufSize,          \
77                             GLsizei *length, GLint *params);                                       \
78     void getRenderbufferParameterivRobust(GLenum target, GLenum pname, GLsizei bufSize,            \
79                                           GLsizei *length, GLint *params);                         \
80     void getShaderivRobust(ShaderProgramID shaderPacked, GLenum pname, GLsizei bufSize,            \
81                            GLsizei *length, GLint *params);                                        \
82     void getTexParameterfvRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize,          \
83                                  GLsizei *length, GLfloat *params);                                \
84     void getTexParameterivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize,          \
85                                  GLsizei *length, GLint *params);                                  \
86     void getUniformfvRobust(ShaderProgramID programPacked, UniformLocation locationPacked,         \
87                             GLsizei bufSize, GLsizei *length, GLfloat *params);                    \
88     void getUniformivRobust(ShaderProgramID programPacked, UniformLocation locationPacked,         \
89                             GLsizei bufSize, GLsizei *length, GLint *params);                      \
90     void getVertexAttribfvRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length,     \
91                                  GLfloat *params);                                                 \
92     void getVertexAttribivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length,     \
93                                  GLint *params);                                                   \
94     void getVertexAttribPointervRobust(GLuint index, GLenum pname, GLsizei bufSize,                \
95                                        GLsizei *length, void **pointer);                           \
96     void readPixelsRobust(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format,          \
97                           GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns,         \
98                           GLsizei *rows, void *pixels);                                            \
99     void texImage2DRobust(TextureTarget targetPacked, GLint level, GLint internalformat,           \
100                           GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, \
101                           GLsizei bufSize, const void *pixels);                                    \
102     void texParameterfvRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize,             \
103                               const GLfloat *params);                                              \
104     void texParameterivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize,             \
105                               const GLint *params);                                                \
106     void texSubImage2DRobust(TextureTarget targetPacked, GLint level, GLint xoffset,               \
107                              GLint yoffset, GLsizei width, GLsizei height, GLenum format,          \
108                              GLenum type, GLsizei bufSize, const void *pixels);                    \
109     void texImage3DRobust(TextureTarget targetPacked, GLint level, GLint internalformat,           \
110                           GLsizei width, GLsizei height, GLsizei depth, GLint border,              \
111                           GLenum format, GLenum type, GLsizei bufSize, const void *pixels);        \
112     void texSubImage3DRobust(TextureTarget targetPacked, GLint level, GLint xoffset,               \
113                              GLint yoffset, GLint zoffset, GLsizei width, GLsizei height,          \
114                              GLsizei depth, GLenum format, GLenum type, GLsizei bufSize,           \
115                              const void *pixels);                                                  \
116     void compressedTexImage2DRobust(                                                               \
117         TextureTarget targetPacked, GLint level, GLenum internalformat, GLsizei width,             \
118         GLsizei height, GLint border, GLsizei imageSize, GLsizei dataSize, const GLvoid *data);    \
119     void compressedTexSubImage2DRobust(                                                            \
120         TextureTarget targetPacked, GLint level, GLsizei xoffset, GLsizei yoffset, GLsizei width,  \
121         GLsizei height, GLenum format, GLsizei imageSize, GLsizei dataSize, const GLvoid *data);   \
122     void compressedTexImage3DRobust(TextureTarget targetPacked, GLint level,                       \
123                                     GLenum internalformat, GLsizei width, GLsizei height,          \
124                                     GLsizei depth, GLint border, GLsizei imageSize,                \
125                                     GLsizei dataSize, const GLvoid *data);                         \
126     void compressedTexSubImage3DRobust(TextureTarget targetPacked, GLint level, GLint xoffset,     \
127                                        GLint yoffset, GLint zoffset, GLsizei width,                \
128                                        GLsizei height, GLsizei depth, GLenum format,               \
129                                        GLsizei imageSize, GLsizei dataSize, const GLvoid *data);   \
130     void getQueryivRobust(QueryType targetPacked, GLenum pname, GLsizei bufSize, GLsizei *length,  \
131                           GLint *params);                                                          \
132     void getQueryObjectuivRobust(QueryID idPacked, GLenum pname, GLsizei bufSize, GLsizei *length, \
133                                  GLuint *params);                                                  \
134     void getBufferPointervRobust(BufferBinding targetPacked, GLenum pname, GLsizei bufSize,        \
135                                  GLsizei *length, void **params);                                  \
136     void getIntegeri_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length,        \
137                              GLint *data);                                                         \
138     void getInternalformativRobust(GLenum target, GLenum internalformat, GLenum pname,             \
139                                    GLsizei bufSize, GLsizei *length, GLint *params);               \
140     void getVertexAttribIivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length,    \
141                                   GLint *params);                                                  \
142     void getVertexAttribIuivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length,   \
143                                    GLuint *params);                                                \
144     void getUniformuivRobust(ShaderProgramID programPacked, UniformLocation locationPacked,        \
145                              GLsizei bufSize, GLsizei *length, GLuint *params);                    \
146     void getActiveUniformBlockivRobust(ShaderProgramID programPacked, GLuint uniformBlockIndex,    \
147                                        GLenum pname, GLsizei bufSize, GLsizei *length,             \
148                                        GLint *params);                                             \
149     void getInteger64vRobust(GLenum pname, GLsizei bufSize, GLsizei *length, GLint64 *data);       \
150     void getInteger64i_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length,      \
151                                GLint64 *data);                                                     \
152     void getBufferParameteri64vRobust(BufferBinding targetPacked, GLenum pname, GLsizei bufSize,   \
153                                       GLsizei *length, GLint64 *params);                           \
154     void samplerParameterivRobust(SamplerID samplerPacked, GLuint pname, GLsizei bufSize,          \
155                                   const GLint *param);                                             \
156     void samplerParameterfvRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize,          \
157                                   const GLfloat *param);                                           \
158     void getSamplerParameterivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize,       \
159                                      GLsizei *length, GLint *params);                              \
160     void getSamplerParameterfvRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize,       \
161                                      GLsizei *length, GLfloat *params);                            \
162     void getFramebufferParameterivRobust(GLenum target, GLenum pname, GLsizei bufSize,             \
163                                          GLsizei *length, GLint *params);                          \
164     void getProgramInterfaceivRobust(ShaderProgramID programPacked, GLenum programInterface,       \
165                                      GLenum pname, GLsizei bufSize, GLsizei *length,               \
166                                      GLint *params);                                               \
167     void getBooleani_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length,        \
168                              GLboolean *data);                                                     \
169     void getMultisamplefvRobust(GLenum pname, GLuint index, GLsizei bufSize, GLsizei *length,      \
170                                 GLfloat *val);                                                     \
171     void getTexLevelParameterivRobust(TextureTarget targetPacked, GLint level, GLenum pname,       \
172                                       GLsizei bufSize, GLsizei *length, GLint *params);            \
173     void getTexLevelParameterfvRobust(TextureTarget targetPacked, GLint level, GLenum pname,       \
174                                       GLsizei bufSize, GLsizei *length, GLfloat *params);          \
175     void getPointervRobustANGLERobust(GLenum pname, GLsizei bufSize, GLsizei *length,              \
176                                       void **params);                                              \
177     void readnPixelsRobust(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format,         \
178                            GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns,        \
179                            GLsizei *rows, void *data);                                             \
180     void getnUniformfvRobust(ShaderProgramID programPacked, UniformLocation locationPacked,        \
181                              GLsizei bufSize, GLsizei *length, GLfloat *params);                   \
182     void getnUniformivRobust(ShaderProgramID programPacked, UniformLocation locationPacked,        \
183                              GLsizei bufSize, GLsizei *length, GLint *params);                     \
184     void getnUniformuivRobust(ShaderProgramID programPacked, UniformLocation locationPacked,       \
185                               GLsizei bufSize, GLsizei *length, GLuint *params);                   \
186     void texParameterIivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize,            \
187                                const GLint *params);                                               \
188     void texParameterIuivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize,           \
189                                 const GLuint *params);                                             \
190     void getTexParameterIivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize,         \
191                                   GLsizei *length, GLint *params);                                 \
192     void getTexParameterIuivRobust(TextureType targetPacked, GLenum pname, GLsizei bufSize,        \
193                                    GLsizei *length, GLuint *params);                               \
194     void samplerParameterIivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize,         \
195                                    const GLint *param);                                            \
196     void samplerParameterIuivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize,        \
197                                     const GLuint *param);                                          \
198     void getSamplerParameterIivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize,      \
199                                       GLsizei *length, GLint *params);                             \
200     void getSamplerParameterIuivRobust(SamplerID samplerPacked, GLenum pname, GLsizei bufSize,     \
201                                        GLsizei *length, GLuint *params);                           \
202     void getQueryObjectivRobust(QueryID idPacked, GLenum pname, GLsizei bufSize, GLsizei *length,  \
203                                 GLint *params);                                                    \
204     void getQueryObjecti64vRobust(QueryID idPacked, GLenum pname, GLsizei bufSize,                 \
205                                   GLsizei *length, GLint64 *params);                               \
206     void getQueryObjectui64vRobust(QueryID idPacked, GLenum pname, GLsizei bufSize,                \
207                                    GLsizei *length, GLuint64 *params);                             \
208     /* GL_ANGLE_texture_external_update */                                                         \
209     void texImage2DExternal(TextureTarget targetPacked, GLint level, GLint internalformat,         \
210                             GLsizei width, GLsizei height, GLint border, GLenum format,            \
211                             GLenum type);                                                          \
212     void invalidateTexture(TextureType targetPacked);                                              \
213     /* GL_CHROMIUM_bind_uniform_location */                                                        \
214     void bindUniformLocation(ShaderProgramID programPacked, UniformLocation locationPacked,        \
215                              const GLchar *name);                                                  \
216     /* GL_CHROMIUM_copy_compressed_texture */                                                      \
217     void compressedCopyTexture(TextureID sourceIdPacked, TextureID destIdPacked);                  \
218     /* GL_CHROMIUM_copy_texture */                                                                 \
219     void copyTexture(TextureID sourceIdPacked, GLint sourceLevel, TextureTarget destTargetPacked,  \
220                      TextureID destIdPacked, GLint destLevel, GLint internalFormat,                \
221                      GLenum destType, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha,     \
222                      GLboolean unpackUnmultiplyAlpha);                                             \
223     void copySubTexture(TextureID sourceIdPacked, GLint sourceLevel,                               \
224                         TextureTarget destTargetPacked, TextureID destIdPacked, GLint destLevel,   \
225                         GLint xoffset, GLint yoffset, GLint x, GLint y, GLint width, GLint height, \
226                         GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha,                   \
227                         GLboolean unpackUnmultiplyAlpha);                                          \
228     /* GL_CHROMIUM_framebuffer_mixed_samples */                                                    \
229     void coverageModulation(GLenum components);                                                    \
230     /* GL_CHROMIUM_lose_context */                                                                 \
231     void loseContext(GraphicsResetStatus currentPacked, GraphicsResetStatus otherPacked);          \
232     /* GL_CHROMIUM_path_rendering */                                                               \
233                                                                                                    \
234     /* GLES2+ Extensions */                                                                        \
235                                                                                                    \
236     /* GL_ANGLE_base_vertex_base_instance */                                                       \
237     void drawArraysInstancedBaseInstance(PrimitiveMode modePacked, GLint first, GLsizei count,     \
238                                          GLsizei instanceCount, GLuint baseInstance);              \
239     void drawElementsInstancedBaseVertexBaseInstance(                                              \
240         PrimitiveMode modePacked, GLsizei count, DrawElementsType typePacked,                      \
241         const GLvoid *indices, GLsizei instanceCounts, GLint baseVertex, GLuint baseInstance);     \
242     void multiDrawArraysInstancedBaseInstance(                                                     \
243         PrimitiveMode modePacked, const GLint *firsts, const GLsizei *counts,                      \
244         const GLsizei *instanceCounts, const GLuint *baseInstances, GLsizei drawcount);            \
245     void multiDrawElementsInstancedBaseVertexBaseInstance(                                         \
246         PrimitiveMode modePacked, const GLsizei *counts, DrawElementsType typePacked,              \
247         const GLvoid *const *indices, const GLsizei *instanceCounts, const GLint *baseVertices,    \
248         const GLuint *baseInstances, GLsizei drawcount);                                           \
249     /* GL_ANGLE_framebuffer_blit */                                                                \
250     /* GL_ANGLE_framebuffer_multisample */                                                         \
251     /* GL_ANGLE_instanced_arrays */                                                                \
252     /* GL_ANGLE_memory_object_fuchsia */                                                           \
253     void importMemoryZirconHandle(MemoryObjectID memoryPacked, GLuint64 size,                      \
254                                   HandleType handleTypePacked, GLuint handle);                     \
255     /* GL_ANGLE_multi_draw */                                                                      \
256     void multiDrawArrays(PrimitiveMode modePacked, const GLint *firsts, const GLsizei *counts,     \
257                          GLsizei drawcount);                                                       \
258     void multiDrawArraysInstanced(PrimitiveMode modePacked, const GLint *firsts,                   \
259                                   const GLsizei *counts, const GLsizei *instanceCounts,            \
260                                   GLsizei drawcount);                                              \
261     void multiDrawElements(PrimitiveMode modePacked, const GLsizei *counts,                        \
262                            DrawElementsType typePacked, const GLvoid *const *indices,              \
263                            GLsizei drawcount);                                                     \
264     void multiDrawElementsInstanced(PrimitiveMode modePacked, const GLsizei *counts,               \
265                                     DrawElementsType typePacked, const GLvoid *const *indices,     \
266                                     const GLsizei *instanceCounts, GLsizei drawcount);             \
267     /* GL_ANGLE_provoking_vertex */                                                                \
268     void provokingVertex(ProvokingVertexConvention modePacked);                                    \
269     /* GL_ANGLE_semaphore_fuchsia */                                                               \
270     void importSemaphoreZirconHandle(SemaphoreID semaphorePacked, HandleType handleTypePacked,     \
271                                      GLuint handle);                                               \
272     /* GL_ANGLE_texture_multisample */                                                             \
273     /* GL_ANGLE_translated_shader_source */                                                        \
274     void getTranslatedShaderSource(ShaderProgramID shaderPacked, GLsizei bufsize, GLsizei *length, \
275                                    GLchar *source);                                                \
276     /* GL_EXT_EGL_image_array */                                                                   \
277     /* GL_EXT_blend_func_extended */                                                               \
278     void bindFragDataLocation(ShaderProgramID programPacked, GLuint color, const GLchar *name);    \
279     void bindFragDataLocationIndexed(ShaderProgramID programPacked, GLuint colorNumber,            \
280                                      GLuint index, const GLchar *name);                            \
281     GLint getFragDataIndex(ShaderProgramID programPacked, const GLchar *name);                     \
282     GLint getProgramResourceLocationIndex(ShaderProgramID programPacked, GLenum programInterface,  \
283                                           const GLchar *name);                                     \
284     /* GL_EXT_compressed_ETC1_RGB8_sub_texture */                                                  \
285     /* GL_EXT_debug_marker */                                                                      \
286     void insertEventMarker(GLsizei length, const GLchar *marker);                                  \
287     void popGroupMarker();                                                                         \
288     void pushGroupMarker(GLsizei length, const GLchar *marker);                                    \
289     /* GL_EXT_discard_framebuffer */                                                               \
290     void discardFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments);     \
291     /* GL_EXT_disjoint_timer_query */                                                              \
292     void getQueryObjecti64v(QueryID idPacked, GLenum pname, GLint64 *params);                      \
293     void getQueryObjectiv(QueryID idPacked, GLenum pname, GLint *params);                          \
294     void getQueryObjectui64v(QueryID idPacked, GLenum pname, GLuint64 *params);                    \
295     void queryCounter(QueryID idPacked, QueryType targetPacked);                                   \
296     /* GL_EXT_draw_buffers */                                                                      \
297     /* GL_EXT_draw_buffers_indexed */                                                              \
298     /* GL_EXT_draw_elements_base_vertex */                                                         \
299     void multiDrawElementsBaseVertex(PrimitiveMode modePacked, const GLsizei *count,               \
300                                      DrawElementsType typePacked, const void *const *indices,      \
301                                      GLsizei primcount, const GLint *basevertex);                  \
302     /* GL_EXT_geometry_shader */                                                                   \
303     /* GL_EXT_instanced_arrays */                                                                  \
304     /* GL_EXT_map_buffer_range */                                                                  \
305     /* GL_EXT_memory_object */                                                                     \
306     void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, MemoryObjectID memoryPacked,  \
307                           GLuint64 offset);                                                        \
308     void createMemoryObjects(GLsizei n, MemoryObjectID *memoryObjectsPacked);                      \
309     void deleteMemoryObjects(GLsizei n, const MemoryObjectID *memoryObjectsPacked);                \
310     void getMemoryObjectParameteriv(MemoryObjectID memoryObjectPacked, GLenum pname,               \
311                                     GLint *params);                                                \
312     void getUnsignedBytev(GLenum pname, GLubyte *data);                                            \
313     void getUnsignedBytei_v(GLenum target, GLuint index, GLubyte *data);                           \
314     GLboolean isMemoryObject(MemoryObjectID memoryObjectPacked) const;                             \
315     void memoryObjectParameteriv(MemoryObjectID memoryObjectPacked, GLenum pname,                  \
316                                  const GLint *params);                                             \
317     void texStorageMem2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat,          \
318                          GLsizei width, GLsizei height, MemoryObjectID memoryPacked,               \
319                          GLuint64 offset);                                                         \
320     void texStorageMem2DMultisample(TextureType targetPacked, GLsizei samples,                     \
321                                     GLenum internalFormat, GLsizei width, GLsizei height,          \
322                                     GLboolean fixedSampleLocations, MemoryObjectID memoryPacked,   \
323                                     GLuint64 offset);                                              \
324     void texStorageMem3D(TextureType targetPacked, GLsizei levels, GLenum internalFormat,          \
325                          GLsizei width, GLsizei height, GLsizei depth,                             \
326                          MemoryObjectID memoryPacked, GLuint64 offset);                            \
327     void texStorageMem3DMultisample(TextureType targetPacked, GLsizei samples,                     \
328                                     GLenum internalFormat, GLsizei width, GLsizei height,          \
329                                     GLsizei depth, GLboolean fixedSampleLocations,                 \
330                                     MemoryObjectID memoryPacked, GLuint64 offset);                 \
331     /* GL_EXT_memory_object_fd */                                                                  \
332     void importMemoryFd(MemoryObjectID memoryPacked, GLuint64 size, HandleType handleTypePacked,   \
333                         GLint fd);                                                                 \
334     /* GL_EXT_multisampled_render_to_texture */                                                    \
335     void framebufferTexture2DMultisample(GLenum target, GLenum attachment, GLenum textarget,       \
336                                          GLuint texture, GLint level, GLsizei samples);            \
337     /* GL_EXT_occlusion_query_boolean */                                                           \
338     /* GL_EXT_read_format_bgra */                                                                  \
339     /* GL_EXT_robustness */                                                                        \
340     /* GL_EXT_sRGB */                                                                              \
341     /* GL_EXT_semaphore */                                                                         \
342     void deleteSemaphores(GLsizei n, const SemaphoreID *semaphoresPacked);                         \
343     void genSemaphores(GLsizei n, SemaphoreID *semaphoresPacked);                                  \
344     void getSemaphoreParameterui64v(SemaphoreID semaphorePacked, GLenum pname, GLuint64 *params);  \
345     GLboolean isSemaphore(SemaphoreID semaphorePacked) const;                                      \
346     void semaphoreParameterui64v(SemaphoreID semaphorePacked, GLenum pname,                        \
347                                  const GLuint64 *params);                                          \
348     void signalSemaphore(SemaphoreID semaphorePacked, GLuint numBufferBarriers,                    \
349                          const BufferID *buffersPacked, GLuint numTextureBarriers,                 \
350                          const TextureID *texturesPacked, const GLenum *dstLayouts);               \
351     void waitSemaphore(SemaphoreID semaphorePacked, GLuint numBufferBarriers,                      \
352                        const BufferID *buffersPacked, GLuint numTextureBarriers,                   \
353                        const TextureID *texturesPacked, const GLenum *srcLayouts);                 \
354     /* GL_EXT_semaphore_fd */                                                                      \
355     void importSemaphoreFd(SemaphoreID semaphorePacked, HandleType handleTypePacked, GLint fd);    \
356     /* GL_EXT_texture_compression_bptc */                                                          \
357     /* GL_EXT_texture_compression_dxt1 */                                                          \
358     /* GL_EXT_texture_compression_rgtc */                                                          \
359     /* GL_EXT_texture_compression_s3tc */                                                          \
360     /* GL_EXT_texture_compression_s3tc_srgb */                                                     \
361     /* GL_EXT_texture_cube_map_array */                                                            \
362     /* GL_EXT_texture_filter_anisotropic */                                                        \
363     /* GL_EXT_texture_format_BGRA8888 */                                                           \
364     /* GL_EXT_texture_sRGB_R8 */                                                                   \
365     /* GL_EXT_texture_storage */                                                                   \
366     void texStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);        \
367     /* GL_KHR_debug */                                                                             \
368     /* GL_KHR_parallel_shader_compile */                                                           \
369     void maxShaderCompilerThreads(GLuint count);                                                   \
370     /* GL_NV_fence */                                                                              \
371     void deleteFencesNV(GLsizei n, const FenceNVID *fencesPacked);                                 \
372     void finishFenceNV(FenceNVID fencePacked);                                                     \
373     void genFencesNV(GLsizei n, FenceNVID *fencesPacked);                                          \
374     void getFenceivNV(FenceNVID fencePacked, GLenum pname, GLint *params);                         \
375     GLboolean isFenceNV(FenceNVID fencePacked) const;                                              \
376     void setFenceNV(FenceNVID fencePacked, GLenum condition);                                      \
377     GLboolean testFenceNV(FenceNVID fencePacked);                                                  \
378     /* GL_OES_EGL_image */                                                                         \
379     void eGLImageTargetRenderbufferStorage(GLenum target, GLeglImageOES image);                    \
380     void eGLImageTargetTexture2D(TextureType targetPacked, GLeglImageOES image);                   \
381     /* GL_OES_compressed_ETC1_RGB8_texture */                                                      \
382     /* GL_OES_depth32 */                                                                           \
383     /* GL_OES_draw_buffers_indexed */                                                              \
384     /* GL_OES_draw_elements_base_vertex */                                                         \
385     /* GL_OES_get_program_binary */                                                                \
386     /* GL_OES_mapbuffer */                                                                         \
387     void *mapBuffer(BufferBinding targetPacked, GLenum access);                                    \
388     /* GL_OES_texture_3D */                                                                        \
389     void framebufferTexture3D(GLenum target, GLenum attachment, TextureTarget textargetPacked,     \
390                               TextureID texturePacked, GLint level, GLint zoffset);                \
391     /* GL_OES_texture_border_clamp */                                                              \
392     /* GL_OES_texture_cube_map_array */                                                            \
393     /* GL_OES_texture_half_float */                                                                \
394     /* GL_OES_texture_storage_multisample_2d_array */                                              \
395     /* GL_OES_vertex_array_object */                                                               \
396     /* GL_OVR_multiview */                                                                         \
397     void framebufferTextureMultiview(GLenum target, GLenum attachment, TextureID texturePacked,    \
398                                      GLint level, GLint baseViewIndex, GLsizei numViews);          \
399     /* GL_OVR_multiview2 */
400 
401 #endif  // ANGLE_CONTEXT_API_EXT_AUTOGEN_H_
402