1 // Generated Code - DO NOT EDIT !!
2 // generated by 'emugen'
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include "gles3_wrapper_context.h"
6
7 extern "C" {
8 void glActiveTexture(GLenum texture);
9 void glAttachShader(GLuint program, GLuint shader);
10 void glBindAttribLocation(GLuint program, GLuint index, const GLchar* name);
11 void glBindBuffer(GLenum target, GLuint buffer);
12 void glBindFramebuffer(GLenum target, GLuint framebuffer);
13 void glBindRenderbuffer(GLenum target, GLuint renderbuffer);
14 void glBindTexture(GLenum target, GLuint texture);
15 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
16 void glBlendEquation(GLenum mode);
17 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
18 void glBlendFunc(GLenum sfactor, GLenum dfactor);
19 void glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
20 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
21 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
22 GLenum glCheckFramebufferStatus(GLenum target);
23 void glClear(GLbitfield mask);
24 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
25 void glClearDepthf(GLclampf depth);
26 void glClearStencil(GLint s);
27 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
28 void glCompileShader(GLuint shader);
29 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
30 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
31 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
32 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
33 GLuint glCreateProgram();
34 GLuint glCreateShader(GLenum type);
35 void glCullFace(GLenum mode);
36 void glDeleteBuffers(GLsizei n, const GLuint* buffers);
37 void glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers);
38 void glDeleteProgram(GLuint program);
39 void glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers);
40 void glDeleteShader(GLuint shader);
41 void glDeleteTextures(GLsizei n, const GLuint* textures);
42 void glDepthFunc(GLenum func);
43 void glDepthMask(GLboolean flag);
44 void glDepthRangef(GLclampf zNear, GLclampf zFar);
45 void glDetachShader(GLuint program, GLuint shader);
46 void glDisable(GLenum cap);
47 void glDisableVertexAttribArray(GLuint index);
48 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
49 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
50 void glEnable(GLenum cap);
51 void glEnableVertexAttribArray(GLuint index);
52 void glFinish();
53 void glFlush();
54 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
55 void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
56 void glFrontFace(GLenum mode);
57 void glGenBuffers(GLsizei n, GLuint* buffers);
58 void glGenerateMipmap(GLenum target);
59 void glGenFramebuffers(GLsizei n, GLuint* framebuffers);
60 void glGenRenderbuffers(GLsizei n, GLuint* renderbuffers);
61 void glGenTextures(GLsizei n, GLuint* textures);
62 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
63 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
64 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
65 int glGetAttribLocation(GLuint program, const GLchar* name);
66 void glGetBooleanv(GLenum pname, GLboolean* params);
67 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
68 GLenum glGetError();
69 void glGetFloatv(GLenum pname, GLfloat* params);
70 void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params);
71 void glGetIntegerv(GLenum pname, GLint* params);
72 void glGetProgramiv(GLuint program, GLenum pname, GLint* params);
73 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
74 void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
75 void glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
76 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
77 void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
78 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);
79 const GLubyte* glGetString(GLenum name);
80 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
81 void glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
82 void glGetUniformfv(GLuint program, GLint location, GLfloat* params);
83 void glGetUniformiv(GLuint program, GLint location, GLint* params);
84 int glGetUniformLocation(GLuint program, const GLchar* name);
85 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
86 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
87 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid** pointer);
88 void glHint(GLenum target, GLenum mode);
89 GLboolean glIsBuffer(GLuint buffer);
90 GLboolean glIsEnabled(GLenum cap);
91 GLboolean glIsFramebuffer(GLuint framebuffer);
92 GLboolean glIsProgram(GLuint program);
93 GLboolean glIsRenderbuffer(GLuint renderbuffer);
94 GLboolean glIsShader(GLuint shader);
95 GLboolean glIsTexture(GLuint texture);
96 void glLineWidth(GLfloat width);
97 void glLinkProgram(GLuint program);
98 void glPixelStorei(GLenum pname, GLint param);
99 void glPolygonOffset(GLfloat factor, GLfloat units);
100 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
101 void glReleaseShaderCompiler();
102 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
103 void glSampleCoverage(GLclampf value, GLboolean invert);
104 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
105 void glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
106 void glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length);
107 void glStencilFunc(GLenum func, GLint ref, GLuint mask);
108 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
109 void glStencilMask(GLuint mask);
110 void glStencilMaskSeparate(GLenum face, GLuint mask);
111 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
112 void glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
113 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
114 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
115 void glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
116 void glTexParameteri(GLenum target, GLenum pname, GLint param);
117 void glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
118 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
119 void glUniform1f(GLint location, GLfloat x);
120 void glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
121 void glUniform1i(GLint location, GLint x);
122 void glUniform1iv(GLint location, GLsizei count, const GLint* v);
123 void glUniform2f(GLint location, GLfloat x, GLfloat y);
124 void glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
125 void glUniform2i(GLint location, GLint x, GLint y);
126 void glUniform2iv(GLint location, GLsizei count, const GLint* v);
127 void glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
128 void glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
129 void glUniform3i(GLint location, GLint x, GLint y, GLint z);
130 void glUniform3iv(GLint location, GLsizei count, const GLint* v);
131 void glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
132 void glUniform4fv(GLint location, GLsizei count, const GLfloat* v);
133 void glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
134 void glUniform4iv(GLint location, GLsizei count, const GLint* v);
135 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
136 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
137 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
138 void glUseProgram(GLuint program);
139 void glValidateProgram(GLuint program);
140 void glVertexAttrib1f(GLuint indx, GLfloat x);
141 void glVertexAttrib1fv(GLuint indx, const GLfloat* values);
142 void glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
143 void glVertexAttrib2fv(GLuint indx, const GLfloat* values);
144 void glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
145 void glVertexAttrib3fv(GLuint indx, const GLfloat* values);
146 void glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
147 void glVertexAttrib4fv(GLuint indx, const GLfloat* values);
148 void glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr);
149 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
150 void glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image);
151 void glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image);
152 void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary);
153 void glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLint length);
154 void* glMapBufferOES(GLenum target, GLenum access);
155 GLboolean glUnmapBufferOES(GLenum target);
156 void glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
157 void glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
158 void glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
159 void glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
160 void glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
161 void glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
162 void glBindVertexArrayOES(GLuint array);
163 void glDeleteVertexArraysOES(GLsizei n, const GLuint* arrays);
164 void glGenVertexArraysOES(GLsizei n, GLuint* arrays);
165 GLboolean glIsVertexArrayOES(GLuint array);
166 void glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum* attachments);
167 void glMultiDrawArraysEXT(GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount);
168 void glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcount);
169 void glGetPerfMonitorGroupsAMD(GLint* numGroups, GLsizei groupsSize, GLuint* groups);
170 void glGetPerfMonitorCountersAMD(GLuint group, GLint* numCounters, GLint* maxActiveCounters, GLsizei counterSize, GLuint* counters);
171 void glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, GLchar* groupString);
172 void glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, GLchar* counterString);
173 void glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid* data);
174 void glGenPerfMonitorsAMD(GLsizei n, GLuint* monitors);
175 void glDeletePerfMonitorsAMD(GLsizei n, GLuint* monitors);
176 void glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* countersList);
177 void glBeginPerfMonitorAMD(GLuint monitor);
178 void glEndPerfMonitorAMD(GLuint monitor);
179 void glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint* bytesWritten);
180 void glRenderbufferStorageMultisampleIMG(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
181 void glFramebufferTexture2DMultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
182 void glDeleteFencesNV(GLsizei n, const GLuint* fences);
183 void glGenFencesNV(GLsizei n, GLuint* fences);
184 GLboolean glIsFenceNV(GLuint fence);
185 GLboolean glTestFenceNV(GLuint fence);
186 void glGetFenceivNV(GLuint fence, GLenum pname, GLint* params);
187 void glFinishFenceNV(GLuint fence);
188 void glSetFenceNV(GLuint fence, GLenum condition);
189 void glCoverageMaskNV(GLboolean mask);
190 void glCoverageOperationNV(GLenum operation);
191 void glGetDriverControlsQCOM(GLint* num, GLsizei size, GLuint* driverControls);
192 void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, GLchar* driverControlString);
193 void glEnableDriverControlQCOM(GLuint driverControl);
194 void glDisableDriverControlQCOM(GLuint driverControl);
195 void glExtGetTexturesQCOM(GLuint* textures, GLint maxTextures, GLint* numTextures);
196 void glExtGetBuffersQCOM(GLuint* buffers, GLint maxBuffers, GLint* numBuffers);
197 void glExtGetRenderbuffersQCOM(GLuint* renderbuffers, GLint maxRenderbuffers, GLint* numRenderbuffers);
198 void glExtGetFramebuffersQCOM(GLuint* framebuffers, GLint maxFramebuffers, GLint* numFramebuffers);
199 void glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint* params);
200 void glExtTexObjectStateOverrideiQCOM(GLenum target, GLenum pname, GLint param);
201 void glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* texels);
202 void glExtGetBufferPointervQCOM(GLenum target, GLvoidptr* params);
203 void glExtGetShadersQCOM(GLuint* shaders, GLint maxShaders, GLint* numShaders);
204 void glExtGetProgramsQCOM(GLuint* programs, GLint maxPrograms, GLint* numPrograms);
205 GLboolean glExtIsProgramBinaryQCOM(GLuint program);
206 void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar* source, GLint* length);
207 void glStartTilingQCOM(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
208 void glEndTilingQCOM(GLbitfield preserveMask);
209 void glVertexAttribPointerData(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, void* data, GLuint datalen);
210 void glVertexAttribPointerOffset(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint offset);
211 void glDrawElementsOffset(GLenum mode, GLsizei count, GLenum type, GLuint offset);
212 void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen);
213 void glGetCompressedTextureFormats(int count, GLint* formats);
214 void glShaderString(GLuint shader, const GLchar* string, GLsizei len);
215 int glFinishRoundTrip();
216 void glGenVertexArrays(GLsizei n, GLuint* arrays);
217 void glBindVertexArray(GLuint array);
218 void glDeleteVertexArrays(GLsizei n, const GLuint* arrays);
219 GLboolean glIsVertexArray(GLuint array);
220 void* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
221 GLboolean glUnmapBuffer(GLenum target);
222 void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length);
223 void glMapBufferRangeAEMU(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access, void* mapped);
224 void glUnmapBufferAEMU(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access, void* guest_buffer, GLboolean* out_res);
225 void glFlushMappedBufferRangeAEMU(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access, void* guest_buffer);
226 void glReadPixelsOffsetAEMU(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLuint offset);
227 void glCompressedTexImage2DOffsetAEMU(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLuint offset);
228 void glCompressedTexSubImage2DOffsetAEMU(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLuint offset);
229 void glTexImage2DOffsetAEMU(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLuint offset);
230 void glTexSubImage2DOffsetAEMU(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLuint offset);
231 void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
232 void glBindBufferBase(GLenum target, GLuint index, GLuint buffer);
233 void glCopyBufferSubData(GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size);
234 void glClearBufferiv(GLenum buffer, GLint drawBuffer, const GLint* value);
235 void glClearBufferuiv(GLenum buffer, GLint drawBuffer, const GLuint* value);
236 void glClearBufferfv(GLenum buffer, GLint drawBuffer, const GLfloat* value);
237 void glClearBufferfi(GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil);
238 void glGetBufferParameteri64v(GLenum target, GLenum value, GLint64* data);
239 void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid** params);
240 void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
241 GLuint glGetUniformBlockIndex(GLuint program, const GLchar* uniformBlockName);
242 void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices);
243 void glGetUniformIndicesAEMU(GLuint program, GLsizei uniformCount, const GLchar* packedUniformNames, GLsizei packedLen, GLuint* uniformIndices);
244 void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params);
245 void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName);
246 void glUniform1ui(GLint location, GLuint v0);
247 void glUniform2ui(GLint location, GLuint v0, GLuint v1);
248 void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
249 void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
250 void glUniform1uiv(GLint location, GLsizei count, const GLuint* value);
251 void glUniform2uiv(GLint location, GLsizei count, const GLuint* value);
252 void glUniform3uiv(GLint location, GLsizei count, const GLuint* value);
253 void glUniform4uiv(GLint location, GLsizei count, const GLuint* value);
254 void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
255 void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
256 void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
257 void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
258 void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
259 void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
260 void glGetUniformuiv(GLuint program, GLint location, GLuint* params);
261 void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params);
262 void glVertexAttribI4i(GLuint index, GLint v0, GLint v1, GLint v2, GLint v3);
263 void glVertexAttribI4ui(GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
264 void glVertexAttribI4iv(GLuint index, const GLint* v);
265 void glVertexAttribI4uiv(GLuint index, const GLuint* v);
266 void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
267 void glVertexAttribIPointerOffsetAEMU(GLuint index, GLint size, GLenum type, GLsizei stride, GLuint offset);
268 void glVertexAttribIPointerDataAEMU(GLuint index, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen);
269 void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint* params);
270 void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params);
271 void glVertexAttribDivisor(GLuint index, GLuint divisor);
272 void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount);
273 void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount);
274 void glDrawElementsInstancedDataAEMU(GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLsizei datalen);
275 void glDrawElementsInstancedOffsetAEMU(GLenum mode, GLsizei count, GLenum type, GLuint offset, GLsizei primcount);
276 void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices);
277 void glDrawRangeElementsDataAEMU(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices, GLsizei datalen);
278 void glDrawRangeElementsOffsetAEMU(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLuint offset);
279 GLsync glFenceSync(GLenum condition, GLbitfield flags);
280 GLenum glClientWaitSync(GLsync wait_on, GLbitfield flags, GLuint64 timeout);
281 void glWaitSync(GLsync wait_on, GLbitfield flags, GLuint64 timeout);
282 void glDeleteSync(GLsync to_delete);
283 GLboolean glIsSync(GLsync sync);
284 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values);
285 uint64_t glFenceSyncAEMU(GLenum condition, GLbitfield flags);
286 GLenum glClientWaitSyncAEMU(uint64_t wait_on, GLbitfield flags, GLuint64 timeout);
287 void glWaitSyncAEMU(uint64_t wait_on, GLbitfield flags, GLuint64 timeout);
288 void glDeleteSyncAEMU(uint64_t to_delete);
289 GLboolean glIsSyncAEMU(uint64_t sync);
290 void glGetSyncivAEMU(uint64_t sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values);
291 void glDrawBuffers(GLsizei n, const GLenum* bufs);
292 void glReadBuffer(GLenum src);
293 void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
294 void glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments);
295 void glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height);
296 void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
297 void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
298 void glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
299 void glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params);
300 void glBeginTransformFeedback(GLenum primitiveMode);
301 void glEndTransformFeedback();
302 void glGenTransformFeedbacks(GLsizei n, GLuint* ids);
303 void glDeleteTransformFeedbacks(GLsizei n, const GLuint* ids);
304 void glBindTransformFeedback(GLenum target, GLuint id);
305 void glPauseTransformFeedback();
306 void glResumeTransformFeedback();
307 GLboolean glIsTransformFeedback(GLuint id);
308 void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode);
309 void glTransformFeedbackVaryingsAEMU(GLuint program, GLsizei count, const char* packedVaryings, GLuint packedVaryingsLen, GLenum bufferMode);
310 void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, char* name);
311 void glGenSamplers(GLsizei n, GLuint* samplers);
312 void glDeleteSamplers(GLsizei n, const GLuint* samplers);
313 void glBindSampler(GLuint unit, GLuint sampler);
314 void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
315 void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
316 void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* params);
317 void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* params);
318 void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params);
319 void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params);
320 GLboolean glIsSampler(GLuint sampler);
321 void glGenQueries(GLsizei n, GLuint* queries);
322 void glDeleteQueries(GLsizei n, const GLuint* queries);
323 void glBeginQuery(GLenum target, GLuint query);
324 void glEndQuery(GLenum target);
325 void glGetQueryiv(GLenum target, GLenum pname, GLint* params);
326 void glGetQueryObjectuiv(GLuint query, GLenum pname, GLuint* params);
327 GLboolean glIsQuery(GLuint query);
328 void glProgramParameteri(GLuint program, GLenum pname, GLint value);
329 void glProgramBinary(GLuint program, GLenum binaryFormat, const void* binary, GLsizei length);
330 void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, void* binary);
331 GLint glGetFragDataLocation(GLuint program, const char* name);
332 void glGetInteger64v(GLenum pname, GLint64* data);
333 void glGetIntegeri_v(GLenum target, GLuint index, GLint* data);
334 void glGetInteger64i_v(GLenum target, GLuint index, GLint64* data);
335 void glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* data);
336 void glTexImage3DOffsetAEMU(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLuint offset);
337 void glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
338 void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* data);
339 void glTexSubImage3DOffsetAEMU(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLuint offset);
340 void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
341 void glCompressedTexImage3DOffsetAEMU(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLuint offset);
342 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);
343 void glCompressedTexSubImage3DOffsetAEMU(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLuint data);
344 void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
345 const GLubyte* glGetStringi(GLenum name, GLuint index);
346 void glGetBooleani_v(GLenum target, GLuint index, GLboolean* data);
347 void glMemoryBarrier(GLbitfield barriers);
348 void glMemoryBarrierByRegion(GLbitfield barriers);
349 void glGenProgramPipelines(GLsizei n, GLuint* pipelines);
350 void glDeleteProgramPipelines(GLsizei n, const GLuint* pipelines);
351 void glBindProgramPipeline(GLuint pipeline);
352 void glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint* params);
353 void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
354 void glValidateProgramPipeline(GLuint pipeline);
355 GLboolean glIsProgramPipeline(GLuint pipeline);
356 void glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program);
357 void glActiveShaderProgram(GLuint pipeline, GLuint program);
358 GLuint glCreateShaderProgramv(GLenum type, GLsizei count, const char** strings);
359 GLuint glCreateShaderProgramvAEMU(GLenum type, GLsizei count, const char* packedStrings, GLuint packedLen);
360 void glProgramUniform1f(GLuint program, GLint location, GLfloat v0);
361 void glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1);
362 void glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
363 void glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
364 void glProgramUniform1i(GLuint program, GLint location, GLint v0);
365 void glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1);
366 void glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
367 void glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
368 void glProgramUniform1ui(GLuint program, GLint location, GLuint v0);
369 void glProgramUniform2ui(GLuint program, GLint location, GLint v0, GLuint v1);
370 void glProgramUniform3ui(GLuint program, GLint location, GLint v0, GLint v1, GLuint v2);
371 void glProgramUniform4ui(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLuint v3);
372 void glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat* value);
373 void glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat* value);
374 void glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat* value);
375 void glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat* value);
376 void glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint* value);
377 void glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint* value);
378 void glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint* value);
379 void glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint* value);
380 void glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint* value);
381 void glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint* value);
382 void glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint* value);
383 void glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint* value);
384 void glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
385 void glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
386 void glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
387 void glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
388 void glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
389 void glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
390 void glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
391 void glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
392 void glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
393 void glGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pname, GLint* params);
394 void glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum* props, GLsizei bufSize, GLsizei* length, GLint* params);
395 GLuint glGetProgramResourceIndex(GLuint program, GLenum programInterface, const char* name);
396 GLint glGetProgramResourceLocation(GLuint program, GLenum programInterface, const char* name);
397 void glGetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei* length, char* name);
398 void glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
399 void glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
400 void glDispatchComputeIndirect(GLintptr indirect);
401 void glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLintptr stride);
402 void glVertexAttribBinding(GLuint attribindex, GLuint bindingindex);
403 void glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
404 void glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
405 void glVertexBindingDivisor(GLuint bindingindex, GLuint divisor);
406 void glDrawArraysIndirect(GLenum mode, const void* indirect);
407 void glDrawArraysIndirectDataAEMU(GLenum mode, const void* indirect, GLuint datalen);
408 void glDrawArraysIndirectOffsetAEMU(GLenum mode, GLuint offset);
409 void glDrawElementsIndirect(GLenum mode, GLenum type, const void* indirect);
410 void glDrawElementsIndirectDataAEMU(GLenum mode, GLenum type, const void* indirect, GLuint datalen);
411 void glDrawElementsIndirectOffsetAEMU(GLenum mode, GLenum type, GLuint offset);
412 void glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
413 void glSampleMaski(GLuint maskNumber, GLbitfield mask);
414 void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat* val);
415 void glFramebufferParameteri(GLenum target, GLenum pname, GLint param);
416 void glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint* params);
417 void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat* params);
418 void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint* params);
419 };
420
421 #ifndef GET_CONTEXT
422 static gles3_wrapper_context_t::CONTEXT_ACCESSOR_TYPE *getCurrentContext = NULL;
setContextAccessor(CONTEXT_ACCESSOR_TYPE * f)423 void gles3_wrapper_context_t::setContextAccessor(CONTEXT_ACCESSOR_TYPE *f) { getCurrentContext = f; }
424 #define GET_CONTEXT gles3_wrapper_context_t * ctx = getCurrentContext()
425 #endif
426
glActiveTexture(GLenum texture)427 void glActiveTexture(GLenum texture)
428 {
429 GET_CONTEXT;
430 ctx->glActiveTexture( texture);
431 }
432
glAttachShader(GLuint program,GLuint shader)433 void glAttachShader(GLuint program, GLuint shader)
434 {
435 GET_CONTEXT;
436 ctx->glAttachShader( program, shader);
437 }
438
glBindAttribLocation(GLuint program,GLuint index,const GLchar * name)439 void glBindAttribLocation(GLuint program, GLuint index, const GLchar* name)
440 {
441 GET_CONTEXT;
442 ctx->glBindAttribLocation( program, index, name);
443 }
444
glBindBuffer(GLenum target,GLuint buffer)445 void glBindBuffer(GLenum target, GLuint buffer)
446 {
447 GET_CONTEXT;
448 ctx->glBindBuffer( target, buffer);
449 }
450
glBindFramebuffer(GLenum target,GLuint framebuffer)451 void glBindFramebuffer(GLenum target, GLuint framebuffer)
452 {
453 GET_CONTEXT;
454 ctx->glBindFramebuffer( target, framebuffer);
455 }
456
glBindRenderbuffer(GLenum target,GLuint renderbuffer)457 void glBindRenderbuffer(GLenum target, GLuint renderbuffer)
458 {
459 GET_CONTEXT;
460 ctx->glBindRenderbuffer( target, renderbuffer);
461 }
462
glBindTexture(GLenum target,GLuint texture)463 void glBindTexture(GLenum target, GLuint texture)
464 {
465 GET_CONTEXT;
466 ctx->glBindTexture( target, texture);
467 }
468
glBlendColor(GLclampf red,GLclampf green,GLclampf blue,GLclampf alpha)469 void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
470 {
471 GET_CONTEXT;
472 ctx->glBlendColor( red, green, blue, alpha);
473 }
474
glBlendEquation(GLenum mode)475 void glBlendEquation(GLenum mode)
476 {
477 GET_CONTEXT;
478 ctx->glBlendEquation( mode);
479 }
480
glBlendEquationSeparate(GLenum modeRGB,GLenum modeAlpha)481 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
482 {
483 GET_CONTEXT;
484 ctx->glBlendEquationSeparate( modeRGB, modeAlpha);
485 }
486
glBlendFunc(GLenum sfactor,GLenum dfactor)487 void glBlendFunc(GLenum sfactor, GLenum dfactor)
488 {
489 GET_CONTEXT;
490 ctx->glBlendFunc( sfactor, dfactor);
491 }
492
glBlendFuncSeparate(GLenum srcRGB,GLenum dstRGB,GLenum srcAlpha,GLenum dstAlpha)493 void glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
494 {
495 GET_CONTEXT;
496 ctx->glBlendFuncSeparate( srcRGB, dstRGB, srcAlpha, dstAlpha);
497 }
498
glBufferData(GLenum target,GLsizeiptr size,const GLvoid * data,GLenum usage)499 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage)
500 {
501 GET_CONTEXT;
502 ctx->glBufferData( target, size, data, usage);
503 }
504
glBufferSubData(GLenum target,GLintptr offset,GLsizeiptr size,const GLvoid * data)505 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data)
506 {
507 GET_CONTEXT;
508 ctx->glBufferSubData( target, offset, size, data);
509 }
510
glCheckFramebufferStatus(GLenum target)511 GLenum glCheckFramebufferStatus(GLenum target)
512 {
513 GET_CONTEXT;
514 return ctx->glCheckFramebufferStatus( target);
515 }
516
glClear(GLbitfield mask)517 void glClear(GLbitfield mask)
518 {
519 GET_CONTEXT;
520 ctx->glClear( mask);
521 }
522
glClearColor(GLclampf red,GLclampf green,GLclampf blue,GLclampf alpha)523 void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
524 {
525 GET_CONTEXT;
526 ctx->glClearColor( red, green, blue, alpha);
527 }
528
glClearDepthf(GLclampf depth)529 void glClearDepthf(GLclampf depth)
530 {
531 GET_CONTEXT;
532 ctx->glClearDepthf( depth);
533 }
534
glClearStencil(GLint s)535 void glClearStencil(GLint s)
536 {
537 GET_CONTEXT;
538 ctx->glClearStencil( s);
539 }
540
glColorMask(GLboolean red,GLboolean green,GLboolean blue,GLboolean alpha)541 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
542 {
543 GET_CONTEXT;
544 ctx->glColorMask( red, green, blue, alpha);
545 }
546
glCompileShader(GLuint shader)547 void glCompileShader(GLuint shader)
548 {
549 GET_CONTEXT;
550 ctx->glCompileShader( shader);
551 }
552
glCompressedTexImage2D(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLsizei height,GLint border,GLsizei imageSize,const GLvoid * data)553 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data)
554 {
555 GET_CONTEXT;
556 ctx->glCompressedTexImage2D( target, level, internalformat, width, height, border, imageSize, data);
557 }
558
glCompressedTexSubImage2D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLsizei imageSize,const GLvoid * data)559 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data)
560 {
561 GET_CONTEXT;
562 ctx->glCompressedTexSubImage2D( target, level, xoffset, yoffset, width, height, format, imageSize, data);
563 }
564
glCopyTexImage2D(GLenum target,GLint level,GLenum internalformat,GLint x,GLint y,GLsizei width,GLsizei height,GLint border)565 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
566 {
567 GET_CONTEXT;
568 ctx->glCopyTexImage2D( target, level, internalformat, x, y, width, height, border);
569 }
570
glCopyTexSubImage2D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint x,GLint y,GLsizei width,GLsizei height)571 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
572 {
573 GET_CONTEXT;
574 ctx->glCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height);
575 }
576
glCreateProgram()577 GLuint glCreateProgram()
578 {
579 GET_CONTEXT;
580 return ctx->glCreateProgram();
581 }
582
glCreateShader(GLenum type)583 GLuint glCreateShader(GLenum type)
584 {
585 GET_CONTEXT;
586 return ctx->glCreateShader( type);
587 }
588
glCullFace(GLenum mode)589 void glCullFace(GLenum mode)
590 {
591 GET_CONTEXT;
592 ctx->glCullFace( mode);
593 }
594
glDeleteBuffers(GLsizei n,const GLuint * buffers)595 void glDeleteBuffers(GLsizei n, const GLuint* buffers)
596 {
597 GET_CONTEXT;
598 ctx->glDeleteBuffers( n, buffers);
599 }
600
glDeleteFramebuffers(GLsizei n,const GLuint * framebuffers)601 void glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers)
602 {
603 GET_CONTEXT;
604 ctx->glDeleteFramebuffers( n, framebuffers);
605 }
606
glDeleteProgram(GLuint program)607 void glDeleteProgram(GLuint program)
608 {
609 GET_CONTEXT;
610 ctx->glDeleteProgram( program);
611 }
612
glDeleteRenderbuffers(GLsizei n,const GLuint * renderbuffers)613 void glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers)
614 {
615 GET_CONTEXT;
616 ctx->glDeleteRenderbuffers( n, renderbuffers);
617 }
618
glDeleteShader(GLuint shader)619 void glDeleteShader(GLuint shader)
620 {
621 GET_CONTEXT;
622 ctx->glDeleteShader( shader);
623 }
624
glDeleteTextures(GLsizei n,const GLuint * textures)625 void glDeleteTextures(GLsizei n, const GLuint* textures)
626 {
627 GET_CONTEXT;
628 ctx->glDeleteTextures( n, textures);
629 }
630
glDepthFunc(GLenum func)631 void glDepthFunc(GLenum func)
632 {
633 GET_CONTEXT;
634 ctx->glDepthFunc( func);
635 }
636
glDepthMask(GLboolean flag)637 void glDepthMask(GLboolean flag)
638 {
639 GET_CONTEXT;
640 ctx->glDepthMask( flag);
641 }
642
glDepthRangef(GLclampf zNear,GLclampf zFar)643 void glDepthRangef(GLclampf zNear, GLclampf zFar)
644 {
645 GET_CONTEXT;
646 ctx->glDepthRangef( zNear, zFar);
647 }
648
glDetachShader(GLuint program,GLuint shader)649 void glDetachShader(GLuint program, GLuint shader)
650 {
651 GET_CONTEXT;
652 ctx->glDetachShader( program, shader);
653 }
654
glDisable(GLenum cap)655 void glDisable(GLenum cap)
656 {
657 GET_CONTEXT;
658 ctx->glDisable( cap);
659 }
660
glDisableVertexAttribArray(GLuint index)661 void glDisableVertexAttribArray(GLuint index)
662 {
663 GET_CONTEXT;
664 ctx->glDisableVertexAttribArray( index);
665 }
666
glDrawArrays(GLenum mode,GLint first,GLsizei count)667 void glDrawArrays(GLenum mode, GLint first, GLsizei count)
668 {
669 GET_CONTEXT;
670 ctx->glDrawArrays( mode, first, count);
671 }
672
glDrawElements(GLenum mode,GLsizei count,GLenum type,const GLvoid * indices)673 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices)
674 {
675 GET_CONTEXT;
676 ctx->glDrawElements( mode, count, type, indices);
677 }
678
glEnable(GLenum cap)679 void glEnable(GLenum cap)
680 {
681 GET_CONTEXT;
682 ctx->glEnable( cap);
683 }
684
glEnableVertexAttribArray(GLuint index)685 void glEnableVertexAttribArray(GLuint index)
686 {
687 GET_CONTEXT;
688 ctx->glEnableVertexAttribArray( index);
689 }
690
glFinish()691 void glFinish()
692 {
693 GET_CONTEXT;
694 ctx->glFinish();
695 }
696
glFlush()697 void glFlush()
698 {
699 GET_CONTEXT;
700 ctx->glFlush();
701 }
702
glFramebufferRenderbuffer(GLenum target,GLenum attachment,GLenum renderbuffertarget,GLuint renderbuffer)703 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
704 {
705 GET_CONTEXT;
706 ctx->glFramebufferRenderbuffer( target, attachment, renderbuffertarget, renderbuffer);
707 }
708
glFramebufferTexture2D(GLenum target,GLenum attachment,GLenum textarget,GLuint texture,GLint level)709 void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
710 {
711 GET_CONTEXT;
712 ctx->glFramebufferTexture2D( target, attachment, textarget, texture, level);
713 }
714
glFrontFace(GLenum mode)715 void glFrontFace(GLenum mode)
716 {
717 GET_CONTEXT;
718 ctx->glFrontFace( mode);
719 }
720
glGenBuffers(GLsizei n,GLuint * buffers)721 void glGenBuffers(GLsizei n, GLuint* buffers)
722 {
723 GET_CONTEXT;
724 ctx->glGenBuffers( n, buffers);
725 }
726
glGenerateMipmap(GLenum target)727 void glGenerateMipmap(GLenum target)
728 {
729 GET_CONTEXT;
730 ctx->glGenerateMipmap( target);
731 }
732
glGenFramebuffers(GLsizei n,GLuint * framebuffers)733 void glGenFramebuffers(GLsizei n, GLuint* framebuffers)
734 {
735 GET_CONTEXT;
736 ctx->glGenFramebuffers( n, framebuffers);
737 }
738
glGenRenderbuffers(GLsizei n,GLuint * renderbuffers)739 void glGenRenderbuffers(GLsizei n, GLuint* renderbuffers)
740 {
741 GET_CONTEXT;
742 ctx->glGenRenderbuffers( n, renderbuffers);
743 }
744
glGenTextures(GLsizei n,GLuint * textures)745 void glGenTextures(GLsizei n, GLuint* textures)
746 {
747 GET_CONTEXT;
748 ctx->glGenTextures( n, textures);
749 }
750
glGetActiveAttrib(GLuint program,GLuint index,GLsizei bufsize,GLsizei * length,GLint * size,GLenum * type,GLchar * name)751 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name)
752 {
753 GET_CONTEXT;
754 ctx->glGetActiveAttrib( program, index, bufsize, length, size, type, name);
755 }
756
glGetActiveUniform(GLuint program,GLuint index,GLsizei bufsize,GLsizei * length,GLint * size,GLenum * type,GLchar * name)757 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name)
758 {
759 GET_CONTEXT;
760 ctx->glGetActiveUniform( program, index, bufsize, length, size, type, name);
761 }
762
glGetAttachedShaders(GLuint program,GLsizei maxcount,GLsizei * count,GLuint * shaders)763 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders)
764 {
765 GET_CONTEXT;
766 ctx->glGetAttachedShaders( program, maxcount, count, shaders);
767 }
768
glGetAttribLocation(GLuint program,const GLchar * name)769 int glGetAttribLocation(GLuint program, const GLchar* name)
770 {
771 GET_CONTEXT;
772 return ctx->glGetAttribLocation( program, name);
773 }
774
glGetBooleanv(GLenum pname,GLboolean * params)775 void glGetBooleanv(GLenum pname, GLboolean* params)
776 {
777 GET_CONTEXT;
778 ctx->glGetBooleanv( pname, params);
779 }
780
glGetBufferParameteriv(GLenum target,GLenum pname,GLint * params)781 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params)
782 {
783 GET_CONTEXT;
784 ctx->glGetBufferParameteriv( target, pname, params);
785 }
786
glGetError()787 GLenum glGetError()
788 {
789 GET_CONTEXT;
790 return ctx->glGetError();
791 }
792
glGetFloatv(GLenum pname,GLfloat * params)793 void glGetFloatv(GLenum pname, GLfloat* params)
794 {
795 GET_CONTEXT;
796 ctx->glGetFloatv( pname, params);
797 }
798
glGetFramebufferAttachmentParameteriv(GLenum target,GLenum attachment,GLenum pname,GLint * params)799 void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params)
800 {
801 GET_CONTEXT;
802 ctx->glGetFramebufferAttachmentParameteriv( target, attachment, pname, params);
803 }
804
glGetIntegerv(GLenum pname,GLint * params)805 void glGetIntegerv(GLenum pname, GLint* params)
806 {
807 GET_CONTEXT;
808 ctx->glGetIntegerv( pname, params);
809 }
810
glGetProgramiv(GLuint program,GLenum pname,GLint * params)811 void glGetProgramiv(GLuint program, GLenum pname, GLint* params)
812 {
813 GET_CONTEXT;
814 ctx->glGetProgramiv( program, pname, params);
815 }
816
glGetProgramInfoLog(GLuint program,GLsizei bufsize,GLsizei * length,GLchar * infolog)817 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog)
818 {
819 GET_CONTEXT;
820 ctx->glGetProgramInfoLog( program, bufsize, length, infolog);
821 }
822
glGetRenderbufferParameteriv(GLenum target,GLenum pname,GLint * params)823 void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params)
824 {
825 GET_CONTEXT;
826 ctx->glGetRenderbufferParameteriv( target, pname, params);
827 }
828
glGetShaderiv(GLuint shader,GLenum pname,GLint * params)829 void glGetShaderiv(GLuint shader, GLenum pname, GLint* params)
830 {
831 GET_CONTEXT;
832 ctx->glGetShaderiv( shader, pname, params);
833 }
834
glGetShaderInfoLog(GLuint shader,GLsizei bufsize,GLsizei * length,GLchar * infolog)835 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog)
836 {
837 GET_CONTEXT;
838 ctx->glGetShaderInfoLog( shader, bufsize, length, infolog);
839 }
840
glGetShaderPrecisionFormat(GLenum shadertype,GLenum precisiontype,GLint * range,GLint * precision)841 void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision)
842 {
843 GET_CONTEXT;
844 ctx->glGetShaderPrecisionFormat( shadertype, precisiontype, range, precision);
845 }
846
glGetShaderSource(GLuint shader,GLsizei bufsize,GLsizei * length,GLchar * source)847 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source)
848 {
849 GET_CONTEXT;
850 ctx->glGetShaderSource( shader, bufsize, length, source);
851 }
852
glGetString(GLenum name)853 const GLubyte* glGetString(GLenum name)
854 {
855 GET_CONTEXT;
856 return ctx->glGetString( name);
857 }
858
glGetTexParameterfv(GLenum target,GLenum pname,GLfloat * params)859 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params)
860 {
861 GET_CONTEXT;
862 ctx->glGetTexParameterfv( target, pname, params);
863 }
864
glGetTexParameteriv(GLenum target,GLenum pname,GLint * params)865 void glGetTexParameteriv(GLenum target, GLenum pname, GLint* params)
866 {
867 GET_CONTEXT;
868 ctx->glGetTexParameteriv( target, pname, params);
869 }
870
glGetUniformfv(GLuint program,GLint location,GLfloat * params)871 void glGetUniformfv(GLuint program, GLint location, GLfloat* params)
872 {
873 GET_CONTEXT;
874 ctx->glGetUniformfv( program, location, params);
875 }
876
glGetUniformiv(GLuint program,GLint location,GLint * params)877 void glGetUniformiv(GLuint program, GLint location, GLint* params)
878 {
879 GET_CONTEXT;
880 ctx->glGetUniformiv( program, location, params);
881 }
882
glGetUniformLocation(GLuint program,const GLchar * name)883 int glGetUniformLocation(GLuint program, const GLchar* name)
884 {
885 GET_CONTEXT;
886 return ctx->glGetUniformLocation( program, name);
887 }
888
glGetVertexAttribfv(GLuint index,GLenum pname,GLfloat * params)889 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params)
890 {
891 GET_CONTEXT;
892 ctx->glGetVertexAttribfv( index, pname, params);
893 }
894
glGetVertexAttribiv(GLuint index,GLenum pname,GLint * params)895 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params)
896 {
897 GET_CONTEXT;
898 ctx->glGetVertexAttribiv( index, pname, params);
899 }
900
glGetVertexAttribPointerv(GLuint index,GLenum pname,GLvoid ** pointer)901 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid** pointer)
902 {
903 GET_CONTEXT;
904 ctx->glGetVertexAttribPointerv( index, pname, pointer);
905 }
906
glHint(GLenum target,GLenum mode)907 void glHint(GLenum target, GLenum mode)
908 {
909 GET_CONTEXT;
910 ctx->glHint( target, mode);
911 }
912
glIsBuffer(GLuint buffer)913 GLboolean glIsBuffer(GLuint buffer)
914 {
915 GET_CONTEXT;
916 return ctx->glIsBuffer( buffer);
917 }
918
glIsEnabled(GLenum cap)919 GLboolean glIsEnabled(GLenum cap)
920 {
921 GET_CONTEXT;
922 return ctx->glIsEnabled( cap);
923 }
924
glIsFramebuffer(GLuint framebuffer)925 GLboolean glIsFramebuffer(GLuint framebuffer)
926 {
927 GET_CONTEXT;
928 return ctx->glIsFramebuffer( framebuffer);
929 }
930
glIsProgram(GLuint program)931 GLboolean glIsProgram(GLuint program)
932 {
933 GET_CONTEXT;
934 return ctx->glIsProgram( program);
935 }
936
glIsRenderbuffer(GLuint renderbuffer)937 GLboolean glIsRenderbuffer(GLuint renderbuffer)
938 {
939 GET_CONTEXT;
940 return ctx->glIsRenderbuffer( renderbuffer);
941 }
942
glIsShader(GLuint shader)943 GLboolean glIsShader(GLuint shader)
944 {
945 GET_CONTEXT;
946 return ctx->glIsShader( shader);
947 }
948
glIsTexture(GLuint texture)949 GLboolean glIsTexture(GLuint texture)
950 {
951 GET_CONTEXT;
952 return ctx->glIsTexture( texture);
953 }
954
glLineWidth(GLfloat width)955 void glLineWidth(GLfloat width)
956 {
957 GET_CONTEXT;
958 ctx->glLineWidth( width);
959 }
960
glLinkProgram(GLuint program)961 void glLinkProgram(GLuint program)
962 {
963 GET_CONTEXT;
964 ctx->glLinkProgram( program);
965 }
966
glPixelStorei(GLenum pname,GLint param)967 void glPixelStorei(GLenum pname, GLint param)
968 {
969 GET_CONTEXT;
970 ctx->glPixelStorei( pname, param);
971 }
972
glPolygonOffset(GLfloat factor,GLfloat units)973 void glPolygonOffset(GLfloat factor, GLfloat units)
974 {
975 GET_CONTEXT;
976 ctx->glPolygonOffset( factor, units);
977 }
978
glReadPixels(GLint x,GLint y,GLsizei width,GLsizei height,GLenum format,GLenum type,GLvoid * pixels)979 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels)
980 {
981 GET_CONTEXT;
982 ctx->glReadPixels( x, y, width, height, format, type, pixels);
983 }
984
glReleaseShaderCompiler()985 void glReleaseShaderCompiler()
986 {
987 GET_CONTEXT;
988 ctx->glReleaseShaderCompiler();
989 }
990
glRenderbufferStorage(GLenum target,GLenum internalformat,GLsizei width,GLsizei height)991 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
992 {
993 GET_CONTEXT;
994 ctx->glRenderbufferStorage( target, internalformat, width, height);
995 }
996
glSampleCoverage(GLclampf value,GLboolean invert)997 void glSampleCoverage(GLclampf value, GLboolean invert)
998 {
999 GET_CONTEXT;
1000 ctx->glSampleCoverage( value, invert);
1001 }
1002
glScissor(GLint x,GLint y,GLsizei width,GLsizei height)1003 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
1004 {
1005 GET_CONTEXT;
1006 ctx->glScissor( x, y, width, height);
1007 }
1008
glShaderBinary(GLsizei n,const GLuint * shaders,GLenum binaryformat,const GLvoid * binary,GLsizei length)1009 void glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length)
1010 {
1011 GET_CONTEXT;
1012 ctx->glShaderBinary( n, shaders, binaryformat, binary, length);
1013 }
1014
glShaderSource(GLuint shader,GLsizei count,const GLchar * const * string,const GLint * length)1015 void glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length)
1016 {
1017 GET_CONTEXT;
1018 ctx->glShaderSource( shader, count, string, length);
1019 }
1020
glStencilFunc(GLenum func,GLint ref,GLuint mask)1021 void glStencilFunc(GLenum func, GLint ref, GLuint mask)
1022 {
1023 GET_CONTEXT;
1024 ctx->glStencilFunc( func, ref, mask);
1025 }
1026
glStencilFuncSeparate(GLenum face,GLenum func,GLint ref,GLuint mask)1027 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
1028 {
1029 GET_CONTEXT;
1030 ctx->glStencilFuncSeparate( face, func, ref, mask);
1031 }
1032
glStencilMask(GLuint mask)1033 void glStencilMask(GLuint mask)
1034 {
1035 GET_CONTEXT;
1036 ctx->glStencilMask( mask);
1037 }
1038
glStencilMaskSeparate(GLenum face,GLuint mask)1039 void glStencilMaskSeparate(GLenum face, GLuint mask)
1040 {
1041 GET_CONTEXT;
1042 ctx->glStencilMaskSeparate( face, mask);
1043 }
1044
glStencilOp(GLenum fail,GLenum zfail,GLenum zpass)1045 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
1046 {
1047 GET_CONTEXT;
1048 ctx->glStencilOp( fail, zfail, zpass);
1049 }
1050
glStencilOpSeparate(GLenum face,GLenum fail,GLenum zfail,GLenum zpass)1051 void glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
1052 {
1053 GET_CONTEXT;
1054 ctx->glStencilOpSeparate( face, fail, zfail, zpass);
1055 }
1056
glTexImage2D(GLenum target,GLint level,GLint internalformat,GLsizei width,GLsizei height,GLint border,GLenum format,GLenum type,const GLvoid * pixels)1057 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels)
1058 {
1059 GET_CONTEXT;
1060 ctx->glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels);
1061 }
1062
glTexParameterf(GLenum target,GLenum pname,GLfloat param)1063 void glTexParameterf(GLenum target, GLenum pname, GLfloat param)
1064 {
1065 GET_CONTEXT;
1066 ctx->glTexParameterf( target, pname, param);
1067 }
1068
glTexParameterfv(GLenum target,GLenum pname,const GLfloat * params)1069 void glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params)
1070 {
1071 GET_CONTEXT;
1072 ctx->glTexParameterfv( target, pname, params);
1073 }
1074
glTexParameteri(GLenum target,GLenum pname,GLint param)1075 void glTexParameteri(GLenum target, GLenum pname, GLint param)
1076 {
1077 GET_CONTEXT;
1078 ctx->glTexParameteri( target, pname, param);
1079 }
1080
glTexParameteriv(GLenum target,GLenum pname,const GLint * params)1081 void glTexParameteriv(GLenum target, GLenum pname, const GLint* params)
1082 {
1083 GET_CONTEXT;
1084 ctx->glTexParameteriv( target, pname, params);
1085 }
1086
glTexSubImage2D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLenum type,const GLvoid * pixels)1087 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels)
1088 {
1089 GET_CONTEXT;
1090 ctx->glTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels);
1091 }
1092
glUniform1f(GLint location,GLfloat x)1093 void glUniform1f(GLint location, GLfloat x)
1094 {
1095 GET_CONTEXT;
1096 ctx->glUniform1f( location, x);
1097 }
1098
glUniform1fv(GLint location,GLsizei count,const GLfloat * v)1099 void glUniform1fv(GLint location, GLsizei count, const GLfloat* v)
1100 {
1101 GET_CONTEXT;
1102 ctx->glUniform1fv( location, count, v);
1103 }
1104
glUniform1i(GLint location,GLint x)1105 void glUniform1i(GLint location, GLint x)
1106 {
1107 GET_CONTEXT;
1108 ctx->glUniform1i( location, x);
1109 }
1110
glUniform1iv(GLint location,GLsizei count,const GLint * v)1111 void glUniform1iv(GLint location, GLsizei count, const GLint* v)
1112 {
1113 GET_CONTEXT;
1114 ctx->glUniform1iv( location, count, v);
1115 }
1116
glUniform2f(GLint location,GLfloat x,GLfloat y)1117 void glUniform2f(GLint location, GLfloat x, GLfloat y)
1118 {
1119 GET_CONTEXT;
1120 ctx->glUniform2f( location, x, y);
1121 }
1122
glUniform2fv(GLint location,GLsizei count,const GLfloat * v)1123 void glUniform2fv(GLint location, GLsizei count, const GLfloat* v)
1124 {
1125 GET_CONTEXT;
1126 ctx->glUniform2fv( location, count, v);
1127 }
1128
glUniform2i(GLint location,GLint x,GLint y)1129 void glUniform2i(GLint location, GLint x, GLint y)
1130 {
1131 GET_CONTEXT;
1132 ctx->glUniform2i( location, x, y);
1133 }
1134
glUniform2iv(GLint location,GLsizei count,const GLint * v)1135 void glUniform2iv(GLint location, GLsizei count, const GLint* v)
1136 {
1137 GET_CONTEXT;
1138 ctx->glUniform2iv( location, count, v);
1139 }
1140
glUniform3f(GLint location,GLfloat x,GLfloat y,GLfloat z)1141 void glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z)
1142 {
1143 GET_CONTEXT;
1144 ctx->glUniform3f( location, x, y, z);
1145 }
1146
glUniform3fv(GLint location,GLsizei count,const GLfloat * v)1147 void glUniform3fv(GLint location, GLsizei count, const GLfloat* v)
1148 {
1149 GET_CONTEXT;
1150 ctx->glUniform3fv( location, count, v);
1151 }
1152
glUniform3i(GLint location,GLint x,GLint y,GLint z)1153 void glUniform3i(GLint location, GLint x, GLint y, GLint z)
1154 {
1155 GET_CONTEXT;
1156 ctx->glUniform3i( location, x, y, z);
1157 }
1158
glUniform3iv(GLint location,GLsizei count,const GLint * v)1159 void glUniform3iv(GLint location, GLsizei count, const GLint* v)
1160 {
1161 GET_CONTEXT;
1162 ctx->glUniform3iv( location, count, v);
1163 }
1164
glUniform4f(GLint location,GLfloat x,GLfloat y,GLfloat z,GLfloat w)1165 void glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
1166 {
1167 GET_CONTEXT;
1168 ctx->glUniform4f( location, x, y, z, w);
1169 }
1170
glUniform4fv(GLint location,GLsizei count,const GLfloat * v)1171 void glUniform4fv(GLint location, GLsizei count, const GLfloat* v)
1172 {
1173 GET_CONTEXT;
1174 ctx->glUniform4fv( location, count, v);
1175 }
1176
glUniform4i(GLint location,GLint x,GLint y,GLint z,GLint w)1177 void glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w)
1178 {
1179 GET_CONTEXT;
1180 ctx->glUniform4i( location, x, y, z, w);
1181 }
1182
glUniform4iv(GLint location,GLsizei count,const GLint * v)1183 void glUniform4iv(GLint location, GLsizei count, const GLint* v)
1184 {
1185 GET_CONTEXT;
1186 ctx->glUniform4iv( location, count, v);
1187 }
1188
glUniformMatrix2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1189 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1190 {
1191 GET_CONTEXT;
1192 ctx->glUniformMatrix2fv( location, count, transpose, value);
1193 }
1194
glUniformMatrix3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1195 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1196 {
1197 GET_CONTEXT;
1198 ctx->glUniformMatrix3fv( location, count, transpose, value);
1199 }
1200
glUniformMatrix4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1201 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1202 {
1203 GET_CONTEXT;
1204 ctx->glUniformMatrix4fv( location, count, transpose, value);
1205 }
1206
glUseProgram(GLuint program)1207 void glUseProgram(GLuint program)
1208 {
1209 GET_CONTEXT;
1210 ctx->glUseProgram( program);
1211 }
1212
glValidateProgram(GLuint program)1213 void glValidateProgram(GLuint program)
1214 {
1215 GET_CONTEXT;
1216 ctx->glValidateProgram( program);
1217 }
1218
glVertexAttrib1f(GLuint indx,GLfloat x)1219 void glVertexAttrib1f(GLuint indx, GLfloat x)
1220 {
1221 GET_CONTEXT;
1222 ctx->glVertexAttrib1f( indx, x);
1223 }
1224
glVertexAttrib1fv(GLuint indx,const GLfloat * values)1225 void glVertexAttrib1fv(GLuint indx, const GLfloat* values)
1226 {
1227 GET_CONTEXT;
1228 ctx->glVertexAttrib1fv( indx, values);
1229 }
1230
glVertexAttrib2f(GLuint indx,GLfloat x,GLfloat y)1231 void glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y)
1232 {
1233 GET_CONTEXT;
1234 ctx->glVertexAttrib2f( indx, x, y);
1235 }
1236
glVertexAttrib2fv(GLuint indx,const GLfloat * values)1237 void glVertexAttrib2fv(GLuint indx, const GLfloat* values)
1238 {
1239 GET_CONTEXT;
1240 ctx->glVertexAttrib2fv( indx, values);
1241 }
1242
glVertexAttrib3f(GLuint indx,GLfloat x,GLfloat y,GLfloat z)1243 void glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z)
1244 {
1245 GET_CONTEXT;
1246 ctx->glVertexAttrib3f( indx, x, y, z);
1247 }
1248
glVertexAttrib3fv(GLuint indx,const GLfloat * values)1249 void glVertexAttrib3fv(GLuint indx, const GLfloat* values)
1250 {
1251 GET_CONTEXT;
1252 ctx->glVertexAttrib3fv( indx, values);
1253 }
1254
glVertexAttrib4f(GLuint indx,GLfloat x,GLfloat y,GLfloat z,GLfloat w)1255 void glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
1256 {
1257 GET_CONTEXT;
1258 ctx->glVertexAttrib4f( indx, x, y, z, w);
1259 }
1260
glVertexAttrib4fv(GLuint indx,const GLfloat * values)1261 void glVertexAttrib4fv(GLuint indx, const GLfloat* values)
1262 {
1263 GET_CONTEXT;
1264 ctx->glVertexAttrib4fv( indx, values);
1265 }
1266
glVertexAttribPointer(GLuint indx,GLint size,GLenum type,GLboolean normalized,GLsizei stride,const GLvoid * ptr)1267 void glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr)
1268 {
1269 GET_CONTEXT;
1270 ctx->glVertexAttribPointer( indx, size, type, normalized, stride, ptr);
1271 }
1272
glViewport(GLint x,GLint y,GLsizei width,GLsizei height)1273 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
1274 {
1275 GET_CONTEXT;
1276 ctx->glViewport( x, y, width, height);
1277 }
1278
glEGLImageTargetTexture2DOES(GLenum target,GLeglImageOES image)1279 void glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image)
1280 {
1281 GET_CONTEXT;
1282 ctx->glEGLImageTargetTexture2DOES( target, image);
1283 }
1284
glEGLImageTargetRenderbufferStorageOES(GLenum target,GLeglImageOES image)1285 void glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image)
1286 {
1287 GET_CONTEXT;
1288 ctx->glEGLImageTargetRenderbufferStorageOES( target, image);
1289 }
1290
glGetProgramBinaryOES(GLuint program,GLsizei bufSize,GLsizei * length,GLenum * binaryFormat,GLvoid * binary)1291 void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary)
1292 {
1293 GET_CONTEXT;
1294 ctx->glGetProgramBinaryOES( program, bufSize, length, binaryFormat, binary);
1295 }
1296
glProgramBinaryOES(GLuint program,GLenum binaryFormat,const GLvoid * binary,GLint length)1297 void glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLint length)
1298 {
1299 GET_CONTEXT;
1300 ctx->glProgramBinaryOES( program, binaryFormat, binary, length);
1301 }
1302
glMapBufferOES(GLenum target,GLenum access)1303 void* glMapBufferOES(GLenum target, GLenum access)
1304 {
1305 GET_CONTEXT;
1306 return ctx->glMapBufferOES( target, access);
1307 }
1308
glUnmapBufferOES(GLenum target)1309 GLboolean glUnmapBufferOES(GLenum target)
1310 {
1311 GET_CONTEXT;
1312 return ctx->glUnmapBufferOES( target);
1313 }
1314
glTexImage3DOES(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLenum format,GLenum type,const GLvoid * pixels)1315 void glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels)
1316 {
1317 GET_CONTEXT;
1318 ctx->glTexImage3DOES( target, level, internalformat, width, height, depth, border, format, type, pixels);
1319 }
1320
glTexSubImage3DOES(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const GLvoid * pixels)1321 void glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels)
1322 {
1323 GET_CONTEXT;
1324 ctx->glTexSubImage3DOES( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
1325 }
1326
glCopyTexSubImage3DOES(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height)1327 void glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1328 {
1329 GET_CONTEXT;
1330 ctx->glCopyTexSubImage3DOES( target, level, xoffset, yoffset, zoffset, x, y, width, height);
1331 }
1332
glCompressedTexImage3DOES(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLsizei imageSize,const GLvoid * data)1333 void glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data)
1334 {
1335 GET_CONTEXT;
1336 ctx->glCompressedTexImage3DOES( target, level, internalformat, width, height, depth, border, imageSize, data);
1337 }
1338
glCompressedTexSubImage3DOES(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,const GLvoid * data)1339 void glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data)
1340 {
1341 GET_CONTEXT;
1342 ctx->glCompressedTexSubImage3DOES( target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
1343 }
1344
glFramebufferTexture3DOES(GLenum target,GLenum attachment,GLenum textarget,GLuint texture,GLint level,GLint zoffset)1345 void glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
1346 {
1347 GET_CONTEXT;
1348 ctx->glFramebufferTexture3DOES( target, attachment, textarget, texture, level, zoffset);
1349 }
1350
glBindVertexArrayOES(GLuint array)1351 void glBindVertexArrayOES(GLuint array)
1352 {
1353 GET_CONTEXT;
1354 ctx->glBindVertexArrayOES( array);
1355 }
1356
glDeleteVertexArraysOES(GLsizei n,const GLuint * arrays)1357 void glDeleteVertexArraysOES(GLsizei n, const GLuint* arrays)
1358 {
1359 GET_CONTEXT;
1360 ctx->glDeleteVertexArraysOES( n, arrays);
1361 }
1362
glGenVertexArraysOES(GLsizei n,GLuint * arrays)1363 void glGenVertexArraysOES(GLsizei n, GLuint* arrays)
1364 {
1365 GET_CONTEXT;
1366 ctx->glGenVertexArraysOES( n, arrays);
1367 }
1368
glIsVertexArrayOES(GLuint array)1369 GLboolean glIsVertexArrayOES(GLuint array)
1370 {
1371 GET_CONTEXT;
1372 return ctx->glIsVertexArrayOES( array);
1373 }
1374
glDiscardFramebufferEXT(GLenum target,GLsizei numAttachments,const GLenum * attachments)1375 void glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum* attachments)
1376 {
1377 GET_CONTEXT;
1378 ctx->glDiscardFramebufferEXT( target, numAttachments, attachments);
1379 }
1380
glMultiDrawArraysEXT(GLenum mode,const GLint * first,const GLsizei * count,GLsizei primcount)1381 void glMultiDrawArraysEXT(GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount)
1382 {
1383 GET_CONTEXT;
1384 ctx->glMultiDrawArraysEXT( mode, first, count, primcount);
1385 }
1386
glMultiDrawElementsEXT(GLenum mode,const GLsizei * count,GLenum type,const GLvoid * const * indices,GLsizei primcount)1387 void glMultiDrawElementsEXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcount)
1388 {
1389 GET_CONTEXT;
1390 ctx->glMultiDrawElementsEXT( mode, count, type, indices, primcount);
1391 }
1392
glGetPerfMonitorGroupsAMD(GLint * numGroups,GLsizei groupsSize,GLuint * groups)1393 void glGetPerfMonitorGroupsAMD(GLint* numGroups, GLsizei groupsSize, GLuint* groups)
1394 {
1395 GET_CONTEXT;
1396 ctx->glGetPerfMonitorGroupsAMD( numGroups, groupsSize, groups);
1397 }
1398
glGetPerfMonitorCountersAMD(GLuint group,GLint * numCounters,GLint * maxActiveCounters,GLsizei counterSize,GLuint * counters)1399 void glGetPerfMonitorCountersAMD(GLuint group, GLint* numCounters, GLint* maxActiveCounters, GLsizei counterSize, GLuint* counters)
1400 {
1401 GET_CONTEXT;
1402 ctx->glGetPerfMonitorCountersAMD( group, numCounters, maxActiveCounters, counterSize, counters);
1403 }
1404
glGetPerfMonitorGroupStringAMD(GLuint group,GLsizei bufSize,GLsizei * length,GLchar * groupString)1405 void glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, GLchar* groupString)
1406 {
1407 GET_CONTEXT;
1408 ctx->glGetPerfMonitorGroupStringAMD( group, bufSize, length, groupString);
1409 }
1410
glGetPerfMonitorCounterStringAMD(GLuint group,GLuint counter,GLsizei bufSize,GLsizei * length,GLchar * counterString)1411 void glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, GLchar* counterString)
1412 {
1413 GET_CONTEXT;
1414 ctx->glGetPerfMonitorCounterStringAMD( group, counter, bufSize, length, counterString);
1415 }
1416
glGetPerfMonitorCounterInfoAMD(GLuint group,GLuint counter,GLenum pname,GLvoid * data)1417 void glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid* data)
1418 {
1419 GET_CONTEXT;
1420 ctx->glGetPerfMonitorCounterInfoAMD( group, counter, pname, data);
1421 }
1422
glGenPerfMonitorsAMD(GLsizei n,GLuint * monitors)1423 void glGenPerfMonitorsAMD(GLsizei n, GLuint* monitors)
1424 {
1425 GET_CONTEXT;
1426 ctx->glGenPerfMonitorsAMD( n, monitors);
1427 }
1428
glDeletePerfMonitorsAMD(GLsizei n,GLuint * monitors)1429 void glDeletePerfMonitorsAMD(GLsizei n, GLuint* monitors)
1430 {
1431 GET_CONTEXT;
1432 ctx->glDeletePerfMonitorsAMD( n, monitors);
1433 }
1434
glSelectPerfMonitorCountersAMD(GLuint monitor,GLboolean enable,GLuint group,GLint numCounters,GLuint * countersList)1435 void glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* countersList)
1436 {
1437 GET_CONTEXT;
1438 ctx->glSelectPerfMonitorCountersAMD( monitor, enable, group, numCounters, countersList);
1439 }
1440
glBeginPerfMonitorAMD(GLuint monitor)1441 void glBeginPerfMonitorAMD(GLuint monitor)
1442 {
1443 GET_CONTEXT;
1444 ctx->glBeginPerfMonitorAMD( monitor);
1445 }
1446
glEndPerfMonitorAMD(GLuint monitor)1447 void glEndPerfMonitorAMD(GLuint monitor)
1448 {
1449 GET_CONTEXT;
1450 ctx->glEndPerfMonitorAMD( monitor);
1451 }
1452
glGetPerfMonitorCounterDataAMD(GLuint monitor,GLenum pname,GLsizei dataSize,GLuint * data,GLint * bytesWritten)1453 void glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint* bytesWritten)
1454 {
1455 GET_CONTEXT;
1456 ctx->glGetPerfMonitorCounterDataAMD( monitor, pname, dataSize, data, bytesWritten);
1457 }
1458
glRenderbufferStorageMultisampleIMG(GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height)1459 void glRenderbufferStorageMultisampleIMG(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
1460 {
1461 GET_CONTEXT;
1462 ctx->glRenderbufferStorageMultisampleIMG( target, samples, internalformat, width, height);
1463 }
1464
glFramebufferTexture2DMultisampleIMG(GLenum target,GLenum attachment,GLenum textarget,GLuint texture,GLint level,GLsizei samples)1465 void glFramebufferTexture2DMultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples)
1466 {
1467 GET_CONTEXT;
1468 ctx->glFramebufferTexture2DMultisampleIMG( target, attachment, textarget, texture, level, samples);
1469 }
1470
glDeleteFencesNV(GLsizei n,const GLuint * fences)1471 void glDeleteFencesNV(GLsizei n, const GLuint* fences)
1472 {
1473 GET_CONTEXT;
1474 ctx->glDeleteFencesNV( n, fences);
1475 }
1476
glGenFencesNV(GLsizei n,GLuint * fences)1477 void glGenFencesNV(GLsizei n, GLuint* fences)
1478 {
1479 GET_CONTEXT;
1480 ctx->glGenFencesNV( n, fences);
1481 }
1482
glIsFenceNV(GLuint fence)1483 GLboolean glIsFenceNV(GLuint fence)
1484 {
1485 GET_CONTEXT;
1486 return ctx->glIsFenceNV( fence);
1487 }
1488
glTestFenceNV(GLuint fence)1489 GLboolean glTestFenceNV(GLuint fence)
1490 {
1491 GET_CONTEXT;
1492 return ctx->glTestFenceNV( fence);
1493 }
1494
glGetFenceivNV(GLuint fence,GLenum pname,GLint * params)1495 void glGetFenceivNV(GLuint fence, GLenum pname, GLint* params)
1496 {
1497 GET_CONTEXT;
1498 ctx->glGetFenceivNV( fence, pname, params);
1499 }
1500
glFinishFenceNV(GLuint fence)1501 void glFinishFenceNV(GLuint fence)
1502 {
1503 GET_CONTEXT;
1504 ctx->glFinishFenceNV( fence);
1505 }
1506
glSetFenceNV(GLuint fence,GLenum condition)1507 void glSetFenceNV(GLuint fence, GLenum condition)
1508 {
1509 GET_CONTEXT;
1510 ctx->glSetFenceNV( fence, condition);
1511 }
1512
glCoverageMaskNV(GLboolean mask)1513 void glCoverageMaskNV(GLboolean mask)
1514 {
1515 GET_CONTEXT;
1516 ctx->glCoverageMaskNV( mask);
1517 }
1518
glCoverageOperationNV(GLenum operation)1519 void glCoverageOperationNV(GLenum operation)
1520 {
1521 GET_CONTEXT;
1522 ctx->glCoverageOperationNV( operation);
1523 }
1524
glGetDriverControlsQCOM(GLint * num,GLsizei size,GLuint * driverControls)1525 void glGetDriverControlsQCOM(GLint* num, GLsizei size, GLuint* driverControls)
1526 {
1527 GET_CONTEXT;
1528 ctx->glGetDriverControlsQCOM( num, size, driverControls);
1529 }
1530
glGetDriverControlStringQCOM(GLuint driverControl,GLsizei bufSize,GLsizei * length,GLchar * driverControlString)1531 void glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei* length, GLchar* driverControlString)
1532 {
1533 GET_CONTEXT;
1534 ctx->glGetDriverControlStringQCOM( driverControl, bufSize, length, driverControlString);
1535 }
1536
glEnableDriverControlQCOM(GLuint driverControl)1537 void glEnableDriverControlQCOM(GLuint driverControl)
1538 {
1539 GET_CONTEXT;
1540 ctx->glEnableDriverControlQCOM( driverControl);
1541 }
1542
glDisableDriverControlQCOM(GLuint driverControl)1543 void glDisableDriverControlQCOM(GLuint driverControl)
1544 {
1545 GET_CONTEXT;
1546 ctx->glDisableDriverControlQCOM( driverControl);
1547 }
1548
glExtGetTexturesQCOM(GLuint * textures,GLint maxTextures,GLint * numTextures)1549 void glExtGetTexturesQCOM(GLuint* textures, GLint maxTextures, GLint* numTextures)
1550 {
1551 GET_CONTEXT;
1552 ctx->glExtGetTexturesQCOM( textures, maxTextures, numTextures);
1553 }
1554
glExtGetBuffersQCOM(GLuint * buffers,GLint maxBuffers,GLint * numBuffers)1555 void glExtGetBuffersQCOM(GLuint* buffers, GLint maxBuffers, GLint* numBuffers)
1556 {
1557 GET_CONTEXT;
1558 ctx->glExtGetBuffersQCOM( buffers, maxBuffers, numBuffers);
1559 }
1560
glExtGetRenderbuffersQCOM(GLuint * renderbuffers,GLint maxRenderbuffers,GLint * numRenderbuffers)1561 void glExtGetRenderbuffersQCOM(GLuint* renderbuffers, GLint maxRenderbuffers, GLint* numRenderbuffers)
1562 {
1563 GET_CONTEXT;
1564 ctx->glExtGetRenderbuffersQCOM( renderbuffers, maxRenderbuffers, numRenderbuffers);
1565 }
1566
glExtGetFramebuffersQCOM(GLuint * framebuffers,GLint maxFramebuffers,GLint * numFramebuffers)1567 void glExtGetFramebuffersQCOM(GLuint* framebuffers, GLint maxFramebuffers, GLint* numFramebuffers)
1568 {
1569 GET_CONTEXT;
1570 ctx->glExtGetFramebuffersQCOM( framebuffers, maxFramebuffers, numFramebuffers);
1571 }
1572
glExtGetTexLevelParameterivQCOM(GLuint texture,GLenum face,GLint level,GLenum pname,GLint * params)1573 void glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint* params)
1574 {
1575 GET_CONTEXT;
1576 ctx->glExtGetTexLevelParameterivQCOM( texture, face, level, pname, params);
1577 }
1578
glExtTexObjectStateOverrideiQCOM(GLenum target,GLenum pname,GLint param)1579 void glExtTexObjectStateOverrideiQCOM(GLenum target, GLenum pname, GLint param)
1580 {
1581 GET_CONTEXT;
1582 ctx->glExtTexObjectStateOverrideiQCOM( target, pname, param);
1583 }
1584
glExtGetTexSubImageQCOM(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,GLvoid * texels)1585 void glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* texels)
1586 {
1587 GET_CONTEXT;
1588 ctx->glExtGetTexSubImageQCOM( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels);
1589 }
1590
glExtGetBufferPointervQCOM(GLenum target,GLvoidptr * params)1591 void glExtGetBufferPointervQCOM(GLenum target, GLvoidptr* params)
1592 {
1593 GET_CONTEXT;
1594 ctx->glExtGetBufferPointervQCOM( target, params);
1595 }
1596
glExtGetShadersQCOM(GLuint * shaders,GLint maxShaders,GLint * numShaders)1597 void glExtGetShadersQCOM(GLuint* shaders, GLint maxShaders, GLint* numShaders)
1598 {
1599 GET_CONTEXT;
1600 ctx->glExtGetShadersQCOM( shaders, maxShaders, numShaders);
1601 }
1602
glExtGetProgramsQCOM(GLuint * programs,GLint maxPrograms,GLint * numPrograms)1603 void glExtGetProgramsQCOM(GLuint* programs, GLint maxPrograms, GLint* numPrograms)
1604 {
1605 GET_CONTEXT;
1606 ctx->glExtGetProgramsQCOM( programs, maxPrograms, numPrograms);
1607 }
1608
glExtIsProgramBinaryQCOM(GLuint program)1609 GLboolean glExtIsProgramBinaryQCOM(GLuint program)
1610 {
1611 GET_CONTEXT;
1612 return ctx->glExtIsProgramBinaryQCOM( program);
1613 }
1614
glExtGetProgramBinarySourceQCOM(GLuint program,GLenum shadertype,GLchar * source,GLint * length)1615 void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar* source, GLint* length)
1616 {
1617 GET_CONTEXT;
1618 ctx->glExtGetProgramBinarySourceQCOM( program, shadertype, source, length);
1619 }
1620
glStartTilingQCOM(GLuint x,GLuint y,GLuint width,GLuint height,GLbitfield preserveMask)1621 void glStartTilingQCOM(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask)
1622 {
1623 GET_CONTEXT;
1624 ctx->glStartTilingQCOM( x, y, width, height, preserveMask);
1625 }
1626
glEndTilingQCOM(GLbitfield preserveMask)1627 void glEndTilingQCOM(GLbitfield preserveMask)
1628 {
1629 GET_CONTEXT;
1630 ctx->glEndTilingQCOM( preserveMask);
1631 }
1632
glVertexAttribPointerData(GLuint indx,GLint size,GLenum type,GLboolean normalized,GLsizei stride,void * data,GLuint datalen)1633 void glVertexAttribPointerData(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, void* data, GLuint datalen)
1634 {
1635 GET_CONTEXT;
1636 ctx->glVertexAttribPointerData( indx, size, type, normalized, stride, data, datalen);
1637 }
1638
glVertexAttribPointerOffset(GLuint indx,GLint size,GLenum type,GLboolean normalized,GLsizei stride,GLuint offset)1639 void glVertexAttribPointerOffset(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint offset)
1640 {
1641 GET_CONTEXT;
1642 ctx->glVertexAttribPointerOffset( indx, size, type, normalized, stride, offset);
1643 }
1644
glDrawElementsOffset(GLenum mode,GLsizei count,GLenum type,GLuint offset)1645 void glDrawElementsOffset(GLenum mode, GLsizei count, GLenum type, GLuint offset)
1646 {
1647 GET_CONTEXT;
1648 ctx->glDrawElementsOffset( mode, count, type, offset);
1649 }
1650
glDrawElementsData(GLenum mode,GLsizei count,GLenum type,void * data,GLuint datalen)1651 void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* data, GLuint datalen)
1652 {
1653 GET_CONTEXT;
1654 ctx->glDrawElementsData( mode, count, type, data, datalen);
1655 }
1656
glGetCompressedTextureFormats(int count,GLint * formats)1657 void glGetCompressedTextureFormats(int count, GLint* formats)
1658 {
1659 GET_CONTEXT;
1660 ctx->glGetCompressedTextureFormats( count, formats);
1661 }
1662
glShaderString(GLuint shader,const GLchar * string,GLsizei len)1663 void glShaderString(GLuint shader, const GLchar* string, GLsizei len)
1664 {
1665 GET_CONTEXT;
1666 ctx->glShaderString( shader, string, len);
1667 }
1668
glFinishRoundTrip()1669 int glFinishRoundTrip()
1670 {
1671 GET_CONTEXT;
1672 return ctx->glFinishRoundTrip();
1673 }
1674
glGenVertexArrays(GLsizei n,GLuint * arrays)1675 void glGenVertexArrays(GLsizei n, GLuint* arrays)
1676 {
1677 GET_CONTEXT;
1678 ctx->glGenVertexArrays( n, arrays);
1679 }
1680
glBindVertexArray(GLuint array)1681 void glBindVertexArray(GLuint array)
1682 {
1683 GET_CONTEXT;
1684 ctx->glBindVertexArray( array);
1685 }
1686
glDeleteVertexArrays(GLsizei n,const GLuint * arrays)1687 void glDeleteVertexArrays(GLsizei n, const GLuint* arrays)
1688 {
1689 GET_CONTEXT;
1690 ctx->glDeleteVertexArrays( n, arrays);
1691 }
1692
glIsVertexArray(GLuint array)1693 GLboolean glIsVertexArray(GLuint array)
1694 {
1695 GET_CONTEXT;
1696 return ctx->glIsVertexArray( array);
1697 }
1698
glMapBufferRange(GLenum target,GLintptr offset,GLsizeiptr length,GLbitfield access)1699 void* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
1700 {
1701 GET_CONTEXT;
1702 return ctx->glMapBufferRange( target, offset, length, access);
1703 }
1704
glUnmapBuffer(GLenum target)1705 GLboolean glUnmapBuffer(GLenum target)
1706 {
1707 GET_CONTEXT;
1708 return ctx->glUnmapBuffer( target);
1709 }
1710
glFlushMappedBufferRange(GLenum target,GLintptr offset,GLsizeiptr length)1711 void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length)
1712 {
1713 GET_CONTEXT;
1714 ctx->glFlushMappedBufferRange( target, offset, length);
1715 }
1716
glMapBufferRangeAEMU(GLenum target,GLintptr offset,GLsizeiptr length,GLbitfield access,void * mapped)1717 void glMapBufferRangeAEMU(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access, void* mapped)
1718 {
1719 GET_CONTEXT;
1720 ctx->glMapBufferRangeAEMU( target, offset, length, access, mapped);
1721 }
1722
glUnmapBufferAEMU(GLenum target,GLintptr offset,GLsizeiptr length,GLbitfield access,void * guest_buffer,GLboolean * out_res)1723 void glUnmapBufferAEMU(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access, void* guest_buffer, GLboolean* out_res)
1724 {
1725 GET_CONTEXT;
1726 ctx->glUnmapBufferAEMU( target, offset, length, access, guest_buffer, out_res);
1727 }
1728
glFlushMappedBufferRangeAEMU(GLenum target,GLintptr offset,GLsizeiptr length,GLbitfield access,void * guest_buffer)1729 void glFlushMappedBufferRangeAEMU(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access, void* guest_buffer)
1730 {
1731 GET_CONTEXT;
1732 ctx->glFlushMappedBufferRangeAEMU( target, offset, length, access, guest_buffer);
1733 }
1734
glReadPixelsOffsetAEMU(GLint x,GLint y,GLsizei width,GLsizei height,GLenum format,GLenum type,GLuint offset)1735 void glReadPixelsOffsetAEMU(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLuint offset)
1736 {
1737 GET_CONTEXT;
1738 ctx->glReadPixelsOffsetAEMU( x, y, width, height, format, type, offset);
1739 }
1740
glCompressedTexImage2DOffsetAEMU(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLsizei height,GLint border,GLsizei imageSize,GLuint offset)1741 void glCompressedTexImage2DOffsetAEMU(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLuint offset)
1742 {
1743 GET_CONTEXT;
1744 ctx->glCompressedTexImage2DOffsetAEMU( target, level, internalformat, width, height, border, imageSize, offset);
1745 }
1746
glCompressedTexSubImage2DOffsetAEMU(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLsizei imageSize,GLuint offset)1747 void glCompressedTexSubImage2DOffsetAEMU(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLuint offset)
1748 {
1749 GET_CONTEXT;
1750 ctx->glCompressedTexSubImage2DOffsetAEMU( target, level, xoffset, yoffset, width, height, format, imageSize, offset);
1751 }
1752
glTexImage2DOffsetAEMU(GLenum target,GLint level,GLint internalformat,GLsizei width,GLsizei height,GLint border,GLenum format,GLenum type,GLuint offset)1753 void glTexImage2DOffsetAEMU(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLuint offset)
1754 {
1755 GET_CONTEXT;
1756 ctx->glTexImage2DOffsetAEMU( target, level, internalformat, width, height, border, format, type, offset);
1757 }
1758
glTexSubImage2DOffsetAEMU(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLenum type,GLuint offset)1759 void glTexSubImage2DOffsetAEMU(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLuint offset)
1760 {
1761 GET_CONTEXT;
1762 ctx->glTexSubImage2DOffsetAEMU( target, level, xoffset, yoffset, width, height, format, type, offset);
1763 }
1764
glBindBufferRange(GLenum target,GLuint index,GLuint buffer,GLintptr offset,GLsizeiptr size)1765 void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
1766 {
1767 GET_CONTEXT;
1768 ctx->glBindBufferRange( target, index, buffer, offset, size);
1769 }
1770
glBindBufferBase(GLenum target,GLuint index,GLuint buffer)1771 void glBindBufferBase(GLenum target, GLuint index, GLuint buffer)
1772 {
1773 GET_CONTEXT;
1774 ctx->glBindBufferBase( target, index, buffer);
1775 }
1776
glCopyBufferSubData(GLenum readtarget,GLenum writetarget,GLintptr readoffset,GLintptr writeoffset,GLsizeiptr size)1777 void glCopyBufferSubData(GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size)
1778 {
1779 GET_CONTEXT;
1780 ctx->glCopyBufferSubData( readtarget, writetarget, readoffset, writeoffset, size);
1781 }
1782
glClearBufferiv(GLenum buffer,GLint drawBuffer,const GLint * value)1783 void glClearBufferiv(GLenum buffer, GLint drawBuffer, const GLint* value)
1784 {
1785 GET_CONTEXT;
1786 ctx->glClearBufferiv( buffer, drawBuffer, value);
1787 }
1788
glClearBufferuiv(GLenum buffer,GLint drawBuffer,const GLuint * value)1789 void glClearBufferuiv(GLenum buffer, GLint drawBuffer, const GLuint* value)
1790 {
1791 GET_CONTEXT;
1792 ctx->glClearBufferuiv( buffer, drawBuffer, value);
1793 }
1794
glClearBufferfv(GLenum buffer,GLint drawBuffer,const GLfloat * value)1795 void glClearBufferfv(GLenum buffer, GLint drawBuffer, const GLfloat* value)
1796 {
1797 GET_CONTEXT;
1798 ctx->glClearBufferfv( buffer, drawBuffer, value);
1799 }
1800
glClearBufferfi(GLenum buffer,GLint drawBuffer,GLfloat depth,GLint stencil)1801 void glClearBufferfi(GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil)
1802 {
1803 GET_CONTEXT;
1804 ctx->glClearBufferfi( buffer, drawBuffer, depth, stencil);
1805 }
1806
glGetBufferParameteri64v(GLenum target,GLenum value,GLint64 * data)1807 void glGetBufferParameteri64v(GLenum target, GLenum value, GLint64* data)
1808 {
1809 GET_CONTEXT;
1810 ctx->glGetBufferParameteri64v( target, value, data);
1811 }
1812
glGetBufferPointerv(GLenum target,GLenum pname,GLvoid ** params)1813 void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid** params)
1814 {
1815 GET_CONTEXT;
1816 ctx->glGetBufferPointerv( target, pname, params);
1817 }
1818
glUniformBlockBinding(GLuint program,GLuint uniformBlockIndex,GLuint uniformBlockBinding)1819 void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
1820 {
1821 GET_CONTEXT;
1822 ctx->glUniformBlockBinding( program, uniformBlockIndex, uniformBlockBinding);
1823 }
1824
glGetUniformBlockIndex(GLuint program,const GLchar * uniformBlockName)1825 GLuint glGetUniformBlockIndex(GLuint program, const GLchar* uniformBlockName)
1826 {
1827 GET_CONTEXT;
1828 return ctx->glGetUniformBlockIndex( program, uniformBlockName);
1829 }
1830
glGetUniformIndices(GLuint program,GLsizei uniformCount,const GLchar * const * uniformNames,GLuint * uniformIndices)1831 void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices)
1832 {
1833 GET_CONTEXT;
1834 ctx->glGetUniformIndices( program, uniformCount, uniformNames, uniformIndices);
1835 }
1836
glGetUniformIndicesAEMU(GLuint program,GLsizei uniformCount,const GLchar * packedUniformNames,GLsizei packedLen,GLuint * uniformIndices)1837 void glGetUniformIndicesAEMU(GLuint program, GLsizei uniformCount, const GLchar* packedUniformNames, GLsizei packedLen, GLuint* uniformIndices)
1838 {
1839 GET_CONTEXT;
1840 ctx->glGetUniformIndicesAEMU( program, uniformCount, packedUniformNames, packedLen, uniformIndices);
1841 }
1842
glGetActiveUniformBlockiv(GLuint program,GLuint uniformBlockIndex,GLenum pname,GLint * params)1843 void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params)
1844 {
1845 GET_CONTEXT;
1846 ctx->glGetActiveUniformBlockiv( program, uniformBlockIndex, pname, params);
1847 }
1848
glGetActiveUniformBlockName(GLuint program,GLuint uniformBlockIndex,GLsizei bufSize,GLsizei * length,GLchar * uniformBlockName)1849 void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName)
1850 {
1851 GET_CONTEXT;
1852 ctx->glGetActiveUniformBlockName( program, uniformBlockIndex, bufSize, length, uniformBlockName);
1853 }
1854
glUniform1ui(GLint location,GLuint v0)1855 void glUniform1ui(GLint location, GLuint v0)
1856 {
1857 GET_CONTEXT;
1858 ctx->glUniform1ui( location, v0);
1859 }
1860
glUniform2ui(GLint location,GLuint v0,GLuint v1)1861 void glUniform2ui(GLint location, GLuint v0, GLuint v1)
1862 {
1863 GET_CONTEXT;
1864 ctx->glUniform2ui( location, v0, v1);
1865 }
1866
glUniform3ui(GLint location,GLuint v0,GLuint v1,GLuint v2)1867 void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2)
1868 {
1869 GET_CONTEXT;
1870 ctx->glUniform3ui( location, v0, v1, v2);
1871 }
1872
glUniform4ui(GLint location,GLuint v0,GLuint v1,GLuint v2,GLuint v3)1873 void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
1874 {
1875 GET_CONTEXT;
1876 ctx->glUniform4ui( location, v0, v1, v2, v3);
1877 }
1878
glUniform1uiv(GLint location,GLsizei count,const GLuint * value)1879 void glUniform1uiv(GLint location, GLsizei count, const GLuint* value)
1880 {
1881 GET_CONTEXT;
1882 ctx->glUniform1uiv( location, count, value);
1883 }
1884
glUniform2uiv(GLint location,GLsizei count,const GLuint * value)1885 void glUniform2uiv(GLint location, GLsizei count, const GLuint* value)
1886 {
1887 GET_CONTEXT;
1888 ctx->glUniform2uiv( location, count, value);
1889 }
1890
glUniform3uiv(GLint location,GLsizei count,const GLuint * value)1891 void glUniform3uiv(GLint location, GLsizei count, const GLuint* value)
1892 {
1893 GET_CONTEXT;
1894 ctx->glUniform3uiv( location, count, value);
1895 }
1896
glUniform4uiv(GLint location,GLsizei count,const GLuint * value)1897 void glUniform4uiv(GLint location, GLsizei count, const GLuint* value)
1898 {
1899 GET_CONTEXT;
1900 ctx->glUniform4uiv( location, count, value);
1901 }
1902
glUniformMatrix2x3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1903 void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1904 {
1905 GET_CONTEXT;
1906 ctx->glUniformMatrix2x3fv( location, count, transpose, value);
1907 }
1908
glUniformMatrix3x2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1909 void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1910 {
1911 GET_CONTEXT;
1912 ctx->glUniformMatrix3x2fv( location, count, transpose, value);
1913 }
1914
glUniformMatrix2x4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1915 void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1916 {
1917 GET_CONTEXT;
1918 ctx->glUniformMatrix2x4fv( location, count, transpose, value);
1919 }
1920
glUniformMatrix4x2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1921 void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1922 {
1923 GET_CONTEXT;
1924 ctx->glUniformMatrix4x2fv( location, count, transpose, value);
1925 }
1926
glUniformMatrix3x4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1927 void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1928 {
1929 GET_CONTEXT;
1930 ctx->glUniformMatrix3x4fv( location, count, transpose, value);
1931 }
1932
glUniformMatrix4x3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)1933 void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1934 {
1935 GET_CONTEXT;
1936 ctx->glUniformMatrix4x3fv( location, count, transpose, value);
1937 }
1938
glGetUniformuiv(GLuint program,GLint location,GLuint * params)1939 void glGetUniformuiv(GLuint program, GLint location, GLuint* params)
1940 {
1941 GET_CONTEXT;
1942 ctx->glGetUniformuiv( program, location, params);
1943 }
1944
glGetActiveUniformsiv(GLuint program,GLsizei uniformCount,const GLuint * uniformIndices,GLenum pname,GLint * params)1945 void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params)
1946 {
1947 GET_CONTEXT;
1948 ctx->glGetActiveUniformsiv( program, uniformCount, uniformIndices, pname, params);
1949 }
1950
glVertexAttribI4i(GLuint index,GLint v0,GLint v1,GLint v2,GLint v3)1951 void glVertexAttribI4i(GLuint index, GLint v0, GLint v1, GLint v2, GLint v3)
1952 {
1953 GET_CONTEXT;
1954 ctx->glVertexAttribI4i( index, v0, v1, v2, v3);
1955 }
1956
glVertexAttribI4ui(GLuint index,GLuint v0,GLuint v1,GLuint v2,GLuint v3)1957 void glVertexAttribI4ui(GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
1958 {
1959 GET_CONTEXT;
1960 ctx->glVertexAttribI4ui( index, v0, v1, v2, v3);
1961 }
1962
glVertexAttribI4iv(GLuint index,const GLint * v)1963 void glVertexAttribI4iv(GLuint index, const GLint* v)
1964 {
1965 GET_CONTEXT;
1966 ctx->glVertexAttribI4iv( index, v);
1967 }
1968
glVertexAttribI4uiv(GLuint index,const GLuint * v)1969 void glVertexAttribI4uiv(GLuint index, const GLuint* v)
1970 {
1971 GET_CONTEXT;
1972 ctx->glVertexAttribI4uiv( index, v);
1973 }
1974
glVertexAttribIPointer(GLuint index,GLint size,GLenum type,GLsizei stride,const GLvoid * pointer)1975 void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer)
1976 {
1977 GET_CONTEXT;
1978 ctx->glVertexAttribIPointer( index, size, type, stride, pointer);
1979 }
1980
glVertexAttribIPointerOffsetAEMU(GLuint index,GLint size,GLenum type,GLsizei stride,GLuint offset)1981 void glVertexAttribIPointerOffsetAEMU(GLuint index, GLint size, GLenum type, GLsizei stride, GLuint offset)
1982 {
1983 GET_CONTEXT;
1984 ctx->glVertexAttribIPointerOffsetAEMU( index, size, type, stride, offset);
1985 }
1986
glVertexAttribIPointerDataAEMU(GLuint index,GLint size,GLenum type,GLsizei stride,void * data,GLuint datalen)1987 void glVertexAttribIPointerDataAEMU(GLuint index, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen)
1988 {
1989 GET_CONTEXT;
1990 ctx->glVertexAttribIPointerDataAEMU( index, size, type, stride, data, datalen);
1991 }
1992
glGetVertexAttribIiv(GLuint index,GLenum pname,GLint * params)1993 void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint* params)
1994 {
1995 GET_CONTEXT;
1996 ctx->glGetVertexAttribIiv( index, pname, params);
1997 }
1998
glGetVertexAttribIuiv(GLuint index,GLenum pname,GLuint * params)1999 void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint* params)
2000 {
2001 GET_CONTEXT;
2002 ctx->glGetVertexAttribIuiv( index, pname, params);
2003 }
2004
glVertexAttribDivisor(GLuint index,GLuint divisor)2005 void glVertexAttribDivisor(GLuint index, GLuint divisor)
2006 {
2007 GET_CONTEXT;
2008 ctx->glVertexAttribDivisor( index, divisor);
2009 }
2010
glDrawArraysInstanced(GLenum mode,GLint first,GLsizei count,GLsizei primcount)2011 void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount)
2012 {
2013 GET_CONTEXT;
2014 ctx->glDrawArraysInstanced( mode, first, count, primcount);
2015 }
2016
glDrawElementsInstanced(GLenum mode,GLsizei count,GLenum type,const void * indices,GLsizei primcount)2017 void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount)
2018 {
2019 GET_CONTEXT;
2020 ctx->glDrawElementsInstanced( mode, count, type, indices, primcount);
2021 }
2022
glDrawElementsInstancedDataAEMU(GLenum mode,GLsizei count,GLenum type,const void * indices,GLsizei primcount,GLsizei datalen)2023 void glDrawElementsInstancedDataAEMU(GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLsizei datalen)
2024 {
2025 GET_CONTEXT;
2026 ctx->glDrawElementsInstancedDataAEMU( mode, count, type, indices, primcount, datalen);
2027 }
2028
glDrawElementsInstancedOffsetAEMU(GLenum mode,GLsizei count,GLenum type,GLuint offset,GLsizei primcount)2029 void glDrawElementsInstancedOffsetAEMU(GLenum mode, GLsizei count, GLenum type, GLuint offset, GLsizei primcount)
2030 {
2031 GET_CONTEXT;
2032 ctx->glDrawElementsInstancedOffsetAEMU( mode, count, type, offset, primcount);
2033 }
2034
glDrawRangeElements(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const GLvoid * indices)2035 void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices)
2036 {
2037 GET_CONTEXT;
2038 ctx->glDrawRangeElements( mode, start, end, count, type, indices);
2039 }
2040
glDrawRangeElementsDataAEMU(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const GLvoid * indices,GLsizei datalen)2041 void glDrawRangeElementsDataAEMU(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices, GLsizei datalen)
2042 {
2043 GET_CONTEXT;
2044 ctx->glDrawRangeElementsDataAEMU( mode, start, end, count, type, indices, datalen);
2045 }
2046
glDrawRangeElementsOffsetAEMU(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,GLuint offset)2047 void glDrawRangeElementsOffsetAEMU(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLuint offset)
2048 {
2049 GET_CONTEXT;
2050 ctx->glDrawRangeElementsOffsetAEMU( mode, start, end, count, type, offset);
2051 }
2052
glFenceSync(GLenum condition,GLbitfield flags)2053 GLsync glFenceSync(GLenum condition, GLbitfield flags)
2054 {
2055 GET_CONTEXT;
2056 return ctx->glFenceSync( condition, flags);
2057 }
2058
glClientWaitSync(GLsync wait_on,GLbitfield flags,GLuint64 timeout)2059 GLenum glClientWaitSync(GLsync wait_on, GLbitfield flags, GLuint64 timeout)
2060 {
2061 GET_CONTEXT;
2062 return ctx->glClientWaitSync( wait_on, flags, timeout);
2063 }
2064
glWaitSync(GLsync wait_on,GLbitfield flags,GLuint64 timeout)2065 void glWaitSync(GLsync wait_on, GLbitfield flags, GLuint64 timeout)
2066 {
2067 GET_CONTEXT;
2068 ctx->glWaitSync( wait_on, flags, timeout);
2069 }
2070
glDeleteSync(GLsync to_delete)2071 void glDeleteSync(GLsync to_delete)
2072 {
2073 GET_CONTEXT;
2074 ctx->glDeleteSync( to_delete);
2075 }
2076
glIsSync(GLsync sync)2077 GLboolean glIsSync(GLsync sync)
2078 {
2079 GET_CONTEXT;
2080 return ctx->glIsSync( sync);
2081 }
2082
glGetSynciv(GLsync sync,GLenum pname,GLsizei bufSize,GLsizei * length,GLint * values)2083 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values)
2084 {
2085 GET_CONTEXT;
2086 ctx->glGetSynciv( sync, pname, bufSize, length, values);
2087 }
2088
glFenceSyncAEMU(GLenum condition,GLbitfield flags)2089 uint64_t glFenceSyncAEMU(GLenum condition, GLbitfield flags)
2090 {
2091 GET_CONTEXT;
2092 return ctx->glFenceSyncAEMU( condition, flags);
2093 }
2094
glClientWaitSyncAEMU(uint64_t wait_on,GLbitfield flags,GLuint64 timeout)2095 GLenum glClientWaitSyncAEMU(uint64_t wait_on, GLbitfield flags, GLuint64 timeout)
2096 {
2097 GET_CONTEXT;
2098 return ctx->glClientWaitSyncAEMU( wait_on, flags, timeout);
2099 }
2100
glWaitSyncAEMU(uint64_t wait_on,GLbitfield flags,GLuint64 timeout)2101 void glWaitSyncAEMU(uint64_t wait_on, GLbitfield flags, GLuint64 timeout)
2102 {
2103 GET_CONTEXT;
2104 ctx->glWaitSyncAEMU( wait_on, flags, timeout);
2105 }
2106
glDeleteSyncAEMU(uint64_t to_delete)2107 void glDeleteSyncAEMU(uint64_t to_delete)
2108 {
2109 GET_CONTEXT;
2110 ctx->glDeleteSyncAEMU( to_delete);
2111 }
2112
glIsSyncAEMU(uint64_t sync)2113 GLboolean glIsSyncAEMU(uint64_t sync)
2114 {
2115 GET_CONTEXT;
2116 return ctx->glIsSyncAEMU( sync);
2117 }
2118
glGetSyncivAEMU(uint64_t sync,GLenum pname,GLsizei bufSize,GLsizei * length,GLint * values)2119 void glGetSyncivAEMU(uint64_t sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values)
2120 {
2121 GET_CONTEXT;
2122 ctx->glGetSyncivAEMU( sync, pname, bufSize, length, values);
2123 }
2124
glDrawBuffers(GLsizei n,const GLenum * bufs)2125 void glDrawBuffers(GLsizei n, const GLenum* bufs)
2126 {
2127 GET_CONTEXT;
2128 ctx->glDrawBuffers( n, bufs);
2129 }
2130
glReadBuffer(GLenum src)2131 void glReadBuffer(GLenum src)
2132 {
2133 GET_CONTEXT;
2134 ctx->glReadBuffer( src);
2135 }
2136
glBlitFramebuffer(GLint srcX0,GLint srcY0,GLint srcX1,GLint srcY1,GLint dstX0,GLint dstY0,GLint dstX1,GLint dstY1,GLbitfield mask,GLenum filter)2137 void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
2138 {
2139 GET_CONTEXT;
2140 ctx->glBlitFramebuffer( srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
2141 }
2142
glInvalidateFramebuffer(GLenum target,GLsizei numAttachments,const GLenum * attachments)2143 void glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments)
2144 {
2145 GET_CONTEXT;
2146 ctx->glInvalidateFramebuffer( target, numAttachments, attachments);
2147 }
2148
glInvalidateSubFramebuffer(GLenum target,GLsizei numAttachments,const GLenum * attachments,GLint x,GLint y,GLsizei width,GLsizei height)2149 void glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height)
2150 {
2151 GET_CONTEXT;
2152 ctx->glInvalidateSubFramebuffer( target, numAttachments, attachments, x, y, width, height);
2153 }
2154
glFramebufferTextureLayer(GLenum target,GLenum attachment,GLuint texture,GLint level,GLint layer)2155 void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
2156 {
2157 GET_CONTEXT;
2158 ctx->glFramebufferTextureLayer( target, attachment, texture, level, layer);
2159 }
2160
glRenderbufferStorageMultisample(GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height)2161 void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
2162 {
2163 GET_CONTEXT;
2164 ctx->glRenderbufferStorageMultisample( target, samples, internalformat, width, height);
2165 }
2166
glTexStorage2D(GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height)2167 void glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
2168 {
2169 GET_CONTEXT;
2170 ctx->glTexStorage2D( target, levels, internalformat, width, height);
2171 }
2172
glGetInternalformativ(GLenum target,GLenum internalformat,GLenum pname,GLsizei bufSize,GLint * params)2173 void glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params)
2174 {
2175 GET_CONTEXT;
2176 ctx->glGetInternalformativ( target, internalformat, pname, bufSize, params);
2177 }
2178
glBeginTransformFeedback(GLenum primitiveMode)2179 void glBeginTransformFeedback(GLenum primitiveMode)
2180 {
2181 GET_CONTEXT;
2182 ctx->glBeginTransformFeedback( primitiveMode);
2183 }
2184
glEndTransformFeedback()2185 void glEndTransformFeedback()
2186 {
2187 GET_CONTEXT;
2188 ctx->glEndTransformFeedback();
2189 }
2190
glGenTransformFeedbacks(GLsizei n,GLuint * ids)2191 void glGenTransformFeedbacks(GLsizei n, GLuint* ids)
2192 {
2193 GET_CONTEXT;
2194 ctx->glGenTransformFeedbacks( n, ids);
2195 }
2196
glDeleteTransformFeedbacks(GLsizei n,const GLuint * ids)2197 void glDeleteTransformFeedbacks(GLsizei n, const GLuint* ids)
2198 {
2199 GET_CONTEXT;
2200 ctx->glDeleteTransformFeedbacks( n, ids);
2201 }
2202
glBindTransformFeedback(GLenum target,GLuint id)2203 void glBindTransformFeedback(GLenum target, GLuint id)
2204 {
2205 GET_CONTEXT;
2206 ctx->glBindTransformFeedback( target, id);
2207 }
2208
glPauseTransformFeedback()2209 void glPauseTransformFeedback()
2210 {
2211 GET_CONTEXT;
2212 ctx->glPauseTransformFeedback();
2213 }
2214
glResumeTransformFeedback()2215 void glResumeTransformFeedback()
2216 {
2217 GET_CONTEXT;
2218 ctx->glResumeTransformFeedback();
2219 }
2220
glIsTransformFeedback(GLuint id)2221 GLboolean glIsTransformFeedback(GLuint id)
2222 {
2223 GET_CONTEXT;
2224 return ctx->glIsTransformFeedback( id);
2225 }
2226
glTransformFeedbackVaryings(GLuint program,GLsizei count,const GLchar * const * varyings,GLenum bufferMode)2227 void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode)
2228 {
2229 GET_CONTEXT;
2230 ctx->glTransformFeedbackVaryings( program, count, varyings, bufferMode);
2231 }
2232
glTransformFeedbackVaryingsAEMU(GLuint program,GLsizei count,const char * packedVaryings,GLuint packedVaryingsLen,GLenum bufferMode)2233 void glTransformFeedbackVaryingsAEMU(GLuint program, GLsizei count, const char* packedVaryings, GLuint packedVaryingsLen, GLenum bufferMode)
2234 {
2235 GET_CONTEXT;
2236 ctx->glTransformFeedbackVaryingsAEMU( program, count, packedVaryings, packedVaryingsLen, bufferMode);
2237 }
2238
glGetTransformFeedbackVarying(GLuint program,GLuint index,GLsizei bufSize,GLsizei * length,GLsizei * size,GLenum * type,char * name)2239 void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, char* name)
2240 {
2241 GET_CONTEXT;
2242 ctx->glGetTransformFeedbackVarying( program, index, bufSize, length, size, type, name);
2243 }
2244
glGenSamplers(GLsizei n,GLuint * samplers)2245 void glGenSamplers(GLsizei n, GLuint* samplers)
2246 {
2247 GET_CONTEXT;
2248 ctx->glGenSamplers( n, samplers);
2249 }
2250
glDeleteSamplers(GLsizei n,const GLuint * samplers)2251 void glDeleteSamplers(GLsizei n, const GLuint* samplers)
2252 {
2253 GET_CONTEXT;
2254 ctx->glDeleteSamplers( n, samplers);
2255 }
2256
glBindSampler(GLuint unit,GLuint sampler)2257 void glBindSampler(GLuint unit, GLuint sampler)
2258 {
2259 GET_CONTEXT;
2260 ctx->glBindSampler( unit, sampler);
2261 }
2262
glSamplerParameterf(GLuint sampler,GLenum pname,GLfloat param)2263 void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
2264 {
2265 GET_CONTEXT;
2266 ctx->glSamplerParameterf( sampler, pname, param);
2267 }
2268
glSamplerParameteri(GLuint sampler,GLenum pname,GLint param)2269 void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
2270 {
2271 GET_CONTEXT;
2272 ctx->glSamplerParameteri( sampler, pname, param);
2273 }
2274
glSamplerParameterfv(GLuint sampler,GLenum pname,const GLfloat * params)2275 void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* params)
2276 {
2277 GET_CONTEXT;
2278 ctx->glSamplerParameterfv( sampler, pname, params);
2279 }
2280
glSamplerParameteriv(GLuint sampler,GLenum pname,const GLint * params)2281 void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* params)
2282 {
2283 GET_CONTEXT;
2284 ctx->glSamplerParameteriv( sampler, pname, params);
2285 }
2286
glGetSamplerParameterfv(GLuint sampler,GLenum pname,GLfloat * params)2287 void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params)
2288 {
2289 GET_CONTEXT;
2290 ctx->glGetSamplerParameterfv( sampler, pname, params);
2291 }
2292
glGetSamplerParameteriv(GLuint sampler,GLenum pname,GLint * params)2293 void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params)
2294 {
2295 GET_CONTEXT;
2296 ctx->glGetSamplerParameteriv( sampler, pname, params);
2297 }
2298
glIsSampler(GLuint sampler)2299 GLboolean glIsSampler(GLuint sampler)
2300 {
2301 GET_CONTEXT;
2302 return ctx->glIsSampler( sampler);
2303 }
2304
glGenQueries(GLsizei n,GLuint * queries)2305 void glGenQueries(GLsizei n, GLuint* queries)
2306 {
2307 GET_CONTEXT;
2308 ctx->glGenQueries( n, queries);
2309 }
2310
glDeleteQueries(GLsizei n,const GLuint * queries)2311 void glDeleteQueries(GLsizei n, const GLuint* queries)
2312 {
2313 GET_CONTEXT;
2314 ctx->glDeleteQueries( n, queries);
2315 }
2316
glBeginQuery(GLenum target,GLuint query)2317 void glBeginQuery(GLenum target, GLuint query)
2318 {
2319 GET_CONTEXT;
2320 ctx->glBeginQuery( target, query);
2321 }
2322
glEndQuery(GLenum target)2323 void glEndQuery(GLenum target)
2324 {
2325 GET_CONTEXT;
2326 ctx->glEndQuery( target);
2327 }
2328
glGetQueryiv(GLenum target,GLenum pname,GLint * params)2329 void glGetQueryiv(GLenum target, GLenum pname, GLint* params)
2330 {
2331 GET_CONTEXT;
2332 ctx->glGetQueryiv( target, pname, params);
2333 }
2334
glGetQueryObjectuiv(GLuint query,GLenum pname,GLuint * params)2335 void glGetQueryObjectuiv(GLuint query, GLenum pname, GLuint* params)
2336 {
2337 GET_CONTEXT;
2338 ctx->glGetQueryObjectuiv( query, pname, params);
2339 }
2340
glIsQuery(GLuint query)2341 GLboolean glIsQuery(GLuint query)
2342 {
2343 GET_CONTEXT;
2344 return ctx->glIsQuery( query);
2345 }
2346
glProgramParameteri(GLuint program,GLenum pname,GLint value)2347 void glProgramParameteri(GLuint program, GLenum pname, GLint value)
2348 {
2349 GET_CONTEXT;
2350 ctx->glProgramParameteri( program, pname, value);
2351 }
2352
glProgramBinary(GLuint program,GLenum binaryFormat,const void * binary,GLsizei length)2353 void glProgramBinary(GLuint program, GLenum binaryFormat, const void* binary, GLsizei length)
2354 {
2355 GET_CONTEXT;
2356 ctx->glProgramBinary( program, binaryFormat, binary, length);
2357 }
2358
glGetProgramBinary(GLuint program,GLsizei bufSize,GLsizei * length,GLenum * binaryFormat,void * binary)2359 void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, void* binary)
2360 {
2361 GET_CONTEXT;
2362 ctx->glGetProgramBinary( program, bufSize, length, binaryFormat, binary);
2363 }
2364
glGetFragDataLocation(GLuint program,const char * name)2365 GLint glGetFragDataLocation(GLuint program, const char* name)
2366 {
2367 GET_CONTEXT;
2368 return ctx->glGetFragDataLocation( program, name);
2369 }
2370
glGetInteger64v(GLenum pname,GLint64 * data)2371 void glGetInteger64v(GLenum pname, GLint64* data)
2372 {
2373 GET_CONTEXT;
2374 ctx->glGetInteger64v( pname, data);
2375 }
2376
glGetIntegeri_v(GLenum target,GLuint index,GLint * data)2377 void glGetIntegeri_v(GLenum target, GLuint index, GLint* data)
2378 {
2379 GET_CONTEXT;
2380 ctx->glGetIntegeri_v( target, index, data);
2381 }
2382
glGetInteger64i_v(GLenum target,GLuint index,GLint64 * data)2383 void glGetInteger64i_v(GLenum target, GLuint index, GLint64* data)
2384 {
2385 GET_CONTEXT;
2386 ctx->glGetInteger64i_v( target, index, data);
2387 }
2388
glTexImage3D(GLenum target,GLint level,GLint internalFormat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLenum format,GLenum type,const GLvoid * data)2389 void glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* data)
2390 {
2391 GET_CONTEXT;
2392 ctx->glTexImage3D( target, level, internalFormat, width, height, depth, border, format, type, data);
2393 }
2394
glTexImage3DOffsetAEMU(GLenum target,GLint level,GLint internalFormat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLenum format,GLenum type,GLuint offset)2395 void glTexImage3DOffsetAEMU(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLuint offset)
2396 {
2397 GET_CONTEXT;
2398 ctx->glTexImage3DOffsetAEMU( target, level, internalFormat, width, height, depth, border, format, type, offset);
2399 }
2400
glTexStorage3D(GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth)2401 void glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
2402 {
2403 GET_CONTEXT;
2404 ctx->glTexStorage3D( target, levels, internalformat, width, height, depth);
2405 }
2406
glTexSubImage3D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const GLvoid * data)2407 void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* data)
2408 {
2409 GET_CONTEXT;
2410 ctx->glTexSubImage3D( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
2411 }
2412
glTexSubImage3DOffsetAEMU(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,GLuint offset)2413 void glTexSubImage3DOffsetAEMU(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLuint offset)
2414 {
2415 GET_CONTEXT;
2416 ctx->glTexSubImage3DOffsetAEMU( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, offset);
2417 }
2418
glCompressedTexImage3D(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLsizei imageSize,const GLvoid * data)2419 void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data)
2420 {
2421 GET_CONTEXT;
2422 ctx->glCompressedTexImage3D( target, level, internalformat, width, height, depth, border, imageSize, data);
2423 }
2424
glCompressedTexImage3DOffsetAEMU(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLsizei imageSize,GLuint offset)2425 void glCompressedTexImage3DOffsetAEMU(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLuint offset)
2426 {
2427 GET_CONTEXT;
2428 ctx->glCompressedTexImage3DOffsetAEMU( target, level, internalformat, width, height, depth, border, imageSize, offset);
2429 }
2430
glCompressedTexSubImage3D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,const GLvoid * data)2431 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)
2432 {
2433 GET_CONTEXT;
2434 ctx->glCompressedTexSubImage3D( target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
2435 }
2436
glCompressedTexSubImage3DOffsetAEMU(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,GLuint data)2437 void glCompressedTexSubImage3DOffsetAEMU(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLuint data)
2438 {
2439 GET_CONTEXT;
2440 ctx->glCompressedTexSubImage3DOffsetAEMU( target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
2441 }
2442
glCopyTexSubImage3D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height)2443 void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
2444 {
2445 GET_CONTEXT;
2446 ctx->glCopyTexSubImage3D( target, level, xoffset, yoffset, zoffset, x, y, width, height);
2447 }
2448
glGetStringi(GLenum name,GLuint index)2449 const GLubyte* glGetStringi(GLenum name, GLuint index)
2450 {
2451 GET_CONTEXT;
2452 return ctx->glGetStringi( name, index);
2453 }
2454
glGetBooleani_v(GLenum target,GLuint index,GLboolean * data)2455 void glGetBooleani_v(GLenum target, GLuint index, GLboolean* data)
2456 {
2457 GET_CONTEXT;
2458 ctx->glGetBooleani_v( target, index, data);
2459 }
2460
glMemoryBarrier(GLbitfield barriers)2461 void glMemoryBarrier(GLbitfield barriers)
2462 {
2463 GET_CONTEXT;
2464 ctx->glMemoryBarrier( barriers);
2465 }
2466
glMemoryBarrierByRegion(GLbitfield barriers)2467 void glMemoryBarrierByRegion(GLbitfield barriers)
2468 {
2469 GET_CONTEXT;
2470 ctx->glMemoryBarrierByRegion( barriers);
2471 }
2472
glGenProgramPipelines(GLsizei n,GLuint * pipelines)2473 void glGenProgramPipelines(GLsizei n, GLuint* pipelines)
2474 {
2475 GET_CONTEXT;
2476 ctx->glGenProgramPipelines( n, pipelines);
2477 }
2478
glDeleteProgramPipelines(GLsizei n,const GLuint * pipelines)2479 void glDeleteProgramPipelines(GLsizei n, const GLuint* pipelines)
2480 {
2481 GET_CONTEXT;
2482 ctx->glDeleteProgramPipelines( n, pipelines);
2483 }
2484
glBindProgramPipeline(GLuint pipeline)2485 void glBindProgramPipeline(GLuint pipeline)
2486 {
2487 GET_CONTEXT;
2488 ctx->glBindProgramPipeline( pipeline);
2489 }
2490
glGetProgramPipelineiv(GLuint pipeline,GLenum pname,GLint * params)2491 void glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint* params)
2492 {
2493 GET_CONTEXT;
2494 ctx->glGetProgramPipelineiv( pipeline, pname, params);
2495 }
2496
glGetProgramPipelineInfoLog(GLuint pipeline,GLsizei bufSize,GLsizei * length,GLchar * infoLog)2497 void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei* length, GLchar* infoLog)
2498 {
2499 GET_CONTEXT;
2500 ctx->glGetProgramPipelineInfoLog( pipeline, bufSize, length, infoLog);
2501 }
2502
glValidateProgramPipeline(GLuint pipeline)2503 void glValidateProgramPipeline(GLuint pipeline)
2504 {
2505 GET_CONTEXT;
2506 ctx->glValidateProgramPipeline( pipeline);
2507 }
2508
glIsProgramPipeline(GLuint pipeline)2509 GLboolean glIsProgramPipeline(GLuint pipeline)
2510 {
2511 GET_CONTEXT;
2512 return ctx->glIsProgramPipeline( pipeline);
2513 }
2514
glUseProgramStages(GLuint pipeline,GLbitfield stages,GLuint program)2515 void glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program)
2516 {
2517 GET_CONTEXT;
2518 ctx->glUseProgramStages( pipeline, stages, program);
2519 }
2520
glActiveShaderProgram(GLuint pipeline,GLuint program)2521 void glActiveShaderProgram(GLuint pipeline, GLuint program)
2522 {
2523 GET_CONTEXT;
2524 ctx->glActiveShaderProgram( pipeline, program);
2525 }
2526
glCreateShaderProgramv(GLenum type,GLsizei count,const char ** strings)2527 GLuint glCreateShaderProgramv(GLenum type, GLsizei count, const char** strings)
2528 {
2529 GET_CONTEXT;
2530 return ctx->glCreateShaderProgramv( type, count, strings);
2531 }
2532
glCreateShaderProgramvAEMU(GLenum type,GLsizei count,const char * packedStrings,GLuint packedLen)2533 GLuint glCreateShaderProgramvAEMU(GLenum type, GLsizei count, const char* packedStrings, GLuint packedLen)
2534 {
2535 GET_CONTEXT;
2536 return ctx->glCreateShaderProgramvAEMU( type, count, packedStrings, packedLen);
2537 }
2538
glProgramUniform1f(GLuint program,GLint location,GLfloat v0)2539 void glProgramUniform1f(GLuint program, GLint location, GLfloat v0)
2540 {
2541 GET_CONTEXT;
2542 ctx->glProgramUniform1f( program, location, v0);
2543 }
2544
glProgramUniform2f(GLuint program,GLint location,GLfloat v0,GLfloat v1)2545 void glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1)
2546 {
2547 GET_CONTEXT;
2548 ctx->glProgramUniform2f( program, location, v0, v1);
2549 }
2550
glProgramUniform3f(GLuint program,GLint location,GLfloat v0,GLfloat v1,GLfloat v2)2551 void glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
2552 {
2553 GET_CONTEXT;
2554 ctx->glProgramUniform3f( program, location, v0, v1, v2);
2555 }
2556
glProgramUniform4f(GLuint program,GLint location,GLfloat v0,GLfloat v1,GLfloat v2,GLfloat v3)2557 void glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
2558 {
2559 GET_CONTEXT;
2560 ctx->glProgramUniform4f( program, location, v0, v1, v2, v3);
2561 }
2562
glProgramUniform1i(GLuint program,GLint location,GLint v0)2563 void glProgramUniform1i(GLuint program, GLint location, GLint v0)
2564 {
2565 GET_CONTEXT;
2566 ctx->glProgramUniform1i( program, location, v0);
2567 }
2568
glProgramUniform2i(GLuint program,GLint location,GLint v0,GLint v1)2569 void glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1)
2570 {
2571 GET_CONTEXT;
2572 ctx->glProgramUniform2i( program, location, v0, v1);
2573 }
2574
glProgramUniform3i(GLuint program,GLint location,GLint v0,GLint v1,GLint v2)2575 void glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2)
2576 {
2577 GET_CONTEXT;
2578 ctx->glProgramUniform3i( program, location, v0, v1, v2);
2579 }
2580
glProgramUniform4i(GLuint program,GLint location,GLint v0,GLint v1,GLint v2,GLint v3)2581 void glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
2582 {
2583 GET_CONTEXT;
2584 ctx->glProgramUniform4i( program, location, v0, v1, v2, v3);
2585 }
2586
glProgramUniform1ui(GLuint program,GLint location,GLuint v0)2587 void glProgramUniform1ui(GLuint program, GLint location, GLuint v0)
2588 {
2589 GET_CONTEXT;
2590 ctx->glProgramUniform1ui( program, location, v0);
2591 }
2592
glProgramUniform2ui(GLuint program,GLint location,GLint v0,GLuint v1)2593 void glProgramUniform2ui(GLuint program, GLint location, GLint v0, GLuint v1)
2594 {
2595 GET_CONTEXT;
2596 ctx->glProgramUniform2ui( program, location, v0, v1);
2597 }
2598
glProgramUniform3ui(GLuint program,GLint location,GLint v0,GLint v1,GLuint v2)2599 void glProgramUniform3ui(GLuint program, GLint location, GLint v0, GLint v1, GLuint v2)
2600 {
2601 GET_CONTEXT;
2602 ctx->glProgramUniform3ui( program, location, v0, v1, v2);
2603 }
2604
glProgramUniform4ui(GLuint program,GLint location,GLint v0,GLint v1,GLint v2,GLuint v3)2605 void glProgramUniform4ui(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLuint v3)
2606 {
2607 GET_CONTEXT;
2608 ctx->glProgramUniform4ui( program, location, v0, v1, v2, v3);
2609 }
2610
glProgramUniform1fv(GLuint program,GLint location,GLsizei count,const GLfloat * value)2611 void glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat* value)
2612 {
2613 GET_CONTEXT;
2614 ctx->glProgramUniform1fv( program, location, count, value);
2615 }
2616
glProgramUniform2fv(GLuint program,GLint location,GLsizei count,const GLfloat * value)2617 void glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat* value)
2618 {
2619 GET_CONTEXT;
2620 ctx->glProgramUniform2fv( program, location, count, value);
2621 }
2622
glProgramUniform3fv(GLuint program,GLint location,GLsizei count,const GLfloat * value)2623 void glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat* value)
2624 {
2625 GET_CONTEXT;
2626 ctx->glProgramUniform3fv( program, location, count, value);
2627 }
2628
glProgramUniform4fv(GLuint program,GLint location,GLsizei count,const GLfloat * value)2629 void glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat* value)
2630 {
2631 GET_CONTEXT;
2632 ctx->glProgramUniform4fv( program, location, count, value);
2633 }
2634
glProgramUniform1iv(GLuint program,GLint location,GLsizei count,const GLint * value)2635 void glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint* value)
2636 {
2637 GET_CONTEXT;
2638 ctx->glProgramUniform1iv( program, location, count, value);
2639 }
2640
glProgramUniform2iv(GLuint program,GLint location,GLsizei count,const GLint * value)2641 void glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint* value)
2642 {
2643 GET_CONTEXT;
2644 ctx->glProgramUniform2iv( program, location, count, value);
2645 }
2646
glProgramUniform3iv(GLuint program,GLint location,GLsizei count,const GLint * value)2647 void glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint* value)
2648 {
2649 GET_CONTEXT;
2650 ctx->glProgramUniform3iv( program, location, count, value);
2651 }
2652
glProgramUniform4iv(GLuint program,GLint location,GLsizei count,const GLint * value)2653 void glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint* value)
2654 {
2655 GET_CONTEXT;
2656 ctx->glProgramUniform4iv( program, location, count, value);
2657 }
2658
glProgramUniform1uiv(GLuint program,GLint location,GLsizei count,const GLuint * value)2659 void glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint* value)
2660 {
2661 GET_CONTEXT;
2662 ctx->glProgramUniform1uiv( program, location, count, value);
2663 }
2664
glProgramUniform2uiv(GLuint program,GLint location,GLsizei count,const GLuint * value)2665 void glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint* value)
2666 {
2667 GET_CONTEXT;
2668 ctx->glProgramUniform2uiv( program, location, count, value);
2669 }
2670
glProgramUniform3uiv(GLuint program,GLint location,GLsizei count,const GLuint * value)2671 void glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint* value)
2672 {
2673 GET_CONTEXT;
2674 ctx->glProgramUniform3uiv( program, location, count, value);
2675 }
2676
glProgramUniform4uiv(GLuint program,GLint location,GLsizei count,const GLuint * value)2677 void glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint* value)
2678 {
2679 GET_CONTEXT;
2680 ctx->glProgramUniform4uiv( program, location, count, value);
2681 }
2682
glProgramUniformMatrix2fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2683 void glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2684 {
2685 GET_CONTEXT;
2686 ctx->glProgramUniformMatrix2fv( program, location, count, transpose, value);
2687 }
2688
glProgramUniformMatrix3fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2689 void glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2690 {
2691 GET_CONTEXT;
2692 ctx->glProgramUniformMatrix3fv( program, location, count, transpose, value);
2693 }
2694
glProgramUniformMatrix4fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2695 void glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2696 {
2697 GET_CONTEXT;
2698 ctx->glProgramUniformMatrix4fv( program, location, count, transpose, value);
2699 }
2700
glProgramUniformMatrix2x3fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2701 void glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2702 {
2703 GET_CONTEXT;
2704 ctx->glProgramUniformMatrix2x3fv( program, location, count, transpose, value);
2705 }
2706
glProgramUniformMatrix3x2fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2707 void glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2708 {
2709 GET_CONTEXT;
2710 ctx->glProgramUniformMatrix3x2fv( program, location, count, transpose, value);
2711 }
2712
glProgramUniformMatrix2x4fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2713 void glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2714 {
2715 GET_CONTEXT;
2716 ctx->glProgramUniformMatrix2x4fv( program, location, count, transpose, value);
2717 }
2718
glProgramUniformMatrix4x2fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2719 void glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2720 {
2721 GET_CONTEXT;
2722 ctx->glProgramUniformMatrix4x2fv( program, location, count, transpose, value);
2723 }
2724
glProgramUniformMatrix3x4fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2725 void glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2726 {
2727 GET_CONTEXT;
2728 ctx->glProgramUniformMatrix3x4fv( program, location, count, transpose, value);
2729 }
2730
glProgramUniformMatrix4x3fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2731 void glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
2732 {
2733 GET_CONTEXT;
2734 ctx->glProgramUniformMatrix4x3fv( program, location, count, transpose, value);
2735 }
2736
glGetProgramInterfaceiv(GLuint program,GLenum programInterface,GLenum pname,GLint * params)2737 void glGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pname, GLint* params)
2738 {
2739 GET_CONTEXT;
2740 ctx->glGetProgramInterfaceiv( program, programInterface, pname, params);
2741 }
2742
glGetProgramResourceiv(GLuint program,GLenum programInterface,GLuint index,GLsizei propCount,const GLenum * props,GLsizei bufSize,GLsizei * length,GLint * params)2743 void glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum* props, GLsizei bufSize, GLsizei* length, GLint* params)
2744 {
2745 GET_CONTEXT;
2746 ctx->glGetProgramResourceiv( program, programInterface, index, propCount, props, bufSize, length, params);
2747 }
2748
glGetProgramResourceIndex(GLuint program,GLenum programInterface,const char * name)2749 GLuint glGetProgramResourceIndex(GLuint program, GLenum programInterface, const char* name)
2750 {
2751 GET_CONTEXT;
2752 return ctx->glGetProgramResourceIndex( program, programInterface, name);
2753 }
2754
glGetProgramResourceLocation(GLuint program,GLenum programInterface,const char * name)2755 GLint glGetProgramResourceLocation(GLuint program, GLenum programInterface, const char* name)
2756 {
2757 GET_CONTEXT;
2758 return ctx->glGetProgramResourceLocation( program, programInterface, name);
2759 }
2760
glGetProgramResourceName(GLuint program,GLenum programInterface,GLuint index,GLsizei bufSize,GLsizei * length,char * name)2761 void glGetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei* length, char* name)
2762 {
2763 GET_CONTEXT;
2764 ctx->glGetProgramResourceName( program, programInterface, index, bufSize, length, name);
2765 }
2766
glBindImageTexture(GLuint unit,GLuint texture,GLint level,GLboolean layered,GLint layer,GLenum access,GLenum format)2767 void glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format)
2768 {
2769 GET_CONTEXT;
2770 ctx->glBindImageTexture( unit, texture, level, layered, layer, access, format);
2771 }
2772
glDispatchCompute(GLuint num_groups_x,GLuint num_groups_y,GLuint num_groups_z)2773 void glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z)
2774 {
2775 GET_CONTEXT;
2776 ctx->glDispatchCompute( num_groups_x, num_groups_y, num_groups_z);
2777 }
2778
glDispatchComputeIndirect(GLintptr indirect)2779 void glDispatchComputeIndirect(GLintptr indirect)
2780 {
2781 GET_CONTEXT;
2782 ctx->glDispatchComputeIndirect( indirect);
2783 }
2784
glBindVertexBuffer(GLuint bindingindex,GLuint buffer,GLintptr offset,GLintptr stride)2785 void glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLintptr stride)
2786 {
2787 GET_CONTEXT;
2788 ctx->glBindVertexBuffer( bindingindex, buffer, offset, stride);
2789 }
2790
glVertexAttribBinding(GLuint attribindex,GLuint bindingindex)2791 void glVertexAttribBinding(GLuint attribindex, GLuint bindingindex)
2792 {
2793 GET_CONTEXT;
2794 ctx->glVertexAttribBinding( attribindex, bindingindex);
2795 }
2796
glVertexAttribFormat(GLuint attribindex,GLint size,GLenum type,GLboolean normalized,GLuint relativeoffset)2797 void glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)
2798 {
2799 GET_CONTEXT;
2800 ctx->glVertexAttribFormat( attribindex, size, type, normalized, relativeoffset);
2801 }
2802
glVertexAttribIFormat(GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)2803 void glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
2804 {
2805 GET_CONTEXT;
2806 ctx->glVertexAttribIFormat( attribindex, size, type, relativeoffset);
2807 }
2808
glVertexBindingDivisor(GLuint bindingindex,GLuint divisor)2809 void glVertexBindingDivisor(GLuint bindingindex, GLuint divisor)
2810 {
2811 GET_CONTEXT;
2812 ctx->glVertexBindingDivisor( bindingindex, divisor);
2813 }
2814
glDrawArraysIndirect(GLenum mode,const void * indirect)2815 void glDrawArraysIndirect(GLenum mode, const void* indirect)
2816 {
2817 GET_CONTEXT;
2818 ctx->glDrawArraysIndirect( mode, indirect);
2819 }
2820
glDrawArraysIndirectDataAEMU(GLenum mode,const void * indirect,GLuint datalen)2821 void glDrawArraysIndirectDataAEMU(GLenum mode, const void* indirect, GLuint datalen)
2822 {
2823 GET_CONTEXT;
2824 ctx->glDrawArraysIndirectDataAEMU( mode, indirect, datalen);
2825 }
2826
glDrawArraysIndirectOffsetAEMU(GLenum mode,GLuint offset)2827 void glDrawArraysIndirectOffsetAEMU(GLenum mode, GLuint offset)
2828 {
2829 GET_CONTEXT;
2830 ctx->glDrawArraysIndirectOffsetAEMU( mode, offset);
2831 }
2832
glDrawElementsIndirect(GLenum mode,GLenum type,const void * indirect)2833 void glDrawElementsIndirect(GLenum mode, GLenum type, const void* indirect)
2834 {
2835 GET_CONTEXT;
2836 ctx->glDrawElementsIndirect( mode, type, indirect);
2837 }
2838
glDrawElementsIndirectDataAEMU(GLenum mode,GLenum type,const void * indirect,GLuint datalen)2839 void glDrawElementsIndirectDataAEMU(GLenum mode, GLenum type, const void* indirect, GLuint datalen)
2840 {
2841 GET_CONTEXT;
2842 ctx->glDrawElementsIndirectDataAEMU( mode, type, indirect, datalen);
2843 }
2844
glDrawElementsIndirectOffsetAEMU(GLenum mode,GLenum type,GLuint offset)2845 void glDrawElementsIndirectOffsetAEMU(GLenum mode, GLenum type, GLuint offset)
2846 {
2847 GET_CONTEXT;
2848 ctx->glDrawElementsIndirectOffsetAEMU( mode, type, offset);
2849 }
2850
glTexStorage2DMultisample(GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLboolean fixedsamplelocations)2851 void glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
2852 {
2853 GET_CONTEXT;
2854 ctx->glTexStorage2DMultisample( target, samples, internalformat, width, height, fixedsamplelocations);
2855 }
2856
glSampleMaski(GLuint maskNumber,GLbitfield mask)2857 void glSampleMaski(GLuint maskNumber, GLbitfield mask)
2858 {
2859 GET_CONTEXT;
2860 ctx->glSampleMaski( maskNumber, mask);
2861 }
2862
glGetMultisamplefv(GLenum pname,GLuint index,GLfloat * val)2863 void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat* val)
2864 {
2865 GET_CONTEXT;
2866 ctx->glGetMultisamplefv( pname, index, val);
2867 }
2868
glFramebufferParameteri(GLenum target,GLenum pname,GLint param)2869 void glFramebufferParameteri(GLenum target, GLenum pname, GLint param)
2870 {
2871 GET_CONTEXT;
2872 ctx->glFramebufferParameteri( target, pname, param);
2873 }
2874
glGetFramebufferParameteriv(GLenum target,GLenum pname,GLint * params)2875 void glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint* params)
2876 {
2877 GET_CONTEXT;
2878 ctx->glGetFramebufferParameteriv( target, pname, params);
2879 }
2880
glGetTexLevelParameterfv(GLenum target,GLint level,GLenum pname,GLfloat * params)2881 void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat* params)
2882 {
2883 GET_CONTEXT;
2884 ctx->glGetTexLevelParameterfv( target, level, pname, params);
2885 }
2886
glGetTexLevelParameteriv(GLenum target,GLint level,GLenum pname,GLint * params)2887 void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint* params)
2888 {
2889 GET_CONTEXT;
2890 ctx->glGetTexLevelParameteriv( target, level, pname, params);
2891 }
2892
2893