1/****************************************************************************
2**
3** Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
4** Copyright (C) 2016 The Qt Company Ltd.
5** Contact: https://www.qt.io/licensing/
6**
7** This file is part of the QtOpenGL module of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:LGPL$
10** Commercial License Usage
11** Licensees holding valid commercial Qt licenses may use this file in
12** accordance with the commercial license agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and The Qt Company. For licensing terms
15** and conditions see https://www.qt.io/terms-conditions. For further
16** information use the contact form at https://www.qt.io/contact-us.
17**
18** GNU Lesser General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU Lesser
20** General Public License version 3 as published by the Free Software
21** Foundation and appearing in the file LICENSE.LGPL3 included in the
22** packaging of this file. Please review the following information to
23** ensure the GNU Lesser General Public License version 3 requirements
24** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
25**
26** GNU General Public License Usage
27** Alternatively, this file may be used under the terms of the GNU
28** General Public License version 2.0 or (at your option) the GNU General
29** Public license version 3 or any later version approved by the KDE Free
30** Qt Foundation. The licenses are as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
32** included in the packaging of this file. Please review the following
33** information to ensure the GNU General Public License requirements will
34** be met: https://www.gnu.org/licenses/gpl-2.0.html and
35** https://www.gnu.org/licenses/gpl-3.0.html.
36**
37** $QT_END_LICENSE$
38**
39**
40** This file was generated by glgen version 0.1
41** Command line was: glgen
42**
43** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
44**
45** This is an auto-generated file.
46** Do not edit! All changes made to it will be lost.
47**
48****************************************************************************/
49
50#ifndef QOPENGLVERSIONFUNCTIONS_2_1_H
51#define QOPENGLVERSIONFUNCTIONS_2_1_H
52
53#include <QtOpenGL/qtopenglglobal.h>
54
55#if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2)
56
57#include <QtOpenGL/QOpenGLVersionProfile>
58#include <QtOpenGL/QOpenGLVersionFunctions>
59#include <QtGui/qopenglcontext.h>
60
61QT_BEGIN_NAMESPACE
62
63class Q_OPENGL_EXPORT QOpenGLFunctions_2_1 : public QAbstractOpenGLFunctions
64{
65public:
66 QOpenGLFunctions_2_1();
67 ~QOpenGLFunctions_2_1();
68
69 bool initializeOpenGLFunctions() override;
70
71 // OpenGL 1.0 core functions
72 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
73 void glDepthRange(GLdouble nearVal, GLdouble farVal);
74 GLboolean glIsEnabled(GLenum cap);
75 void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
76 void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params);
77 void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params);
78 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params);
79 void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
80 const GLubyte * glGetString(GLenum name);
81 void glGetIntegerv(GLenum pname, GLint *params);
82 void glGetFloatv(GLenum pname, GLfloat *params);
83 GLenum glGetError();
84 void glGetDoublev(GLenum pname, GLdouble *params);
85 void glGetBooleanv(GLenum pname, GLboolean *params);
86 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
87 void glReadBuffer(GLenum mode);
88 void glPixelStorei(GLenum pname, GLint param);
89 void glPixelStoref(GLenum pname, GLfloat param);
90 void glDepthFunc(GLenum func);
91 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
92 void glStencilFunc(GLenum func, GLint ref, GLuint mask);
93 void glLogicOp(GLenum opcode);
94 void glBlendFunc(GLenum sfactor, GLenum dfactor);
95 void glFlush();
96 void glFinish();
97 void glEnable(GLenum cap);
98 void glDisable(GLenum cap);
99 void glDepthMask(GLboolean flag);
100 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
101 void glStencilMask(GLuint mask);
102 void glClearDepth(GLdouble depth);
103 void glClearStencil(GLint s);
104 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
105 void glClear(GLbitfield mask);
106 void glDrawBuffer(GLenum mode);
107 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
108 void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
109 void glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
110 void glTexParameteri(GLenum target, GLenum pname, GLint param);
111 void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
112 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
113 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
114 void glPolygonMode(GLenum face, GLenum mode);
115 void glPointSize(GLfloat size);
116 void glLineWidth(GLfloat width);
117 void glHint(GLenum target, GLenum mode);
118 void glFrontFace(GLenum mode);
119 void glCullFace(GLenum mode);
120
121 // OpenGL 1.1 core functions
122 void glIndexubv(const GLubyte *c);
123 void glIndexub(GLubyte c);
124 GLboolean glIsTexture(GLuint texture);
125 void glGenTextures(GLsizei n, GLuint *textures);
126 void glDeleteTextures(GLsizei n, const GLuint *textures);
127 void glBindTexture(GLenum target, GLuint texture);
128 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
129 void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
130 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
131 void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
132 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
133 void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
134 void glPolygonOffset(GLfloat factor, GLfloat units);
135 void glGetPointerv(GLenum pname, GLvoid* *params);
136 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
137 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
138
139 // OpenGL 1.2 core functions
140 void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
141 void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
142 void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
143 void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
144 void glBlendEquation(GLenum mode);
145 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
146
147 // OpenGL 1.3 core functions
148 void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img);
149 void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
150 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
151 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);
152 void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
153 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
154 void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
155 void glSampleCoverage(GLfloat value, GLboolean invert);
156 void glActiveTexture(GLenum texture);
157
158 // OpenGL 1.4 core functions
159 void glPointParameteriv(GLenum pname, const GLint *params);
160 void glPointParameteri(GLenum pname, GLint param);
161 void glPointParameterfv(GLenum pname, const GLfloat *params);
162 void glPointParameterf(GLenum pname, GLfloat param);
163 void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
164 void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
165 void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
166
167 // OpenGL 1.5 core functions
168 void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params);
169 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params);
170 GLboolean glUnmapBuffer(GLenum target);
171 GLvoid* glMapBuffer(GLenum target, GLenum access);
172 void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
173 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
174 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
175 GLboolean glIsBuffer(GLuint buffer);
176 void glGenBuffers(GLsizei n, GLuint *buffers);
177 void glDeleteBuffers(GLsizei n, const GLuint *buffers);
178 void glBindBuffer(GLenum target, GLuint buffer);
179 void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params);
180 void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params);
181 void glGetQueryiv(GLenum target, GLenum pname, GLint *params);
182 void glEndQuery(GLenum target);
183 void glBeginQuery(GLenum target, GLuint id);
184 GLboolean glIsQuery(GLuint id);
185 void glDeleteQueries(GLsizei n, const GLuint *ids);
186 void glGenQueries(GLsizei n, GLuint *ids);
187
188 // OpenGL 2.0 core functions
189 void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
190 void glValidateProgram(GLuint program);
191 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
192 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
193 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
194 void glUniform4iv(GLint location, GLsizei count, const GLint *value);
195 void glUniform3iv(GLint location, GLsizei count, const GLint *value);
196 void glUniform2iv(GLint location, GLsizei count, const GLint *value);
197 void glUniform1iv(GLint location, GLsizei count, const GLint *value);
198 void glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
199 void glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
200 void glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
201 void glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
202 void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
203 void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
204 void glUniform2i(GLint location, GLint v0, GLint v1);
205 void glUniform1i(GLint location, GLint v0);
206 void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
207 void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
208 void glUniform2f(GLint location, GLfloat v0, GLfloat v1);
209 void glUniform1f(GLint location, GLfloat v0);
210 void glUseProgram(GLuint program);
211 void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
212 void glLinkProgram(GLuint program);
213 GLboolean glIsShader(GLuint shader);
214 GLboolean glIsProgram(GLuint program);
215 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer);
216 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
217 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
218 void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params);
219 void glGetUniformiv(GLuint program, GLint location, GLint *params);
220 void glGetUniformfv(GLuint program, GLint location, GLfloat *params);
221 GLint glGetUniformLocation(GLuint program, const GLchar *name);
222 void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
223 void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
224 void glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
225 void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
226 void glGetProgramiv(GLuint program, GLenum pname, GLint *params);
227 GLint glGetAttribLocation(GLuint program, const GLchar *name);
228 void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
229 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
230 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
231 void glEnableVertexAttribArray(GLuint index);
232 void glDisableVertexAttribArray(GLuint index);
233 void glDetachShader(GLuint program, GLuint shader);
234 void glDeleteShader(GLuint shader);
235 void glDeleteProgram(GLuint program);
236 GLuint glCreateShader(GLenum type);
237 GLuint glCreateProgram();
238 void glCompileShader(GLuint shader);
239 void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
240 void glAttachShader(GLuint program, GLuint shader);
241 void glStencilMaskSeparate(GLenum face, GLuint mask);
242 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
243 void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
244 void glDrawBuffers(GLsizei n, const GLenum *bufs);
245 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
246
247 // OpenGL 2.1 core functions
248 void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
249 void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
250 void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
251 void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
252 void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
253 void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
254
255 // OpenGL 1.0 deprecated functions
256 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
257 void glTranslated(GLdouble x, GLdouble y, GLdouble z);
258 void glScalef(GLfloat x, GLfloat y, GLfloat z);
259 void glScaled(GLdouble x, GLdouble y, GLdouble z);
260 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
261 void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
262 void glPushMatrix();
263 void glPopMatrix();
264 void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
265 void glMultMatrixd(const GLdouble *m);
266 void glMultMatrixf(const GLfloat *m);
267 void glMatrixMode(GLenum mode);
268 void glLoadMatrixd(const GLdouble *m);
269 void glLoadMatrixf(const GLfloat *m);
270 void glLoadIdentity();
271 void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
272 GLboolean glIsList(GLuint list);
273 void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
274 void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
275 void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
276 void glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
277 void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
278 void glGetPolygonStipple(GLubyte *mask);
279 void glGetPixelMapusv(GLenum map, GLushort *values);
280 void glGetPixelMapuiv(GLenum map, GLuint *values);
281 void glGetPixelMapfv(GLenum map, GLfloat *values);
282 void glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
283 void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
284 void glGetMapiv(GLenum target, GLenum query, GLint *v);
285 void glGetMapfv(GLenum target, GLenum query, GLfloat *v);
286 void glGetMapdv(GLenum target, GLenum query, GLdouble *v);
287 void glGetLightiv(GLenum light, GLenum pname, GLint *params);
288 void glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
289 void glGetClipPlane(GLenum plane, GLdouble *equation);
290 void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
291 void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
292 void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values);
293 void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values);
294 void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values);
295 void glPixelTransferi(GLenum pname, GLint param);
296 void glPixelTransferf(GLenum pname, GLfloat param);
297 void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
298 void glAlphaFunc(GLenum func, GLfloat ref);
299 void glEvalPoint2(GLint i, GLint j);
300 void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
301 void glEvalPoint1(GLint i);
302 void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
303 void glEvalCoord2fv(const GLfloat *u);
304 void glEvalCoord2f(GLfloat u, GLfloat v);
305 void glEvalCoord2dv(const GLdouble *u);
306 void glEvalCoord2d(GLdouble u, GLdouble v);
307 void glEvalCoord1fv(const GLfloat *u);
308 void glEvalCoord1f(GLfloat u);
309 void glEvalCoord1dv(const GLdouble *u);
310 void glEvalCoord1d(GLdouble u);
311 void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
312 void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
313 void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
314 void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
315 void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
316 void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
317 void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
318 void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
319 void glPushAttrib(GLbitfield mask);
320 void glPopAttrib();
321 void glAccum(GLenum op, GLfloat value);
322 void glIndexMask(GLuint mask);
323 void glClearIndex(GLfloat c);
324 void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
325 void glPushName(GLuint name);
326 void glPopName();
327 void glPassThrough(GLfloat token);
328 void glLoadName(GLuint name);
329 void glInitNames();
330 GLint glRenderMode(GLenum mode);
331 void glSelectBuffer(GLsizei size, GLuint *buffer);
332 void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
333 void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
334 void glTexGeni(GLenum coord, GLenum pname, GLint param);
335 void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
336 void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
337 void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params);
338 void glTexGend(GLenum coord, GLenum pname, GLdouble param);
339 void glTexEnviv(GLenum target, GLenum pname, const GLint *params);
340 void glTexEnvi(GLenum target, GLenum pname, GLint param);
341 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
342 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
343 void glShadeModel(GLenum mode);
344 void glPolygonStipple(const GLubyte *mask);
345 void glMaterialiv(GLenum face, GLenum pname, const GLint *params);
346 void glMateriali(GLenum face, GLenum pname, GLint param);
347 void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
348 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
349 void glLineStipple(GLint factor, GLushort pattern);
350 void glLightModeliv(GLenum pname, const GLint *params);
351 void glLightModeli(GLenum pname, GLint param);
352 void glLightModelfv(GLenum pname, const GLfloat *params);
353 void glLightModelf(GLenum pname, GLfloat param);
354 void glLightiv(GLenum light, GLenum pname, const GLint *params);
355 void glLighti(GLenum light, GLenum pname, GLint param);
356 void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
357 void glLightf(GLenum light, GLenum pname, GLfloat param);
358 void glFogiv(GLenum pname, const GLint *params);
359 void glFogi(GLenum pname, GLint param);
360 void glFogfv(GLenum pname, const GLfloat *params);
361 void glFogf(GLenum pname, GLfloat param);
362 void glColorMaterial(GLenum face, GLenum mode);
363 void glClipPlane(GLenum plane, const GLdouble *equation);
364 void glVertex4sv(const GLshort *v);
365 void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
366 void glVertex4iv(const GLint *v);
367 void glVertex4i(GLint x, GLint y, GLint z, GLint w);
368 void glVertex4fv(const GLfloat *v);
369 void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
370 void glVertex4dv(const GLdouble *v);
371 void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
372 void glVertex3sv(const GLshort *v);
373 void glVertex3s(GLshort x, GLshort y, GLshort z);
374 void glVertex3iv(const GLint *v);
375 void glVertex3i(GLint x, GLint y, GLint z);
376 void glVertex3fv(const GLfloat *v);
377 void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
378 void glVertex3dv(const GLdouble *v);
379 void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
380 void glVertex2sv(const GLshort *v);
381 void glVertex2s(GLshort x, GLshort y);
382 void glVertex2iv(const GLint *v);
383 void glVertex2i(GLint x, GLint y);
384 void glVertex2fv(const GLfloat *v);
385 void glVertex2f(GLfloat x, GLfloat y);
386 void glVertex2dv(const GLdouble *v);
387 void glVertex2d(GLdouble x, GLdouble y);
388 void glTexCoord4sv(const GLshort *v);
389 void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
390 void glTexCoord4iv(const GLint *v);
391 void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
392 void glTexCoord4fv(const GLfloat *v);
393 void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
394 void glTexCoord4dv(const GLdouble *v);
395 void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
396 void glTexCoord3sv(const GLshort *v);
397 void glTexCoord3s(GLshort s, GLshort t, GLshort r);
398 void glTexCoord3iv(const GLint *v);
399 void glTexCoord3i(GLint s, GLint t, GLint r);
400 void glTexCoord3fv(const GLfloat *v);
401 void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
402 void glTexCoord3dv(const GLdouble *v);
403 void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
404 void glTexCoord2sv(const GLshort *v);
405 void glTexCoord2s(GLshort s, GLshort t);
406 void glTexCoord2iv(const GLint *v);
407 void glTexCoord2i(GLint s, GLint t);
408 void glTexCoord2fv(const GLfloat *v);
409 void glTexCoord2f(GLfloat s, GLfloat t);
410 void glTexCoord2dv(const GLdouble *v);
411 void glTexCoord2d(GLdouble s, GLdouble t);
412 void glTexCoord1sv(const GLshort *v);
413 void glTexCoord1s(GLshort s);
414 void glTexCoord1iv(const GLint *v);
415 void glTexCoord1i(GLint s);
416 void glTexCoord1fv(const GLfloat *v);
417 void glTexCoord1f(GLfloat s);
418 void glTexCoord1dv(const GLdouble *v);
419 void glTexCoord1d(GLdouble s);
420 void glRectsv(const GLshort *v1, const GLshort *v2);
421 void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
422 void glRectiv(const GLint *v1, const GLint *v2);
423 void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
424 void glRectfv(const GLfloat *v1, const GLfloat *v2);
425 void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
426 void glRectdv(const GLdouble *v1, const GLdouble *v2);
427 void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
428 void glRasterPos4sv(const GLshort *v);
429 void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
430 void glRasterPos4iv(const GLint *v);
431 void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
432 void glRasterPos4fv(const GLfloat *v);
433 void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
434 void glRasterPos4dv(const GLdouble *v);
435 void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
436 void glRasterPos3sv(const GLshort *v);
437 void glRasterPos3s(GLshort x, GLshort y, GLshort z);
438 void glRasterPos3iv(const GLint *v);
439 void glRasterPos3i(GLint x, GLint y, GLint z);
440 void glRasterPos3fv(const GLfloat *v);
441 void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
442 void glRasterPos3dv(const GLdouble *v);
443 void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
444 void glRasterPos2sv(const GLshort *v);
445 void glRasterPos2s(GLshort x, GLshort y);
446 void glRasterPos2iv(const GLint *v);
447 void glRasterPos2i(GLint x, GLint y);
448 void glRasterPos2fv(const GLfloat *v);
449 void glRasterPos2f(GLfloat x, GLfloat y);
450 void glRasterPos2dv(const GLdouble *v);
451 void glRasterPos2d(GLdouble x, GLdouble y);
452 void glNormal3sv(const GLshort *v);
453 void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
454 void glNormal3iv(const GLint *v);
455 void glNormal3i(GLint nx, GLint ny, GLint nz);
456 void glNormal3fv(const GLfloat *v);
457 void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
458 void glNormal3dv(const GLdouble *v);
459 void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
460 void glNormal3bv(const GLbyte *v);
461 void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
462 void glIndexsv(const GLshort *c);
463 void glIndexs(GLshort c);
464 void glIndexiv(const GLint *c);
465 void glIndexi(GLint c);
466 void glIndexfv(const GLfloat *c);
467 void glIndexf(GLfloat c);
468 void glIndexdv(const GLdouble *c);
469 void glIndexd(GLdouble c);
470 void glEnd();
471 void glEdgeFlagv(const GLboolean *flag);
472 void glEdgeFlag(GLboolean flag);
473 void glColor4usv(const GLushort *v);
474 void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
475 void glColor4uiv(const GLuint *v);
476 void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
477 void glColor4ubv(const GLubyte *v);
478 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
479 void glColor4sv(const GLshort *v);
480 void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
481 void glColor4iv(const GLint *v);
482 void glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
483 void glColor4fv(const GLfloat *v);
484 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
485 void glColor4dv(const GLdouble *v);
486 void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
487 void glColor4bv(const GLbyte *v);
488 void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
489 void glColor3usv(const GLushort *v);
490 void glColor3us(GLushort red, GLushort green, GLushort blue);
491 void glColor3uiv(const GLuint *v);
492 void glColor3ui(GLuint red, GLuint green, GLuint blue);
493 void glColor3ubv(const GLubyte *v);
494 void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
495 void glColor3sv(const GLshort *v);
496 void glColor3s(GLshort red, GLshort green, GLshort blue);
497 void glColor3iv(const GLint *v);
498 void glColor3i(GLint red, GLint green, GLint blue);
499 void glColor3fv(const GLfloat *v);
500 void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
501 void glColor3dv(const GLdouble *v);
502 void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
503 void glColor3bv(const GLbyte *v);
504 void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
505 void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
506 void glBegin(GLenum mode);
507 void glListBase(GLuint base);
508 GLuint glGenLists(GLsizei range);
509 void glDeleteLists(GLuint list, GLsizei range);
510 void glCallLists(GLsizei n, GLenum type, const GLvoid *lists);
511 void glCallList(GLuint list);
512 void glEndList();
513 void glNewList(GLuint list, GLenum mode);
514
515 // OpenGL 1.1 deprecated functions
516 void glPushClientAttrib(GLbitfield mask);
517 void glPopClientAttrib();
518 void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities);
519 GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences);
520 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
521 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
522 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
523 void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer);
524 void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
525 void glEnableClientState(GLenum array);
526 void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer);
527 void glDisableClientState(GLenum array);
528 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
529 void glArrayElement(GLint i);
530
531 // OpenGL 1.2 deprecated functions
532 void glResetMinmax(GLenum target);
533 void glResetHistogram(GLenum target);
534 void glMinmax(GLenum target, GLenum internalformat, GLboolean sink);
535 void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
536 void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params);
537 void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params);
538 void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
539 void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params);
540 void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params);
541 void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
542 void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
543 void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
544 void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
545 void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
546 void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image);
547 void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
548 void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
549 void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
550 void glConvolutionParameteri(GLenum target, GLenum pname, GLint params);
551 void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params);
552 void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
553 void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
554 void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
555 void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
556 void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
557 void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params);
558 void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params);
559 void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table);
560 void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
561 void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params);
562 void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params);
563 void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
564
565 // OpenGL 1.3 deprecated functions
566 void glMultTransposeMatrixd(const GLdouble *m);
567 void glMultTransposeMatrixf(const GLfloat *m);
568 void glLoadTransposeMatrixd(const GLdouble *m);
569 void glLoadTransposeMatrixf(const GLfloat *m);
570 void glMultiTexCoord4sv(GLenum target, const GLshort *v);
571 void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
572 void glMultiTexCoord4iv(GLenum target, const GLint *v);
573 void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q);
574 void glMultiTexCoord4fv(GLenum target, const GLfloat *v);
575 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
576 void glMultiTexCoord4dv(GLenum target, const GLdouble *v);
577 void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
578 void glMultiTexCoord3sv(GLenum target, const GLshort *v);
579 void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r);
580 void glMultiTexCoord3iv(GLenum target, const GLint *v);
581 void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r);
582 void glMultiTexCoord3fv(GLenum target, const GLfloat *v);
583 void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r);
584 void glMultiTexCoord3dv(GLenum target, const GLdouble *v);
585 void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r);
586 void glMultiTexCoord2sv(GLenum target, const GLshort *v);
587 void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t);
588 void glMultiTexCoord2iv(GLenum target, const GLint *v);
589 void glMultiTexCoord2i(GLenum target, GLint s, GLint t);
590 void glMultiTexCoord2fv(GLenum target, const GLfloat *v);
591 void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t);
592 void glMultiTexCoord2dv(GLenum target, const GLdouble *v);
593 void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t);
594 void glMultiTexCoord1sv(GLenum target, const GLshort *v);
595 void glMultiTexCoord1s(GLenum target, GLshort s);
596 void glMultiTexCoord1iv(GLenum target, const GLint *v);
597 void glMultiTexCoord1i(GLenum target, GLint s);
598 void glMultiTexCoord1fv(GLenum target, const GLfloat *v);
599 void glMultiTexCoord1f(GLenum target, GLfloat s);
600 void glMultiTexCoord1dv(GLenum target, const GLdouble *v);
601 void glMultiTexCoord1d(GLenum target, GLdouble s);
602 void glClientActiveTexture(GLenum texture);
603
604 // OpenGL 1.4 deprecated functions
605 void glWindowPos3sv(const GLshort *v);
606 void glWindowPos3s(GLshort x, GLshort y, GLshort z);
607 void glWindowPos3iv(const GLint *v);
608 void glWindowPos3i(GLint x, GLint y, GLint z);
609 void glWindowPos3fv(const GLfloat *v);
610 void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z);
611 void glWindowPos3dv(const GLdouble *v);
612 void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z);
613 void glWindowPos2sv(const GLshort *v);
614 void glWindowPos2s(GLshort x, GLshort y);
615 void glWindowPos2iv(const GLint *v);
616 void glWindowPos2i(GLint x, GLint y);
617 void glWindowPos2fv(const GLfloat *v);
618 void glWindowPos2f(GLfloat x, GLfloat y);
619 void glWindowPos2dv(const GLdouble *v);
620 void glWindowPos2d(GLdouble x, GLdouble y);
621 void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
622 void glSecondaryColor3usv(const GLushort *v);
623 void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue);
624 void glSecondaryColor3uiv(const GLuint *v);
625 void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue);
626 void glSecondaryColor3ubv(const GLubyte *v);
627 void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue);
628 void glSecondaryColor3sv(const GLshort *v);
629 void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue);
630 void glSecondaryColor3iv(const GLint *v);
631 void glSecondaryColor3i(GLint red, GLint green, GLint blue);
632 void glSecondaryColor3fv(const GLfloat *v);
633 void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue);
634 void glSecondaryColor3dv(const GLdouble *v);
635 void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue);
636 void glSecondaryColor3bv(const GLbyte *v);
637 void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue);
638 void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
639 void glFogCoorddv(const GLdouble *coord);
640 void glFogCoordd(GLdouble coord);
641 void glFogCoordfv(const GLfloat *coord);
642 void glFogCoordf(GLfloat coord);
643
644 // OpenGL 1.5 deprecated functions
645
646 // OpenGL 2.0 deprecated functions
647 void glVertexAttrib4usv(GLuint index, const GLushort *v);
648 void glVertexAttrib4uiv(GLuint index, const GLuint *v);
649 void glVertexAttrib4ubv(GLuint index, const GLubyte *v);
650 void glVertexAttrib4sv(GLuint index, const GLshort *v);
651 void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
652 void glVertexAttrib4iv(GLuint index, const GLint *v);
653 void glVertexAttrib4fv(GLuint index, const GLfloat *v);
654 void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
655 void glVertexAttrib4dv(GLuint index, const GLdouble *v);
656 void glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
657 void glVertexAttrib4bv(GLuint index, const GLbyte *v);
658 void glVertexAttrib4Nusv(GLuint index, const GLushort *v);
659 void glVertexAttrib4Nuiv(GLuint index, const GLuint *v);
660 void glVertexAttrib4Nubv(GLuint index, const GLubyte *v);
661 void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
662 void glVertexAttrib4Nsv(GLuint index, const GLshort *v);
663 void glVertexAttrib4Niv(GLuint index, const GLint *v);
664 void glVertexAttrib4Nbv(GLuint index, const GLbyte *v);
665 void glVertexAttrib3sv(GLuint index, const GLshort *v);
666 void glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z);
667 void glVertexAttrib3fv(GLuint index, const GLfloat *v);
668 void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z);
669 void glVertexAttrib3dv(GLuint index, const GLdouble *v);
670 void glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z);
671 void glVertexAttrib2sv(GLuint index, const GLshort *v);
672 void glVertexAttrib2s(GLuint index, GLshort x, GLshort y);
673 void glVertexAttrib2fv(GLuint index, const GLfloat *v);
674 void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y);
675 void glVertexAttrib2dv(GLuint index, const GLdouble *v);
676 void glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y);
677 void glVertexAttrib1sv(GLuint index, const GLshort *v);
678 void glVertexAttrib1s(GLuint index, GLshort x);
679 void glVertexAttrib1fv(GLuint index, const GLfloat *v);
680 void glVertexAttrib1f(GLuint index, GLfloat x);
681 void glVertexAttrib1dv(GLuint index, const GLdouble *v);
682 void glVertexAttrib1d(GLuint index, GLdouble x);
683
684 // OpenGL 2.1 deprecated functions
685
686private:
687 friend class QOpenGLVersionFunctionsFactory;
688
689 static bool isContextCompatible(QOpenGLContext *context);
690 static QOpenGLVersionProfile versionProfile();
691
692 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
693 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
694 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
695 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
696 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
697 QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core;
698 QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core;
699 QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core;
700 QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated;
701 QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated;
702 QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated;
703 QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated;
704 QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated;
705 void *m_reserved_2_0_Deprecated; // To maintain BC
706};
707
708// OpenGL 1.0 core functions
709inline void QOpenGLFunctions_2_1::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
710{
711 d_1_0_Core->f.Viewport(x, y, width, height);
712}
713
714inline void QOpenGLFunctions_2_1::glDepthRange(GLdouble nearVal, GLdouble farVal)
715{
716 d_1_0_Core->f.DepthRange(nearVal, farVal);
717}
718
719inline GLboolean QOpenGLFunctions_2_1::glIsEnabled(GLenum cap)
720{
721 return d_1_0_Core->f.IsEnabled(cap);
722}
723
724inline void QOpenGLFunctions_2_1::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
725{
726 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
727}
728
729inline void QOpenGLFunctions_2_1::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
730{
731 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
732}
733
734inline void QOpenGLFunctions_2_1::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
735{
736 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
737}
738
739inline void QOpenGLFunctions_2_1::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
740{
741 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
742}
743
744inline void QOpenGLFunctions_2_1::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
745{
746 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
747}
748
749inline const GLubyte * QOpenGLFunctions_2_1::glGetString(GLenum name)
750{
751 return d_1_0_Core->f.GetString(name);
752}
753
754inline void QOpenGLFunctions_2_1::glGetIntegerv(GLenum pname, GLint *params)
755{
756 d_1_0_Core->f.GetIntegerv(pname, params);
757}
758
759inline void QOpenGLFunctions_2_1::glGetFloatv(GLenum pname, GLfloat *params)
760{
761 d_1_0_Core->f.GetFloatv(pname, params);
762}
763
764inline GLenum QOpenGLFunctions_2_1::glGetError()
765{
766 return d_1_0_Core->f.GetError();
767}
768
769inline void QOpenGLFunctions_2_1::glGetDoublev(GLenum pname, GLdouble *params)
770{
771 d_1_0_Core->f.GetDoublev(pname, params);
772}
773
774inline void QOpenGLFunctions_2_1::glGetBooleanv(GLenum pname, GLboolean *params)
775{
776 d_1_0_Core->f.GetBooleanv(pname, params);
777}
778
779inline void QOpenGLFunctions_2_1::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
780{
781 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
782}
783
784inline void QOpenGLFunctions_2_1::glReadBuffer(GLenum mode)
785{
786 d_1_0_Core->f.ReadBuffer(mode);
787}
788
789inline void QOpenGLFunctions_2_1::glPixelStorei(GLenum pname, GLint param)
790{
791 d_1_0_Core->f.PixelStorei(pname, param);
792}
793
794inline void QOpenGLFunctions_2_1::glPixelStoref(GLenum pname, GLfloat param)
795{
796 d_1_0_Core->f.PixelStoref(pname, param);
797}
798
799inline void QOpenGLFunctions_2_1::glDepthFunc(GLenum func)
800{
801 d_1_0_Core->f.DepthFunc(func);
802}
803
804inline void QOpenGLFunctions_2_1::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
805{
806 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
807}
808
809inline void QOpenGLFunctions_2_1::glStencilFunc(GLenum func, GLint ref, GLuint mask)
810{
811 d_1_0_Core->f.StencilFunc(func, ref, mask);
812}
813
814inline void QOpenGLFunctions_2_1::glLogicOp(GLenum opcode)
815{
816 d_1_0_Core->f.LogicOp(opcode);
817}
818
819inline void QOpenGLFunctions_2_1::glBlendFunc(GLenum sfactor, GLenum dfactor)
820{
821 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
822}
823
824inline void QOpenGLFunctions_2_1::glFlush()
825{
826 d_1_0_Core->f.Flush();
827}
828
829inline void QOpenGLFunctions_2_1::glFinish()
830{
831 d_1_0_Core->f.Finish();
832}
833
834inline void QOpenGLFunctions_2_1::glEnable(GLenum cap)
835{
836 d_1_0_Core->f.Enable(cap);
837}
838
839inline void QOpenGLFunctions_2_1::glDisable(GLenum cap)
840{
841 d_1_0_Core->f.Disable(cap);
842}
843
844inline void QOpenGLFunctions_2_1::glDepthMask(GLboolean flag)
845{
846 d_1_0_Core->f.DepthMask(flag);
847}
848
849inline void QOpenGLFunctions_2_1::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
850{
851 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
852}
853
854inline void QOpenGLFunctions_2_1::glStencilMask(GLuint mask)
855{
856 d_1_0_Core->f.StencilMask(mask);
857}
858
859inline void QOpenGLFunctions_2_1::glClearDepth(GLdouble depth)
860{
861 d_1_0_Core->f.ClearDepth(depth);
862}
863
864inline void QOpenGLFunctions_2_1::glClearStencil(GLint s)
865{
866 d_1_0_Core->f.ClearStencil(s);
867}
868
869inline void QOpenGLFunctions_2_1::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
870{
871 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
872}
873
874inline void QOpenGLFunctions_2_1::glClear(GLbitfield mask)
875{
876 d_1_0_Core->f.Clear(mask);
877}
878
879inline void QOpenGLFunctions_2_1::glDrawBuffer(GLenum mode)
880{
881 d_1_0_Core->f.DrawBuffer(mode);
882}
883
884inline void QOpenGLFunctions_2_1::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
885{
886 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
887}
888
889inline void QOpenGLFunctions_2_1::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
890{
891 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
892}
893
894inline void QOpenGLFunctions_2_1::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
895{
896 d_1_0_Core->f.TexParameteriv(target, pname, params);
897}
898
899inline void QOpenGLFunctions_2_1::glTexParameteri(GLenum target, GLenum pname, GLint param)
900{
901 d_1_0_Core->f.TexParameteri(target, pname, param);
902}
903
904inline void QOpenGLFunctions_2_1::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
905{
906 d_1_0_Core->f.TexParameterfv(target, pname, params);
907}
908
909inline void QOpenGLFunctions_2_1::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
910{
911 d_1_0_Core->f.TexParameterf(target, pname, param);
912}
913
914inline void QOpenGLFunctions_2_1::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
915{
916 d_1_0_Core->f.Scissor(x, y, width, height);
917}
918
919inline void QOpenGLFunctions_2_1::glPolygonMode(GLenum face, GLenum mode)
920{
921 d_1_0_Core->f.PolygonMode(face, mode);
922}
923
924inline void QOpenGLFunctions_2_1::glPointSize(GLfloat size)
925{
926 d_1_0_Core->f.PointSize(size);
927}
928
929inline void QOpenGLFunctions_2_1::glLineWidth(GLfloat width)
930{
931 d_1_0_Core->f.LineWidth(width);
932}
933
934inline void QOpenGLFunctions_2_1::glHint(GLenum target, GLenum mode)
935{
936 d_1_0_Core->f.Hint(target, mode);
937}
938
939inline void QOpenGLFunctions_2_1::glFrontFace(GLenum mode)
940{
941 d_1_0_Core->f.FrontFace(mode);
942}
943
944inline void QOpenGLFunctions_2_1::glCullFace(GLenum mode)
945{
946 d_1_0_Core->f.CullFace(mode);
947}
948
949
950// OpenGL 1.1 core functions
951inline void QOpenGLFunctions_2_1::glIndexubv(const GLubyte *c)
952{
953 d_1_1_Deprecated->f.Indexubv(c);
954}
955
956inline void QOpenGLFunctions_2_1::glIndexub(GLubyte c)
957{
958 d_1_1_Deprecated->f.Indexub(c);
959}
960
961inline GLboolean QOpenGLFunctions_2_1::glIsTexture(GLuint texture)
962{
963 return d_1_1_Core->f.IsTexture(texture);
964}
965
966inline void QOpenGLFunctions_2_1::glGenTextures(GLsizei n, GLuint *textures)
967{
968 d_1_1_Core->f.GenTextures(n, textures);
969}
970
971inline void QOpenGLFunctions_2_1::glDeleteTextures(GLsizei n, const GLuint *textures)
972{
973 d_1_1_Core->f.DeleteTextures(n, textures);
974}
975
976inline void QOpenGLFunctions_2_1::glBindTexture(GLenum target, GLuint texture)
977{
978 d_1_1_Core->f.BindTexture(target, texture);
979}
980
981inline void QOpenGLFunctions_2_1::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
982{
983 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
984}
985
986inline void QOpenGLFunctions_2_1::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
987{
988 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
989}
990
991inline void QOpenGLFunctions_2_1::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
992{
993 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
994}
995
996inline void QOpenGLFunctions_2_1::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
997{
998 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
999}
1000
1001inline void QOpenGLFunctions_2_1::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
1002{
1003 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
1004}
1005
1006inline void QOpenGLFunctions_2_1::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
1007{
1008 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
1009}
1010
1011inline void QOpenGLFunctions_2_1::glPolygonOffset(GLfloat factor, GLfloat units)
1012{
1013 d_1_1_Core->f.PolygonOffset(factor, units);
1014}
1015
1016inline void QOpenGLFunctions_2_1::glGetPointerv(GLenum pname, GLvoid* *params)
1017{
1018 d_1_1_Deprecated->f.GetPointerv(pname, params);
1019}
1020
1021inline void QOpenGLFunctions_2_1::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
1022{
1023 d_1_1_Core->f.DrawElements(mode, count, type, indices);
1024}
1025
1026inline void QOpenGLFunctions_2_1::glDrawArrays(GLenum mode, GLint first, GLsizei count)
1027{
1028 d_1_1_Core->f.DrawArrays(mode, first, count);
1029}
1030
1031
1032// OpenGL 1.2 core functions
1033inline void QOpenGLFunctions_2_1::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1034{
1035 d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
1036}
1037
1038inline void QOpenGLFunctions_2_1::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
1039{
1040 d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
1041}
1042
1043inline void QOpenGLFunctions_2_1::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1044{
1045 d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
1046}
1047
1048inline void QOpenGLFunctions_2_1::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
1049{
1050 d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices);
1051}
1052
1053inline void QOpenGLFunctions_2_1::glBlendEquation(GLenum mode)
1054{
1055 d_1_2_Core->f.BlendEquation(mode);
1056}
1057
1058inline void QOpenGLFunctions_2_1::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1059{
1060 d_1_2_Core->f.BlendColor(red, green, blue, alpha);
1061}
1062
1063
1064// OpenGL 1.3 core functions
1065inline void QOpenGLFunctions_2_1::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img)
1066{
1067 d_1_3_Core->f.GetCompressedTexImage(target, level, img);
1068}
1069
1070inline void QOpenGLFunctions_2_1::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data)
1071{
1072 d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
1073}
1074
1075inline void QOpenGLFunctions_2_1::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
1076{
1077 d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
1078}
1079
1080inline void QOpenGLFunctions_2_1::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data)
1081{
1082 d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
1083}
1084
1085inline void QOpenGLFunctions_2_1::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data)
1086{
1087 d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
1088}
1089
1090inline void QOpenGLFunctions_2_1::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
1091{
1092 d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
1093}
1094
1095inline void QOpenGLFunctions_2_1::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
1096{
1097 d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
1098}
1099
1100inline void QOpenGLFunctions_2_1::glSampleCoverage(GLfloat value, GLboolean invert)
1101{
1102 d_1_3_Core->f.SampleCoverage(value, invert);
1103}
1104
1105inline void QOpenGLFunctions_2_1::glActiveTexture(GLenum texture)
1106{
1107 d_1_3_Core->f.ActiveTexture(texture);
1108}
1109
1110
1111// OpenGL 1.4 core functions
1112inline void QOpenGLFunctions_2_1::glPointParameteriv(GLenum pname, const GLint *params)
1113{
1114 d_1_4_Core->f.PointParameteriv(pname, params);
1115}
1116
1117inline void QOpenGLFunctions_2_1::glPointParameteri(GLenum pname, GLint param)
1118{
1119 d_1_4_Core->f.PointParameteri(pname, param);
1120}
1121
1122inline void QOpenGLFunctions_2_1::glPointParameterfv(GLenum pname, const GLfloat *params)
1123{
1124 d_1_4_Core->f.PointParameterfv(pname, params);
1125}
1126
1127inline void QOpenGLFunctions_2_1::glPointParameterf(GLenum pname, GLfloat param)
1128{
1129 d_1_4_Core->f.PointParameterf(pname, param);
1130}
1131
1132inline void QOpenGLFunctions_2_1::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount)
1133{
1134 d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount);
1135}
1136
1137inline void QOpenGLFunctions_2_1::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
1138{
1139 d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount);
1140}
1141
1142inline void QOpenGLFunctions_2_1::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
1143{
1144 d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
1145}
1146
1147
1148// OpenGL 1.5 core functions
1149inline void QOpenGLFunctions_2_1::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params)
1150{
1151 d_1_5_Core->f.GetBufferPointerv(target, pname, params);
1152}
1153
1154inline void QOpenGLFunctions_2_1::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
1155{
1156 d_1_5_Core->f.GetBufferParameteriv(target, pname, params);
1157}
1158
1159inline GLboolean QOpenGLFunctions_2_1::glUnmapBuffer(GLenum target)
1160{
1161 return d_1_5_Core->f.UnmapBuffer(target);
1162}
1163
1164inline GLvoid* QOpenGLFunctions_2_1::glMapBuffer(GLenum target, GLenum access)
1165{
1166 return d_1_5_Core->f.MapBuffer(target, access);
1167}
1168
1169inline void QOpenGLFunctions_2_1::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
1170{
1171 d_1_5_Core->f.GetBufferSubData(target, offset, size, data);
1172}
1173
1174inline void QOpenGLFunctions_2_1::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
1175{
1176 d_1_5_Core->f.BufferSubData(target, offset, size, data);
1177}
1178
1179inline void QOpenGLFunctions_2_1::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
1180{
1181 d_1_5_Core->f.BufferData(target, size, data, usage);
1182}
1183
1184inline GLboolean QOpenGLFunctions_2_1::glIsBuffer(GLuint buffer)
1185{
1186 return d_1_5_Core->f.IsBuffer(buffer);
1187}
1188
1189inline void QOpenGLFunctions_2_1::glGenBuffers(GLsizei n, GLuint *buffers)
1190{
1191 d_1_5_Core->f.GenBuffers(n, buffers);
1192}
1193
1194inline void QOpenGLFunctions_2_1::glDeleteBuffers(GLsizei n, const GLuint *buffers)
1195{
1196 d_1_5_Core->f.DeleteBuffers(n, buffers);
1197}
1198
1199inline void QOpenGLFunctions_2_1::glBindBuffer(GLenum target, GLuint buffer)
1200{
1201 d_1_5_Core->f.BindBuffer(target, buffer);
1202}
1203
1204inline void QOpenGLFunctions_2_1::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
1205{
1206 d_1_5_Core->f.GetQueryObjectuiv(id, pname, params);
1207}
1208
1209inline void QOpenGLFunctions_2_1::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
1210{
1211 d_1_5_Core->f.GetQueryObjectiv(id, pname, params);
1212}
1213
1214inline void QOpenGLFunctions_2_1::glGetQueryiv(GLenum target, GLenum pname, GLint *params)
1215{
1216 d_1_5_Core->f.GetQueryiv(target, pname, params);
1217}
1218
1219inline void QOpenGLFunctions_2_1::glEndQuery(GLenum target)
1220{
1221 d_1_5_Core->f.EndQuery(target);
1222}
1223
1224inline void QOpenGLFunctions_2_1::glBeginQuery(GLenum target, GLuint id)
1225{
1226 d_1_5_Core->f.BeginQuery(target, id);
1227}
1228
1229inline GLboolean QOpenGLFunctions_2_1::glIsQuery(GLuint id)
1230{
1231 return d_1_5_Core->f.IsQuery(id);
1232}
1233
1234inline void QOpenGLFunctions_2_1::glDeleteQueries(GLsizei n, const GLuint *ids)
1235{
1236 d_1_5_Core->f.DeleteQueries(n, ids);
1237}
1238
1239inline void QOpenGLFunctions_2_1::glGenQueries(GLsizei n, GLuint *ids)
1240{
1241 d_1_5_Core->f.GenQueries(n, ids);
1242}
1243
1244
1245// OpenGL 2.0 core functions
1246inline void QOpenGLFunctions_2_1::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
1247{
1248 d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer);
1249}
1250
1251inline void QOpenGLFunctions_2_1::glValidateProgram(GLuint program)
1252{
1253 d_2_0_Core->f.ValidateProgram(program);
1254}
1255
1256inline void QOpenGLFunctions_2_1::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1257{
1258 d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value);
1259}
1260
1261inline void QOpenGLFunctions_2_1::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1262{
1263 d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value);
1264}
1265
1266inline void QOpenGLFunctions_2_1::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1267{
1268 d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value);
1269}
1270
1271inline void QOpenGLFunctions_2_1::glUniform4iv(GLint location, GLsizei count, const GLint *value)
1272{
1273 d_2_0_Core->f.Uniform4iv(location, count, value);
1274}
1275
1276inline void QOpenGLFunctions_2_1::glUniform3iv(GLint location, GLsizei count, const GLint *value)
1277{
1278 d_2_0_Core->f.Uniform3iv(location, count, value);
1279}
1280
1281inline void QOpenGLFunctions_2_1::glUniform2iv(GLint location, GLsizei count, const GLint *value)
1282{
1283 d_2_0_Core->f.Uniform2iv(location, count, value);
1284}
1285
1286inline void QOpenGLFunctions_2_1::glUniform1iv(GLint location, GLsizei count, const GLint *value)
1287{
1288 d_2_0_Core->f.Uniform1iv(location, count, value);
1289}
1290
1291inline void QOpenGLFunctions_2_1::glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
1292{
1293 d_2_0_Core->f.Uniform4fv(location, count, value);
1294}
1295
1296inline void QOpenGLFunctions_2_1::glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
1297{
1298 d_2_0_Core->f.Uniform3fv(location, count, value);
1299}
1300
1301inline void QOpenGLFunctions_2_1::glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
1302{
1303 d_2_0_Core->f.Uniform2fv(location, count, value);
1304}
1305
1306inline void QOpenGLFunctions_2_1::glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
1307{
1308 d_2_0_Core->f.Uniform1fv(location, count, value);
1309}
1310
1311inline void QOpenGLFunctions_2_1::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
1312{
1313 d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3);
1314}
1315
1316inline void QOpenGLFunctions_2_1::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
1317{
1318 d_2_0_Core->f.Uniform3i(location, v0, v1, v2);
1319}
1320
1321inline void QOpenGLFunctions_2_1::glUniform2i(GLint location, GLint v0, GLint v1)
1322{
1323 d_2_0_Core->f.Uniform2i(location, v0, v1);
1324}
1325
1326inline void QOpenGLFunctions_2_1::glUniform1i(GLint location, GLint v0)
1327{
1328 d_2_0_Core->f.Uniform1i(location, v0);
1329}
1330
1331inline void QOpenGLFunctions_2_1::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
1332{
1333 d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3);
1334}
1335
1336inline void QOpenGLFunctions_2_1::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
1337{
1338 d_2_0_Core->f.Uniform3f(location, v0, v1, v2);
1339}
1340
1341inline void QOpenGLFunctions_2_1::glUniform2f(GLint location, GLfloat v0, GLfloat v1)
1342{
1343 d_2_0_Core->f.Uniform2f(location, v0, v1);
1344}
1345
1346inline void QOpenGLFunctions_2_1::glUniform1f(GLint location, GLfloat v0)
1347{
1348 d_2_0_Core->f.Uniform1f(location, v0);
1349}
1350
1351inline void QOpenGLFunctions_2_1::glUseProgram(GLuint program)
1352{
1353 d_2_0_Core->f.UseProgram(program);
1354}
1355
1356inline void QOpenGLFunctions_2_1::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length)
1357{
1358 d_2_0_Core->f.ShaderSource(shader, count, string, length);
1359}
1360
1361inline void QOpenGLFunctions_2_1::glLinkProgram(GLuint program)
1362{
1363 d_2_0_Core->f.LinkProgram(program);
1364}
1365
1366inline GLboolean QOpenGLFunctions_2_1::glIsShader(GLuint shader)
1367{
1368 return d_2_0_Core->f.IsShader(shader);
1369}
1370
1371inline GLboolean QOpenGLFunctions_2_1::glIsProgram(GLuint program)
1372{
1373 return d_2_0_Core->f.IsProgram(program);
1374}
1375
1376inline void QOpenGLFunctions_2_1::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer)
1377{
1378 d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer);
1379}
1380
1381inline void QOpenGLFunctions_2_1::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
1382{
1383 d_2_0_Core->f.GetVertexAttribiv(index, pname, params);
1384}
1385
1386inline void QOpenGLFunctions_2_1::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
1387{
1388 d_2_0_Core->f.GetVertexAttribfv(index, pname, params);
1389}
1390
1391inline void QOpenGLFunctions_2_1::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
1392{
1393 d_2_0_Core->f.GetVertexAttribdv(index, pname, params);
1394}
1395
1396inline void QOpenGLFunctions_2_1::glGetUniformiv(GLuint program, GLint location, GLint *params)
1397{
1398 d_2_0_Core->f.GetUniformiv(program, location, params);
1399}
1400
1401inline void QOpenGLFunctions_2_1::glGetUniformfv(GLuint program, GLint location, GLfloat *params)
1402{
1403 d_2_0_Core->f.GetUniformfv(program, location, params);
1404}
1405
1406inline GLint QOpenGLFunctions_2_1::glGetUniformLocation(GLuint program, const GLchar *name)
1407{
1408 return d_2_0_Core->