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