forked from amonakov/primus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gles-passthru.def
246 lines (246 loc) · 26.4 KB
/
gles-passthru.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
DEF_EGL_PROTO(void, glActiveTexture, (GLenum texture),texture)
DEF_EGL_PROTO(void, glAttachShader, (GLuint program, GLuint shader),program,shader)
DEF_EGL_PROTO(void, glBindAttribLocation, (GLuint program, GLuint index, const GLchar* name),program,index,name)
DEF_EGL_PROTO(void, glBindBuffer, (GLenum target, GLuint buffer),target,buffer)
DEF_EGL_PROTO(void, glBindFramebuffer, (GLenum target, GLuint framebuffer),target,framebuffer)
DEF_EGL_PROTO(void, glBindRenderbuffer, (GLenum target, GLuint renderbuffer),target,renderbuffer)
DEF_EGL_PROTO(void, glBindTexture, (GLenum target, GLuint texture),target,texture)
DEF_EGL_PROTO(void, glBlendColor, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha),red,green,blue,alpha)
DEF_EGL_PROTO(void, glBlendEquation, (GLenum mode),mode)
DEF_EGL_PROTO(void, glBlendEquationSeparate, (GLenum modeRGB, GLenum modeAlpha),modeRGB,modeAlpha)
DEF_EGL_PROTO(void, glBlendFunc, (GLenum sfactor, GLenum dfactor),sfactor,dfactor)
DEF_EGL_PROTO(void, glBlendFuncSeparate, (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha),srcRGB,dstRGB,srcAlpha,dstAlpha)
DEF_EGL_PROTO(void, glBufferData, (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage),target,size,data,usage)
DEF_EGL_PROTO(void, glBufferSubData, (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data),target,offset,size,data)
DEF_EGL_PROTO(GLenum, glCheckFramebufferStatus, (GLenum target),target)
DEF_EGL_PROTO(void, glClear, (GLbitfield mask),mask)
DEF_EGL_PROTO(void, glClearColor, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha),red,green,blue,alpha)
DEF_EGL_PROTO(void, glClearDepthf, (GLfloat depth),depth)
DEF_EGL_PROTO(void, glClearStencil, (GLint s),s)
DEF_EGL_PROTO(void, glColorMask, (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha),red,green,blue,alpha)
DEF_EGL_PROTO(void, glCompileShader, (GLuint shader),shader)
DEF_EGL_PROTO(void, glCompressedTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data),target,level,internalformat,width,height,border,imageSize,data)
DEF_EGL_PROTO(void, glCompressedTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data),target,level,xoffset,yoffset,width,height,format,imageSize,data)
DEF_EGL_PROTO(void, glCopyTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border),target,level,internalformat,x,y,width,height,border)
DEF_EGL_PROTO(void, glCopyTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height),target,level,xoffset,yoffset,x,y,width,height)
DEF_EGL_PROTO(GLuint, glCreateProgram, (void))
DEF_EGL_PROTO(GLuint, glCreateShader, (GLenum type),type)
DEF_EGL_PROTO(void, glCullFace, (GLenum mode),mode)
DEF_EGL_PROTO(void, glDeleteBuffers, (GLsizei n, const GLuint* buffers),n,buffers)
DEF_EGL_PROTO(void, glDeleteFramebuffers, (GLsizei n, const GLuint* framebuffers),n,framebuffers)
DEF_EGL_PROTO(void, glDeleteProgram, (GLuint program),program)
DEF_EGL_PROTO(void, glDeleteRenderbuffers, (GLsizei n, const GLuint* renderbuffers),n,renderbuffers)
DEF_EGL_PROTO(void, glDeleteShader, (GLuint shader),shader)
DEF_EGL_PROTO(void, glDeleteTextures, (GLsizei n, const GLuint* textures),n,textures)
DEF_EGL_PROTO(void, glDepthFunc, (GLenum func),func)
DEF_EGL_PROTO(void, glDepthMask, (GLboolean flag),flag)
DEF_EGL_PROTO(void, glDepthRangef, (GLfloat n, GLfloat f),n,f)
DEF_EGL_PROTO(void, glDetachShader, (GLuint program, GLuint shader),program,shader)
DEF_EGL_PROTO(void, glDisable, (GLenum cap),cap)
DEF_EGL_PROTO(void, glDisableVertexAttribArray, (GLuint index),index)
DEF_EGL_PROTO(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count),mode,first,count)
DEF_EGL_PROTO(void, glDrawElements, (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices),mode,count,type,indices)
DEF_EGL_PROTO(void, glEnable, (GLenum cap),cap)
DEF_EGL_PROTO(void, glEnableVertexAttribArray, (GLuint index),index)
DEF_EGL_PROTO(void, glFinish, (void))
DEF_EGL_PROTO(void, glFlush, (void))
DEF_EGL_PROTO(void, glFramebufferRenderbuffer, (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer),target,attachment,renderbuffertarget,renderbuffer)
DEF_EGL_PROTO(void, glFramebufferTexture2D, (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level),target,attachment,textarget,texture,level)
DEF_EGL_PROTO(void, glFrontFace, (GLenum mode),mode)
DEF_EGL_PROTO(void, glGenBuffers, (GLsizei n, GLuint* buffers),n,buffers)
DEF_EGL_PROTO(void, glGenerateMipmap, (GLenum target),target)
DEF_EGL_PROTO(void, glGenFramebuffers, (GLsizei n, GLuint* framebuffers),n,framebuffers)
DEF_EGL_PROTO(void, glGenRenderbuffers, (GLsizei n, GLuint* renderbuffers),n,renderbuffers)
DEF_EGL_PROTO(void, glGenTextures, (GLsizei n, GLuint* textures),n,textures)
DEF_EGL_PROTO(void, glGetActiveAttrib, (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name),program,index,bufsize,length,size,type,name)
DEF_EGL_PROTO(void, glGetActiveUniform, (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name),program,index,bufsize,length,size,type,name)
DEF_EGL_PROTO(void, glGetAttachedShaders, (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders),program,maxcount,count,shaders)
DEF_EGL_PROTO(GLint, glGetAttribLocation, (GLuint program, const GLchar* name),program,name)
DEF_EGL_PROTO(void, glGetBooleanv, (GLenum pname, GLboolean* params),pname,params)
DEF_EGL_PROTO(void, glGetBufferParameteriv, (GLenum target, GLenum pname, GLint* params),target,pname,params)
DEF_EGL_PROTO(GLenum, glGetError, (void))
DEF_EGL_PROTO(void, glGetFloatv, (GLenum pname, GLfloat* params),pname,params)
DEF_EGL_PROTO(void, glGetFramebufferAttachmentParameteriv, (GLenum target, GLenum attachment, GLenum pname, GLint* params),target,attachment,pname,params)
DEF_EGL_PROTO(void, glGetIntegerv, (GLenum pname, GLint* params),pname,params)
DEF_EGL_PROTO(void, glGetProgramiv, (GLuint program, GLenum pname, GLint* params),program,pname,params)
DEF_EGL_PROTO(void, glGetProgramInfoLog, (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog),program,bufsize,length,infolog)
DEF_EGL_PROTO(void, glGetRenderbufferParameteriv, (GLenum target, GLenum pname, GLint* params),target,pname,params)
DEF_EGL_PROTO(void, glGetShaderiv, (GLuint shader, GLenum pname, GLint* params),shader,pname,params)
DEF_EGL_PROTO(void, glGetShaderInfoLog, (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog),shader,bufsize,length,infolog)
DEF_EGL_PROTO(void, glGetShaderPrecisionFormat, (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision),shadertype,precisiontype,range,precision)
DEF_EGL_PROTO(void, glGetShaderSource, (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source),shader,bufsize,length,source)
DEF_EGL_PROTO(GLubyte*, glGetString, (GLenum name),name)
DEF_EGL_PROTO(void, glGetTexParameterfv, (GLenum target, GLenum pname, GLfloat* params),target,pname,params)
DEF_EGL_PROTO(void, glGetTexParameteriv, (GLenum target, GLenum pname, GLint* params),target,pname,params)
DEF_EGL_PROTO(void, glGetUniformfv, (GLuint program, GLint location, GLfloat* params),program,location,params)
DEF_EGL_PROTO(void, glGetUniformiv, (GLuint program, GLint location, GLint* params),program,location,params)
DEF_EGL_PROTO(GLint, glGetUniformLocation, (GLuint program, const GLchar* name),program,name)
DEF_EGL_PROTO(void, glGetVertexAttribfv, (GLuint index, GLenum pname, GLfloat* params),index,pname,params)
DEF_EGL_PROTO(void, glGetVertexAttribiv, (GLuint index, GLenum pname, GLint* params),index,pname,params)
DEF_EGL_PROTO(void, glGetVertexAttribPointerv, (GLuint index, GLenum pname, GLvoid** pointer),index,pname,pointer)
DEF_EGL_PROTO(void, glHint, (GLenum target, GLenum mode),target,mode)
DEF_EGL_PROTO(GLboolean, glIsBuffer, (GLuint buffer),buffer)
DEF_EGL_PROTO(GLboolean, glIsEnabled, (GLenum cap),cap)
DEF_EGL_PROTO(GLboolean, glIsFramebuffer, (GLuint framebuffer),framebuffer)
DEF_EGL_PROTO(GLboolean, glIsProgram, (GLuint program),program)
DEF_EGL_PROTO(GLboolean, glIsRenderbuffer, (GLuint renderbuffer),renderbuffer)
DEF_EGL_PROTO(GLboolean, glIsShader, (GLuint shader),shader)
DEF_EGL_PROTO(GLboolean, glIsTexture, (GLuint texture),texture)
DEF_EGL_PROTO(void, glLineWidth, (GLfloat width),width)
DEF_EGL_PROTO(void, glLinkProgram, (GLuint program),program)
DEF_EGL_PROTO(void, glPixelStorei, (GLenum pname, GLint param),pname,param)
DEF_EGL_PROTO(void, glPolygonOffset, (GLfloat factor, GLfloat units),factor,units)
DEF_EGL_PROTO(void, glReadPixels, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels),x,y,width,height,format,type,pixels)
DEF_EGL_PROTO(void, glReleaseShaderCompiler, (void))
DEF_EGL_PROTO(void, glRenderbufferStorage, (GLenum target, GLenum internalformat, GLsizei width, GLsizei height),target,internalformat,width,height)
DEF_EGL_PROTO(void, glSampleCoverage, (GLfloat value, GLboolean invert),value,invert)
DEF_EGL_PROTO(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height),x,y,width,height)
DEF_EGL_PROTO(void, glShaderBinary, (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length),n,shaders,binaryformat,binary,length)
DEF_EGL_PROTO(void, glShaderSource, (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length),shader,count,string,length)
DEF_EGL_PROTO(void, glStencilFunc, (GLenum func, GLint ref, GLuint mask),func,ref,mask)
DEF_EGL_PROTO(void, glStencilFuncSeparate, (GLenum face, GLenum func, GLint ref, GLuint mask),face,func,ref,mask)
DEF_EGL_PROTO(void, glStencilMask, (GLuint mask),mask)
DEF_EGL_PROTO(void, glStencilMaskSeparate, (GLenum face, GLuint mask),face,mask)
DEF_EGL_PROTO(void, glStencilOp, (GLenum fail, GLenum zfail, GLenum zpass),fail,zfail,zpass)
DEF_EGL_PROTO(void, glStencilOpSeparate, (GLenum face, GLenum fail, GLenum zfail, GLenum zpass),face,fail,zfail,zpass)
DEF_EGL_PROTO(void, glTexImage2D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels),target,level,internalformat,width,height,border,format,type,pixels)
DEF_EGL_PROTO(void, glTexParameterf, (GLenum target, GLenum pname, GLfloat param),target,pname,param)
DEF_EGL_PROTO(void, glTexParameterfv, (GLenum target, GLenum pname, const GLfloat* params),target,pname,params)
DEF_EGL_PROTO(void, glTexParameteri, (GLenum target, GLenum pname, GLint param),target,pname,param)
DEF_EGL_PROTO(void, glTexParameteriv, (GLenum target, GLenum pname, const GLint* params),target,pname,params)
DEF_EGL_PROTO(void, glTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels),target,level,xoffset,yoffset,width,height,format,type,pixels)
DEF_EGL_PROTO(void, glUniform1f, (GLint location, GLfloat x),location,x)
DEF_EGL_PROTO(void, glUniform1fv, (GLint location, GLsizei count, const GLfloat* v),location,count,v)
DEF_EGL_PROTO(void, glUniform1i, (GLint location, GLint x),location,x)
DEF_EGL_PROTO(void, glUniform1iv, (GLint location, GLsizei count, const GLint* v),location,count,v)
DEF_EGL_PROTO(void, glUniform2f, (GLint location, GLfloat x, GLfloat y),location,x,y)
DEF_EGL_PROTO(void, glUniform2fv, (GLint location, GLsizei count, const GLfloat* v),location,count,v)
DEF_EGL_PROTO(void, glUniform2i, (GLint location, GLint x, GLint y),location,x,y)
DEF_EGL_PROTO(void, glUniform2iv, (GLint location, GLsizei count, const GLint* v),location,count,v)
DEF_EGL_PROTO(void, glUniform3f, (GLint location, GLfloat x, GLfloat y, GLfloat z),location,x,y,z)
DEF_EGL_PROTO(void, glUniform3fv, (GLint location, GLsizei count, const GLfloat* v),location,count,v)
DEF_EGL_PROTO(void, glUniform3i, (GLint location, GLint x, GLint y, GLint z),location,x,y,z)
DEF_EGL_PROTO(void, glUniform3iv, (GLint location, GLsizei count, const GLint* v),location,count,v)
DEF_EGL_PROTO(void, glUniform4f, (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w),location,x,y,z,w)
DEF_EGL_PROTO(void, glUniform4fv, (GLint location, GLsizei count, const GLfloat* v),location,count,v)
DEF_EGL_PROTO(void, glUniform4i, (GLint location, GLint x, GLint y, GLint z, GLint w),location,x,y,z,w)
DEF_EGL_PROTO(void, glUniform4iv, (GLint location, GLsizei count, const GLint* v),location,count,v)
DEF_EGL_PROTO(void, glUniformMatrix2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glUniformMatrix3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glUniformMatrix4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glUseProgram, (GLuint program),program)
DEF_EGL_PROTO(void, glValidateProgram, (GLuint program),program)
DEF_EGL_PROTO(void, glVertexAttrib1f, (GLuint indx, GLfloat x),indx,x)
DEF_EGL_PROTO(void, glVertexAttrib1fv, (GLuint indx, const GLfloat* values),indx,values)
DEF_EGL_PROTO(void, glVertexAttrib2f, (GLuint indx, GLfloat x, GLfloat y),indx,x,y)
DEF_EGL_PROTO(void, glVertexAttrib2fv, (GLuint indx, const GLfloat* values),indx,values)
DEF_EGL_PROTO(void, glVertexAttrib3f, (GLuint indx, GLfloat x, GLfloat y, GLfloat z),indx,x,y,z)
DEF_EGL_PROTO(void, glVertexAttrib3fv, (GLuint indx, const GLfloat* values),indx,values)
DEF_EGL_PROTO(void, glVertexAttrib4f, (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w),indx,x,y,z,w)
DEF_EGL_PROTO(void, glVertexAttrib4fv, (GLuint indx, const GLfloat* values),indx,values)
DEF_EGL_PROTO(void, glVertexAttribPointer, (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr),indx,size,type,normalized,stride,ptr)
DEF_EGL_PROTO(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height),x,y,width,height)
DEF_EGL_PROTO(void, glReadBuffer, (GLenum mode),mode)
DEF_EGL_PROTO(void, glDrawRangeElements, (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices),mode,start,end,count,type,indices)
DEF_EGL_PROTO(void, glTexImage3D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels),target,level,internalformat,width,height,depth,border,format,type,pixels)
DEF_EGL_PROTO(void, glTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels),target,level,xoffset,yoffset,zoffset,width,height,depth,format,type,pixels)
DEF_EGL_PROTO(void, glCopyTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height),target,level,xoffset,yoffset,zoffset,x,y,width,height)
DEF_EGL_PROTO(void, glCompressedTexImage3D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data),target,level,internalformat,width,height,depth,border,imageSize,data)
DEF_EGL_PROTO(void, glCompressedTexSubImage3D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data),target,level,xoffset,yoffset,zoffset,width,height,depth,format,imageSize,data)
DEF_EGL_PROTO(void, glGenQueries, (GLsizei n, GLuint* ids),n,ids)
DEF_EGL_PROTO(void, glDeleteQueries, (GLsizei n, const GLuint* ids),n,ids)
DEF_EGL_PROTO(GLboolean, glIsQuery, (GLuint id),id)
DEF_EGL_PROTO(void, glBeginQuery, (GLenum target, GLuint id),target,id)
DEF_EGL_PROTO(void, glEndQuery, (GLenum target),target)
DEF_EGL_PROTO(void, glGetQueryiv, (GLenum target, GLenum pname, GLint* params),target,pname,params)
DEF_EGL_PROTO(void, glGetQueryObjectuiv, (GLuint id, GLenum pname, GLuint* params),id,pname,params)
DEF_EGL_PROTO(GLboolean, glUnmapBuffer, (GLenum target),target)
DEF_EGL_PROTO(void, glGetBufferPointerv, (GLenum target, GLenum pname, GLvoid** params),target,pname,params)
DEF_EGL_PROTO(void, glDrawBuffers, (GLsizei n, const GLenum* bufs),n,bufs)
DEF_EGL_PROTO(void, glUniformMatrix2x3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glUniformMatrix3x2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glUniformMatrix2x4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glUniformMatrix4x2fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glUniformMatrix3x4fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glUniformMatrix4x3fv, (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value),location,count,transpose,value)
DEF_EGL_PROTO(void, glBlitFramebuffer, (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter),srcX0,srcY0,srcX1,srcY1,dstX0,dstY0,dstX1,dstY1,mask,filter)
DEF_EGL_PROTO(void, glRenderbufferStorageMultisample, (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height),target,samples,internalformat,width,height)
DEF_EGL_PROTO(void, glFramebufferTextureLayer, (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer),target,attachment,texture,level,layer)
DEF_EGL_PROTO(GLvoid*, glMapBufferRange, (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access),target,offset,length,access)
DEF_EGL_PROTO(void, glFlushMappedBufferRange, (GLenum target, GLintptr offset, GLsizeiptr length),target,offset,length)
DEF_EGL_PROTO(void, glBindVertexArray, (GLuint array),array)
DEF_EGL_PROTO(void, glDeleteVertexArrays, (GLsizei n, const GLuint* arrays),n,arrays)
DEF_EGL_PROTO(void, glGenVertexArrays, (GLsizei n, GLuint* arrays),n,arrays)
DEF_EGL_PROTO(GLboolean, glIsVertexArray, (GLuint array),array)
DEF_EGL_PROTO(void, glGetIntegeri_v, (GLenum target, GLuint index, GLint* data),target,index,data)
DEF_EGL_PROTO(void, glBeginTransformFeedback, (GLenum primitiveMode),primitiveMode)
DEF_EGL_PROTO(void, glEndTransformFeedback, (void))
DEF_EGL_PROTO(void, glBindBufferRange, (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size),target,index,buffer,offset,size)
DEF_EGL_PROTO(void, glBindBufferBase, (GLenum target, GLuint index, GLuint buffer),target,index,buffer)
DEF_EGL_PROTO(void, glTransformFeedbackVaryings, (GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode),program,count,varyings,bufferMode)
DEF_EGL_PROTO(void, glGetTransformFeedbackVarying, (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name),program,index,bufSize,length,size,type,name)
DEF_EGL_PROTO(void, glVertexAttribIPointer, (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer),index,size,type,stride,pointer)
DEF_EGL_PROTO(void, glGetVertexAttribIiv, (GLuint index, GLenum pname, GLint* params),index,pname,params)
DEF_EGL_PROTO(void, glGetVertexAttribIuiv, (GLuint index, GLenum pname, GLuint* params),index,pname,params)
DEF_EGL_PROTO(void, glVertexAttribI4i, (GLuint index, GLint x, GLint y, GLint z, GLint w),index,x,y,z,w)
DEF_EGL_PROTO(void, glVertexAttribI4ui, (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w),index,x,y,z,w)
DEF_EGL_PROTO(void, glVertexAttribI4iv, (GLuint index, const GLint* v),index,v)
DEF_EGL_PROTO(void, glVertexAttribI4uiv, (GLuint index, const GLuint* v),index,v)
DEF_EGL_PROTO(void, glGetUniformuiv, (GLuint program, GLint location, GLuint* params),program,location,params)
DEF_EGL_PROTO(GLint, glGetFragDataLocation, (GLuint program, const GLchar *name),program,name)
DEF_EGL_PROTO(void, glUniform1ui, (GLint location, GLuint v0),location,v0)
DEF_EGL_PROTO(void, glUniform2ui, (GLint location, GLuint v0, GLuint v1),location,v0,v1)
DEF_EGL_PROTO(void, glUniform3ui, (GLint location, GLuint v0, GLuint v1, GLuint v2),location,v0,v1,v2)
DEF_EGL_PROTO(void, glUniform4ui, (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3),location,v0,v1,v2,v3)
DEF_EGL_PROTO(void, glUniform1uiv, (GLint location, GLsizei count, const GLuint* value),location,count,value)
DEF_EGL_PROTO(void, glUniform2uiv, (GLint location, GLsizei count, const GLuint* value),location,count,value)
DEF_EGL_PROTO(void, glUniform3uiv, (GLint location, GLsizei count, const GLuint* value),location,count,value)
DEF_EGL_PROTO(void, glUniform4uiv, (GLint location, GLsizei count, const GLuint* value),location,count,value)
DEF_EGL_PROTO(void, glClearBufferiv, (GLenum buffer, GLint drawbuffer, const GLint* value),buffer,drawbuffer,value)
DEF_EGL_PROTO(void, glClearBufferuiv, (GLenum buffer, GLint drawbuffer, const GLuint* value),buffer,drawbuffer,value)
DEF_EGL_PROTO(void, glClearBufferfv, (GLenum buffer, GLint drawbuffer, const GLfloat* value),buffer,drawbuffer,value)
DEF_EGL_PROTO(void, glClearBufferfi, (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil),buffer,drawbuffer,depth,stencil)
DEF_EGL_PROTO(GLubyte*, glGetStringi, (GLenum name, GLuint index),name,index)
DEF_EGL_PROTO(void, glCopyBufferSubData, (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size),readTarget,writeTarget,readOffset,writeOffset,size)
DEF_EGL_PROTO(void, glGetUniformIndices, (GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices),program,uniformCount,uniformNames,uniformIndices)
DEF_EGL_PROTO(void, glGetActiveUniformsiv, (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params),program,uniformCount,uniformIndices,pname,params)
DEF_EGL_PROTO(GLuint, glGetUniformBlockIndex, (GLuint program, const GLchar* uniformBlockName),program,uniformBlockName)
DEF_EGL_PROTO(void, glGetActiveUniformBlockiv, (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params),program,uniformBlockIndex,pname,params)
DEF_EGL_PROTO(void, glGetActiveUniformBlockName, (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName),program,uniformBlockIndex,bufSize,length,uniformBlockName)
DEF_EGL_PROTO(void, glUniformBlockBinding, (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding),program,uniformBlockIndex,uniformBlockBinding)
DEF_EGL_PROTO(void, glDrawArraysInstanced, (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount),mode,first,count,instanceCount)
DEF_EGL_PROTO(void, glDrawElementsInstanced, (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount),mode,count,type,indices,instanceCount)
DEF_EGL_PROTO(GLsync, glFenceSync, (GLenum condition, GLbitfield flags),condition,flags)
DEF_EGL_PROTO(GLboolean, glIsSync, (GLsync sync),sync)
DEF_EGL_PROTO(void, glDeleteSync, (GLsync sync),sync)
DEF_EGL_PROTO(GLenum, glClientWaitSync, (GLsync sync, GLbitfield flags, GLuint64 timeout),sync,flags,timeout)
DEF_EGL_PROTO(void, glWaitSync, (GLsync sync, GLbitfield flags, GLuint64 timeout),sync,flags,timeout)
DEF_EGL_PROTO(void, glGetInteger64v, (GLenum pname, GLint64* params),pname,params)
DEF_EGL_PROTO(void, glGetSynciv, (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values),sync,pname,bufSize,length,values)
DEF_EGL_PROTO(void, glGetInteger64i_v, (GLenum target, GLuint index, GLint64* data),target,index,data)
DEF_EGL_PROTO(void, glGetBufferParameteri64v, (GLenum target, GLenum pname, GLint64* params),target,pname,params)
DEF_EGL_PROTO(void, glGenSamplers, (GLsizei count, GLuint* samplers),count,samplers)
DEF_EGL_PROTO(void, glDeleteSamplers, (GLsizei count, const GLuint* samplers),count,samplers)
DEF_EGL_PROTO(GLboolean, glIsSampler, (GLuint sampler),sampler)
DEF_EGL_PROTO(void, glBindSampler, (GLuint unit, GLuint sampler),unit,sampler)
DEF_EGL_PROTO(void, glSamplerParameteri, (GLuint sampler, GLenum pname, GLint param),sampler,pname,param)
DEF_EGL_PROTO(void, glSamplerParameteriv, (GLuint sampler, GLenum pname, const GLint* param),sampler,pname,param)
DEF_EGL_PROTO(void, glSamplerParameterf, (GLuint sampler, GLenum pname, GLfloat param),sampler,pname,param)
DEF_EGL_PROTO(void, glSamplerParameterfv, (GLuint sampler, GLenum pname, const GLfloat* param),sampler,pname,param)
DEF_EGL_PROTO(void, glGetSamplerParameteriv, (GLuint sampler, GLenum pname, GLint* params),sampler,pname,params)
DEF_EGL_PROTO(void, glGetSamplerParameterfv, (GLuint sampler, GLenum pname, GLfloat* params),sampler,pname,params)
DEF_EGL_PROTO(void, glVertexAttribDivisor, (GLuint index, GLuint divisor),index,divisor)
DEF_EGL_PROTO(void, glBindTransformFeedback, (GLenum target, GLuint id),target,id)
DEF_EGL_PROTO(void, glDeleteTransformFeedbacks, (GLsizei n, const GLuint* ids),n,ids)
DEF_EGL_PROTO(void, glGenTransformFeedbacks, (GLsizei n, GLuint* ids),n,ids)
DEF_EGL_PROTO(GLboolean, glIsTransformFeedback, (GLuint id),id)
DEF_EGL_PROTO(void, glPauseTransformFeedback, (void))
DEF_EGL_PROTO(void, glResumeTransformFeedback, (void))
DEF_EGL_PROTO(void, glGetProgramBinary, (GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary),program,bufSize,length,binaryFormat,binary)
DEF_EGL_PROTO(void, glProgramBinary, (GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length),program,binaryFormat,binary,length)
DEF_EGL_PROTO(void, glProgramParameteri, (GLuint program, GLenum pname, GLint value),program,pname,value)
DEF_EGL_PROTO(void, glInvalidateFramebuffer, (GLenum target, GLsizei numAttachments, const GLenum* attachments),target,numAttachments,attachments)
DEF_EGL_PROTO(void, glInvalidateSubFramebuffer, (GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height),target,numAttachments,attachments,x,y,width,height)
DEF_EGL_PROTO(void, glTexStorage2D, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height),target,levels,internalformat,width,height)
DEF_EGL_PROTO(void, glTexStorage3D, (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth),target,levels,internalformat,width,height,depth)
DEF_EGL_PROTO(void, glGetInternalformativ, (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params),target,internalformat,pname,bufSize,params)