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_gl_2_autogen.h: 9 // Defines the Desktop GL 2.x entry points. 10 11 #ifndef LIBGL_ENTRY_POINTS_GL_2_AUTOGEN_H_ 12 #define LIBGL_ENTRY_POINTS_GL_2_AUTOGEN_H_ 13 14 #include <export.h> 15 #include "angle_gl.h" 16 17 extern "C" { 18 19 // GL 2.0 20 ANGLE_EXPORT void GL_APIENTRY GL_AttachShader(GLuint program, GLuint shader); 21 ANGLE_EXPORT void GL_APIENTRY GL_BindAttribLocation(GLuint program, 22 GLuint index, 23 const GLchar *name); 24 ANGLE_EXPORT void GL_APIENTRY GL_BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); 25 ANGLE_EXPORT void GL_APIENTRY GL_CompileShader(GLuint shader); 26 ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateProgram(); 27 ANGLE_EXPORT GLuint GL_APIENTRY GL_CreateShader(GLenum type); 28 ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgram(GLuint program); 29 ANGLE_EXPORT void GL_APIENTRY GL_DeleteShader(GLuint shader); 30 ANGLE_EXPORT void GL_APIENTRY GL_DetachShader(GLuint program, GLuint shader); 31 ANGLE_EXPORT void GL_APIENTRY GL_DisableVertexAttribArray(GLuint index); 32 ANGLE_EXPORT void GL_APIENTRY GL_DrawBuffers(GLsizei n, const GLenum *bufs); 33 ANGLE_EXPORT void GL_APIENTRY GL_EnableVertexAttribArray(GLuint index); 34 ANGLE_EXPORT void GL_APIENTRY GL_GetActiveAttrib(GLuint program, 35 GLuint index, 36 GLsizei bufSize, 37 GLsizei *length, 38 GLint *size, 39 GLenum *type, 40 GLchar *name); 41 ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniform(GLuint program, 42 GLuint index, 43 GLsizei bufSize, 44 GLsizei *length, 45 GLint *size, 46 GLenum *type, 47 GLchar *name); 48 ANGLE_EXPORT void GL_APIENTRY GL_GetAttachedShaders(GLuint program, 49 GLsizei maxCount, 50 GLsizei *count, 51 GLuint *shaders); 52 ANGLE_EXPORT GLint GL_APIENTRY GL_GetAttribLocation(GLuint program, const GLchar *name); 53 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramInfoLog(GLuint program, 54 GLsizei bufSize, 55 GLsizei *length, 56 GLchar *infoLog); 57 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramiv(GLuint program, GLenum pname, GLint *params); 58 ANGLE_EXPORT void GL_APIENTRY GL_GetShaderInfoLog(GLuint shader, 59 GLsizei bufSize, 60 GLsizei *length, 61 GLchar *infoLog); 62 ANGLE_EXPORT void GL_APIENTRY GL_GetShaderSource(GLuint shader, 63 GLsizei bufSize, 64 GLsizei *length, 65 GLchar *source); 66 ANGLE_EXPORT void GL_APIENTRY GL_GetShaderiv(GLuint shader, GLenum pname, GLint *params); 67 ANGLE_EXPORT GLint GL_APIENTRY GL_GetUniformLocation(GLuint program, const GLchar *name); 68 ANGLE_EXPORT void GL_APIENTRY GL_GetUniformfv(GLuint program, GLint location, GLfloat *params); 69 ANGLE_EXPORT void GL_APIENTRY GL_GetUniformiv(GLuint program, GLint location, GLint *params); 70 ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribPointerv(GLuint index, 71 GLenum pname, 72 void **pointer); 73 ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params); 74 ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params); 75 ANGLE_EXPORT void GL_APIENTRY GL_GetVertexAttribiv(GLuint index, GLenum pname, GLint *params); 76 ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsProgram(GLuint program); 77 ANGLE_EXPORT GLboolean GL_APIENTRY GL_IsShader(GLuint shader); 78 ANGLE_EXPORT void GL_APIENTRY GL_LinkProgram(GLuint program); 79 ANGLE_EXPORT void GL_APIENTRY GL_ShaderSource(GLuint shader, 80 GLsizei count, 81 const GLchar *const *string, 82 const GLint *length); 83 ANGLE_EXPORT void GL_APIENTRY GL_StencilFuncSeparate(GLenum face, 84 GLenum func, 85 GLint ref, 86 GLuint mask); 87 ANGLE_EXPORT void GL_APIENTRY GL_StencilMaskSeparate(GLenum face, GLuint mask); 88 ANGLE_EXPORT void GL_APIENTRY GL_StencilOpSeparate(GLenum face, 89 GLenum sfail, 90 GLenum dpfail, 91 GLenum dppass); 92 ANGLE_EXPORT void GL_APIENTRY GL_Uniform1f(GLint location, GLfloat v0); 93 ANGLE_EXPORT void GL_APIENTRY GL_Uniform1fv(GLint location, GLsizei count, const GLfloat *value); 94 ANGLE_EXPORT void GL_APIENTRY GL_Uniform1i(GLint location, GLint v0); 95 ANGLE_EXPORT void GL_APIENTRY GL_Uniform1iv(GLint location, GLsizei count, const GLint *value); 96 ANGLE_EXPORT void GL_APIENTRY GL_Uniform2f(GLint location, GLfloat v0, GLfloat v1); 97 ANGLE_EXPORT void GL_APIENTRY GL_Uniform2fv(GLint location, GLsizei count, const GLfloat *value); 98 ANGLE_EXPORT void GL_APIENTRY GL_Uniform2i(GLint location, GLint v0, GLint v1); 99 ANGLE_EXPORT void GL_APIENTRY GL_Uniform2iv(GLint location, GLsizei count, const GLint *value); 100 ANGLE_EXPORT void GL_APIENTRY GL_Uniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 101 ANGLE_EXPORT void GL_APIENTRY GL_Uniform3fv(GLint location, GLsizei count, const GLfloat *value); 102 ANGLE_EXPORT void GL_APIENTRY GL_Uniform3i(GLint location, GLint v0, GLint v1, GLint v2); 103 ANGLE_EXPORT void GL_APIENTRY GL_Uniform3iv(GLint location, GLsizei count, const GLint *value); 104 ANGLE_EXPORT void GL_APIENTRY 105 GL_Uniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 106 ANGLE_EXPORT void GL_APIENTRY GL_Uniform4fv(GLint location, GLsizei count, const GLfloat *value); 107 ANGLE_EXPORT void GL_APIENTRY GL_Uniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 108 ANGLE_EXPORT void GL_APIENTRY GL_Uniform4iv(GLint location, GLsizei count, const GLint *value); 109 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2fv(GLint location, 110 GLsizei count, 111 GLboolean transpose, 112 const GLfloat *value); 113 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3fv(GLint location, 114 GLsizei count, 115 GLboolean transpose, 116 const GLfloat *value); 117 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4fv(GLint location, 118 GLsizei count, 119 GLboolean transpose, 120 const GLfloat *value); 121 ANGLE_EXPORT void GL_APIENTRY GL_UseProgram(GLuint program); 122 ANGLE_EXPORT void GL_APIENTRY GL_ValidateProgram(GLuint program); 123 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1d(GLuint index, GLdouble x); 124 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1dv(GLuint index, const GLdouble *v); 125 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1f(GLuint index, GLfloat x); 126 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1fv(GLuint index, const GLfloat *v); 127 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1s(GLuint index, GLshort x); 128 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib1sv(GLuint index, const GLshort *v); 129 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2d(GLuint index, GLdouble x, GLdouble y); 130 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2dv(GLuint index, const GLdouble *v); 131 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2f(GLuint index, GLfloat x, GLfloat y); 132 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2fv(GLuint index, const GLfloat *v); 133 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2s(GLuint index, GLshort x, GLshort y); 134 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib2sv(GLuint index, const GLshort *v); 135 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); 136 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3dv(GLuint index, const GLdouble *v); 137 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z); 138 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3fv(GLuint index, const GLfloat *v); 139 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z); 140 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib3sv(GLuint index, const GLshort *v); 141 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4Nbv(GLuint index, const GLbyte *v); 142 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4Niv(GLuint index, const GLint *v); 143 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4Nsv(GLuint index, const GLshort *v); 144 ANGLE_EXPORT void GL_APIENTRY 145 GL_VertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 146 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4Nubv(GLuint index, const GLubyte *v); 147 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4Nuiv(GLuint index, const GLuint *v); 148 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4Nusv(GLuint index, const GLushort *v); 149 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4bv(GLuint index, const GLbyte *v); 150 ANGLE_EXPORT void GL_APIENTRY 151 GL_VertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 152 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4dv(GLuint index, const GLdouble *v); 153 ANGLE_EXPORT void GL_APIENTRY 154 GL_VertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 155 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4fv(GLuint index, const GLfloat *v); 156 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4iv(GLuint index, const GLint *v); 157 ANGLE_EXPORT void GL_APIENTRY 158 GL_VertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 159 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4sv(GLuint index, const GLshort *v); 160 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4ubv(GLuint index, const GLubyte *v); 161 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4uiv(GLuint index, const GLuint *v); 162 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttrib4usv(GLuint index, const GLushort *v); 163 ANGLE_EXPORT void GL_APIENTRY GL_VertexAttribPointer(GLuint index, 164 GLint size, 165 GLenum type, 166 GLboolean normalized, 167 GLsizei stride, 168 const void *pointer); 169 170 // GL 2.1 171 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2x3fv(GLint location, 172 GLsizei count, 173 GLboolean transpose, 174 const GLfloat *value); 175 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix2x4fv(GLint location, 176 GLsizei count, 177 GLboolean transpose, 178 const GLfloat *value); 179 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3x2fv(GLint location, 180 GLsizei count, 181 GLboolean transpose, 182 const GLfloat *value); 183 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix3x4fv(GLint location, 184 GLsizei count, 185 GLboolean transpose, 186 const GLfloat *value); 187 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4x2fv(GLint location, 188 GLsizei count, 189 GLboolean transpose, 190 const GLfloat *value); 191 ANGLE_EXPORT void GL_APIENTRY GL_UniformMatrix4x3fv(GLint location, 192 GLsizei count, 193 GLboolean transpose, 194 const GLfloat *value); 195 } // extern "C" 196 197 #endif // LIBGL_ENTRY_POINTS_GL_2_AUTOGEN_H_ 198