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 // entry_points_gles_3_1_autogen.h:
9 //   Defines the GLES 3.1 entry points.
10 
11 #ifndef LIBGLESV2_ENTRY_POINTS_GLES_3_1_AUTOGEN_H_
12 #define LIBGLESV2_ENTRY_POINTS_GLES_3_1_AUTOGEN_H_
13 
14 #include <GLES3/gl31.h>
15 #include <export.h>
16 #include "common/platform.h"
17 
18 extern "C" {
19 ANGLE_EXPORT void GL_APIENTRY GL_ActiveShaderProgram(GLuint pipeline, GLuint program);
20 ANGLE_EXPORT void GL_APIENTRY GL_BindImageTexture(GLuint unit,
21                                                   GLuint texture,
22                                                   GLint level,
23                                                   GLboolean layered,
24                                                   GLint layer,
25                                                   GLenum access,
26                                                   GLenum format);
27 ANGLE_EXPORT void GL_APIENTRY GL_BindProgramPipeline(GLuint pipeline);
28 ANGLE_EXPORT void GL_APIENTRY GL_BindVertexBuffer(GLuint bindingindex,
29                                                   GLuint buffer,
30                                                   GLintptr offset,
31                                                   GLsizei stride);
32 ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateShaderProgramv(GLenum type,
33                                                         GLsizei count,
34                                                         const GLchar *const *strings);
35 ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgramPipelines(GLsizei n, const GLuint *pipelines);
36 ANGLE_EXPORT void GL_APIENTRY GL_DispatchCompute(GLuint num_groups_x,
37                                                  GLuint num_groups_y,
38                                                  GLuint num_groups_z);
39 ANGLE_EXPORT void GL_APIENTRY GL_DispatchComputeIndirect(GLintptr indirect);
40 ANGLE_EXPORT void GL_APIENTRY GL_DrawArraysIndirect(GLenum mode, const void *indirect);
41 ANGLE_EXPORT void GL_APIENTRY GL_DrawElementsIndirect(GLenum mode,
42                                                       GLenum type,
43                                                       const void *indirect);
44 ANGLE_EXPORT void GL_APIENTRY GL_FramebufferParameteri(GLenum target, GLenum pname, GLint param);
45 ANGLE_EXPORT void GL_APIENTRY GL_GenProgramPipelines(GLsizei n, GLuint *pipelines);
46 ANGLE_EXPORT void GL_APIENTRY GL_GetBooleani_v(GLenum target, GLuint index, GLboolean *data);
47 ANGLE_EXPORT void GL_APIENTRY GL_GetFramebufferParameteriv(GLenum target,
48                                                            GLenum pname,
49                                                            GLint *params);
50 ANGLE_EXPORT void GL_APIENTRY GL_GetMultisamplefv(GLenum pname, GLuint index, GLfloat *val);
51 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramInterfaceiv(GLuint program,
52                                                        GLenum programInterface,
53                                                        GLenum pname,
54                                                        GLint *params);
55 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineInfoLog(GLuint pipeline,
56                                                            GLsizei bufSize,
57                                                            GLsizei *length,
58                                                            GLchar *infoLog);
59 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params);
60 ANGLE_EXPORT GLuint GL_APIENTRY GL_GetProgramResourceIndex(GLuint program,
61                                                            GLenum programInterface,
62                                                            const GLchar *name);
63 ANGLE_EXPORT GLint GL_APIENTRY GL_GetProgramResourceLocation(GLuint program,
64                                                              GLenum programInterface,
65                                                              const GLchar *name);
66 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramResourceName(GLuint program,
67                                                         GLenum programInterface,
68                                                         GLuint index,
69                                                         GLsizei bufSize,
70                                                         GLsizei *length,
71                                                         GLchar *name);
72 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramResourceiv(GLuint program,
73                                                       GLenum programInterface,
74                                                       GLuint index,
75                                                       GLsizei propCount,
76                                                       const GLenum *props,
77                                                       GLsizei bufSize,
78                                                       GLsizei *length,
79                                                       GLint *params);
80 ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameterfv(GLenum target,
81                                                         GLint level,
82                                                         GLenum pname,
83                                                         GLfloat *params);
84 ANGLE_EXPORT void GL_APIENTRY GL_GetTexLevelParameteriv(GLenum target,
85                                                         GLint level,
86                                                         GLenum pname,
87                                                         GLint *params);
88 ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsProgramPipeline(GLuint pipeline);
89 ANGLE_EXPORT void GL_APIENTRY GL_MemoryBarrier(GLbitfield barriers);
90 ANGLE_EXPORT void GL_APIENTRY GL_MemoryBarrierByRegion(GLbitfield barriers);
91 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1f(GLuint program, GLint location, GLfloat v0);
92 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1fv(GLuint program,
93                                                    GLint location,
94                                                    GLsizei count,
95                                                    const GLfloat *value);
96 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1i(GLuint program, GLint location, GLint v0);
97 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1iv(GLuint program,
98                                                    GLint location,
99                                                    GLsizei count,
100                                                    const GLint *value);
101 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1ui(GLuint program, GLint location, GLuint v0);
102 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform1uiv(GLuint program,
103                                                     GLint location,
104                                                     GLsizei count,
105                                                     const GLuint *value);
106 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2f(GLuint program,
107                                                   GLint location,
108                                                   GLfloat v0,
109                                                   GLfloat v1);
110 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2fv(GLuint program,
111                                                    GLint location,
112                                                    GLsizei count,
113                                                    const GLfloat *value);
114 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2i(GLuint program,
115                                                   GLint location,
116                                                   GLint v0,
117                                                   GLint v1);
118 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2iv(GLuint program,
119                                                    GLint location,
120                                                    GLsizei count,
121                                                    const GLint *value);
122 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2ui(GLuint program,
123                                                    GLint location,
124                                                    GLuint v0,
125                                                    GLuint v1);
126 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform2uiv(GLuint program,
127                                                     GLint location,
128                                                     GLsizei count,
129                                                     const GLuint *value);
130 ANGLE_EXPORT void GL_APIENTRY
131 GL_ProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
132 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3fv(GLuint program,
133                                                    GLint location,
134                                                    GLsizei count,
135                                                    const GLfloat *value);
136 ANGLE_EXPORT void GL_APIENTRY
137 GL_ProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
138 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3iv(GLuint program,
139                                                    GLint location,
140                                                    GLsizei count,
141                                                    const GLint *value);
142 ANGLE_EXPORT void GL_APIENTRY
143 GL_ProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
144 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform3uiv(GLuint program,
145                                                     GLint location,
146                                                     GLsizei count,
147                                                     const GLuint *value);
148 ANGLE_EXPORT void GL_APIENTRY
149 GL_ProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
150 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4fv(GLuint program,
151                                                    GLint location,
152                                                    GLsizei count,
153                                                    const GLfloat *value);
154 ANGLE_EXPORT void GL_APIENTRY
155 GL_ProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
156 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4iv(GLuint program,
157                                                    GLint location,
158                                                    GLsizei count,
159                                                    const GLint *value);
160 ANGLE_EXPORT void GL_APIENTRY
161 GL_ProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
162 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniform4uiv(GLuint program,
163                                                     GLint location,
164                                                     GLsizei count,
165                                                     const GLuint *value);
166 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2fv(GLuint program,
167                                                          GLint location,
168                                                          GLsizei count,
169                                                          GLboolean transpose,
170                                                          const GLfloat *value);
171 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x3fv(GLuint program,
172                                                            GLint location,
173                                                            GLsizei count,
174                                                            GLboolean transpose,
175                                                            const GLfloat *value);
176 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix2x4fv(GLuint program,
177                                                            GLint location,
178                                                            GLsizei count,
179                                                            GLboolean transpose,
180                                                            const GLfloat *value);
181 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3fv(GLuint program,
182                                                          GLint location,
183                                                          GLsizei count,
184                                                          GLboolean transpose,
185                                                          const GLfloat *value);
186 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x2fv(GLuint program,
187                                                            GLint location,
188                                                            GLsizei count,
189                                                            GLboolean transpose,
190                                                            const GLfloat *value);
191 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix3x4fv(GLuint program,
192                                                            GLint location,
193                                                            GLsizei count,
194                                                            GLboolean transpose,
195                                                            const GLfloat *value);
196 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4fv(GLuint program,
197                                                          GLint location,
198                                                          GLsizei count,
199                                                          GLboolean transpose,
200                                                          const GLfloat *value);
201 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x2fv(GLuint program,
202                                                            GLint location,
203                                                            GLsizei count,
204                                                            GLboolean transpose,
205                                                            const GLfloat *value);
206 ANGLE_EXPORT void GL_APIENTRY GL_ProgramUniformMatrix4x3fv(GLuint program,
207                                                            GLint location,
208                                                            GLsizei count,
209                                                            GLboolean transpose,
210                                                            const GLfloat *value);
211 ANGLE_EXPORT void GL_APIENTRY GL_SampleMaski(GLuint maskNumber, GLbitfield mask);
212 ANGLE_EXPORT void GL_APIENTRY GL_TexStorage2DMultisample(GLenum target,
213                                                          GLsizei samples,
214                                                          GLenum internalformat,
215                                                          GLsizei width,
216                                                          GLsizei height,
217                                                          GLboolean fixedsamplelocations);
218 ANGLE_EXPORT void GL_APIENTRY GL_UseProgramStages(GLuint pipeline,
219                                                   GLbitfield stages,
220                                                   GLuint program);
221 ANGLE_EXPORT void GL_APIENTRY GL_ValidateProgramPipeline(GLuint pipeline);
222 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribBinding(GLuint attribindex, GLuint bindingindex);
223 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribFormat(GLuint attribindex,
224                                                     GLint size,
225                                                     GLenum type,
226                                                     GLboolean normalized,
227                                                     GLuint relativeoffset);
228 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribIFormat(GLuint attribindex,
229                                                      GLint size,
230                                                      GLenum type,
231                                                      GLuint relativeoffset);
232 ANGLE_EXPORT void GL_APIENTRY GL_VertexBindingDivisor(GLuint bindingindex, GLuint divisor);
233 }  // extern "C"
234 
235 #endif  // LIBGLESV2_ENTRY_POINTS_GLES_3_1_AUTOGEN_H_
236