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->f.GetUniformLocation(program, name);
1409}
1410
1411inline void QOpenGLFunctions_2_1::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
1412{
1413 d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source);
1414}
1415
1416inline void QOpenGLFunctions_2_1::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1417{
1418 d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog);
1419}
1420
1421inline void QOpenGLFunctions_2_1::glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
1422{
1423 d_2_0_Core->f.GetShaderiv(shader, pname, params);
1424}
1425
1426inline void QOpenGLFunctions_2_1::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1427{
1428 d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog);
1429}
1430
1431inline void QOpenGLFunctions_2_1::glGetProgramiv(GLuint program, GLenum pname, GLint *params)
1432{
1433 d_2_0_Core->f.GetProgramiv(program, pname, params);
1434}
1435
1436inline GLint QOpenGLFunctions_2_1::glGetAttribLocation(GLuint program, const GLchar *name)
1437{
1438 return d_2_0_Core->f.GetAttribLocation(program, name);
1439}
1440
1441inline void QOpenGLFunctions_2_1::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj)
1442{
1443 d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj);
1444}
1445
1446inline void QOpenGLFunctions_2_1::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1447{
1448 d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name);
1449}
1450
1451inline void QOpenGLFunctions_2_1::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1452{
1453 d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name);
1454}
1455
1456inline void QOpenGLFunctions_2_1::glEnableVertexAttribArray(GLuint index)
1457{
1458 d_2_0_Core->f.EnableVertexAttribArray(index);
1459}
1460
1461inline void QOpenGLFunctions_2_1::glDisableVertexAttribArray(GLuint index)
1462{
1463 d_2_0_Core->f.DisableVertexAttribArray(index);
1464}
1465
1466inline void QOpenGLFunctions_2_1::glDetachShader(GLuint program, GLuint shader)
1467{
1468 d_2_0_Core->f.DetachShader(program, shader);
1469}
1470
1471inline void QOpenGLFunctions_2_1::glDeleteShader(GLuint shader)
1472{
1473 d_2_0_Core->f.DeleteShader(shader);
1474}
1475
1476inline void QOpenGLFunctions_2_1::glDeleteProgram(GLuint program)
1477{
1478 d_2_0_Core->f.DeleteProgram(program);
1479}
1480
1481inline GLuint QOpenGLFunctions_2_1::glCreateShader(GLenum type)
1482{
1483 return d_2_0_Core->f.CreateShader(type);
1484}
1485
1486inline GLuint QOpenGLFunctions_2_1::glCreateProgram()
1487{
1488 return d_2_0_Core->f.CreateProgram();
1489}
1490
1491inline void QOpenGLFunctions_2_1::glCompileShader(GLuint shader)
1492{
1493 d_2_0_Core->f.CompileShader(shader);
1494}
1495
1496inline void QOpenGLFunctions_2_1::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name)
1497{
1498 d_2_0_Core->f.BindAttribLocation(program, index, name);
1499}
1500
1501inline void QOpenGLFunctions_2_1::glAttachShader(GLuint program, GLuint shader)
1502{
1503 d_2_0_Core->f.AttachShader(program, shader);
1504}
1505
1506inline void QOpenGLFunctions_2_1::glStencilMaskSeparate(GLenum face, GLuint mask)
1507{
1508 d_2_0_Core->f.StencilMaskSeparate(face, mask);
1509}
1510
1511inline void QOpenGLFunctions_2_1::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
1512{
1513 d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask);
1514}
1515
1516inline void QOpenGLFunctions_2_1::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
1517{
1518 d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass);
1519}
1520
1521inline void QOpenGLFunctions_2_1::glDrawBuffers(GLsizei n, const GLenum *bufs)
1522{
1523 d_2_0_Core->f.DrawBuffers(n, bufs);
1524}
1525
1526inline void QOpenGLFunctions_2_1::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
1527{
1528 d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha);
1529}
1530
1531
1532// OpenGL 2.1 core functions
1533inline void QOpenGLFunctions_2_1::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1534{
1535 d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value);
1536}
1537
1538inline void QOpenGLFunctions_2_1::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1539{
1540 d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value);
1541}
1542
1543inline void QOpenGLFunctions_2_1::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1544{
1545 d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value);
1546}
1547
1548inline void QOpenGLFunctions_2_1::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1549{
1550 d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value);
1551}
1552
1553inline void QOpenGLFunctions_2_1::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1554{
1555 d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value);
1556}
1557
1558inline void QOpenGLFunctions_2_1::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1559{
1560 d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value);
1561}
1562
1563
1564// OpenGL 1.0 deprecated functions
1565inline void QOpenGLFunctions_2_1::glTranslatef(GLfloat x, GLfloat y, GLfloat z)
1566{
1567 d_1_0_Deprecated->f.Translatef(x, y, z);
1568}
1569
1570inline void QOpenGLFunctions_2_1::glTranslated(GLdouble x, GLdouble y, GLdouble z)
1571{
1572 d_1_0_Deprecated->f.Translated(x, y, z);
1573}
1574
1575inline void QOpenGLFunctions_2_1::glScalef(GLfloat x, GLfloat y, GLfloat z)
1576{
1577 d_1_0_Deprecated->f.Scalef(x, y, z);
1578}
1579
1580inline void QOpenGLFunctions_2_1::glScaled(GLdouble x, GLdouble y, GLdouble z)
1581{
1582 d_1_0_Deprecated->f.Scaled(x, y, z);
1583}
1584
1585inline void QOpenGLFunctions_2_1::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
1586{
1587 d_1_0_Deprecated->f.Rotatef(angle, x, y, z);
1588}
1589
1590inline void QOpenGLFunctions_2_1::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
1591{
1592 d_1_0_Deprecated->f.Rotated(angle, x, y, z);
1593}
1594
1595inline void QOpenGLFunctions_2_1::glPushMatrix()
1596{
1597 d_1_0_Deprecated->f.PushMatrix();
1598}
1599
1600inline void QOpenGLFunctions_2_1::glPopMatrix()
1601{
1602 d_1_0_Deprecated->f.PopMatrix();
1603}
1604
1605inline void QOpenGLFunctions_2_1::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
1606{
1607 d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar);
1608}
1609
1610inline void QOpenGLFunctions_2_1::glMultMatrixd(const GLdouble *m)
1611{
1612 d_1_0_Deprecated->f.MultMatrixd(m);
1613}
1614
1615inline void QOpenGLFunctions_2_1::glMultMatrixf(const GLfloat *m)
1616{
1617 d_1_0_Deprecated->f.MultMatrixf(m);
1618}
1619
1620inline void QOpenGLFunctions_2_1::glMatrixMode(GLenum mode)
1621{
1622 d_1_0_Deprecated->f.MatrixMode(mode);
1623}
1624
1625inline void QOpenGLFunctions_2_1::glLoadMatrixd(const GLdouble *m)
1626{
1627 d_1_0_Deprecated->f.LoadMatrixd(m);
1628}
1629
1630inline void QOpenGLFunctions_2_1::glLoadMatrixf(const GLfloat *m)
1631{
1632 d_1_0_Deprecated->f.LoadMatrixf(m);
1633}
1634
1635inline void QOpenGLFunctions_2_1::glLoadIdentity()
1636{
1637 d_1_0_Deprecated->f.LoadIdentity();
1638}
1639
1640inline void QOpenGLFunctions_2_1::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
1641{
1642 d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar);
1643}
1644
1645inline GLboolean QOpenGLFunctions_2_1::glIsList(GLuint list)
1646{
1647 return d_1_0_Deprecated->f.IsList(list);
1648}
1649
1650inline void QOpenGLFunctions_2_1::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params)
1651{
1652 d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params);
1653}
1654
1655inline void QOpenGLFunctions_2_1::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
1656{
1657 d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params);
1658}
1659
1660inline void QOpenGLFunctions_2_1::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params)
1661{
1662 d_1_0_Deprecated->f.GetTexGendv(coord, pname, params);
1663}
1664
1665inline void QOpenGLFunctions_2_1::glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
1666{
1667 d_1_0_Deprecated->f.GetTexEnviv(target, pname, params);
1668}
1669
1670inline void QOpenGLFunctions_2_1::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
1671{
1672 d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params);
1673}
1674
1675inline void QOpenGLFunctions_2_1::glGetPolygonStipple(GLubyte *mask)
1676{
1677 d_1_0_Deprecated->f.GetPolygonStipple(mask);
1678}
1679
1680inline void QOpenGLFunctions_2_1::glGetPixelMapusv(GLenum map, GLushort *values)
1681{
1682 d_1_0_Deprecated->f.GetPixelMapusv(map, values);
1683}
1684
1685inline void QOpenGLFunctions_2_1::glGetPixelMapuiv(GLenum map, GLuint *values)
1686{
1687 d_1_0_Deprecated->f.GetPixelMapuiv(map, values);
1688}
1689
1690inline void QOpenGLFunctions_2_1::glGetPixelMapfv(GLenum map, GLfloat *values)
1691{
1692 d_1_0_Deprecated->f.GetPixelMapfv(map, values);
1693}
1694
1695inline void QOpenGLFunctions_2_1::glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
1696{
1697 d_1_0_Deprecated->f.GetMaterialiv(face, pname, params);
1698}
1699
1700inline void QOpenGLFunctions_2_1::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
1701{
1702 d_1_0_Deprecated->f.GetMaterialfv(face, pname, params);
1703}
1704
1705inline void QOpenGLFunctions_2_1::glGetMapiv(GLenum target, GLenum query, GLint *v)
1706{
1707 d_1_0_Deprecated->f.GetMapiv(target, query, v);
1708}
1709
1710inline void QOpenGLFunctions_2_1::glGetMapfv(GLenum target, GLenum query, GLfloat *v)
1711{
1712 d_1_0_Deprecated->f.GetMapfv(target, query, v);
1713}
1714
1715inline void QOpenGLFunctions_2_1::glGetMapdv(GLenum target, GLenum query, GLdouble *v)
1716{
1717 d_1_0_Deprecated->f.GetMapdv(target, query, v);
1718}
1719
1720inline void QOpenGLFunctions_2_1::glGetLightiv(GLenum light, GLenum pname, GLint *params)
1721{
1722 d_1_0_Deprecated->f.GetLightiv(light, pname, params);
1723}
1724
1725inline void QOpenGLFunctions_2_1::glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
1726{
1727 d_1_0_Deprecated->f.GetLightfv(light, pname, params);
1728}
1729
1730inline void QOpenGLFunctions_2_1::glGetClipPlane(GLenum plane, GLdouble *equation)
1731{
1732 d_1_0_Deprecated->f.GetClipPlane(plane, equation);
1733}
1734
1735inline void QOpenGLFunctions_2_1::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
1736{
1737 d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels);
1738}
1739
1740inline void QOpenGLFunctions_2_1::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
1741{
1742 d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type);
1743}
1744
1745inline void QOpenGLFunctions_2_1::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values)
1746{
1747 d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values);
1748}
1749
1750inline void QOpenGLFunctions_2_1::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values)
1751{
1752 d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values);
1753}
1754
1755inline void QOpenGLFunctions_2_1::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values)
1756{
1757 d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values);
1758}
1759
1760inline void QOpenGLFunctions_2_1::glPixelTransferi(GLenum pname, GLint param)
1761{
1762 d_1_0_Deprecated->f.PixelTransferi(pname, param);
1763}
1764
1765inline void QOpenGLFunctions_2_1::glPixelTransferf(GLenum pname, GLfloat param)
1766{
1767 d_1_0_Deprecated->f.PixelTransferf(pname, param);
1768}
1769
1770inline void QOpenGLFunctions_2_1::glPixelZoom(GLfloat xfactor, GLfloat yfactor)
1771{
1772 d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor);
1773}
1774
1775inline void QOpenGLFunctions_2_1::glAlphaFunc(GLenum func, GLfloat ref)
1776{
1777 d_1_0_Deprecated->f.AlphaFunc(func, ref);
1778}
1779
1780inline void QOpenGLFunctions_2_1::glEvalPoint2(GLint i, GLint j)
1781{
1782 d_1_0_Deprecated->f.EvalPoint2(i, j);
1783}
1784
1785inline void QOpenGLFunctions_2_1::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
1786{
1787 d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2);
1788}
1789
1790inline void QOpenGLFunctions_2_1::glEvalPoint1(GLint i)
1791{
1792 d_1_0_Deprecated->f.EvalPoint1(i);
1793}
1794
1795inline void QOpenGLFunctions_2_1::glEvalMesh1(GLenum mode, GLint i1, GLint i2)
1796{
1797 d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2);
1798}
1799
1800inline void QOpenGLFunctions_2_1::glEvalCoord2fv(const GLfloat *u)
1801{
1802 d_1_0_Deprecated->f.EvalCoord2fv(u);
1803}
1804
1805inline void QOpenGLFunctions_2_1::glEvalCoord2f(GLfloat u, GLfloat v)
1806{
1807 d_1_0_Deprecated->f.EvalCoord2f(u, v);
1808}
1809
1810inline void QOpenGLFunctions_2_1::glEvalCoord2dv(const GLdouble *u)
1811{
1812 d_1_0_Deprecated->f.EvalCoord2dv(u);
1813}
1814
1815inline void QOpenGLFunctions_2_1::glEvalCoord2d(GLdouble u, GLdouble v)
1816{
1817 d_1_0_Deprecated->f.EvalCoord2d(u, v);
1818}
1819
1820inline void QOpenGLFunctions_2_1::glEvalCoord1fv(const GLfloat *u)
1821{
1822 d_1_0_Deprecated->f.EvalCoord1fv(u);
1823}
1824
1825inline void QOpenGLFunctions_2_1::glEvalCoord1f(GLfloat u)
1826{
1827 d_1_0_Deprecated->f.EvalCoord1f(u);
1828}
1829
1830inline void QOpenGLFunctions_2_1::glEvalCoord1dv(const GLdouble *u)
1831{
1832 d_1_0_Deprecated->f.EvalCoord1dv(u);
1833}
1834
1835inline void QOpenGLFunctions_2_1::glEvalCoord1d(GLdouble u)
1836{
1837 d_1_0_Deprecated->f.EvalCoord1d(u);
1838}
1839
1840inline void QOpenGLFunctions_2_1::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
1841{
1842 d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2);
1843}
1844
1845inline void QOpenGLFunctions_2_1::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
1846{
1847 d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2);
1848}
1849
1850inline void QOpenGLFunctions_2_1::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
1851{
1852 d_1_0_Deprecated->f.MapGrid1f(un, u1, u2);
1853}
1854
1855inline void QOpenGLFunctions_2_1::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
1856{
1857 d_1_0_Deprecated->f.MapGrid1d(un, u1, u2);
1858}
1859
1860inline void QOpenGLFunctions_2_1::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
1861{
1862 d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1863}
1864
1865inline void QOpenGLFunctions_2_1::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
1866{
1867 d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1868}
1869
1870inline void QOpenGLFunctions_2_1::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
1871{
1872 d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points);
1873}
1874
1875inline void QOpenGLFunctions_2_1::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
1876{
1877 d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points);
1878}
1879
1880inline void QOpenGLFunctions_2_1::glPushAttrib(GLbitfield mask)
1881{
1882 d_1_0_Deprecated->f.PushAttrib(mask);
1883}
1884
1885inline void QOpenGLFunctions_2_1::glPopAttrib()
1886{
1887 d_1_0_Deprecated->f.PopAttrib();
1888}
1889
1890inline void QOpenGLFunctions_2_1::glAccum(GLenum op, GLfloat value)
1891{
1892 d_1_0_Deprecated->f.Accum(op, value);
1893}
1894
1895inline void QOpenGLFunctions_2_1::glIndexMask(GLuint mask)
1896{
1897 d_1_0_Deprecated->f.IndexMask(mask);
1898}
1899
1900inline void QOpenGLFunctions_2_1::glClearIndex(GLfloat c)
1901{
1902 d_1_0_Deprecated->f.ClearIndex(c);
1903}
1904
1905inline void QOpenGLFunctions_2_1::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1906{
1907 d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha);
1908}
1909
1910inline void QOpenGLFunctions_2_1::glPushName(GLuint name)
1911{
1912 d_1_0_Deprecated->f.PushName(name);
1913}
1914
1915inline void QOpenGLFunctions_2_1::glPopName()
1916{
1917 d_1_0_Deprecated->f.PopName();
1918}
1919
1920inline void QOpenGLFunctions_2_1::glPassThrough(GLfloat token)
1921{
1922 d_1_0_Deprecated->f.PassThrough(token);
1923}
1924
1925inline void QOpenGLFunctions_2_1::glLoadName(GLuint name)
1926{
1927 d_1_0_Deprecated->f.LoadName(name);
1928}
1929
1930inline void QOpenGLFunctions_2_1::glInitNames()
1931{
1932 d_1_0_Deprecated->f.InitNames();
1933}
1934
1935inline GLint QOpenGLFunctions_2_1::glRenderMode(GLenum mode)
1936{
1937 return d_1_0_Deprecated->f.RenderMode(mode);
1938}
1939
1940inline void QOpenGLFunctions_2_1::glSelectBuffer(GLsizei size, GLuint *buffer)
1941{
1942 d_1_0_Deprecated->f.SelectBuffer(size, buffer);
1943}
1944
1945inline void QOpenGLFunctions_2_1::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
1946{
1947 d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer);
1948}
1949
1950inline void QOpenGLFunctions_2_1::glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
1951{
1952 d_1_0_Deprecated->f.TexGeniv(coord, pname, params);
1953}
1954
1955inline void QOpenGLFunctions_2_1::glTexGeni(GLenum coord, GLenum pname, GLint param)
1956{
1957 d_1_0_Deprecated->f.TexGeni(coord, pname, param);
1958}
1959
1960inline void QOpenGLFunctions_2_1::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
1961{
1962 d_1_0_Deprecated->f.TexGenfv(coord, pname, params);
1963}
1964
1965inline void QOpenGLFunctions_2_1::glTexGenf(GLenum coord, GLenum pname, GLfloat param)
1966{
1967 d_1_0_Deprecated->f.TexGenf(coord, pname, param);
1968}
1969
1970inline void QOpenGLFunctions_2_1::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
1971{
1972 d_1_0_Deprecated->f.TexGendv(coord, pname, params);
1973}
1974
1975inline void QOpenGLFunctions_2_1::glTexGend(GLenum coord, GLenum pname, GLdouble param)
1976{
1977 d_1_0_Deprecated->f.TexGend(coord, pname, param);
1978}
1979
1980inline void QOpenGLFunctions_2_1::glTexEnviv(GLenum target, GLenum pname, const GLint *params)
1981{
1982 d_1_0_Deprecated->f.TexEnviv(target, pname, params);
1983}
1984
1985inline void QOpenGLFunctions_2_1::glTexEnvi(GLenum target, GLenum pname, GLint param)
1986{
1987 d_1_0_Deprecated->f.TexEnvi(target, pname, param);
1988}
1989
1990inline void QOpenGLFunctions_2_1::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
1991{
1992 d_1_0_Deprecated->f.TexEnvfv(target, pname, params);
1993}
1994
1995inline void QOpenGLFunctions_2_1::glTexEnvf(GLenum target, GLenum pname, GLfloat param)
1996{
1997 d_1_0_Deprecated->f.TexEnvf(target, pname, param);
1998}
1999
2000inline void QOpenGLFunctions_2_1::glShadeModel(GLenum mode)
2001{
2002 d_1_0_Deprecated->f.ShadeModel(mode);
2003}
2004
2005inline void QOpenGLFunctions_2_1::glPolygonStipple(const GLubyte *mask)
2006{
2007 d_1_0_Deprecated->f.PolygonStipple(mask);
2008}
2009
2010inline void QOpenGLFunctions_2_1::glMaterialiv(GLenum face, GLenum pname, const GLint *params)
2011{
2012 d_1_0_Deprecated->f.Materialiv(face, pname, params);
2013}
2014
2015inline void QOpenGLFunctions_2_1::glMateriali(GLenum face, GLenum pname, GLint param)
2016{
2017 d_1_0_Deprecated->f.Materiali(face, pname, param);
2018}
2019
2020inline void QOpenGLFunctions_2_1::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
2021{
2022 d_1_0_Deprecated->f.Materialfv(face, pname, params);
2023}
2024
2025inline void QOpenGLFunctions_2_1::glMaterialf(GLenum face, GLenum pname, GLfloat param)
2026{
2027 d_1_0_Deprecated->f.Materialf(face, pname, param);
2028}
2029
2030inline void QOpenGLFunctions_2_1::glLineStipple(GLint factor, GLushort pattern)
2031{
2032 d_1_0_Deprecated->f.LineStipple(factor, pattern);
2033}
2034
2035inline void QOpenGLFunctions_2_1::glLightModeliv(GLenum pname, const GLint *params)
2036{
2037 d_1_0_Deprecated->f.LightModeliv(pname, params);
2038}
2039
2040inline void QOpenGLFunctions_2_1::glLightModeli(GLenum pname, GLint param)
2041{
2042 d_1_0_Deprecated->f.LightModeli(pname, param);
2043}
2044
2045inline void QOpenGLFunctions_2_1::glLightModelfv(GLenum pname, const GLfloat *params)
2046{
2047 d_1_0_Deprecated->f.LightModelfv(pname, params);
2048}
2049
2050inline void QOpenGLFunctions_2_1::glLightModelf(GLenum pname, GLfloat param)
2051{
2052 d_1_0_Deprecated->f.LightModelf(pname, param);
2053}
2054
2055inline void QOpenGLFunctions_2_1::glLightiv(GLenum light, GLenum pname, const GLint *params)
2056{
2057 d_1_0_Deprecated->f.Lightiv(light, pname, params);
2058}
2059
2060inline void QOpenGLFunctions_2_1::glLighti(GLenum light, GLenum pname, GLint param)
2061{
2062 d_1_0_Deprecated->f.Lighti(light, pname, param);
2063}
2064
2065inline void QOpenGLFunctions_2_1::glLightfv(GLenum light, GLenum pname, const GLfloat *params)
2066{
2067 d_1_0_Deprecated->f.Lightfv(light, pname, params);
2068}
2069
2070inline void QOpenGLFunctions_2_1::glLightf(GLenum light, GLenum pname, GLfloat param)
2071{
2072 d_1_0_Deprecated->f.Lightf(light, pname, param);
2073}
2074
2075inline void QOpenGLFunctions_2_1::glFogiv(GLenum pname, const GLint *params)
2076{
2077 d_1_0_Deprecated->f.Fogiv(pname, params);
2078}
2079
2080inline void QOpenGLFunctions_2_1::glFogi(GLenum pname, GLint param)
2081{
2082 d_1_0_Deprecated->f.Fogi(pname, param);
2083}
2084
2085inline void QOpenGLFunctions_2_1::glFogfv(GLenum pname, const GLfloat *params)
2086{
2087 d_1_0_Deprecated->f.Fogfv(pname, params);
2088}
2089
2090inline void QOpenGLFunctions_2_1::glFogf(GLenum pname, GLfloat param)
2091{
2092 d_1_0_Deprecated->f.Fogf(pname, param);
2093}
2094
2095inline void QOpenGLFunctions_2_1::glColorMaterial(GLenum face, GLenum mode)
2096{
2097 d_1_0_Deprecated->f.ColorMaterial(face, mode);
2098}
2099
2100inline void QOpenGLFunctions_2_1::glClipPlane(GLenum plane, const GLdouble *equation)
2101{
2102 d_1_0_Deprecated->f.ClipPlane(plane, equation);
2103}
2104
2105inline void QOpenGLFunctions_2_1::glVertex4sv(const GLshort *v)
2106{
2107 d_1_0_Deprecated->f.Vertex4sv(v);
2108}
2109
2110inline void QOpenGLFunctions_2_1::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
2111{
2112 d_1_0_Deprecated->f.Vertex4s(x, y, z, w);
2113}
2114
2115inline void QOpenGLFunctions_2_1::glVertex4iv(const GLint *v)
2116{
2117 d_1_0_Deprecated->f.Vertex4iv(v);
2118}
2119
2120inline void QOpenGLFunctions_2_1::glVertex4i(GLint x, GLint y, GLint z, GLint w)
2121{
2122 d_1_0_Deprecated->f.Vertex4i(x, y, z, w);
2123}
2124
2125inline void QOpenGLFunctions_2_1::glVertex4fv(const GLfloat *v)
2126{
2127 d_1_0_Deprecated->f.Vertex4fv(v);
2128}
2129
2130inline void QOpenGLFunctions_2_1::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
2131{
2132 d_1_0_Deprecated->f.Vertex4f(x, y, z, w);
2133}
2134
2135inline void QOpenGLFunctions_2_1::glVertex4dv(const GLdouble *v)
2136{
2137 d_1_0_Deprecated->f.Vertex4dv(v);
2138}
2139
2140inline void QOpenGLFunctions_2_1::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2141{
2142 d_1_0_Deprecated->f.Vertex4d(x, y, z, w);
2143}
2144
2145inline void QOpenGLFunctions_2_1::glVertex3sv(const GLshort *v)
2146{
2147 d_1_0_Deprecated->f.Vertex3sv(v);
2148}
2149
2150inline void QOpenGLFunctions_2_1::glVertex3s(GLshort x, GLshort y, GLshort z)
2151{
2152 d_1_0_Deprecated->f.Vertex3s(x, y, z);
2153}
2154
2155inline void QOpenGLFunctions_2_1::glVertex3iv(const GLint *v)
2156{
2157 d_1_0_Deprecated->f.Vertex3iv(v);
2158}
2159
2160inline void QOpenGLFunctions_2_1::glVertex3i(GLint x, GLint y, GLint z)
2161{
2162 d_1_0_Deprecated->f.Vertex3i(x, y, z);
2163}
2164
2165inline void QOpenGLFunctions_2_1::glVertex3fv(const GLfloat *v)
2166{
2167 d_1_0_Deprecated->f.Vertex3fv(v);
2168}
2169
2170inline void QOpenGLFunctions_2_1::glVertex3f(GLfloat x, GLfloat y, GLfloat z)
2171{
2172 d_1_0_Deprecated->f.Vertex3f(x, y, z);
2173}
2174
2175inline void QOpenGLFunctions_2_1::glVertex3dv(const GLdouble *v)
2176{
2177 d_1_0_Deprecated->f.Vertex3dv(v);
2178}
2179
2180inline void QOpenGLFunctions_2_1::glVertex3d(GLdouble x, GLdouble y, GLdouble z)
2181{
2182 d_1_0_Deprecated->f.Vertex3d(x, y, z);
2183}
2184
2185inline void QOpenGLFunctions_2_1::glVertex2sv(const GLshort *v)
2186{
2187 d_1_0_Deprecated->f.Vertex2sv(v);
2188}
2189
2190inline void QOpenGLFunctions_2_1::glVertex2s(GLshort x, GLshort y)
2191{
2192 d_1_0_Deprecated->f.Vertex2s(x, y);
2193}
2194
2195inline void QOpenGLFunctions_2_1::glVertex2iv(const GLint *v)
2196{
2197 d_1_0_Deprecated->f.Vertex2iv(v);
2198}
2199
2200inline void QOpenGLFunctions_2_1::glVertex2i(GLint x, GLint y)
2201{
2202 d_1_0_Deprecated->f.Vertex2i(x, y);
2203}
2204
2205inline void QOpenGLFunctions_2_1::glVertex2fv(const GLfloat *v)
2206{
2207 d_1_0_Deprecated->f.Vertex2fv(v);
2208}
2209
2210inline void QOpenGLFunctions_2_1::glVertex2f(GLfloat x, GLfloat y)
2211{
2212 d_1_0_Deprecated->f.Vertex2f(x, y);
2213}
2214
2215inline void QOpenGLFunctions_2_1::glVertex2dv(const GLdouble *v)
2216{
2217 d_1_0_Deprecated->f.Vertex2dv(v);
2218}
2219
2220inline void QOpenGLFunctions_2_1::glVertex2d(GLdouble x, GLdouble y)
2221{
2222 d_1_0_Deprecated->f.Vertex2d(x, y);
2223}
2224
2225inline void QOpenGLFunctions_2_1::glTexCoord4sv(const GLshort *v)
2226{
2227 d_1_0_Deprecated->f.TexCoord4sv(v);
2228}
2229
2230inline void QOpenGLFunctions_2_1::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
2231{
2232 d_1_0_Deprecated->f.TexCoord4s(s, t, r, q);
2233}
2234
2235inline void QOpenGLFunctions_2_1::glTexCoord4iv(const GLint *v)
2236{
2237 d_1_0_Deprecated->f.TexCoord4iv(v);
2238}
2239
2240inline void QOpenGLFunctions_2_1::glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
2241{
2242 d_1_0_Deprecated->f.TexCoord4i(s, t, r, q);
2243}
2244
2245inline void QOpenGLFunctions_2_1::glTexCoord4fv(const GLfloat *v)
2246{
2247 d_1_0_Deprecated->f.TexCoord4fv(v);
2248}
2249
2250inline void QOpenGLFunctions_2_1::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
2251{
2252 d_1_0_Deprecated->f.TexCoord4f(s, t, r, q);
2253}
2254
2255inline void QOpenGLFunctions_2_1::glTexCoord4dv(const GLdouble *v)
2256{
2257 d_1_0_Deprecated->f.TexCoord4dv(v);
2258}
2259
2260inline void QOpenGLFunctions_2_1::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
2261{
2262 d_1_0_Deprecated->f.TexCoord4d(s, t, r, q);
2263}
2264
2265inline void QOpenGLFunctions_2_1::glTexCoord3sv(const GLshort *v)
2266{
2267 d_1_0_Deprecated->f.TexCoord3sv(v);
2268}
2269
2270inline void QOpenGLFunctions_2_1::glTexCoord3s(GLshort s, GLshort t, GLshort r)
2271{
2272 d_1_0_Deprecated->f.TexCoord3s(s, t, r);
2273}
2274
2275inline void QOpenGLFunctions_2_1::glTexCoord3iv(const GLint *v)
2276{
2277 d_1_0_Deprecated->f.TexCoord3iv(v);
2278}
2279
2280inline void QOpenGLFunctions_2_1::glTexCoord3i(GLint s, GLint t, GLint r)
2281{
2282 d_1_0_Deprecated->f.TexCoord3i(s, t, r);
2283}
2284
2285inline void QOpenGLFunctions_2_1::glTexCoord3fv(const GLfloat *v)
2286{
2287 d_1_0_Deprecated->f.TexCoord3fv(v);
2288}
2289
2290inline void QOpenGLFunctions_2_1::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
2291{
2292 d_1_0_Deprecated->f.TexCoord3f(s, t, r);
2293}
2294
2295inline void QOpenGLFunctions_2_1::glTexCoord3dv(const GLdouble *v)
2296{
2297 d_1_0_Deprecated->f.TexCoord3dv(v);
2298}
2299
2300inline void QOpenGLFunctions_2_1::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
2301{
2302 d_1_0_Deprecated->f.TexCoord3d(s, t, r);
2303}
2304
2305inline void QOpenGLFunctions_2_1::glTexCoord2sv(const GLshort *v)
2306{
2307 d_1_0_Deprecated->f.TexCoord2sv(v);
2308}
2309
2310inline void QOpenGLFunctions_2_1::glTexCoord2s(GLshort s, GLshort t)
2311{
2312 d_1_0_Deprecated->f.TexCoord2s(s, t);
2313}
2314
2315inline void QOpenGLFunctions_2_1::glTexCoord2iv(const GLint *v)
2316{
2317 d_1_0_Deprecated->f.TexCoord2iv(v);
2318}
2319
2320inline void QOpenGLFunctions_2_1::glTexCoord2i(GLint s, GLint t)
2321{
2322 d_1_0_Deprecated->f.TexCoord2i(s, t);
2323}
2324
2325inline void QOpenGLFunctions_2_1::glTexCoord2fv(const GLfloat *v)
2326{
2327 d_1_0_Deprecated->f.TexCoord2fv(v);
2328}
2329
2330inline void QOpenGLFunctions_2_1::glTexCoord2f(GLfloat s, GLfloat t)
2331{
2332 d_1_0_Deprecated->f.TexCoord2f(s, t);
2333}
2334
2335inline void QOpenGLFunctions_2_1::glTexCoord2dv(const GLdouble *v)
2336{
2337 d_1_0_Deprecated->f.TexCoord2dv(v);
2338}
2339
2340inline void QOpenGLFunctions_2_1::glTexCoord2d(GLdouble s, GLdouble t)
2341{
2342 d_1_0_Deprecated->f.TexCoord2d(s, t);
2343}
2344
2345inline void QOpenGLFunctions_2_1::glTexCoord1sv(const GLshort *v)
2346{
2347 d_1_0_Deprecated->f.TexCoord1sv(v);
2348}
2349
2350inline void QOpenGLFunctions_2_1::glTexCoord1s(GLshort s)
2351{
2352 d_1_0_Deprecated->f.TexCoord1s(s);
2353}
2354
2355inline void QOpenGLFunctions_2_1::glTexCoord1iv(const GLint *v)
2356{
2357 d_1_0_Deprecated->f.TexCoord1iv(v);
2358}
2359
2360inline void QOpenGLFunctions_2_1::glTexCoord1i(GLint s)
2361{
2362 d_1_0_Deprecated->f.TexCoord1i(s);
2363}
2364
2365inline void QOpenGLFunctions_2_1::glTexCoord1fv(const GLfloat *v)
2366{
2367 d_1_0_Deprecated->f.TexCoord1fv(v);
2368}
2369
2370inline void QOpenGLFunctions_2_1::glTexCoord1f(GLfloat s)
2371{
2372 d_1_0_Deprecated->f.TexCoord1f(s);
2373}
2374
2375inline void QOpenGLFunctions_2_1::glTexCoord1dv(const GLdouble *v)
2376{
2377 d_1_0_Deprecated->f.TexCoord1dv(v);
2378}
2379
2380inline void QOpenGLFunctions_2_1::glTexCoord1d(GLdouble s)
2381{
2382 d_1_0_Deprecated->f.TexCoord1d(s);
2383}
2384
2385inline void QOpenGLFunctions_2_1::glRectsv(const GLshort *v1, const GLshort *v2)
2386{
2387 d_1_0_Deprecated->f.Rectsv(v1, v2);
2388}
2389
2390inline void QOpenGLFunctions_2_1::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
2391{
2392 d_1_0_Deprecated->f.Rects(x1, y1, x2, y2);
2393}
2394
2395inline void QOpenGLFunctions_2_1::glRectiv(const GLint *v1, const GLint *v2)
2396{
2397 d_1_0_Deprecated->f.Rectiv(v1, v2);
2398}
2399
2400inline void QOpenGLFunctions_2_1::glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
2401{
2402 d_1_0_Deprecated->f.Recti(x1, y1, x2, y2);
2403}
2404
2405inline void QOpenGLFunctions_2_1::glRectfv(const GLfloat *v1, const GLfloat *v2)
2406{
2407 d_1_0_Deprecated->f.Rectfv(v1, v2);
2408}
2409
2410inline void QOpenGLFunctions_2_1::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
2411{
2412 d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2);
2413}
2414
2415inline void QOpenGLFunctions_2_1::glRectdv(const GLdouble *v1, const GLdouble *v2)
2416{
2417 d_1_0_Deprecated->f.Rectdv(v1, v2);
2418}
2419
2420inline void QOpenGLFunctions_2_1::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
2421{
2422 d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2);
2423}
2424
2425inline void QOpenGLFunctions_2_1::glRasterPos4sv(const GLshort *v)
2426{
2427 d_1_0_Deprecated->f.RasterPos4sv(v);
2428}
2429
2430inline void QOpenGLFunctions_2_1::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
2431{
2432 d_1_0_Deprecated->f.RasterPos4s(x, y, z, w);
2433}
2434
2435inline void QOpenGLFunctions_2_1::glRasterPos4iv(const GLint *v)
2436{
2437 d_1_0_Deprecated->f.RasterPos4iv(v);
2438}
2439
2440inline void QOpenGLFunctions_2_1::glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
2441{
2442 d_1_0_Deprecated->f.RasterPos4i(x, y, z, w);
2443}
2444
2445inline void QOpenGLFunctions_2_1::glRasterPos4fv(const GLfloat *v)
2446{
2447 d_1_0_Deprecated->f.RasterPos4fv(v);
2448}
2449
2450inline void QOpenGLFunctions_2_1::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
2451{
2452 d_1_0_Deprecated->f.RasterPos4f(x, y, z, w);
2453}
2454
2455inline void QOpenGLFunctions_2_1::glRasterPos4dv(const GLdouble *v)
2456{
2457 d_1_0_Deprecated->f.RasterPos4dv(v);
2458}
2459
2460inline void QOpenGLFunctions_2_1::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2461{
2462 d_1_0_Deprecated->f.RasterPos4d(x, y, z, w);
2463}
2464
2465inline void QOpenGLFunctions_2_1::glRasterPos3sv(const GLshort *v)
2466{
2467 d_1_0_Deprecated->f.RasterPos3sv(v);
2468}
2469
2470inline void QOpenGLFunctions_2_1::glRasterPos3s(GLshort x, GLshort y, GLshort z)
2471{
2472 d_1_0_Deprecated->f.RasterPos3s(x, y, z);
2473}
2474
2475inline void QOpenGLFunctions_2_1::glRasterPos3iv(const GLint *v)
2476{
2477 d_1_0_Deprecated->f.RasterPos3iv(v);
2478}
2479
2480inline void QOpenGLFunctions_2_1::glRasterPos3i(GLint x, GLint y, GLint z)
2481{
2482 d_1_0_Deprecated->f.RasterPos3i(x, y, z);
2483}
2484
2485inline void QOpenGLFunctions_2_1::glRasterPos3fv(const GLfloat *v)
2486{
2487 d_1_0_Deprecated->f.RasterPos3fv(v);
2488}
2489
2490inline void QOpenGLFunctions_2_1::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
2491{
2492 d_1_0_Deprecated->f.RasterPos3f(x, y, z);
2493}
2494
2495inline void QOpenGLFunctions_2_1::glRasterPos3dv(const GLdouble *v)
2496{
2497 d_1_0_Deprecated->f.RasterPos3dv(v);
2498}
2499
2500inline void QOpenGLFunctions_2_1::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
2501{
2502 d_1_0_Deprecated->f.RasterPos3d(x, y, z);
2503}
2504
2505inline void QOpenGLFunctions_2_1::glRasterPos2sv(const GLshort *v)
2506{
2507 d_1_0_Deprecated->f.RasterPos2sv(v);
2508}
2509
2510inline void QOpenGLFunctions_2_1::glRasterPos2s(GLshort x, GLshort y)
2511{
2512 d_1_0_Deprecated->f.RasterPos2s(x, y);
2513}
2514
2515inline void QOpenGLFunctions_2_1::glRasterPos2iv(const GLint *v)
2516{
2517 d_1_0_Deprecated->f.RasterPos2iv(v);
2518}
2519
2520inline void QOpenGLFunctions_2_1::glRasterPos2i(GLint x, GLint y)
2521{
2522 d_1_0_Deprecated->f.RasterPos2i(x, y);
2523}
2524
2525inline void QOpenGLFunctions_2_1::glRasterPos2fv(const GLfloat *v)
2526{
2527 d_1_0_Deprecated->f.RasterPos2fv(v);
2528}
2529
2530inline void QOpenGLFunctions_2_1::glRasterPos2f(GLfloat x, GLfloat y)
2531{
2532 d_1_0_Deprecated->f.RasterPos2f(x, y);
2533}
2534
2535inline void QOpenGLFunctions_2_1::glRasterPos2dv(const GLdouble *v)
2536{
2537 d_1_0_Deprecated->f.RasterPos2dv(v);
2538}
2539
2540inline void QOpenGLFunctions_2_1::glRasterPos2d(GLdouble x, GLdouble y)
2541{
2542 d_1_0_Deprecated->f.RasterPos2d(x, y);
2543}
2544
2545inline void QOpenGLFunctions_2_1::glNormal3sv(const GLshort *v)
2546{
2547 d_1_0_Deprecated->f.Normal3sv(v);
2548}
2549
2550inline void QOpenGLFunctions_2_1::glNormal3s(GLshort nx, GLshort ny, GLshort nz)
2551{
2552 d_1_0_Deprecated->f.Normal3s(nx, ny, nz);
2553}
2554
2555inline void QOpenGLFunctions_2_1::glNormal3iv(const GLint *v)
2556{
2557 d_1_0_Deprecated->f.Normal3iv(v);
2558}
2559
2560inline void QOpenGLFunctions_2_1::glNormal3i(GLint nx, GLint ny, GLint nz)
2561{
2562 d_1_0_Deprecated->f.Normal3i(nx, ny, nz);
2563}
2564
2565inline void QOpenGLFunctions_2_1::glNormal3fv(const GLfloat *v)
2566{
2567 d_1_0_Deprecated->f.Normal3fv(v);
2568}
2569
2570inline void QOpenGLFunctions_2_1::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
2571{
2572 d_1_0_Deprecated->f.Normal3f(nx, ny, nz);
2573}
2574
2575inline void QOpenGLFunctions_2_1::glNormal3dv(const GLdouble *v)
2576{
2577 d_1_0_Deprecated->f.Normal3dv(v);
2578}
2579
2580inline void QOpenGLFunctions_2_1::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
2581{
2582 d_1_0_Deprecated->f.Normal3d(nx, ny, nz);
2583}
2584
2585inline void QOpenGLFunctions_2_1::glNormal3bv(const GLbyte *v)
2586{
2587 d_1_0_Deprecated->f.Normal3bv(v);
2588}
2589
2590inline void QOpenGLFunctions_2_1::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
2591{
2592 d_1_0_Deprecated->f.Normal3b(nx, ny, nz);
2593}
2594
2595inline void QOpenGLFunctions_2_1::glIndexsv(const GLshort *c)
2596{
2597 d_1_0_Deprecated->f.Indexsv(c);
2598}
2599
2600inline void QOpenGLFunctions_2_1::glIndexs(GLshort c)
2601{
2602 d_1_0_Deprecated->f.Indexs(c);
2603}
2604
2605inline void QOpenGLFunctions_2_1::glIndexiv(const GLint *c)
2606{
2607 d_1_0_Deprecated->f.Indexiv(c);
2608}
2609
2610inline void QOpenGLFunctions_2_1::glIndexi(GLint c)
2611{
2612 d_1_0_Deprecated->f.Indexi(c);
2613}
2614
2615inline void QOpenGLFunctions_2_1::glIndexfv(const GLfloat *c)
2616{
2617 d_1_0_Deprecated->f.Indexfv(c);
2618}
2619
2620inline void QOpenGLFunctions_2_1::glIndexf(GLfloat c)
2621{
2622 d_1_0_Deprecated->f.Indexf(c);
2623}
2624
2625inline void QOpenGLFunctions_2_1::glIndexdv(const GLdouble *c)
2626{
2627 d_1_0_Deprecated->f.Indexdv(c);
2628}
2629
2630inline void QOpenGLFunctions_2_1::glIndexd(GLdouble c)
2631{
2632 d_1_0_Deprecated->f.Indexd(c);
2633}
2634
2635inline void QOpenGLFunctions_2_1::glEnd()
2636{
2637 d_1_0_Deprecated->f.End();
2638}
2639
2640inline void QOpenGLFunctions_2_1::glEdgeFlagv(const GLboolean *flag)
2641{
2642 d_1_0_Deprecated->f.EdgeFlagv(flag);
2643}
2644
2645inline void QOpenGLFunctions_2_1::glEdgeFlag(GLboolean flag)
2646{
2647 d_1_0_Deprecated->f.EdgeFlag(flag);
2648}
2649
2650inline void QOpenGLFunctions_2_1::glColor4usv(const GLushort *v)
2651{
2652 d_1_0_Deprecated->f.Color4usv(v);
2653}
2654
2655inline void QOpenGLFunctions_2_1::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
2656{
2657 d_1_0_Deprecated->f.Color4us(red, green, blue, alpha);
2658}
2659
2660inline void QOpenGLFunctions_2_1::glColor4uiv(const GLuint *v)
2661{
2662 d_1_0_Deprecated->f.Color4uiv(v);
2663}
2664
2665inline void QOpenGLFunctions_2_1::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
2666{
2667 d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha);
2668}
2669
2670inline void QOpenGLFunctions_2_1::glColor4ubv(const GLubyte *v)
2671{
2672 d_1_0_Deprecated->f.Color4ubv(v);
2673}
2674
2675inline void QOpenGLFunctions_2_1::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
2676{
2677 d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha);
2678}
2679
2680inline void QOpenGLFunctions_2_1::glColor4sv(const GLshort *v)
2681{
2682 d_1_0_Deprecated->f.Color4sv(v);
2683}
2684
2685inline void QOpenGLFunctions_2_1::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
2686{
2687 d_1_0_Deprecated->f.Color4s(red, green, blue, alpha);
2688}
2689
2690inline void QOpenGLFunctions_2_1::glColor4iv(const GLint *v)
2691{
2692 d_1_0_Deprecated->f.Color4iv(v);
2693}
2694
2695inline void QOpenGLFunctions_2_1::glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
2696{
2697 d_1_0_Deprecated->f.Color4i(red, green, blue, alpha);
2698}
2699
2700inline void QOpenGLFunctions_2_1::glColor4fv(const GLfloat *v)
2701{
2702 d_1_0_Deprecated->f.Color4fv(v);
2703}
2704
2705inline void QOpenGLFunctions_2_1::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
2706{
2707 d_1_0_Deprecated->f.Color4f(red, green, blue, alpha);
2708}
2709
2710inline void QOpenGLFunctions_2_1::glColor4dv(const GLdouble *v)
2711{
2712 d_1_0_Deprecated->f.Color4dv(v);
2713}
2714
2715inline void QOpenGLFunctions_2_1::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
2716{
2717 d_1_0_Deprecated->f.Color4d(red, green, blue, alpha);
2718}
2719
2720inline void QOpenGLFunctions_2_1::glColor4bv(const GLbyte *v)
2721{
2722 d_1_0_Deprecated->f.Color4bv(v);
2723}
2724
2725inline void QOpenGLFunctions_2_1::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
2726{
2727 d_1_0_Deprecated->f.Color4b(red, green, blue, alpha);
2728}
2729
2730inline void QOpenGLFunctions_2_1::glColor3usv(const GLushort *v)
2731{
2732 d_1_0_Deprecated->f.Color3usv(v);
2733}
2734
2735inline void QOpenGLFunctions_2_1::glColor3us(GLushort red, GLushort green, GLushort blue)
2736{
2737 d_1_0_Deprecated->f.Color3us(red, green, blue);
2738}
2739
2740inline void QOpenGLFunctions_2_1::glColor3uiv(const GLuint *v)
2741{
2742 d_1_0_Deprecated->f.Color3uiv(v);
2743}
2744
2745inline void QOpenGLFunctions_2_1::glColor3ui(GLuint red, GLuint green, GLuint blue)
2746{
2747 d_1_0_Deprecated->f.Color3ui(red, green, blue);
2748}
2749
2750inline void QOpenGLFunctions_2_1::glColor3ubv(const GLubyte *v)
2751{
2752 d_1_0_Deprecated->f.Color3ubv(v);
2753}
2754
2755inline void QOpenGLFunctions_2_1::glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
2756{
2757 d_1_0_Deprecated->f.Color3ub(red, green, blue);
2758}
2759
2760inline void QOpenGLFunctions_2_1::glColor3sv(const GLshort *v)
2761{
2762 d_1_0_Deprecated->f.Color3sv(v);
2763}
2764
2765inline void QOpenGLFunctions_2_1::glColor3s(GLshort red, GLshort green, GLshort blue)
2766{
2767 d_1_0_Deprecated->f.Color3s(red, green, blue);
2768}
2769
2770inline void QOpenGLFunctions_2_1::glColor3iv(const GLint *v)
2771{
2772 d_1_0_Deprecated->f.Color3iv(v);
2773}
2774
2775inline void QOpenGLFunctions_2_1::glColor3i(GLint red, GLint green, GLint blue)
2776{
2777 d_1_0_Deprecated->f.Color3i(red, green, blue);
2778}
2779
2780inline void QOpenGLFunctions_2_1::glColor3fv(const GLfloat *v)
2781{
2782 d_1_0_Deprecated->f.Color3fv(v);
2783}
2784
2785inline void QOpenGLFunctions_2_1::glColor3f(GLfloat red, GLfloat green, GLfloat blue)
2786{
2787 d_1_0_Deprecated->f.Color3f(red, green, blue);
2788}
2789
2790inline void QOpenGLFunctions_2_1::glColor3dv(const GLdouble *v)
2791{
2792 d_1_0_Deprecated->f.Color3dv(v);
2793}
2794
2795inline void QOpenGLFunctions_2_1::glColor3d(GLdouble red, GLdouble green, GLdouble blue)
2796{
2797 d_1_0_Deprecated->f.Color3d(red, green, blue);
2798}
2799
2800inline void QOpenGLFunctions_2_1::glColor3bv(const GLbyte *v)
2801{
2802 d_1_0_Deprecated->f.Color3bv(v);
2803}
2804
2805inline void QOpenGLFunctions_2_1::glColor3b(GLbyte red, GLbyte green, GLbyte blue)
2806{
2807 d_1_0_Deprecated->f.Color3b(red, green, blue);
2808}
2809
2810inline void QOpenGLFunctions_2_1::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
2811{
2812 d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap);
2813}
2814
2815inline void QOpenGLFunctions_2_1::glBegin(GLenum mode)
2816{
2817 d_1_0_Deprecated->f.Begin(mode);
2818}
2819
2820inline void QOpenGLFunctions_2_1::glListBase(GLuint base)
2821{
2822 d_1_0_Deprecated->f.ListBase(base);
2823}
2824
2825inline GLuint QOpenGLFunctions_2_1::glGenLists(GLsizei range)
2826{
2827 return d_1_0_Deprecated->f.GenLists(range);
2828}
2829
2830inline void QOpenGLFunctions_2_1::glDeleteLists(GLuint list, GLsizei range)
2831{
2832 d_1_0_Deprecated->f.DeleteLists(list, range);
2833}
2834
2835inline void QOpenGLFunctions_2_1::glCallLists(GLsizei n, GLenum type, const GLvoid *lists)
2836{
2837 d_1_0_Deprecated->f.CallLists(n, type, lists);
2838}
2839
2840inline void QOpenGLFunctions_2_1::glCallList(GLuint list)
2841{
2842 d_1_0_Deprecated->f.CallList(list);
2843}
2844
2845inline void QOpenGLFunctions_2_1::glEndList()
2846{
2847 d_1_0_Deprecated->f.EndList();
2848}
2849
2850inline void QOpenGLFunctions_2_1::glNewList(GLuint list, GLenum mode)
2851{
2852 d_1_0_Deprecated->f.NewList(list, mode);
2853}
2854
2855
2856// OpenGL 1.1 deprecated functions
2857inline void QOpenGLFunctions_2_1::glPushClientAttrib(GLbitfield mask)
2858{
2859 d_1_1_Deprecated->f.PushClientAttrib(mask);
2860}
2861
2862inline void QOpenGLFunctions_2_1::glPopClientAttrib()
2863{
2864 d_1_1_Deprecated->f.PopClientAttrib();
2865}
2866
2867inline void QOpenGLFunctions_2_1::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities)
2868{
2869 d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities);
2870}
2871
2872inline GLboolean QOpenGLFunctions_2_1::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences)
2873{
2874 return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences);
2875}
2876
2877inline void QOpenGLFunctions_2_1::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2878{
2879 d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer);
2880}
2881
2882inline void QOpenGLFunctions_2_1::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2883{
2884 d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer);
2885}
2886
2887inline void QOpenGLFunctions_2_1::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
2888{
2889 d_1_1_Deprecated->f.NormalPointer(type, stride, pointer);
2890}
2891
2892inline void QOpenGLFunctions_2_1::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
2893{
2894 d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer);
2895}
2896
2897inline void QOpenGLFunctions_2_1::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
2898{
2899 d_1_1_Deprecated->f.IndexPointer(type, stride, pointer);
2900}
2901
2902inline void QOpenGLFunctions_2_1::glEnableClientState(GLenum array)
2903{
2904 d_1_1_Deprecated->f.EnableClientState(array);
2905}
2906
2907inline void QOpenGLFunctions_2_1::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer)
2908{
2909 d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer);
2910}
2911
2912inline void QOpenGLFunctions_2_1::glDisableClientState(GLenum array)
2913{
2914 d_1_1_Deprecated->f.DisableClientState(array);
2915}
2916
2917inline void QOpenGLFunctions_2_1::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2918{
2919 d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer);
2920}
2921
2922inline void QOpenGLFunctions_2_1::glArrayElement(GLint i)
2923{
2924 d_1_1_Deprecated->f.ArrayElement(i);
2925}
2926
2927
2928// OpenGL 1.2 deprecated functions
2929inline void QOpenGLFunctions_2_1::glResetMinmax(GLenum target)
2930{
2931 d_1_2_Deprecated->f.ResetMinmax(target);
2932}
2933
2934inline void QOpenGLFunctions_2_1::glResetHistogram(GLenum target)
2935{
2936 d_1_2_Deprecated->f.ResetHistogram(target);
2937}
2938
2939inline void QOpenGLFunctions_2_1::glMinmax(GLenum target, GLenum internalformat, GLboolean sink)
2940{
2941 d_1_2_Deprecated->f.Minmax(target, internalformat, sink);
2942}
2943
2944inline void QOpenGLFunctions_2_1::glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink)
2945{
2946 d_1_2_Deprecated->f.Histogram(target, width, internalformat, sink);
2947}
2948
2949inline void QOpenGLFunctions_2_1::glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params)
2950{
2951 d_1_2_Deprecated->f.GetMinmaxParameteriv(target, pname, params);
2952}
2953
2954inline void QOpenGLFunctions_2_1::glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params)
2955{
2956 d_1_2_Deprecated->f.GetMinmaxParameterfv(target, pname, params);
2957}
2958
2959inline void QOpenGLFunctions_2_1::glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
2960{
2961 d_1_2_Deprecated->f.GetMinmax(target, reset, format, type, values);
2962}
2963
2964inline void QOpenGLFunctions_2_1::glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params)
2965{
2966 d_1_2_Deprecated->f.GetHistogramParameteriv(target, pname, params);
2967}
2968
2969inline void QOpenGLFunctions_2_1::glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params)
2970{
2971 d_1_2_Deprecated->f.GetHistogramParameterfv(target, pname, params);
2972}
2973
2974inline void QOpenGLFunctions_2_1::glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
2975{
2976 d_1_2_Deprecated->f.GetHistogram(target, reset, format, type, values);
2977}
2978
2979inline void QOpenGLFunctions_2_1::glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column)
2980{
2981 d_1_2_Deprecated->f.SeparableFilter2D(target, internalformat, width, height, format, type, row, column);
2982}
2983
2984inline void QOpenGLFunctions_2_1::glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span)
2985{
2986 d_1_2_Deprecated->f.GetSeparableFilter(target, format, type, row, column, span);
2987}
2988
2989inline void QOpenGLFunctions_2_1::glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params)
2990{
2991 d_1_2_Deprecated->f.GetConvolutionParameteriv(target, pname, params);
2992}
2993
2994inline void QOpenGLFunctions_2_1::glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params)
2995{
2996 d_1_2_Deprecated->f.GetConvolutionParameterfv(target, pname, params);
2997}
2998
2999inline void QOpenGLFunctions_2_1::glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image)
3000{
3001 d_1_2_Deprecated->f.GetConvolutionFilter(target, format, type, image);
3002}
3003
3004inline void QOpenGLFunctions_2_1::glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height)
3005{
3006 d_1_2_Deprecated->f.CopyConvolutionFilter2D(target, internalformat, x, y, width, height);
3007}
3008
3009inline void QOpenGLFunctions_2_1::glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
3010{
3011 d_1_2_Deprecated->f.CopyConvolutionFilter1D(target, internalformat, x, y, width);
3012}
3013
3014inline void QOpenGLFunctions_2_1::glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params)
3015{
3016 d_1_2_Deprecated->f.ConvolutionParameteriv(target, pname, params);
3017}
3018
3019inline void QOpenGLFunctions_2_1::glConvolutionParameteri(GLenum target, GLenum pname, GLint params)
3020{
3021 d_1_2_Deprecated->f.ConvolutionParameteri(target, pname, params);
3022}
3023
3024inline void QOpenGLFunctions_2_1::glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params)
3025{
3026 d_1_2_Deprecated->f.ConvolutionParameterfv(target, pname, params);
3027}
3028
3029inline void QOpenGLFunctions_2_1::glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params)
3030{
3031 d_1_2_Deprecated->f.ConvolutionParameterf(target, pname, params);
3032}
3033
3034inline void QOpenGLFunctions_2_1::glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image)
3035{
3036 d_1_2_Deprecated->f.ConvolutionFilter2D(target, internalformat, width, height, format, type, image);
3037}
3038
3039inline void QOpenGLFunctions_2_1::glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image)
3040{
3041 d_1_2_Deprecated->f.ConvolutionFilter1D(target, internalformat, width, format, type, image);
3042}
3043
3044inline void QOpenGLFunctions_2_1::glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width)
3045{
3046 d_1_2_Deprecated->f.CopyColorSubTable(target, start, x, y, width);
3047}
3048
3049inline void QOpenGLFunctions_2_1::glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
3050{
3051 d_1_2_Deprecated->f.ColorSubTable(target, start, count, format, type, data);
3052}
3053
3054inline void QOpenGLFunctions_2_1::glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params)
3055{
3056 d_1_2_Deprecated->f.GetColorTableParameteriv(target, pname, params);
3057}
3058
3059inline void QOpenGLFunctions_2_1::glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params)
3060{
3061 d_1_2_Deprecated->f.GetColorTableParameterfv(target, pname, params);
3062}
3063
3064inline void QOpenGLFunctions_2_1::glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table)
3065{
3066 d_1_2_Deprecated->f.GetColorTable(target, format, type, table);
3067}
3068
3069inline void QOpenGLFunctions_2_1::glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
3070{
3071 d_1_2_Deprecated->f.CopyColorTable(target, internalformat, x, y, width);
3072}
3073
3074inline void QOpenGLFunctions_2_1::glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params)
3075{
3076 d_1_2_Deprecated->f.ColorTableParameteriv(target, pname, params);
3077}
3078
3079inline void QOpenGLFunctions_2_1::glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params)
3080{
3081 d_1_2_Deprecated->f.ColorTableParameterfv(target, pname, params);
3082}
3083
3084inline void QOpenGLFunctions_2_1::glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
3085{
3086 d_1_2_Deprecated->f.ColorTable(target, internalformat, width, format, type, table);
3087}
3088
3089
3090// OpenGL 1.3 deprecated functions
3091inline void QOpenGLFunctions_2_1::glMultTransposeMatrixd(const GLdouble *m)
3092{
3093 d_1_3_Deprecated->f.MultTransposeMatrixd(m);
3094}
3095
3096inline void QOpenGLFunctions_2_1::glMultTransposeMatrixf(const GLfloat *m)
3097{
3098 d_1_3_Deprecated->f.MultTransposeMatrixf(m);
3099}
3100
3101inline void QOpenGLFunctions_2_1::glLoadTransposeMatrixd(const GLdouble *m)
3102{
3103 d_1_3_Deprecated->f.LoadTransposeMatrixd(m);
3104}
3105
3106inline void QOpenGLFunctions_2_1::glLoadTransposeMatrixf(const GLfloat *m)
3107{
3108 d_1_3_Deprecated->f.LoadTransposeMatrixf(m);
3109}
3110
3111inline void QOpenGLFunctions_2_1::glMultiTexCoord4sv(GLenum target, const GLshort *v)
3112{
3113 d_1_3_Deprecated->f.MultiTexCoord4sv(target, v);
3114}
3115
3116inline void QOpenGLFunctions_2_1::glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)
3117{
3118 d_1_3_Deprecated->f.MultiTexCoord4s(target, s, t, r, q);
3119}
3120
3121inline void QOpenGLFunctions_2_1::glMultiTexCoord4iv(GLenum target, const GLint *v)
3122{
3123 d_1_3_Deprecated->f.MultiTexCoord4iv(target, v);
3124}
3125
3126inline void QOpenGLFunctions_2_1::glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q)
3127{
3128 d_1_3_Deprecated->f.MultiTexCoord4i(target, s, t, r, q);
3129}
3130
3131inline void QOpenGLFunctions_2_1::glMultiTexCoord4fv(GLenum target, const GLfloat *v)
3132{
3133 d_1_3_Deprecated->f.MultiTexCoord4fv(target, v);
3134}
3135
3136inline void QOpenGLFunctions_2_1::glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
3137{
3138 d_1_3_Deprecated->f.MultiTexCoord4f(target, s, t, r, q);
3139}
3140
3141inline void QOpenGLFunctions_2_1::glMultiTexCoord4dv(GLenum target, const GLdouble *v)
3142{
3143 d_1_3_Deprecated->f.MultiTexCoord4dv(target, v);
3144}
3145
3146inline void QOpenGLFunctions_2_1::glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)
3147{
3148 d_1_3_Deprecated->f.MultiTexCoord4d(target, s, t, r, q);
3149}
3150
3151inline void QOpenGLFunctions_2_1::glMultiTexCoord3sv(GLenum target, const GLshort *v)
3152{
3153 d_1_3_Deprecated->f.MultiTexCoord3sv(target, v);
3154}
3155
3156inline void QOpenGLFunctions_2_1::glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r)
3157{
3158 d_1_3_Deprecated->f.MultiTexCoord3s(target, s, t, r);
3159}
3160
3161inline void QOpenGLFunctions_2_1::glMultiTexCoord3iv(GLenum target, const GLint *v)
3162{
3163 d_1_3_Deprecated->f.MultiTexCoord3iv(target, v);
3164}
3165
3166inline void QOpenGLFunctions_2_1::glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r)
3167{
3168 d_1_3_Deprecated->f.MultiTexCoord3i(target, s, t, r);
3169}
3170
3171inline void QOpenGLFunctions_2_1::glMultiTexCoord3fv(GLenum target, const GLfloat *v)
3172{
3173 d_1_3_Deprecated->f.MultiTexCoord3fv(target, v);
3174}
3175
3176inline void QOpenGLFunctions_2_1::glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r)
3177{
3178 d_1_3_Deprecated->f.MultiTexCoord3f(target, s, t, r);
3179}
3180
3181inline void QOpenGLFunctions_2_1::glMultiTexCoord3dv(GLenum target, const GLdouble *v)
3182{
3183 d_1_3_Deprecated->f.MultiTexCoord3dv(target, v);
3184}
3185
3186inline void QOpenGLFunctions_2_1::glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r)
3187{
3188 d_1_3_Deprecated->f.MultiTexCoord3d(target, s, t, r);
3189}
3190
3191inline void QOpenGLFunctions_2_1::glMultiTexCoord2sv(GLenum target, const GLshort *v)
3192{
3193 d_1_3_Deprecated->f.MultiTexCoord2sv(target, v);
3194}
3195
3196inline void QOpenGLFunctions_2_1::glMultiTexCoord2s(GLenum target, GLshort s, GLshort t)
3197{
3198 d_1_3_Deprecated->f.MultiTexCoord2s(target, s, t);
3199}
3200
3201inline void QOpenGLFunctions_2_1::glMultiTexCoord2iv(GLenum target, const GLint *v)
3202{
3203 d_1_3_Deprecated->f.MultiTexCoord2iv(target, v);
3204}
3205
3206inline void QOpenGLFunctions_2_1::glMultiTexCoord2i(GLenum target, GLint s, GLint t)
3207{
3208 d_1_3_Deprecated->f.MultiTexCoord2i(target, s, t);
3209}
3210
3211inline void QOpenGLFunctions_2_1::glMultiTexCoord2fv(GLenum target, const GLfloat *v)
3212{
3213 d_1_3_Deprecated->f.MultiTexCoord2fv(target, v);
3214}
3215
3216inline void QOpenGLFunctions_2_1::glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t)
3217{
3218 d_1_3_Deprecated->f.MultiTexCoord2f(target, s, t);
3219}
3220
3221inline void QOpenGLFunctions_2_1::glMultiTexCoord2dv(GLenum target, const GLdouble *v)
3222{
3223 d_1_3_Deprecated->f.MultiTexCoord2dv(target, v);
3224}
3225
3226inline void QOpenGLFunctions_2_1::glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t)
3227{
3228 d_1_3_Deprecated->f.MultiTexCoord2d(target, s, t);
3229}
3230
3231inline void QOpenGLFunctions_2_1::glMultiTexCoord1sv(GLenum target, const GLshort *v)
3232{
3233 d_1_3_Deprecated->f.MultiTexCoord1sv(target, v);
3234}
3235
3236inline void QOpenGLFunctions_2_1::glMultiTexCoord1s(GLenum target, GLshort s)
3237{
3238 d_1_3_Deprecated->f.MultiTexCoord1s(target, s);
3239}
3240
3241inline void QOpenGLFunctions_2_1::glMultiTexCoord1iv(GLenum target, const GLint *v)
3242{
3243 d_1_3_Deprecated->f.MultiTexCoord1iv(target, v);
3244}
3245
3246inline void QOpenGLFunctions_2_1::glMultiTexCoord1i(GLenum target, GLint s)
3247{
3248 d_1_3_Deprecated->f.MultiTexCoord1i(target, s);
3249}
3250
3251inline void QOpenGLFunctions_2_1::glMultiTexCoord1fv(GLenum target, const GLfloat *v)
3252{
3253 d_1_3_Deprecated->f.MultiTexCoord1fv(target, v);
3254}
3255
3256inline void QOpenGLFunctions_2_1::glMultiTexCoord1f(GLenum target, GLfloat s)
3257{
3258 d_1_3_Deprecated->f.MultiTexCoord1f(target, s);
3259}
3260
3261inline void QOpenGLFunctions_2_1::glMultiTexCoord1dv(GLenum target, const GLdouble *v)
3262{
3263 d_1_3_Deprecated->f.MultiTexCoord1dv(target, v);
3264}
3265
3266inline void QOpenGLFunctions_2_1::glMultiTexCoord1d(GLenum target, GLdouble s)
3267{
3268 d_1_3_Deprecated->f.MultiTexCoord1d(target, s);
3269}
3270
3271inline void QOpenGLFunctions_2_1::glClientActiveTexture(GLenum texture)
3272{
3273 d_1_3_Deprecated->f.ClientActiveTexture(texture);
3274}
3275
3276
3277// OpenGL 1.4 deprecated functions
3278inline void QOpenGLFunctions_2_1::glWindowPos3sv(const GLshort *v)
3279{
3280 d_1_4_Deprecated->f.WindowPos3sv(v);
3281}
3282
3283inline void QOpenGLFunctions_2_1::glWindowPos3s(GLshort x, GLshort y, GLshort z)
3284{
3285 d_1_4_Deprecated->f.WindowPos3s(x, y, z);
3286}
3287
3288inline void QOpenGLFunctions_2_1::glWindowPos3iv(const GLint *v)
3289{
3290 d_1_4_Deprecated->f.WindowPos3iv(v);
3291}
3292
3293inline void QOpenGLFunctions_2_1::glWindowPos3i(GLint x, GLint y, GLint z)
3294{
3295 d_1_4_Deprecated->f.WindowPos3i(x, y, z);
3296}
3297
3298inline void QOpenGLFunctions_2_1::glWindowPos3fv(const GLfloat *v)
3299{
3300 d_1_4_Deprecated->f.WindowPos3fv(v);
3301}
3302
3303inline void QOpenGLFunctions_2_1::glWindowPos3f(GLfloat x, GLfloat y, GLfloat z)
3304{
3305 d_1_4_Deprecated->f.WindowPos3f(x, y, z);
3306}
3307
3308inline void QOpenGLFunctions_2_1::glWindowPos3dv(const GLdouble *v)
3309{
3310 d_1_4_Deprecated->f.WindowPos3dv(v);
3311}
3312
3313inline void QOpenGLFunctions_2_1::glWindowPos3d(GLdouble x, GLdouble y, GLdouble z)
3314{
3315 d_1_4_Deprecated->f.WindowPos3d(x, y, z);
3316}
3317
3318inline void QOpenGLFunctions_2_1::glWindowPos2sv(const GLshort *v)
3319{
3320 d_1_4_Deprecated->f.WindowPos2sv(v);
3321}
3322
3323inline void QOpenGLFunctions_2_1::glWindowPos2s(GLshort x, GLshort y)
3324{
3325 d_1_4_Deprecated->f.WindowPos2s(x, y);
3326}
3327
3328inline void QOpenGLFunctions_2_1::glWindowPos2iv(const GLint *v)
3329{
3330 d_1_4_Deprecated->f.WindowPos2iv(v);
3331}
3332
3333inline void QOpenGLFunctions_2_1::glWindowPos2i(GLint x, GLint y)
3334{
3335 d_1_4_Deprecated->f.WindowPos2i(x, y);
3336}
3337
3338inline void QOpenGLFunctions_2_1::glWindowPos2fv(const GLfloat *v)
3339{
3340 d_1_4_Deprecated->f.WindowPos2fv(v);
3341}
3342
3343inline void QOpenGLFunctions_2_1::glWindowPos2f(GLfloat x, GLfloat y)
3344{
3345 d_1_4_Deprecated->f.WindowPos2f(x, y);
3346}
3347
3348inline void QOpenGLFunctions_2_1::glWindowPos2dv(const GLdouble *v)
3349{
3350 d_1_4_Deprecated->f.WindowPos2dv(v);
3351}
3352
3353inline void QOpenGLFunctions_2_1::glWindowPos2d(GLdouble x, GLdouble y)
3354{
3355 d_1_4_Deprecated->f.WindowPos2d(x, y);
3356}
3357
3358inline void QOpenGLFunctions_2_1::glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
3359{
3360 d_1_4_Deprecated->f.SecondaryColorPointer(size, type, stride, pointer);
3361}
3362
3363inline void QOpenGLFunctions_2_1::glSecondaryColor3usv(const GLushort *v)
3364{
3365 d_1_4_Deprecated->f.SecondaryColor3usv(v);
3366}
3367
3368inline void QOpenGLFunctions_2_1::glSecondaryColor3us(GLushort red, GLushort green, GLushort blue)
3369{
3370 d_1_4_Deprecated->f.SecondaryColor3us(red, green, blue);
3371}
3372
3373inline void QOpenGLFunctions_2_1::glSecondaryColor3uiv(const GLuint *v)
3374{
3375 d_1_4_Deprecated->f.SecondaryColor3uiv(v);
3376}
3377
3378inline void QOpenGLFunctions_2_1::glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue)
3379{
3380 d_1_4_Deprecated->f.SecondaryColor3ui(red, green, blue);
3381}
3382
3383inline void QOpenGLFunctions_2_1::glSecondaryColor3ubv(const GLubyte *v)
3384{
3385 d_1_4_Deprecated->f.SecondaryColor3ubv(v);
3386}
3387
3388inline void QOpenGLFunctions_2_1::glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue)
3389{
3390 d_1_4_Deprecated->f.SecondaryColor3ub(red, green, blue);
3391}
3392
3393inline void QOpenGLFunctions_2_1::glSecondaryColor3sv(const GLshort *v)
3394{
3395 d_1_4_Deprecated->f.SecondaryColor3sv(v);
3396}
3397
3398inline void QOpenGLFunctions_2_1::glSecondaryColor3s(GLshort red, GLshort green, GLshort blue)
3399{
3400 d_1_4_Deprecated->f.SecondaryColor3s(red, green, blue);
3401}
3402
3403inline void QOpenGLFunctions_2_1::glSecondaryColor3iv(const GLint *v)
3404{
3405 d_1_4_Deprecated->f.SecondaryColor3iv(v);
3406}
3407
3408inline void QOpenGLFunctions_2_1::glSecondaryColor3i(GLint red, GLint green, GLint blue)
3409{
3410 d_1_4_Deprecated->f.SecondaryColor3i(red, green, blue);
3411}
3412
3413inline void QOpenGLFunctions_2_1::glSecondaryColor3fv(const GLfloat *v)
3414{
3415 d_1_4_Deprecated->f.SecondaryColor3fv(v);
3416}
3417
3418inline void QOpenGLFunctions_2_1::glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue)
3419{
3420 d_1_4_Deprecated->f.SecondaryColor3f(red, green, blue);
3421}
3422
3423inline void QOpenGLFunctions_2_1::glSecondaryColor3dv(const GLdouble *v)
3424{
3425 d_1_4_Deprecated->f.SecondaryColor3dv(v);
3426}
3427
3428inline void QOpenGLFunctions_2_1::glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue)
3429{
3430 d_1_4_Deprecated->f.SecondaryColor3d(red, green, blue);
3431}
3432
3433inline void QOpenGLFunctions_2_1::glSecondaryColor3bv(const GLbyte *v)
3434{
3435 d_1_4_Deprecated->f.SecondaryColor3bv(v);
3436}
3437
3438inline void QOpenGLFunctions_2_1::glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue)
3439{
3440 d_1_4_Deprecated->f.SecondaryColor3b(red, green, blue);
3441}
3442
3443inline void QOpenGLFunctions_2_1::glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
3444{
3445 d_1_4_Deprecated->f.FogCoordPointer(type, stride, pointer);
3446}
3447
3448inline void QOpenGLFunctions_2_1::glFogCoorddv(const GLdouble *coord)
3449{
3450 d_1_4_Deprecated->f.FogCoorddv(coord);
3451}
3452
3453inline void QOpenGLFunctions_2_1::glFogCoordd(GLdouble coord)
3454{
3455 d_1_4_Deprecated->f.FogCoordd(coord);
3456}
3457
3458inline void QOpenGLFunctions_2_1::glFogCoordfv(const GLfloat *coord)
3459{
3460 d_1_4_Deprecated->f.FogCoordfv(coord);
3461}
3462
3463inline void QOpenGLFunctions_2_1::glFogCoordf(GLfloat coord)
3464{
3465 d_1_4_Deprecated->f.FogCoordf(coord);
3466}
3467
3468
3469// OpenGL 1.5 deprecated functions
3470
3471// OpenGL 2.0 deprecated functions
3472inline void QOpenGLFunctions_2_1::glVertexAttrib4usv(GLuint index, const GLushort *v)
3473{
3474 d_2_0_Core->f.VertexAttrib4usv(index, v);
3475}
3476
3477inline void QOpenGLFunctions_2_1::glVertexAttrib4uiv(GLuint index, const GLuint *v)
3478{
3479 d_2_0_Core->f.VertexAttrib4uiv(index, v);
3480}
3481
3482inline void QOpenGLFunctions_2_1::glVertexAttrib4ubv(GLuint index, const GLubyte *v)
3483{
3484 d_2_0_Core->f.VertexAttrib4ubv(index, v);
3485}
3486
3487inline void QOpenGLFunctions_2_1::glVertexAttrib4sv(GLuint index, const GLshort *v)
3488{
3489 d_2_0_Core->f.VertexAttrib4sv(index, v);
3490}
3491
3492inline void QOpenGLFunctions_2_1::glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)
3493{
3494 d_2_0_Core->f.VertexAttrib4s(index, x, y, z, w);
3495}
3496
3497inline void QOpenGLFunctions_2_1::glVertexAttrib4iv(GLuint index, const GLint *v)
3498{
3499 d_2_0_Core->f.VertexAttrib4iv(index, v);
3500}
3501
3502inline void QOpenGLFunctions_2_1::glVertexAttrib4fv(GLuint index, const GLfloat *v)
3503{
3504 d_2_0_Core->f.VertexAttrib4fv(index, v);
3505}
3506
3507inline void QOpenGLFunctions_2_1::glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
3508{
3509 d_2_0_Core->f.VertexAttrib4f(index, x, y, z, w);
3510}
3511
3512inline void QOpenGLFunctions_2_1::glVertexAttrib4dv(GLuint index, const GLdouble *v)
3513{
3514 d_2_0_Core->f.VertexAttrib4dv(index, v);
3515}
3516
3517inline void QOpenGLFunctions_2_1::glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
3518{
3519 d_2_0_Core->f.VertexAttrib4d(index, x, y, z, w);
3520}
3521
3522inline void QOpenGLFunctions_2_1::glVertexAttrib4bv(GLuint index, const GLbyte *v)
3523{
3524 d_2_0_Core->f.VertexAttrib4bv(index, v);
3525}
3526
3527inline void QOpenGLFunctions_2_1::glVertexAttrib4Nusv(GLuint index, const GLushort *v)
3528{
3529 d_2_0_Core->f.VertexAttrib4Nusv(index, v);
3530}
3531
3532inline void QOpenGLFunctions_2_1::glVertexAttrib4Nuiv(GLuint index, const GLuint *v)
3533{
3534 d_2_0_Core->f.VertexAttrib4Nuiv(index, v);
3535}
3536
3537inline void QOpenGLFunctions_2_1::glVertexAttrib4Nubv(GLuint index, const GLubyte *v)
3538{
3539 d_2_0_Core->f.VertexAttrib4Nubv(index, v);
3540}
3541
3542inline void QOpenGLFunctions_2_1::glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)
3543{
3544 d_2_0_Core->f.VertexAttrib4Nub(index, x, y, z, w);
3545}
3546
3547inline void QOpenGLFunctions_2_1::glVertexAttrib4Nsv(GLuint index, const GLshort *v)
3548{
3549 d_2_0_Core->f.VertexAttrib4Nsv(index, v);
3550}
3551
3552inline void QOpenGLFunctions_2_1::glVertexAttrib4Niv(GLuint index, const GLint *v)
3553{
3554 d_2_0_Core->f.VertexAttrib4Niv(index, v);
3555}
3556
3557inline void QOpenGLFunctions_2_1::glVertexAttrib4Nbv(GLuint index, const GLbyte *v)
3558{
3559 d_2_0_Core->f.VertexAttrib4Nbv(index, v);
3560}
3561
3562inline void QOpenGLFunctions_2_1::glVertexAttrib3sv(GLuint index, const GLshort *v)
3563{
3564 d_2_0_Core->f.VertexAttrib3sv(index, v);
3565}
3566
3567inline void QOpenGLFunctions_2_1::glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z)
3568{
3569 d_2_0_Core->f.VertexAttrib3s(index, x, y, z);
3570}
3571
3572inline void QOpenGLFunctions_2_1::glVertexAttrib3fv(GLuint index, const GLfloat *v)
3573{
3574 d_2_0_Core->f.VertexAttrib3fv(index, v);
3575}
3576
3577inline void QOpenGLFunctions_2_1::glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z)
3578{
3579 d_2_0_Core->f.VertexAttrib3f(index, x, y, z);
3580}
3581
3582inline void QOpenGLFunctions_2_1::glVertexAttrib3dv(GLuint index, const GLdouble *v)
3583{
3584 d_2_0_Core->f.VertexAttrib3dv(index, v);
3585}
3586
3587inline void QOpenGLFunctions_2_1::glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
3588{
3589 d_2_0_Core->f.VertexAttrib3d(index, x, y, z);
3590}
3591
3592inline void QOpenGLFunctions_2_1::glVertexAttrib2sv(GLuint index, const GLshort *v)
3593{
3594 d_2_0_Core->f.VertexAttrib2sv(index, v);
3595}
3596
3597inline void QOpenGLFunctions_2_1::glVertexAttrib2s(GLuint index, GLshort x, GLshort y)
3598{
3599 d_2_0_Core->f.VertexAttrib2s(index, x, y);
3600}
3601
3602inline void QOpenGLFunctions_2_1::glVertexAttrib2fv(GLuint index, const GLfloat *v)
3603{
3604 d_2_0_Core->f.VertexAttrib2fv(index, v);
3605}
3606
3607inline void QOpenGLFunctions_2_1::glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y)
3608{
3609 d_2_0_Core->f.VertexAttrib2f(index, x, y);
3610}
3611
3612inline void QOpenGLFunctions_2_1::glVertexAttrib2dv(GLuint index, const GLdouble *v)
3613{
3614 d_2_0_Core->f.VertexAttrib2dv(index, v);
3615}
3616
3617inline void QOpenGLFunctions_2_1::glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y)
3618{
3619 d_2_0_Core->f.VertexAttrib2d(index, x, y);
3620}
3621
3622inline void QOpenGLFunctions_2_1::glVertexAttrib1sv(GLuint index, const GLshort *v)
3623{
3624 d_2_0_Core->f.VertexAttrib1sv(index, v);
3625}
3626
3627inline void QOpenGLFunctions_2_1::glVertexAttrib1s(GLuint index, GLshort x)
3628{
3629 d_2_0_Core->f.VertexAttrib1s(index, x);
3630}
3631
3632inline void QOpenGLFunctions_2_1::glVertexAttrib1fv(GLuint index, const GLfloat *v)
3633{
3634 d_2_0_Core->f.VertexAttrib1fv(index, v);
3635}
3636
3637inline void QOpenGLFunctions_2_1::glVertexAttrib1f(GLuint index, GLfloat x)
3638{
3639 d_2_0_Core->f.VertexAttrib1f(index, x);
3640}
3641
3642inline void QOpenGLFunctions_2_1::glVertexAttrib1dv(GLuint index, const GLdouble *v)
3643{
3644 d_2_0_Core->f.VertexAttrib1dv(index, v);
3645}
3646
3647inline void QOpenGLFunctions_2_1::glVertexAttrib1d(GLuint index, GLdouble x)
3648{
3649 d_2_0_Core->f.VertexAttrib1d(index, x);
3650}
3651
3652
3653// OpenGL 2.1 deprecated functions
3654
3655
3656QT_END_NAMESPACE
3657
3658#endif // QT_NO_OPENGL && !QT_CONFIG(opengles2)
3659
3660#endif
3661